:root{
  --bg:#fffaf0;--bg2:#fffdf8;--surface:#ffffff;--surface2:#fff8dc;--text:#17140d;--muted:#797262;--line:#eee5cf;
  --dark:#171710;--dark2:#222217;--yellow:#f5b700;--yellow2:#ffcf40;--yellow3:#fff0a6;--success:#4f9668;--warning:#d98a32;--danger:#c85d5d;
  --shadow:0 18px 60px rgba(85,63,10,.10);--shadow-soft:0 10px 30px rgba(93,73,25,.07);
  --radius:24px;--ease:cubic-bezier(.2,.75,.2,1)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Be Vietnam Pro",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:#9b8d65;margin:0 0 7px}.glass-card{background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.76);box-shadow:var(--shadow);backdrop-filter:blur(24px)}

/* LANDING */
.landing-view{min-height:100vh;background:radial-gradient(circle at 12% 12%,rgba(255,210,67,.18),transparent 24%),linear-gradient(180deg,#fffdf8 0%,#fff8e8 58%,#fffdf8 100%)}
.landing-header{height:88px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:0 clamp(22px,4vw,68px);position:sticky;top:0;z-index:30;background:rgba(255,253,248,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(238,229,207,.7)}
.landing-brand{justify-self:start;display:flex;align-items:center;gap:10px}.landing-brand img{width:54px;height:54px;object-fit:contain}.landing-brand span{display:grid;line-height:1}.landing-brand b{font:800 15px/1 "Manrope",sans-serif;letter-spacing:.06em}.landing-brand small{font-size:9.9px;color:#9a8e70;margin-top:5px}.landing-auth-actions{justify-self:center;display:flex;gap:8px;padding:5px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-soft)}.landing-auth-actions button{border:0;border-radius:11px;padding:10px 18px;font-size:13.2px;font-weight:800;transition:.25s var(--ease)}.header-login{background:transparent;color:#4f493c}.header-login:hover{background:#fff7d7}.header-register{background:var(--dark);color:white}.header-register:hover{transform:translateY(-1px);background:#29291e}.mini-clock{justify-self:end}.vn-clock{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:#746d5c}.clock-dot{width:7px;height:7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 5px rgba(245,183,0,.14);animation:pulseDot 2s infinite}
.landing-section{width:min(1180px,calc(100% - 44px));margin:0 auto}.hero{min-height:calc(100vh - 88px);display:grid;grid-template-columns:1.02fr .98fr;gap:70px;align-items:center;position:relative;padding:80px 0 96px}.hero-glow{position:absolute;border-radius:999px;filter:blur(4px);pointer-events:none}.glow-a{width:390px;height:390px;left:-260px;top:16%;background:radial-gradient(circle,rgba(255,201,35,.23),transparent 68%)}.glow-b{width:300px;height:300px;right:-170px;bottom:12%;background:radial-gradient(circle,rgba(255,193,0,.17),transparent 70%)}.hero-copy,.hero-preview{position:relative;z-index:2}.hero-badge{display:inline-flex;align-items:center;gap:9px;padding:8px 11px;border:1px solid #ecdfbc;border-radius:999px;background:rgba(255,255,255,.65);font-size:9.9px;font-weight:800;letter-spacing:.12em;color:#6e654f}.hero-badge span{width:8px;height:8px;background:var(--yellow);border-radius:50%;box-shadow:0 0 0 5px rgba(245,183,0,.13)}.hero h1{font:800 clamp(46px,6vw,80px)/1.02 "Manrope",sans-serif;letter-spacing:-.055em;margin:22px 0 24px;max-width:720px}.hero h1 em{font-style:normal;color:#b17b00;background:linear-gradient(90deg,#c28b00,#f2b900);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.hero-copy>p{font-size:17.6px;line-height:1.8;color:#776f5d;max-width:620px;margin:0}.hero-actions{display:flex;align-items:center;gap:18px;margin-top:30px}.primary-cta{border:0;border-radius:16px;padding:15px 20px;background:linear-gradient(135deg,#1b1b14,#2c291b);color:white;font-weight:800;box-shadow:0 14px 28px rgba(33,29,14,.16);transition:.25s var(--ease)}.primary-cta span{margin-left:8px}.primary-cta:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(33,29,14,.22)}.text-cta{font-size:13.2px;font-weight:800;color:#6a624f;border-bottom:1px solid #bdb096;padding-bottom:3px}.hero-trust{display:flex;gap:22px;flex-wrap:wrap;margin-top:34px}.hero-trust span{font-size:11px;color:#8d836e}.hero-trust b{color:#bf8500;margin-right:4px}
.hero-preview{perspective:1000px}.preview-window{border:1px solid #eadfbf;background:rgba(255,255,255,.94);border-radius:30px;padding:18px;box-shadow:0 35px 90px rgba(97,70,8,.16);transform:rotateY(-2deg) rotateX(1deg);animation:floatCard 7s ease-in-out infinite}.preview-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px}.preview-brand{display:flex;align-items:center;gap:8px;font:800 11px "Manrope"}.preview-brand img{width:34px;height:34px;object-fit:contain}.preview-pills{display:flex;gap:5px}.preview-pills i{display:block;width:7px;height:7px;border-radius:50%;background:#ded7c4}.preview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}.preview-stats>div{padding:14px;border:1px solid #eee7d3;border-radius:16px;background:#fff}.preview-stats span{display:block;font-size:8.8px;color:#9a917d}.preview-stats strong{display:block;font:800 19px "Manrope";margin-top:4px}.preview-stats .gold{background:linear-gradient(135deg,#fff0ad,#ffc92d);border-color:#f3c541}.preview-calendar{border:1px solid #eee6d1;border-radius:20px;overflow:hidden}.preview-month{padding:14px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0eadb}.preview-month b{font-size:12.1px}.preview-month span{font-size:8.8px;color:#a39a86}.preview-week,.preview-days{display:grid;grid-template-columns:repeat(7,1fr)}.preview-week span{font-size:7.7px;text-align:center;color:#a39a86;padding:8px 2px;border-bottom:1px solid #f2ecdd}.preview-days span{min-height:72px;padding:9px 7px;font:800 15px "Manrope";border-right:1px solid #f2ecdd;position:relative}.preview-days span:last-child{border-right:0}.preview-days small{display:block;font:700 6px "Be Vietnam Pro";margin-top:17px;color:#8d826b}.preview-days .active{background:#fff7d5;box-shadow:inset 0 0 0 2px #f2b800}.preview-days .has-job:after{content:"";position:absolute;right:8px;top:10px;width:6px;height:6px;border-radius:50%;background:var(--yellow)}.floating-note{position:absolute;display:flex;align-items:center;gap:10px;padding:12px 14px;background:rgba(255,255,255,.9);border:1px solid #ede2c5;border-radius:16px;box-shadow:0 14px 36px rgba(84,62,13,.13);backdrop-filter:blur(14px);animation:floatNote 5s ease-in-out infinite}.floating-note>span{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:#fff0a5;color:#8d6500;font-weight:900}.floating-note div{display:grid}.floating-note b{font-size:9.9px}.floating-note small{font-size:7.7px;color:#918772;margin-top:2px}.note-one{left:-36px;bottom:52px}.note-two{right:-28px;top:70px;animation-delay:-2.2s}
.section-kicker{font-size:11px;letter-spacing:.18em;font-weight:800;color:#bd8700;margin-bottom:14px}.section-title-row{display:grid;grid-template-columns:1.35fr .65fr;gap:80px;align-items:end}.section-title-row h2{font:800 clamp(32px,4vw,54px)/1.05 "Manrope";letter-spacing:-.045em;margin:0}.section-title-row p{margin:0;color:#7c725e;font-size:14.3px;line-height:1.8}.feature-section{padding:100px 0}.feature-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px;margin-top:38px}.feature-card{min-height:220px;padding:24px;border:1px solid #eee3c7;background:rgba(255,255,255,.82);border-radius:24px;box-shadow:var(--shadow-soft);transition:.3s var(--ease);position:relative;overflow:hidden}.feature-card:hover{transform:translateY(-5px);box-shadow:0 20px 46px rgba(86,64,15,.11)}.feature-card.large{grid-row:span 2;min-height:454px;background:linear-gradient(155deg,#fffdf7,#fff2b5)}.feature-icon{width:44px;height:44px;border-radius:14px;background:#171710;color:#ffd23d;display:grid;place-items:center;font:800 13px "Manrope"}.feature-card h3{font:800 19px "Manrope";margin:22px 0 10px}.feature-card p{font-size:12.1px;line-height:1.75;color:#827864;margin:0;max-width:420px}.feature-visual{position:absolute;left:24px;right:24px;bottom:24px;background:white;border:1px solid #eadfbf;border-radius:20px;padding:22px;box-shadow:0 20px 42px rgba(105,79,20,.11)}.mini-days{display:flex;align-items:center;justify-content:space-between}.mini-days b{font:800 68px/1 "Manrope";letter-spacing:-.06em}.mini-days span{font-size:12.1px;font-weight:700;color:#8e8060;background:#fff6cf;padding:9px 11px;border-radius:12px}.feature-grid .feature-card:last-child{grid-column:2/4}
.how-section{padding:90px 0 110px}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:38px}.steps-grid article{padding:26px 22px;border-top:1px solid #dcca9c;background:rgba(255,255,255,.54);border-radius:0 0 20px 20px}.step-num{font:800 34px "Manrope";color:#e0a600}.steps-grid h3{font:800 16px "Manrope";margin:22px 0 8px}.steps-grid p{font-size:11px;line-height:1.7;color:#817660;margin:0}.landing-cta{margin-bottom:80px;min-height:190px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:26px;padding:28px 34px;border-radius:30px;background:linear-gradient(130deg,#171710,#242114 62%,#5a4300);color:white;box-shadow:0 28px 70px rgba(59,44,8,.22);overflow:hidden;position:relative}.landing-cta:before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:12%;top:-150px;background:radial-gradient(circle,rgba(255,205,40,.35),transparent 66%)}.landing-cta img{width:120px;height:120px;object-fit:contain;position:relative;z-index:2}.landing-cta div,.landing-cta button{position:relative;z-index:2}.landing-cta p{margin:0 0 6px;font-size:11px;color:#cfc6aa}.landing-cta h2{font:800 28px "Manrope";margin:0}.landing-cta h2 span{font:600 12px "Be Vietnam Pro";color:#c9c0a3}.landing-footer{padding:22px clamp(22px,4vw,68px);display:flex;gap:14px;justify-content:center;align-items:center;border-top:1px solid #eee2c7;color:#8f846d;font-size:9.9px}.landing-footer b{color:#4b4538}
[data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .75s var(--ease),transform .75s var(--ease)}[data-reveal].revealed{opacity:1;transform:none}

/* AUTH */
.auth-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(420px,.95fr);background:#f6f1e4;position:relative}.back-home{position:fixed;left:28px;top:28px;z-index:10;border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:9px 12px;background:rgba(21,21,15,.48);color:white;font-size:11px;font-weight:700;backdrop-filter:blur(12px)}.auth-art{position:relative;overflow:hidden;margin:18px;border-radius:30px;padding:46px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 75% 18%,rgba(255,196,20,.55),transparent 30%),radial-gradient(circle at 30% 80%,rgba(142,108,11,.33),transparent 34%),linear-gradient(135deg,#171710 10%,#242219 72%,#302b1a)}.auth-brand{display:flex;align-items:center;gap:10px;position:relative;z-index:2}.auth-brand img{width:78px;height:78px;object-fit:contain}.auth-brand span{display:grid}.auth-brand b{font:800 17px "Manrope";letter-spacing:.06em}.auth-brand small{font-size:9.9px;color:#aaa38f}.auth-copy{max-width:650px;position:relative;z-index:2;margin-top:auto;margin-bottom:110px}.auth-copy h1{font:800 clamp(40px,5.3vw,78px)/.98 "Manrope";letter-spacing:-.055em;margin:10px 0 24px}.auth-copy p:last-child{font-size:15.4px;line-height:1.7;color:#d6d0bd;max-width:520px}.auth-clock-card{position:absolute;left:46px;bottom:42px;z-index:3;padding:14px 16px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);backdrop-filter:blur(14px);border-radius:16px;display:grid}.auth-clock-card span{font-size:8.8px;letter-spacing:.13em;color:#aaa38f}.auth-clock-card strong{font:800 18px "Manrope";margin-top:4px}.auth-orb{position:absolute;border-radius:999px;filter:blur(3px);opacity:.75}.orb-1{width:260px;height:260px;right:-75px;top:35%;background:linear-gradient(135deg,#ffd23f,#b67c00)}.orb-2{width:140px;height:140px;right:22%;bottom:-38px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.06);backdrop-filter:blur(14px)}.auth-panel{display:grid;place-items:center;padding:40px}.auth-card{width:min(470px,100%);border-radius:28px;padding:34px}.brand-mobile{display:flex;align-items:center;gap:9px;margin-bottom:24px}.brand-mobile img{width:42px;height:42px}.brand-mobile div{display:grid}.brand-mobile b{font:800 13px "Manrope"}.brand-mobile small{font-size:8.8px;color:#9b917b}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f0eadb;border-radius:14px;padding:4px;margin-bottom:24px}.auth-tab{border:0;background:transparent;padding:11px;border-radius:11px;color:var(--muted);font-weight:700}.auth-tab.active{background:#fff;color:#111;box-shadow:0 4px 18px rgba(0,0,0,.06)}.auth-form{display:none;gap:16px}.auth-form.active{display:grid;animation:fadeUp .35s var(--ease)}.form-intro{margin-bottom:3px}.form-intro h2{font:800 23px "Manrope";margin:0 0 5px}.form-intro p{font-size:11px;color:#918772;margin:0}.auth-form label,.job-form label{display:grid;gap:8px;font-size:12.1px;font-weight:700;color:#5e5748}.auth-form input,.job-form input,.job-form select,.job-form textarea,.search-wrap input{width:100%;border:1px solid #ddd4bd;background:#fff;border-radius:13px;padding:13px 14px;color:#1a1c20;outline:none;transition:.2s}.auth-form input:focus,.job-form input:focus,.job-form select:focus,.job-form textarea:focus{border-color:#e0ad1a;box-shadow:0 0 0 4px rgba(245,183,0,.12)}.password-wrap{position:relative}.password-wrap input{padding-right:48px}.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%)}.helper{font-size:9.9px!important;line-height:1.6;color:#9b917b!important;text-align:center;margin:0}

/* BUTTONS */
.primary-btn,.ghost-btn,.soft-btn,.danger-btn,.logout-btn{border:0;border-radius:13px;padding:12px 16px;font-weight:750;transition:.22s var(--ease)}.primary-btn{background:linear-gradient(135deg,#1c1c14,#2d2919);color:#fff;box-shadow:0 8px 20px rgba(23,25,30,.14)}.primary-btn:hover{transform:translateY(-1px);background:#2a291e}.ghost-btn{background:#fff;color:#333;border:1px solid #ded4ba}.soft-btn{background:#fff5c9;color:#5e4b0d}.danger-btn{background:#fff1f1;color:#a84040}.full{width:100%}.icon-btn{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:11px;background:#f7f0dc;color:#4f4838;font-size:22px}.spacer{flex:1}

/* APP */
.app-shell{min-height:100dvh;display:grid;grid-template-columns:252px 1fr;background:#f8f4e9}.sidebar{position:sticky;top:0;height:100dvh;background:linear-gradient(180deg,#171710,#1f1d14);color:#fff;padding:22px 16px;display:flex;flex-direction:column;box-shadow:12px 0 40px rgba(40,32,9,.06);z-index:20}.sidebar-brand{display:flex;gap:10px;align-items:center;padding:0 6px 28px}.sidebar-brand img{width:46px;height:46px;object-fit:contain}.sidebar-brand div{display:grid}.sidebar-brand b{font:800 14px "Manrope";letter-spacing:.05em}.sidebar-brand small{font-size:8.8px;color:#8f8977;margin-top:2px}.sidebar nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#939080;border-radius:13px;padding:12px 14px;text-align:left;display:flex;align-items:center;gap:12px;font-weight:650;font-size:13.2px;transition:.2s var(--ease)}.nav-item:hover,.nav-item.active{background:linear-gradient(90deg,rgba(255,204,53,.17),rgba(255,204,53,.05));color:#fff}.nav-item.active{box-shadow:inset 3px 0 0 var(--yellow)}.nav-icon{font-size:18.7px;width:20px;text-align:center;color:#f7c731}.sidebar-tip{margin-top:18px;padding:12px;border:1px solid #393321;border-radius:14px;background:#211f16;display:grid;gap:3px}.sidebar-tip b{font-size:9.9px;color:#f1cf62}.sidebar-tip span{font-size:8.8px;line-height:1.5;color:#8f8977}.sidebar-bottom{margin-top:auto;border-top:1px solid #302d20;padding-top:16px}.mini-profile{display:flex;gap:10px;align-items:center}.avatar{width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,#ffd43e,#d99900);color:#3e3000;display:grid;place-items:center;font-size:11px;font-weight:800}.mini-profile>div:last-child{display:grid;min-width:0}.mini-profile b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-profile small{font-size:8.8px;color:#8f8977;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logout-btn{margin-top:12px;width:100%;background:#262319;color:#9e9885;font-size:11px}.logout-btn:hover{color:#fff;background:#322e20}.main{padding:30px clamp(20px,3.5vw,48px) 70px;min-width:0}.topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;margin-bottom:24px;gap:18px}.topbar h2{font:800 30px/1.1 "Manrope";letter-spacing:-.04em;margin:0}.top-center-clock{justify-self:center;display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #e8dfc9;background:rgba(255,255,255,.75);border-radius:14px;box-shadow:var(--shadow-soft)}.top-center-clock div{display:grid}.top-center-clock small{font-size:7.7px;letter-spacing:.12em;color:#988d74}.top-center-clock strong{font:800 11px "Manrope";margin-top:2px}.top-actions{justify-self:end;display:flex;gap:10px}.view{display:none}.view.active{display:block;animation:fadeUp .38s var(--ease)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.stat-card{background:#fff;border:1px solid #e8dfc9;border-radius:20px;padding:16px;display:flex;gap:13px;align-items:center;box-shadow:0 8px 22px rgba(89,70,21,.03);transition:.22s var(--ease)}.stat-card:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(89,70,21,.07)}.stat-card.accent{background:linear-gradient(135deg,#fff0a5,#ffca31);color:#4b3900;border-color:#efc33f}.stat-icon{width:40px;height:40px;border-radius:13px;background:#faf4e5;display:grid;place-items:center;font-weight:800;color:#9b7200}.accent .stat-icon{background:rgba(255,255,255,.48)}.stat-card div:last-child{display:grid}.stat-card span{font-size:9.9px;color:#8f8776}.stat-card strong{font:800 20px "Manrope";letter-spacing:-.04em;margin:2px 0}.stat-card small{font-size:8.8px;color:#9b9589}.accent span,.accent small{color:#765c0b}
.calendar-card,.list-card{background:#fff;border:1px solid #e8dfc9;border-radius:23px;overflow:hidden;box-shadow:0 10px 30px rgba(88,67,17,.04)}.calendar-head{padding:18px 20px;border-bottom:1px solid #eee6d4;display:flex;justify-content:space-between;align-items:center;gap:18px}.calendar-title-wrap{display:flex;align-items:center;gap:12px}.calendar-title-wrap h3{font:800 17px "Manrope";margin:0}.calendar-title-wrap p{font-size:8.8px;color:#999181;margin:3px 0 0}.legend{display:flex;gap:15px;flex-wrap:wrap;font-size:8.8px;color:#8b8372}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}.dot.shoot{background:#8d8f94}.dot.paid{background:#4d9267}.dot.pending{background:#dc8b49}.calendar-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#e3d7b8 transparent}.calendar-inner{min-width:760px}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.weekdays{border-bottom:1px solid #eee6d4;background:#fffdf8}.weekdays span{text-align:center;padding:11px 4px;font-size:8.8px;font-weight:800;color:#968c78}.day-cell{position:relative;min-height:132px;padding:11px;border-right:1px solid #f0eadc;border-bottom:1px solid #f0eadc;background:#fff;transition:.2s var(--ease);overflow:hidden}.day-cell:nth-child(7n){border-right:0}.day-cell:hover{background:#fffdf6;box-shadow:inset 0 0 0 1px rgba(245,183,0,.22)}.day-cell.outside{background:#fbfaf6;color:#b8b0a0}.day-cell.today{background:linear-gradient(160deg,#fffdf6,#fff4bd)}.day-cell.today:after{content:"HÔM NAY";position:absolute;right:8px;bottom:7px;font-size:6.6px;font-weight:900;letter-spacing:.08em;color:#a67700}.day-cell.selected{box-shadow:inset 0 0 0 2px #efb700}.date-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.solar-date{font:800 24px/1 "Manrope";letter-spacing:-.04em;color:#2e2a20}.outside .solar-date{color:#c2bcaf}.lunar-date{font-size:8.8px;color:#938a77;background:#f7f2e7;padding:4px 6px;border-radius:7px;white-space:nowrap}.today .solar-date{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#171710;color:#ffd63e;margin:-3px 0 0 -3px;box-shadow:0 7px 16px rgba(33,29,14,.15)}.job-chips{display:grid;gap:4px;margin-top:12px}.job-chip{border:0;text-align:left;padding:6px 7px;border-radius:8px;font-size:8.8px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f5f1e8;color:#575348;transition:.18s var(--ease)}.job-chip:hover{transform:translateX(2px)}.job-chip.paid{background:#eef6f0}.job-chip.pending{background:#fff3e9}.job-chip.has-tag,.job-chip.paid.has-tag,.job-chip.pending.has-tag{background:color-mix(in srgb,var(--job-tag-color) 20%,white);color:color-mix(in srgb,var(--job-tag-color) 62%,#241f14);border:1px solid color-mix(in srgb,var(--job-tag-color) 36%,white)}.more-jobs{font-size:7.7px;color:#8e8778;margin-top:2px}
.section-head{padding:18px 20px;border-bottom:1px solid #eee6d4;display:flex;align-items:center;justify-content:space-between;gap:16px}.section-head h3{font:800 16px "Manrope";margin:0}.section-head p{margin:4px 0 0;font-size:8.8px;color:#999181}.search-wrap{display:flex;align-items:center;gap:8px;border:1px solid #e2d9c3;border-radius:12px;padding:0 10px;background:#fffdf8}.search-wrap input{border:0;background:transparent;padding:9px 0;width:220px;font-size:11px}.jobs-table{padding:8px 0}.job-row{display:grid;grid-template-columns:1.45fr .8fr .8fr .8fr .65fr auto;gap:12px;align-items:center;padding:13px 20px;border-bottom:1px solid #f0eadc;transition:.18s}.job-row:hover{background:#fffdf7}.job-row:last-child{border-bottom:0}.job-client{display:flex;align-items:center;gap:10px}.job-client-avatar{width:34px;height:34px;border-radius:11px;background:#fff2bd;color:#7b5900;display:grid;place-items:center;font-weight:800;font-size:9.9px}.job-row b{font-size:11px}.job-row small{font-size:8.2px;color:#989181;display:block;margin-top:3px}.money{font-size:11px;font-weight:800}.status-pill{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:6px 8px;font-size:7.7px;font-weight:800}.status-pill.paid{background:#edf6ef;color:#4b8060}.status-pill.pending{background:#fff3e8;color:#a96734}.row-actions{display:flex;gap:5px}.row-actions button{width:31px;height:31px;border:0;border-radius:9px;background:#f5f0e3;transition:.18s}.row-actions button:hover{background:#ffe79a}.empty-state{padding:50px 20px;text-align:center;color:#9a917e}.empty-state b{display:block;color:#5c5547;margin-bottom:6px}
.finance-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:12px;margin-bottom:14px}.finance-hero,.finance-card{border:1px solid #e8dfc9;border-radius:20px;background:#fff;padding:20px}.finance-hero{background:linear-gradient(135deg,#171710,#292619);color:#fff}.finance-hero p,.finance-card span{font-size:9.9px;color:#999181;margin:0}.finance-hero p{color:#aaa48f}.finance-hero h3{font:800 34px "Manrope";margin:8px 0 22px}.progress-row{display:flex;justify-content:space-between;font-size:8.8px;color:#d9d1bb}.progress{height:7px;border-radius:99px;background:#333022;overflow:hidden;margin:8px 0}.progress i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#f3b900,#ffd848);transition:width .4s var(--ease)}.finance-hero small{font-size:8.8px;color:#aaa48f}.finance-card{display:grid;align-content:center}.finance-card strong{font:800 24px "Manrope";margin:7px 0}.finance-card small{font-size:8.8px;color:#999181}.debt-list{padding:6px 20px}.debt-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #f0eadc}.debt-item:last-child{border-bottom:0}.debt-item b{font-size:11px}.debt-item small{display:block;font-size:8.8px;color:#958d7c;margin-top:3px}.debt-amount{text-align:right}.debt-amount strong{font-size:12.1px}.debt-amount button{margin-top:5px;border:0;background:#fff2ba;color:#755700;border-radius:8px;padding:6px 8px;font-size:7.7px;font-weight:800}
.mobile-nav{display:none}

/* MODAL */
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:18px}.modal-backdrop{position:absolute;inset:0;background:rgba(18,16,11,.52);backdrop-filter:blur(8px)}.modal-sheet{position:relative;width:min(720px,100%);max-height:calc(100dvh - 36px);overflow:auto;background:#fffdf8;border:1px solid #eadfc4;border-radius:26px;box-shadow:0 40px 100px rgba(0,0,0,.22);animation:modalIn .3s var(--ease)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #eee6d4;position:sticky;top:0;background:rgba(255,253,248,.94);backdrop-filter:blur(14px);z-index:2}.modal-head h3{font:800 20px "Manrope";margin:0}.job-form{display:grid;gap:16px;padding:22px}.form-grid.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.job-form textarea{resize:vertical}.payment-box{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #eadfc4;background:#fff9df;border-radius:16px;padding:14px}.payment-box div{display:grid}.payment-box b{font-size:11px}.payment-box small{font-size:8.8px;color:#948a74;margin-top:3px}.switch{display:inline-block!important;position:relative;width:48px;height:28px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;inset:0;background:#d7d0be;border-radius:99px;transition:.2s}.slider:before{content:"";position:absolute;width:20px;height:20px;left:4px;top:4px;border-radius:50%;background:white;box-shadow:0 2px 6px rgba(0,0,0,.15);transition:.2s}.switch input:checked+.slider{background:#efb700}.switch input:checked+.slider:before{transform:translateX(20px)}.modal-actions{display:flex;align-items:center;gap:9px;margin-top:4px}.toast{position:fixed;left:50%;bottom:28px;z-index:200;transform:translate(-50%,18px);padding:10px 14px;border-radius:12px;background:#171710;color:#fff;font-size:11px;font-weight:700;opacity:0;pointer-events:none;transition:.25s var(--ease);box-shadow:0 12px 30px rgba(0,0,0,.18)}.toast.show{opacity:1;transform:translate(-50%,0)}

@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes floatCard{0%,100%{transform:rotateY(-2deg) rotateX(1deg) translateY(0)}50%{transform:rotateY(-1deg) rotateX(0deg) translateY(-8px)}}@keyframes floatNote{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes pulseDot{0%,100%{box-shadow:0 0 0 5px rgba(245,183,0,.13)}50%{box-shadow:0 0 0 9px rgba(245,183,0,.04)}}@keyframes modalIn{from{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:none}}

@media (max-width:1100px){.landing-header{grid-template-columns:1fr auto}.mini-clock{display:none}.landing-auth-actions{grid-column:2}.hero{grid-template-columns:1fr;gap:50px;padding-top:70px}.hero-copy{text-align:center}.hero-copy>p{margin-inline:auto}.hero-actions,.hero-trust{justify-content:center}.hero-preview{width:min(720px,100%);margin-inline:auto}.feature-grid{grid-template-columns:1fr 1fr}.feature-card.large{grid-row:auto;min-height:350px}.feature-grid .feature-card:last-child{grid-column:auto}.section-title-row{grid-template-columns:1fr;gap:18px}.auth-shell{grid-template-columns:1fr}.auth-art{display:none}.back-home{color:#5f5543;background:rgba(255,255,255,.72);border-color:#e5dbc2}.finance-grid{grid-template-columns:1.5fr 1fr 1fr}.finance-card:last-child{grid-column:2/4}.stats-grid{grid-template-columns:1fr 1fr}.topbar{grid-template-columns:1fr auto}.top-center-clock{display:none}.top-actions{grid-column:2}.job-row{grid-template-columns:1.4fr .8fr .8fr .7fr auto}.job-type-col{display:none}}
@media (max-width:760px){body{background:#fffaf0}.landing-header{height:auto;min-height:84px;grid-template-columns:1fr;gap:10px;padding:13px 18px}.landing-brand{justify-self:center}.landing-brand img{width:46px;height:46px}.landing-auth-actions{grid-column:1;justify-self:center}.landing-auth-actions button{padding:9px 16px}.landing-section{width:min(100% - 30px,1180px)}.hero{min-height:auto;padding:64px 0 72px;gap:42px}.hero h1{font-size:47.3px}.hero-copy>p{font-size:14.3px;line-height:1.75}.hero-actions{flex-direction:column}.hero-trust{gap:12px}.preview-window{padding:12px;border-radius:22px;transform:none!important;animation:none}.preview-stats{gap:5px}.preview-stats>div{padding:10px}.preview-stats strong{font-size:16.5px}.preview-days span{min-height:62px;padding:7px 4px;font-size:13.2px}.floating-note{display:none}.feature-section,.how-section{padding:72px 0}.section-title-row h2{font-size:39.6px}.feature-grid,.steps-grid{grid-template-columns:1fr}.feature-card.large{min-height:340px}.feature-grid .feature-card:last-child{grid-column:auto}.landing-cta{grid-template-columns:1fr;text-align:center;justify-items:center;padding:26px}.landing-cta img{width:100px;height:100px}.landing-footer{flex-wrap:wrap;text-align:center}.auth-panel{padding:74px 16px 24px;align-items:start}.auth-card{padding:24px;border-radius:22px}.back-home{left:16px;top:16px}.app-shell{display:block;padding-bottom:84px}.sidebar{display:none}.main{padding:18px 12px 24px}.topbar{display:flex;align-items:center;margin-bottom:16px}.topbar .eyebrow{display:none}.topbar h2{font-size:25.3px}.top-actions{margin-left:auto}.top-actions .soft-btn{display:none}.primary-btn{padding:11px 13px;font-size:11px}.stats-grid{grid-template-columns:1fr 1fr;gap:8px}.stat-card{padding:12px;border-radius:16px}.stat-icon{width:34px;height:34px}.stat-card strong{font-size:17.6px}.calendar-card,.list-card{border-radius:18px}.calendar-head{padding:14px 12px;align-items:flex-start}.calendar-title-wrap{gap:6px}.calendar-title-wrap h3{font-size:15.4px}.calendar-title-wrap p{display:none}.calendar-title-wrap .icon-btn{width:30px;height:30px}.legend{display:none}.calendar-inner{min-width:630px}.day-cell{min-height:108px;padding:8px}.solar-date{font-size:22px}.today .solar-date{width:34px;height:34px}.lunar-date{font-size:7.7px;padding:3px 4px}.job-chip{font-size:7.7px;padding:5px}.section-head{align-items:flex-start;flex-direction:column;padding:14px}.search-wrap{width:100%}.search-wrap input{width:100%}.jobs-table{overflow-x:auto}.job-row{min-width:660px;padding:12px 14px}.finance-grid{grid-template-columns:1fr 1fr;gap:8px}.finance-hero{grid-column:1/3}.finance-card:last-child{grid-column:auto}.mobile-nav{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:50;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 8px;border-radius:22px;background:rgba(27,27,20,.84);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(22px) saturate(140%);box-shadow:0 18px 45px rgba(34,28,11,.22)}.mobile-nav button{border:0;background:transparent;color:#a9a38f;display:grid;justify-items:center;gap:3px;padding:5px 2px;border-radius:13px}.mobile-nav button.active{color:#ffcf3e;background:rgba(255,209,62,.09)}.mobile-nav span{font-size:17.6px}.mobile-nav small{font-size:7.7px;font-weight:700}.mobile-add-circle{width:34px;height:34px!important;border-radius:12px;background:linear-gradient(135deg,#ffda4b,#e6a900);color:#3b2d00!important;display:grid!important;place-items:center;font-size:23.1px!important;margin-top:-18px;box-shadow:0 8px 18px rgba(221,165,0,.3)}.form-grid.two{grid-template-columns:1fr}.modal{padding:10px}.modal-sheet{border-radius:20px;max-height:calc(100dvh - 20px)}.modal-head{padding:15px}.job-form{padding:15px}.toast{bottom:98px;max-width:calc(100% - 30px);text-align:center}}
@media (max-width:420px){.hero h1{font-size:40.7px}.hero-trust span{font-size:9.9px}.feature-card{padding:20px}.mini-days b{font-size:61.6px}.stats-grid{grid-template-columns:1fr}.finance-grid{grid-template-columns:1fr}.finance-hero{grid-column:auto}.finance-card:last-child{grid-column:auto}.landing-cta h2{font-size:25.3px}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}[data-reveal]{opacity:1!important;transform:none!important}}


/* =========================================================
   LICHCHUP V1.3
   ========================================================= */
.page-loader{position:fixed;inset:0;z-index:9999;display:grid;place-content:center;justify-items:center;gap:12px;background:#fffaf0;transition:opacity .3s var(--ease),visibility .3s var(--ease)}
.page-loader.done{opacity:0;visibility:hidden}.loader-mark{position:relative;width:76px;height:76px;display:grid;place-items:center}.loader-mark img{width:62px;height:62px;object-fit:contain;animation:loaderPop .65s var(--ease) both}.loader-mark span{position:absolute;inset:0;border:1px solid rgba(245,183,0,.24);border-top-color:#e3a900;border-radius:50%;animation:loaderSpin .9s linear infinite}.loader-copy{display:grid;text-align:center;line-height:1}.loader-copy b{font:800 13px Manrope,sans-serif;letter-spacing:.09em}.loader-copy small{margin-top:5px;font-size:8.8px;color:#9a8e70}.donate-link{border:1px solid #ead8a6;background:rgba(255,255,255,.7);color:#936a00;border-radius:12px;padding:10px 13px;font-size:11px;font-weight:800;transition:.22s var(--ease)}.donate-link:hover{background:#fff0b8;transform:translateY(-2px)}

/* Auth polish */
.auth-panel{background:radial-gradient(circle at 85% 16%,rgba(245,183,0,.10),transparent 28%),linear-gradient(180deg,#fbf8ef,#f5f0e3)}
.auth-card{position:relative;overflow:hidden;background:rgba(255,255,255,.91)}.auth-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#ffda4c,#f0b200,#7c5a00)}
.auth-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:-6px 0 18px}.auth-benefits span{padding:8px 7px;border:1px solid #eee3c7;background:#fffaf0;border-radius:10px;text-align:center;font-size:7.7px;font-weight:750;color:#82775f}.auth-tabs{border:1px solid #e8dec5}.auth-form input{min-height:48px}.auth-form .primary-btn{min-height:46px}

/* Sidebar collapsible */
.app-shell{transition:grid-template-columns .32s var(--ease)}.sidebar{transition:width .32s var(--ease),padding .32s var(--ease)}.sidebar-toggle{position:absolute;right:-14px;top:30px;width:29px;height:29px;border-radius:10px;border:1px solid #4a432d;background:#28251a;color:#ffd23d;display:grid;place-items:center;font:800 19px/1 Manrope;box-shadow:0 8px 20px rgba(0,0,0,.16);z-index:4;transition:.2s}.sidebar-toggle:hover{transform:scale(1.06);background:#332e1e}.sidebar-brand div,.nav-item:not(.active),.sidebar-tip,.mini-profile>div:last-child,.logout-btn{transition:opacity .18s var(--ease)}
.app-shell.sidebar-collapsed{grid-template-columns:82px 1fr}.sidebar-collapsed .sidebar{padding-inline:12px}.sidebar-collapsed .sidebar-brand{justify-content:center;padding-inline:0}.sidebar-collapsed .sidebar-brand img{width:44px;height:44px}.sidebar-collapsed .sidebar-brand div{display:none}.sidebar-collapsed .nav-item{font-size:0;justify-content:center;padding:12px 8px}.sidebar-collapsed .nav-icon{font-size:19.8px;width:24px}.sidebar-collapsed .sidebar-tip{display:none}.sidebar-collapsed .mini-profile{justify-content:center}.sidebar-collapsed .mini-profile>div:last-child{display:none}.sidebar-collapsed .logout-btn{font-size:0;padding:10px}.sidebar-collapsed .logout-btn:after{content:"↪";font-size:17.6px}.sidebar-collapsed .sidebar-toggle{right:-14px}

/* Semantic finance colors */
.stat-card.income{border-color:#cfe9d7;background:linear-gradient(145deg,#fff,#f1fbf4)}.stat-card.income .stat-icon{background:#e7f7ec;color:#2f8a50}.stat-card.income strong{color:#247941}.stat-card.collected{border-color:#d6e8de}.stat-card.collected .stat-icon{background:#edf8f1;color:#3f8d5c}.stat-card.collected strong{color:#387b52}.stat-card.debt{background:linear-gradient(145deg,#fff,#fff1f1);border-color:#f0caca;color:#6e2424}.stat-card.debt .stat-icon{background:#ffe2e2;color:#ba4141}.stat-card.debt strong{color:#bb3f3f}.stat-card.debt span,.stat-card.debt small{color:#9d6565}.finance-paid{background:#f2fbf5;border-color:#cfe8d6}.finance-paid strong{color:#2f8550}.finance-debt{background:#fff3f3;border-color:#efcccc}.finance-debt strong{color:#bc4646}.finance-deposit{background:#fff9e5;border-color:#eedfae}

/* 70/30 calendar workspace */
.calendar-workspace{display:grid;grid-template-columns:minmax(0,7fr) minmax(270px,3fr);gap:14px;align-items:start}.calendar-primary{min-width:0}.calendar-primary .calendar-inner{min-width:680px}.calendar-primary .day-cell{min-height:128px}.solar-date{font-size:29.7px}.attention-panel{position:sticky;top:18px;min-width:0;background:linear-gradient(180deg,#201e15,#171710);color:#fff;border:1px solid #343022;border-radius:23px;padding:18px;box-shadow:0 14px 36px rgba(44,35,10,.12);overflow:hidden}.attention-panel:before{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-70px;top:-90px;background:radial-gradient(circle,rgba(255,204,53,.28),transparent 68%);pointer-events:none}.attention-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px}.attention-kicker{font-size:7.7px;letter-spacing:.16em;color:#c4b98f;font-weight:800}.attention-head h3{font:800 19px Manrope;margin:4px 0 0}.attention-count{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#ffd23f;color:#3f3000;font:800 12px Manrope}.attention-desc{position:relative;font-size:8.8px;line-height:1.6;color:#9b9582;margin:9px 0 15px}.attention-list{display:grid;gap:9px;max-height:630px;overflow:auto;padding-right:2px;scrollbar-width:thin;scrollbar-color:#5a5031 transparent}.attention-item{width:100%;text-align:left;border:1px solid #393526;background:#252219;color:#fff;border-radius:16px;padding:12px;transition:.2s var(--ease);position:relative;overflow:hidden}.attention-item:hover{transform:translateY(-2px);border-color:#66582f;background:#2b271b}.attention-item.urgent{border-color:#7a6030;background:linear-gradient(145deg,#30291a,#231f16)}.attention-item.past{opacity:.72}.attention-item-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.attention-date{font:800 9px Manrope;color:#ffcf3f}.days-away{font-size:7.7px;font-weight:800;padding:4px 6px;border-radius:99px;background:#353025;color:#bbb39c}.urgent .days-away{background:#7a4c27;color:#ffe1ba}.past .days-away{background:#4a3030;color:#e3b1b1}.attention-item h4{font:800 12px/1.3 Manrope;margin:9px 0 3px}.attention-client{font-size:7.7px;color:#a8a08b;margin:0 0 9px}.attention-meta{display:grid;gap:5px;font-size:7.7px;color:#d7d0bb}.attention-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attention-note{font-size:7.7px;line-height:1.5;color:#c7b98d;margin:9px 0 0;padding-top:8px;border-top:1px solid #393526}.attention-money{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:8px;border-top:1px solid #393526}.attention-money span{font-size:7.7px;color:#9e9785}.attention-money b{font:800 9px Manrope}.attention-money.paid b{color:#77d294}.attention-money.debt b{color:#ff8c8c}.attention-add{width:100%;margin-top:11px;border:1px dashed #5a5031;background:transparent;color:#e2ca75;border-radius:13px;padding:10px;font-size:8.8px;font-weight:800}.attention-add:hover{background:#29261c}.attention-empty{padding:36px 12px;text-align:center;display:grid;justify-items:center}.attention-empty span{font-size:33px;color:#665d3f}.attention-empty b{font-size:9.9px;margin-top:8px}.attention-empty small{font-size:7.7px;line-height:1.6;color:#8f8976;margin-top:5px;max-width:190px}

/* Job important flag */
.job-flags{display:grid;grid-template-columns:1fr 1fr;gap:10px}.attention-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:14px;border:1px solid #eadfc4;background:#fff8dc;border-radius:16px;padding:14px}.attention-toggle span{display:grid}.attention-toggle b{font-size:11px;color:#67501a}.attention-toggle small{font-size:8.8px;color:#948a74;margin-top:3px}.attention-toggle input{appearance:none;width:22px!important;height:22px;border-radius:7px!important;border:1px solid #d8c47f!important;background:#fff!important;padding:0!important;display:grid;place-items:center;flex:0 0 auto}.attention-toggle input:checked{background:#f2b900!important;border-color:#f2b900!important}.attention-toggle input:checked:after{content:"✓";font-size:14.3px;font-weight:900;color:#3d3000}

/* Donate popup */
.donate-sheet{position:relative;width:min(410px,100%);background:linear-gradient(180deg,#fffdf7,#fff5cf);border:1px solid #e9d89d;border-radius:28px;padding:30px;text-align:center;box-shadow:0 36px 90px rgba(0,0,0,.22);animation:modalIn .3s var(--ease);overflow:hidden}.donate-sheet:before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;top:-150px;right:-50px;background:radial-gradient(circle,rgba(245,183,0,.3),transparent 70%)}.donate-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border:0;border-radius:11px;background:rgba(255,255,255,.76);font-size:22px;color:#554b32;z-index:2}.donate-heart{width:48px;height:48px;margin:0 auto 12px;display:grid;place-items:center;border-radius:15px;background:#171710;color:#ffd23f;font-size:27.5px;position:relative}.donate-sheet h3{font:800 22px/1.18 Manrope;margin:6px auto 10px;max-width:310px;position:relative}.donate-sheet>p:not(.eyebrow){font-size:9.9px;line-height:1.65;color:#776d56;max-width:310px;margin:0 auto 17px}.donate-qr-wrap{width:210px;height:210px;margin:auto;padding:11px;border-radius:22px;background:#fff;border:1px solid #eadfbf;box-shadow:0 14px 35px rgba(89,65,7,.11)}.donate-qr-wrap img{width:100%;height:100%;object-fit:contain}.donate-note{display:block;font-size:7.7px;line-height:1.55;color:#9a8d6d;margin-top:14px}

@keyframes loaderSpin{to{transform:rotate(360deg)}}@keyframes loaderPop{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:none}}

@media (max-width:1280px){.calendar-workspace{grid-template-columns:1fr}.attention-panel{position:relative;top:auto}.attention-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.attention-empty{grid-column:1/-1}}
@media (max-width:760px){.sidebar-toggle{display:none}.calendar-workspace{gap:10px}.calendar-primary .calendar-inner{min-width:630px}.attention-panel{border-radius:18px;padding:15px}.attention-list{grid-template-columns:1fr}.attention-desc{margin-bottom:12px}.job-flags{grid-template-columns:1fr}.donate-link{width:100%}.auth-benefits{grid-template-columns:1fr 1fr}.auth-benefits span:last-child{grid-column:1/3}.donate-sheet{padding:26px 18px}.donate-qr-wrap{width:190px;height:190px}}


/* =========================================================
   LICHCHUP V1.6 — ACCOUNT / THEME / READABILITY
   ========================================================= */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.user-avatar{width:40px;height:40px;flex:0 0 auto;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#ffdb55,#e7a800);color:#3c2d00;font:800 11px Manrope,sans-serif;background-size:cover;background-position:center;box-shadow:inset 0 0 0 1px rgba(122,86,0,.08)}
.user-avatar.has-photo{color:transparent;background-color:#eee;background-size:cover;background-position:center}
.user-avatar.small{width:36px;height:36px;border-radius:12px}.user-avatar.xl{width:92px;height:92px;border-radius:28px;font-size:23px}
.landing-user-account{justify-self:center;border:1px solid #e9dfc7;background:rgba(255,255,255,.88);border-radius:16px;padding:6px 10px 6px 7px;display:flex;align-items:center;gap:9px;box-shadow:var(--shadow-soft);color:#302b20;transition:.22s var(--ease)}
.landing-user-account:hover{transform:translateY(-2px);border-color:#e0c873}.landing-user-copy{display:grid;text-align:left}.landing-user-copy b{font:800 11px Manrope}.landing-user-copy small{margin-top:2px;color:#91866f;font-size:8.8px;font-weight:650}

/* Top account menu */
.top-actions{align-items:center}.account-menu-wrap{position:relative}.account-chip{height:46px;border:1px solid #e5dbc2;background:rgba(255,255,255,.86);border-radius:15px;padding:4px 9px 4px 5px;display:flex;align-items:center;gap:8px;color:#322d22;box-shadow:var(--shadow-soft);transition:.2s var(--ease)}
.account-chip:hover,.account-chip[aria-expanded="true"]{border-color:#d8bf6c;background:#fff}.account-chip-copy{display:grid;text-align:left;min-width:0;max-width:130px}.account-chip-copy b{font:800 10.5px Manrope;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-chip-copy small{font-size:8px;color:#948a75}.account-caret{font-size:14px;color:#9b8f72;margin-left:2px}
.account-dropdown{position:absolute;right:0;top:calc(100% + 10px);z-index:70;width:286px;padding:9px;border-radius:19px;border:1px solid #e7ddc6;background:rgba(255,255,255,.96);backdrop-filter:blur(24px) saturate(135%);box-shadow:0 26px 70px rgba(54,43,16,.18);animation:fadeUp .2s var(--ease)}
.account-dropdown-head{display:flex;align-items:center;gap:10px;padding:9px 8px 13px;border-bottom:1px solid #eee6d4;margin-bottom:6px}.account-dropdown-head>div{display:grid;min-width:0}.account-dropdown-head b{font:800 11px Manrope;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-dropdown-head small{font-size:8.5px;color:#978d77;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dropdown-row{width:100%;border:0;background:transparent;padding:10px 9px;border-radius:13px;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:8px;text-align:left;color:#3d3729;transition:.18s}.dropdown-row:hover{background:#fff6d7}.dropdown-row .row-icon{width:30px;height:30px;border-radius:10px;background:#fff2bd;display:grid;place-items:center;color:#7d5c00;font-weight:900}.dropdown-row>span:nth-child(2){display:grid}.dropdown-row b{font-size:10px}.dropdown-row small{font-size:7.9px;color:#9b917b;margin-top:2px}.dropdown-row.danger{color:#9f4444}.dropdown-row.danger .row-icon{background:#fff0f0;color:#b54d4d}.mini-switch{width:34px;height:20px;border-radius:99px;background:#ddd5c1;position:relative}.mini-switch em{position:absolute;width:14px;height:14px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:.2s}.mini-switch.on{background:#f0b600}.mini-switch.on em{transform:translateX(14px)}

/* Sidebar utility area replaces the old profile */
.sidebar-tools{display:grid;gap:12px}.sidebar-theme-btn{width:100%;border:1px solid #393522;background:#242118;color:#ddd5bc;border-radius:14px;padding:10px;display:flex;align-items:center;gap:9px;text-align:left;transition:.2s}.sidebar-theme-btn:hover{background:#2d291d;border-color:#51472c}.theme-icon{width:31px;height:31px;border-radius:10px;background:#342e1c;color:#ffd24a;display:grid;place-items:center;font-size:16px}.sidebar-tool-copy{display:grid}.sidebar-tool-copy b{font-size:9.5px}.sidebar-tool-copy small{font-size:8px;color:#948d79;margin-top:2px}.admin-contact{display:grid;gap:6px}.admin-contact>span{font-size:7px;letter-spacing:.14em;color:#746f60;font-weight:800;padding:0 3px}.admin-contact a{display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:11px;color:#aaa28c;background:#211f17;border:1px solid #312d20;transition:.18s}.admin-contact a:hover{color:white;background:#2b281d;border-color:#4a422d}.admin-contact a b{width:24px;height:24px;border-radius:8px;background:#333025;color:#ffd33f;display:grid;place-items:center;font:900 11px Manrope}.admin-contact a span{font-size:8.7px;font-weight:700}
.sidebar-collapsed .sidebar-tools{justify-items:center}.sidebar-collapsed .sidebar-theme-btn{width:48px;justify-content:center;padding:8px}.sidebar-collapsed .sidebar-tool-copy,.sidebar-collapsed .admin-contact>span,.sidebar-collapsed .admin-contact a span{display:none}.sidebar-collapsed .admin-contact a{padding:7px}.sidebar-collapsed .admin-contact a b{width:28px;height:28px}

/* Account page */
.account-page{border:1px solid #e9dfc8;background:rgba(255,255,255,.86);border-radius:24px;box-shadow:var(--shadow-soft);overflow:hidden}.account-page-head{padding:25px 26px 21px;border-bottom:1px solid #eee5cf;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#fffdf7,#fff6d6)}.account-page-head h3{font:800 24px Manrope;margin:0 0 7px}.account-page-head p:not(.eyebrow){font-size:10.5px;color:#847a65;margin:0}.account-security-note{padding:7px 10px;border:1px solid #e7d69d;background:#fff9e7;border-radius:999px;font-size:8.2px;font-weight:800;color:#8e6a00;white-space:nowrap}.account-settings-form{padding:25px 26px;display:grid;gap:22px}.account-avatar-card{display:flex;align-items:center;gap:18px;padding:18px;border:1px solid #e9dfc7;border-radius:20px;background:#fffaf0}.account-avatar-card>div{display:grid;gap:4px}.account-avatar-card b{font:800 13px Manrope}.account-avatar-card small{font-size:9px;color:#918771}.avatar-actions{display:flex;gap:8px;margin-top:9px}.upload-avatar-btn{display:inline-grid;place-items:center;border:0;border-radius:12px;padding:9px 13px;background:#211f17;color:#fff;font-size:9.5px;font-weight:800;cursor:pointer}.ghost-btn.compact{padding:9px 13px;font-size:9.5px}.account-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.account-form-grid label{display:grid;gap:8px;font-size:10.5px;font-weight:750;color:#5d5545}.account-form-grid input{width:100%;border:1px solid #ddd4bd;background:#fff;border-radius:13px;padding:13px 14px;outline:none;color:#191b1e;transition:.2s}.account-form-grid input:focus{border-color:#e0ad1a;box-shadow:0 0 0 4px rgba(245,183,0,.12)}.account-form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:4px}.account-form-actions span{font-size:8.8px;color:#958a74}

/* Donate V1.3: use the complete 3:4 artwork exactly as supplied. */
.donate-image-sheet{width:min(510px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:0;background:transparent;border-radius:30px;box-shadow:none;overflow:visible}
.donate-image-sheet:before{display:none}.donate-full-image{width:100%;max-height:calc(100dvh - 28px);object-fit:contain;border-radius:30px;filter:drop-shadow(0 28px 58px rgba(0,0,0,.28))}.donate-image-sheet .donate-close{right:10px;top:10px;width:38px;height:38px;border-radius:13px;background:rgba(25,21,10,.74);color:#fff;border:1px solid rgba(255,255,255,.3);backdrop-filter:blur(12px);box-shadow:0 8px 22px rgba(0,0,0,.2)}

/* V1.3 readability: controls are roughly 10% larger than V1.2. */
.primary-btn,.ghost-btn,.soft-btn,.danger-btn,.logout-btn{min-height:42px;padding-top:13px;padding-bottom:13px}.nav-item{min-height:45px}.auth-tab{min-height:43px}.donate-link{min-height:42px;padding:11px 14px}.attention-add{min-height:38px}.job-form input,.job-form select,.auth-form input,.search-wrap input,.account-form-grid input{min-height:48px}

/* Dark theme */
body.dark-theme{--bg:#11110d;--bg2:#171710;--surface:#1d1c15;--surface2:#262218;--text:#f3eedf;--muted:#a9a28e;--line:#373326;background:#11110d;color:#f3eedf}
body.dark-theme .landing-view{background:radial-gradient(circle at 12% 12%,rgba(255,194,20,.12),transparent 24%),linear-gradient(180deg,#12120e,#18160e 60%,#11110d)}
body.dark-theme .landing-header{background:rgba(18,18,14,.82);border-color:#312d21}body.dark-theme .landing-brand small,body.dark-theme .vn-clock{color:#aaa18a}
body.dark-theme .landing-auth-actions,body.dark-theme .landing-user-account{background:#1d1c16;border-color:#393426;color:#f1ead8}body.dark-theme .header-login{color:#ddd5c2}body.dark-theme .header-login:hover{background:#2b271c}
body.dark-theme .hero-copy>p,body.dark-theme .section-title-row p,body.dark-theme .feature-card p,body.dark-theme .steps-grid p{color:#afa791}body.dark-theme .hero-badge{background:#1b1a14;border-color:#3b3525;color:#c4bba4}
body.dark-theme .preview-window,body.dark-theme .feature-card,body.dark-theme .feature-visual{background:#1b1a15;border-color:#383326;color:#f3eedf}body.dark-theme .preview-stats>div{background:#201e17;border-color:#373225}body.dark-theme .preview-calendar{border-color:#373225}body.dark-theme .preview-month,body.dark-theme .preview-week span,body.dark-theme .preview-days span{border-color:#322e23}
body.dark-theme .feature-card.large{background:linear-gradient(155deg,#201e16,#2f2915)}body.dark-theme .steps-grid article{background:rgba(31,29,22,.8)}
body.dark-theme .auth-panel{background:radial-gradient(circle at 85% 16%,rgba(245,183,0,.08),transparent 28%),linear-gradient(180deg,#14130f,#19170f)}body.dark-theme .auth-card{background:rgba(27,26,20,.96);border-color:#393426}body.dark-theme .auth-tabs{background:#252219;border-color:#3d382a}body.dark-theme .auth-tab.active{background:#373225;color:#fff}body.dark-theme .auth-form label{color:#d6ceba}body.dark-theme .auth-form input{background:#171710;border-color:#3f3929;color:#f1ead8}
body.dark-theme .app-shell{background:#11110d}body.dark-theme .main{background:#11110d}body.dark-theme .top-center-clock,body.dark-theme .account-chip{background:#1c1b15;border-color:#3b3628;color:#f2ebd9}
body.dark-theme .stat-card,body.dark-theme .calendar-card,body.dark-theme .list-card,body.dark-theme .finance-card,body.dark-theme .account-page{background:#1b1a15;border-color:#353125;color:#f3eedf}body.dark-theme .stat-card.income,body.dark-theme .stat-card.collected{background:linear-gradient(145deg,#1a1b16,#17251c);border-color:#294832}body.dark-theme .stat-card.debt{background:linear-gradient(145deg,#1b1816,#2b1717);border-color:#543030}
body.dark-theme .calendar-head,body.dark-theme .section-head{border-color:#332f24}body.dark-theme .day-cell{border-color:#302c22;background:#191812}body.dark-theme .day-cell:hover{background:#242116}body.dark-theme .day-cell.outside{background:#15140f;color:#746f61}body.dark-theme .day-cell.selected{box-shadow:inset 0 0 0 2px #e4af16}body.dark-theme .weekdays{background:#1d1b14;border-color:#302c22}
body.dark-theme .job-row{border-color:#312d22}body.dark-theme .job-row:hover{background:#211f18}body.dark-theme .search-wrap{background:#181711;border-color:#383328}body.dark-theme .search-wrap input{background:transparent;color:#f2ead7}
body.dark-theme .finance-hero{background:linear-gradient(135deg,#1d1b13,#302714);border-color:#4a3b19}body.dark-theme .finance-card.finance-deposit{background:#292313;border-color:#4a3f1c}body.dark-theme .finance-card.finance-paid{background:#17251b;border-color:#2d5138}body.dark-theme .finance-card.finance-debt{background:#291818;border-color:#563030}body.dark-theme .debt-item{border-color:#3a3326;background:#1c1a14}
body.dark-theme .account-dropdown{background:rgba(27,26,20,.97);border-color:#3f392b;color:#f2ead8}body.dark-theme .account-dropdown-head{border-color:#393428}body.dark-theme .dropdown-row{color:#e7dfcb}body.dark-theme .dropdown-row:hover{background:#2a261a}body.dark-theme .dropdown-row small{color:#9f9783}
body.dark-theme .account-page-head{background:linear-gradient(135deg,#1d1b15,#292313);border-color:#393327}body.dark-theme .account-page-head p:not(.eyebrow){color:#a99f88}body.dark-theme .account-security-note{background:#2b2618;border-color:#4a3f1f;color:#e7c35a}body.dark-theme .account-avatar-card{background:#171710;border-color:#3b3629}body.dark-theme .account-form-grid label{color:#ddd4bf}body.dark-theme .account-form-grid input{background:#151510;border-color:#403a2b;color:#f2ebdb}
body.dark-theme .modal-sheet{background:#1a1914;border-color:#403a2b;color:#f2ead8}body.dark-theme .modal-head{background:rgba(26,25,20,.95);border-color:#3b3629}body.dark-theme .job-form label{color:#ddd4c0}body.dark-theme .job-form input,body.dark-theme .job-form select,body.dark-theme .job-form textarea{background:#14140f;border-color:#423b2b;color:#f1ead8}body.dark-theme .payment-box,body.dark-theme .attention-toggle{background:#282214;border-color:#4b3f1e}
body.dark-theme .toast{background:#f4e9c9;color:#211b0e}

@media (max-width:1100px){.landing-user-account{grid-column:2}.account-chip-copy{max-width:100px}}
@media (max-width:760px){
  .landing-user-account{grid-column:1;justify-self:center}.landing-user-copy small{display:none}
  .top-actions{gap:6px}.account-chip{width:44px;padding:3px;justify-content:center}.account-chip-copy,.account-caret{display:none}.account-chip .user-avatar{width:36px;height:36px}
  .account-dropdown{position:fixed;right:12px;top:74px;width:min(300px,calc(100vw - 24px))}
  .account-page{border-radius:18px}.account-page-head{padding:19px 17px;display:grid}.account-security-note{justify-self:start}.account-settings-form{padding:17px}.account-avatar-card{align-items:flex-start;padding:14px}.user-avatar.xl{width:72px;height:72px;border-radius:22px}.account-form-grid{grid-template-columns:1fr}.account-form-actions{align-items:flex-start;flex-direction:column}.account-form-actions .primary-btn{width:100%}
  .donate-image-sheet{width:min(430px,calc(100vw - 20px));max-height:calc(100dvh - 20px)}.donate-full-image{max-height:calc(100dvh - 20px);border-radius:22px}.donate-image-sheet .donate-close{right:7px;top:7px;width:36px;height:36px}
  body.dark-theme{background:#11110d}body.dark-theme .mobile-nav{background:rgba(20,20,15,.88)}
}


/* =========================================================
   LICHCHUP V1.6 — READABILITY / UPCOMING / DARK FIX
   ========================================================= */
/* Google sign-in */
.auth-divider{display:flex;align-items:center;gap:10px;color:#aaa08a;font-size:10px;font-weight:700;margin:-2px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e8dfca;flex:1}.google-signin-slot{min-height:44px;display:flex;justify-content:center;align-items:center}.google-signin-slot>div{max-width:100%!important}.google-setup-btn{width:100%;min-height:46px;border:1px solid #ddd7c9;border-radius:999px;background:#fff;color:#2e2c27;display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:800}.google-setup-btn:hover{background:#faf8f3;border-color:#cfc7b5}.google-g{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font:900 15px/1 Arial,sans-serif;color:#4285f4;background:#fff;box-shadow:0 0 0 1px #e2e2e2}

/* Bigger account target + true circular avatars */
.user-avatar{border-radius:50%!important;border:2px solid #ffd44d;box-shadow:0 0 0 2px rgba(255,255,255,.92),0 5px 16px rgba(61,45,5,.12);background-position:center!important;background-size:cover!important}.user-avatar.small{width:40px;height:40px;border-radius:50%!important}.user-avatar.xl{width:104px;height:104px;border-radius:50%!important;border-width:3px;font-size:25px}.account-chip{height:56px;border-radius:18px;padding:5px 13px 5px 6px;gap:10px}.account-chip .user-avatar{width:44px;height:44px}.account-chip-copy{max-width:170px}.account-chip-copy b{font-size:12px}.account-chip-copy small{font-size:9.5px;margin-top:2px}.account-caret{font-size:17px}.account-dropdown{width:330px;padding:11px}.account-dropdown-head{gap:12px;padding:11px 10px 15px}.account-dropdown-head .user-avatar{width:46px;height:46px}.account-dropdown-head b{font-size:12.5px}.account-dropdown-head small{font-size:9.5px}.dropdown-row{padding:12px 10px;grid-template-columns:36px 1fr auto}.dropdown-row .row-icon{width:34px;height:34px}.dropdown-row b{font-size:11.5px}.dropdown-row small{font-size:9px;line-height:1.45}

/* Readability: desktop app */
.topbar h2{font-size:32px}.top-center-clock small{font-size:9px}.top-center-clock strong{font-size:12.5px}.nav-item{font-size:14px}.sidebar-tip b{font-size:11px}.sidebar-tip span{font-size:10px}.sidebar-tool-copy b{font-size:10.5px}.sidebar-tool-copy small,.admin-contact a span{font-size:9.5px}
.stat-card{padding:18px;gap:14px}.stat-card span{font-size:11.5px}.stat-card strong{font-size:23px}.stat-card small{font-size:10px;line-height:1.4}.stat-icon{width:44px;height:44px;font-size:15px}
.calendar-head{padding:19px 20px}.calendar-title-wrap h3{font-size:20px}.calendar-title-wrap p{font-size:10.5px}.legend{font-size:10px}.weekdays span{font-size:10.5px;padding:12px 4px}.calendar-primary .day-cell,.day-cell{min-height:142px;padding:12px}.solar-date{font-size:34px}.lunar-date{font-size:10px;padding:5px 7px}.today .solar-date{width:44px;height:44px;border-radius:14px}.day-cell.today:after{left:11px;right:auto;bottom:9px;font-size:7.5px}.job-chips{gap:5px;margin-top:13px}.job-chip{padding:7px 9px;font-size:10px;border-radius:9px}.more-jobs{font-size:9px}.icon-btn{width:39px;height:39px}

/* + button appears when hovering a day */
.day-add-btn{position:absolute;right:10px;bottom:9px;width:34px;height:34px;border:1px solid #e6c34d;border-radius:11px;background:#171710;color:#ffd23f;display:grid;place-items:center;font:800 20px/1 Manrope;opacity:0;pointer-events:none;transform:translateY(4px) scale(.92);transition:.18s var(--ease);z-index:6;box-shadow:0 8px 18px rgba(36,29,8,.16)}.day-cell:hover .day-add-btn,.day-add-btn:focus-visible,.day-cell:focus-within .day-add-btn{opacity:1;pointer-events:auto;transform:none}.day-add-btn:hover{background:#2d291b;transform:scale(1.06)}

/* Upcoming jobs panel: larger, easier to scan */
.attention-panel{padding:20px;border-radius:24px}.attention-kicker{font-size:9px}.attention-head h3{font-size:22px;margin-top:5px}.attention-count{width:38px;height:38px;border-radius:12px;font-size:14px}.attention-desc{font-size:10.5px;line-height:1.65;margin:11px 0 16px}.attention-list{gap:11px;max-height:680px}.attention-item{padding:14px;border-radius:17px}.attention-date{font-size:11px}.days-away{font-size:9.5px;padding:5px 8px}.attention-item h4{font-size:14px;margin:10px 0 4px}.attention-client{font-size:9.5px;line-height:1.45;margin-bottom:10px}.attention-meta{font-size:9.5px;gap:6px}.attention-note{font-size:9.3px;line-height:1.55}.attention-money span{font-size:9.5px}.attention-money b{font-size:11px}.attention-add{font-size:10px;min-height:42px}.attention-empty b{font-size:11.5px}.attention-empty small{font-size:9.5px;max-width:230px}

/* Bigger forms so no tiny labels */
.job-form{gap:18px}.auth-form label,.job-form label,.account-form-grid label{font-size:12.5px}.job-form input,.job-form select,.job-form textarea,.auth-form input,.account-form-grid input{font-size:13px}.payment-box b{font-size:12.5px}.payment-box small{font-size:10px}.modal-head h3{font-size:22px}.account-page-head p:not(.eyebrow){font-size:11.5px}.account-avatar-card small{font-size:10px}.account-form-actions span{font-size:10px}

/* Dark theme: replace near-black-on-black values with a coherent charcoal/gold palette */
body.dark-theme{--bg:#16150f;--bg2:#1b1a13;--surface:#211f18;--surface2:#29251a;--text:#f7f1df;--muted:#bbb29b;--line:#403a2b;background:#16150f;color:#f7f1df}
body.dark-theme .app-shell{background:linear-gradient(180deg,#17160f,#13130e)}body.dark-theme .main{background:radial-gradient(circle at 82% 2%,rgba(245,183,0,.055),transparent 25%),linear-gradient(180deg,#17160f,#13130e 72%)}
body.dark-theme .sidebar{background:linear-gradient(180deg,#1c1b14,#15150f)}
body.dark-theme .topbar h2,body.dark-theme .calendar-title-wrap h3,body.dark-theme .section-head h3,body.dark-theme .account-page-head h3,body.dark-theme .modal-head h3{color:#f7f1df}
body.dark-theme .eyebrow,body.dark-theme .calendar-title-wrap p,body.dark-theme .legend,body.dark-theme .section-head p{color:#b7ad94}
body.dark-theme .stat-card,body.dark-theme .calendar-card,body.dark-theme .list-card,body.dark-theme .finance-card,body.dark-theme .account-page{background:#211f18;border-color:#403a2b;color:#f7f1df}
body.dark-theme .stat-card span,body.dark-theme .stat-card small{color:#bdb49e}body.dark-theme .stat-card strong{color:#f7f1df}
body.dark-theme .stat-card.income,body.dark-theme .stat-card.collected{background:linear-gradient(145deg,#211f18,#19291f)}body.dark-theme .stat-card.income strong{color:#71d38f}body.dark-theme .stat-card.collected strong{color:#83d59e}body.dark-theme .stat-card.debt{background:linear-gradient(145deg,#211f18,#311b1b)}body.dark-theme .stat-card.debt strong{color:#ff8f8f}body.dark-theme .stat-card.debt span,body.dark-theme .stat-card.debt small{color:#d2a1a1}
body.dark-theme .calendar-head,body.dark-theme .section-head{background:#211f18;border-color:#3d382a}body.dark-theme .weekdays{background:#1d1c16;border-color:#383326}body.dark-theme .weekdays span{color:#c5bba1}
body.dark-theme .day-cell{background:#1e1d17;border-color:#363226;color:#f3ecd9}body.dark-theme .day-cell:hover{background:#28251b;box-shadow:inset 0 0 0 1px rgba(245,183,0,.34)}body.dark-theme .day-cell.outside{background:#191812;color:#736d5f}body.dark-theme .day-cell.today{background:linear-gradient(155deg,#282419,#332a13)}body.dark-theme .solar-date{color:#f3ecd9}body.dark-theme .outside .solar-date{color:#706b5e}body.dark-theme .lunar-date{background:#302c21;color:#d8cfb7}body.dark-theme .today .solar-date{background:#f2bb18;color:#2d2300;box-shadow:0 7px 18px rgba(0,0,0,.2)}body.dark-theme .day-cell.today:after{color:#e7bf4d}
body.dark-theme .job-chip{background:#2a281f;color:#e3dcc8}body.dark-theme .job-chip.paid{background:#1e3024;color:#c9ead3}body.dark-theme .job-chip.pending{background:#34281e;color:#f0d7c1}body.dark-theme .job-chip.has-tag,body.dark-theme .job-chip.paid.has-tag,body.dark-theme .job-chip.pending.has-tag{background:color-mix(in srgb,var(--job-tag-color) 24%,#1e1d17);color:color-mix(in srgb,var(--job-tag-color) 58%,white);border:1px solid color-mix(in srgb,var(--job-tag-color) 42%,#1e1d17)}body.dark-theme .more-jobs{color:#aaa18d}
body.dark-theme .day-add-btn{background:#f2bb18;color:#2c2100;border-color:#f4c63a}body.dark-theme .day-add-btn:hover{background:#ffd24b}
body.dark-theme .soft-btn{background:#373019;color:#f0cb5d}body.dark-theme .primary-btn{background:linear-gradient(135deg,#f3bf26,#d99d00);color:#2b2100;box-shadow:none}body.dark-theme .ghost-btn{background:#242219;border-color:#494331;color:#e8dfc9}body.dark-theme .icon-btn{background:#2c291f;color:#eadfbf}
body.dark-theme .top-center-clock,body.dark-theme .account-chip{background:#242219;border-color:#494331;color:#f5eedc}body.dark-theme .account-chip:hover,body.dark-theme .account-chip[aria-expanded="true"]{background:#2b281e;border-color:#756331}body.dark-theme .account-chip-copy small{color:#b5ab94}
body.dark-theme .account-dropdown{background:rgba(35,33,25,.98);border-color:#4a4432}body.dark-theme .account-dropdown-head{border-color:#494331}body.dark-theme .dropdown-row{color:#eee6d2}body.dark-theme .dropdown-row:hover{background:#322d1f}body.dark-theme .dropdown-row small{color:#afa58e}
body.dark-theme .modal-sheet{background:#211f18;border-color:#4a4432}body.dark-theme .modal-head{background:rgba(33,31,24,.96);border-color:#413c2d}body.dark-theme .job-form label{color:#e0d7c1}body.dark-theme .job-form input,body.dark-theme .job-form select,body.dark-theme .job-form textarea,body.dark-theme .account-form-grid input{background:#191812;border-color:#4a4432;color:#f6efdd}body.dark-theme .payment-box{background:#29251a;border-color:#544921}
body.dark-theme .account-page-head{background:linear-gradient(135deg,#242219,#302915);border-color:#423c2d}body.dark-theme .account-avatar-card{background:#1b1a14;border-color:#423d2e}
body.dark-theme .auth-divider{color:#a99f89}body.dark-theme .auth-divider:before,body.dark-theme .auth-divider:after{background:#403a2c}body.dark-theme .google-setup-btn{background:#1b1a15;border-color:#4a4538;color:#eee7d6}

@media (max-width:760px){
  .account-chip{width:50px;height:50px;padding:3px}.account-chip .user-avatar{width:40px;height:40px}.account-dropdown{width:min(330px,calc(100vw - 24px))}
  .topbar h2{font-size:27px}.stat-card span{font-size:10.5px}.stat-card strong{font-size:19px}.stat-card small{font-size:9px}
  .calendar-primary .day-cell,.day-cell{min-height:116px;padding:9px}.solar-date{font-size:26px}.today .solar-date{width:38px;height:38px}.lunar-date{font-size:8.5px}.job-chip{font-size:8.5px;padding:5px 6px}
  .day-add-btn{width:31px;height:31px;font-size:18px;right:7px;bottom:7px}.day-cell.selected .day-add-btn{opacity:1;pointer-events:auto;transform:none}
  .attention-head h3{font-size:20px}.attention-desc{font-size:10px}.attention-item h4{font-size:13px}.attention-meta,.attention-client{font-size:9px}
  .user-avatar.xl{width:84px;height:84px}
}


/* =========================================================
   LICHCHUP V1.6 — PERSISTENT SESSION / JOB MONTHS / PAY SWITCH
   ========================================================= */
/* Clickable app logo: back to landing without touching the saved session. */
.sidebar-brand{width:100%;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.sidebar-brand:hover img{transform:scale(1.045)}
.sidebar-brand img{transition:transform .2s var(--ease)}
.sidebar-brand:focus-visible{outline:2px solid #ffd23d;outline-offset:5px;border-radius:13px}

/* Account pill follows the circular avatar instead of looking boxy. */
.account-chip{border-radius:999px!important;padding-right:15px}

/* Admin contact is intentionally larger for readability. */
.admin-contact>span{font-size:10.5px;letter-spacing:.12em;color:#9b927b}
.admin-contact a span{font-size:10.5px;line-height:1.25}
.admin-contact a{min-height:42px}

/* Month selector: all job months live in one compact dropdown bar. */
.jobs-month-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 20px;background:#fffaf0;border-bottom:1px solid #eee5d1}
.jobs-month-select-wrap{display:flex;align-items:center;gap:12px;font-weight:800;color:#5b513d}
.jobs-month-select-wrap>span{font-size:11.5px;white-space:nowrap}
.jobs-month-select-wrap select{min-width:190px;height:43px;border:1px solid #ddd2b8;border-radius:13px;background:#fff;color:#29251b;padding:0 38px 0 13px;font:800 12.5px/1 "Be Vietnam Pro",sans-serif;outline:none;cursor:pointer}
.jobs-month-select-wrap select:focus{border-color:#e5b824;box-shadow:0 0 0 4px rgba(245,183,0,.12)}
.jobs-month-summary{text-align:right;display:grid;gap:2px}.jobs-month-summary b{font-size:11.5px}.jobs-month-summary small{font-size:9.5px;color:#948a75}

/* Larger job rows, newest date in the selected month is rendered first by JS. */
.jobs-table{padding:0}
.job-row{grid-template-columns:1.55fr .8fr .75fr .75fr 1.05fr auto;gap:16px;padding:17px 20px;min-height:74px}
.job-client-avatar{width:40px;height:40px;border-radius:13px;font-size:11px}
.job-row b{font-size:13px;line-height:1.35}
.job-row small{font-size:10.5px;line-height:1.45;margin-top:4px}
.money{font-size:13.5px}
.row-actions button{width:38px;height:38px;border-radius:11px;font-size:15px}

/* Payment status switch: green = paid, red = unpaid. */
.job-paid-control{display:flex;align-items:center;justify-content:space-between;gap:11px;min-width:188px;padding:9px 10px;border:1px solid transparent;border-radius:15px;cursor:pointer;transition:.18s var(--ease);user-select:none}
.job-paid-control.is-paid{background:#eef8f1;border-color:#d5ecdc;color:#31724a}
.job-paid-control.is-unpaid{background:#fff0f0;border-color:#f1d1d1;color:#a44242}
.job-paid-copy{display:grid;min-width:0}.job-paid-copy b{font-size:11.5px;white-space:nowrap}.job-paid-copy small{font-size:9px;margin-top:2px;color:currentColor;opacity:.72}
.job-paid-switch{position:relative;width:48px;height:28px;flex:0 0 auto}.job-paid-switch input{position:absolute;opacity:0;pointer-events:none}.job-paid-switch i{position:absolute;inset:0;border-radius:999px;background:#d95353;box-shadow:inset 0 0 0 1px rgba(115,31,31,.12);transition:.2s var(--ease)}.job-paid-switch i:before{content:"";position:absolute;width:20px;height:20px;left:4px;top:4px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.2s var(--ease)}.job-paid-switch input:checked+i{background:#44a867}.job-paid-switch input:checked+i:before{transform:translateX(20px)}
.job-paid-control:focus-within{box-shadow:0 0 0 4px rgba(245,183,0,.13)}

body.dark-theme .jobs-month-toolbar{background:#1d1c16;border-color:#3d382a}
body.dark-theme .jobs-month-select-wrap{color:#e6dec9}
body.dark-theme .jobs-month-select-wrap select{background:#29261d;border-color:#4a4432;color:#f6efdd}
body.dark-theme .jobs-month-summary small{color:#b1a68e}
body.dark-theme .job-row:hover{background:#28251b}
body.dark-theme .job-paid-control.is-paid{background:#1d3324;border-color:#315c40;color:#9de0af}
body.dark-theme .job-paid-control.is-unpaid{background:#3a2020;border-color:#663434;color:#ffabab}

@media (max-width:1100px){
  .job-row{grid-template-columns:1.45fr .8fr .8fr 1.05fr auto}.job-type-col{display:none}
}
@media (max-width:760px){
  .account-chip{border-radius:50%!important;padding:3px!important}
  .jobs-month-toolbar{align-items:stretch;flex-direction:column;padding:12px 14px;gap:9px}
  .jobs-month-select-wrap{justify-content:space-between}.jobs-month-select-wrap select{flex:1;min-width:0}
  .jobs-month-summary{text-align:left}
  .job-row{min-width:780px;padding:15px 14px}
}


/* =========================================================
   LICHCHUP V1.6 — LIQUID GLASS / FINANCE WHEELS / TAGS / DAY DETAIL
   ========================================================= */
:root{
  --glass-bg:rgba(255,255,255,.56);
  --glass-bg-strong:rgba(255,255,255,.72);
  --glass-line:rgba(255,255,255,.72);
  --glass-shadow:0 18px 48px rgba(68,50,12,.10),inset 0 1px 0 rgba(255,255,255,.88);
  --glass-blur:blur(26px) saturate(175%);
}
body{background:
  radial-gradient(circle at 72% 2%,rgba(255,213,82,.16),transparent 25%),
  radial-gradient(circle at 24% 85%,rgba(255,255,255,.7),transparent 30%),#f7f3e8}
.main{position:relative;background:
  radial-gradient(circle at 88% 2%,rgba(255,214,83,.12),transparent 22%),
  linear-gradient(180deg,rgba(250,247,238,.93),rgba(247,243,232,.96));}
/* Liquid-glass surfaces inspired by iOS-style translucent controls. */
.top-center-clock,.account-chip,.stat-card,.calendar-card,.list-card,.account-page,.finance-card,.finance-hero,
.jobs-month-toolbar,.account-dropdown,.modal-sheet,.landing-user-account,.security-feature{
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);
  box-shadow:var(--glass-shadow);
}
.stat-card,.calendar-card,.list-card,.account-page,.finance-card{background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.48));border-color:rgba(255,255,255,.82)}
.calendar-head,.section-head,.jobs-month-toolbar{background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.38));border-color:rgba(220,205,168,.5)}
.top-center-clock,.account-chip{background:linear-gradient(150deg,rgba(255,255,255,.76),rgba(255,255,255,.48));border-color:rgba(255,255,255,.9)}
.account-chip:before,.top-center-clock:before,.stat-card:before,.finance-card:before,.calendar-card:before,.list-card:before{content:"";pointer-events:none;position:absolute;inset:1px;border-radius:inherit;background:linear-gradient(120deg,rgba(255,255,255,.34),transparent 34%,transparent 65%,rgba(255,255,255,.12));opacity:.72;z-index:0}
.account-chip,.top-center-clock,.stat-card,.finance-card,.calendar-card,.list-card{position:relative}.account-chip>* ,.top-center-clock>* ,.stat-card>* ,.finance-card>* ,.calendar-card>* ,.list-card>*{position:relative;z-index:1}
.account-caret{display:none!important}

/* Landing security card: accurate privacy wording for this local-only build. */
.security-feature{grid-column:1/-1;display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;background:linear-gradient(135deg,rgba(247,255,250,.78),rgba(255,255,255,.58));border-color:rgba(148,211,171,.42)!important}
.security-feature .shield-icon{background:linear-gradient(135deg,#e5f7ea,#c8edda);color:#247047}
.security-feature-copy h3{margin:0 0 5px}.security-feature-copy p{margin:0!important;max-width:720px}.security-badges{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.security-badges span{padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.68);border:1px solid rgba(103,171,128,.22);font-size:8.8px;font-weight:800;color:#397454;white-space:nowrap}

/* Calendar: explicit Monday -> Sunday columns and stronger headers. */
.weekdays{position:sticky;top:0;z-index:5;background:rgba(255,253,248,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.weekdays span{font-size:11px!important;letter-spacing:.015em;color:#655d4d!important;border-right:1px solid rgba(225,214,189,.55)}.weekdays span:last-child{border-right:0;color:#b05c5c!important}
.calendar-grid{grid-auto-rows:minmax(142px,auto)}
.day-cell{cursor:pointer}.day-cell[data-weekday="Chủ nhật"] .solar-date{color:#b65353}.day-cell.outside[data-weekday="Chủ nhật"] .solar-date{color:#c8a3a3}
.job-chip{white-space:normal;display:grid;gap:5px}.job-chip-line{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:800}

/* Day detail panel appears above upcoming jobs. */
.day-inspector{position:relative;margin:-3px -3px 17px;padding:15px;border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,207,63,.08));border:1px solid rgba(255,221,117,.24);animation:dayInspectorIn .34s cubic-bezier(.2,.8,.2,1)}
@keyframes dayInspectorIn{from{opacity:0;transform:translateX(18px) scale(.98);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.day-inspector-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.day-inspector-head h3{font:800 17px/1.35 Manrope;margin:5px 0 0;color:#fff;max-width:260px}.day-inspector-close{width:32px;height:32px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(255,255,255,.08);color:#fff;font-size:18px;display:grid;place-items:center}.day-inspector-close:hover{background:rgba(255,255,255,.15)}
.day-inspector-jobs{display:grid;gap:9px;margin-top:13px}.day-inspector-job{width:100%;display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:start;text-align:left;border:1px solid rgba(255,255,255,.12);border-radius:15px;background:rgba(14,14,10,.27);color:#fff;padding:12px;transition:.2s var(--ease)}.day-inspector-job:hover{transform:translateY(-2px);background:rgba(255,255,255,.08);border-color:rgba(255,211,71,.32)}
.day-job-time{font:800 13px Manrope;color:#ffd441;padding-top:2px}.day-job-main{min-width:0}.day-job-main h4{font:800 15px/1.35 Manrope;margin:0 0 6px}.day-job-main p{font-size:9.5px;color:#bdb49e;margin:7px 0 0;line-height:1.45}.day-job-status{font-size:8px;font-weight:900;border-radius:999px;padding:5px 7px;white-space:nowrap}.day-job-status.paid{background:#21472f;color:#9ae0b0}.day-job-status.pending{background:#5a3425;color:#ffd0ad}
.day-inspector-empty{display:grid;gap:7px;justify-items:start;padding:14px;border-radius:15px;background:rgba(0,0,0,.14)}.day-inspector-empty b{font-size:13px}.day-inspector-empty span{font-size:9.5px;color:#aaa28f}.day-inspector-empty button{margin-top:4px;border:1px dashed rgba(255,211,70,.4);background:rgba(255,211,70,.08);color:#ffe27d;border-radius:11px;padding:9px 11px;font-size:9px;font-weight:800}
.attention-upcoming{position:relative}.day-inspector:not(.hidden)+.attention-upcoming{padding-top:3px}

/* Job tags. */
.tag-field{display:grid;gap:10px;padding:14px;border:1px solid #e4dcc8;border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,249,230,.66))}.tag-field-head b{font-size:12.5px}.tag-field-head small{display:block;font-size:9.5px;color:#958a72;margin-top:4px;font-weight:500}.tag-options{display:flex;flex-wrap:wrap;gap:8px}.tag-choice{--tag-color:#F5B700;display:flex;align-items:center;gap:7px;border:1px solid color-mix(in srgb,var(--tag-color) 42%,#d8d0bd);background:color-mix(in srgb,var(--tag-color) 10%,white);color:#493f2c;border-radius:999px;padding:8px 10px;font-size:10px;font-weight:800;transition:.18s var(--ease)}.tag-choice i{width:9px;height:9px;border-radius:50%;background:var(--tag-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--tag-color) 18%,transparent)}.tag-choice em{display:none;font-style:normal}.tag-choice.selected{background:color-mix(in srgb,var(--tag-color) 22%,white);border-color:var(--tag-color);box-shadow:0 5px 14px color-mix(in srgb,var(--tag-color) 15%,transparent)}.tag-choice.selected em{display:inline}.add-custom-tag{justify-self:start;border:1px dashed #d4c89f;background:rgba(255,255,255,.58);color:#7e681e;border-radius:12px;padding:9px 11px;font-size:10px;font-weight:800}.custom-tag-editor{display:grid;grid-template-columns:minmax(140px,1fr) auto auto auto;gap:8px;align-items:center;padding-top:4px}.custom-tag-editor>input[type=text]{min-height:42px!important}.color-picker-label{height:42px!important;display:flex!important;align-items:center;gap:7px!important;padding:0 9px;border:1px solid #ddd4bd;border-radius:12px;background:#fff;font-size:9px!important}.color-picker-label input{width:28px!important;height:28px!important;min-height:0!important;border:0!important;padding:0!important;background:transparent!important}.custom-tag-editor button{height:42px;border:0;border-radius:11px;padding:0 12px;font-size:9.5px;font-weight:800;background:#1d1c16;color:#fff}.custom-tag-editor .ghost-mini{background:#f2eee4;color:#6e6655}
.job-tag-list{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0 1px}.job-tag-list.compact{margin:0;gap:3px}.job-tag-badge{--tag-color:#F5B700;display:inline-flex;align-items:center;max-width:100%;padding:4px 7px;border-radius:999px;background:color-mix(in srgb,var(--tag-color) 18%,white);border:1px solid color-mix(in srgb,var(--tag-color) 42%,white);color:color-mix(in srgb,var(--tag-color) 60%,#2e2719);font-size:8px;line-height:1;font-weight:900;white-space:nowrap}.job-tag-list.compact .job-tag-badge{padding:3px 5px;font-size:7px}.attention-item .job-tag-list,.day-inspector-job .job-tag-list{margin:6px 0}.attention-item .job-tag-badge,.day-inspector-job .job-tag-badge{background:color-mix(in srgb,var(--tag-color) 22%,#242219);border-color:color-mix(in srgb,var(--tag-color) 48%,#242219);color:color-mix(in srgb,var(--tag-color) 55%,white)}

/* Finance picker / iPhone-alarm-like faded wheel. */
.finance-title-line{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.finance-title-line.compact{align-items:center}.wheel-control-wrap{position:relative;z-index:18}.finance-wheel-trigger{height:34px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.10);color:#ffe07b;display:flex;align-items:center;gap:7px;padding:0 10px;font-size:9.5px;font-weight:900;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.finance-wheel-trigger i{font-style:normal;font-size:11px;opacity:.72}.finance-wheel-trigger.light{background:rgba(255,255,255,.64);border-color:rgba(154,130,64,.18);color:#725400}.finance-month-card{overflow:visible!important}.ios-wheel-popover{position:absolute;right:0;top:calc(100% + 9px);width:150px;height:190px;border:1px solid rgba(255,255,255,.76);border-radius:23px;background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(249,245,233,.7));backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%);box-shadow:0 26px 65px rgba(52,40,11,.22),inset 0 1px 0 rgba(255,255,255,.92);overflow:hidden;padding:8px;z-index:100}.month-wheel{width:164px}.ios-wheel-track{height:174px;overflow-y:auto;scroll-snap-type:y mandatory;padding:62px 3px;scrollbar-width:none;mask-image:linear-gradient(to bottom,transparent 0%,#000 27%,#000 73%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 27%,#000 73%,transparent 100%)}.ios-wheel-track::-webkit-scrollbar{display:none}.ios-wheel-option{width:100%;height:38px;scroll-snap-align:center;border:0;background:transparent;border-radius:11px;font:800 13px Manrope;color:#574f3e;transition:.15s}.ios-wheel-option:hover:not(:disabled){background:rgba(255,198,32,.13)}.ios-wheel-option.selected{font-size:16px;color:#17150f;background:rgba(255,208,63,.18)}.ios-wheel-option:disabled{color:#bcb7ac;opacity:.36;cursor:not-allowed}.ios-wheel-selection{position:absolute;left:9px;right:9px;top:76px;height:38px;border-top:1px solid rgba(188,164,95,.22);border-bottom:1px solid rgba(188,164,95,.22);border-radius:10px;pointer-events:none;background:rgba(255,255,255,.08)}.ios-wheel-fade{position:absolute;left:0;right:0;height:54px;z-index:3;pointer-events:none}.ios-wheel-fade.top{top:0;background:linear-gradient(180deg,rgba(250,247,238,.92),rgba(250,247,238,0))}.ios-wheel-fade.bottom{bottom:0;background:linear-gradient(0deg,rgba(250,247,238,.92),rgba(250,247,238,0))}
.finance-hero{overflow:visible!important}.finance-card strong{position:relative;z-index:1}.finance-month-card>small{position:relative;z-index:1}

/* Copyright footer in every app page. */
.app-copyright{position:fixed;left:calc(252px + clamp(20px,3.5vw,48px));bottom:12px;max-width:min(780px,calc(100vw - 340px));z-index:12;padding:7px 11px;border:1px solid rgba(214,203,176,.55);border-radius:999px;background:rgba(255,255,255,.50);backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);box-shadow:0 8px 28px rgba(53,42,14,.07);font-size:7.8px;line-height:1.45;color:#8f8673}.app-copyright b{color:#6f5709;letter-spacing:.06em}.app-copyright strong{color:#514a3b}.sidebar-collapsed .app-copyright{left:calc(82px + clamp(20px,3.5vw,48px));max-width:min(780px,calc(100vw - 170px))}

/* Dark liquid glass. */
body.dark-theme{--glass-bg:rgba(35,33,25,.58);--glass-bg-strong:rgba(43,40,30,.72);--glass-line:rgba(255,255,255,.08);--glass-shadow:0 18px 52px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.06)}
body.dark-theme .main{background:radial-gradient(circle at 82% 2%,rgba(245,183,0,.075),transparent 23%),linear-gradient(180deg,#17160f,#13130e 74%)}
body.dark-theme .stat-card,body.dark-theme .calendar-card,body.dark-theme .list-card,body.dark-theme .account-page,body.dark-theme .finance-card{background:linear-gradient(145deg,rgba(41,39,30,.78),rgba(29,28,22,.66));border-color:rgba(255,255,255,.08)}
body.dark-theme .calendar-head,body.dark-theme .section-head,body.dark-theme .jobs-month-toolbar{background:rgba(34,32,25,.5);border-color:rgba(255,255,255,.07)}body.dark-theme .weekdays{background:rgba(28,27,21,.84);border-color:#383326}body.dark-theme .weekdays span{color:#c8bea6!important;border-color:rgba(255,255,255,.06)}body.dark-theme .weekdays span:last-child{color:#e99b9b!important}
body.dark-theme .tag-field{background:rgba(31,29,23,.7);border-color:#494333}.dark-theme .tag-field-head small{color:#afa58f}.dark-theme .tag-choice{background:color-mix(in srgb,var(--tag-color) 12%,#201f19);border-color:color-mix(in srgb,var(--tag-color) 34%,#4a4434);color:#eee6d5}.dark-theme .tag-choice.selected{background:color-mix(in srgb,var(--tag-color) 20%,#201f19)}body.dark-theme .add-custom-tag{background:#29261d;border-color:#5d543a;color:#e7ca70}body.dark-theme .color-picker-label{background:#191812;border-color:#4a4432;color:#e7dfcb}.dark-theme .custom-tag-editor .ghost-mini{background:#2f2b21;color:#d8cfbb}
body.dark-theme .ios-wheel-popover{background:linear-gradient(145deg,rgba(45,42,32,.92),rgba(28,27,21,.88));border-color:rgba(255,255,255,.08)}body.dark-theme .ios-wheel-option{color:#e7dfcb}body.dark-theme .ios-wheel-option.selected{color:#fff2be;background:rgba(245,183,0,.13)}body.dark-theme .ios-wheel-option:disabled{color:#716c60}.dark-theme .ios-wheel-fade.top{background:linear-gradient(180deg,rgba(39,37,29,.96),rgba(39,37,29,0))}.dark-theme .ios-wheel-fade.bottom{background:linear-gradient(0deg,rgba(31,30,24,.96),rgba(31,30,24,0))}.dark-theme .ios-wheel-selection{border-color:rgba(245,193,42,.16)}
body.dark-theme .app-copyright{background:rgba(29,28,22,.62);border-color:rgba(255,255,255,.07);color:#aaa18d}.dark-theme .app-copyright b{color:#e2bd4f}.dark-theme .app-copyright strong{color:#d5ccb8}
body.dark-theme .security-feature{background:linear-gradient(135deg,rgba(27,45,34,.72),rgba(28,28,22,.62));border-color:rgba(87,154,111,.26)!important}.dark-theme .security-badges span{background:rgba(255,255,255,.055);border-color:rgba(109,188,137,.18);color:#9fd7b2}

@media (max-width:1100px){
  .security-feature{grid-template-columns:auto 1fr}.security-badges{grid-column:1/-1;justify-content:flex-start}
  .app-copyright{max-width:calc(100vw - 330px)}
}
@media (max-width:760px){
  .security-feature{grid-template-columns:1fr;gap:11px}.security-feature .feature-icon{width:44px}.security-badges{grid-column:auto;justify-content:flex-start}.security-badges span{font-size:8px}
  .weekdays span{font-size:9px!important;padding-inline:2px}.calendar-inner{min-width:760px!important}
  .day-inspector-head h3{font-size:15px}.day-inspector-job{grid-template-columns:auto 1fr}.day-job-status{grid-column:2;justify-self:start}.day-job-main h4{font-size:14px}
  .custom-tag-editor{grid-template-columns:1fr auto}.custom-tag-editor button{min-width:76px}.color-picker-label{justify-self:start}
  .finance-grid-v16{grid-template-columns:1fr 1fr!important}.finance-hero{grid-column:1/-1}.finance-month-card{grid-column:1/-1}.ios-wheel-popover{position:fixed;left:50%;right:auto;top:50%;transform:translate(-50%,-50%);width:min(260px,calc(100vw - 32px));height:244px}.ios-wheel-track{height:226px;padding:86px 4px}.ios-wheel-selection{top:103px}.ios-wheel-fade{height:75px}
  .app-copyright{left:12px!important;right:12px;bottom:82px;max-width:none;text-align:center;border-radius:17px;font-size:7px;padding:6px 9px}
}

/* V1.6 small polish: no chevron glyph on the sidebar toggle; stronger liquid-glass mobile taskbar. */
.sidebar-toggle{font-size:15px!important;font-weight:800!important}
.job-tag-badge{box-shadow:inset 3px 0 0 var(--tag-color)}
@media (max-width:760px){
  .mobile-nav{overflow:hidden;background:linear-gradient(145deg,rgba(35,34,28,.70),rgba(22,22,18,.52))!important;border:1px solid rgba(255,255,255,.18)!important;backdrop-filter:blur(28px) saturate(185%)!important;-webkit-backdrop-filter:blur(28px) saturate(185%)!important;box-shadow:0 18px 48px rgba(24,20,9,.28),inset 0 1px 0 rgba(255,255,255,.18)!important}
  .mobile-nav:before{content:"";position:absolute;left:8%;right:8%;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.8),transparent);opacity:.5;pointer-events:none}
  .mobile-nav button.active{background:linear-gradient(145deg,rgba(255,219,91,.16),rgba(255,255,255,.055))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.09)}
}

/* =========================================================
   LICHCHUP V1.7 — LAYERING / SEPARATE DAY CARD / ICON POLISH
   ========================================================= */
.ui-icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.ui-icon{width:1em;height:1em;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.nav-icon .ui-icon{width:20px;height:20px}
.stat-icon .ui-icon{width:21px;height:21px;stroke-width:1.9}
.row-icon .ui-icon{width:17px;height:17px}.search-icon{width:17px;height:17px;color:#988e79}.icon-btn .ui-icon{width:18px;height:18px;stroke-width:2.15}
.finance-wheel-trigger i{width:14px;height:14px;display:grid;place-items:center}.finance-wheel-trigger i .ui-icon{width:13px;height:13px}
.mobile-nav button>span:not(.mobile-add-circle) .ui-icon{width:21px;height:21px;margin:auto}.mobile-add-circle .ui-icon{width:22px;height:22px}
.row-actions button{display:grid;place-items:center}.row-actions button .ui-icon{width:16px;height:16px;stroke-width:2}
.mini-inline-icon{width:12px;height:12px;display:inline-block;vertical-align:-2px;margin-right:3px;stroke-width:2}.paid-check-icon{width:14px;height:14px;display:inline-block;vertical-align:-2px;stroke-width:2.4}
.theme-icon{display:grid;place-items:center}.theme-icon .ui-icon{width:18px;height:18px}
.sidebar-toggle{display:grid!important;place-items:center}.sidebar-toggle .ui-icon{width:17px;height:17px;stroke-width:2}

/* Finance wheel always floats above the debt list. */
#financeView{position:relative;isolation:isolate}
.finance-grid-v16{position:relative;z-index:80;overflow:visible}
.finance-grid-v16 .finance-hero,.finance-grid-v16 .finance-month-card{position:relative;z-index:82;overflow:visible!important}
.finance-grid-v16 .wheel-control-wrap{z-index:120}
.finance-grid-v16 .ios-wheel-popover{z-index:999;isolation:isolate}
#financeView>.list-card{position:relative;z-index:1}
.ios-wheel-track{overscroll-behavior:contain;scroll-behavior:auto}

/* The selected-day inspector is now its own calendar-coloured card. */
.attention-panel{position:sticky;top:18px;min-width:0;display:grid;gap:14px;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;overflow:visible!important;color:inherit}
.attention-panel:before{display:none!important}
.attention-upcoming{position:relative;padding:20px;border-radius:24px;background:linear-gradient(180deg,#201e15,#171710);color:#fff;border:1px solid #343022;box-shadow:0 14px 36px rgba(44,35,10,.11);overflow:hidden}
.attention-upcoming:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-70px;top:-88px;background:radial-gradient(circle,rgba(255,204,53,.18),transparent 69%);pointer-events:none}
.day-inspector{position:relative;margin:0!important;padding:18px;border-radius:23px;background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.48));border:1px solid rgba(255,255,255,.82);box-shadow:var(--glass-shadow);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);color:#2e2a20;overflow:hidden;animation:dayInspectorIn .34s cubic-bezier(.2,.8,.2,1)}
.day-inspector:before{content:"";position:absolute;inset:1px;border-radius:inherit;background:linear-gradient(120deg,rgba(255,255,255,.30),transparent 30%,transparent 70%);pointer-events:none;opacity:.52}
.day-inspector>*{position:relative;z-index:1}
.day-inspector .attention-kicker{color:#99875c}.day-inspector-head h3{color:#2e2a20;max-width:290px}
.day-inspector-close{border:1px solid #e1d7bf;background:rgba(255,255,255,.64);color:#5b5342}.day-inspector-close:hover{background:#fff4c9;border-color:#e3c45e;color:#503e08}
.day-inspector-jobs{margin-top:14px}.day-inspector-job{border:1px solid #e9e0cd;background:rgba(255,255,255,.66);color:#2f2a20;box-shadow:0 5px 16px rgba(77,61,25,.035)}
.day-inspector-job:hover{background:#fffdf7;border-color:#ddc979;box-shadow:0 8px 22px rgba(82,63,18,.06)}
.day-job-time{color:#a97900}.day-job-main h4{color:#2e2a20}.day-job-main p{color:#8f8570}
.day-job-status.paid{background:#e1f3e6;color:#34714a}.day-job-status.pending{background:#fff0df;color:#a7612d}
.day-inspector-empty{background:rgba(255,255,255,.5);border:1px solid #ece2cc}.day-inspector-empty b{color:#4b4437}.day-inspector-empty span{color:#938975}.day-inspector-empty button{border-color:#d9be5d;background:#fff7d8;color:#7a5b00}
.day-inspector-job .job-tag-badge{background:color-mix(in srgb,var(--tag-color) 14%,white);border-color:color-mix(in srgb,var(--tag-color) 38%,white);color:color-mix(in srgb,var(--tag-color) 63%,#342d1f)}
.day-inspector:not(.hidden)+.attention-upcoming{padding-top:20px}

/* Dark mode: flatter surfaces, far less left-side shine. */
body.dark-theme{--glass-shadow:0 13px 34px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.035)}
body.dark-theme .account-chip:before,body.dark-theme .top-center-clock:before,body.dark-theme .stat-card:before,body.dark-theme .finance-card:before,body.dark-theme .calendar-card:before,body.dark-theme .list-card:before{opacity:.14;background:linear-gradient(120deg,rgba(255,255,255,.055),transparent 22%,transparent 100%)}
body.dark-theme .nav-item:hover,body.dark-theme .nav-item.active{background:rgba(245,183,0,.055)}
body.dark-theme .nav-item.active{box-shadow:inset 2px 0 0 rgba(245,183,0,.58)}
body.dark-theme .stat-card,body.dark-theme .calendar-card,body.dark-theme .list-card,body.dark-theme .account-page,body.dark-theme .finance-card{box-shadow:0 12px 34px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025)}
body.dark-theme .attention-upcoming{background:linear-gradient(180deg,#1d1c15,#171710);border-color:#302d22;box-shadow:0 12px 30px rgba(0,0,0,.16)}
body.dark-theme .attention-upcoming:before{opacity:.55}
body.dark-theme .day-inspector{background:linear-gradient(145deg,rgba(41,39,30,.78),rgba(29,28,22,.66));border-color:rgba(255,255,255,.08);color:#eee6d5;box-shadow:0 12px 34px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025)}
body.dark-theme .day-inspector:before{opacity:.10;background:linear-gradient(120deg,rgba(255,255,255,.05),transparent 22%,transparent 100%)}
body.dark-theme .day-inspector .attention-kicker{color:#b9aa82}body.dark-theme .day-inspector-head h3{color:#f2ead8}
body.dark-theme .day-inspector-close{background:#2b2921;border-color:#484335;color:#e7deca}body.dark-theme .day-inspector-close:hover{background:#353126;border-color:#695a2d}
body.dark-theme .day-inspector-job{background:#201f19;border-color:#3c382d;color:#eee6d5;box-shadow:none}body.dark-theme .day-inspector-job:hover{background:#29271e;border-color:#5b512f;box-shadow:none}
body.dark-theme .day-job-time{color:#f0c84e}body.dark-theme .day-job-main h4{color:#f3ebda}body.dark-theme .day-job-main p{color:#ada48f}
body.dark-theme .day-job-status.paid{background:#21402b;color:#96d8aa}body.dark-theme .day-job-status.pending{background:#4b3023;color:#ffc59e}
body.dark-theme .day-inspector-empty{background:#201f19;border-color:#3c382d}body.dark-theme .day-inspector-empty b{color:#eee6d5}body.dark-theme .day-inspector-empty span{color:#aaa18d}body.dark-theme .day-inspector-empty button{background:#2a271c;border-color:#67592d;color:#e7ca70}
body.dark-theme .day-inspector-job .job-tag-badge{background:color-mix(in srgb,var(--tag-color) 18%,#201f19);border-color:color-mix(in srgb,var(--tag-color) 40%,#3c382d);color:color-mix(in srgb,var(--tag-color) 55%,white)}

@media (max-width:760px){
  .attention-panel{position:relative;top:auto;gap:12px}.day-inspector,.attention-upcoming{border-radius:20px;padding:15px}
  .day-inspector:not(.hidden)+.attention-upcoming{padding-top:15px}
}
/* V1.7 dark surfaces are intentionally flatter so the left edge no longer looks over-lit. */
body.dark-theme .calendar-card,body.dark-theme .list-card,body.dark-theme .account-page{background:rgba(30,29,23,.80)}
body.dark-theme .stat-card{background:rgba(33,32,26,.80)}
body.dark-theme .stat-card.income,body.dark-theme .stat-card.collected{background:rgba(26,35,29,.82);border-color:#294832}
body.dark-theme .stat-card.debt{background:rgba(39,25,25,.82);border-color:#543030}
body.dark-theme .job-row{background:rgba(255,255,255,.006)}
body.dark-theme .job-row:hover{background:rgba(255,255,255,.035)}

/* =========================================================
   LICHCHUP V1.7.1 — FINANCE WHEEL HOTFIX
   Fix wheel trapping + month-picker dark-mode appearance.
   ========================================================= */
#financeView{overflow:visible}
#financeView.active{min-height:calc(100dvh - 150px)}
.finance-grid-v16{overflow:visible!important}
.finance-grid-v16 .wheel-control-wrap{position:relative;z-index:160}
.finance-grid-v16 .ios-wheel-popover{z-index:1400}

/* Let the document keep scrolling when a wheel reaches its first/last item. */
.ios-wheel-track{
  overscroll-behavior-y:auto!important;
  scroll-snap-type:y proximity!important;
  scroll-behavior:auto!important;
  touch-action:pan-y;
}

/* More stable dimensions and alignment for both year and month pickers. */
.ios-wheel-popover{
  width:172px;
  height:206px;
  padding:8px;
  border-radius:21px;
}
.month-wheel{width:182px}
.ios-wheel-track{height:190px;padding:76px 4px}
.ios-wheel-selection{top:84px;height:38px;left:10px;right:10px}
.ios-wheel-fade{height:62px}
.ios-wheel-option{height:38px;min-height:38px;line-height:38px;padding:0 8px}

/* The month trigger used to look like a disabled white pill in dark mode. */
body.dark-theme .finance-wheel-trigger.light{
  background:rgba(255,208,63,.09)!important;
  border-color:rgba(245,193,42,.20)!important;
  color:#f4cf62!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
body.dark-theme .finance-wheel-trigger.light:hover,
body.dark-theme .finance-wheel-trigger.light[aria-expanded="true"]{
  background:rgba(255,208,63,.14)!important;
  border-color:rgba(245,193,42,.34)!important;
  color:#ffe58a!important;
}
body.dark-theme .ios-wheel-popover{
  background:linear-gradient(180deg,rgba(42,40,31,.98),rgba(27,26,21,.97))!important;
  border-color:rgba(255,255,255,.09)!important;
  box-shadow:0 24px 58px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.045)!important;
}
body.dark-theme .ios-wheel-selection{
  background:rgba(245,183,0,.065)!important;
  border-color:rgba(245,193,42,.18)!important;
}
body.dark-theme .ios-wheel-option.selected{
  color:#ffe483!important;
  background:rgba(245,183,0,.13)!important;
}
body.dark-theme .ios-wheel-fade.top{background:linear-gradient(180deg,rgba(38,36,29,.99),rgba(38,36,29,0))!important}
body.dark-theme .ios-wheel-fade.bottom{background:linear-gradient(0deg,rgba(28,27,22,.99),rgba(28,27,22,0))!important}

@media (max-width:760px){
  .ios-wheel-popover,.month-wheel{
    position:fixed;
    left:50%;right:auto;top:50%;
    transform:translate(-50%,-50%);
    width:min(280px,calc(100vw - 34px));
    height:264px;
  }
  .ios-wheel-track{height:248px;padding:105px 5px}
  .ios-wheel-selection{top:113px}
  .ios-wheel-fade{height:86px}
}

/* =========================================================
   LICHCHUP V1.7.2 — LANDING + AUTH FINAL DESKTOP POLISH
   Final desktop pass before the dedicated mobile optimization.
   ========================================================= */

/* Shared light/dark switch used on Landing and Auth. */
.landing-header-tools{justify-self:end;display:flex;align-items:center;gap:12px;min-width:0}
.surface-theme-toggle{min-height:46px;border:1px solid #e9dfc7;background:rgba(255,255,255,.78);border-radius:15px;padding:6px 9px 6px 7px;display:flex;align-items:center;gap:8px;color:#413b2e;box-shadow:0 9px 26px rgba(89,68,17,.055);backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);transition:transform .22s var(--ease),border-color .22s var(--ease),background .22s var(--ease),box-shadow .22s var(--ease)}
.surface-theme-toggle:hover{transform:translateY(-2px);border-color:#dcc36d;background:rgba(255,255,255,.94);box-shadow:0 13px 30px rgba(89,68,17,.09)}
.surface-theme-toggle:focus-visible{outline:3px solid rgba(245,183,0,.24);outline-offset:2px}
.surface-theme-toggle .theme-icon{width:32px;height:32px;border-radius:10px;background:#fff3bf;color:#986d00;flex:0 0 auto}
.surface-theme-toggle .theme-icon .ui-icon{width:17px;height:17px;stroke-width:1.9}
.surface-theme-copy{display:grid;text-align:left;line-height:1.05;min-width:54px}.surface-theme-copy b{font-size:10.5px}.surface-theme-copy small{font-size:8.8px;color:#968a72;margin-top:4px;font-weight:700}
.surface-theme-toggle .mini-switch{flex:0 0 34px}
.auth-theme-toggle{position:fixed;right:28px;top:28px;z-index:12}

/* Landing header: clearer hierarchy and less visual clutter. */
.landing-header{height:92px;grid-template-columns:minmax(235px,1fr) auto minmax(235px,1fr);gap:20px;padding-inline:clamp(24px,4vw,70px);background:rgba(255,253,248,.84);box-shadow:0 1px 0 rgba(100,78,20,.025)}
.landing-brand{gap:12px}.landing-brand img{width:56px;height:56px}.landing-brand b{font-size:15.5px}.landing-brand small{font-size:10.5px;margin-top:6px}
.landing-auth-actions{padding:5px;border-radius:17px}.landing-auth-actions button{min-height:39px;padding:10px 20px;font-size:13.5px;border-radius:12px}
.vn-clock.mini-clock{padding:0 4px;font-size:11.5px;white-space:nowrap}

/* Landing typography and composition. */
.hero{min-height:calc(100vh - 92px);grid-template-columns:1.01fr .99fr;gap:76px;padding:76px 0 96px}
.hero-badge{padding:9px 12px;font-size:10.5px;letter-spacing:.135em}
.hero h1{font-size:clamp(50px,5.45vw,76px);line-height:1.015;letter-spacing:-.052em;margin:24px 0 25px}
.hero-copy>p{font-size:17.5px;line-height:1.78;max-width:640px;color:#706856}
.hero-actions{gap:12px;margin-top:32px;flex-wrap:wrap}.primary-cta{min-height:50px;padding:14px 19px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:13.5px}.primary-cta .cta-icon{width:17px;height:17px;transition:transform .22s var(--ease)}.primary-cta:hover .cta-icon{transform:translateX(4px)}
.text-cta{display:inline-flex;align-items:center;min-height:46px;padding:0 7px;font-size:13px;border-bottom:0;color:#645c4b}.text-cta:hover{color:#9b7000}
.donate-link{min-height:46px;padding:11px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;font-size:12px}.donate-link .ui-icon{width:15px;height:15px;stroke-width:2}
.hero-trust{gap:12px;margin-top:31px}.hero-trust span{font-size:11.5px;padding:8px 11px;border:1px solid rgba(225,210,170,.58);border-radius:999px;background:rgba(255,255,255,.43)}.hero-trust b{font-size:10px}
.preview-window{border-radius:28px;padding:19px;box-shadow:0 30px 80px rgba(97,70,8,.14)}.preview-brand{font-size:11.5px}.preview-brand img{width:36px;height:36px}.preview-stats span{font-size:9.5px}.preview-stats strong{font-size:20px}.preview-month b{font-size:12.5px}.preview-month span,.preview-week span{font-size:9px}.preview-days span{font-size:15.5px}.preview-days small{font-size:7px}.floating-note{padding:13px 15px}.floating-note b{font-size:10.5px}.floating-note small{font-size:8.5px}

.section-kicker{font-size:10.5px;letter-spacing:.2em}.section-title-row{grid-template-columns:1.25fr .75fr;gap:72px}.section-title-row h2{font-size:clamp(34px,3.8vw,52px);line-height:1.07}.section-title-row p{font-size:14.5px;line-height:1.78;max-width:500px}
.feature-section{padding:104px 0 92px}.feature-grid{gap:16px;margin-top:42px}.feature-card{padding:26px;border-radius:25px;min-height:224px}.feature-card.large{min-height:464px}.feature-icon{width:48px;height:48px;border-radius:15px}.feature-icon .ui-icon{width:22px;height:22px;stroke-width:1.8}.feature-card h3{font-size:19.5px;margin:22px 0 10px}.feature-card p{font-size:12.8px;line-height:1.72}.feature-card:hover .feature-icon{transform:translateY(-2px) rotate(-2deg);box-shadow:0 9px 18px rgba(37,31,13,.15)}.feature-icon{transition:transform .28s var(--ease),box-shadow .28s var(--ease)}
.security-feature{padding:23px 25px!important}.security-feature-copy h3{font-size:18px}.security-feature-copy p{font-size:12.5px!important}.security-badges{gap:8px}.security-badges span{font-size:9.2px;padding:8px 10px;display:inline-flex;align-items:center;gap:5px}.security-badges .ui-icon{width:12px;height:12px;stroke-width:2.4}

.how-section{padding:92px 0 112px}.steps-grid{gap:16px;margin-top:42px}.steps-grid article{min-height:190px;padding:27px 24px;border:1px solid rgba(221,204,157,.72);border-top:3px solid #e1b937;border-radius:20px;background:rgba(255,255,255,.58);transition:transform .26s var(--ease),box-shadow .26s var(--ease),border-color .26s var(--ease)}.steps-grid article:hover{transform:translateY(-5px);border-color:#ddc26e;box-shadow:0 18px 38px rgba(91,68,14,.08)}
.step-num{display:flex;align-items:center;justify-content:space-between;font:800 32px/1 "Manrope";color:#d89f00}.step-num b{font:inherit}.step-num .ui-icon{width:25px;height:25px;stroke-width:1.7;color:#9d760c}.steps-grid h3{font-size:16.5px;margin:25px 0 9px}.steps-grid p{font-size:11.8px;line-height:1.72}
.landing-cta{min-height:198px;padding:30px 38px;border-radius:30px}.landing-cta p{font-size:11.5px}.landing-cta h2{font-size:30px}.landing-cta h2 span{font-size:12.5px}.landing-footer{font-size:10.5px;padding-block:24px}

/* More deliberate motion: subtle enough for a productivity app. */
@keyframes badgeBreathe{0%,100%{box-shadow:0 0 0 0 rgba(245,183,0,0)}50%{box-shadow:0 0 0 7px rgba(245,183,0,.07)}}
@keyframes authCardIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@keyframes artGlowDrift{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-10px,8px,0) scale(1.04)}}
.hero-badge span{animation:pulseDot 2.4s ease-in-out infinite}.feature-card[data-reveal].revealed:nth-child(2){transition-delay:.04s}.feature-card[data-reveal].revealed:nth-child(3){transition-delay:.08s}.feature-card[data-reveal].revealed:nth-child(4){transition-delay:.12s}.feature-card[data-reveal].revealed:nth-child(5){transition-delay:.16s}
.steps-grid article[data-reveal].revealed:nth-child(2){transition-delay:.06s}.steps-grid article[data-reveal].revealed:nth-child(3){transition-delay:.12s}

/* Auth layout: larger readable type, cleaner controls, consistent icons. */
.auth-shell{grid-template-columns:minmax(480px,1.08fr) minmax(460px,.92fr);background:#f5f0e4}
.auth-art{margin:18px;border-radius:30px;padding:46px 50px;background:radial-gradient(circle at 76% 17%,rgba(255,196,20,.48),transparent 29%),radial-gradient(circle at 27% 82%,rgba(142,108,11,.28),transparent 36%),linear-gradient(135deg,#15150f 8%,#242219 70%,#312b18)}
.auth-brand img{width:72px;height:72px}.auth-brand b{font-size:17px}.auth-brand small{font-size:10px;margin-top:3px}.auth-copy{max-width:660px;margin-bottom:112px}.auth-copy h1{font-size:clamp(42px,4.7vw,68px);line-height:1;letter-spacing:-.05em;margin:12px 0 24px}.auth-copy p:last-child{font-size:15.5px;line-height:1.72;max-width:540px}.auth-clock-card{left:50px;bottom:44px;padding:15px 17px;border-radius:17px}.auth-clock-card span{font-size:9px}.auth-clock-card strong{font-size:18.5px}
.auth-orb.orb-1{animation:artGlowDrift 9s ease-in-out infinite}.auth-panel{padding:44px;background:radial-gradient(circle at 85% 16%,rgba(245,183,0,.08),transparent 27%),linear-gradient(180deg,#fbf8ef,#f3eee1)}
.auth-card{width:min(500px,100%);border-radius:28px;padding:34px 36px 32px;animation:authCardIn .42s var(--ease) both}.auth-card:before{height:3px}.brand-mobile{margin-bottom:21px}.brand-mobile img{width:44px;height:44px}.brand-mobile b{font-size:13.5px}.brand-mobile small{font-size:9.5px;margin-top:2px}
.auth-benefits{gap:7px;margin:-2px 0 19px}.auth-benefits span{min-height:41px;padding:8px 7px;border-radius:11px;font-size:9.4px;display:flex;align-items:center;justify-content:center;gap:5px;line-height:1.3}.auth-benefits .ui-icon{width:14px;height:14px;stroke-width:1.9;color:#a97a00}
.auth-tabs{margin-bottom:25px;padding:4px;border-radius:15px}.auth-tab{min-height:44px;font-size:12.8px;border-radius:11px}.auth-form{gap:17px}.form-intro{margin-bottom:4px}.form-intro h2{font-size:26px;line-height:1.1;margin-bottom:7px}.form-intro p{font-size:11.8px;line-height:1.6}.auth-form label{font-size:12.8px;gap:8px}.auth-form input{min-height:51px;padding:13px 15px;border-radius:13px;font-size:13.5px}.password-toggle{width:38px;height:38px;right:6px}.password-toggle .ui-icon{width:17px;height:17px;stroke-width:1.8}.auth-submit{min-height:49px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:12.8px}.auth-submit .ui-icon{width:16px;height:16px;transition:transform .2s var(--ease)}.auth-submit:hover .ui-icon{transform:translateX(3px)}
.auth-divider{font-size:10.5px;margin:0}.google-setup-btn{min-height:48px;font-size:12.3px}.ghost-btn.full{min-height:47px;font-size:12px}.helper{font-size:10.2px!important;line-height:1.65!important}.back-home{min-height:43px;display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:13px;font-size:11px}.back-home .ui-icon{width:16px;height:16px}

/* Dark mode for the public pages, including both new switches. */
body.dark-theme .surface-theme-toggle{background:rgba(31,30,24,.86);border-color:#423c2d;color:#efe6d2;box-shadow:0 10px 28px rgba(0,0,0,.14)}
body.dark-theme .surface-theme-toggle:hover{background:#28261d;border-color:#66572c}body.dark-theme .surface-theme-toggle .theme-icon{background:#34301f;color:#f3c94d}.dark-theme .surface-theme-copy small{color:#aaa08a}.dark-theme .surface-theme-toggle .mini-switch{background:#4a4538}.dark-theme .surface-theme-toggle .mini-switch.on{background:#dca400}
body.dark-theme .landing-header{background:rgba(19,19,14,.88);box-shadow:0 1px 0 rgba(255,255,255,.025)}
body.dark-theme .hero-trust span{background:rgba(255,255,255,.025);border-color:#393426;color:#afa68f}.dark-theme .text-cta{color:#c8bea7}.dark-theme .text-cta:hover{color:#f1ca50}.dark-theme .donate-link{background:#201e17;border-color:#463d24;color:#e5bf4d}.dark-theme .donate-link:hover{background:#2b2619}
body.dark-theme .steps-grid article{background:rgba(31,29,22,.72);border-color:#3b3527;border-top-color:#8d711f}.dark-theme .step-num .ui-icon{color:#d8b54d}
body.dark-theme .auth-panel{background:radial-gradient(circle at 85% 16%,rgba(245,183,0,.055),transparent 27%),linear-gradient(180deg,#15140f,#11110d)}body.dark-theme .auth-card{background:rgba(29,28,22,.94);border-color:#3d382b}.dark-theme .auth-benefits span{background:#201f19;border-color:#403a2c;color:#cfc5ae}.dark-theme .auth-benefits .ui-icon{color:#e5bf4e}.dark-theme .brand-mobile small,.dark-theme .form-intro p,.dark-theme .helper{color:#aaa08a!important}.dark-theme .auth-tab{color:#aaa18c}.dark-theme .auth-tab.active{background:#373225;color:#fff}.dark-theme .back-home{background:rgba(31,30,24,.78);border-color:#494331;color:#eee5d1}.dark-theme .back-home:hover{background:#29271e;border-color:#695a2d}

/* Prepare this pass to collapse cleanly in the next mobile-specific update. */
@media (max-width:1100px){
  .landing-header{grid-template-columns:1fr auto}.landing-header-tools{grid-column:2;grid-row:1}.landing-auth-actions,.landing-user-account{grid-column:1/-1;grid-row:2;justify-self:center}.landing-header{height:auto;min-height:96px;padding-block:11px}.mini-clock{display:none!important}
  .hero{gap:52px}.auth-shell{grid-template-columns:1fr}.auth-theme-toggle{right:20px;top:20px}
}
@media (max-width:760px){
  .landing-header{grid-template-columns:1fr auto;gap:8px 12px;padding:10px 15px}.landing-brand{justify-self:start}.landing-brand img{width:45px;height:45px}.landing-brand b{font-size:13px}.landing-brand small{font-size:9px}.landing-header-tools{grid-column:2;grid-row:1}.landing-auth-actions,.landing-user-account{grid-column:1/-1;grid-row:2}
  .landing-theme-toggle{min-height:42px;padding:5px}.landing-theme-toggle .surface-theme-copy{display:none}.landing-theme-toggle .mini-switch{display:none}.landing-theme-toggle .theme-icon{width:31px;height:31px}
  .hero{padding-top:58px}.hero h1{font-size:clamp(39px,11vw,50px)}.hero-copy>p{font-size:14.5px}.hero-trust span{font-size:10px}.section-title-row h2{font-size:clamp(33px,9vw,41px)}.section-title-row p{font-size:13px}.feature-card p{font-size:12.2px}.steps-grid p{font-size:11.5px}
  .auth-panel{padding:74px 15px 24px}.auth-card{padding:25px 21px 23px}.auth-theme-toggle{right:15px;top:15px;min-height:42px;padding:5px}.auth-theme-toggle .surface-theme-copy{display:none}.auth-theme-toggle .mini-switch{display:none}.auth-theme-toggle .theme-icon{width:31px;height:31px}.back-home{left:15px;top:15px}.back-home span{display:none}.back-home{width:42px;padding:0;justify-content:center}.auth-benefits{grid-template-columns:1fr}.auth-benefits span{justify-content:flex-start;padding-inline:12px}.form-intro h2{font-size:24px}.auth-form input{font-size:14px}
}

@media (prefers-reduced-motion:reduce){.auth-card,.auth-orb.orb-1{animation:none!important}}

/* Small dark-mode contrast corrections for the landing mockup. */
body.dark-theme .preview-stats .gold{background:linear-gradient(135deg,#5b4813,#8b680d);border-color:#8e6d17;color:#fff3c1}
body.dark-theme .preview-days .active{background:#3b3218;box-shadow:inset 0 0 0 2px #d8a719;color:#fff0b6}
body.dark-theme .preview-days small{color:#bdb39c}
body.dark-theme .preview-pills i{background:#5a5445}
body.dark-theme .page-loader{background:#15150f;color:#f3ecd9}.dark-theme .loader-copy small{color:#a79e88}
@media (max-width:760px){
  .landing-theme-toggle .mini-switch,.auth-theme-toggle .mini-switch{display:block}
  .landing-theme-toggle,.auth-theme-toggle{gap:7px;padding-right:7px}
}

/* =========================================================
   LICHCHUP V1.8.2 — MOBILE-ONLY OPTIMIZATION
   Everything in this block is scoped to <= 760px so desktop
   keeps the V1.7.2 layout untouched.
   ========================================================= */
@media (max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none}
  html{touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  body{min-width:0}
  #landingView,#authView,#appView,.landing-view,.auth-shell,.app-shell,.main,.view{max-width:100vw;min-width:0}

  /* ----- Landing: true phone proportions ----- */
  .landing-view{width:100%;overflow:hidden}
  .landing-header{width:100%;min-height:0!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto;gap:8px 10px!important;padding:10px 12px 11px!important;position:sticky;top:0}
  .landing-brand{justify-self:start!important;min-width:0;gap:8px!important}
  .landing-brand img{width:39px!important;height:39px!important}
  .landing-brand b{font-size:12px!important}.landing-brand small{font-size:8px!important;margin-top:4px!important}
  .landing-header-tools{grid-column:2!important;grid-row:1!important;justify-self:end!important;gap:6px!important}
  .landing-theme-toggle{min-height:38px!important;border-radius:13px!important;padding:4px 6px 4px 4px!important;gap:5px!important}
  .landing-theme-toggle .theme-icon{width:29px!important;height:29px!important;border-radius:9px!important}
  .landing-theme-toggle .mini-switch{width:31px;height:18px;flex-basis:31px}.landing-theme-toggle .mini-switch em{width:14px;height:14px;top:2px;left:2px}.landing-theme-toggle .mini-switch.on em{transform:translateX(13px)}
  .landing-auth-actions,.landing-user-account{grid-column:1/-1!important;grid-row:2!important;justify-self:stretch!important;width:100%;max-width:320px;margin:0 auto}
  .landing-auth-actions{padding:4px!important;border-radius:14px!important}.landing-auth-actions button{flex:1;min-height:39px;padding:8px 11px!important;border-radius:10px!important;font-size:12.2px!important}
  .landing-user-account{min-height:46px;padding:4px 11px 4px 5px}
  .landing-section{width:calc(100% - 28px)!important;max-width:none!important;margin-inline:14px!important}
  .hero{display:flex!important;flex-direction:column!important;min-height:0!important;gap:34px!important;padding:46px 0 58px!important;align-items:stretch!important}
  .hero-copy{text-align:left!important;width:100%!important;max-width:none!important}
  .hero-badge{font-size:8.4px!important;padding:7px 9px!important;letter-spacing:.11em}
  .hero h1{font-size:clamp(36px,10.7vw,46px)!important;line-height:.98!important;letter-spacing:-.052em!important;margin:18px 0 18px!important;max-width:350px!important}
  .hero-copy>p{font-size:13px!important;line-height:1.68!important;max-width:355px!important;margin:0!important}
  .hero-actions{margin-top:22px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important}
  .primary-cta{min-height:44px;padding:11px 15px!important;border-radius:14px!important;font-size:11.5px!important}.text-cta{min-height:44px;padding:0 4px!important;display:flex;align-items:center;font-size:11px!important}
  .hero-trust{margin-top:22px!important;gap:8px 12px!important;justify-content:flex-start!important}.hero-trust span{font-size:9px!important}
  .hero-preview{width:100%!important;margin:0!important;perspective:none!important}.preview-window{width:100%!important;padding:11px!important;border-radius:22px!important;transform:none!important;animation:none!important}
  .preview-top{padding-bottom:10px!important}.preview-brand img{width:29px!important;height:29px!important}.preview-brand{font-size:9.5px!important}
  .preview-stats{gap:5px!important}.preview-stats>div{padding:9px!important;border-radius:13px!important}.preview-stats span{font-size:7.2px!important}.preview-stats strong{font-size:15px!important}
  .preview-month{padding:10px 11px!important}.preview-month b{font-size:10.5px!important}.preview-week span{font-size:6.6px!important;padding:6px 1px!important}.preview-days span{min-height:56px!important;padding:7px 4px!important;font-size:12px!important}.preview-days small{font-size:5.6px!important;margin-top:14px!important}
  .feature-section,.how-section{padding:58px 0!important}.section-kicker{font-size:9px!important;margin-bottom:9px!important}.section-title-row{gap:10px!important}.section-title-row h2{font-size:31px!important;line-height:1.05!important}.section-title-row p{font-size:11.5px!important;line-height:1.65!important}
  .feature-grid,.steps-grid{gap:10px!important;margin-top:25px!important}.feature-card{min-height:178px!important;padding:18px!important;border-radius:19px!important}.feature-card.large{min-height:305px!important}.feature-icon{width:39px!important;height:39px!important;border-radius:12px!important}.feature-card h3{font-size:16px!important;margin:16px 0 7px!important}.feature-card p{font-size:10.8px!important;line-height:1.65!important}.feature-visual{left:18px!important;right:18px!important;bottom:18px!important;padding:16px!important;border-radius:16px!important}.mini-days b{font-size:52px!important}.mini-days span{font-size:10px!important;padding:7px 8px!important}
  .steps-grid article{padding:20px 17px!important}.steps-grid h3{font-size:14.5px!important;margin:15px 0 6px!important}.steps-grid p{font-size:10.4px!important}.step-num{font-size:29px!important}
  .landing-cta{margin-bottom:52px!important;min-height:0!important;padding:22px 18px!important;border-radius:22px!important;gap:14px!important}.landing-cta img{width:78px!important;height:78px!important}.landing-cta h2{font-size:23px!important}.landing-cta p{font-size:10px!important;line-height:1.6!important}
  .landing-footer{padding:18px 12px!important;gap:5px 12px!important;font-size:8.5px!important}

  /* ----- Auth / register ----- */
  .auth-shell{width:100%;min-height:100dvh!important}.auth-art{display:none!important}.auth-panel{width:100%;min-height:100dvh;padding:68px 12px 22px!important;align-items:flex-start!important;justify-content:center!important}
  .auth-card{width:100%!important;max-width:430px!important;padding:21px 17px 20px!important;border-radius:21px!important;overflow:visible!important}
  .brand-mobile{margin-bottom:15px!important}.brand-mobile img{width:39px!important;height:39px!important}.brand-mobile b{font-size:12.5px!important}.brand-mobile small{font-size:8.5px!important}
  .auth-theme-toggle{right:12px!important;top:12px!important;min-height:39px!important;padding:4px 6px 4px 4px!important;border-radius:13px!important}.auth-theme-toggle .theme-icon{width:29px!important;height:29px!important}.auth-theme-toggle .mini-switch{width:31px;height:18px;flex-basis:31px}.auth-theme-toggle .mini-switch em{width:14px;height:14px;top:2px;left:2px}.auth-theme-toggle .mini-switch.on em{transform:translateX(13px)}
  .back-home{left:12px!important;top:12px!important;width:39px!important;height:39px!important;min-height:39px!important;border-radius:13px!important}
  .auth-benefits{grid-template-columns:repeat(3,1fr)!important;gap:5px!important;margin:0 0 14px!important}.auth-benefits span,.auth-benefits span:last-child{grid-column:auto!important;justify-content:center!important;text-align:center!important;min-height:36px!important;padding:6px 4px!important;font-size:7.4px!important;border-radius:10px!important}.auth-benefits .ui-icon{width:12px!important;height:12px!important}
  .auth-tabs{margin-bottom:18px!important;border-radius:13px!important}.auth-tab{min-height:40px!important;font-size:11.7px!important;border-radius:9px!important}
  .auth-form{gap:13px!important}.form-intro{margin-bottom:0!important}.form-intro h2{font-size:22px!important;margin-bottom:5px!important}.form-intro p{font-size:10.7px!important;line-height:1.5!important}
  .auth-form label{font-size:11.4px!important;gap:6px!important}.auth-form input{min-height:46px!important;padding:11px 13px!important;border-radius:12px!important;font-size:13px!important}.auth-submit{min-height:46px!important;border-radius:13px!important;font-size:11.8px!important}
  .auth-divider{margin:-3px 0 -2px!important;font-size:9.5px!important}.google-signin-slot{min-height:38px!important;margin-top:-2px!important}.google-setup-btn{min-height:43px!important;margin-top:-4px!important;border-radius:13px!important;font-size:11.5px!important}
  .google-g{width:20px!important;height:20px!important;font-size:0!important;border-radius:50%!important;box-shadow:none!important;background:#fff url('assets/google-g.svg') center/18px 18px no-repeat!important}
  .ghost-btn.full{min-height:43px!important;font-size:11px!important}.helper{font-size:9.2px!important;line-height:1.5!important}

  /* ----- App shell / header ----- */
  .app-shell{display:block!important;width:100%;padding-bottom:0!important;overflow-x:hidden}
  .sidebar{display:none!important}.main{width:100%;padding:14px 10px 0!important;overflow-x:hidden!important}
  .topbar{display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:13px!important;min-height:46px}.topbar>div:first-child{min-width:0}.topbar h2{font-size:23px!important;line-height:1.05!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar .eyebrow,.top-center-clock{display:none!important}
  .top-actions{margin-left:auto!important;gap:6px!important;align-items:center!important}.top-actions .soft-btn{display:none!important}.primary-btn{min-height:42px!important;padding:9px 12px!important;border-radius:13px!important;font-size:10.5px!important;white-space:nowrap}.primary-btn>span{font-size:13px}
  .account-chip{width:43px!important;height:43px!important;padding:3px!important;border-radius:50%!important}.account-chip .user-avatar{width:35px!important;height:35px!important}.account-chip-copy,.account-caret{display:none!important}.account-dropdown{position:fixed!important;right:10px!important;top:66px!important;width:min(310px,calc(100vw - 20px))!important;border-radius:18px!important}

  /* ----- Compact stats ----- */
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-bottom:10px!important}.stat-card{min-width:0!important;min-height:82px!important;padding:10px!important;gap:9px!important;border-radius:15px!important}.stat-card:hover{transform:none!important}.stat-icon{width:32px!important;height:32px!important;border-radius:10px!important;flex:0 0 auto}.stat-icon .ui-icon{width:17px!important;height:17px!important}.stat-card div:last-child{min-width:0}.stat-card span{font-size:8.8px!important}.stat-card strong{font-size:15.5px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-card small{font-size:7.6px!important;line-height:1.35!important}

  /* ----- Calendar: all Monday–Sunday visible at once ----- */
  .calendar-workspace{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}.calendar-primary{width:100%!important;min-width:0!important}.calendar-card,.list-card{width:100%!important;border-radius:17px!important}
  .calendar-head{padding:11px 9px!important;align-items:center!important;min-height:52px!important}.calendar-title-wrap{width:100%;justify-content:flex-start!important;gap:5px!important}.calendar-title-wrap>div{min-width:0}.calendar-title-wrap h3{font-size:14px!important;line-height:1.15!important;white-space:nowrap}.calendar-title-wrap p,.legend{display:none!important}.calendar-title-wrap .icon-btn{width:29px!important;height:29px!important;min-width:29px!important;border-radius:10px!important}.calendar-title-wrap .icon-btn .ui-icon{width:15px!important;height:15px!important}
  .calendar-scroll{width:100%!important;overflow:hidden!important;touch-action:pan-y!important}.calendar-inner,.calendar-primary .calendar-inner{min-width:0!important;width:100%!important;max-width:100%!important}.weekdays,.calendar-grid{width:100%!important;grid-template-columns:repeat(7,minmax(0,1fr))!important}.weekdays{position:static!important;backdrop-filter:none!important}.weekdays span{min-width:0!important;padding:7px 1px!important;font-size:7.1px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}.weekdays span:last-child{font-size:6.8px!important}
  .calendar-grid{grid-auto-rows:minmax(78px,auto)!important}.calendar-primary .day-cell,.day-cell{min-width:0!important;min-height:78px!important;height:auto!important;padding:4px 3px!important;overflow:hidden!important}.date-row{gap:2px!important;align-items:flex-start!important}.solar-date{font-size:16px!important;line-height:1!important;letter-spacing:-.03em!important}.today .solar-date{width:25px!important;height:25px!important;border-radius:8px!important;margin:-1px 0 0 -1px!important}.lunar-date{font-size:5.7px!important;line-height:1!important;padding:3px 3px!important;border-radius:5px!important;max-width:26px!important;overflow:hidden!important;text-overflow:ellipsis!important}.day-cell.today:after{display:none!important}
  .job-chips{gap:2px!important;margin-top:6px!important}.job-chip{min-width:0!important;padding:3px 4px!important;border-radius:5px!important;font-size:5.8px!important;line-height:1.15!important}.job-chip:nth-child(n+2){display:none!important}.more-jobs{font-size:5.7px!important;margin-top:1px!important}.day-add-btn{width:22px!important;height:22px!important;right:3px!important;bottom:3px!important;border-radius:7px!important;font-size:14px!important;opacity:0!important}.day-cell.selected .day-add-btn{opacity:1!important}.day-cell:hover .day-add-btn{opacity:0!important}.day-cell.selected:hover .day-add-btn{opacity:1!important}
  .attention-panel{position:relative!important;top:auto!important;width:100%!important;padding:13px!important;border-radius:17px!important;gap:10px!important}.day-inspector,.attention-upcoming{padding:12px!important;border-radius:15px!important}.attention-head h3{font-size:17px!important}.attention-count{width:31px!important;height:31px!important;font-size:11px!important}.attention-desc{font-size:8.8px!important}.attention-item{padding:11px!important;border-radius:14px!important}.attention-item h4{font-size:12px!important}.attention-client,.attention-meta{font-size:8px!important}.attention-date{font-size:9px!important}.days-away{font-size:7.5px!important}.attention-list{max-height:none!important}

  /* ----- Job list becomes a native-style accordion ----- */
  .jobs-list-card{overflow:visible!important}.section-head{padding:12px!important;gap:10px!important}.section-head h3{font-size:17px!important}.section-head p{font-size:9.2px!important;line-height:1.5!important}.search-wrap{width:100%!important;height:43px!important;border-radius:13px!important}.search-wrap input{width:100%!important;font-size:11px!important}.search-icon{width:15px!important;height:15px!important}
  .jobs-month-toolbar{padding:10px 12px!important;gap:8px!important;flex-direction:column!important}.jobs-month-select-wrap{width:100%!important;gap:8px!important}.jobs-month-select-wrap>span{font-size:10px!important}.jobs-month-select-wrap select{height:40px!important;min-width:0!important;flex:1!important;border-radius:12px!important;font-size:11px!important}.jobs-month-summary{text-align:left!important;gap:1px!important}.jobs-month-summary b{font-size:10.5px!important}.jobs-month-summary small{font-size:8px!important}
  .jobs-table{overflow:visible!important;width:100%!important}.job-row{display:block!important;min-width:0!important;width:100%!important;min-height:0!important;padding:0!important;border-bottom:1px solid #eee5d1!important;background:transparent!important}.job-row:last-child{border-bottom:0!important}.job-desktop-cell{display:none!important}
  .job-mobile-toggle{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto 22px;align-items:center;gap:9px;width:100%;min-height:68px;padding:10px 12px;border:0;background:transparent;color:inherit;text-align:left}.job-mobile-toggle .job-client-avatar{width:38px!important;height:38px!important;border-radius:12px!important;font-size:9.5px!important}.job-mobile-main{display:grid;min-width:0}.job-mobile-main b{font-size:12.2px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job-mobile-main small{font-size:8.7px!important;color:#938a77;margin-top:3px!important}.job-mobile-state{font-size:7.4px;font-weight:900;padding:5px 7px;border-radius:999px;white-space:nowrap}.job-mobile-state.paid{background:#e7f5eb;color:#2f7c4a}.job-mobile-state.pending{background:#ffebeb;color:#a94949}.job-mobile-chevron{width:22px;height:22px;display:grid;place-items:center;color:#8e8571;transition:transform .2s var(--ease)}.job-mobile-chevron .ui-icon{width:15px;height:15px}.job-row.mobile-expanded .job-mobile-chevron{transform:rotate(180deg)}
  .job-mobile-details{display:grid!important;max-height:0;overflow:hidden;opacity:0;padding:0 12px;background:rgba(250,247,238,.72);transition:max-height .32s var(--ease),opacity .2s var(--ease),padding .28s var(--ease)}.job-row.mobile-expanded .job-mobile-details{max-height:520px;opacity:1;padding:0 12px 12px}.job-mobile-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-top:2px}.job-mobile-detail-grid>span{display:grid;gap:2px;padding:9px;border:1px solid #e8dfcb;border-radius:11px;background:rgba(255,255,255,.72)}.job-mobile-detail-grid small{font-size:7.3px!important;color:#9a907a;margin:0!important}.job-mobile-detail-grid b{font-size:10px!important}.job-mobile-location{display:flex;align-items:flex-start;gap:6px;margin:8px 2px 2px;font-size:8.6px;line-height:1.45;color:#6e6656}.job-mobile-location .ui-icon{width:13px;height:13px;flex:0 0 auto;margin-top:1px}.job-mobile-details>.job-tag-list{margin:7px 0 0!important}.job-mobile-actions{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center;margin-top:9px}.job-mobile-actions .job-paid-control{min-width:0!important;padding:8px 9px!important;border-radius:12px!important}.job-mobile-actions .job-paid-copy b{font-size:9.5px!important}.job-mobile-actions .job-paid-copy small{font-size:7.5px!important}.job-mobile-actions .job-paid-switch{width:42px!important;height:24px!important}.job-mobile-actions .job-paid-switch i:before{width:18px!important;height:18px!important;top:3px!important;left:3px!important}.job-mobile-actions .job-paid-switch input:checked+i:before{transform:translateX(18px)!important}.job-mobile-edit{height:40px;border:1px solid #dfd4b8;background:#fff;color:#5b523e;border-radius:12px;padding:0 11px;display:flex;align-items:center;gap:6px;font-size:8.5px;font-weight:800}.job-mobile-edit .ui-icon{width:14px;height:14px}

  /* ----- Finance + account phone sizing ----- */
  .finance-grid,.finance-grid-v16{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.finance-hero{grid-column:1/-1!important;min-height:128px!important;padding:14px!important;border-radius:16px!important}.finance-card{min-height:106px!important;padding:12px!important;border-radius:16px!important}.finance-card:last-child{grid-column:auto!important}.finance-card span,.finance-hero p{font-size:8.5px!important}.finance-card strong,.finance-hero h3{font-size:18px!important}.finance-card small{font-size:7.5px!important;line-height:1.4!important}.finance-wheel-trigger{height:31px!important;font-size:8.5px!important}.debt-item{padding:11px 12px!important}.debt-item b{font-size:10.5px!important}.debt-item small{font-size:8px!important}
  .account-page{border-radius:17px!important}.account-page-head{padding:16px 14px!important}.account-page-head h3{font-size:20px!important}.account-page-head p:not(.eyebrow){font-size:9.5px!important;line-height:1.55!important}.account-security-note{font-size:8px!important}.account-settings-form{padding:14px!important}.account-avatar-card{padding:12px!important;gap:11px!important}.user-avatar.xl{width:64px!important;height:64px!important}.account-avatar-card b{font-size:11px!important}.account-avatar-card small{font-size:8.5px!important}.account-form-grid label{font-size:10.5px!important}.account-form-grid input{min-height:44px!important;font-size:12px!important}.account-form-actions span{font-size:8.5px!important}

  /* ----- Copyright is a real page footer, never a floating layer ----- */
  .app-copyright{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;z-index:auto!important;max-width:none!important;width:100%!important;margin:28px 0 calc(94px + env(safe-area-inset-bottom))!important;padding:0 12px!important;border:0!important;border-radius:0!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;text-align:center!important;font-size:7.5px!important;line-height:1.55!important;color:#9a917e!important}.app-copyright b{color:#8d6c0b!important}.app-copyright strong{color:#645c4c!important}

  /* ----- Bank-app inspired bottom utility bar ----- */
  .mobile-nav{position:fixed!important;left:10px!important;right:10px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;z-index:80!important;height:68px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;align-items:center!important;padding:6px!important;border-radius:23px!important;background:rgba(255,255,255,.86)!important;border:1px solid rgba(210,199,169,.72)!important;backdrop-filter:blur(28px) saturate(170%)!important;-webkit-backdrop-filter:blur(28px) saturate(170%)!important;box-shadow:0 16px 38px rgba(66,50,12,.16),inset 0 1px 0 rgba(255,255,255,.88)!important;overflow:visible!important}
  .mobile-nav:before{content:"";position:absolute;inset:5px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.25),rgba(255,255,255,.04));pointer-events:none;z-index:-1}
  .mobile-nav button{height:54px!important;min-width:0!important;border:0!important;background:transparent!important;color:#8f8775!important;display:grid!important;grid-template-rows:27px 12px!important;align-content:center!important;justify-items:center!important;gap:2px!important;padding:4px 1px!important;border-radius:16px!important;transition:.18s var(--ease)!important}.mobile-nav button.active{color:#9a7000!important;background:linear-gradient(180deg,rgba(255,214,68,.24),rgba(255,214,68,.10))!important;box-shadow:inset 0 0 0 1px rgba(234,188,27,.14)!important}.mobile-nav button>span:not(.mobile-add-circle){height:27px;display:grid;place-items:center}.mobile-nav button>span:not(.mobile-add-circle) .ui-icon{width:20px!important;height:20px!important;stroke-width:1.9!important}.mobile-nav small{font-size:7.3px!important;line-height:1!important;font-weight:800!important}.mobile-add-circle{width:46px!important;height:46px!important;margin-top:-21px!important;border-radius:15px!important;background:linear-gradient(145deg,#ffda45,#f1b600)!important;color:#3d2d00!important;box-shadow:0 9px 22px rgba(197,143,0,.29),inset 0 1px 0 rgba(255,255,255,.62)!important}.mobile-add-circle .ui-icon{width:23px!important;height:23px!important;stroke-width:2!important}.mobile-nav #mobileAdd small{color:#887b63!important;margin-top:2px!important}

  /* Dark-mode equivalents for new mobile components. */
  body.dark-theme .job-mobile-main small{color:#aaa18d}.dark-theme .job-mobile-state.paid{background:#1d3927;color:#9fe1b3}.dark-theme .job-mobile-state.pending{background:#432323;color:#ffabab}.dark-theme .job-mobile-details{background:rgba(21,20,16,.72)}.dark-theme .job-mobile-detail-grid>span{background:#1e1d17;border-color:#3d382c}.dark-theme .job-mobile-detail-grid small{color:#9e9581}.dark-theme .job-mobile-location{color:#c2b9a4}.dark-theme .job-mobile-edit{background:#26231a;border-color:#4a4331;color:#e5dcc8}
  body.dark-theme .app-copyright{color:#8f8775!important}.dark-theme .app-copyright b{color:#d6b84f!important}.dark-theme .app-copyright strong{color:#bbb19b!important}
  body.dark-theme .mobile-nav{background:rgba(31,30,24,.88)!important;border-color:rgba(255,255,255,.09)!important;box-shadow:0 18px 42px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.06)!important}.dark-theme .mobile-nav:before{background:linear-gradient(180deg,rgba(255,255,255,.035),transparent)}.dark-theme .mobile-nav button{color:#928a78!important}.dark-theme .mobile-nav button.active{color:#f2c943!important;background:rgba(245,183,0,.09)!important;box-shadow:inset 0 0 0 1px rgba(245,183,0,.08)!important}.dark-theme .mobile-nav #mobileAdd small{color:#a49a84!important}
}

/* Desktop keeps the original V1.7.2 table structure; mobile-only pieces stay hidden. */
@media (min-width:761px){
  .job-mobile-toggle,.job-mobile-details{display:none!important}
}

/* =========================================================
   LICHCHUP V1.8.2 — LANDING / AUTH HOTFIX
   ========================================================= */

/* Google fallback buttons always use the official multicolour G artwork. */
.google-setup-btn .google-logo{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:block;
  object-fit:contain;
}
.google-setup-btn .google-g{display:none!important}

/* Desktop feature area: one strong calendar card + a tidy 2×2 utility grid. */
@media (min-width:761px){
  .feature-grid{
    grid-template-columns:1.08fr 1fr 1fr!important;
    grid-template-rows:repeat(2,minmax(232px,auto));
    grid-auto-flow:row;
    align-items:stretch;
  }
  .feature-card.large{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    min-height:480px!important;
  }
  .feature-grid>.feature-card:not(.large){
    grid-column:auto!important;
    grid-row:auto!important;
    min-height:232px;
  }
  .security-feature{
    display:flex!important;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:12px!important;
    padding:24px!important;
  }
  .security-feature .shield-icon{flex:0 0 auto}
  .security-feature-copy{width:100%}
  .security-feature-copy h3{margin:2px 0 7px!important}
  .security-feature-copy p{
    max-width:none!important;
    font-size:11.4px!important;
    line-height:1.62!important;
  }
  .security-badges{
    width:100%;
    justify-content:flex-start!important;
    margin-top:auto;
    gap:6px!important;
  }
  .security-badges span{
    white-space:normal!important;
    line-height:1.25;
    padding:6px 8px!important;
    font-size:8px!important;
  }
}

/* Dark desktop auth: remove the pale shell around the left artwork and tame the glow. */
body.dark-theme .auth-shell{
  background:#11110d!important;
}
body.dark-theme .auth-art{
  background:
    radial-gradient(circle at 80% 18%,rgba(245,183,0,.17),transparent 29%),
    radial-gradient(circle at 26% 82%,rgba(128,96,10,.14),transparent 36%),
    linear-gradient(135deg,#12120e 8%,#1c1b14 70%,#242014)!important;
  border:1px solid rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 18px 50px rgba(0,0,0,.17);
}
body.dark-theme .auth-art .orb-1{
  width:220px;
  height:220px;
  right:-78px;
  opacity:.34;
  filter:blur(4px);
}
body.dark-theme .auth-art .orb-2{
  opacity:.42;
  border-color:rgba(255,255,255,.11);
  background:rgba(255,255,255,.025);
}
body.dark-theme .auth-clock-card{
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.10);
}

@media (max-width:760px){
  /* Critical V1.8 hotfix: mobile app must stay truly hidden while Landing/Auth is active. */
  #appView.hidden,.app-shell.hidden,
  #landingView.hidden,.landing-view.hidden,
  #authView.hidden,.auth-shell.hidden{
    display:none!important;
  }

  /* Phone feature section becomes a clean vertical stack instead of inheriting desktop areas. */
  .feature-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:none!important;
    grid-auto-flow:row!important;
    gap:10px!important;
  }
  .feature-grid>.feature-card,
  .feature-grid>.feature-card.large,
  .feature-grid>.security-feature{
    grid-column:1!important;
    grid-row:auto!important;
    width:100%!important;
  }
  .feature-card.large{
    min-height:288px!important;
  }
  .security-feature{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    align-items:start!important;
    gap:10px 12px!important;
    min-height:0!important;
    padding:17px!important;
  }
  .security-feature .feature-icon{
    width:40px!important;
    height:40px!important;
    margin:0!important;
  }
  .security-feature-copy h3{
    margin:1px 0 5px!important;
    font-size:15px!important;
  }
  .security-feature-copy p{
    font-size:9.6px!important;
    line-height:1.55!important;
  }
  .security-badges{
    grid-column:1 / -1!important;
    width:100%;
    justify-content:flex-start!important;
    gap:5px!important;
  }
  .security-badges span{
    white-space:normal!important;
    font-size:7.2px!important;
    line-height:1.3;
    padding:6px 7px!important;
  }

  .google-setup-btn .google-logo{
    width:17px!important;
    height:17px!important;
    flex-basis:17px!important;
  }
}

/* =========================================================
   LICHCHUP V1.8.2 — MOBILE FLOW HOTFIX
   Strictly scoped to phone widths so desktop stays V1.8.1.
   ========================================================= */
.attention-mobile-toggle,.attention-collapse{display:none}

@media (max-width:760px){
  /* 1) Auth always uses the real phone viewport; never allow a wide child
     to force Safari into a visually shrunken page. */
  html,body{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
  body[data-screen="auth"]{overflow-x:hidden!important}
  body[data-screen="auth"] #appView,
  body[data-screen="auth"] .mobile-nav,
  body[data-screen="landing"] #appView,
  body[data-screen="landing"] .mobile-nav{display:none!important}
  #authView.auth-shell{display:block!important;width:100%!important;max-width:100vw!important;min-width:0!important;min-height:100dvh!important;overflow-x:hidden!important}
  #authView.auth-shell.hidden{display:none!important}
  .auth-panel{display:flex!important;width:100%!important;max-width:100vw!important;min-width:0!important;min-height:100dvh!important;align-items:flex-start!important;justify-content:center!important;padding:68px 12px 24px!important;overflow-x:hidden!important}
  .auth-card{width:min(100%,430px)!important;max-width:430px!important;min-width:0!important;margin:0 auto!important;padding:20px 16px 19px!important;overflow:hidden!important}
  .auth-card>*{min-width:0!important;max-width:100%!important}
  .auth-benefits{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}
  .auth-benefits span,.auth-benefits span:last-child{grid-column:auto!important;min-width:0!important;white-space:normal!important}
  .auth-tabs,.auth-form,.password-wrap,.google-signin-slot,.google-setup-btn{width:100%!important;max-width:100%!important;min-width:0!important}
  .auth-form input{min-width:0!important;max-width:100%!important}

  /* 2) All modal sheets are vertical-only on touch. Long tags/inputs wrap
     instead of growing the viewport sideways. */
  .modal{width:100vw!important;max-width:100vw!important;overflow:hidden!important;overscroll-behavior-x:none!important;touch-action:pan-y!important;padding:8px!important}
  .modal-backdrop{touch-action:pan-y!important}
  .account-dropdown,.ios-wheel-popover{max-width:calc(100vw - 20px)!important;overflow-x:hidden!important;overscroll-behavior-x:none!important;touch-action:pan-y!important}
  .modal-sheet,.donate-sheet{
    width:100%!important;
    max-width:calc(100vw - 16px)!important;
    min-width:0!important;
    max-height:calc(100dvh - 16px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-x:none!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch;
  }
  .modal-sheet *,.donate-sheet *{min-width:0}
  .job-form,.job-form>*,.form-grid.two,.form-grid.two>*,.tag-field,.tag-options,.custom-tag-editor,.payment-box,.modal-actions{max-width:100%!important;min-width:0!important}
  .job-form input,.job-form select,.job-form textarea{max-width:100%!important;min-width:0!important}
  .tag-options{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;touch-action:pan-y!important}
  .tag-choice{max-width:100%!important;white-space:normal!important;text-align:left!important}
  .custom-tag-editor{grid-template-columns:minmax(0,1fr) auto!important}
  .color-picker-label{max-width:120px!important}
  .modal-actions{flex-wrap:wrap!important}
  .modal-actions .spacer{display:none!important}
  .modal-actions .danger-btn{margin-right:auto}

  /* 3) Mobile calendar flow: upcoming accordion ABOVE calendar,
     selected-day sheet BELOW calendar. Desktop DOM/layout is unchanged. */
  .calendar-workspace{display:flex!important;flex-direction:column!important;gap:10px!important}
  .attention-panel{display:contents!important}
  .attention-upcoming{order:-1!important;width:100%!important;padding:0!important;border-radius:17px!important;overflow:hidden!important;background:linear-gradient(180deg,#201e15,#171710)!important;border:1px solid #343022!important;box-shadow:0 10px 26px rgba(44,35,10,.11)!important}
  .attention-upcoming:before{display:none!important}
  .calendar-primary{order:0!important}
  .day-inspector{order:1!important;width:100%!important;margin:0!important}
  .day-inspector:not(.hidden)+.attention-upcoming{padding-top:0!important}

  .attention-mobile-toggle{
    display:grid!important;
    grid-template-columns:36px minmax(0,1fr) auto 24px;
    align-items:center;
    gap:9px;
    width:100%;
    min-height:66px;
    padding:10px 11px;
    border:0;
    background:transparent;
    color:#fff;
    text-align:left;
    touch-action:manipulation;
  }
  .attention-mobile-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:rgba(255,207,63,.13);color:#ffd347;border:1px solid rgba(255,211,71,.16)}
  .attention-mobile-icon .ui-icon{width:18px;height:18px}
  .attention-mobile-copy{display:grid;min-width:0;line-height:1.2}
  .attention-mobile-copy small{font-size:7px;letter-spacing:.13em;font-weight:900;color:#b8ad8d}
  .attention-mobile-copy b{margin-top:4px;font:800 11.5px/1.25 Manrope,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .attention-mobile-copy em{margin-top:3px;font-style:normal;font-size:7.7px;color:#a79f8a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .attention-mobile-count{min-width:25px;height:25px;padding:0 6px;border-radius:9px;display:grid;place-items:center;background:#ffd23f;color:#3f3000;font:800 9px Manrope,sans-serif}
  .attention-mobile-chevron{width:24px;height:24px;display:grid;place-items:center;color:#d9ccaa;transition:transform .26s var(--ease)}
  .attention-mobile-chevron .ui-icon{width:15px;height:15px}
  .attention-upcoming.mobile-expanded .attention-mobile-chevron{transform:rotate(180deg)}

  .attention-mobile-content{
    display:block!important;
    max-height:0;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
    padding:0 11px;
    transition:max-height .38s cubic-bezier(.2,.8,.2,1),opacity .2s ease,padding .3s ease;
  }
  .attention-upcoming.mobile-expanded .attention-mobile-content{
    max-height:680px;
    opacity:1;
    pointer-events:auto;
    padding:0 11px 11px;
  }
  .attention-mobile-content .attention-head{display:none!important}
  .attention-mobile-content .attention-desc{margin:0 1px 8px!important;font-size:7.8px!important;line-height:1.5!important;color:#9f9782!important}
  .attention-list{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    max-height:278px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-x:none!important;
    overscroll-behavior-y:contain;
    touch-action:pan-y!important;
    padding-right:2px!important;
    -webkit-overflow-scrolling:touch;
  }
  .attention-item{min-height:82px!important;padding:9px 10px!important;border-radius:12px!important;touch-action:pan-y!important}
  .attention-item h4{font-size:11px!important;margin:6px 0 2px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .attention-item .job-tag-list{margin:4px 0!important;gap:3px!important;max-height:17px;overflow:hidden}
  .attention-item .job-tag-badge{font-size:6.4px!important;padding:3px 5px!important}
  .attention-client{font-size:7.4px!important;margin:0 0 5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .attention-meta{grid-template-columns:70px minmax(0,1fr)!important;gap:6px!important;font-size:7.2px!important}
  .attention-meta span{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .attention-note,.attention-money{display:none!important}
  .attention-date{font-size:8px!important}.days-away{font-size:6.8px!important;padding:3px 5px!important}
  .attention-add{margin-top:8px!important;min-height:36px!important}
  .attention-collapse{display:flex!important;align-items:center;justify-content:center;gap:5px;width:100%;height:34px;margin-top:7px;border:0;border-radius:11px;background:rgba(255,255,255,.055);color:#c9bea0;font-size:8px;font-weight:800}
  .attention-collapse .ui-icon{width:13px;height:13px;transform:rotate(180deg)}
  .attention-list .attention-item{scroll-margin-top:6px}

  /* 4) Selected-day list animates under the calendar. It stays in the DOM
     while closed so the opening/closing motion is visible. */
  .day-inspector.hidden{
    display:block!important;
    max-height:0!important;
    opacity:0!important;
    transform:translateY(-10px) scale(.985)!important;
    padding:0!important;
    border-width:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
    box-shadow:none!important;
  }
  .day-inspector:not(.hidden){
    display:block!important;
    max-height:1200px!important;
    opacity:1!important;
    transform:translateY(0) scale(1)!important;
    padding:13px!important;
    border-radius:17px!important;
    transition:max-height .42s cubic-bezier(.2,.8,.2,1),opacity .24s ease,transform .32s cubic-bezier(.2,.8,.2,1),padding .3s ease!important;
  }
  .day-inspector-head h3{font-size:14px!important;line-height:1.35!important;max-width:260px!important}
  .day-inspector-close{width:34px!important;height:34px!important;border-radius:11px!important;font-size:20px!important}
  .day-inspector-jobs{gap:7px!important;margin-top:10px!important}
  .day-inspector-job{grid-template-columns:46px minmax(0,1fr) auto!important;gap:8px!important;padding:10px!important;border-radius:13px!important}
  .day-job-time{font-size:10.5px!important}
  .day-job-main{min-width:0!important}
  .day-job-main h4{font-size:11.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .day-job-main p{font-size:7.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .day-job-status{font-size:6.8px!important;padding:4px 6px!important;white-space:nowrap}

  /* Bottom utility bar slides away only while a day list is open. */
  .mobile-nav{transition:transform .34s cubic-bezier(.2,.8,.2,1),opacity .22s ease,filter .22s ease!important;will-change:transform,opacity}
  body.mobile-day-inspector-open .mobile-nav{transform:translateY(calc(100% + 34px))!important;opacity:0!important;filter:blur(5px);pointer-events:none!important}

  /* Prevent the newly revealed day panel from being covered by browser/nav chrome. */
  body.mobile-day-inspector-open .app-copyright{margin-bottom:28px!important}

  body.dark-theme .attention-mobile-icon{background:rgba(245,183,0,.10);border-color:rgba(245,183,0,.12)}
  body.dark-theme .attention-collapse{background:rgba(255,255,255,.035);color:#aaa18b}
}

/* =========================================================
   LICHCHUP V1.8.3 — MOBILE DAY SHEET + COMPACT JOB DETAIL
   Strictly mobile-only. Desktop remains unchanged.
   ========================================================= */
.mobile-day-backdrop{display:none}

@media (max-width:760px){
  /* Day selection is now a true top layer / bottom sheet. */
  .mobile-day-backdrop{
    display:block!important;
    position:fixed;
    inset:0;
    z-index:94;
    background:rgba(24,21,14,.34);
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
    opacity:0;
    pointer-events:none;
    transition:opacity .24s ease;
  }
  body.mobile-day-inspector-open .mobile-day-backdrop{opacity:1;pointer-events:auto}

  .day-inspector,
  .day-inspector.hidden,
  .day-inspector:not(.hidden){
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    top:auto!important;
    z-index:95!important;
    width:auto!important;
    height:50dvh!important;
    max-height:50dvh!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(221,208,173,.92)!important;
    border-radius:24px!important;
    overflow:hidden!important;
    background:rgba(255,253,248,.97)!important;
    box-shadow:0 -12px 48px rgba(48,39,14,.22),0 20px 60px rgba(0,0,0,.18)!important;
    backdrop-filter:blur(24px) saturate(150%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(150%)!important;
    display:flex!important;
    flex-direction:column!important;
    opacity:1!important;
    transform:translateY(0)!important;
    transition:transform .34s cubic-bezier(.2,.8,.2,1),opacity .22s ease!important;
  }
  .day-inspector.hidden{
    opacity:0!important;
    transform:translateY(calc(100% + 32px))!important;
    pointer-events:none!important;
  }
  .day-inspector:before{display:none!important}
  .day-inspector-head{
    flex:0 0 auto;
    align-items:center!important;
    padding:14px 14px 11px!important;
    border-bottom:1px solid #eee4cf;
    background:rgba(255,253,248,.92);
  }
  .day-inspector .attention-kicker{font-size:7px!important;letter-spacing:.14em!important;color:#a2873b!important}
  .day-inspector-head h3{font-size:15px!important;line-height:1.25!important;max-width:calc(100vw - 100px)!important;margin-top:4px!important;color:#252219!important}
  .day-inspector-close{width:38px!important;height:38px!important;flex:0 0 38px;border-radius:13px!important;background:#fff8e7!important;color:#514a3a!important;border-color:#e7dcc2!important}
  .day-inspector-jobs{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch;
    display:grid!important;
    align-content:start!important;
    gap:8px!important;
    margin:0!important;
    padding:11px 11px 18px!important;
  }
  .day-inspector-job{
    grid-template-columns:50px minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:10px!important;
    border-radius:14px!important;
    background:#fff!important;
    border-color:#ebe1cb!important;
    color:#2f2a20!important;
    box-shadow:0 5px 14px rgba(61,48,17,.035)!important;
  }
  .day-job-time{font-size:11px!important;color:#8b6900!important}
  .day-job-main h4{font-size:11.5px!important;line-height:1.25!important}
  .day-job-main p{font-size:7.8px!important;line-height:1.35!important;margin-top:3px!important}
  .day-job-status{font-size:6.8px!important;padding:4px 6px!important;align-self:center}
  .day-inspector-empty{margin:0!important;padding:16px!important;border-radius:15px!important;background:#fffaf0!important;border-color:#eadfc5!important}
  .day-inspector-empty b{font-size:12.5px!important}.day-inspector-empty span{font-size:8.5px!important}.day-inspector-empty button{min-height:36px!important}

  /* Calendar stays in place while the fixed sheet opens. */
  .calendar-primary{order:0!important}
  .day-inspector{order:initial!important}
  body.mobile-day-inspector-open{overflow:hidden!important}
  body.mobile-day-inspector-open .app-copyright{margin-bottom:calc(94px + env(safe-area-inset-bottom))!important}

  /* Compact job modal: fewer scrolls, no sideways overflow. */
  #jobModal{align-items:end!important;place-items:end center!important;padding:6px!important}
  #jobModal .modal-sheet{
    width:100%!important;
    max-width:calc(100vw - 12px)!important;
    max-height:92dvh!important;
    border-radius:24px 24px 18px 18px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scroll-padding-top:78px;
  }
  #jobModal .modal-head{
    min-height:72px!important;
    padding:12px 14px!important;
    gap:10px!important;
  }
  #jobModal .modal-head .eyebrow{font-size:7px!important;margin-bottom:4px!important}
  #jobModal .modal-head h3{font-size:22px!important;line-height:1.05!important}
  #jobModal .modal-head .icon-btn{width:40px!important;height:40px!important;border-radius:13px!important;flex:0 0 40px!important}
  #jobModal .job-form{gap:10px!important;padding:12px 12px calc(14px + env(safe-area-inset-bottom))!important}
  #jobModal .job-form>label,
  #jobModal .form-grid.two>label{gap:5px!important;font-size:10.5px!important;line-height:1.25!important}
  #jobModal .job-form input,
  #jobModal .job-form select,
  #jobModal .job-form textarea{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:44px!important;
    padding:9px 10px!important;
    border-radius:12px!important;
    font-size:16px!important;
    line-height:1.2!important;
    box-sizing:border-box!important;
  }
  #jobModal .job-form textarea{min-height:72px!important;max-height:118px!important;resize:vertical!important}

  #jobModal .form-grid.two{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  #jobModal .client-row{grid-template-columns:1.05fr .95fr!important}
  #jobModal .schedule-row{grid-template-columns:1fr 1fr!important}
  #jobModal .meta-row{grid-template-columns:.88fr 1.12fr!important}
  #jobModal .money-row{grid-template-columns:1fr 1fr!important}

  #jobModal .tag-field{gap:7px!important;padding:10px!important;border-radius:14px!important}
  #jobModal .tag-field-head small{font-size:7.8px!important;margin-top:2px!important}
  #jobModal .tag-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;width:100%!important}
  #jobModal .tag-choice{
    width:100%!important;
    min-height:34px!important;
    padding:6px 8px!important;
    border-radius:11px!important;
    font-size:8.6px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #jobModal .tag-choice i{flex:0 0 8px!important;width:8px!important;height:8px!important}
  #jobModal .add-custom-tag{width:100%!important;min-height:34px!important;padding:7px 9px!important;font-size:8.7px!important}
  #jobModal .custom-tag-editor{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}
  #jobModal .custom-tag-editor button{height:38px!important;padding:0 10px!important}
  #jobModal .custom-tag-editor .ghost-mini{grid-column:2!important}
  #jobModal .color-picker-label{height:38px!important;max-width:106px!important}
  #jobModal .payment-box{min-height:52px!important;padding:9px 10px!important;border-radius:13px!important}
  #jobModal .payment-box b{font-size:10px!important}.payment-box small{font-size:7.8px!important}
  #jobModal .switch{width:44px!important;height:26px!important}.switch .slider:before{width:18px!important;height:18px!important}.switch input:checked+.slider:before{transform:translateX(18px)!important}
  #jobModal .job-save-actions{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;margin-top:10px!important;width:100%!important}


  body.dark-theme .mobile-day-backdrop{background:rgba(0,0,0,.48)}
  body.dark-theme .day-inspector,
  body.dark-theme .day-inspector:not(.hidden){background:rgba(31,29,23,.97)!important;border-color:rgba(255,255,255,.09)!important}
  body.dark-theme .day-inspector-head{background:rgba(31,29,23,.94)!important;border-color:#403a2c!important}
  body.dark-theme .day-inspector-head h3{color:#f3ecd9!important}
  body.dark-theme .day-inspector-close{background:#2b2921!important;border-color:#4a4434!important;color:#e9e0ce!important}
  body.dark-theme .day-inspector-job{background:#201f19!important;border-color:#3e392c!important;color:#eee6d5!important}
  body.dark-theme .day-job-time{color:#e7c85d!important}
  body.dark-theme .day-inspector-empty{background:#201f19!important;border-color:#3e392c!important}
}


/* =========================================================
   LICHCHUP V2.1 — DELETE CONFIRM + MONEY INPUT + MOBILE FIX
   ========================================================= */
.delete-confirm{position:fixed;inset:0;z-index:180;display:grid;place-items:center;padding:18px}
.delete-confirm-backdrop{position:absolute;inset:0;background:rgba(18,16,11,.58);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.delete-confirm-card{position:relative;width:min(430px,100%);padding:24px;border:1px solid #eadfc4;border-radius:24px;background:#fffdf8;color:#2f2a20;box-shadow:0 34px 90px rgba(0,0,0,.28);animation:modalIn .24s var(--ease)}
.delete-confirm-icon{width:48px;height:48px;display:grid;place-items:center;margin-bottom:16px;border-radius:16px;background:#fff0f0;border:1px solid #f3caca;color:#b84444;font:900 23px/1 "Manrope"}
.delete-confirm-card .eyebrow{margin:0 0 7px;color:#a87300}
.delete-confirm-card h3{margin:0;font:800 22px/1.15 "Manrope";letter-spacing:-.025em}
.delete-confirm-text{margin:10px 0 0;color:#7f7664;font-size:11.5px;line-height:1.65}
.delete-confirm-text b{color:#393225}
.delete-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}
.delete-confirm-actions button{min-height:46px;border-radius:13px;font-weight:850}
.delete-confirm-btn{border:1px solid #c64e4e;background:linear-gradient(135deg,#c94b4b,#a93737);color:#fff;box-shadow:0 9px 20px rgba(169,55,55,.18)}
.delete-confirm-btn:hover{filter:brightness(.97);transform:translateY(-1px)}
.delete-confirm-btn:disabled{opacity:.6;cursor:wait;transform:none}

body.dark-theme .delete-confirm-backdrop{background:rgba(0,0,0,.66)}
body.dark-theme .delete-confirm-card{background:#211f18;border-color:#4a4432;color:#f5eddc}
body.dark-theme .delete-confirm-icon{background:#351d1d;border-color:#633232;color:#ff9a9a}
body.dark-theme .delete-confirm-card .eyebrow{color:#e6bc55}
body.dark-theme .delete-confirm-card h3,body.dark-theme .delete-confirm-text b{color:#f5eddc}
body.dark-theme .delete-confirm-text{color:#b8ae98}
body.dark-theme .delete-confirm-btn{border-color:#8f3b3b;background:linear-gradient(135deg,#a83e3e,#7e2e2e);box-shadow:none}

/* Money inputs use text + numeric keyboard so comma grouping stays visible. */
#jobPrice,#jobDeposit{font-variant-numeric:tabular-nums;letter-spacing:.01em}

@media (max-width:760px){
  /* Remove the small + inside calendar cells on mobile. The bottom Add button remains. */
  .day-add-btn{display:none!important}

  /* iOS Safari date/time controls have large intrinsic widths; force both cells to stay inside the 2-column grid. */
  #jobModal .schedule-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important}
  #jobModal .schedule-row>label{min-width:0!important;width:100%!important;overflow:hidden!important}
  #jobModal #jobDate,#jobModal #jobTime{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:44px!important;
    min-height:44px!important;
    padding:8px 9px!important;
    margin:0!important;
    box-sizing:border-box!important;
    font-size:16px!important;
    line-height:1.2!important;
    text-align:left!important;
    -webkit-text-size-adjust:100%;
  }
  #jobModal #jobDate::-webkit-date-and-time-value,#jobModal #jobTime::-webkit-date-and-time-value{
    min-width:0!important;
    width:100%!important;
    text-align:left!important;
    margin:0!important;
  }
  #jobModal #jobDate::-webkit-calendar-picker-indicator,#jobModal #jobTime::-webkit-calendar-picker-indicator{
    margin:0!important;
    padding:2px!important;
    flex:0 0 auto!important;
  }

  .delete-confirm{padding:12px!important;place-items:end center!important}
  .delete-confirm-card{width:100%!important;max-width:100%!important;padding:18px!important;border-radius:22px!important;margin-bottom:calc(8px + env(safe-area-inset-bottom))!important}
  .delete-confirm-icon{width:44px;height:44px;border-radius:14px;margin-bottom:13px}
  .delete-confirm-card h3{font-size:20px}
  .delete-confirm-text{font-size:11px}
  .delete-confirm-actions{gap:8px;margin-top:18px}
  .delete-confirm-actions button{min-height:45px;font-size:12px}
}

/* =========================================================
   LICHCHUP V2.1 — UNDO DELETE + FEEDBACK + JOB MONTH PICKER
   ========================================================= */

/* Undo delete snackbar: bottom on desktop, top on mobile. */
.undo-delete-bar{position:fixed;left:50%;bottom:24px;z-index:260;width:min(560px,calc(100vw - 32px));transform:translate(-50%,22px);opacity:0;pointer-events:none;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:rgba(27,26,20,.94);color:#fff;box-shadow:0 22px 55px rgba(0,0,0,.28);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);overflow:hidden;transition:opacity .24s var(--ease),transform .3s var(--ease)}
.undo-delete-bar.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.undo-delete-main{min-height:62px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:10px 12px 9px}
.undo-delete-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#eaf8ee;color:#2f8350;font:900 16px Manrope}
.undo-delete-copy{display:grid;min-width:0}.undo-delete-copy b{font:800 11.5px/1.25 Manrope;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.undo-delete-copy small{margin-top:3px;font-size:8.6px;color:#b8b09e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.undo-delete-bar button{border:0;border-radius:10px;padding:9px 11px;background:#f5c529;color:#352900;font:850 10px Manrope;cursor:pointer;transition:.18s}.undo-delete-bar button:hover{transform:translateY(-1px);filter:brightness(1.03)}
.undo-delete-seconds{min-width:27px;text-align:center;font:800 9.5px Manrope;color:#d7cfbb;font-variant-numeric:tabular-nums}
.undo-delete-progress{height:3px;background:rgba(255,255,255,.08)}.undo-delete-progress i{display:block;width:100%;height:100%;transform-origin:left center;transform:scaleX(1);background:linear-gradient(90deg,#f5b700,#ffe36a);will-change:transform}
body.undo-delete-active .toast{bottom:101px}
body.dark-theme .undo-delete-bar{background:rgba(24,23,18,.96);border-color:rgba(255,255,255,.1)}

/* Desktop sidebar feedback button. */
.admin-contact-divider{height:1px;margin:4px 3px;background:linear-gradient(90deg,transparent,#45402e 14%,#45402e 86%,transparent)}
.admin-feedback-btn{width:100%;display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:11px;color:#c8bea6;background:#272319;border:1px solid #3a3424;transition:.18s;text-align:left;cursor:pointer}
.admin-feedback-btn:hover{color:#fff;background:#302b1e;border-color:#564b30;transform:translateY(-1px)}
.admin-feedback-btn b{width:24px;height:24px;border-radius:8px;background:#373124;color:#ffd33f;display:grid;place-items:center}.admin-feedback-btn b .ui-icon{width:14px;height:14px}.admin-feedback-btn span{font-size:10.5px;font-weight:800}
.sidebar-collapsed .admin-contact-divider{width:34px}.sidebar-collapsed .admin-feedback-btn{padding:7px;width:auto}.sidebar-collapsed .admin-feedback-btn b{width:28px;height:28px}.sidebar-collapsed .admin-feedback-btn span{display:none}
.mobile-feedback-menu{display:none!important}

/* Job month picker replaces the native select. */
.jobs-month-picker-wrap{display:flex;align-items:center;gap:12px;min-width:0}.jobs-month-label{font-size:11.5px;font-weight:800;color:#5b513d;white-space:nowrap}.jobs-month-picker{position:relative;min-width:220px}
.jobs-month-trigger{width:100%;height:44px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #ddcfad;border-radius:14px;background:linear-gradient(180deg,#fffefb,#fff8e9);color:#2f2a20;padding:0 12px 0 14px;font:800 12px Manrope;box-shadow:0 7px 18px rgba(65,50,11,.05);cursor:pointer;transition:.2s var(--ease)}
.jobs-month-trigger:hover,.jobs-month-trigger[aria-expanded="true"]{border-color:#d8aa17;box-shadow:0 0 0 4px rgba(245,183,0,.10),0 10px 22px rgba(65,50,11,.07)}.jobs-month-trigger .ui-icon{width:16px;height:16px;transition:transform .2s}.jobs-month-trigger[aria-expanded="true"] .ui-icon{transform:rotate(180deg)}
.jobs-month-menu{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:85;padding:6px;border:1px solid #e1d6bd;border-radius:15px;background:rgba(255,253,248,.98);box-shadow:0 20px 50px rgba(55,42,10,.17);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);max-height:270px;overflow:auto;animation:fadeUp .2s var(--ease)}
.jobs-month-option{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:0;border-radius:11px;background:transparent;color:#443d2f;padding:10px 11px;text-align:left;cursor:pointer;transition:.16s}.jobs-month-option:hover{background:#fff2c8}.jobs-month-option.active{background:#ffefb2;color:#6f5200;box-shadow:inset 0 0 0 1px rgba(218,169,13,.22)}.jobs-month-option b{font:800 10.8px Manrope}.jobs-month-option small{margin:0;font-size:8.4px;color:#9a8f77}.jobs-month-option strong{font:850 9px Manrope;color:#6d6250;white-space:nowrap}
.jobs-month-summary{text-align:right;display:grid;gap:3px}.jobs-month-summary>div{display:flex;justify-content:flex-end;align-items:baseline;gap:12px}.jobs-month-summary b{font-size:11.5px}.jobs-month-summary strong{font:850 13px Manrope;color:#31935b}.jobs-month-summary small{font-size:9.5px;color:#948a75}
body.dark-theme .jobs-month-label{color:#e6dec9}body.dark-theme .jobs-month-trigger{background:linear-gradient(180deg,#29271f,#242219);border-color:#4b4432;color:#f5eddc;box-shadow:none}body.dark-theme .jobs-month-trigger:hover,body.dark-theme .jobs-month-trigger[aria-expanded="true"]{border-color:#8e7428;box-shadow:0 0 0 4px rgba(245,183,0,.07)}body.dark-theme .jobs-month-menu{background:rgba(35,33,26,.98);border-color:#4a4432;box-shadow:0 22px 58px rgba(0,0,0,.38)}body.dark-theme .jobs-month-option{color:#e8e0cc}body.dark-theme .jobs-month-option:hover{background:#332f22}body.dark-theme .jobs-month-option.active{background:#3b3219;color:#f5d45a;box-shadow:inset 0 0 0 1px rgba(245,183,0,.22)}body.dark-theme .jobs-month-option small{color:#9f9681}body.dark-theme .jobs-month-option strong{color:#c5baa1}body.dark-theme .jobs-month-summary strong{color:#74d99b}

/* Feedback — shared form and desktop modal. */
.feedback-modal-card{position:relative;width:min(620px,100%);overflow:hidden;border:1px solid #eadfc4;border-radius:26px;background:#fffdf8;color:#2d291f;box-shadow:0 38px 100px rgba(0,0,0,.25);animation:modalIn .28s var(--ease)}
.feedback-modal-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:start;padding:22px;border-bottom:1px solid #eee5d2;background:linear-gradient(180deg,#fffdf7,#fff9ec)}.feedback-modal-head .eyebrow{margin:0 0 5px}.feedback-modal-head h3{margin:0;max-width:470px;font:800 20px/1.35 Manrope;letter-spacing:-.02em}.feedback-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#ffe681,#f3bd17);color:#4b3700;box-shadow:0 8px 20px rgba(221,166,0,.18)}.feedback-icon .ui-icon{width:22px;height:22px}
.feedback-form{display:grid;gap:14px;padding:22px}.feedback-form label{display:grid;gap:8px;font-size:11px;font-weight:800}.feedback-form textarea{width:100%;min-height:170px;resize:vertical;border:1px solid #ded3ba;border-radius:16px;background:#fff;color:#2f2b22;padding:14px;font:600 12px/1.65 "Be Vietnam Pro",sans-serif;outline:none;transition:.18s}.feedback-form textarea:focus{border-color:#e3b21c;box-shadow:0 0 0 4px rgba(245,183,0,.11)}.feedback-form-footer{display:flex;justify-content:space-between;align-items:center;gap:14px}.feedback-form-footer small{font-size:9px;color:#968d78}.feedback-form-footer>div{display:flex;gap:8px}
.feedback-page-view{max-width:850px;margin:0 auto}.feedback-page-card{border:1px solid #e7ddc6;border-radius:24px;background:#fffdf8;box-shadow:var(--shadow-soft);overflow:hidden}.feedback-page-head{display:flex;gap:14px;align-items:center;padding:22px;border-bottom:1px solid #eee5d2}.feedback-page-head .eyebrow{margin:0 0 4px}.feedback-page-head h3{margin:0;font:800 21px Manrope}.feedback-page-head p:last-child{margin:5px 0 0;color:#8f8570;font-size:10.5px}.feedback-back-btn{margin:16px 16px 0;display:inline-flex;align-items:center;gap:7px;border:1px solid #e1d6be;background:#fffaf0;color:#625945;border-radius:12px;padding:9px 11px;font:800 10px Manrope}.feedback-back-btn .ui-icon{width:15px;height:15px}
.feedback-thanks{position:fixed;inset:0;z-index:290;display:grid;place-items:center;padding:18px;background:rgba(15,14,10,.34);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);animation:feedbackFade .2s ease}.feedback-thanks-card{width:min(420px,100%);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px;border-radius:20px;border:1px solid #e8dec6;background:#fffdf8;box-shadow:0 28px 80px rgba(0,0,0,.22);animation:modalIn .24s var(--ease)}.feedback-thanks-card>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e8f7ec;color:#338253;font:900 17px Manrope}.feedback-thanks-card div{display:grid}.feedback-thanks-card b{font:850 12px Manrope}.feedback-thanks-card small{margin-top:3px;font-size:9px;color:#8f8570}.feedback-thanks-card button{width:34px;height:34px;border:0;border-radius:11px;background:#f3ede0;color:#5f5747;font-size:18px;cursor:pointer}
@keyframes feedbackFade{from{opacity:0}to{opacity:1}}
body.dark-theme .feedback-modal-card,body.dark-theme .feedback-page-card,body.dark-theme .feedback-thanks-card{background:#211f18;border-color:#46402f;color:#f5eddc}body.dark-theme .feedback-modal-head,body.dark-theme .feedback-page-head{background:linear-gradient(180deg,#26241c,#211f18);border-color:#3d382b}body.dark-theme .feedback-form textarea{background:#181712;border-color:#474130;color:#f4ecdb}body.dark-theme .feedback-form textarea:focus{border-color:#8d7227;box-shadow:0 0 0 4px rgba(245,183,0,.07)}body.dark-theme .feedback-form-footer small,body.dark-theme .feedback-page-head p:last-child,body.dark-theme .feedback-thanks-card small{color:#aaa08b}body.dark-theme .feedback-back-btn{background:#28251c;border-color:#494230;color:#e8dfcb}body.dark-theme .feedback-thanks-card button{background:#302d23;color:#ddd3bc}

@media (max-width:760px){
  .mobile-feedback-menu{display:grid!important}
  body.feedback-page-open .mobile-nav{transform:translateY(calc(100% + 34px))!important;opacity:0!important;pointer-events:none!important}
  .feedback-page-view{max-width:none!important;margin:0!important}.feedback-page-card{border-radius:20px!important}.feedback-page-head{align-items:flex-start!important;padding:18px 15px!important}.feedback-page-head .feedback-icon{width:42px;height:42px;border-radius:14px;flex:0 0 42px}.feedback-page-head h3{font-size:20px}.feedback-page-head p:last-child{font-size:10px;line-height:1.55}.feedback-back-btn{margin:12px 12px 0!important;min-height:39px}.feedback-form{padding:15px!important}.feedback-form textarea{min-height:210px!important;font-size:16px!important}.feedback-form-footer{align-items:stretch!important;flex-direction:column!important}.feedback-form-footer .primary-btn{width:100%!important;min-height:46px!important}.feedback-form-footer>div{width:100%!important}.feedback-form-footer>div .primary-btn,.feedback-form-footer>div .ghost-btn{flex:1}
  .feedback-thanks{padding:12px!important;place-items:start center!important;padding-top:calc(16px + env(safe-area-inset-top))!important}.feedback-thanks-card{border-radius:18px!important;padding:13px!important}
  .undo-delete-bar{top:calc(10px + env(safe-area-inset-top));bottom:auto;width:calc(100vw - 20px);border-radius:16px;transform:translate(-50%,-18px)}.undo-delete-bar.show{transform:translate(-50%,0)}.undo-delete-main{min-height:58px;gap:8px;padding:9px 9px 8px}.undo-delete-icon{width:31px;height:31px;border-radius:10px}.undo-delete-copy b{font-size:10.5px}.undo-delete-copy small{font-size:7.8px}.undo-delete-bar button{padding:8px 9px;font-size:9.5px}.undo-delete-seconds{min-width:24px;font-size:8.8px}body.undo-delete-active .toast{bottom:98px}
  .jobs-month-toolbar{padding:10px 12px!important;gap:9px!important;flex-direction:column!important}.jobs-month-picker-wrap{width:100%!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:8px!important;align-items:center}.jobs-month-label{font-size:9.5px!important}.jobs-month-picker{min-width:0!important}.jobs-month-trigger{height:41px!important;border-radius:12px!important;font-size:10.8px!important}.jobs-month-picker>.jobs-month-menu{top:calc(100% + 6px)!important;max-height:235px!important}.jobs-month-option{padding:9px!important}.jobs-month-option b{font-size:10px!important}.jobs-month-option strong{font-size:8.5px!important}.jobs-month-summary{width:100%;text-align:left!important}.jobs-month-summary>div{justify-content:space-between!important}.jobs-month-summary b{font-size:10.3px!important}.jobs-month-summary strong{font-size:11.8px!important}.jobs-month-summary small{font-size:8px!important}
}

/* V2.1 dark-mode contrast audit for the new feedback surfaces. */
body.dark-theme .feedback-modal-head h3,
body.dark-theme .feedback-page-head h3,
body.dark-theme .feedback-form label,
body.dark-theme .feedback-thanks-card b{color:#f7f0de}
body.dark-theme .feedback-modal-head .eyebrow,
body.dark-theme .feedback-page-head .eyebrow{color:#d7bd72}
body.dark-theme .feedback-form textarea::placeholder{color:#847c6c;opacity:1}
body.dark-theme .feedback-page-head p:last-child{color:#b0a58f}

/* V2.1.2 — Cloudflare Turnstile for Formspree feedback.
   interaction-only keeps the form visually unchanged unless Cloudflare needs a human challenge. */
.feedback-turnstile-slot{min-height:0;display:flex;justify-content:flex-end;align-items:center;overflow:visible}
.feedback-turnstile-slot:empty{display:none}
.feedback-turnstile-slot iframe{max-width:100%}
@media(max-width:760px){.feedback-turnstile-slot{justify-content:center;width:100%}}


/* =========================================================
   LICHCHUP V2.2 — iPHONE HOME SCREEN / PWA STANDALONE
   ========================================================= */
html.pwa-standalone,html.pwa-standalone body{min-height:100%;min-height:100dvh}
html.pwa-standalone body{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none}
html.pwa-standalone input,html.pwa-standalone textarea{user-select:text;-webkit-user-select:text}
html.pwa-standalone button,html.pwa-standalone a{touch-action:manipulation}
html.pwa-standalone .app-shell{min-height:100dvh}
html.pwa-standalone .page-loader{min-height:100dvh}

@media (max-width:760px){
  /* viewport-fit=cover lets the app use the whole iPhone screen; these offsets keep UI clear of the notch / Dynamic Island. */
  html.pwa-standalone .main{padding-top:calc(14px + env(safe-area-inset-top))!important;padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
  html.pwa-standalone .landing-header{padding-top:calc(13px + env(safe-area-inset-top))!important}
  html.pwa-standalone .auth-panel{padding-top:calc(68px + env(safe-area-inset-top))!important;padding-bottom:calc(22px + env(safe-area-inset-bottom))!important}
  html.pwa-standalone .back-home{top:calc(12px + env(safe-area-inset-top))!important}
  html.pwa-standalone .mobile-nav{bottom:calc(8px + env(safe-area-inset-bottom))!important}
  html.pwa-standalone .modal{padding-top:calc(10px + env(safe-area-inset-top))!important;padding-bottom:calc(10px + env(safe-area-inset-bottom))!important}
  html.pwa-standalone .modal-sheet{max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 20px)!important}
  html.pwa-standalone .toast{bottom:calc(104px + env(safe-area-inset-bottom))!important}
  html.pwa-standalone body.undo-delete-active .toast{bottom:calc(108px + env(safe-area-inset-bottom))!important}
}


/* =========================================================
   V2.2.7 — INSTALL APP CTA / iOS + ANDROID
   ========================================================= */
.app-install-actions{display:flex;align-items:stretch;gap:10px;margin-top:13px;flex-wrap:wrap}
.app-install-btn{text-decoration:none;cursor:pointer;min-width:188px;height:54px;padding:7px 11px;border:1px solid #e2d5b1;border-radius:16px;background:rgba(255,255,255,.78);color:#29251a;display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:9px;text-align:left;box-shadow:0 9px 24px rgba(80,61,15,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:transform .22s var(--ease),box-shadow .22s var(--ease),border-color .22s var(--ease),background .22s var(--ease)}
.app-install-btn:hover{transform:translateY(-2px);border-color:#d5b657;box-shadow:0 14px 28px rgba(80,61,15,.13);background:#fff}
.app-install-btn>span:nth-child(2){display:grid;gap:1px}.app-install-btn small{font-size:8.4px;line-height:1.2;color:#8b8068;font-weight:650}.app-install-btn b{font:800 12.2px/1.2 Manrope,sans-serif;white-space:nowrap}.app-install-btn>.ui-icon{width:17px;height:17px;color:#9a7310;justify-self:end}
.app-install-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#171710;color:#fff;font:800 20px/1 Arial,sans-serif}.app-install-icon.android-mark{background:#eef8e8;color:#32824b}.app-install-icon.android-mark .ui-icon{width:21px;height:21px;stroke-width:1.8}
.android-install-btn.install-ready{border-color:#b9d9bd;background:linear-gradient(135deg,#f6fff4,#eff9ec)}.android-install-btn.install-ready .app-install-icon{box-shadow:0 0 0 4px rgba(60,143,80,.08)}
.install-guide-modal{z-index:2500}.install-guide-card{position:relative;width:min(490px,calc(100vw - 28px));padding:24px;border:1px solid #e4d7b4;border-radius:28px;background:rgba(255,253,247,.97);box-shadow:0 30px 90px rgba(38,30,8,.28);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);animation:installGuideIn .34s cubic-bezier(.2,.8,.2,1)}
.install-guide-close{position:absolute;right:15px;top:15px;width:38px;height:38px;border:0;border-radius:13px;background:#f2ecdd;color:#675f4e;font-size:23px;display:grid;place-items:center}
.install-guide-brand{display:flex;align-items:center;gap:13px;padding-right:46px}.install-guide-brand img{width:54px;height:54px;border-radius:16px;box-shadow:0 8px 20px rgba(72,54,9,.15)}.install-guide-brand div{display:grid;gap:2px}.install-guide-brand span{font-size:8.5px;letter-spacing:.17em;font-weight:800;color:#a0780e}.install-guide-brand b{font:800 20px/1.2 Manrope,sans-serif;color:#201d14}
.install-guide-lead{font-size:11.5px;line-height:1.7;color:#766d59;margin:17px 0 14px}.install-guide-steps{display:grid;gap:9px}.install-guide-steps article{display:grid;grid-template-columns:36px 1fr;gap:11px;align-items:start;padding:12px;border:1px solid #eee4c9;border-radius:17px;background:rgba(255,255,255,.72)}.install-guide-steps article>span{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#ffdc56,#f5b700);display:grid;place-items:center;font:800 13px Manrope;color:#332608}.install-guide-steps b{font-size:11.5px;color:#2d291f}.install-guide-steps p{font-size:9.8px;line-height:1.55;color:#807661;margin:4px 0 0}.install-guide-note{display:flex;gap:9px;align-items:flex-start;margin:13px 2px 16px;padding:10px 11px;border-radius:14px;background:#f8f2df;color:#746844}.install-guide-note .ui-icon{width:17px;height:17px;flex:none;color:#aa7d00}.install-guide-note span{font-size:9.4px;line-height:1.5}.install-guide-card>.primary-btn{border-radius:15px;min-height:46px}
@keyframes installGuideIn{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
body.dark-theme .app-install-btn{background:rgba(31,29,22,.88);border-color:#47402e;color:#f0eadc;box-shadow:0 10px 24px rgba(0,0,0,.15)}body.dark-theme .app-install-btn:hover{background:#27241b;border-color:#6c5b2e}body.dark-theme .app-install-btn small{color:#aaa087}body.dark-theme .app-install-btn>.ui-icon{color:#e1b83e}body.dark-theme .app-install-icon{background:#f3cd4e;color:#1b180e}body.dark-theme .app-install-icon.android-mark{background:#193421;color:#8cdda0}body.dark-theme .android-install-btn.install-ready{background:linear-gradient(135deg,#1b2d1e,#202b1e);border-color:#36563c}
body.dark-theme .install-guide-card{background:rgba(25,24,18,.98);border-color:#4b422d;color:#f1eadb}body.dark-theme .install-guide-close{background:#302d22;color:#d9cfba}body.dark-theme .install-guide-brand b{color:#f3ede0}body.dark-theme .install-guide-brand span{color:#e0b638}body.dark-theme .install-guide-lead{color:#b1a68e}body.dark-theme .install-guide-steps article{background:#201e18;border-color:#3d3728}body.dark-theme .install-guide-steps b{color:#eee7d8}body.dark-theme .install-guide-steps p{color:#a9a08c}body.dark-theme .install-guide-note{background:#2a2619;color:#c5b998}
html.pwa-standalone .app-install-actions{display:none!important}
@media(max-width:760px){
  .app-install-actions{margin-top:12px;gap:8px;width:100%}.app-install-btn{width:100%;min-width:0;height:50px;border-radius:14px;grid-template-columns:31px 1fr 17px;padding:6px 10px}.app-install-icon{width:31px;height:31px;border-radius:10px;font-size:18px}.app-install-btn small{font-size:7.7px}.app-install-btn b{font-size:11.2px}.app-install-btn>.ui-icon{width:16px;height:16px}
  html.platform-ios .android-install-btn,html.platform-android .ios-install-btn{display:none!important}
  .install-guide-card{width:calc(100vw - 22px);padding:20px 16px 17px;border-radius:23px;max-height:calc(100dvh - 22px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto}.install-guide-close{right:12px;top:12px;width:35px;height:35px;border-radius:12px}.install-guide-brand{gap:11px;padding-right:40px}.install-guide-brand img{width:48px;height:48px;border-radius:14px}.install-guide-brand b{font-size:17px}.install-guide-lead{font-size:10.5px;margin:14px 0 12px}.install-guide-steps{gap:7px}.install-guide-steps article{grid-template-columns:32px 1fr;padding:10px;gap:9px;border-radius:15px}.install-guide-steps article>span{width:31px;height:31px;border-radius:10px;font-size:12px}.install-guide-steps b{font-size:10.6px}.install-guide-steps p{font-size:9px}.install-guide-note{margin:10px 0 13px;padding:9px}.install-guide-note span{font-size:8.7px}
}

/* =========================================================
   LICHCHUP V2.4.0 — ANDROID NATIVE WEBVIEW SCROLL + FPS + GOOGLE HANDOFF
   User-visible symptom: normal page could tap but would not pan; when the
   Donate modal was open the backdrop (which already had touch-action: pan-y)
   allowed the page behind it to move. The native Android shell therefore gets
   an explicit vertical-pan chain all the way from viewport -> page -> view.
   ========================================================= */
@media (max-width:760px){
  html.platform-android.pwa-standalone{
    scroll-behavior:auto!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
  }
  html.platform-android.pwa-standalone body{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch;
  }
  html.platform-android.pwa-standalone .landing-view,
  html.platform-android.pwa-standalone .auth-shell,
  html.platform-android.pwa-standalone .auth-panel,
  html.platform-android.pwa-standalone .app-shell,
  html.platform-android.pwa-standalone .main,
  html.platform-android.pwa-standalone .view.active,
  html.platform-android.pwa-standalone .calendar-workspace,
  html.platform-android.pwa-standalone .calendar-primary,
  html.platform-android.pwa-standalone .list-card,
  html.platform-android.pwa-standalone .jobs-table,
  html.platform-android.pwa-standalone .finance-grid,
  html.platform-android.pwa-standalone .account-page{
    touch-action:pan-y!important;
    overscroll-behavior-y:auto!important;
  }

  /* Preserve vertical pan when the finger starts on large interactive rows/cards. */
  html.platform-android.pwa-standalone .job-mobile-toggle,
  html.platform-android.pwa-standalone .attention-mobile-toggle,
  html.platform-android.pwa-standalone .calendar-day,
  html.platform-android.pwa-standalone .stat-card,
  html.platform-android.pwa-standalone .finance-card,
  html.platform-android.pwa-standalone .finance-hero{
    touch-action:pan-y!important;
  }

  /* WebView performance: fixed translucent blur layers trigger costly full-frame
     repaints while scrolling. Keep the same layout but use opaque-ish surfaces. */
  html.platform-android.pwa-standalone .mobile-nav{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 8px 22px rgba(66,50,12,.13)!important;
  }
  html.platform-android.pwa-standalone .glass-card,
  html.platform-android.pwa-standalone .account-dropdown,
  html.platform-android.pwa-standalone .modal-head,
  html.platform-android.pwa-standalone .finance-wheel-trigger,
  html.platform-android.pwa-standalone .ios-wheel-popover,
  html.platform-android.pwa-standalone .feedback-thanks{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  html.platform-android.pwa-standalone .modal-backdrop{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    background:rgba(18,16,11,.58)!important;
  }
  html.platform-android.pwa-standalone body.dark-theme .mobile-nav{
    background:rgba(31,30,24,.97)!important;
  }

  /* Avoid unnecessary animation work during page movement in Android WebView. */
  html.platform-android.pwa-standalone .view.active{animation:none!important}
  html.platform-android.pwa-standalone .floating-note,
  html.platform-android.pwa-standalone .preview-window{animation:none!important}
}

/* V2.4.0 r2 hotfix — Jobs month picker is portaled to <body> so no card/table
   stacking context can cover it or steal clicks. Included in user-facing V2.4.0. */
.jobs-list-card{overflow:visible!important}
.jobs-list-card .jobs-month-toolbar{position:relative!important;z-index:120!important;overflow:visible!important}
.jobs-list-card .jobs-month-picker-wrap,.jobs-list-card .jobs-month-picker{position:relative!important;z-index:121!important;overflow:visible!important}
.jobs-list-card .jobs-table{position:relative!important;z-index:1!important}
body>.jobs-month-menu{position:fixed!important;z-index:2147483000!important;right:auto!important;pointer-events:auto!important;isolation:isolate!important;transform:translateZ(0)}
body>.jobs-month-menu.hidden{display:none!important}



/* V2.4.0 r3 mobile month-picker interaction hotfix.
   A dedicated top-level backdrop + touch handlers make the month menu reliable
   in iOS Home Screen mode and Android WebView, while keeping it above job rows. */
.jobs-month-backdrop{
  position:fixed!important;inset:0!important;z-index:2147482998!important;
  display:block;border:0;padding:0;margin:0;background:transparent!important;
  appearance:none;-webkit-appearance:none;touch-action:none;
}
.jobs-month-backdrop.hidden{display:none!important}
body>.jobs-month-menu{z-index:2147483000!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important}
body.jobs-month-open>.jobs-month-menu{pointer-events:auto!important}
@media(max-width:760px){
  .jobs-month-trigger{position:relative!important;z-index:2!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent}
  body>.jobs-month-menu{
    min-width:210px!important;max-width:calc(100vw - 24px)!important;
    max-height:min(280px,52dvh)!important;border-radius:15px!important;
    box-shadow:0 22px 58px rgba(38,30,8,.28)!important;
  }
  body>.jobs-month-menu .jobs-month-option{min-height:48px!important;touch-action:manipulation!important}
}


/* V2.4.0 r4 — mobile month picker visibility fix.
   The legacy mobile top rule only applies while the menu is inside the picker.
   After JS portals it to <body>, JS supplies viewport coordinates with !important. */
@media(max-width:760px){
  body>.jobs-month-menu{position:fixed!important;right:auto!important;pointer-events:auto!important}
}

/* =========================================================
   V2.4.0 r5 — payOS Donate
   ========================================================= */
.admin-donate-btn{margin-top:6px;color:#ffe07a;background:linear-gradient(135deg,#302816,#272319);border-color:#56451e}
.admin-donate-btn b{background:#4a3a16;color:#ffe37e}.admin-donate-btn:hover{background:#3b3018;border-color:#776028}
.sidebar-collapsed .admin-donate-btn{margin-top:6px}
.mobile-donate-menu .row-icon{color:#d99b00}

.donate-entry-card{margin:0 26px 26px;padding:17px 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border:1px solid #ead9a6;border-radius:20px;background:linear-gradient(135deg,rgba(255,251,235,.98),rgba(255,242,187,.68));box-shadow:0 12px 34px rgba(88,65,8,.07)}
.feedback-donate-entry{margin:20px 0 0}
.donate-entry-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#1f1d14;color:#ffd84a;box-shadow:0 9px 22px rgba(32,28,13,.14)}
.donate-entry-icon .ui-icon{width:21px;height:21px;stroke-width:2}
.donate-entry-card>div{display:grid;gap:4px}.donate-entry-card b{font:800 13px Manrope,sans-serif}.donate-entry-card small{font-size:9px;line-height:1.55;color:#82755c;max-width:660px}
.donate-entry-btn{min-height:42px;border:0;border-radius:13px;padding:10px 14px;background:#1f1d14;color:#fff;font-size:10.5px;font-weight:850;white-space:nowrap;box-shadow:0 8px 18px rgba(32,28,13,.12);transition:.2s var(--ease)}
.donate-entry-btn:hover{transform:translateY(-2px);background:#302a19}

.donate-modal{z-index:2147483400!important}.donate-modal .modal-backdrop{z-index:0}.donate-flow-sheet{position:relative;z-index:1;width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:1px solid rgba(229,205,132,.75);border-radius:28px;background:linear-gradient(160deg,rgba(255,255,253,.98),rgba(255,247,220,.97));box-shadow:0 38px 100px rgba(25,20,8,.28);padding:27px;animation:modalIn .28s var(--ease)}
.donate-flow-sheet:before{content:"";position:absolute;width:250px;height:250px;border-radius:50%;right:-120px;top:-145px;background:radial-gradient(circle,rgba(245,183,0,.24),transparent 68%);pointer-events:none}
.donate-flow-sheet .donate-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border:1px solid rgba(110,91,43,.12);border-radius:12px;background:rgba(255,255,255,.78);color:#443d2d;display:grid;place-items:center;font-size:23px;line-height:1;z-index:4;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.donate-flow-head{display:flex;align-items:flex-start;gap:14px;padding-right:42px;margin-bottom:22px;position:relative}.donate-flow-head .donate-heart{margin:0;flex:0 0 auto}.donate-flow-head .donate-heart .ui-icon{width:24px;height:24px}.donate-flow-head h3{font:800 22px/1.18 Manrope,sans-serif;margin:2px 0 7px;letter-spacing:-.025em}.donate-flow-head p:not(.eyebrow){margin:0;color:#81755e;font-size:10px;line-height:1.55}
.donate-state{position:relative}.donate-state.hidden{display:none!important}
.donate-amount-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:11px}.donate-amount-title b{font-size:11.5px}.donate-amount-title small{font-size:8.5px;color:#91846c}
.donate-amount-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.donate-amount-grid button{min-height:54px;border:1px solid #e8d8a8;border-radius:16px;background:rgba(255,255,255,.82);color:#4b4027;font:850 15px Manrope,sans-serif;box-shadow:0 8px 22px rgba(87,64,9,.055);transition:.18s var(--ease)}.donate-amount-grid button:hover,.donate-amount-grid button:focus-visible{transform:translateY(-2px);border-color:#d9ab21;background:#fff7d8;box-shadow:0 11px 26px rgba(87,64,9,.10)}
.donate-custom-row{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:10px}.donate-custom-row label{display:grid;gap:6px;font-size:9px;font-weight:800;color:#645943}.donate-custom-row input{min-height:46px;border:1px solid #ded2b4;border-radius:13px;background:#fff;padding:10px 13px;font:750 12px Be Vietnam Pro,sans-serif;outline:none}.donate-custom-row input:focus{border-color:#dcae20;box-shadow:0 0 0 4px rgba(245,183,0,.11)}.donate-custom-row button{align-self:end;min-height:46px;border:0;border-radius:13px;padding:10px 17px;background:#1f1d14;color:#fff;font-size:10.5px;font-weight:850}
.donate-privacy-note{display:block;margin-top:11px;color:#9b8f75;font-size:8.2px;line-height:1.55}
.donate-wide-btn{width:100%;margin-top:13px}
.donate-message-box{display:grid;gap:5px;padding:16px;border:1px solid #eadba9;border-radius:17px;background:rgba(255,250,229,.86)}.donate-message-box b{font-size:12px}.donate-message-box small{font-size:9px;line-height:1.6;color:#81745d}.donate-message-box.error{border-color:#efc4bd;background:#fff1ee}.donate-message-box.error b{color:#9c392d}
#donateLoadingState{min-height:190px;display:grid;place-items:center;align-content:center;text-align:center;gap:7px}.donate-spinner{width:34px;height:34px;border:3px solid rgba(196,145,0,.18);border-top-color:#d69d00;border-radius:50%;animation:loaderSpin .75s linear infinite}.donate-loading-state b,#donateLoadingState b{font-size:12px}#donateLoadingState small{font-size:9px;color:#8e8168}
.donate-pay-layout{display:grid;grid-template-columns:230px 1fr;gap:18px;align-items:start}.donate-qr-panel{display:grid;justify-items:center;gap:7px;padding:14px;border:1px solid #eadfbf;border-radius:21px;background:rgba(255,255,255,.8)}.donate-qr-frame{width:196px;aspect-ratio:1;padding:8px;border-radius:16px;background:#fff;border:1px solid #eee5cf;display:grid;place-items:center}.donate-qr-frame img{width:100%;height:100%;object-fit:contain;border-radius:9px}.donate-qr-panel strong{font:850 18px Manrope,sans-serif}.donate-qr-panel small{font-size:8.3px;color:#8f846e;text-align:center}
.donate-bank-panel{border:1px solid #eadfca;border-radius:20px;background:rgba(255,255,255,.63);overflow:hidden}.donate-detail-row{padding:11px 13px;border-bottom:1px solid #eee5d2;display:grid;gap:5px}.donate-detail-row:last-child{border-bottom:0}.donate-detail-row>span{font-size:7.8px;letter-spacing:.07em;text-transform:uppercase;color:#9b8f76;font-weight:800}.donate-detail-row>b,.donate-detail-row>div>b{font-size:10.5px;line-height:1.45;word-break:break-word}.donate-detail-row>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.donate-detail-row button{border:0;border-radius:9px;background:#28251b;color:#fff;padding:7px 9px;font-size:8px;font-weight:800;white-space:nowrap}.donate-detail-row.important{background:#fff6d8}.donate-detail-row.important>div>b{color:#745300;font:850 11.5px Manrope,sans-serif;letter-spacing:.02em}
.donate-waiting{margin-top:13px;padding:12px 14px;border:1px solid #eadcae;border-radius:16px;background:rgba(255,249,225,.72);display:flex;align-items:center;gap:11px}.donate-waiting>i{width:10px;height:10px;border-radius:50%;background:#d9a000;box-shadow:0 0 0 5px rgba(217,160,0,.12);animation:donatePulse 1.35s ease-in-out infinite}.donate-waiting>div{display:grid;gap:3px}.donate-waiting b{font-size:10.5px}.donate-waiting small{font-size:8.5px;line-height:1.5;color:#887b63}
.donate-pay-actions{display:flex;gap:8px;margin-top:10px}.donate-pay-actions>*{flex:1;text-align:center;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
#donateSuccessState{text-align:center;padding:9px 6px 2px}.donate-success-icon{width:66px;height:66px;margin:2px auto 13px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#1f7a46,#2da864);color:#fff;font:900 32px Manrope,sans-serif;box-shadow:0 15px 35px rgba(32,139,79,.24)}#donateSuccessState h3{font:850 23px Manrope,sans-serif;margin:5px 0 8px}#donateSuccessState>p:not(.eyebrow){font-size:10px;line-height:1.65;color:#776c56;max-width:430px;margin:0 auto}
@keyframes donatePulse{0%,100%{transform:scale(.9);opacity:.72}50%{transform:scale(1.12);opacity:1}}

body.dark-theme .donate-entry-card{background:linear-gradient(135deg,rgba(41,36,24,.96),rgba(55,44,20,.88));border-color:#514323;color:#f3ead4}.dark-theme .donate-entry-card small{color:#aa9e85}.dark-theme .donate-entry-btn{background:#e0aa18;color:#261d05}.dark-theme .donate-entry-btn:hover{background:#f0bd2b}
body.dark-theme .donate-flow-sheet{background:linear-gradient(160deg,rgba(29,28,22,.99),rgba(42,35,20,.98));border-color:#4f4327;color:#f3ecd9}.dark-theme .donate-flow-sheet .donate-close{background:rgba(33,31,24,.9);border-color:#4b4432;color:#f2ead7}.dark-theme .donate-flow-head p:not(.eyebrow),.dark-theme .donate-amount-title small,.dark-theme .donate-privacy-note{color:#aaa087}.dark-theme .donate-amount-grid button{background:#201f19;border-color:#4a4026;color:#f3ead2}.dark-theme .donate-amount-grid button:hover{background:#302914;border-color:#735d24}.dark-theme .donate-custom-row label{color:#ded4bf}.dark-theme .donate-custom-row input{background:#171711;border-color:#453d2b;color:#f2ebda}.dark-theme .donate-message-box{background:#282318;border-color:#50431f}.dark-theme .donate-message-box small{color:#aaa086}.dark-theme .donate-message-box.error{background:#321d1a;border-color:#63332e}.dark-theme .donate-qr-panel,.dark-theme .donate-bank-panel{background:#1b1a15;border-color:#413a2a}.dark-theme .donate-detail-row{border-color:#373126}.dark-theme .donate-detail-row>span{color:#9f947e}.dark-theme .donate-detail-row.important{background:#302914}.dark-theme .donate-detail-row.important>div>b{color:#f2ce62}.dark-theme .donate-waiting{background:#2b2517;border-color:#4d4021}.dark-theme .donate-waiting small{color:#a99f87}.dark-theme #donateSuccessState>p:not(.eyebrow){color:#aaa087}

@media(max-width:760px){
  .donate-entry-card{margin:14px 0 0;padding:14px;grid-template-columns:auto 1fr;gap:11px;border-radius:17px}.account-donate-entry{margin:0 14px 18px}.donate-entry-icon{width:40px;height:40px;border-radius:13px}.donate-entry-btn{grid-column:1/3;width:100%;min-height:44px}.donate-entry-card small{font-size:8.7px}
  .donate-flow-sheet{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:20px 14px 16px;border-radius:23px;touch-action:pan-y}.donate-flow-sheet .donate-close{right:9px;top:9px}.donate-flow-head{gap:10px;padding-right:35px;margin-bottom:17px}.donate-flow-head .donate-heart{width:43px;height:43px;border-radius:14px}.donate-flow-head h3{font-size:18px}.donate-flow-head p:not(.eyebrow){font-size:9px}
  .donate-amount-title{align-items:start;flex-direction:column;gap:3px}.donate-amount-grid{grid-template-columns:1fr 1fr}.donate-amount-grid button{min-height:50px}.donate-custom-row{grid-template-columns:1fr}.donate-custom-row button{width:100%}
  .donate-pay-layout{grid-template-columns:1fr;gap:11px}.donate-qr-panel{padding:11px}.donate-qr-frame{width:min(210px,62vw)}.donate-bank-panel{border-radius:17px}.donate-detail-row{padding:10px 11px}.donate-pay-actions{flex-direction:column}.donate-waiting{align-items:flex-start}.donate-waiting>i{margin-top:4px}
  html.pwa-standalone .donate-flow-sheet{max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px)}
}


/* =========================================================
   LICHCHUP V2.4.0 — Android app + notification settings
   ========================================================= */
.android-auth-logo,.android-auth-footer{display:none}

/* Donor badge: tied to avatar stack so it stays exactly centered on desktop + mobile. */
.account-avatar-stack{display:grid;justify-items:center;align-content:start;gap:8px;flex:0 0 auto}
.supporter-badge{display:inline-grid;grid-template-columns:30px;justify-items:center;gap:3px;min-width:72px;color:#7f6200;text-align:center}
.supporter-badge i{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#ffd84c,#f2b900);border:1px solid #d8aa00;box-shadow:0 4px 10px rgba(127,91,0,.16)}
.supporter-badge i .ui-icon{width:18px;height:18px;stroke-width:1.9;color:#6f5700}
.supporter-badge b{font:800 8px/1.15 Manrope,system-ui,sans-serif;white-space:nowrap}
body.dark-theme .supporter-badge{color:#f2cb4f}
body.dark-theme .supporter-badge i{border-color:#806b22;background:linear-gradient(145deg,#5d4a10,#806514)}
.account-avatar-card{align-items:flex-start}

/* Account entry for app notifications. */
.notification-entry-card{margin:0 26px 22px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 17px;border:1px solid #e6ddc7;border-radius:18px;background:linear-gradient(135deg,#fffdf7,#fff8df);box-shadow:0 8px 24px rgba(82,66,26,.04)}
.notification-entry-icon,.notification-settings-head-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#201f19;color:#ffd34d}
.notification-entry-icon .ui-icon,.notification-settings-head-icon .ui-icon{width:22px;height:22px}
.notification-entry-card>div{display:grid;gap:4px;min-width:0}.notification-entry-card b{font:800 12px Manrope}.notification-entry-card small{font-size:9px;line-height:1.5;color:#8e846d}
.notification-entry-btn{border:0;border-radius:12px;padding:11px 13px;background:#f3bd16;color:#28200a;font-size:9.5px;font-weight:900;cursor:pointer;white-space:nowrap}
.notification-entry-btn:hover{filter:brightness(.97);transform:translateY(-1px)}
body.dark-theme .notification-entry-card{background:linear-gradient(135deg,#171710,#211d11);border-color:#3b3628}
body.dark-theme .notification-entry-card small{color:#aaa087}

/* Full notification settings page. */
.notification-settings-view{padding-bottom:24px}
.notification-settings-page{max-width:900px;margin:0 auto;border:1px solid #e5dcc8;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 18px 50px rgba(65,54,28,.06)}
.notification-settings-page>.feedback-back-btn{margin:18px 22px 0}
.notification-settings-head{display:grid;grid-template-columns:52px minmax(0,1fr);gap:15px;align-items:center;padding:18px 24px 22px;border-bottom:1px solid #eee7d7}
.notification-settings-head-icon{width:50px;height:50px;border-radius:16px}
.notification-settings-head h3{font:800 24px/1.1 Manrope;margin:3px 0 6px;color:#24211a}
.notification-settings-head p:not(.eyebrow){font-size:10px;color:#8e846e;line-height:1.6;margin:0}
.notification-device-card{margin:20px 24px 0;padding:16px;border:1px solid #eadfbf;border-radius:17px;background:#fff9e8;display:flex;align-items:center;justify-content:space-between;gap:18px}
.notification-device-card>div:first-child{display:grid;gap:4px}.notification-device-card b{font:800 11.5px Manrope}.notification-device-card small{font-size:9px;color:#897d63;line-height:1.5}
.notification-device-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.notification-device-actions .primary-btn,.notification-device-actions .ghost-btn{min-height:38px;padding:10px 12px;font-size:9px}
.notification-prefs-form{padding:20px 24px 24px;display:grid;gap:16px}
.notification-master-row,.notification-option{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #e8dfcb;border-radius:15px;background:#fff}
.notification-master-row{border-color:#dfc56c;background:#fffaf0}
.notification-master-row>span:first-child,.notification-option>span:first-child{display:grid;gap:4px;min-width:0}.notification-master-row b,.notification-option b{font-size:10.5px}.notification-master-row small,.notification-option small{font-size:8.8px;line-height:1.45;color:#91866f}
.notification-group{display:grid;gap:8px;padding:15px;border:1px solid #ebe3d1;border-radius:18px;background:#fcfaf5}
.notification-group-title{display:grid;gap:3px;padding:0 2px 5px}.notification-group-title b{font:800 12px Manrope}.notification-group-title small{font-size:8.8px;color:#91866f}
.notification-form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:2px}.notification-form-actions .primary-btn,.notification-form-actions .ghost-btn{min-width:140px}
.notification-prefs-hint{margin:0;text-align:right;font-size:8.7px;color:#998e78}
body.dark-theme .notification-settings-page{background:#1b1a15;border-color:#353125}
body.dark-theme .notification-settings-head{border-color:#353125}body.dark-theme .notification-settings-head h3{color:#f5efdf}body.dark-theme .notification-settings-head p:not(.eyebrow){color:#a79d86}
body.dark-theme .notification-device-card{background:#211d12;border-color:#4b4125}
body.dark-theme .notification-master-row,body.dark-theme .notification-option{background:#171710;border-color:#3c372a}
body.dark-theme .notification-master-row{background:#211d12;border-color:#514524}
body.dark-theme .notification-group{background:#16150f;border-color:#383327}
body.dark-theme .notification-master-row small,body.dark-theme .notification-option small,body.dark-theme .notification-group-title small,body.dark-theme .notification-device-card small{color:#a89f89}

.job-native-actions{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 2px}.job-native-actions .ghost-btn{display:inline-flex;align-items:center;gap:7px}.job-native-actions .ui-icon{width:16px;height:16px}

/* Native Android app mode: open directly on a compact login screen. */
html.android-app-mode,html.android-app-mode body{overscroll-behavior:none}
html.android-app-mode #landingView{display:none!important}
html.android-app-mode #backToLanding{display:none!important}
html.android-app-mode .auth-theme-toggle{top:max(14px,env(safe-area-inset-top));right:14px;left:auto}
html.android-app-mode .auth-shell{display:block!important;min-height:100dvh;background:radial-gradient(circle at 50% 0,rgba(245,183,0,.12),transparent 34%),#f6f2e8;padding:max(30px,calc(env(safe-area-inset-top) + 18px)) 16px calc(20px + env(safe-area-inset-bottom));overflow-y:auto}
html.android-app-mode .auth-shell.hidden{display:none!important}
html.android-app-mode .auth-art{display:none!important}
html.android-app-mode .auth-panel{min-height:calc(100dvh - 60px);width:100%;max-width:470px;margin:0 auto;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:42px 0 10px;background:transparent}
html.android-app-mode .android-auth-logo{display:flex;align-items:center;justify-content:center;gap:11px;margin:0 auto 14px}
html.android-app-mode .android-auth-logo img{width:52px;height:52px;border-radius:16px;box-shadow:0 8px 24px rgba(101,75,5,.15)}
html.android-app-mode .android-auth-logo>div{display:grid;gap:2px}html.android-app-mode .android-auth-logo b{font:900 18px/1 Manrope;color:#272319}html.android-app-mode .android-auth-logo small{font-size:8.5px;font-weight:800;color:#8c7d59;letter-spacing:.08em}
html.android-app-mode .auth-card{width:100%;max-width:none;border-radius:24px;padding:22px;box-shadow:0 22px 55px rgba(62,51,23,.1)}
html.android-app-mode .brand-mobile{display:none!important}
html.android-app-mode .auth-benefits{margin-top:0}
html.android-app-mode .android-auth-footer{display:block;margin:14px auto 0;max-width:390px;text-align:center;font-size:8px;line-height:1.55;color:#978d77;padding:0 16px}
html.android-app-mode .android-auth-footer b{color:#8d6c0b}html.android-app-mode .android-auth-footer strong{color:#635a48}
html.android-app-mode body.dark-theme .auth-shell{background:radial-gradient(circle at 50% 0,rgba(245,183,0,.1),transparent 34%),#11110d}
html.android-app-mode body.dark-theme .android-auth-logo b{color:#f4eddd}html.android-app-mode body.dark-theme .android-auth-logo small{color:#aaa087}
html.android-app-mode body.dark-theme .android-auth-footer{color:#8f8774}

/* App mode performance: avoid expensive blur on the long-lived WebView shell. */
html.android-app-mode .topbar,html.android-app-mode .mobile-nav,html.android-app-mode .account-dropdown{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html.android-app-mode *{scroll-behavior:auto}
html.android-app-mode .app-main{-webkit-overflow-scrolling:touch}

@media (max-width:760px){
  .account-avatar-card{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;align-items:start!important}
  .account-avatar-stack{width:82px;justify-self:center}
  .supporter-badge{min-width:70px}.supporter-badge i{width:29px;height:29px}.supporter-badge b{font-size:7.5px!important}
  .notification-entry-card{margin:0 14px 14px!important;grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important;padding:12px!important}
  .notification-entry-icon{width:38px;height:38px;border-radius:12px}.notification-entry-card>div b{font-size:10.5px!important}.notification-entry-card>div small{font-size:8px!important}
  .notification-entry-btn{grid-column:1/-1;width:100%;min-height:40px;font-size:9px}
  .notification-settings-page{margin:0 10px;border-radius:17px}
  .notification-settings-page>.feedback-back-btn{margin:12px 12px 0}
  .notification-settings-head{grid-template-columns:43px minmax(0,1fr);gap:10px;padding:14px 13px 16px}.notification-settings-head-icon{width:42px;height:42px;border-radius:13px}.notification-settings-head h3{font-size:19px}.notification-settings-head p:not(.eyebrow){font-size:8.5px}
  .notification-device-card{margin:12px 12px 0;padding:12px;display:grid}.notification-device-actions{justify-content:stretch;display:grid;grid-template-columns:1fr}.notification-device-actions button{width:100%}
  .notification-prefs-form{padding:12px;gap:10px}.notification-master-row,.notification-option{padding:12px 11px;gap:10px}.notification-master-row b,.notification-option b{font-size:9.5px}.notification-master-row small,.notification-option small{font-size:7.7px}.notification-group{padding:11px;gap:7px}.notification-group-title b{font-size:10.5px}.notification-group-title small{font-size:7.6px}
  .notification-form-actions{display:grid;grid-template-columns:1fr 1fr}.notification-form-actions .primary-btn,.notification-form-actions .ghost-btn{min-width:0;padding-inline:7px;font-size:8.5px}.notification-prefs-hint{text-align:center;font-size:7.5px}
  .job-native-actions{display:grid;grid-template-columns:1fr 1fr}.job-native-actions .ghost-btn{justify-content:center;padding-inline:7px;font-size:8.5px}
  html.android-app-mode .auth-panel{justify-content:flex-start;min-height:auto;padding-top:54px}
  html.android-app-mode .auth-card{padding:18px 15px;border-radius:20px}
  html.android-app-mode .android-auth-logo{margin-bottom:12px}html.android-app-mode .android-auth-logo img{width:46px;height:46px;border-radius:14px}
}

/* =========================================================
   V2.4.0 FIX10 — ACCOUNT SETTINGS + NOTIFICATION + WIDGET
   ========================================================= */
.account-content-grid{padding:24px 26px 22px;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.72fr);gap:18px;align-items:start}
.account-content-grid .account-settings-form{padding:0}
.account-main-settings{min-width:0}
.account-settings-card{display:grid;gap:10px;padding:15px;border:1px solid #e9dfc8;border-radius:20px;background:linear-gradient(145deg,#fffdf8,#fff8e5);box-shadow:0 10px 30px rgba(75,61,23,.05);position:sticky;top:18px}
.account-settings-card-head{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;padding:2px 2px 8px}
.account-settings-card-head .row-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#201f19;color:#ffd34d}
.account-settings-card-head .row-icon .ui-icon{width:20px;height:20px}.account-settings-card-head>div{display:grid;gap:3px}.account-settings-card-head b{font:800 13px Manrope}.account-settings-card-head small{font-size:8.6px;line-height:1.45;color:#8f846d}
.account-setting-entry{width:100%;border:1px solid #e8dfcb;background:rgba(255,255,255,.86);border-radius:15px;padding:12px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;cursor:pointer;color:inherit;transition:.18s ease}
.account-setting-entry:hover{transform:translateY(-1px);border-color:#ddc371;box-shadow:0 8px 20px rgba(70,57,22,.06)}
.account-setting-entry>span:nth-child(2){display:grid;gap:3px;min-width:0}.account-setting-entry b{font:800 10.6px Manrope}.account-setting-entry small{font-size:8.2px;line-height:1.45;color:#91866f}.account-setting-entry>i{font-style:normal;font-size:20px;color:#8d826b}
.account-setting-entry .notification-entry-icon{width:40px;height:40px;border-radius:12px}.widget-entry-icon{background:#efe7ff;color:#7454b8}
.widget-settings-head-icon{background:#efe7ff;color:#7454b8}
.widget-radio-option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px;padding:13px 14px;border:1px solid #e8dfcb;border-radius:14px;background:#fff;cursor:pointer}
.widget-radio-option input{width:17px;height:17px;accent-color:#d9a914}.widget-radio-option>span{display:grid;gap:3px}.widget-radio-option b{font-size:10.4px}.widget-radio-option small{font-size:8.4px;line-height:1.45;color:#91866f}
.widget-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.widget-actions button{min-height:42px}
body.dark-theme .account-settings-card{background:linear-gradient(145deg,#1d1b15,#262116);border-color:#3c372a}
body.dark-theme .account-settings-card-head small,body.dark-theme .account-setting-entry small,body.dark-theme .widget-radio-option small{color:#aaa087}
body.dark-theme .account-setting-entry,body.dark-theme .widget-radio-option{background:#171710;border-color:#3c372a}
body.dark-theme .widget-entry-icon,body.dark-theme .widget-settings-head-icon{background:#2f2540;color:#c9adff}
@media(max-width:900px){.account-content-grid{grid-template-columns:1fr}.account-settings-card{position:static}}
@media(max-width:760px){
  .account-content-grid{padding:14px!important;gap:12px!important}.account-settings-card{padding:11px;border-radius:16px;gap:8px}.account-settings-card-head{grid-template-columns:36px minmax(0,1fr)}.account-settings-card-head .row-icon{width:36px;height:36px}.account-setting-entry{grid-template-columns:36px minmax(0,1fr) auto;padding:10px}.account-setting-entry .notification-entry-icon{width:36px;height:36px}.account-setting-entry b{font-size:9.6px}.account-setting-entry small{font-size:7.7px}.widget-radio-option{padding:11px}.widget-actions{grid-template-columns:1fr}.widget-actions button{width:100%}
}


/* =========================================================
   V2.4.0 FIX11 — CALENDAR SPACE + PROFILE/SETTINGS HUB
   ========================================================= */
.account-profile-head{align-items:center}
.account-head-settings-btn{flex:none;border:1px solid #ded4ba;background:#211f17;color:#fff;border-radius:14px;min-height:42px;padding:9px 13px;display:inline-flex;align-items:center;gap:8px;font:800 10px Manrope;cursor:pointer;box-shadow:0 8px 20px rgba(23,25,30,.12);transition:.18s ease}
.account-head-settings-btn:hover{transform:translateY(-1px);background:#2c291e}.account-head-settings-btn .ui-icon{width:17px;height:17px}
.account-profile-summary{padding:24px 26px;display:grid;gap:18px}
.account-profile-identity{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center;padding:18px;border:1px solid #e9dfc7;border-radius:20px;background:#fffaf0}
.account-profile-title{display:grid;gap:4px;min-width:0}.account-profile-title>span{font-size:7.5px;letter-spacing:.13em;font-weight:900;color:#9b8b63}.account-profile-title>b{font:800 19px Manrope;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-profile-title>small{font-size:9px;color:#918771;line-height:1.5}
.account-profile-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.account-profile-info{padding:15px 16px;border:1px solid #e9dfc7;border-radius:16px;background:rgba(255,255,255,.78);display:grid;gap:5px;min-width:0}.account-profile-info span{font-size:8.2px;font-weight:800;color:#958a73}.account-profile-info b{font:800 11.5px Manrope;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.settings-hub-list{padding:18px;display:grid;gap:10px}.settings-hub-entry{min-height:68px}.settings-hub-head-icon{background:#211f17;color:#ffd34d}.profile-entry-icon,.profile-edit-head-icon{background:#eaf4ff!important;color:#3374aa!important}
.edit-profile-form{padding:20px 22px 24px!important}
body.dark-theme .account-head-settings-btn{background:#f3bf26;color:#2b2100;border-color:#dba70d;box-shadow:none}
body.dark-theme .account-profile-identity,body.dark-theme .account-profile-info{background:#171710;border-color:#3b3629}
body.dark-theme .account-profile-title>small,body.dark-theme .account-profile-info span{color:#aaa087}
body.dark-theme .profile-entry-icon,body.dark-theme .profile-edit-head-icon{background:#1d3141!important;color:#82bee8!important}

.date-row{min-width:0}
.lunar-date{flex:0 1 auto;max-width:100%;overflow:visible;text-overflow:clip}
@media(max-width:760px){
  .calendar-grid{grid-auto-rows:minmax(80px,auto)!important}
  .calendar-primary .day-cell,.day-cell{padding:4px 2px!important;min-height:80px!important}
  .date-row{gap:1px!important;justify-content:space-between!important;align-items:flex-start!important;width:100%!important}
  .solar-date{font-size:14px!important;line-height:1!important;letter-spacing:-.04em!important;flex:0 0 auto!important}
  .today .solar-date{width:22px!important;height:22px!important;border-radius:7px!important;margin:-1px 0 0 -1px!important}
  .lunar-date{font-size:5.35px!important;line-height:1.05!important;padding:2px 2px!important;border-radius:4px!important;max-width:none!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;letter-spacing:-.02em!important}
  .account-profile-head{display:flex!important;align-items:center!important;gap:9px!important}
  .account-profile-head>div{min-width:0;flex:1}.account-profile-head p:not(.eyebrow){display:none}
  .account-head-settings-btn{min-height:38px;padding:8px 10px;border-radius:12px;font-size:8.5px}.account-head-settings-btn .ui-icon{width:15px;height:15px}
  .account-profile-summary{padding:14px!important;gap:10px}.account-profile-identity{padding:12px;gap:12px;border-radius:16px}.account-profile-title>b{font-size:15px}.account-profile-title>small{font-size:7.8px}.account-profile-info-grid{grid-template-columns:1fr;gap:10px;padding:2px 2px 0}.account-profile-info,body.dark-theme .account-profile-info{padding:2px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.account-profile-info b{font-size:11px}
  .settings-hub-list{padding:12px;gap:8px}.settings-hub-entry{min-height:60px}.edit-profile-form{padding:12px!important}
}


/* V2.4.0 FIX12 — app-only feature fallback for Windows/iOS web */
.platform-unsupported-card{margin:20px 24px 0;padding:20px;border:1px dashed #dfcf9d;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#fff);display:flex;align-items:flex-start;gap:14px}
.platform-unsupported-icon{width:42px;height:42px;border-radius:14px;background:#f6e7b2;color:#6e5714;display:grid;place-items:center;flex:0 0 auto}.platform-unsupported-icon .ui-icon{width:19px;height:19px}
.platform-unsupported-card>div{min-width:0;display:grid;gap:5px}.platform-unsupported-card b{font:800 12.5px Manrope}.platform-unsupported-card p{margin:0;font-size:11px;font-weight:800;color:#6e5a1d}.platform-unsupported-card small{font-size:9px;line-height:1.55;color:#8c826e}
body.dark-theme .platform-unsupported-card{background:linear-gradient(135deg,#211d12,#191812);border-color:#514726}.dark-theme .platform-unsupported-icon{background:#302713;color:#f3c94b}.dark-theme .platform-unsupported-card p{color:#f0ce66}.dark-theme .platform-unsupported-card small{color:#aaa087}
@media(max-width:760px){.platform-unsupported-card{margin:12px 12px 0;padding:15px;border-radius:16px}.platform-unsupported-icon{width:38px;height:38px;border-radius:12px}}

/* =========================================================
   V2.4.0 FIX16 FINAL — MoMo-inspired mobile bottom navigation
   Same 5 actions/icons, rebuilt only for phone + Android APK.
   ========================================================= */
@media (max-width:760px){
  .mobile-nav{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:80!important;
    width:100%!important;
    height:calc(78px + env(safe-area-inset-bottom))!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:start!important;
    padding:8px 6px calc(7px + env(safe-area-inset-bottom))!important;
    margin:0!important;
    border:0!important;
    border-top:1px solid rgba(224,217,199,.72)!important;
    border-radius:0!important;
    background:#fff!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    box-shadow:0 -8px 24px rgba(55,45,20,.07)!important;
    overflow:visible!important;
  }
  .mobile-nav:before{display:none!important;content:none!important}

  .mobile-nav button{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    height:62px!important;
    margin:0!important;
    padding:4px 2px 2px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#aaa79f!important;
    display:grid!important;
    grid-template-rows:30px 17px!important;
    align-content:start!important;
    justify-items:center!important;
    align-items:center!important;
    gap:4px!important;
    font:inherit!important;
    -webkit-tap-highlight-color:transparent!important;
    transition:color .18s ease,transform .16s ease!important;
  }
  .mobile-nav button:active{transform:scale(.96)!important}
  .mobile-nav button.active{
    color:#c89200!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .mobile-nav button>span:not(.mobile-add-circle){
    width:30px!important;
    height:30px!important;
    display:grid!important;
    place-items:center!important;
    margin:0!important;
  }
  .mobile-nav button>span:not(.mobile-add-circle) .ui-icon{
    width:24px!important;
    height:24px!important;
    stroke-width:1.85!important;
  }
  .mobile-nav small{
    display:block!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    color:inherit!important;
    font-size:10px!important;
    line-height:17px!important;
    font-weight:700!important;
    letter-spacing:-.01em!important;
    white-space:nowrap!important;
  }

  .mobile-nav #mobileAdd{
    height:62px!important;
    padding-top:0!important;
    grid-template-rows:45px 17px!important;
    gap:1px!important;
    overflow:visible!important;
  }
  .mobile-add-circle{
    width:46px!important;
    height:46px!important;
    margin:-9px 0 0!important;
    border:0!important;
    border-radius:50%!important;
    background:linear-gradient(145deg,#ffd84a 0%,#e4a900 100%)!important;
    color:#fff!important;
    display:grid!important;
    place-items:center!important;
    box-shadow:0 6px 17px rgba(190,137,0,.28)!important;
  }
  .mobile-add-circle .ui-icon{
    width:21px!important;
    height:21px!important;
    stroke-width:2.05!important;
  }
  .mobile-nav #mobileAdd small{
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#ff9500!important;
    font-size:9.5px!important;
    line-height:17px!important;
    font-weight:800!important;
    box-shadow:none!important;
  }

  /* Keep the same geometry inside PWA / APK WebView. */
  html.pwa-standalone .mobile-nav,
  html.platform-android.pwa-standalone .mobile-nav,
  html.android-app-mode .mobile-nav{
    left:0!important;
    right:0!important;
    bottom:0!important;
    height:calc(78px + env(safe-area-inset-bottom))!important;
    background:#fff!important;
    border-top:1px solid rgba(224,217,199,.72)!important;
    border-radius:0!important;
    box-shadow:0 -8px 24px rgba(55,45,20,.07)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }

  /* Dark theme keeps the layout identical, changing only surface colors. */
  body.dark-theme .mobile-nav,
  html.platform-android.pwa-standalone body.dark-theme .mobile-nav,
  html.android-app-mode body.dark-theme .mobile-nav{
    background:#181813!important;
    border-top-color:rgba(255,255,255,.08)!important;
    box-shadow:0 -8px 24px rgba(0,0,0,.24)!important;
  }
  body.dark-theme .mobile-nav button{color:#8f8b80!important}
  body.dark-theme .mobile-nav button.active{color:#f0c43a!important;background:transparent!important;box-shadow:none!important}
  body.dark-theme .mobile-nav #mobileAdd small{background:transparent!important;color:#ff9500!important}

  /* The footer already provides scroll clearance; tune it to the final bar height. */
  .app-copyright{margin-bottom:calc(92px + env(safe-area-inset-bottom))!important}
}

/* V2.4.0 PUSH-CONNECT: explicit Android push activation */
.notification-device-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
@media(max-width:760px){.notification-device-actions{width:100%;display:grid;grid-template-columns:1fr;gap:7px}.notification-device-actions button{width:100%}}

/* V2.5.0 — Studio entry */
.account-dropdown a.dropdown-row{color:inherit;text-decoration:none}.studio-pro-icon,.studio-nav-badge{display:grid!important;place-items:center;font-weight:900;font-family:Manrope,sans-serif}.studio-pro-icon{background:#1d1d18!important;color:#f5b700!important}.studio-sidebar-link{text-decoration:none}.studio-nav-badge{font-size:10px;border-radius:8px;background:linear-gradient(135deg,#1d1d18,#3b3728);color:#f5b700;height:24px}.studio-entry-row b:after{content:'PRO';display:inline-block;margin-left:6px;padding:2px 5px;border-radius:999px;background:#1d1d18;color:#f5b700;font-size:7px;letter-spacing:.08em;vertical-align:middle}

/* ===== v2.5.3 FIX15 — legal links ===== */
.landing-legal-links{display:inline-flex;gap:12px}.landing-legal-links a{color:inherit;text-decoration:none;font-weight:700}.landing-legal-links a:hover{color:#6b5310;text-decoration:underline}

/* ===== v2.5.3 FIX36 — main Studio upgrade entry + supporter badge placement ===== */
.lichchup-upgrade-btn{
  min-height:42px;border:1px solid #d7a900;border-radius:14px;padding:9px 13px;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  background:linear-gradient(135deg,#fff4bd,#f5c327 58%,#dda600);color:#493500;
  font:800 10.5px Manrope,system-ui,sans-serif;box-shadow:0 8px 22px rgba(181,132,0,.16);
  transition:.18s var(--ease);white-space:nowrap
}
.lichchup-upgrade-btn:hover{transform:translateY(-1px);box-shadow:0 11px 28px rgba(181,132,0,.23)}
.lichchup-upgrade-btn .ui-icon{width:16px;height:16px;stroke-width:1.8;fill:none}
.lichchup-upgrade-row .row-icon{background:linear-gradient(135deg,#fff0a6,#efb900)!important;color:#5a4200!important;border:1px solid #d4a600}
body.dark-theme .lichchup-upgrade-btn{background:linear-gradient(135deg,#ffe782,#e5af00);border-color:#d9a500;color:#332500}
body.dark-theme .lichchup-upgrade-row .row-icon{background:linear-gradient(135deg,#ffe782,#dca800)!important;color:#302300!important}

.account-profile-identity{grid-template-columns:auto minmax(0,1fr) auto!important}
.account-profile-identity>.supporter-badge{justify-self:end;align-self:center}
.supporter-badge{
  display:inline-flex!important;grid-template-columns:none!important;align-items:center;justify-content:center;
  gap:7px;min-width:0!important;padding:7px 10px;border-radius:999px;
  color:#5e4600!important;background:linear-gradient(135deg,#fff6c9,#ffd84f);
  border:1px solid #dfb316;box-shadow:0 7px 18px rgba(137,99,0,.14);text-align:left
}
.supporter-badge.hidden{display:none!important}
.supporter-badge i{
  width:24px!important;height:24px!important;border-radius:50%!important;
  background:rgba(255,255,255,.58)!important;border:1px solid rgba(123,91,0,.18)!important;
  box-shadow:none!important
}
.supporter-badge i .ui-icon{width:14px!important;height:14px!important;color:#765900!important}
.supporter-badge b{font:850 8.5px/1 Manrope,system-ui,sans-serif!important;color:#5e4600!important}
body.dark-theme .supporter-badge{
  color:#3a2a00!important;background:linear-gradient(135deg,#ffe98c,#f3bd15)!important;
  border-color:#d6a300!important;box-shadow:0 8px 22px rgba(0,0,0,.22),0 0 0 1px rgba(255,222,94,.08)
}
body.dark-theme .supporter-badge i{background:rgba(255,255,255,.48)!important;border-color:rgba(91,65,0,.18)!important}
body.dark-theme .supporter-badge b,body.dark-theme .supporter-badge i .ui-icon{color:#4d3800!important}
@media(max-width:760px){
  .top-actions>.lichchup-upgrade-btn{display:none!important}
  .account-profile-identity{grid-template-columns:auto minmax(0,1fr)!important}
  .account-profile-identity>.supporter-badge{grid-column:2;justify-self:end;margin-top:4px}
}


/* DASH-v4 / Android remote update prompt */
body.android-update-open{overflow:hidden}.android-update-prompt{position:fixed;inset:0;z-index:10050;display:grid;align-items:end;justify-items:center;padding:18px}.android-update-backdrop{position:absolute;inset:0;background:rgba(22,20,15,.52);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.android-update-sheet{position:relative;width:min(460px,100%);border:1px solid rgba(78,67,39,.14);border-radius:28px;background:#fffdf8;color:#29261f;padding:24px;box-shadow:0 28px 90px rgba(39,31,14,.24);animation:androidUpdateIn .28s cubic-bezier(.2,.9,.25,1)}.android-update-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:#f5b700;color:#241b00;margin-bottom:15px}.android-update-icon .ui-icon{width:25px;height:25px}.android-update-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:.14em;color:#a57700}.android-update-sheet h2{margin:6px 0 9px;font-size:24px;line-height:1.15;letter-spacing:-.03em}.android-update-sheet>p{margin:0;color:#716a5e;font-size:13px;line-height:1.65}.android-update-current{margin-top:14px;padding:10px 12px;border-radius:13px;background:#f6f1e6;color:#6e6555;font-size:12px}.android-update-current b{color:#29261f}.android-update-tip{display:grid;gap:4px;margin-top:10px;padding:12px;border:1px solid #eadfca;border-radius:14px;background:#fffaf0}.android-update-tip b{font-size:12px}.android-update-tip span{font-size:12px;color:#756c5d;line-height:1.55}.android-update-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:9px;margin-top:16px}.android-update-actions button{height:46px;border-radius:14px;font-weight:900;font-size:13px;cursor:pointer}.android-update-actions .secondary{border:1px solid #dfd5c2;background:#f7f3eb;color:#5e574b}.android-update-actions .primary{border:1px solid #d4a000;background:linear-gradient(135deg,#ffd94d,#f5b700);color:#251b00;box-shadow:0 9px 24px rgba(245,183,0,.22)}@keyframes androidUpdateIn{from{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:none}}@media(min-width:720px){.android-update-prompt{align-items:center}.android-update-sheet{padding:27px}}@media(max-width:520px){.android-update-prompt{padding:10px}.android-update-sheet{border-radius:24px;padding:20px}.android-update-sheet h2{font-size:21px}}

/* DASH-v7 — Android mandatory update */
.android-update-actions.force{grid-template-columns:1fr}
.android-update-required{margin-top:12px;text-align:center;color:#b07b00;font-size:12px;font-weight:800;line-height:1.5}
.android-update-prompt.force .android-update-backdrop{background:rgba(10,13,17,.74)}
.android-update-prompt.force .android-update-sheet{border-color:rgba(245,183,0,.32)}


/* FIX107: verified-email registration */
.email-verify-form{align-items:stretch}
.verify-email-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;margin:0 auto 2px;background:rgba(245,183,0,.14);border:1px solid rgba(245,183,0,.3);color:#9b7612}
.verify-email-icon .ui-icon{width:25px;height:25px;stroke-width:1.8}
.verify-email-intro{text-align:center}.verify-email-intro b{word-break:break-word;color:#7f620d}
.verification-otp-input{text-align:center!important;font:900 24px/1.2 Manrope,sans-serif!important;letter-spacing:.28em!important;padding-left:calc(15px + .28em)!important;font-variant-numeric:tabular-nums}
.verify-email-actions{display:grid;gap:8px}.verify-email-actions .ghost-btn.full{width:100%;justify-content:center}
.verify-email-change{border:0;background:transparent;color:#766b54;font-size:11px;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:4px}
.verify-email-hint{text-align:center!important;margin-top:-3px!important}
body.dark-theme .verify-email-icon{background:rgba(245,183,0,.09);border-color:rgba(245,183,0,.2);color:#e3bb49}
body.dark-theme .verify-email-intro b{color:#e1bc50}body.dark-theme .verify-email-change{color:#aaa08a}
@media(max-width:600px){.verify-email-icon{width:48px;height:48px;border-radius:16px}.verification-otp-input{font-size:22px!important}}

/* FIX109 — password recovery / password change */
.forgot-password-row{display:flex;justify-content:flex-end;margin-top:-9px}
.forgot-password-btn,.password-reset-link{border:0;background:transparent;color:#7b650f;font-size:11px;font-weight:800;cursor:pointer;padding:2px 0;text-decoration:underline;text-underline-offset:3px}
.password-entry-icon{background:#fff3cf!important;color:#936d00!important}
.password-reset-card{position:relative;width:min(440px,100%);background:#fffdf8;border:1px solid #eadfc4;border-radius:26px;padding:28px;box-shadow:0 40px 100px rgba(0,0,0,.22);animation:modalIn .3s var(--ease)}
.password-reset-close{position:absolute;right:16px;top:14px;width:36px;height:36px;border-radius:12px;border:1px solid #e8dfca;background:#fff;color:#625947;font-size:22px;line-height:1;cursor:pointer}
.password-reset-icon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:rgba(245,183,0,.14);border:1px solid rgba(245,183,0,.3);color:#9b7612;margin-bottom:15px}
.password-reset-icon .ui-icon{width:26px;height:26px;stroke-width:1.8}
.password-reset-card h3{font:800 24px/1.15 "Manrope";margin:5px 0 7px;color:#242116}
.password-reset-lead{font-size:12px;line-height:1.65;color:#7d735f;margin:0 0 20px;word-break:break-word}
.password-reset-step{display:grid;gap:14px}
.password-reset-step label{display:grid;gap:8px;font-size:12.5px;font-weight:750;color:#5e5748}
.password-reset-step input{width:100%;min-height:50px;border:1px solid #ddd4bd;background:#fff;border-radius:13px;padding:13px 14px;color:#1a1c20;outline:none;transition:.2s;font-size:13.5px}
.password-reset-step input:focus{border-color:#e0ad1a;box-shadow:0 0 0 4px rgba(245,183,0,.12)}
.password-reset-step input[readonly]{background:#f6f1e5;color:#776e5d}
.password-reset-step .primary-btn,.password-reset-step .ghost-btn{width:100%;justify-content:center}
.password-reset-hint{margin-top:14px!important}
body.dark-theme .forgot-password-btn,body.dark-theme .password-reset-link{color:#e0bc53}
body.dark-theme .password-reset-card{background:#211f18;border-color:#4a4432;color:#f4ecd9}
body.dark-theme .password-reset-close{background:#171710;border-color:#403a2b;color:#d9d0bd}
body.dark-theme .password-reset-icon{background:rgba(245,183,0,.09);border-color:rgba(245,183,0,.2);color:#e3bb49}
body.dark-theme .password-reset-card h3{color:#f4ecd9}
body.dark-theme .password-reset-lead{color:#aaa087}
body.dark-theme .password-reset-step label{color:#ded4bf}
body.dark-theme .password-reset-step input{background:#171710;border-color:#433d2e;color:#f4ecd9}
body.dark-theme .password-reset-step input[readonly]{background:#29261d;color:#bbb09a}
@media(max-width:600px){.password-reset-modal{padding:10px}.password-reset-card{border-radius:22px;padding:22px 18px}.password-reset-card h3{font-size:22px}.password-reset-icon{width:50px;height:50px;border-radius:16px}.forgot-password-row{margin-top:-7px}}

/* FIX110 — LICHCHUP Pro foundation + Job Presets */
.account-plan-badge{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:5px 10px;border-radius:999px;border:1px solid var(--line);font-size:11px;font-weight:900;letter-spacing:.08em;white-space:nowrap}
.account-plan-badge .ui-icon{width:15px;height:15px}
.account-plan-badge.free{background:var(--surface-2,#f7f4ec);color:var(--muted,#766e5e)}
.account-plan-badge.pro{background:#17160f;color:#f5b700;border-color:#4f4527;box-shadow:0 8px 24px rgba(245,183,0,.12)}
.pro-overview-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin:18px 0;padding:16px 18px;border:1px solid rgba(245,183,0,.35);border-radius:20px;background:linear-gradient(135deg,rgba(245,183,0,.11),rgba(245,183,0,.025));box-shadow:0 12px 34px rgba(63,48,3,.06)}
.pro-overview-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#17160f;color:#f5b700}
.pro-overview-icon .ui-icon{width:24px;height:24px}
.pro-overview-card>div{display:grid;gap:3px;min-width:0}.pro-overview-card b{font-size:14px}.pro-overview-card small{color:var(--muted,#776f60);line-height:1.45}.pro-kicker{font-size:10px;font-weight:900;letter-spacing:.13em;color:#9d7500}
.pro-overview-card>button,.pro-feature-gate>button{border:0;border-radius:12px;background:#17160f;color:#f5b700;min-height:38px;padding:0 14px;font-weight:850;cursor:pointer}
.pro-entry-icon{background:rgba(245,183,0,.14)!important;color:#9b7200!important}.pro-mini-badge{display:inline-flex;vertical-align:middle;margin-left:5px;padding:2px 6px;border-radius:999px;background:#17160f;color:#f5b700;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.08em}
.pro-feature-gate{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin:16px 0;padding:16px;border:1px solid rgba(245,183,0,.34);border-radius:18px;background:rgba(245,183,0,.07)}
.pro-feature-gate>.ui-icon{width:28px;height:28px;color:#a47700}.pro-feature-gate>div{display:grid;gap:4px}.pro-feature-gate small{color:var(--muted,#776f60)}
.presets-page{max-width:980px}.preset-editor{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--card,#fff);box-shadow:var(--shadow-soft,0 12px 35px rgba(0,0,0,.05))}.preset-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.preset-editor-head>div{display:grid;gap:3px}.preset-editor-head small{color:var(--muted,#776f60)}.preset-editor label{display:grid;gap:7px;font-size:12px;font-weight:760}.preset-editor input,.preset-editor select,.preset-editor textarea{width:100%;border:1px solid var(--line);border-radius:13px;background:var(--surface,#fff);color:var(--text,#26231d);padding:11px 12px;font:inherit;outline:none}.preset-editor input:focus,.preset-editor select:focus,.preset-editor textarea:focus{border-color:rgba(245,183,0,.78);box-shadow:0 0 0 3px rgba(245,183,0,.12)}.preset-editor-actions{display:flex;justify-content:flex-end}.preset-list-card{margin-top:18px}.preset-list{display:grid;gap:10px}.preset-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 15px;border:1px solid var(--line);border-radius:16px;background:var(--card,#fff)}.preset-row-copy{display:grid;gap:5px;min-width:0}.preset-row-copy>b{font-size:14px}.preset-row-copy small{color:var(--muted,#776f60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preset-row-actions{display:flex;gap:7px}.preset-row-actions button{border:1px solid var(--line);background:var(--surface-2,#f8f5ef);color:var(--text,#26231d);border-radius:10px;min-height:34px;padding:0 10px;font-weight:760;cursor:pointer}.preset-row-actions button[data-delete-preset]{color:#b33b34}.preset-empty{padding:28px 18px;border:1px dashed var(--line);border-radius:16px;text-align:center;color:var(--muted,#776f60)}
.job-preset-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 13px;border:1px solid rgba(245,183,0,.31);border-radius:16px;background:rgba(245,183,0,.065)}.job-preset-bar>div:first-child{display:flex;align-items:center;gap:10px}.job-preset-bar>div:first-child>span:last-child{display:grid;gap:2px}.job-preset-bar small{color:var(--muted,#776f60);font-size:10.5px}.job-preset-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#17160f;color:#f5b700}.job-preset-icon .ui-icon{width:18px;height:18px}.job-preset-actions{display:flex;align-items:center;gap:7px}.job-preset-actions select{max-width:200px;min-height:36px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff);color:var(--text,#26231d);padding:0 9px;font:inherit;font-size:11px}.job-preset-bar.is-free .job-preset-actions select{opacity:.55}
.pro-info-card{position:relative;width:min(480px,calc(100vw - 30px));max-height:min(720px,calc(100vh - 30px));overflow:auto;border-radius:26px;background:var(--card,#fff);color:var(--text,#26231d);padding:26px;border:1px solid rgba(245,183,0,.32);box-shadow:0 28px 90px rgba(0,0,0,.25)}.pro-info-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}.pro-info-brand>span{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#17160f;color:#f5b700}.pro-info-brand .ui-icon{width:28px;height:28px}.pro-info-brand>div{display:grid}.pro-info-brand small{font-size:10px;font-weight:900;letter-spacing:.15em;color:#9c7500}.pro-info-brand b{font-size:26px;line-height:1}.pro-info-card>h3{margin:0 0 18px;font-size:19px;line-height:1.4}.pro-feature-list{display:grid;gap:10px}.pro-feature-list article{display:flex;gap:11px;padding:12px;border-radius:15px;background:var(--surface-2,#f8f5ef)}.pro-feature-list article>.ui-icon{width:20px;height:20px;flex:0 0 auto;color:#a47700;margin-top:1px}.pro-feature-list article>div{display:grid;gap:3px}.pro-feature-list small{color:var(--muted,#776f60);line-height:1.45}.pro-modal-status{margin:16px 0;padding:11px 12px;border-radius:12px;background:rgba(245,183,0,.09);font-size:12px;font-weight:800;text-align:center}
body.dark-theme .account-plan-badge.free,body.dark-theme .preset-editor,body.dark-theme .preset-row,body.dark-theme .pro-info-card{background:rgba(24,24,22,.94)}body.dark-theme .pro-overview-card,body.dark-theme .job-preset-bar,body.dark-theme .pro-feature-gate{background:rgba(245,183,0,.07)}
@media (max-width:760px){.pro-overview-card{grid-template-columns:auto minmax(0,1fr)}.pro-overview-card>button{grid-column:1/-1;width:100%}.pro-feature-gate{grid-template-columns:auto 1fr}.pro-feature-gate>button{grid-column:1/-1;width:100%}.job-preset-bar{grid-template-columns:1fr}.job-preset-actions{display:grid;grid-template-columns:minmax(0,1fr) auto}.job-preset-actions select{max-width:none;width:100%}.preset-row{grid-template-columns:1fr}.preset-row-actions{justify-content:flex-end}}


/* FIX113 — Pro identity + job modal quick preset UX */
#topAccountPlan{display:inline-flex;align-items:center;gap:4px}
#topAccountPlan.is-pro{color:#9a7200;font-weight:900;letter-spacing:.055em}
#topAccountPlan.is-pro .ui-icon{width:11px;height:11px;stroke-width:2.1;color:#d8a400}
.job-preset-manage-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid rgba(151,112,0,.26);border-radius:11px;background:linear-gradient(180deg,#fffdf7,#fff6d8);color:#765700;font:800 11px/1 Manrope,sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 5px 14px rgba(90,67,0,.07);transition:.18s ease}
.job-preset-manage-btn:hover{transform:translateY(-1px);border-color:rgba(176,128,0,.46);box-shadow:0 8px 18px rgba(90,67,0,.1)}
.job-preset-manage-btn .ui-icon{width:14px;height:14px;stroke-width:2}
.job-preset-bar.is-free .job-preset-manage-btn{background:#17160f;border-color:#17160f;color:#f5b700;box-shadow:0 8px 18px rgba(23,22,15,.14)}
.save-as-preset-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:0 13px;border:1px solid rgba(179,132,0,.28);border-radius:13px;background:linear-gradient(180deg,#fffef9,#fff7df);color:#795900;font:850 12px/1 Manrope,sans-serif;cursor:pointer;white-space:nowrap;transition:.18s ease}
.save-as-preset-btn .ui-icon{width:15px;height:15px;stroke-width:2}.save-as-preset-btn em{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:999px;background:#17160f;color:#f5b700;font-size:8px;font-style:normal;letter-spacing:.08em}
.save-as-preset-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(97,72,0,.09)}.save-as-preset-btn:disabled{opacity:.55;cursor:wait;transform:none}
.save-as-preset-btn.is-locked{background:var(--surface-2,#f8f5ef);color:var(--muted,#766e5e);border-color:var(--line)}.save-as-preset-btn.is-locked em{opacity:.95}
body.dark-theme #topAccountPlan.is-pro{color:#f2c546}body.dark-theme .job-preset-manage-btn{background:#2a271d;border-color:#51482c;color:#e8c455}body.dark-theme .job-preset-bar.is-free .job-preset-manage-btn{background:#f2c13c;border-color:#f2c13c;color:#17160f}body.dark-theme .save-as-preset-btn{background:#29261c;border-color:#51482c;color:#e8c455}body.dark-theme .save-as-preset-btn.is-locked{background:#22211d;color:#a9a08c;border-color:#403c31}
@media(max-width:760px){.job-preset-manage-btn{min-width:104px}.save-as-preset-btn{padding:0 10px}.save-as-preset-btn em{display:none}}
@media(max-width:520px){.job-save-actions .spacer{display:none}}


/* FIX114 — Pro sidebar identity + preset spacing + named quick-save */
#topAccountPlan{color:inherit!important;font-weight:inherit!important;letter-spacing:normal!important}
#topAccountPlan .ui-icon{display:none!important}
.sidebar-brand-pro-icon{width:46px;height:46px;flex:0 0 46px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#ffd74c,#e7a900);color:#251b00;box-shadow:0 8px 22px rgba(245,183,0,.2),inset 0 1px 0 rgba(255,255,255,.45)}
.sidebar-brand-pro-icon .ui-icon{width:25px;height:25px;stroke-width:2.1}.sidebar-brand.is-pro b{color:#ffd13d;letter-spacing:.07em}.sidebar-brand.is-pro:hover .sidebar-brand-pro-icon{transform:scale(1.045)}.sidebar-brand-pro-icon{transition:transform .2s var(--ease)}
.sidebar-collapsed .sidebar-brand-pro-icon{width:44px;height:44px;flex-basis:44px}
#presetManager{display:grid;gap:28px}.preset-list-card{margin-top:0!important;padding-top:2px}.preset-list-card>.section-head{padding:0 2px 12px!important;border-bottom:0!important;background:transparent!important}.preset-list-card>.section-head h3{font-size:17px}.preset-list-card>.section-head p{font-size:9px}.preset-list{gap:12px}.preset-row{box-shadow:0 8px 24px rgba(64,49,10,.035)}
.quick-preset-name-modal{z-index:135}.quick-preset-name-card{position:relative;width:min(440px,calc(100vw - 28px));padding:24px;border-radius:24px;border:1px solid rgba(245,183,0,.33);background:var(--card,#fffdf8);color:var(--text,#26231d);box-shadow:0 34px 100px rgba(0,0,0,.28);animation:modalIn .24s var(--ease)}
.quick-preset-name-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#17160f;color:#f5b700;margin-bottom:13px}.quick-preset-name-icon .ui-icon{width:23px;height:23px}.quick-preset-name-card h3{margin:3px 0 7px;font:850 21px/1.25 Manrope,sans-serif}.quick-preset-name-copy{margin:0 0 16px;color:var(--muted,#776f60);font-size:11px;line-height:1.55}.quick-preset-name-card label{display:grid;gap:7px;font-size:11px;font-weight:800}.quick-preset-name-card input{width:100%;min-height:46px;border:1px solid var(--line);border-radius:13px;background:var(--surface,#fff);color:var(--text,#26231d);padding:0 13px;font:700 12px Manrope,sans-serif;outline:none}.quick-preset-name-card input:focus{border-color:rgba(245,183,0,.78);box-shadow:0 0 0 3px rgba(245,183,0,.12)}.quick-preset-name-card>small{display:block;margin-top:8px;color:var(--muted,#776f60);font-size:9px;line-height:1.45}.quick-preset-name-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
body.dark-theme .quick-preset-name-card{background:#211f18;border-color:#544921}body.dark-theme .quick-preset-name-card input{background:#171610;border-color:#4a4432;color:#f5efdf}body.dark-theme .preset-list-card>.section-head{background:transparent!important}
@media(max-width:760px){#presetManager{gap:22px}.quick-preset-name-card{padding:20px;border-radius:21px}.quick-preset-name-actions>button{flex:1}.sidebar-brand-pro-icon{display:none!important}}

/* FIX115 — restore LICHCHUP logo, Pro upsell, Studio entry, compact Pro card + preset separation */
.sidebar-brand #sidebarBrandTitle{display:flex;align-items:center;gap:6px;min-width:0}
.sidebar-brand.is-pro #sidebarBrandTitle{color:#ffd13d;letter-spacing:.055em}
.sidebar-brand.is-pro #sidebarBrandFreeIcon{display:block!important}
.sidebar-brand-pro-badge{width:22px;height:22px;flex:0 0 22px;display:inline-grid;place-items:center;border:1px solid rgba(255,211,61,.36);border-radius:8px;background:rgba(255,211,61,.11);color:#ffd13d;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.sidebar-brand-pro-badge .ui-icon{width:13px;height:13px;stroke-width:2.15}
.sidebar-brand-pro-icon{display:none!important}

/* Free-only Pro CTA in top bar/dropdown */
.lichchup-upgrade-btn[data-upgrade-pro] .ui-icon,.lichchup-upgrade-row[data-upgrade-pro] .ui-icon{color:currentColor}

/* Make the Pro status card the same visual height/rhythm as other Settings rows. */
.settings-hub-page .pro-overview-card{grid-template-columns:40px minmax(0,1fr) auto;min-height:68px;gap:10px;margin:18px;padding:12px;border-radius:15px;box-shadow:none;background:linear-gradient(135deg,rgba(245,183,0,.095),rgba(245,183,0,.025))}
.settings-hub-page .pro-overview-icon{width:40px;height:40px;border-radius:12px}
.settings-hub-page .pro-overview-icon .ui-icon{width:20px;height:20px}
.settings-hub-page .pro-overview-card>div{gap:2px}
.settings-hub-page .pro-kicker{font-size:8px;letter-spacing:.12em}
.settings-hub-page .pro-overview-card b{font-size:10.6px;line-height:1.25}
.settings-hub-page .pro-overview-card small{font-size:8.2px;line-height:1.4}
.settings-hub-page .pro-overview-card>button{min-height:36px;padding:0 13px;border-radius:11px;font-size:10.5px;white-space:nowrap}

.studio-experience-icon{background:#17160f!important;color:#f5b700!important}
.studio-experience-entry b{letter-spacing:.01em}

/* Preset editor and saved list are two clearly independent cards. */
.presets-page #presetManager{display:flex;flex-direction:column;gap:24px;padding:20px 22px 26px}
.presets-page .preset-editor{margin:0;padding:20px;border-radius:20px;background:var(--card,#fff);box-shadow:0 12px 34px rgba(64,49,10,.045)}
.presets-page .preset-list-card{margin:0!important;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--card,#fff);box-shadow:0 12px 34px rgba(64,49,10,.045)}
.presets-page .preset-list-card>.section-head{padding:0 2px 14px!important;margin:0!important;border:0!important;background:transparent!important}
.presets-page .preset-list-card>.section-head h3{margin:0;font-size:17px}
.presets-page .preset-list-card>.section-head p{margin:4px 0 0;font-size:9px}
.presets-page .preset-list{gap:10px}
.presets-page .preset-row{border-radius:14px;box-shadow:none}
body.dark-theme .presets-page .preset-list-card{background:rgba(24,24,22,.94);border-color:#403b2e}

@media(max-width:760px){
  .settings-hub-page .pro-overview-card{grid-template-columns:36px minmax(0,1fr) auto;min-height:60px;margin:12px;padding:10px;gap:9px}
  .settings-hub-page .pro-overview-icon{width:36px;height:36px}
  .settings-hub-page .pro-overview-card>button{grid-column:auto;width:auto;min-height:34px;padding:0 10px;font-size:9.5px}
  .settings-hub-page .pro-overview-card small{font-size:7.7px}
  .presets-page #presetManager{gap:18px;padding:14px 12px 20px}
  .presets-page .preset-editor,.presets-page .preset-list-card{padding:14px;border-radius:17px}
}


/* FIX116 — dark Pro surfaces + Studio entry outside Settings + safe external Studio launch */
.studio-experience-card{margin:0 26px 26px;padding:17px 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border:1px solid rgba(245,183,0,.30);border-radius:20px;background:linear-gradient(135deg,rgba(255,250,229,.96),rgba(255,244,196,.64));box-shadow:0 12px 34px rgba(88,65,8,.06)}
.studio-experience-card-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#1f1d14;color:#ffd84a;box-shadow:0 9px 22px rgba(32,28,13,.14)}
.studio-experience-card-icon .ui-icon{width:21px;height:21px;stroke-width:2}
.studio-experience-card>div{display:grid;gap:4px}.studio-experience-card b{font:800 13px Manrope,sans-serif}.studio-experience-card small{font-size:9px;line-height:1.55;color:#82755c;max-width:660px}
.studio-experience-card-btn{min-height:42px;border:0;border-radius:13px;padding:10px 14px;background:#1f1d14;color:#ffd84a;font-size:10.5px;font-weight:850;white-space:nowrap;box-shadow:0 8px 18px rgba(32,28,13,.12);cursor:pointer;transition:.2s var(--ease)}
.studio-experience-card-btn:hover{transform:translateY(-2px);background:#302a19}

/* Dark mode: never leave light feature tiles/buttons inside dark Pro UI. */
body.dark-theme .pro-info-card{background:linear-gradient(160deg,#1d1c17,#171712);border-color:#4f421f;color:#f5efdf;box-shadow:0 32px 100px rgba(0,0,0,.56)}
body.dark-theme .pro-info-brand>span{background:#0f0f0c;color:#f3c43c;border:1px solid #493d1f}
body.dark-theme .pro-info-brand small{color:#d6ad38}
body.dark-theme .pro-info-card>h3{color:#f5efdf}
body.dark-theme .pro-feature-list article{background:#26231a;border:1px solid #403a2b;color:#f1e8d4;box-shadow:none}
body.dark-theme .pro-feature-list article>.ui-icon{color:#efbd35}
body.dark-theme .pro-feature-list article b{color:#f6eedb}
body.dark-theme .pro-feature-list small{color:#b9ae96}
body.dark-theme .pro-modal-status{background:#302916;border:1px solid #4f4222;color:#ead9a4}
body.dark-theme .pro-info-card>.primary-btn{background:linear-gradient(135deg,#f2c13c,#dea400);color:#241b04;border-color:transparent}

body.dark-theme .presets-page{color:#f3ecd9}
body.dark-theme .presets-page .notification-settings-head{background:#201e17;border-color:#383326}
body.dark-theme .presets-page .preset-editor,body.dark-theme .presets-page .preset-list-card{background:#1d1c17!important;border-color:#3e382b!important;color:#f3ecd9;box-shadow:0 14px 38px rgba(0,0,0,.20)}
body.dark-theme .presets-page .preset-editor-head b,body.dark-theme .presets-page .preset-list-card h3,body.dark-theme .presets-page .preset-row-copy>b{color:#f4ecda}
body.dark-theme .presets-page .preset-editor-head small,body.dark-theme .presets-page .preset-list-card .section-head p,body.dark-theme .presets-page .preset-row-copy small{color:#aaa087}
body.dark-theme .presets-page .preset-editor label{color:#e8dfcb}
body.dark-theme .presets-page .preset-editor input,body.dark-theme .presets-page .preset-editor select,body.dark-theme .presets-page .preset-editor textarea{background:#15150f;border-color:#443e30;color:#f4ecda;box-shadow:none}
body.dark-theme .presets-page .preset-editor input::placeholder,body.dark-theme .presets-page .preset-editor textarea::placeholder{color:#817966}
body.dark-theme .presets-page .preset-editor input:focus,body.dark-theme .presets-page .preset-editor select:focus,body.dark-theme .presets-page .preset-editor textarea:focus{border-color:#bd9126;box-shadow:0 0 0 3px rgba(245,183,0,.10)}
body.dark-theme .presets-page .preset-row{background:#24221b;border-color:#403a2d;color:#f4ecda}
body.dark-theme .presets-page .preset-row-actions button{background:#302d23;border-color:#504936;color:#f2e9d5}
body.dark-theme .presets-page .preset-row-actions button:hover{background:#393428;border-color:#665a3a}
body.dark-theme .presets-page .preset-row-actions button[data-delete-preset]{background:#33201e;border-color:#5b302b;color:#ff9f95}
body.dark-theme .presets-page .preset-empty{border-color:#4a4332;color:#aaa087;background:#211f19}
body.dark-theme .presets-page .feedback-back-btn{background:#26231a;border-color:#49412d;color:#eadfca}

body.dark-theme .studio-experience-card{background:linear-gradient(135deg,rgba(37,33,23,.98),rgba(52,42,20,.92));border-color:#514323;color:#f3ead4}
body.dark-theme .studio-experience-card small{color:#aaa087}
body.dark-theme .studio-experience-card-icon{background:#11110d;border:1px solid #4a3d1f;color:#f3c43c}
body.dark-theme .studio-experience-card-btn{background:#e0aa18;color:#261d05}
body.dark-theme .studio-experience-card-btn:hover{background:#f0bd2b}

@media(max-width:760px){
  .studio-experience-card{margin:0 14px 18px;padding:14px;grid-template-columns:auto 1fr;gap:11px;border-radius:17px}
  .studio-experience-card-icon{width:40px;height:40px;border-radius:13px}
  .studio-experience-card-btn{grid-column:1/3;width:100%;min-height:44px}
  .studio-experience-card small{font-size:8.7px}
}

/* FIX117 • LICHCHUP PRO: CRM, reports and smart automation */
.finance-pro-report-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin:16px 0;padding:17px 18px;border:1px solid #ead8a1;border-radius:20px;background:linear-gradient(135deg,#fffaf0,#fff1b7);box-shadow:var(--shadow-soft)}
.finance-pro-report-card>span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#171710;color:#ffc928}.finance-pro-report-card .ui-icon{width:21px;height:21px}.finance-pro-report-card div{display:grid;gap:3px}.finance-pro-report-card b{font-size:14px}.finance-pro-report-card small{font-size:10px;color:#82775d}.finance-pro-report-card button{border:0;border-radius:12px;padding:10px 14px;background:#171710;color:#fff;font-weight:800}.finance-pro-report-card.is-pro button{background:linear-gradient(135deg,#f5bd16,#d99b00);color:#2d2200}
.pro-notification-group{position:relative;border-color:#e3c75f;background:linear-gradient(155deg,#fffdf8,#fff7d5)}.pro-notification-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.pro-notification-title>div{display:grid;gap:4px}.pro-notification-gate-btn{border:0;border-radius:12px;background:#171710;color:#ffd13a;padding:9px 12px;font-size:10px;font-weight:900;white-space:nowrap}.pro-notification-group.is-locked .pro-notification-option{opacity:.48;filter:saturate(.65)}.pro-option-control{display:flex;align-items:center;gap:10px}.notification-time-input{width:94px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--text);padding:8px 9px;font-size:11px;font-weight:800}
.pro-customers-layout{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(430px,1.08fr);gap:16px;align-items:start}.pro-customer-list-pane,.pro-customer-detail,.pro-report-card{border:1px solid var(--line);background:var(--surface);border-radius:22px;box-shadow:var(--shadow-soft)}.pro-customer-list-pane{padding:14px}.pro-customer-detail{min-height:420px;padding:16px;position:sticky;top:94px}.pro-customer-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.pro-customer-kpis article,.pro-customer-detail-kpis article,.pro-report-kpis article{display:grid;gap:4px;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--bg2)}.pro-customer-kpis span,.pro-customer-detail-kpis span,.pro-report-kpis span{font-size:9px;color:var(--muted);font-weight:700}.pro-customer-kpis b,.pro-customer-detail-kpis b,.pro-report-kpis b{font:800 16px/1.2 "Manrope",sans-serif}.pro-search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--bg2);border-radius:14px;padding:0 12px;margin-bottom:10px}.pro-search-box .ui-icon{width:16px;height:16px;color:#a27b10}.pro-search-box input{width:100%;border:0;outline:0;background:transparent;color:var(--text);padding:12px 0;font-size:11px}.pro-customer-list{display:grid;gap:7px;max-height:620px;overflow:auto;padding-right:2px}.pro-customer-row{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;text-align:left;border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:11px;transition:.18s var(--ease)}.pro-customer-row:hover,.pro-customer-row.active{border-color:#e1b730;background:#fff9df;transform:translateY(-1px)}.pro-customer-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ffda55,#e5a700);color:#3a2b00;font-size:10px;font-weight:900}.pro-customer-avatar.xl{width:52px;height:52px;font-size:13px}.pro-customer-copy,.pro-customer-money{display:grid;gap:3px}.pro-customer-copy b{font-size:11px}.pro-customer-copy small,.pro-customer-money small{font-size:8.8px;color:var(--muted)}.pro-customer-money{text-align:right}.pro-customer-money b{font-size:10px}.pro-customer-detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}.pro-customer-detail-head>div{display:flex;align-items:center;gap:11px}.pro-customer-detail-head>div>div{display:grid;gap:2px}.pro-customer-detail-head small{font-size:8px;letter-spacing:.14em;color:#a27b10;font-weight:900}.pro-customer-detail-head h3{margin:0;font:800 18px "Manrope",sans-serif}.pro-customer-detail-head p{margin:0;font-size:9px;color:var(--muted)}.pro-customer-detail-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}.pro-customer-history-head{display:flex;justify-content:space-between;align-items:end;margin:8px 0}.pro-customer-history-head b{font-size:12px}.pro-customer-history-head small{font-size:8.5px;color:var(--muted)}.pro-customer-history{display:grid;gap:7px;max-height:430px;overflow:auto}.pro-customer-job{display:flex;justify-content:space-between;gap:16px;text-align:left;border:1px solid var(--line);background:var(--bg2);border-radius:14px;padding:11px}.pro-customer-job:hover{border-color:#dfbd4b}.pro-customer-job>span{display:grid;gap:3px}.pro-customer-job>span:last-child{text-align:right}.pro-customer-job b{font-size:10px}.pro-customer-job small{font-size:8.5px;color:var(--muted)}.pro-empty-state{min-height:300px;display:grid;place-items:center;align-content:center;gap:7px;text-align:center;color:var(--muted)}.pro-empty-state .ui-icon{width:28px;height:28px;color:#c28c00}.pro-empty-state b{font-size:12px;color:var(--text)}.pro-empty-state small{font-size:9px;max-width:260px}.pro-empty-state.compact{min-height:120px}.pro-loading{padding:30px;text-align:center;color:var(--muted);font-size:10px}
.pro-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pro-report-filters,.pro-report-actions{display:flex;gap:8px;align-items:center}.pro-report-filters select{border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);padding:10px 12px;font-weight:800;font-size:10px}.pro-report-actions .ghost-btn{display:inline-flex;align-items:center;gap:7px}.pro-report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.pro-report-kpis article{padding:16px;background:linear-gradient(145deg,var(--surface),var(--bg2))}.pro-report-kpis small{font-size:8.7px;color:var(--muted)}.pro-report-kpis small.down{color:#c85d5d}.pro-report-card{padding:15px;margin-bottom:12px}.pro-report-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pro-monthly-chart{height:220px;display:grid;grid-template-columns:repeat(12,1fr);align-items:end;gap:8px;padding:10px 2px 0}.pro-month-bar-wrap{height:100%;display:grid;grid-template-rows:1fr auto auto;gap:4px;align-items:end;text-align:center}.pro-month-bar-track{height:100%;min-height:110px;border-radius:10px;background:var(--bg2);display:flex;align-items:flex-end;overflow:hidden;border:1px solid var(--line)}.pro-month-bar-track i{width:100%;display:block;min-height:0;background:linear-gradient(180deg,#ffd84f,#e9a900);border-radius:8px 8px 0 0;transition:.3s}.pro-month-bar-wrap b{font-size:8px}.pro-month-bar-wrap small{font-size:7.5px;color:var(--muted)}.pro-report-list{display:grid;gap:7px}.pro-report-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:13px;padding:10px;background:var(--bg2);text-align:left;color:var(--text)}.pro-report-row span{display:grid;gap:3px}.pro-report-row b{font-size:10px}.pro-report-row small{font-size:8.3px;color:var(--muted)}.pro-report-row strong{font-size:10px;white-space:nowrap}.pro-report-row.as-button{cursor:pointer}.pro-report-row.as-button:hover{border-color:#deb73b}
body.dark-theme .finance-pro-report-card{background:linear-gradient(135deg,#242016,#30270f);border-color:#5c4a1a}body.dark-theme .finance-pro-report-card small{color:#b9ad90}body.dark-theme .pro-notification-group{background:linear-gradient(155deg,#242117,#2e2713);border-color:#66511d}body.dark-theme .notification-time-input{background:#191812;border-color:#4a4432;color:#f6efdd}body.dark-theme .pro-customer-list-pane,body.dark-theme .pro-customer-detail,body.dark-theme .pro-report-card{background:#211f18;border-color:#403a2b}body.dark-theme .pro-customer-kpis article,body.dark-theme .pro-customer-detail-kpis article,body.dark-theme .pro-report-kpis article,body.dark-theme .pro-customer-job,body.dark-theme .pro-report-row,body.dark-theme .pro-month-bar-track{background:#191812;border-color:#3f392b}body.dark-theme .pro-search-box,body.dark-theme .pro-report-filters select{background:#191812;border-color:#4a4432;color:#f6efdd}body.dark-theme .pro-search-box input{color:#f6efdd}body.dark-theme .pro-customer-row{background:#211f18;border-color:#403a2b;color:#f7f1df}body.dark-theme .pro-customer-row:hover,body.dark-theme .pro-customer-row.active{background:#302913;border-color:#92701a}body.dark-theme .pro-month-bar-track i{background:linear-gradient(180deg,#ffd34a,#bd8300)}
@media(max-width:920px){.finance-pro-report-card{grid-template-columns:auto 1fr}.finance-pro-report-card button{grid-column:1/-1;width:100%}.pro-customers-layout{grid-template-columns:1fr}.pro-customer-detail{position:static;min-height:300px}.pro-report-kpis{grid-template-columns:1fr 1fr}.pro-report-two-col{grid-template-columns:1fr}.pro-report-toolbar{align-items:stretch;flex-direction:column}.pro-report-filters,.pro-report-actions{display:grid;grid-template-columns:1fr 1fr}.pro-monthly-chart{gap:4px;overflow-x:auto;grid-template-columns:repeat(12,minmax(32px,1fr))}.pro-customer-detail-kpis{grid-template-columns:1fr 1fr}.pro-customer-kpis{grid-template-columns:1fr 1fr 1fr}.pro-notification-title{align-items:flex-start}.pro-option-control{flex-direction:column;align-items:flex-end;gap:6px}}
@media(max-width:560px){.pro-customer-kpis{grid-template-columns:1fr}.pro-report-kpis{grid-template-columns:1fr 1fr}.pro-customer-row{grid-template-columns:auto 1fr}.pro-customer-money{grid-column:2;text-align:left}.pro-customer-detail-head{align-items:flex-start;flex-direction:column}.pro-customer-detail-head .primary-btn{width:100%}.pro-report-actions{grid-template-columns:1fr}.pro-report-filters{grid-template-columns:1fr 1fr}.pro-notification-option{align-items:flex-start}.pro-option-control{min-width:96px}}
@media print{body.pro-report-printing *{visibility:hidden!important}body.pro-report-printing #proReportsView,body.pro-report-printing #proReportsView *{visibility:visible!important}body.pro-report-printing #proReportsView{position:absolute;inset:0;width:100%;background:#fff;color:#111;padding:0}body.pro-report-printing .feedback-back-btn,body.pro-report-printing .pro-report-toolbar,body.pro-report-printing .sidebar,body.pro-report-printing .topbar{display:none!important}body.pro-report-printing .notification-settings-page{max-width:none;width:100%;box-shadow:none;border:0}body.pro-report-printing .pro-report-card,body.pro-report-printing .pro-report-kpis article{break-inside:avoid;box-shadow:none}}

/* FIX118 • PRO report polish, bank-like finance summary, dedicated desktop nav */
.pro-reports-nav{position:relative}.pro-reports-nav em{margin-left:auto;font-style:normal;font-size:9px;font-weight:800;letter-spacing:.04em;padding:3px 6px;border-radius:999px;background:rgba(242,183,5,.13);color:#d8a500;border:0;opacity:1}.sidebar.collapsed .pro-reports-nav em{display:none}
.finance-pro-summary-card{margin:16px 0;padding:18px;border:1px solid #ead8a1;border-radius:22px;background:linear-gradient(145deg,#171710,#272313 72%,#342a0f);color:#fff;box-shadow:0 16px 40px rgba(57,44,10,.13);overflow:hidden;position:relative}.finance-pro-summary-card:before{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-90px;top:-120px;background:radial-gradient(circle,rgba(255,210,60,.27),transparent 66%)}.finance-pro-summary-head,.finance-pro-summary-main,.finance-pro-summary-grid{position:relative;z-index:1}.finance-pro-summary-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.finance-pro-summary-head>div{display:grid;gap:4px}.finance-pro-summary-head span{font-size:8px;font-weight:900;letter-spacing:.18em;color:#dcb43f}.finance-pro-summary-head b{font:800 15px/1.2 "Manrope",sans-serif}.finance-pro-summary-head button{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#ffe17a;border-radius:12px;padding:9px 11px;font-size:9px;font-weight:900}.finance-pro-summary-head button:hover{background:rgba(255,255,255,.13)}.finance-pro-summary-head button .ui-icon{width:14px;height:14px}.finance-pro-summary-main{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 2px 16px}.finance-pro-summary-main>div:first-child{display:grid;gap:5px}.finance-pro-summary-main small{font-size:9px;color:#bdb49b}.finance-pro-summary-main strong{font:900 30px/1.05 "Manrope",sans-serif;letter-spacing:-.03em}.finance-pro-trend{font-size:9px;font-weight:800;color:#c8c1ac}.finance-pro-trend.up{color:#7ee3a2}.finance-pro-trend.down{color:#ff9d9d}.finance-pro-ring{--paid:0;width:82px;height:82px;border-radius:50%;display:grid;place-items:center;align-content:center;background:radial-gradient(circle at center,#1d1b12 0 52%,transparent 53%),conic-gradient(#f3c21c calc(var(--paid)*1%),rgba(255,255,255,.12) 0);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}.finance-pro-ring b{font:900 18px "Manrope",sans-serif}.finance-pro-ring small{font-size:7px;letter-spacing:.08em;text-transform:uppercase}.finance-pro-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.finance-pro-summary-grid article{display:grid;gap:4px;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.05)}.finance-pro-summary-grid span{font-size:8px;color:#aaa28d}.finance-pro-summary-grid b{font-size:11px;color:#fff}
.pro-reports-page{max-width:1120px!important}.pro-reports-page .notification-settings-head{padding-bottom:20px}.pro-report-toolbar{padding:14px 18px;margin:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(180deg,var(--surface),var(--bg2))}.pro-report-actions{flex-wrap:wrap}.report-download-btn{min-height:42px;padding:10px 14px!important;border-radius:13px!important;font-weight:900!important}.pro-report-kpis{padding:16px 18px 4px;margin:0;gap:12px}.pro-report-kpis article{min-width:0;padding:17px 16px}.pro-report-kpis b{font-size:17px!important;overflow-wrap:anywhere}.pro-report-card{margin:12px 18px 0;padding:18px}.pro-report-two-col{margin:0 18px 18px;gap:12px}.pro-report-two-col .pro-report-card{margin:12px 0 0;min-width:0}.pro-monthly-chart{height:240px;gap:10px}.pro-report-row{min-width:0}.pro-report-row span{min-width:0}.pro-report-row b,.pro-report-row small{overflow-wrap:anywhere}.pro-report-row strong{max-width:45%;overflow-wrap:anywhere;text-align:right}
body.dark-theme .finance-pro-summary-card{border-color:#66511d;background:linear-gradient(145deg,#11110d,#222018 70%,#2d2510)}body.dark-theme .pro-report-toolbar{background:linear-gradient(180deg,#201e17,#191812)}
@media(max-width:920px){.finance-pro-summary-head{align-items:flex-start}.finance-pro-summary-main strong{font-size:25px}.pro-reports-page{max-width:100%!important}.pro-report-toolbar{margin:0;padding:12px}.pro-report-kpis{padding:12px}.pro-report-card{margin:10px 12px 0}.pro-report-two-col{margin:0 12px 12px}.pro-monthly-chart{height:210px}.pro-report-actions .report-download-btn{width:100%;justify-content:center}}
@media(max-width:560px){.finance-pro-summary-card{padding:15px;border-radius:18px}.finance-pro-summary-head{display:grid}.finance-pro-summary-head button{width:100%;justify-content:center}.finance-pro-summary-main{padding-top:15px}.finance-pro-summary-main strong{font-size:22px}.finance-pro-ring{width:70px;height:70px}.finance-pro-summary-grid{grid-template-columns:1fr}.pro-report-kpis{grid-template-columns:1fr 1fr;gap:8px}.pro-report-kpis article{padding:13px}.pro-report-kpis b{font-size:14px!important}.pro-report-toolbar{gap:8px}.pro-report-filters{grid-template-columns:1fr 1fr}.pro-report-actions{display:grid;grid-template-columns:1fr}.pro-report-card{padding:14px}.pro-report-two-col{grid-template-columns:1fr}.pro-monthly-chart{overflow-x:auto;grid-template-columns:repeat(12,minmax(38px,1fr));gap:5px}.pro-report-row{align-items:flex-start}.pro-report-row strong{max-width:40%}}

/* FIX173 • Báo cáo Pro UI Redesign (flat workspace, open 12-month bar chart, inline tax pill, light & dark balanced) */
#proReportsView{padding-bottom:0!important}
#proReportsView>.pro-reports-page,
body.dark-theme #proReportsView>.pro-reports-page{width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
#proReportsView #proReportsManager{padding:0 30px 44px}
#proReportsView .pro-report-top-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:12px 0 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:20px}
#proReportsView .pro-report-profile-inline{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:4px 5px 4px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);max-width:100%}
#proReportsView .pro-report-profile-pill{display:inline-flex;align-items:center;gap:6px;min-width:0;font-size:10.5px;color:var(--text)}
#proReportsView .pro-report-profile-pill .ui-icon{width:13px;height:13px;color:#b17e00;flex:0 0 auto}
#proReportsView .pro-report-profile-pill b{font-weight:800;white-space:nowrap}
#proReportsView .pro-report-profile-pill small{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}
#proReportsView .pro-report-profile-inline-btn{border:0;border-radius:999px;background:var(--bg2);color:var(--text);padding:4px 10px;font:800 9.5px "Manrope";cursor:pointer;white-space:nowrap;transition:background .14s ease,color .14s ease}
#proReportsView .pro-report-profile-inline-btn:hover{background:#fff1b8;color:#755200}

#proReportsView .pro-report-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0;background:transparent;flex-shrink:0}
#proReportsView .pro-report-filters{display:flex;align-items:center;gap:7px}
#proReportsView .pro-report-filters select{height:36px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:0 26px 0 11px;font:750 11px "Manrope";outline:0;cursor:pointer}
#proReportsView .pro-report-filters select:focus{border-color:#d5aa26}
#proReportsView .pro-report-actions{display:flex;align-items:center;gap:7px}
#proReportsView .pro-report-actions .report-download-btn{height:36px;min-height:36px;padding:0 13px!important;border-radius:10px!important;font-size:11px!important;font-weight:800!important;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
#proReportsView .pro-report-actions .report-download-btn .ui-icon{width:14px;height:14px}

#proReportsView .pro-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 24px;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}
#proReportsView .pro-report-kpis article{border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;padding:15px 18px;display:grid;gap:4px;align-content:start;min-width:0;box-shadow:none}
#proReportsView .pro-report-kpis article:last-child{border-right:0}
#proReportsView .pro-report-kpis article.is-lead{background:rgba(245,183,0,.06)}
#proReportsView .pro-report-kpis article.is-lead b{color:#8a6100}
#proReportsView .pro-report-kpis article.has-debt b{color:#b44530}
#proReportsView .pro-report-kpis span{font-size:10px;font-weight:750;color:var(--muted)}
#proReportsView .pro-report-kpis b{font:800 19px/1.15 "Manrope",sans-serif!important;color:var(--text);letter-spacing:-.02em;overflow-wrap:anywhere}
#proReportsView .pro-report-kpis small{font-size:10px;color:var(--muted);font-weight:600}
#proReportsView .pro-report-kpis small.up{color:#1e784b}
#proReportsView .pro-report-kpis small.down{color:#b44530}

#proReportsView .pro-report-trend-section{margin:0 0 24px;padding:0 0 22px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
#proReportsView .pro-report-trend-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:14px 20px;margin-bottom:18px}
#proReportsView .pro-report-trend-head .eyebrow{margin:0 0 4px;color:#9d7000;font-size:8.5px;font-weight:850;letter-spacing:.14em}
#proReportsView .pro-report-trend-head h3{margin:0 0 3px;font:800 17px/1.2 "Manrope",sans-serif;color:var(--text)}
#proReportsView .pro-report-trend-head p:not(.eyebrow){margin:0;color:var(--muted);font-size:10.5px}
#proReportsView .pro-report-compare{display:inline-grid;grid-template-columns:repeat(3,auto);gap:0;min-width:0;border:1px solid var(--line);border-radius:11px;background:var(--surface);overflow:hidden}
#proReportsView .pro-report-compare article{border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;padding:7px 14px;display:grid;gap:2px}
#proReportsView .pro-report-compare article:last-child{border-right:0}
#proReportsView .pro-report-compare span{font-size:9px;color:var(--muted);font-weight:750;white-space:nowrap}
#proReportsView .pro-report-compare b{font:800 12.5px/1.15 "Manrope",sans-serif;white-space:nowrap;color:var(--text)}
#proReportsView .pro-report-compare b.up{color:#1e784b}
#proReportsView .pro-report-compare b.down{color:#b44530}

#proReportsView .pro-monthly-chart.pro-monthly-chart-expanded{height:240px;display:grid;grid-template-columns:repeat(12,minmax(48px,1fr));gap:8px;align-items:end;padding:10px 4px 0;overflow-x:auto;overflow-y:hidden}
#proReportsView .pro-month-bar-wrap{appearance:none;border:0;background:transparent;height:100%;display:grid;grid-template-rows:20px 1fr auto auto;gap:5px;align-items:end;text-align:center;min-width:0;padding:6px 4px 8px;border-radius:12px;cursor:pointer;color:var(--text);transition:background .15s ease,box-shadow .15s ease}
#proReportsView .pro-month-bar-wrap:hover{background:rgba(245,183,0,.07)}
#proReportsView .pro-month-bar-wrap.active{background:rgba(245,183,0,.11);box-shadow:inset 0 0 0 1px rgba(215,168,20,.38)}
#proReportsView .pro-month-money{font:750 9.5px/1 "Manrope";color:var(--muted);opacity:.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#proReportsView .pro-month-bar-wrap.has-val .pro-month-money{color:var(--text);opacity:1}
#proReportsView .pro-month-bar-wrap.active .pro-month-money{color:#9d6f00;opacity:1}
#proReportsView .pro-month-bar-track{position:relative;width:100%;height:100%;min-height:110px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;display:flex;align-items:flex-end;justify-content:center;overflow:visible}
#proReportsView .pro-month-bar-track:before,#proReportsView .pro-month-bar-track:after{display:none}
#proReportsView .pro-month-bar-track i{width:min(32px,72%);display:block;min-height:3px;border-radius:7px 7px 2px 2px;background:color-mix(in srgb,var(--line) 88%,transparent);opacity:.55;transition:height .25s ease,background .15s ease}
#proReportsView .pro-month-bar-wrap.has-val .pro-month-bar-track i{background:linear-gradient(180deg,#f7cc3b,#df9d00);opacity:1;box-shadow:0 4px 12px rgba(223,157,0,.22)}
#proReportsView .pro-month-bar-wrap.active .pro-month-bar-track i{background:linear-gradient(180deg,#ffd852,#cb8900);opacity:1}
#proReportsView .pro-month-bar-wrap>b{font:750 10.5px "Manrope";color:var(--muted)}
#proReportsView .pro-month-bar-wrap.has-val>b{color:var(--text)}
#proReportsView .pro-month-bar-wrap.active>b{color:#9d6f00}
#proReportsView .pro-month-bar-wrap>small{font-size:9px;color:var(--muted);opacity:.78}
#proReportsView .pro-chart-legend{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:10px;padding:0;border:0;color:var(--muted);font-size:10px}
#proReportsView .pro-chart-legend span{display:inline-flex;align-items:center;gap:7px;font-weight:750;color:var(--text)}
#proReportsView .pro-chart-legend i{width:10px;height:10px;border-radius:3px;background:linear-gradient(180deg,#f7cc3b,#df9d00)}

#proReportsView .pro-report-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0;padding:0}
#proReportsView .pro-report-two-col .pro-report-card{margin:0;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:none;min-width:0}
#proReportsView .pro-report-card .section-head{margin-bottom:12px;padding-bottom:11px;border-bottom:1px solid var(--line)}
#proReportsView .pro-report-card .section-head h3{margin:0 0 2px;font:800 15px/1.2 "Manrope";color:var(--text)}
#proReportsView .pro-report-card .section-head p{margin:0;font-size:10px;color:var(--muted)}
#proReportsView .pro-report-card .pro-empty-state.compact{min-height:84px;padding:16px 12px;font-size:11px}
#proReportsView .pro-report-list{display:grid;gap:2px}
#proReportsView .pro-report-row{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:10px 4px;text-align:left;color:var(--text)}
#proReportsView .pro-report-row:last-child{border-bottom:0}
#proReportsView .pro-report-row.as-button{cursor:pointer;border-radius:9px;padding:10px 8px;transition:background .14s ease}
#proReportsView .pro-report-row.as-button:hover{background:rgba(245,183,0,.08)}
#proReportsView .pro-report-row-copy{min-width:0;flex:1;display:grid;gap:4px}
#proReportsView .pro-report-row-copy b{font:750 12px/1.25 "Manrope";color:var(--text);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#proReportsView .pro-report-row-copy b em{font-style:normal;font:800 9.5px "Manrope";padding:2px 6px;border-radius:6px;background:var(--bg2);color:var(--muted)}
#proReportsView .pro-report-row-copy small{font-size:10px;color:var(--muted)}
#proReportsView .pro-report-bar{display:block;height:4px;border-radius:999px;background:var(--line);overflow:hidden;margin-top:2px}
#proReportsView .pro-report-bar u{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#f5c22c,#de9b00);text-decoration:none}
#proReportsView .pro-report-row strong{font:800 12.5px "Manrope";color:var(--text);white-space:nowrap}

/* Dark theme overrides for Báo cáo Pro */
body.dark-theme #proReportsView .pro-report-head-icon{background:rgba(245,183,0,.14);color:#f6ca45}
body.dark-theme #proReportsView .pro-report-head-copy .eyebrow,
body.dark-theme #proReportsView .pro-report-trend-head .eyebrow{color:#e6ba3a}
body.dark-theme #proReportsView .pro-report-profile-inline{background:#191711;border-color:#353023}
body.dark-theme #proReportsView .pro-report-profile-pill .ui-icon{color:#f5c32e}
body.dark-theme #proReportsView .pro-report-profile-inline-btn{background:#252217;color:#f5efdf}
body.dark-theme #proReportsView .pro-report-profile-inline-btn:hover{background:#342e1d;color:#ffd452}
body.dark-theme #proReportsView .pro-report-filters select{background:#181610;border-color:#383224;color:#f5efdf}
body.dark-theme #proReportsView .pro-report-kpis{background:#191711;border-color:#353023}
body.dark-theme #proReportsView .pro-report-kpis article{border-color:#2d291e;background:transparent}
body.dark-theme #proReportsView .pro-report-kpis article.is-lead{background:rgba(245,183,0,.09)}
body.dark-theme #proReportsView .pro-report-kpis article.is-lead b{color:#ffd452}
body.dark-theme #proReportsView .pro-report-kpis article.has-debt b{color:#ff9b89}
body.dark-theme #proReportsView .pro-report-kpis small.up{color:#7fe0ac}
body.dark-theme #proReportsView .pro-report-kpis small.down{color:#ff9e8e}
body.dark-theme #proReportsView .pro-report-compare{background:#191711;border-color:#353023}
body.dark-theme #proReportsView .pro-report-compare article{border-color:#2d291e;background:transparent}
body.dark-theme #proReportsView .pro-report-compare b.up{color:#7fe0ac}
body.dark-theme #proReportsView .pro-report-compare b.down{color:#ff9e8e}
body.dark-theme #proReportsView .pro-month-bar-track{background:transparent;border-color:#322d22}
body.dark-theme #proReportsView .pro-month-bar-wrap.active .pro-month-money,
body.dark-theme #proReportsView .pro-month-bar-wrap.active>b{color:#ffd452}
body.dark-theme #proReportsView .pro-report-two-col .pro-report-card{background:#191711;border-color:#353023}
body.dark-theme #proReportsView .pro-report-row{border-color:#2d291e;background:transparent}
body.dark-theme #proReportsView .pro-report-row-copy b em{background:#242117;color:#bfb59c}

@media(min-width:761px){
  body.pro-wide-view #proReportsView{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  #proReportsBackBtn{display:none!important}
}
@media(max-width:980px){
  #proReportsView #proReportsManager{padding:0 18px 36px}
  #proReportsView .pro-report-kpis{grid-template-columns:1fr 1fr}
  #proReportsView .pro-report-kpis article:nth-child(2){border-right:0}
  #proReportsView .pro-report-kpis article:nth-child(1),
  #proReportsView .pro-report-kpis article:nth-child(2){border-bottom:1px solid var(--line)}
  #proReportsView .pro-report-two-col{grid-template-columns:1fr}
}
@media(max-width:760px){
  #proReportsView #proReportsManager{padding:0 14px 30px}
  #proReportsView .pro-report-top-bar{flex-direction:column;align-items:stretch}
  #proReportsView .pro-report-head-left{flex-basis:auto}
  #proReportsView .pro-report-toolbar{flex-direction:column;align-items:stretch}
  #proReportsView .pro-report-filters{display:grid;grid-template-columns:1fr 1fr}
  #proReportsView .pro-report-actions{display:grid;grid-template-columns:1fr 1fr}
  #proReportsView .pro-report-actions .report-download-btn{justify-content:center}
  #proReportsView .pro-report-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  #proReportsView .pro-report-compare article{padding:7px 9px}
  #proReportsView .pro-monthly-chart.pro-monthly-chart-expanded{height:215px;grid-template-columns:repeat(12,minmax(50px,1fr));gap:4px}
}
@media(max-width:560px){
  #proReportsView .pro-report-kpis article{padding:12px 13px}
  #proReportsView .pro-report-kpis b{font-size:15px!important}
  #proReportsView .pro-report-actions{grid-template-columns:1fr}
  #proReportsView .pro-report-compare{grid-template-columns:1fr}
  #proReportsView .pro-report-compare article{display:flex;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line)}
  #proReportsView .pro-report-compare article:last-child{border-bottom:0}
  #proReportsView .pro-report-profile-pill small{max-width:175px}
}
@media print{
  body.pro-report-printing .pro-report-profile-inline-btn{display:none!important}
}

/* FIX120 • report identity + accounting reconciliation */
.pro-report-profile-card{margin:14px 18px 2px;padding:18px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--bg2) 62%,var(--surface)));box-shadow:var(--shadow-soft)}
.pro-report-profile-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.pro-report-profile-head>div{display:grid;gap:4px}.pro-report-profile-head .eyebrow{margin:0;color:#a57c10;font-size:8px;font-weight:900;letter-spacing:.16em}.pro-report-profile-head h3{margin:0;font:900 16px/1.2 "Manrope",sans-serif}.pro-report-profile-head p:not(.eyebrow){margin:0;color:var(--muted);font-size:9px}.pro-report-profile-head .ghost-btn{min-width:120px;justify-content:center}
.pro-report-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.pro-report-profile-grid label{display:grid;gap:6px;color:var(--muted);font-size:9px;font-weight:800}.pro-report-profile-grid label.wide{grid-column:1/-1}.pro-report-profile-grid input{width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--bg2);color:var(--text);padding:10px 12px;outline:none}.pro-report-profile-grid input:focus{border-color:#d8a918;box-shadow:0 0 0 3px rgba(245,183,0,.11)}.pro-report-legal-note{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:rgba(245,183,0,.08);color:var(--muted);font-size:8.5px;line-height:1.55}
.job-accounting-meta{display:grid;gap:12px;padding:14px;border:1px solid #eadfc4;border-radius:16px;background:linear-gradient(135deg,#fffdf8,#fff8e6)}.job-accounting-meta-head{display:flex;align-items:center;justify-content:space-between}.job-accounting-meta-head>div{display:grid;gap:3px}.job-accounting-meta-head b{font-size:11px}.job-accounting-meta-head small{font-size:8.7px;color:#9a8d74}.job-accounting-meta select,.job-accounting-meta input{background:#fff}
body.dark-theme .pro-report-profile-card{background:linear-gradient(145deg,#201e17,#191812);border-color:#403a2b}body.dark-theme .pro-report-profile-grid input{background:#15150f;border-color:#443e30;color:#f4ecda}body.dark-theme .pro-report-legal-note{background:rgba(245,183,0,.08);color:#bdb29a}body.dark-theme .job-accounting-meta{background:linear-gradient(135deg,#211f18,#191812);border-color:#403a2b}body.dark-theme .job-accounting-meta select,body.dark-theme .job-accounting-meta input{background:#15150f;border-color:#443e30;color:#f4ecda}
@media(max-width:760px){.pro-report-profile-card{margin:10px 12px 2px;padding:14px}.pro-report-profile-head{align-items:flex-start;flex-direction:column}.pro-report-profile-head .ghost-btn{width:100%}.pro-report-profile-grid{grid-template-columns:1fr}.pro-report-profile-grid label.wide{grid-column:auto}.job-accounting-meta{padding:12px}}

/* FIX125 • LICHCHUP PRO WORKFLOW */
.pro-workflow-nav em{margin-left:auto;font-style:normal;font-size:9px;font-weight:800;letter-spacing:.04em;padding:3px 6px;border-radius:999px;background:rgba(242,183,5,.13);color:#d8a500}
.pro-workflow-page{max-width:1180px}
.pro-workflow-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 18px 0}
.pro-workflow-kpis article{border:1px solid var(--line);border-radius:18px;padding:16px 18px;background:var(--panel)}
.pro-workflow-kpis span,.pro-workflow-kpis small{display:block;color:var(--muted)}
.pro-workflow-kpis span{font-size:12px;font-weight:700}.pro-workflow-kpis b{display:block;font-size:25px;margin:5px 0;color:var(--text)}.pro-workflow-kpis small{font-size:11px}
.pro-workflow-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 18px 16px}
.pro-workflow-filters{display:flex;flex-wrap:wrap;gap:8px}
.pro-workflow-filters button{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:999px;padding:9px 14px;font-weight:700;cursor:pointer}
.pro-workflow-filters button.active{background:var(--ink,#1f1d15);color:#fff;border-color:var(--ink,#1f1d15)}
.pro-workflow-list{display:grid;gap:14px;padding:0 18px 18px}
.workflow-job-card{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:18px}
.workflow-job-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.workflow-job-head p{margin:0 0 5px;color:#a57a00;font-size:12px;font-weight:800}.workflow-job-head h4{margin:0 0 5px;font-size:18px;color:var(--text)}.workflow-job-head small{color:var(--muted)}
.workflow-job-money{text-align:right;white-space:nowrap}.workflow-job-money b{display:block;font-size:17px;color:var(--text)}.workflow-job-money small{color:var(--muted)}
.workflow-need-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.workflow-need-tags span{font-size:10px;font-weight:800;padding:5px 8px;border-radius:999px;background:rgba(242,183,5,.12);color:#9d7300;border:1px solid rgba(242,183,5,.28)}
.workflow-stage-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.workflow-stage{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:transparent;color:var(--muted);padding:10px 8px;border-radius:12px;cursor:pointer;font-size:12px}
.workflow-stage span{width:20px;height:20px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center}.workflow-stage .ui-icon{width:12px;height:12px;opacity:0}
.workflow-stage.done{background:rgba(48,151,95,.08);border-color:rgba(48,151,95,.3);color:#248251}.workflow-stage.done span{background:#30975f;border-color:#30975f;color:#fff}.workflow-stage.done .ui-icon{opacity:1}
.workflow-custom-section{margin-top:13px;padding-top:12px;border-top:1px dashed var(--line)}
.workflow-custom-head{display:flex;justify-content:space-between;align-items:center}.workflow-custom-head b{font-size:12px;color:var(--text)}.workflow-custom-head button{border:0;background:none;color:#a57a00;font-weight:800;cursor:pointer}
.workflow-custom-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.workflow-custom-item{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:7px 10px;color:var(--text);font-size:11px}.workflow-custom-item input{accent-color:#e7b108}.workflow-no-custom{color:var(--muted)}
body.dark .pro-workflow-filters button.active{background:#f0bd16;color:#1a1609;border-color:#f0bd16}body.dark .workflow-job-card,body.dark .pro-workflow-kpis article{background:rgba(255,255,255,.025)}body.dark .workflow-need-tags span{color:#f0c43b}
@media(max-width:760px){.pro-workflow-kpis{grid-template-columns:1fr 1fr;margin:12px 12px 0}.pro-workflow-toolbar{align-items:flex-start;flex-direction:column;margin:12px}.pro-workflow-list{padding:0 12px 12px}.workflow-job-head{flex-direction:column}.workflow-job-money{text-align:left}.workflow-stage-row{grid-template-columns:1fr 1fr}.workflow-job-card{padding:14px}}

/* FIX127 • Full-width Pro pages + report profile modal + completed workflow collapse */
@media (min-width:761px){
  #workflowView{width:100%!important;padding:0!important;margin:0!important}
  #workflowView>.pro-workflow-page{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
    box-shadow:none!important;
    min-height:calc(100dvh - 86px);
  }
  #workflowBackBtn{display:none!important}
  .pro-workflow-kpis{margin-left:24px!important;margin-right:24px!important}
  .pro-workflow-toolbar{margin-left:24px!important;margin-right:24px!important}
  .pro-workflow-list{padding-left:24px!important;padding-right:24px!important}
}
@media (max-width:760px){
  #proReportsBackBtn,
  #workflowBackBtn{display:inline-flex!important}
}

.pro-report-profile-modal{z-index:2147483460!important}
.pro-report-profile-modal>.modal-backdrop{z-index:0!important}
.pro-report-profile-modal-card{
  position:relative;
  z-index:2;
  width:min(760px,calc(100vw - 28px));
  max-height:calc(100dvh - 28px);
  overflow:auto;
  overscroll-behavior:contain;
  background:var(--surface,#fffdf8);
  color:var(--text,#1f1b0d);
  border:1px solid var(--line,#eadfc4);
  border-radius:24px;
  box-shadow:0 34px 90px rgba(20,16,8,.28);
  padding:24px;
  animation:modalIn .24s var(--ease);
}
.pro-report-profile-modal-card>.install-guide-close{position:absolute;top:16px;right:16px;z-index:3}
.pro-report-profile-modal-head{display:flex;align-items:flex-start;gap:14px;padding-right:46px;margin-bottom:20px}
.pro-report-profile-modal-head>span{width:44px;height:44px;flex:0 0 44px;border-radius:14px;display:grid;place-items:center;background:rgba(238,181,0,.12);color:#a77900}
.pro-report-profile-modal-head>span .ui-icon{width:21px;height:21px}
.pro-report-profile-modal-head .eyebrow{margin:0 0 4px;color:#9f7710;font-size:8px;font-weight:900;letter-spacing:.14em}
.pro-report-profile-modal-head h3{margin:0;font:900 20px/1.2 "Manrope",sans-serif}
.pro-report-profile-modal-head p:not(.eyebrow){margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.5}
.pro-report-profile-form{display:grid;gap:14px}
.pro-report-profile-modal-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:2px}
body.dark-theme .pro-report-profile-modal-card{background:#1b1a15;border-color:#403a2b;color:#f4ecda}
@media(max-width:760px){
  .pro-report-profile-modal{padding:10px!important}
  .pro-report-profile-modal-card{width:100%;max-height:calc(100dvh - 20px);padding:18px 14px;border-radius:20px}
  .pro-report-profile-modal-head{padding-right:38px}
  .pro-report-profile-modal-actions{display:grid;grid-template-columns:1fr 1fr}
}

.workflow-job-complete{padding-bottom:16px}
.workflow-complete-summary{display:flex;align-items:center;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);color:#248251}
.workflow-complete-summary>span{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:grid;place-items:center;background:#30975f;color:#fff}
.workflow-complete-summary>span .ui-icon{width:15px;height:15px}
.workflow-complete-summary>div{display:grid;gap:2px}
.workflow-complete-summary b{font-size:12px;color:#248251}
.workflow-complete-summary small{font-size:10px;color:var(--muted)}
body.dark-theme .workflow-complete-summary{color:#77d69f;border-color:#3e493d}
body.dark-theme .workflow-complete-summary b{color:#77d69f}

/* FIX128 • PC-first Pro workspace polish + compact booking modal */
@media (min-width:761px){
  /* True edge-to-edge workspace inside the area remaining after the sidebar. */
  body.pro-wide-view .main{padding-left:0!important;padding-right:0!important;padding-bottom:36px!important}
  body.pro-wide-view .topbar{padding-left:30px!important;padding-right:30px!important;margin-bottom:12px!important}
  body.pro-wide-view #workflowView{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  body.pro-wide-view #workflowView>.pro-workflow-page{
    width:100%!important;max-width:none!important;margin:0!important;padding-top:18px!important;border-radius:0!important;
    border-left:0!important;border-right:0!important;border-bottom:0!important;border-top:1px solid var(--line)!important;
    background:transparent!important;box-shadow:none!important;min-height:calc(100dvh - 104px)
  }
  body.pro-wide-view #workflowView .notification-settings-head{display:none!important}
  body.pro-wide-view .pro-workflow-kpis{margin-top:0!important;margin-left:30px!important;margin-right:30px!important}
  body.pro-wide-view .pro-workflow-toolbar{margin-left:30px!important;margin-right:30px!important}
  body.pro-wide-view .pro-workflow-list{padding-left:30px!important;padding-right:30px!important}
  #workflowBackBtn{display:none!important}

  /* Workflow completed jobs stay compact until user explicitly edits them. */
  .workflow-complete-summary{position:relative;padding-right:68px!important}
  .workflow-edit-complete{position:absolute;right:0;top:50%;transform:translateY(-50%);height:30px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font-size:9px;font-weight:800;cursor:pointer}
  .workflow-edit-complete:hover{border-color:#d5a918;background:#fff8df}

  /* Booking modal: use vertical space efficiently without oversized controls. */
  #jobModal .modal-sheet{width:min(720px,calc(100vw - 40px))!important;max-height:calc(100dvh - 24px)!important;border-radius:22px!important}
  #jobModal .modal-head.job-modal-head{padding:15px 20px!important;min-height:66px!important}
  #jobModal .modal-head.job-modal-head h3{font-size:20px!important;letter-spacing:-.02em!important;text-transform:uppercase!important}
  #jobModal .job-form{gap:13px!important;padding:16px 20px 18px!important}
  #jobModal .job-form>label,#jobModal .form-grid.two>label{font-size:11px!important;gap:5px!important}
  #jobModal .job-form input,#jobModal .job-form select,#jobModal .job-form textarea{font-size:12px!important;font-weight:500!important}
  #jobModal input::placeholder,#jobModal textarea::placeholder{font-weight:400!important;color:#938b7b!important;opacity:1!important}
  #jobModal .tag-field{padding:12px!important;border-radius:15px!important}
  #jobModal .payment-box{padding:11px 13px!important;min-height:56px!important}
  #jobModal .job-save-actions{gap:7px!important}
  #jobModal .job-save-actions .ghost-btn,#jobModal .job-save-actions .primary-btn,#jobModal .save-as-preset-btn,#jobModal .job-save-actions .danger-btn{min-height:36px!important;height:36px!important;padding:0 12px!important;border-radius:11px!important;font-size:9.5px!important}
  #jobModal .save-as-preset-btn em{font-size:6.5px!important;padding:2px 5px!important}
}

/* Collapsible payment reconciliation. */
.job-accounting-meta{display:block;padding:0!important;overflow:hidden;background:linear-gradient(135deg,#fffdf8,#fff8e6)}
.job-accounting-meta[open]{padding-bottom:12px!important}
.job-accounting-summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 13px;cursor:pointer;user-select:none}
.job-accounting-summary::-webkit-details-marker{display:none}.job-accounting-summary::marker{display:none;content:""}
.job-accounting-summary>span{display:grid;gap:2px}.job-accounting-summary b{font-size:10.5px}.job-accounting-summary small{font-size:8px;color:#9a8d74}.job-accounting-summary>.ui-icon{width:16px;height:16px;color:#9a771f;transition:transform .2s var(--ease)}
.job-accounting-meta[open] .job-accounting-summary>.ui-icon{transform:rotate(180deg)}
.job-accounting-fields{padding:10px 13px 0;border-top:1px solid #eadfc4}
body.dark-theme .job-accounting-meta{background:linear-gradient(135deg,#211f18,#191812)}body.dark-theme .job-accounting-fields{border-color:#403a2b}

/* FIX128: report/workflow are sidebar destinations on PC, not Settings entries. */
@media (min-width:761px){#openProReportsBtn,#openProWorkflowBtn{display:none!important}}

/* FIX129 • PRO advanced filters + duplicate / recurring */
.jobs-section-head{align-items:center}.jobs-search-actions{display:flex;align-items:center;gap:10px}.job-advanced-filter-btn{height:42px;border:1px solid #dfd3b5;background:#fffaf0;border-radius:12px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;color:#3b3529;font:750 10px "Manrope";white-space:nowrap}.job-advanced-filter-btn:hover,.job-advanced-filter-btn.active{border-color:#e2ae12;background:#fff4ca}.job-advanced-filter-btn .ui-icon{width:16px;height:16px;stroke-width:1.8}.job-advanced-filter-btn em,.job-pro-quick-action em{font-style:normal;font-size:7px;font-weight:900;letter-spacing:.04em;color:#12120e;background:#f5ba00;border-radius:99px;padding:3px 6px}.job-advanced-filter-btn>b{display:grid;place-items:center;min-width:18px;height:18px;border-radius:99px;background:#1d1b14;color:#ffd44c;font-size:8px}.job-pro-filter-panel{margin:12px 20px 2px;border:1px solid #eadcbc;border-radius:17px;background:linear-gradient(135deg,#fffdf8,#fff8e7);padding:16px;box-shadow:0 10px 28px rgba(58,43,8,.045)}.job-pro-filter-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.job-pro-filter-head h4{font:800 16px "Manrope";margin:2px 0}.job-pro-filter-head small{font-size:8.7px;color:#8f856f}.job-pro-filter-head .eyebrow{font-size:7px;margin:0;color:#aa7c00}.job-pro-filter-head .ghost-btn{min-height:34px!important;height:34px!important;padding:0 11px!important;font-size:9px!important}.job-pro-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.job-pro-filter-grid label{display:grid;gap:6px;color:#655e4e;font-size:9px;font-weight:750}.job-pro-filter-grid input,.job-pro-filter-grid select,.job-filter-saved-row input,.job-filter-saved-row select{width:100%;height:38px;border:1px solid #ded3b9;background:#fff;border-radius:11px;padding:0 11px;color:#1b1a15;font-size:10px;outline:none}.job-pro-filter-grid input:focus,.job-pro-filter-grid select:focus,.job-filter-saved-row input:focus,.job-filter-saved-row select:focus{border-color:#e0ad1a;box-shadow:0 0 0 3px rgba(245,183,0,.1)}.job-filter-saved-row{margin-top:13px;padding-top:13px;border-top:1px solid #eee1c4;display:grid;grid-template-columns:minmax(220px,.7fr) 1.3fr;gap:12px;align-items:end}.job-filter-saved-select{display:grid;gap:6px}.job-filter-saved-select>span{font-size:9px;font-weight:750;color:#655e4e}.job-filter-save-form{display:grid;grid-template-columns:1fr auto auto;gap:8px}.job-filter-save-form .primary-btn,.job-filter-save-form .ghost-btn{height:38px!important;min-height:38px!important;padding:0 12px!important;font-size:9px!important}.job-active-filter-chips{padding:10px 20px 2px;display:flex;flex-wrap:wrap;align-items:center;gap:7px}.job-filter-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid #e6d6aa;background:#fff9e8;border-radius:99px;padding:6px 9px;color:#685d43;font-size:8.5px;font-weight:700}.job-filter-chip button{border:0;background:transparent;color:#9c7a19;font-size:13px;line-height:1;padding:0;cursor:pointer}.job-filter-results-note{margin-left:auto;color:#8a816d;font-size:8.5px;font-weight:700}.job-pro-quick-action{position:relative}.job-pro-quick-action em{margin-left:auto}.job-pro-quick-action .ui-icon{width:15px;height:15px}.recurring-job-card{position:relative;width:min(560px,calc(100vw - 28px));border:1px solid #eadfc4;border-radius:22px;background:#fffdf8;box-shadow:0 34px 90px rgba(28,22,8,.24);padding:22px}.recurring-job-head{display:flex;align-items:center;gap:12px;padding-right:30px}.recurring-job-head>span{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#1f1d15;color:#f4ba00}.recurring-job-head>span .ui-icon{width:21px;height:21px}.recurring-job-head .eyebrow{margin:0 0 2px;color:#ad8000;font-size:7px}.recurring-job-head h3{margin:0;font:800 20px "Manrope"}.recurring-job-head p{margin:4px 0 0;color:#8b826e;font-size:9px}.recurring-source-preview{display:grid;gap:4px;margin:18px 0 14px;padding:12px 14px;border-left:3px solid #e7b108;background:#fff8e2}.recurring-source-preview small{font-size:8px;color:#8a806a}.recurring-source-preview b{font-size:12px}.recurring-source-preview span{font-size:9px;color:#7d7562}.recurring-job-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.recurring-job-grid label,.recurring-next-date{display:grid;gap:6px;font-size:9px;font-weight:750;color:#625a4b}.recurring-job-grid select,.recurring-job-grid input{height:40px;border:1px solid #ddd2b7;border-radius:11px;background:#fff;padding:0 11px;color:#1c1a15}.recurring-next-date{border:1px solid #eadfca;border-radius:11px;padding:8px 11px;background:#fffaf0}.recurring-next-date small{font-size:8px;color:#8a806a}.recurring-next-date b{font-size:11px}.recurring-job-note{display:flex;gap:9px;align-items:flex-start;margin-top:14px;padding:11px 12px;border-radius:12px;background:#fff5d6;color:#6e6246;font-size:8.6px;line-height:1.55}.recurring-job-note .ui-icon{width:15px;height:15px;flex:0 0 auto;margin-top:1px;color:#b17f00}.recurring-job-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.recurring-job-actions .ghost-btn,.recurring-job-actions .primary-btn{min-height:38px!important;height:38px!important;padding:0 13px!important;font-size:9.5px!important}
body.dark-theme .job-advanced-filter-btn{background:#211f18;border-color:#47402f;color:#ece4d2}body.dark-theme .job-advanced-filter-btn:hover,body.dark-theme .job-advanced-filter-btn.active{background:#2c2719;border-color:#b78a13}body.dark-theme .job-pro-filter-panel{background:linear-gradient(135deg,#211f18,#191812);border-color:#443d2d}body.dark-theme .job-pro-filter-head small,body.dark-theme .job-filter-saved-select>span,body.dark-theme .job-pro-filter-grid label{color:#b5aa91}body.dark-theme .job-pro-filter-grid input,body.dark-theme .job-pro-filter-grid select,body.dark-theme .job-filter-saved-row input,body.dark-theme .job-filter-saved-row select{background:#15140f;border-color:#46402f;color:#f1ead8}body.dark-theme .job-filter-saved-row{border-color:#3d3729}body.dark-theme .job-filter-chip{background:#282315;border-color:#59491f;color:#d9cba7}body.dark-theme .recurring-job-card{background:#211f18;border-color:#4a4432;color:#f2ead9}body.dark-theme .recurring-source-preview{background:#2a2517}body.dark-theme .recurring-job-grid select,body.dark-theme .recurring-job-grid input,body.dark-theme .recurring-next-date{background:#171610;border-color:#484130;color:#f2ead9}body.dark-theme .recurring-job-note{background:#2c2617;color:#c8b98d}
@media(max-width:980px){.job-pro-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.job-filter-saved-row{grid-template-columns:1fr}.jobs-search-actions{width:100%}.jobs-section-head{align-items:flex-start;flex-direction:column}.jobs-search-actions .search-wrap{flex:1}.job-advanced-filter-btn{height:43px}}
@media(max-width:760px){.jobs-search-actions{display:grid;grid-template-columns:1fr auto}.job-advanced-filter-btn span{display:none}.job-pro-filter-panel{margin:8px 12px 2px;padding:13px}.job-pro-filter-grid{grid-template-columns:1fr 1fr}.job-filter-save-form{grid-template-columns:1fr auto}.job-filter-save-form #jobDeleteSavedFilterBtn{grid-column:2}.job-filter-saved-row{gap:10px}.job-active-filter-chips{padding:9px 12px 2px}.recurring-job-card{padding:18px}.recurring-job-grid{grid-template-columns:1fr}.job-native-actions{grid-template-columns:1fr 1fr!important}}
@media(max-width:520px){.job-pro-filter-grid{grid-template-columns:1fr}.job-filter-save-form{grid-template-columns:1fr 1fr}.job-filter-save-form input{grid-column:1/-1}.job-filter-results-note{width:100%;margin:2px 0 0}.recurring-job-actions{display:grid;grid-template-columns:1fr 1fr}.recurring-job-actions button{width:100%}}

/* FIX130 + FIX172 • LICHCHUP PRO client proofing albums (flat canvas, smart visual cards, light/dark polished) */
.pro-albums-nav{position:relative}.pro-albums-nav em{margin-left:auto;font-style:normal;font-size:9px;font-weight:800;letter-spacing:.04em;padding:3px 6px;border-radius:999px;background:rgba(242,183,5,.13);color:#d8a500}.sidebar.collapsed .pro-albums-nav em{display:none}
.pro-albums-view{padding-bottom:0!important}
.pro-albums-page,
body.dark-theme .pro-albums-page{width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.pro-album-create-btn{margin-left:auto;display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 11px!important;border-radius:9px!important;font-size:10.5px!important;font-weight:750!important;white-space:nowrap;flex:0 0 auto}
.pro-album-create-btn .ui-icon{width:13px;height:13px}

.pro-albums-layout{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:calc(100vh - 110px);border-top:1px solid var(--line)}
.pro-album-list-pane{border-right:1px solid var(--line);background:color-mix(in srgb,var(--surface2) 42%,transparent);padding:14px 14px 24px;display:flex;flex-direction:column;gap:10px}
.pro-album-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px}
.pro-album-list-head>div:first-child{display:grid;gap:2px}
.pro-album-list-head b{font:800 13px "Manrope";color:var(--text)}
.pro-album-list-head small{font-size:10px;color:var(--muted)}
.pro-album-list-controls{display:flex;flex-direction:column;gap:8px}
.pro-album-list-tabs{display:grid;grid-template-columns:1fr 1fr;padding:2px;border-radius:9px;border:1px solid var(--line);background:var(--surface)}
.pro-album-list-tabs button{border:0;background:transparent;color:var(--muted);font:750 9.5px "Manrope";padding:4px 9px;border-radius:7px;cursor:pointer;white-space:nowrap}
.pro-album-list-tabs button.is-active{background:#f2b705;color:#17140d}
.pro-album-list-search{height:34px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.pro-album-list-search .ui-icon{width:14px;height:14px;color:var(--muted);flex:0 0 auto}
.pro-album-list-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:11px;font-weight:600}
.pro-album-list-search input::placeholder{color:var(--muted);font-weight:500}
.pro-album-list{display:grid;gap:5px;align-content:start}
.pro-album-row{position:relative;width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;grid-template-areas:"icon copy stats" "icon copy status";align-items:center;gap:3px 10px;padding:10px 11px;border:1px solid transparent;border-radius:12px;background:transparent;text-align:left;color:var(--text);cursor:pointer;transition:background .15s ease,border-color .15s ease}
.pro-album-row:hover{background:var(--surface);border-color:var(--line)}
.pro-album-row.active{background:var(--surface);border-color:#dfb742;box-shadow:inset 3px 0 0 #e5b20a}
.pro-album-row-icon{grid-area:icon;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(245,183,0,.14);color:#9d6f00}
.pro-album-row-icon .ui-icon{width:15px;height:15px}
.pro-album-row-copy{grid-area:copy;min-width:0;display:grid;gap:2px}
.pro-album-row-copy b{font-size:12px;font-weight:750;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pro-album-row-copy small{font-size:9.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pro-album-row-stats{grid-area:stats;display:grid;text-align:right;line-height:1.05}
.pro-album-row-stats b{font:800 13px "Manrope";color:var(--text)}
.pro-album-row-stats b.has-sel{color:#9d6f00}
.pro-album-row-stats small{font-size:8px;color:var(--muted)}
.pro-album-row-badge{grid-area:status;justify-self:end;font-style:normal;font-size:8px;font-weight:800;padding:2px 7px;border-radius:999px;letter-spacing:.02em}
.pro-album-row-badge.open{background:#e7f7ee;color:#1e784b}
.pro-album-row-badge.closed{background:#fff0ec;color:#b44530}

.pro-album-detail{padding:22px 28px 44px;min-width:0;background:transparent}
.pro-album-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--line)}
.pro-album-head-copy{min-width:0;flex:1 1 320px}
.pro-album-head-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:6px}
.pro-album-eyebrow{font:800 9px/1 "Manrope";letter-spacing:.14em;color:#9d7000}
.pro-album-status-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;font-size:9.5px;font-weight:800;border:1px solid transparent}
.pro-album-status-badge.open{background:#e9f8ef;border-color:#bfe3cd;color:#1e784b}
.pro-album-status-badge.closed{background:#fff0ec;border-color:#f2ccc3;color:#b44530}
.pro-album-updated{font-size:10px;color:var(--muted)}
.pro-album-head h3{font:800 22px/1.2 "Manrope";margin:0 0 4px;color:var(--text);word-break:break-word}
.pro-album-client-meta{margin:0;color:var(--muted);font-size:11.5px;font-weight:600}
.pro-album-head-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;flex-shrink:0}
.pro-album-head-actions .ghost-btn,
.pro-album-head-actions .album-close-btn,
.pro-album-head-actions .album-open-btn{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 12px!important;border-radius:10px!important;font-size:10.5px!important;font-weight:800!important;text-decoration:none;white-space:nowrap}
.pro-album-head-actions .ui-icon{width:13px;height:13px}
.album-close-btn,.album-open-btn{border:1px solid transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.album-close-btn{background:#fff0ec;border-color:#f2ccc3;color:#b44530}
.album-close-btn:hover{background:#ffe3dc;border-color:#e4b0a3}
.album-open-btn{background:#e9f8ef;border-color:#bfe3cd;color:#1e784b}
.album-open-btn:hover{background:#daf2e4;border-color:#9dd4b3}

.pro-album-control-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 18px;padding:14px 0;border-bottom:1px solid var(--line)}
.pro-album-share-cluster{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:1 1 420px;min-width:0}
.pro-album-strip-label{font-size:10.5px;font-weight:800;color:var(--muted);white-space:nowrap}
.pro-album-link-box{display:grid;grid-template-columns:minmax(0,1fr) auto;flex:1 1 280px;max-width:460px;min-width:0}
.pro-album-link-box input{min-width:0;width:100%;height:34px;border:1px solid var(--line);border-right:0;border-radius:10px 0 0 10px;background:var(--surface);padding:0 11px;font-size:11px;color:var(--text);outline:none;text-overflow:ellipsis}
.pro-album-link-box input:focus{border-color:#d5aa26}
.pro-album-link-box button{height:34px;border:1px solid var(--line);border-radius:0 10px 10px 0;background:var(--surface);padding:0 12px;font-size:10.5px;font-weight:800;color:var(--text);display:inline-flex;align-items:center;gap:5px;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.pro-album-link-box button:hover{background:#fff7db;border-color:#dec05c}
.pro-album-link-box button .ui-icon{width:13px;height:13px}
.pro-album-share-cluster>button[data-album-qr]{height:34px;padding:0 11px!important;border-radius:10px!important;display:inline-flex;align-items:center;gap:5px;font-size:10.5px!important}
.pro-album-drive-cluster{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex-shrink:0}
.pro-album-drive-pill{height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-decoration:none;font-size:10.5px;font-weight:750;transition:border-color .15s ease,background .15s ease}
.pro-album-drive-pill:hover{border-color:#d5b452;background:#fffaf0}
.pro-album-drive-pill .ui-icon{width:13px;height:13px;color:#b47f00}
.pro-album-drive-pill .ui-icon:last-child{color:var(--muted)}
.pro-album-drive-cluster>[data-album-sync-drive]{height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 13px!important;border-radius:10px!important;font-size:10.5px!important;white-space:nowrap}
.pro-album-drive-cluster>[data-album-sync-drive] .ui-icon{width:13px;height:13px}

.pro-album-stats-strip{display:inline-grid;grid-template-columns:repeat(4,minmax(118px,162px));max-width:100%;margin:16px 0 22px;border:1px solid var(--line);border-radius:13px;background:var(--surface);overflow:hidden}
.pro-album-stat{padding:10px 15px;display:grid;gap:2px;border-right:1px solid var(--line);min-width:0}
.pro-album-stat:last-child{border-right:0}
.pro-album-stat b{font:800 16px/1.15 "Manrope";color:var(--text)}
.pro-album-stat span{font-size:9.5px;font-weight:700;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pro-album-stat.is-accent{background:rgba(245,183,0,.09)}
.pro-album-stat.is-accent b{color:#9d6f00}
.pro-album-stat.is-open b{color:#1e784b}
.pro-album-stat.is-closed b{color:#b44530}

.pro-album-gallery-section{display:grid;gap:14px}
.pro-album-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.pro-album-gallery-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}
.pro-album-gallery-title h4{margin:0;font:800 15px/1.2 "Manrope";color:var(--text)}
.pro-album-filter-pills{display:inline-flex;flex-wrap:wrap;gap:4px;padding:3px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}
.pro-album-filter-pills button{border:0;border-radius:8px;background:transparent;color:var(--muted);font:750 10px "Manrope";padding:5px 10px;cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease}
.pro-album-filter-pills button:hover{color:var(--text)}
.pro-album-filter-pills button.is-active{background:#f2b705;color:#17140d}
.pro-album-gallery-tools{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.pro-album-photo-search{height:34px;width:210px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.pro-album-photo-search .ui-icon{width:14px;height:14px;color:var(--muted);flex:0 0 auto}
.pro-album-photo-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:11px;font-weight:600}
.pro-album-photo-search input::placeholder{color:var(--muted);font-weight:500}
.pro-album-gallery-tools>button{height:34px;display:inline-flex;align-items:center;gap:5px;padding:0 12px!important;border-radius:10px!important;font-size:10.5px!important;white-space:nowrap}
.pro-album-gallery-tools>button:disabled{opacity:.42;cursor:default}
.pro-album-gallery-tools>button .ui-icon{width:13px;height:13px}

.pro-album-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:14px}
.pro-album-empty-grid{grid-column:1/-1;min-height:170px;border:1px dashed var(--line);border-radius:14px;padding:28px 18px}
.pro-album-card{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface);cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.pro-album-card:hover,.pro-album-card:focus-visible{transform:translateY(-2px);border-color:#d8b343;box-shadow:0 10px 24px rgba(34,26,8,.08);outline:none}
.pro-album-card.is-selected{border-color:rgba(210,165,32,.48)}
.pro-album-card-media{position:relative;aspect-ratio:4/3;background:#14130f;overflow:hidden;display:grid;place-items:center}
.pro-album-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .24s ease}
.pro-album-card:hover .pro-album-card-media img{transform:scale(1.02)}
.pro-album-card-fallback{font:800 10px "Manrope";color:#a99f87;letter-spacing:.08em}
.pro-album-card-badges{position:absolute;inset:8px 8px auto 8px;display:flex;align-items:center;justify-content:space-between;gap:6px;pointer-events:none}
.pro-album-badge-sel,.pro-album-badge-note,.pro-album-badge-cover{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font:800 9px/1 "Manrope";backdrop-filter:blur(6px)}
.pro-album-badge-sel{background:rgba(22,126,74,.9);color:#fff}
.pro-album-badge-note{background:rgba(24,22,16,.8);color:#f3e1a7}
.pro-album-badge-cover{margin-left:auto;background:rgba(245,183,0,.94);color:#17140d}
.pro-album-card-body{padding:10px 12px 12px;display:grid;gap:4px;flex:1;align-content:start}
.pro-album-card-title-row{display:flex;align-items:center;justify-content:space-between;gap:6px}
.pro-album-card-title-row b{font:800 12px/1.25 "Manrope";color:var(--text);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pro-album-mini-copy{width:26px;height:26px;flex:0 0 26px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}
.pro-album-mini-copy:hover{background:#fff6d6;border-color:#dfb742;color:#7d5900}
.pro-album-mini-copy .ui-icon{width:12px;height:12px}
.pro-album-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:9.5px;color:var(--muted)}
.pro-album-card-note{margin:4px 0 0;padding:6px 8px;border-radius:8px;background:var(--bg2);font-size:10.5px;line-height:1.4;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}

.pro-album-danger{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px;padding-top:16px;border-top:1px solid var(--line)}
.pro-album-delete-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(180,69,48,.28);background:rgba(180,69,48,.06);color:#b44530;border-radius:10px;font-size:10.5px;font-weight:800;padding:7px 12px;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.pro-album-delete-btn:hover{background:rgba(180,69,48,.13);border-color:rgba(180,69,48,.45)}
.pro-album-delete-btn .ui-icon{width:13px;height:13px}
.pro-album-danger small{font-size:9.5px;color:var(--muted);line-height:1.45}

.client-album-modal{z-index:2600}
.client-album-modal-card{position:fixed;z-index:2602;left:50%;top:50%;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 34px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 28px 80px rgba(35,27,5,.25);padding:22px;color:var(--text)}
.client-album-modal-head{display:flex;gap:12px;align-items:flex-start;padding:2px 34px 17px 0;border-bottom:1px solid var(--line)}
.client-album-modal-head>span{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;background:#17160f;color:#f3bd08}
.client-album-modal-head .ui-icon{width:20px;height:20px}
.client-album-modal-head h3{margin:1px 0 4px;font:800 20px "Manrope";color:var(--text)}
.client-album-modal-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
.client-album-form{display:grid;gap:13px;padding-top:16px}
.client-album-form>label,.client-album-form .form-grid label{display:grid;gap:6px;font-size:10.5px;font-weight:800;color:var(--text)}
.client-album-form input,.client-album-form select{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:11px;padding:10px 11px;outline:none;font-size:11.5px}
.client-album-form input:focus,.client-album-form select:focus{border-color:#d5aa26;box-shadow:0 0 0 3px rgba(238,185,13,.1)}
.client-album-form .optional{font-weight:500;color:var(--muted)}
.client-album-form .field-hint{font-size:8.8px;line-height:1.45;color:var(--muted);font-weight:500;margin-top:-1px}
.client-album-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.client-album-options>label{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--line);border-radius:12px;padding:11px;background:var(--bg2);color:var(--text)}
.client-album-options input{margin-top:2px;accent-color:#e7b108}
.client-album-options span{display:grid;gap:2px}
.client-album-options b{font-size:10.5px;color:var(--text)}
.client-album-options small{font-size:8.8px;color:var(--muted);font-weight:500}
.client-album-modal-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}
.client-album-modal-actions button{min-height:38px;padding:8px 14px!important;border-radius:11px!important}

.album-branding-control{display:grid;grid-template-columns:74px minmax(0,1fr);gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--bg2)}
.album-branding-preview{width:74px;height:58px;border:1px dashed var(--line);border-radius:11px;background:var(--surface);display:grid;place-items:center;overflow:hidden;color:var(--muted);font-size:9px;font-weight:900;letter-spacing:.08em}
.album-branding-preview img{max-width:100%;max-height:100%;object-fit:contain}
.album-branding-control>div+div{display:grid;gap:3px}
.album-branding-control b{font-size:11px;color:var(--text)}
.album-branding-control small{font-size:9px;color:var(--muted)}
.album-branding-actions{display:flex;gap:7px;margin-top:7px}
.album-branding-actions button{min-height:30px!important;padding:5px 10px!important;font-size:9.5px!important}

.album-feedback-detail-modal{z-index:2700}
.album-feedback-detail-card{position:relative;width:min(940px,calc(100vw - 40px));max-height:min(80vh,720px);overflow:hidden;display:grid;grid-template-columns:minmax(300px,.95fr) minmax(300px,1.05fr);grid-template-rows:auto minmax(0,1fr);column-gap:22px;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.28);color:var(--text)}
.album-feedback-preview-wrap{position:relative;grid-column:1;grid-row:1/3;margin:0;height:100%;min-height:360px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#0c0c0b;display:grid;place-items:center}
.album-feedback-preview-wrap img{width:100%;height:100%;object-fit:contain;display:block;background:#0c0c0b}
.album-modal-nav{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(16,15,11,.72);color:#fff;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(6px);transition:background .15s ease,opacity .15s ease}
.album-modal-nav:hover:not(:disabled){background:rgba(242,183,5,.92);color:#17140d;border-color:transparent}
.album-modal-nav:disabled{opacity:.28;cursor:default}
.album-modal-nav.prev{left:10px}
.album-modal-nav.next{right:10px}
.album-modal-nav .ui-icon{width:16px;height:16px}
.album-modal-pos{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);padding:4px 10px;border-radius:999px;background:rgba(16,15,11,.76);color:#f5efdf;font:750 10px/1 "Manrope";backdrop-filter:blur(6px)}
.album-feedback-detail-head{grid-column:2;grid-row:1;padding:4px 40px 14px 0;border-bottom:1px solid var(--line)}
.album-feedback-detail-head small,.album-feedback-detail-body>small{font-size:9px;font-weight:850;letter-spacing:.12em;color:#a87c00}
.album-feedback-file-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:5px}
.album-feedback-detail-head h3{margin:0;font:800 19px/1.2 "Manrope";color:var(--text);word-break:break-word}
.album-feedback-file-row button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:4px 10px!important;font-size:10px!important}
.album-feedback-file-row button .ui-icon{width:12px;height:12px}
.album-feedback-detail-body{grid-column:2;grid-row:2;min-height:0;overflow:auto;padding:16px 4px 4px 0;display:flex;flex-direction:column}
.album-feedback-detail-body p{margin:8px 0 16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13.5px;line-height:1.65;color:var(--text)}
.album-feedback-detail-guest{font-size:10.5px;color:var(--muted);padding-top:12px;border-top:1px solid var(--line)}
.album-feedback-modal-actions{margin-top:auto;padding-top:14px}
.album-feedback-modal-actions button{width:100%;justify-content:center;gap:6px;display:inline-flex;align-items:center}

.album-qr-modal{z-index:2800}
.album-qr-card{position:fixed;z-index:2802;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 28px));background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 26px 80px rgba(0,0,0,.25);text-align:center;color:var(--text)}
.album-qr-card h3{margin:0 0 14px;font:800 19px "Manrope";color:var(--text)}
.album-qr-card canvas{display:block;width:min(300px,80vw);height:auto;margin:0 auto 16px;border-radius:14px;border:1px solid var(--line);background:#fff;padding:8px}
.album-qr-actions{display:flex;justify-content:center;gap:8px}

/* Dark theme overrides for Album khách */
body.dark-theme .pro-album-list-pane{background:rgba(255,255,255,.018);border-color:#2d291e}
body.dark-theme .pro-album-list-tabs{background:#15140f;border-color:#353023}
body.dark-theme .pro-album-list-search{background:#12110c;border-color:#353023}
body.dark-theme .pro-album-row:hover{background:#211f17;border-color:#363022}
body.dark-theme .pro-album-row.active{background:#242117;border-color:#7d6420;box-shadow:inset 3px 0 0 #f2b705}
body.dark-theme .pro-album-row-icon{background:rgba(245,183,0,.14);color:#f6ca45}
body.dark-theme .pro-album-row-stats b.has-sel{color:#f6ca45}
body.dark-theme .pro-album-row-badge.open{background:rgba(62,184,119,.16);color:#7fe0ac}
body.dark-theme .pro-album-row-badge.closed{background:rgba(217,91,72,.16);color:#ff9e8e}
body.dark-theme .pro-album-eyebrow,
body.dark-theme .album-feedback-detail-head small,
body.dark-theme .album-feedback-detail-body>small{color:#e6ba3a}
body.dark-theme .pro-album-status-badge.open{background:rgba(62,184,119,.16);border-color:rgba(62,184,119,.34);color:#7fe0ac}
body.dark-theme .pro-album-status-badge.closed{background:rgba(217,91,72,.16);border-color:rgba(217,91,72,.34);color:#ff9e8e}
body.dark-theme .pro-album-link-box input{background:#11100c;border-color:#383224;color:#f5efdf}
body.dark-theme .pro-album-link-box input:focus{border-color:#c99d22}
body.dark-theme .pro-album-link-box button{background:#221f16;border-color:#383224;color:#f5efdf}
body.dark-theme .pro-album-link-box button:hover{background:#2d291d;border-color:#8a6f23}
body.dark-theme .pro-album-link-box button .ui-icon{color:#f5efdf}
body.dark-theme .pro-album-drive-pill{background:#181610;border-color:#383224;color:#f5efdf}
body.dark-theme .pro-album-drive-pill:hover{background:#211e16;border-color:#746026}
body.dark-theme .pro-album-drive-pill .ui-icon:first-child{color:#f2c12e}
body.dark-theme .album-close-btn{background:rgba(217,91,72,.16);border-color:rgba(217,91,72,.36);color:#ff9e8e}
body.dark-theme .album-close-btn:hover{background:rgba(217,91,72,.25);border-color:rgba(217,91,72,.52)}
body.dark-theme .album-open-btn{background:rgba(62,184,119,.16);border-color:rgba(62,184,119,.36);color:#7fe0ac}
body.dark-theme .album-open-btn:hover{background:rgba(62,184,119,.25);border-color:rgba(62,184,119,.52)}
body.dark-theme .pro-album-stats-strip{background:#191711;border-color:#353023}
body.dark-theme .pro-album-stat{border-color:#2e2a1f}
body.dark-theme .pro-album-stat.is-accent{background:rgba(245,183,0,.09)}
body.dark-theme .pro-album-stat.is-accent b{color:#ffd452}
body.dark-theme .pro-album-stat.is-open b{color:#7fe0ac}
body.dark-theme .pro-album-stat.is-closed b{color:#ff9e8e}
body.dark-theme .pro-album-filter-pills,
body.dark-theme .pro-album-photo-search{background:#15140f;border-color:#353023}
body.dark-theme .pro-album-card{background:#1b1912;border-color:#332e22}
body.dark-theme .pro-album-card.is-selected{border-color:rgba(230,182,42,.42)}
body.dark-theme .pro-album-card:hover{border-color:#c99d22;box-shadow:0 12px 28px rgba(0,0,0,.35)}
body.dark-theme .pro-album-mini-copy{border-color:#383224;color:#bfb59c}
body.dark-theme .pro-album-mini-copy:hover{background:#2c2718;border-color:#8a6f23;color:#f5c32e}
body.dark-theme .pro-album-card-note{background:#14130d;color:#eee6d2}
body.dark-theme .pro-album-delete-btn{background:rgba(217,91,72,.12);border-color:rgba(217,91,72,.32);color:#ff9b89}
body.dark-theme .pro-album-delete-btn:hover{background:rgba(217,91,72,.22);border-color:rgba(217,91,72,.5)}
body.dark-theme .client-album-modal-card{background:#181711;border-color:#3e3828}
body.dark-theme .client-album-modal-head>span{background:#292416;color:#f5c32e}
body.dark-theme .client-album-form input,
body.dark-theme .client-album-form select{background:#12110c;border-color:#3d3729;color:#f6f0df}
body.dark-theme .client-album-options>label{background:#14130e;border-color:#383224}
body.dark-theme .album-branding-control{background:#14130e;border-color:#383224}
body.dark-theme .album-branding-preview{background:#1d1b14;border-color:#464030}
body.dark-theme .album-feedback-detail-card{background:#181711;border-color:#3e3828}
body.dark-theme .album-qr-card{background:#181711;border-color:#3e3828}

@media(min-width:921px){
  body.pro-wide-view #albumsView{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  body.pro-wide-view #albumsView>.pro-albums-page{width:100%!important;max-width:none!important;margin:0!important;min-height:calc(100dvh - 104px)}
  #albumsBackBtn{display:none!important}
}
@media(max-width:1100px){
  .pro-albums-layout{grid-template-columns:270px minmax(0,1fr)}
  .pro-album-detail{padding:20px 20px 36px}
}
@media(max-width:920px){
  .pro-albums-layout{display:block;min-height:auto}
  .pro-album-list-pane{border-right:0;border-bottom:1px solid var(--line);padding:12px}
  .pro-album-list{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px}
  .pro-album-row{min-width:244px;flex:0 0 auto}
  .pro-album-detail{padding:16px 14px 32px}
  .pro-album-head{flex-direction:column;gap:12px}
  .pro-album-head-actions{width:100%}
  .pro-album-control-strip{flex-direction:column;align-items:stretch}
  .pro-album-link-box{max-width:none}
  .pro-album-stats-strip{display:grid;grid-template-columns:1fr 1fr}
  .pro-album-stat:nth-child(2){border-right:0}
  .pro-album-stat:nth-child(1),.pro-album-stat:nth-child(2){border-bottom:1px solid var(--line)}
  .pro-album-photo-search{width:100%;flex:1 1 180px}
  .client-album-options{grid-template-columns:1fr}
  .album-branding-control{grid-template-columns:62px 1fr}
  .album-branding-preview{width:62px;height:52px}
}
@media(max-width:720px){
  .album-feedback-detail-card{width:min(560px,calc(100vw - 22px));max-height:84vh;display:block;overflow:auto;padding:16px}
  .album-feedback-preview-wrap{height:auto;min-height:0;max-height:42vh;margin-bottom:15px}
  .album-feedback-preview-wrap img{height:auto;max-height:42vh}
  .album-feedback-detail-head{padding:0 36px 12px 0}
  .album-feedback-detail-body{overflow:visible;padding-top:14px}
}
@media(max-width:560px){
  .pro-album-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pro-album-card-body{padding:8px 10px 10px}
  .pro-album-card-title-row b{font-size:11px}
}

.workflow-filter-bar{display:grid;grid-template-columns:minmax(260px,1fr) 150px 180px auto;gap:8px;align-items:center;margin:0 24px 8px;padding:10px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--surface) 94%,transparent)}
.workflow-search{height:38px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:0 11px;background:var(--surface)}
.workflow-search .ui-icon{width:15px;height:15px;color:var(--muted);flex:0 0 auto}.workflow-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:12px;font-weight:600}.workflow-search input::placeholder{color:var(--muted);font-weight:500}
.workflow-filter-bar select{height:38px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:0 30px 0 10px;font-size:11px;font-weight:700;outline:0}.workflow-filter-reset{height:38px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted);padding:0 12px;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}.workflow-filter-reset:hover{color:var(--text);background:var(--panel)}
.workflow-list-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 24px 8px;color:var(--muted);font-size:10px;font-weight:700}.workflow-pager{display:flex;align-items:center;gap:7px}.workflow-pager button{width:30px;height:30px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);display:grid;place-items:center;cursor:pointer}.workflow-pager button:disabled{opacity:.35;cursor:default}.workflow-pager .ui-icon{width:13px;height:13px}.workflow-pager span{min-width:66px;text-align:center}

/* keep 20 jobs/page genuinely compact without hiding workflow controls */
.pro-workflow-kpis{gap:8px!important;margin-top:12px!important}.pro-workflow-kpis article{border-radius:14px!important;padding:11px 14px!important}.pro-workflow-kpis span{font-size:10px!important}.pro-workflow-kpis b{font-size:21px!important;margin:2px 0!important}.pro-workflow-kpis small{font-size:9px!important}
.pro-workflow-toolbar{margin-top:10px!important;margin-bottom:8px!important}.pro-workflow-filters{gap:6px!important}.pro-workflow-filters button{padding:7px 11px!important;font-size:11px!important}.pro-workflow-list{gap:8px!important;padding-top:0!important}.workflow-job-card{padding:12px 14px!important;border-radius:15px!important}.workflow-job-head{gap:12px!important}.workflow-job-head p{font-size:10px!important;margin-bottom:2px!important}.workflow-job-head h4{font-size:15px!important;margin-bottom:2px!important}.workflow-job-head small{font-size:10px!important;display:block;max-width:min(680px,64vw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workflow-job-money b{font-size:14px!important}.workflow-job-money small{font-size:9px!important}.workflow-need-tags{margin:6px 0!important;gap:5px!important}.workflow-need-tags span{padding:3px 6px!important;font-size:8.5px!important}.workflow-stage-row{gap:6px!important;padding-top:8px!important}.workflow-stage{padding:7px 6px!important;border-radius:10px!important;font-size:10px!important}.workflow-stage span{width:17px!important;height:17px!important}.workflow-stage .ui-icon{width:10px!important;height:10px!important}.workflow-custom-section{margin-top:8px!important;padding-top:8px!important}.workflow-custom-head b{font-size:10px!important}.workflow-custom-head button{font-size:10px!important}.workflow-custom-list{gap:5px!important;margin-top:6px!important}.workflow-custom-item{padding:5px 8px!important;font-size:9.5px!important}.workflow-complete-summary{margin-top:7px!important;padding-top:7px!important}.workflow-complete-summary>span{width:23px!important;height:23px!important;flex-basis:23px!important}.workflow-complete-summary>div b{font-size:11px}.workflow-complete-summary>div small{font-size:9px}
body.dark-theme .workflow-filter-bar{background:#1b1a15;border-color:#403a2c}body.dark-theme .workflow-search,body.dark-theme .workflow-filter-bar select,body.dark-theme .workflow-pager button{background:#15140f;border-color:#45402f;color:#f1ead8}body.dark-theme .workflow-filter-reset{border-color:#45402f;color:#b9ad91}
@media(max-width:980px){.workflow-filter-bar{grid-template-columns:minmax(220px,1fr) 140px 170px auto}}
@media(max-width:760px){.workflow-filter-bar{grid-template-columns:1fr 1fr;margin:0 12px 8px;padding:8px}.workflow-search{grid-column:1/-1}.workflow-filter-reset{width:100%}.workflow-list-meta{margin:0 12px 8px}.workflow-job-head small{max-width:76vw}.pro-workflow-kpis{margin-left:12px!important;margin-right:12px!important}.pro-workflow-toolbar{margin-left:12px!important;margin-right:12px!important}}
@media(max-width:480px){.workflow-filter-bar{grid-template-columns:1fr}.workflow-search{grid-column:auto}.workflow-list-meta{align-items:flex-start}.workflow-pager span{min-width:58px}}

/* FIX141 • pricing entry + gift + subscription */
.app-install-actions.desktop-hidden{display:none!important}
.landing-gift-card{margin-top:14px;display:grid;grid-template-columns:44px minmax(170px,1fr) minmax(260px,auto);gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--card) 90%,transparent);box-shadow:0 12px 32px rgba(35,28,8,.06)}
.landing-gift-icon,.account-subscription-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}.landing-gift-card b{display:block;font-size:13px}.landing-gift-card small{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.gift-inline-form{display:flex;gap:8px;min-width:0}.gift-inline-form input{min-width:0;height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);padding:0 12px;font:700 11px/1 inherit;letter-spacing:.04em;text-transform:uppercase}.gift-inline-form button{height:42px;border:0;border-radius:12px;background:var(--ink);color:#fff;padding:0 14px;font-weight:800;white-space:nowrap;cursor:pointer}
.account-subscription-card,.account-gift-card{display:none!important}
.pro-info-actions{display:grid;gap:8px;margin-top:10px}.ghost-btn.full{width:100%}
@media(max-width:760px){.landing-gift-card{grid-template-columns:40px 1fr}.landing-gift-card .gift-inline-form{grid-column:1/-1;width:100%}.gift-inline-form input{flex:1}.account-subscription-card{display:none!important}.account-gift-card{display:none!important}}
html[data-theme="dark"] .gift-inline-form input{background:#17170f;color:#fff}html[data-theme="dark"] .gift-inline-form button{background:#f3c500;color:#1b1705}

/* FIX142 • Freemium landing polish + gift modal + account card alignment */
.landing-gift-launch{width:100%;appearance:none;text-align:left;cursor:pointer;color:var(--text);font:inherit;transition:transform .22s var(--ease),box-shadow .22s var(--ease),border-color .22s var(--ease)}
.landing-gift-launch:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 50%,var(--line));box-shadow:0 18px 44px rgba(91,67,4,.10)}
.landing-gift-arrow{justify-self:end;color:var(--accent-strong);font-size:11px;font-weight:900;white-space:nowrap}
.landing-capability{margin-top:34px;margin-bottom:34px;padding:34px;border:1px solid var(--line);border-radius:30px;background:linear-gradient(135deg,color-mix(in srgb,var(--card) 94%,transparent),color-mix(in srgb,var(--accent-soft) 32%,var(--card)));box-shadow:var(--shadow)}
.landing-capability-head{max-width:760px}.landing-capability-head>span{font-size:9px;font-weight:900;letter-spacing:.18em;color:var(--accent-strong)}.landing-capability-head h2{font-size:clamp(28px,4vw,44px);line-height:1.08;letter-spacing:-.035em;margin:10px 0 12px}.landing-capability-head p{max-width:720px;color:var(--muted);line-height:1.7;font-size:13px}
.landing-capability-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:26px}.landing-capability-grid article{position:relative;min-height:150px;padding:18px;border:1px solid var(--line);border-radius:20px;background:color-mix(in srgb,var(--surface) 86%,transparent);display:flex;flex-direction:column;align-items:flex-start;gap:8px;transition:.22s var(--ease)}.landing-capability-grid article:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}.landing-capability-grid article>span{position:absolute;right:14px;top:13px;font-size:9px;font-weight:900;color:var(--muted);opacity:.65}.landing-capability-grid .ui-icon{width:22px;height:22px;color:var(--accent-strong)}.landing-capability-grid b{font-size:14px}.landing-capability-grid small{font-size:10.5px;line-height:1.55;color:var(--muted)}
.account-subscription-card,.account-gift-card{display:none!important}
.gift-code-modal{position:relative;z-index:2;width:min(430px,calc(100vw - 28px));background:var(--card);border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:0 34px 100px rgba(0,0,0,.28)}.gift-code-modal .modal-close{position:absolute;right:14px;top:14px}.gift-code-mark{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-strong);margin-bottom:13px}.gift-code-mark .ui-icon{width:24px;height:24px}.gift-code-modal h3{font-size:23px;margin:5px 0 8px}.gift-code-modal p{color:var(--muted);line-height:1.6;font-size:11px}.gift-code-modal input{width:100%;height:48px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);padding:0 14px;font:800 12px/1 inherit;letter-spacing:.04em;text-transform:uppercase;margin:10px 0}.primary-btn.full{width:100%;justify-content:center}.gift-code-success{text-align:center}.gift-code-success>span{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:4px auto 14px;background:#def7e8;color:#15955c;font-size:31px;font-weight:900}.gift-code-success h3{margin-bottom:6px}
body.dark-theme .landing-capability{background:linear-gradient(135deg,#171710,#1e1b0d)}body.dark-theme .landing-capability-grid article{background:#15150f}body.dark-theme .account-gift-card>button{background:#f1c100;color:#1c1705}body.dark-theme .gift-code-modal input{background:#15150f;color:#fff}
@media(max-width:980px){.landing-capability-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.landing-gift-card{grid-template-columns:40px 1fr auto!important}.landing-gift-arrow{font-size:9px}.landing-capability{padding:22px 17px;border-radius:24px}.landing-capability-grid{grid-template-columns:1fr 1fr;gap:8px}.landing-capability-grid article{min-height:132px;padding:14px}.account-subscription-card,.account-gift-card{display:none!important}.gift-code-modal{padding:24px 18px}}
@media(max-width:480px){.landing-capability-grid{grid-template-columns:1fr}.landing-capability-grid article{min-height:108px}.landing-gift-card{grid-template-columns:38px 1fr!important}.landing-gift-arrow{grid-column:2;justify-self:start}}


/* FIX143 — landing is always light + gift community link + button font consistency */
#landingView .landing-header-tools{grid-auto-flow:column;align-items:center;justify-content:end}
.gift-code-modal button,.gift-code-modal input,.landing-gift-card{font-family:"Be Vietnam Pro",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}




/* FIX144 — pricing annual card + solid gift modal + final legal footer cleanup */
#giftCodeModal.landing-context .gift-code-modal{
  background:#fffdf8!important;color:#211e16!important;border-color:#e1d5b7!important;
  box-shadow:0 36px 110px rgba(30,24,8,.26)!important;backdrop-filter:none!important
}
#giftCodeModal.landing-context .gift-code-modal h3{color:#211e16!important}
#giftCodeModal.landing-context .gift-code-modal p{color:#746b59!important}
#giftCodeModal.landing-context .gift-code-modal input{
  background:#fff!important;color:#211e16!important;border:1px solid #d6c8a5!important;
  box-shadow:0 0 0 3px rgba(240,190,0,.10)!important
}
#giftCodeModal.landing-context .gift-code-modal .gift-code-mark{background:#fff4c8!important;color:#a47700!important}
#giftCodeModal.landing-context .gift-code-modal .primary-btn{background:#211e10!important;color:#fff!important}
#giftCodeModal.landing-context .gift-code-modal .modal-close{background:#f5eedc!important;color:#211e16!important}
#giftCodeModal.landing-context .gift-code-modal .eyebrow{color:#a47700!important}
#giftCodeModal.landing-context .gift-code-modal .gift-code-success>span{background:#def7e8!important;color:#15955c!important}


/* FIX145 — free PRO badges + landing PRO CTA */
.nav-item.pro-locked em{background:rgba(148,148,142,.14)!important;color:#8f8f88!important;border:1px solid rgba(160,160,154,.12)!important;box-shadow:none!important}
.nav-item.pro-locked:hover em,.nav-item.pro-locked.active em{background:rgba(170,170,164,.16)!important;color:#aaa9a0!important}
.feature-pro-cta{display:flex;justify-content:center;margin-top:28px}
.feature-pro-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 19px;border-radius:15px;background:linear-gradient(135deg,#181711,#2c2818);color:#fff;text-decoration:none;font:800 12px/1 "Manrope",sans-serif;box-shadow:0 14px 30px rgba(45,35,8,.15);transition:transform .22s var(--ease),box-shadow .22s var(--ease)}
.feature-pro-link b{color:#f5b700;font-size:18px;line-height:1;transition:transform .22s var(--ease)}
.feature-pro-link:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(45,35,8,.2)}
.feature-pro-link:hover b{transform:translateX(3px)}
body.dark-theme .feature-pro-link{background:linear-gradient(135deg,#f5c400,#dca900);color:#1b180d;box-shadow:0 14px 34px rgba(245,183,0,.12)}
body.dark-theme .feature-pro-link b{color:#1b180d}
@media(max-width:600px){.feature-pro-cta{margin-top:20px}.feature-pro-link{width:100%;min-height:46px}}


/* FIX146 — pricing annual card toned down + account entry card alignment */
.account-subscription-card,
.account-gift-card{
  display:none!important;
}
.account-subscription-card{margin-top:0!important}
.account-gift-card{margin-bottom:18px!important}
.account-subscription-icon,.account-gift-icon{
  width:44px!important;height:44px!important;border-radius:14px!important;flex:0 0 auto!important;
}
.account-subscription-copy,.account-gift-copy{min-width:0!important;flex:none!important}
.account-subscription-copy b,.account-gift-copy b{font:800 13px Manrope,sans-serif!important;line-height:1.25!important}
.account-subscription-copy small{font-size:9px!important;letter-spacing:.12em!important}
.account-subscription-copy span,.account-gift-copy small{font-size:9px!important;line-height:1.55!important;color:#82755c!important}
.account-subscription-card>button,
.account-gift-card>button{
  min-height:42px!important;
  border-radius:13px!important;
  padding:10px 14px!important;
  white-space:nowrap!important;
  font-size:10.5px!important;
  font-weight:850!important;
  box-shadow:0 8px 18px rgba(32,28,13,.12)!important;
}
body.dark-theme .account-subscription-card,
body.dark-theme .account-gift-card{
  background:linear-gradient(135deg,rgba(37,33,23,.98),rgba(52,42,20,.92))!important;
  border-color:#514323!important;
  color:#f3ead4!important;
}
body.dark-theme .account-subscription-copy span,
body.dark-theme .account-gift-copy small{color:#aaa087!important}
body.dark-theme .account-subscription-icon{background:#2c2617!important;color:#f3c43c!important}
body.dark-theme .account-gift-icon{background:#11110d!important;border:1px solid #4a3d1f!important;color:#f3c43c!important}
body.dark-theme .account-subscription-card>button,
body.dark-theme .account-gift-card>button{background:#e0aa18!important;color:#261d05!important}
body.dark-theme .account-subscription-card>button:hover,
body.dark-theme .account-gift-card>button:hover{background:#f0bd2b!important}
@media(max-width:760px){
  .account-subscription-card,
  .account-gift-card{
    display:none!important;
  }
  .account-gift-card{margin-bottom:18px!important}
  .account-subscription-icon,.account-gift-icon{width:40px!important;height:40px!important;border-radius:13px!important}
  .account-subscription-card>button,
  .account-gift-card>button{grid-column:1/3!important;width:100%!important;min-height:44px!important}
  .account-subscription-copy span,.account-gift-copy small{font-size:8.7px!important}
}


/* =========================================================
   FIX149 — MOBILE SAFARI + iOS HOME SCREEN + ANDROID APK
   Scope intentionally limited to mobile widths <= 760px.
   Applies to Safari dev-link testing, iOS Home Screen and Android APK; desktop web is untouched.
   ========================================================= */
@media (max-width:760px){
  /* 1) PRO job filters: compact paired rows, no saved-filter UI on mobile. */
  #jobsView .job-pro-filter-panel{
    margin:8px 10px 2px!important;
    padding:12px!important;
    overflow:hidden!important;
  }
  #jobsView .job-pro-filter-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px 8px!important;
  }
  #jobsView .job-pro-filter-grid>label{
    min-width:0!important;
    width:100%!important;
  }
  #jobsView .job-pro-filter-grid input,
  #jobsView .job-pro-filter-grid select{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    height:42px!important;
    padding-left:10px!important;
    padding-right:8px!important;
    font-size:12px!important;
  }
  #jobsView .job-filter-saved-row{
    display:none!important;
  }

  /* 2) Create/edit job modal: lighter examples + robust iOS date/time sizing. */
  #jobModal .job-form input::placeholder,
  #jobModal .job-form textarea::placeholder{
    font-weight:400!important;
    opacity:.56!important;
    color:#8d877b!important;
  }
  #jobModal .schedule-row{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
  }
  #jobModal .schedule-row>label{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  #jobModal #jobDate,
  #jobModal #jobTime{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    padding-left:9px!important;
    padding-right:6px!important;
    font-size:16px!important;
    font-weight:600!important;
    letter-spacing:-.01em!important;
  }
  #jobModal #jobDate::-webkit-date-and-time-value,
  #jobModal #jobTime::-webkit-date-and-time-value{
    text-align:left!important;
    min-width:0!important;
  }

}

@media (max-width:380px){
  #jobsView .job-pro-filter-grid{gap:8px 6px!important}
  #jobsView .job-pro-filter-grid input,
  #jobsView .job-pro-filter-grid select{font-size:11px!important;padding-left:8px!important;padding-right:5px!important}
  #jobModal .schedule-row{gap:6px!important}
  #jobModal #jobDate,
  #jobModal #jobTime{font-size:15px!important;padding-left:7px!important;padding-right:4px!important}
}


/* =========================================================
   FIX150 — iOS Safari/Home Screen native date+time width fix
   iOS-only. Android + desktop keep FIX149 behavior unchanged.
   ========================================================= */
@supports (-webkit-touch-callout:none){
  @media (max-width:760px){
    /* iOS native date/time controls keep an intrinsic inner width even when
       the input itself is width:100%. Remove the native chrome and let the
       grid own the width, while keeping the whole control tappable. */
    #jobModal .schedule-row{
      grid-template-columns:minmax(0,1.28fr) minmax(0,.72fr)!important;
      gap:8px!important;
    }
    #jobModal .schedule-row>label,
    #jobsView .job-pro-filter-grid>label{
      min-width:0!important;
      overflow:visible!important;
    }

    #jobModal #jobDate,
    #jobModal #jobTime,
    #jobsView #jobFilterDateFrom,
    #jobsView #jobFilterDateTo{
      -webkit-appearance:none!important;
      appearance:none!important;
      position:relative!important;
      display:block!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      box-sizing:border-box!important;
      overflow:hidden!important;
      text-align:left!important;
      padding-left:9px!important;
      padding-right:9px!important;
      font-variant-numeric:tabular-nums!important;
    }

    #jobModal #jobDate{font-size:13.5px!important;letter-spacing:-.02em!important}
    #jobModal #jobTime{font-size:15px!important;letter-spacing:0!important}
    #jobsView #jobFilterDateFrom,
    #jobsView #jobFilterDateTo{font-size:13px!important;letter-spacing:-.02em!important}

    #jobModal #jobDate::-webkit-date-and-time-value,
    #jobModal #jobTime::-webkit-date-and-time-value,
    #jobsView #jobFilterDateFrom::-webkit-date-and-time-value,
    #jobsView #jobFilterDateTo::-webkit-date-and-time-value{
      display:block!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      margin:0!important;
      padding:0!important;
      text-align:left!important;
      line-height:1.2!important;
    }

    #jobModal #jobDate::-webkit-datetime-edit,
    #jobModal #jobTime::-webkit-datetime-edit,
    #jobsView #jobFilterDateFrom::-webkit-datetime-edit,
    #jobsView #jobFilterDateTo::-webkit-datetime-edit,
    #jobModal #jobDate::-webkit-datetime-edit-fields-wrapper,
    #jobModal #jobTime::-webkit-datetime-edit-fields-wrapper,
    #jobsView #jobFilterDateFrom::-webkit-datetime-edit-fields-wrapper,
    #jobsView #jobFilterDateTo::-webkit-datetime-edit-fields-wrapper{
      min-width:0!important;
      max-width:100%!important;
      padding:0!important;
    }

    /* Do not let the picker indicator reserve a second invisible column on iOS.
       It still covers the input, so tapping anywhere keeps opening the native picker. */
    #jobModal #jobDate::-webkit-calendar-picker-indicator,
    #jobModal #jobTime::-webkit-calendar-picker-indicator,
    #jobsView #jobFilterDateFrom::-webkit-calendar-picker-indicator,
    #jobsView #jobFilterDateTo::-webkit-calendar-picker-indicator{
      position:absolute!important;
      inset:0!important;
      width:100%!important;
      height:100%!important;
      margin:0!important;
      padding:0!important;
      opacity:0!important;
      cursor:pointer!important;
    }
  }

  @media (max-width:380px){
    #jobModal .schedule-row{grid-template-columns:minmax(0,1.34fr) minmax(0,.66fr)!important;gap:6px!important}
    #jobModal #jobDate{font-size:12.5px!important;padding-left:7px!important;padding-right:7px!important}
    #jobModal #jobTime{font-size:14px!important;padding-left:7px!important;padding-right:7px!important}
    #jobsView #jobFilterDateFrom,
    #jobsView #jobFilterDateTo{font-size:12px!important;padding-left:7px!important;padding-right:7px!important}
  }
}


/* FIX156 — mobile Jobs → Workflow entry + true full-screen Workflow workspace */
.jobs-mobile-workflow-entry{display:none}
@media(max-width:760px){
  #jobsView .jobs-mobile-workflow-entry{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:11px;
    margin:0 14px 12px;
    padding:13px 13px;
    border:1px solid rgba(225,177,0,.34);
    border-radius:17px;
    background:linear-gradient(115deg,#fffaf0,#fff 58%,#fff4c8);
    box-shadow:0 10px 28px rgba(79,58,8,.07);
    overflow:hidden;
  }
  .jobs-mobile-workflow-icon{
    width:42px;height:42px;border-radius:13px;display:grid;place-items:center;
    background:#1f1c10;color:#ffd33b;box-shadow:0 8px 18px rgba(35,29,8,.14);
  }
  .jobs-mobile-workflow-icon .ui-icon{width:20px;height:20px;stroke-width:2.2}
  .jobs-mobile-workflow-copy{min-width:0;display:grid;gap:4px}
  .jobs-mobile-workflow-copy>div{display:flex;align-items:center;gap:7px;min-width:0}
  .jobs-mobile-workflow-copy b{font:800 13px/1.2 Manrope,sans-serif;color:var(--text)}
  .jobs-mobile-workflow-copy em{font-style:normal;font-size:7px;font-weight:900;letter-spacing:.08em;color:#332900;background:#f3bf00;border-radius:999px;padding:4px 6px;flex:0 0 auto}
  .jobs-mobile-workflow-copy small{font-size:8.7px;line-height:1.5;color:var(--muted);display:block}
  .jobs-mobile-workflow-entry>button{
    min-height:38px;border:0;border-radius:11px;background:#211e10;color:#ffd53f;
    padding:0 10px;font-size:9px;font-weight:900;display:flex;align-items:center;gap:4px;white-space:nowrap;cursor:pointer;
  }
  .jobs-mobile-workflow-entry>button .ui-icon{width:13px;height:13px}
  body.dark-theme #jobsView .jobs-mobile-workflow-entry{background:linear-gradient(115deg,#211f17,#17160f 58%,#2a2412);border-color:#514323}
  body.dark-theme .jobs-mobile-workflow-copy b{color:#f4ecda}
  body.dark-theme .jobs-mobile-workflow-entry>button{background:#e0aa18;color:#261d05}

  /* Mobile Workflow is an actual sub-page, not a centered Settings card. */
  body.workflow-mobile-full .main{
    width:100vw!important;max-width:100vw!important;
    padding:0 0 calc(98px + env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;
  }
  body.workflow-mobile-full .topbar{display:none!important}
  body.workflow-mobile-full #workflowView{
    width:100vw!important;max-width:100vw!important;
    margin:0!important;padding:0!important;
    min-height:calc(100dvh - 84px - env(safe-area-inset-bottom));
  }
  body.workflow-mobile-full #workflowView>.pro-workflow-page{
    width:100%!important;max-width:none!important;
    min-height:calc(100dvh - 84px - env(safe-area-inset-bottom))!important;
    margin:0!important;padding:0 0 18px!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
    overflow:visible!important;background:var(--surface)!important;
  }
  body.workflow-mobile-full #workflowBackBtn{
    display:inline-flex!important;margin:calc(12px + env(safe-area-inset-top)) 12px 0!important;
    min-height:40px!important;padding:9px 11px!important;
  }
  body.workflow-mobile-full #workflowView .notification-settings-head{
    margin:0!important;padding:16px 14px 15px!important;border-bottom:1px solid var(--line)!important;
  }
  body.workflow-mobile-full #workflowView .notification-settings-head>span{width:42px;height:42px;flex-basis:42px;border-radius:13px}
  body.workflow-mobile-full #workflowView .notification-settings-head h3{font-size:20px!important}
  body.workflow-mobile-full #workflowView .notification-settings-head p:last-child{font-size:9.5px!important;line-height:1.55!important}
  body.workflow-mobile-full .pro-workflow-kpis{
    grid-template-columns:1fr 1fr!important;margin:12px!important;gap:8px!important;
  }
  body.workflow-mobile-full .pro-workflow-toolbar{margin:0 12px 8px!important;gap:8px!important}
  body.workflow-mobile-full .pro-workflow-filters{width:100%;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
  body.workflow-mobile-full .pro-workflow-filters button{width:100%;min-width:0!important}
  body.workflow-mobile-full #workflowRefreshBtn{width:100%!important;min-height:38px!important}
  body.workflow-mobile-full .workflow-filter-bar{
    grid-template-columns:1fr 1fr!important;margin:0 12px 8px!important;padding:8px!important;gap:7px!important;
  }
  body.workflow-mobile-full .workflow-search{grid-column:1/-1!important;min-width:0!important}
  body.workflow-mobile-full .workflow-filter-bar select,
  body.workflow-mobile-full .workflow-filter-reset{width:100%!important;min-width:0!important}
  body.workflow-mobile-full .workflow-list-meta{margin:0 12px 8px!important}
  body.workflow-mobile-full .pro-workflow-list{padding:0 12px 12px!important;width:100%!important;max-width:none!important}
  body.workflow-mobile-full .workflow-job-card{width:100%!important;max-width:none!important;margin:0!important}
  body.workflow-mobile-full .workflow-job-head small{max-width:calc(100vw - 54px)!important}
  body.workflow-mobile-full .workflow-stage-row{grid-template-columns:1fr 1fr!important}
  body.workflow-mobile-full .workflow-stage{min-width:0!important}
  body.workflow-mobile-full .workflow-custom-list{max-width:100%;overflow:hidden}
}
@media(max-width:390px){
  #jobsView .jobs-mobile-workflow-entry{grid-template-columns:38px minmax(0,1fr);padding:12px;gap:9px}
  .jobs-mobile-workflow-icon{width:38px;height:38px;border-radius:12px}
  .jobs-mobile-workflow-entry>button{grid-column:1/-1;width:100%;justify-content:center;min-height:40px}
  body.workflow-mobile-full .workflow-filter-bar{grid-template-columns:1fr!important}
  body.workflow-mobile-full .workflow-search{grid-column:auto!important}
}


/* FIX157 — mobile Workflow row + colored Workflow KPIs + solid Gift Code themes */
@media(max-width:760px){
  /* Jobs: native-style full-width row. The whole row is the tap target; no separate CTA button. */
  #jobsView .jobs-mobile-workflow-entry{
    grid-template-columns:42px minmax(0,1fr) 24px!important;
    gap:11px!important;
    margin:0!important;
    padding:13px 18px!important;
    border:0!important;
    border-top:1px solid var(--line)!important;
    border-bottom:1px solid var(--line)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    transition:background .18s var(--ease);
  }
  #jobsView .jobs-mobile-workflow-entry:active,
  #jobsView .jobs-mobile-workflow-entry:focus-visible{
    background:color-mix(in srgb,var(--accent-soft,#fff2b8) 38%,transparent)!important;
    outline:none;
  }
  .jobs-mobile-workflow-icon{
    box-shadow:none!important;
  }
  .jobs-mobile-workflow-chevron{
    width:24px;height:32px;display:grid;place-items:center;justify-self:end;
    color:var(--muted);border-radius:9px;
  }
  .jobs-mobile-workflow-chevron .ui-icon{width:17px;height:17px;stroke-width:2.3}
  body.dark-theme #jobsView .jobs-mobile-workflow-entry{
    background:transparent!important;border-color:#3f392b!important;
  }
  body.dark-theme #jobsView .jobs-mobile-workflow-entry:active,
  body.dark-theme #jobsView .jobs-mobile-workflow-entry:focus-visible{
    background:rgba(239,185,0,.075)!important;
  }
  body.dark-theme .jobs-mobile-workflow-chevron{color:#b9af95}

  /* Workflow dashboard: soft status colors make the four KPIs scannable in both themes. */
  body.workflow-mobile-full .pro-workflow-kpis article{
    position:relative;overflow:hidden;
    box-shadow:0 8px 22px rgba(44,34,8,.045)!important;
  }
  body.workflow-mobile-full .pro-workflow-kpis article:nth-child(1){
    background:linear-gradient(135deg,#fff4c9 0%,#fffdf4 82%)!important;
    border-color:#ecd47b!important;
  }
  body.workflow-mobile-full .pro-workflow-kpis article:nth-child(2){
    background:linear-gradient(135deg,#eef1ff 0%,#fbfbff 82%)!important;
    border-color:#cdd4f5!important;
  }
  body.workflow-mobile-full .pro-workflow-kpis article:nth-child(3){
    background:linear-gradient(135deg,#eaf8f0 0%,#fbfffc 82%)!important;
    border-color:#bfe2cd!important;
  }
  body.workflow-mobile-full .pro-workflow-kpis article:nth-child(4){
    background:linear-gradient(135deg,#ffede7 0%,#fffaf7 82%)!important;
    border-color:#efc6b7!important;
  }
  body.workflow-mobile-full .pro-workflow-kpis article:nth-child(1)>span{color:#8b6800!important}
  body.workflow-mobile-full .pro-workflow-kpis article:nth-child(2)>span{color:#5963ad!important}
  body.workflow-mobile-full .pro-workflow-kpis article:nth-child(3)>span{color:#2c7952!important}
  body.workflow-mobile-full .pro-workflow-kpis article:nth-child(4)>span{color:#aa5b43!important}
  body.workflow-mobile-full #workflowRefreshBtn{
    border-color:#e0ad14!important;
    background:linear-gradient(135deg,#ffd54a,#efb600)!important;
    color:#2b2100!important;
    font-weight:900!important;
    box-shadow:0 8px 18px rgba(219,164,0,.16)!important;
  }
  body.workflow-mobile-full #workflowRefreshBtn:active{filter:brightness(.96)}

  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article:nth-child(1){
    background:linear-gradient(135deg,rgba(225,171,16,.19),rgba(28,26,18,.98) 78%)!important;
    border-color:#65521e!important;
  }
  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article:nth-child(2){
    background:linear-gradient(135deg,rgba(100,113,218,.18),rgba(25,25,29,.98) 78%)!important;
    border-color:#434967!important;
  }
  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article:nth-child(3){
    background:linear-gradient(135deg,rgba(43,150,96,.18),rgba(22,28,24,.98) 78%)!important;
    border-color:#315640!important;
  }
  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article:nth-child(4){
    background:linear-gradient(135deg,rgba(202,88,59,.18),rgba(29,24,22,.98) 78%)!important;
    border-color:#664137!important;
  }
  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article b{color:#f5eedc!important}
  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article small{color:#aaa087!important}
  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article:nth-child(1)>span{color:#eac64d!important}
  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article:nth-child(2)>span{color:#aab3ff!important}
  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article:nth-child(3)>span{color:#75d7a4!important}
  body.dark-theme.workflow-mobile-full .pro-workflow-kpis article:nth-child(4)>span{color:#f0a18b!important}
  body.dark-theme.workflow-mobile-full #workflowRefreshBtn{
    background:linear-gradient(135deg,#efc334,#dca400)!important;
    border-color:#e7b522!important;color:#231b00!important;
  }

  /* Gift-code modal: var(--card) is not globally defined, so force a solid light/dark surface. */
  body:not(.dark-theme) #giftCodeModal .gift-code-modal{
    background:#fffdf8!important;color:#211e16!important;border-color:#e1d5b7!important;
    box-shadow:0 34px 100px rgba(30,24,8,.25)!important;backdrop-filter:none!important;
  }
  body:not(.dark-theme) #giftCodeModal .gift-code-modal h3{color:#211e16!important}
  body:not(.dark-theme) #giftCodeModal .gift-code-modal p{color:#746b59!important}
  body:not(.dark-theme) #giftCodeModal .gift-code-modal input{
    background:#fff!important;color:#211e16!important;border-color:#d6c8a5!important;
    box-shadow:none!important;
  }
  body:not(.dark-theme) #giftCodeModal .gift-code-modal .gift-code-mark{background:#fff4c8!important;color:#a47700!important}
  body:not(.dark-theme) #giftCodeModal .gift-code-modal .modal-close{background:#f5eedc!important;color:#211e16!important}
  body:not(.dark-theme) #giftCodeModal .gift-code-modal .primary-btn{background:#211e10!important;color:#fff!important}

  body.dark-theme #giftCodeModal .gift-code-modal{
    background:#1b1a15!important;color:#f4ecda!important;border-color:#4b432f!important;
    box-shadow:0 34px 110px rgba(0,0,0,.46)!important;backdrop-filter:none!important;
  }
  body.dark-theme #giftCodeModal .gift-code-modal h3{color:#f4ecda!important}
  body.dark-theme #giftCodeModal .gift-code-modal p{color:#aaa087!important}
  body.dark-theme #giftCodeModal .gift-code-modal .eyebrow{color:#dcb238!important}
  body.dark-theme #giftCodeModal .gift-code-modal input{
    background:#11110d!important;color:#fff!important;border-color:#554a2c!important;
    box-shadow:none!important;
  }
  body.dark-theme #giftCodeModal .gift-code-modal input::placeholder{color:#776f60!important}
  body.dark-theme #giftCodeModal .gift-code-modal .gift-code-mark{background:#30291a!important;color:#f0c43b!important}
  body.dark-theme #giftCodeModal .gift-code-modal .modal-close{background:#2c281d!important;color:#f2ead6!important}
  body.dark-theme #giftCodeModal .gift-code-modal .primary-btn{background:#e3ad16!important;color:#251d04!important}
}
@media(max-width:390px){
  #jobsView .jobs-mobile-workflow-entry{grid-template-columns:38px minmax(0,1fr) 22px!important;padding:12px 14px!important;gap:9px!important}
  .jobs-mobile-workflow-chevron{width:22px!important}
}

/* ALL FEATURES FREE - HIDE PRO LABELS & UPGRADE BUTTONS */
[data-upgrade-pro],
.lichchup-upgrade-btn,
.lichchup-upgrade-row,
.pro-feature-gate,
.pro-mini-badge,
.sidebar-brand-pro-badge,
.landing-gift-launch,
.feature-pro-cta,
#proOverviewCard,
#accountSubscriptionCard,
#accountGiftCard,
#proNotificationGateBtn,
#financeProReportCard,
#proInfoModal,
#giftCodeModal {
  display: none !important;
}
.sidebar-nav-item em,
.job-advanced-filter-btn em,
.jobs-mobile-workflow-copy em,
.save-as-preset-btn em,
.job-pro-quick-action em {
  display: none !important;
}

/* ==========================================================================
   ENHANCEMENTS: TRASH RESTORATION, QUICK CALL/MAP & APPOINTMENT CARD EXPORT
   ========================================================================== */

/* Quick field actions in forms */
.label-with-quick-action {
  display: grid !important;
  gap: 6px !important;
}
.label-title-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}
.quick-field-action {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: rgba(245, 183, 0, 0.14) !important;
  color: #c98e00 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.quick-field-action:hover {
  background: #f5b700 !important;
  color: #111 !important;
}
body.dark-theme .quick-field-action {
  background: rgba(245, 183, 0, 0.2) !important;
  color: #ffd84b !important;
}
.quick-field-action .mini-icon {
  width: 12px !important;
  height: 12px !important;
}

/* Inline quick call and map links in job rows and detail lists */
.job-quick-call, .job-quick-map {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  text-decoration: none !important;
  color: inherit !important;
  padding: 1px 6px !important;
  border-radius: 6px !important;
  transition: background 0.15s ease !important;
}
.job-quick-call:hover {
  color: #0084ff !important;
  background: rgba(0, 132, 255, 0.1) !important;
}
.job-quick-map:hover {
  color: #f5b700 !important;
  background: rgba(245, 183, 0, 0.12) !important;
}

/* Trash button in Jobs View */
.job-trash-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 12px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: rgba(240, 80, 80, 0.08) !important;
  border: 1px solid rgba(240, 80, 80, 0.22) !important;
  color: #d93838 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.job-trash-btn:hover {
  background: rgba(240, 80, 80, 0.16) !important;
  border-color: #d93838 !important;
}
body.dark-theme .job-trash-btn {
  background: rgba(255, 99, 99, 0.12) !important;
  border-color: rgba(255, 99, 99, 0.3) !important;
  color: #ff8080 !important;
}
.job-trash-btn .ui-icon {
  width: 15px !important;
  height: 15px !important;
}

/* Trash Modal */
.trash-modal-card {
  position: relative;
  width: min(640px, 94vw);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--surface, #fff);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.3);
  border: 1px solid var(--border, #e5e9f0);
  padding: 24px;
  z-index: 10001;
  overflow: hidden;
}
body.dark-theme .trash-modal-card {
  background: #151d27;
  border-color: #293646;
  color: #f1f5f9;
}
.trash-modal-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.trash-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trash-icon .ui-icon {
  width: 22px;
  height: 22px;
}
.trash-modal-head h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 3px 0 4px;
}
.trash-modal-head p {
  font-size: 13px;
  color: var(--text-muted, #7c8ba1);
  margin: 0;
}
.trash-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-soft, #f7f9fc);
  border-radius: 12px;
  margin-bottom: 14px;
}
body.dark-theme .trash-modal-toolbar {
  background: #0f1620;
}
.trash-count-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #333);
}
body.dark-theme .trash-count-badge {
  color: #cbd5e1;
}
.danger-text {
  color: #dc3545 !important;
  font-weight: 700 !important;
}
.trash-job-list {
  flex: 1;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
  min-height: 180px;
  max-height: 420px;
}
.trash-loading, .trash-empty {
  display: grid;
  place-items: center;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted, #8a99ad);
  font-size: 14px;
}
.trash-job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  background: var(--card-bg, #fff);
  transition: transform 0.15s ease;
}
body.dark-theme .trash-job-item {
  background: #1a2432;
  border-color: #2b394b;
}
.trash-job-item-main {
  min-width: 0;
  flex: 1;
}
.trash-job-item-main h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trash-job-item-main p {
  font-size: 12px;
  color: var(--text-muted, #7c8ba1);
  margin: 0 0 3px;
}
.trash-job-item-main small {
  font-size: 11px;
  color: #e57373;
  font-weight: 600;
}
.trash-job-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.trash-restore-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  background: #28a745;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.trash-restore-btn:hover {
  opacity: 0.9;
}
.trash-perm-btn {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}
.trash-perm-btn:hover {
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.3);
}
.trash-modal-footer {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

/* Appointment Confirmation Card Modal */
.highlight-card-action {
  border-color: rgba(245, 183, 0, 0.4) !important;
  color: #b58200 !important;
  background: rgba(245, 183, 0, 0.08) !important;
  font-weight: 800 !important;
}
body.dark-theme .highlight-card-action {
  color: #ffd84b !important;
  background: rgba(245, 183, 0, 0.15) !important;
}
.appointment-card-sheet {
  position: relative;
  width: min(840px, 95vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--surface, #fff);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  border: 1px solid var(--border, #e5e9f0);
  padding: 24px;
  z-index: 10001;
  overflow-y: auto;
}
body.dark-theme .appointment-card-sheet {
  background: #141b24;
  border-color: #273444;
  color: #f1f5f9;
}
.appointment-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.appointment-sparkle-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(245, 183, 0, 0.15);
  color: #f5b700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.appointment-card-head h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 3px 0 4px;
}
.appointment-card-head p {
  font-size: 13px;
  color: var(--text-muted, #7c8ba1);
  margin: 0;
}
.appointment-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: start;
}
@media(max-width: 768px) {
  .appointment-card-body {
    grid-template-columns: 1fr;
  }
}
.appointment-preview-wrap {
  display: flex;
  justify-content: center;
  background: var(--bg-soft, #f4f6fa);
  border-radius: 20px;
  padding: 14px;
  border: 1px solid var(--border, #e2e8f0);
}
body.dark-theme .appointment-preview-wrap {
  background: #0d131a;
  border-color: #1e2936;
}
.appointment-preview-container {
  width: 100%;
  max-width: 380px;
  display: flex;
  justify-content: center;
}
.appointment-preview-container img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.22);
  display: block;
}
.appointment-actions-wrap {
  display: grid;
  gap: 14px;
}
.appointment-action-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.appointment-share-group {
  display: grid;
  gap: 10px;
}
.appointment-social-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.zalo-btn {
  background: #0068ff !important;
  color: #fff !important;
  border: none !important;
}
.zalo-btn:hover {
  background: #0054d1 !important;
}
.zalo-icon {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.5px;
  background: #fff;
  color: #0068ff;
  border-radius: 6px;
  padding: 1px 5px;
}
.messenger-btn {
  background: linear-gradient(135deg, #00b2ff, #006aff) !important;
  color: #fff !important;
  border: none !important;
}
.messenger-btn:hover {
  opacity: 0.92;
}
.messenger-icon {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.5px;
  background: #fff;
  color: #006aff;
  border-radius: 6px;
  padding: 1px 5px;
}
.text-copy-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 11px 14px !important;
  font-size: 13px !important;
  border-radius: 12px !important;
}

/* FIX167 — Close button alignment on appointment confirmation card */
.appointment-card-sheet {
  position: relative !important;
}
.appointment-card-head {
  padding-right: 48px !important;
}
.appointment-modal-close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid var(--border, #e2e8f0) !important;
  background: var(--surface, #ffffff) !important;
  color: var(--text-muted, #64748b) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.appointment-modal-close:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}
body.dark-theme .appointment-modal-close {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #94a3b8 !important;
}
body.dark-theme .appointment-modal-close:hover {
  background: #334155 !important;
  color: #f8fafc !important;
}

/* FIX167 — Job modal button hierarchy: Primary Appointment Card + Ghost Flat Actions */
#jobNativeActions.job-native-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px 10px !important;
  margin: 14px 0 8px !important;
  padding: 0 !important;
}
#jobNativeActions .highlight-appointment-btn {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 44px !important;
  padding: 11px 18px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #242933 0%, #171b22 100%) !important;
  color: #ffd84b !important;
  border: 1px solid rgba(245, 183, 0, 0.4) !important;
  font-weight: 850 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
#jobNativeActions .highlight-appointment-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(245, 183, 0, 0.22) !important;
  border-color: rgba(245, 183, 0, 0.8) !important;
  background: linear-gradient(135deg, #2c3340 0%, #1b2029 100%) !important;
}
#jobNativeActions .highlight-appointment-btn .ui-icon {
  width: 18px !important;
  height: 18px !important;
  color: #f5b700 !important;
}
body.dark-theme #jobNativeActions .highlight-appointment-btn {
  background: linear-gradient(135deg, #29303c 0%, #161a22 100%) !important;
  border-color: rgba(245, 183, 0, 0.45) !important;
  color: #ffd84b !important;
}
#jobNativeActions .job-flat-action {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 8px 10px !important;
  min-height: 38px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-muted, #64748b) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  width: 100% !important;
}
#jobNativeActions .job-flat-action:hover {
  color: var(--text, #1e293b) !important;
  background: rgba(0, 0, 0, 0.04) !important;
}
body.dark-theme #jobNativeActions .job-flat-action {
  color: #94a3b8 !important;
}
body.dark-theme #jobNativeActions .job-flat-action:hover {
  color: #f1f5f9 !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
#jobNativeActions .job-flat-action .ui-icon {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2 !important;
  opacity: 0.9 !important;
}

/* FIX167 — Bottom Job Save Bar: Left (Lưu mẫu + Hủy), Right (Xóa job + Lưu job) */
#jobModal .job-save-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 14px !important;
  padding-top: 6px !important;
}
#jobModal .job-actions-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}
#jobModal .job-actions-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  justify-content: flex-end !important;
}
#jobModal .job-actions-left button,
#jobModal .job-actions-right button {
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 13px !important;
  border-radius: 12px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
#jobModal .job-actions-right .primary-btn {
  min-width: 86px !important;
  padding: 0 18px !important;
}
#jobModal .job-actions-right #deleteJobBtn {
  color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.08) !important;
  border: 1px solid rgba(220, 38, 38, 0.22) !important;
}
#jobModal .job-actions-right #deleteJobBtn:hover {
  background: rgba(220, 38, 38, 0.15) !important;
  border-color: rgba(220, 38, 38, 0.45) !important;
}
body.dark-theme #jobModal .job-actions-right #deleteJobBtn {
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}
body.dark-theme #jobModal .job-actions-right #deleteJobBtn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
}
@media (max-width: 480px) {
  #jobModal .job-actions-left button,
  #jobModal .job-actions-right button {
    padding: 0 8px !important;
    font-size: 10.5px !important;
    min-height: 38px !important;
    height: 38px !important;
  }
  #jobModal .save-as-preset-btn em {
    display: none !important;
  }
}

/* =========================================================
   FIX175 — STRICTLY MOBILE UX POLISH (<= 760px; desktop untouched)
   1) Hide redundant topbar #addJobBtn on mobile
   2) Calendar horizontal swipe inside .calendar-scroll + tap month title date/month/year picker
   3) Optimize #jobsView top header stack (search + filter + trash + workflow + month bar)
   ========================================================= */
.cal-month-title-row{display:contents}
.cal-title-caret,#mobileCalDatePopover{display:none!important}

@media (max-width:760px){
  /* 1) Hide top-right "+ Thêm lịch" on mobile (bottom bar #mobileAdd handles quick add) */
  #addJobBtn{display:none!important}
  .top-actions{gap:0!important}

  /* 2) Calendar month title trigger + Date/Month/Year picker popover + scoped swipe animation */
  .calendar-title-wrap{
    width:100%!important;
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr) 32px!important;
    align-items:center!important;
    justify-items:center!important;
    gap:8px!important;
  }
  .cal-month-trigger{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:3px 6px!important;
    border-radius:8px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    cursor:pointer!important;
    -webkit-tap-highlight-color:transparent;
    transition:color .16s var(--ease),opacity .16s var(--ease);
  }
  .cal-month-trigger[aria-expanded="true"]{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  .cal-month-trigger[aria-expanded="true"] h3,
  .cal-month-trigger[aria-expanded="true"] #monthTitle{
    color:#8e7012!important;
  }
  .cal-month-title-row{display:inline-flex!important;align-items:center!important;gap:5px!important}
  .cal-title-caret{display:block!important;width:13px!important;height:13px!important;color:#8e7012!important;flex:0 0 auto;transition:transform .2s var(--ease)}
  .cal-month-trigger[aria-expanded="true"] .cal-title-caret{transform:rotate(180deg)}

  @keyframes calSwipeFromRight{from{opacity:.72;transform:translateX(26px)}to{opacity:1;transform:translateX(0)}}
  @keyframes calSwipeFromLeft{from{opacity:.72;transform:translateX(-26px)}to{opacity:1;transform:translateX(0)}}
  #calendarGrid.cal-swipe-from-right{animation:calSwipeFromRight .2s cubic-bezier(.2,.8,.2,1)}
  #calendarGrid.cal-swipe-from-left{animation:calSwipeFromLeft .2s cubic-bezier(.2,.8,.2,1)}

  #mobileCalDatePopover{
    display:block!important;
    padding:12px!important;
    border-bottom:1px solid #eee5d0!important;
    background:linear-gradient(180deg,#fffdf8,#fff9ec)!important;
    animation:fadeUp .18s var(--ease);
  }
  #mobileCalDatePopover.hidden{display:none!important}
  .mobile-cal-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
  .mobile-cal-picker-title{font:800 9.5px "Manrope",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#93720c}
  .mobile-cal-picker-actions{display:flex;align-items:center;gap:6px}
  .mobile-cal-today-btn{height:28px;padding:0 10px;border:1px solid rgba(217,168,16,.38);border-radius:8px;background:#fff4cc;color:#6c4f00;font:800 10px "Manrope",sans-serif;cursor:pointer}
  .mobile-cal-close-btn{width:28px;height:28px;border:1px solid #e6dcc4;border-radius:8px;background:#fff;color:#5b5342;font-size:15px;line-height:1;display:grid;place-items:center;cursor:pointer}
  .mobile-cal-year-row{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:6px;margin-bottom:9px}
  .mobile-cal-year-step{height:34px;border:1px solid #e2d7bc;border-radius:10px;background:#fff;color:#3d3629;font-size:16px;font-weight:700;display:grid;place-items:center;cursor:pointer}
  .mobile-cal-year-select{height:34px;border:1px solid #e2d7bc;border-radius:10px;background:#fff;color:#272219;font:800 12px "Manrope",sans-serif;text-align:center;text-align-last:center;padding:0 8px}
  .mobile-cal-month-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:10px}
  .mobile-cal-month-btn{height:31px;border:1px solid #e7dec7;border-radius:9px;background:#fff;color:#585040;font:750 10.5px "Manrope",sans-serif;cursor:pointer}
  .mobile-cal-month-btn.is-active{background:#f2b705;border-color:#e0a800;color:#1b170c;font-weight:850}
  .mobile-cal-day-section{padding-top:9px;border-top:1px solid rgba(224,212,182,.75)}
  .mobile-cal-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-bottom:4px}
  .mobile-cal-weekdays span{text-align:center;font:800 8.5px "Manrope",sans-serif;color:#9b9078}
  .mobile-cal-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
  .mobile-cal-day-btn{position:relative;height:31px;border:1px solid transparent;border-radius:9px;background:transparent;color:#312c22;font:700 11.5px "Manrope",sans-serif;display:grid;place-items:center;cursor:pointer}
  .mobile-cal-day-btn.has-job:after{content:"";position:absolute;bottom:3px;width:4px;height:4px;border-radius:50%;background:#e0a500}
  .mobile-cal-day-btn.is-today{background:#f6edd4;border-color:#dfc67a;color:#664b00;font-weight:850}
  .mobile-cal-day-btn.is-selected{background:#1c1a13;color:#ffd84d;font-weight:850}
  .mobile-cal-day-btn.is-selected.has-job:after{background:#ffd84d}

  body.dark-theme .cal-month-trigger{background:transparent!important;border:0!important;box-shadow:none!important}
  body.dark-theme .cal-month-trigger[aria-expanded="true"]{background:transparent!important;border:0!important;box-shadow:none!important}
  body.dark-theme .cal-month-trigger[aria-expanded="true"] h3,
  body.dark-theme .cal-month-trigger[aria-expanded="true"] #monthTitle{color:#f0c642!important}
  body.dark-theme .cal-title-caret{color:#f0c642!important}
  body.dark-theme #mobileCalDatePopover{background:linear-gradient(180deg,#201e17,#1a1812)!important;border-color:#3b3629!important}
  body.dark-theme .mobile-cal-picker-title{color:#e6c24f}
  body.dark-theme .mobile-cal-today-btn{background:#342c16;border-color:#5a4a1d;color:#f7d55e}
  body.dark-theme .mobile-cal-close-btn,
  body.dark-theme .mobile-cal-year-step,
  body.dark-theme .mobile-cal-year-select,
  body.dark-theme .mobile-cal-month-btn{background:#26231b;border-color:#453f2f;color:#ece4d1}
  body.dark-theme .mobile-cal-month-btn.is-active{background:#f2b705;border-color:#f2b705;color:#1a1609}
  body.dark-theme .mobile-cal-day-section{border-color:#3a3528}
  body.dark-theme .mobile-cal-weekdays span{color:#9a907a}
  body.dark-theme .mobile-cal-day-btn{color:#eee6d2}
  body.dark-theme .mobile-cal-day-btn.is-today{background:#2e2816;border-color:#695621;color:#ffd95a}
  body.dark-theme .mobile-cal-day-btn.is-selected{background:#f2b705;color:#1a1609}
  body.dark-theme .mobile-cal-day-btn.is-selected.has-job:after{background:#1a1609}

  /* 3) Optimize #jobsView top section on mobile (search row -> workflow shortcut -> month toolbar) */
  #jobsView .jobs-section-head>div:first-child{display:none!important}
  #jobsView .jobs-section-head{padding:10px 10px 9px!important;border-bottom:0!important;gap:0!important}
  #jobsView .jobs-search-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 40px 40px!important;
    gap:7px!important;
    width:100%!important;
    align-items:center!important;
  }
  #jobsView .jobs-search-actions .search-wrap{
    height:40px!important;min-height:40px!important;padding:0 10px!important;border-radius:12px!important;
  }
  #jobsView .jobs-search-actions .search-wrap input{font-size:12px!important;padding:6px 0!important}
  #jobsView #jobAdvancedFilterBtn{
    position:relative!important;width:40px!important;height:40px!important;min-width:40px!important;
    padding:0!important;justify-content:center!important;border-radius:12px!important;
  }
  #jobsView #jobAdvancedFilterBtn>b{
    position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;font-size:8px;padding:0 4px;
    border:1.5px solid #fffdf8;
  }
  #jobsView #openTrashBtn{
    width:40px!important;height:40px!important;min-width:40px!important;
    padding:0!important;justify-content:center!important;border-radius:12px!important;
  }
  #jobsView #openTrashBtn span{display:none!important}

  #jobsView .jobs-mobile-workflow-entry{
    grid-template-columns:34px minmax(0,1fr) 18px!important;
    padding:9px 10px!important;
    gap:9px!important;
  }
  #jobsView .jobs-mobile-workflow-icon{width:34px!important;height:34px!important;border-radius:10px!important}
  #jobsView .jobs-mobile-workflow-icon .ui-icon{width:17px!important;height:17px!important}
  #jobsView .jobs-mobile-workflow-copy{gap:1px!important}
  #jobsView .jobs-mobile-workflow-copy b{font-size:12px!important}
  #jobsView .jobs-mobile-workflow-copy small{
    font-size:8.5px!important;line-height:1.3!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }

  #jobsView .jobs-month-toolbar{
    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) auto!important;
    flex-direction:initial!important;
    align-items:center!important;
    gap:10px!important;
    padding:9px 10px!important;
  }
  #jobsView .jobs-month-picker-wrap{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    grid-template-columns:none!important;gap:3px!important;min-width:0!important;
  }
  #jobsView .jobs-month-label{
    font-size:7.6px!important;text-transform:uppercase!important;letter-spacing:.08em!important;
    color:#8d836c!important;line-height:1!important;
  }
  #jobsView .jobs-month-trigger{
    height:36px!important;border-radius:10px!important;padding:0 9px 0 10px!important;
    font-size:11px!important;gap:6px!important;box-shadow:none!important;
  }
  #jobsView .jobs-month-trigger span{
    min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  }
  #jobsView .jobs-month-summary{
    width:auto!important;text-align:right!important;justify-self:end!important;gap:0!important;
  }
  #jobsView .jobs-month-summary>div{
    display:flex!important;flex-direction:column-reverse!important;align-items:flex-end!important;gap:2px!important;
  }
  #jobsView .jobs-month-summary strong{font-size:13px!important;line-height:1.15!important;white-space:nowrap!important}
  #jobsView .jobs-month-summary b{font-size:9px!important;font-weight:750!important;color:#8a806a!important;white-space:nowrap!important}
  #jobsView .jobs-month-summary small{display:none!important}

  body.dark-theme #jobsView #jobAdvancedFilterBtn>b{border-color:#201e17}
  body.dark-theme #jobsView .jobs-month-label{color:#a89f89!important}
  body.dark-theme #jobsView .jobs-month-summary b{color:#b0a58e!important}
}



