:root{--bg:#08111f;--panel:#0f1b2f;--panel2:#13243b;--line:#263b59;--text:#f4f7fb;--muted:#9dafc8;--accent:#64b5f6;--green:#7be0ae;--danger:#ff8a8a;--radius:16px}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:radial-gradient(circle at top right,#173257 0,#08111f 42%,#050b14 100%);color:var(--text);min-height:100vh}button,input,select,textarea{font:inherit}.shell{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{padding:22px 15px;background:#050c17;border-right:1px solid var(--line);position:sticky;top:0;height:100vh}.brand{font-size:21px;font-weight:900}.sub{font-size:12px;color:var(--muted);margin-top:4px}.nav{display:grid;gap:7px;margin-top:24px}.nav button,.bottom-nav button{border:0;background:transparent;color:var(--muted);padding:11px 12px;border-radius:11px;text-align:left;font-weight:750;cursor:pointer}.nav button.active,.nav button:hover{background:var(--panel2);color:var(--text)}main{padding:24px 26px 90px;max-width:1450px;width:100%;margin:auto}.top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:18px}.top h1{margin:3px 0;font-size:30px}.pill{display:inline-flex;padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:#16324a;color:#bfe5ff;font-size:11px;font-weight:800}.grid{display:grid;gap:13px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.card{border:1px solid var(--line);background:linear-gradient(160deg,var(--panel),var(--panel2));border-radius:var(--radius);padding:16px}.kpi strong{font-size:28px;display:block;margin-top:6px}.label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:850}.muted{color:var(--muted)}.section{margin-top:18px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.section-head h2{margin:0;font-size:20px}.btn{border:0;border-radius:10px;padding:10px 13px;background:var(--accent);color:#06111f;font-weight:850;cursor:pointer}.btn.secondary{background:var(--panel2);color:var(--text);border:1px solid var(--line)}.list{display:grid;gap:8px}.row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;background:#0a1727}.row small{display:block;color:var(--muted);margin-top:3px}.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.field{display:grid;gap:5px}.field.full{grid-column:1/-1}.field label{font-size:12px;color:var(--muted);font-weight:750}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);background:#091624;color:var(--text);border-radius:10px;padding:11px;min-height:44px}.actions{display:flex;gap:8px;flex-wrap:wrap}.notice{padding:12px;border:1px solid var(--line);border-radius:12px;background:#10233a;color:#d9e6f5}.bottom-nav{display:none}.empty{padding:20px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px}.money{font-variant-numeric:tabular-nums}.modal-backdrop{position:fixed;inset:0;background:#0009;display:grid;place-items:center;padding:18px;z-index:50}.modal{width:min(720px,100%);max-height:90vh;overflow:auto;border:1px solid var(--line);background:#0c182a;border-radius:18px;padding:18px}.modal h2{margin-top:0}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}@media(max-width:900px){.shell{display:block}.sidebar{display:none}main{padding:18px 14px 92px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;background:#06101dee;border-top:1px solid var(--line);backdrop-filter:blur(12px);padding:7px max(7px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));z-index:30}.bottom-nav button{text-align:center;font-size:11px;padding:9px 3px}.bottom-nav button.active{color:var(--text);background:var(--panel2)}}@media(max-width:620px){.kpis,.form{grid-template-columns:1fr}.top{align-items:stretch}.top h1{font-size:25px}.section-head{align-items:flex-start}.row{align-items:flex-start}.modal-backdrop{align-items:end;padding:0}.modal{width:100%;max-height:92vh;border-radius:20px 20px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}.btn{min-height:44px}}
.org-switch{width:100%;margin-top:12px;background:#091624;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px}.sidebar-account{position:absolute;left:15px;right:15px;bottom:18px;display:grid;gap:6px}.sidebar-account small{color:var(--muted);overflow:hidden;text-overflow:ellipsis}.sidebar-account .btn{margin-top:6px}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(650px,100%);border:1px solid var(--line);background:linear-gradient(160deg,var(--panel),var(--panel2));border-radius:22px;padding:24px;box-shadow:0 24px 70px #0007}.auth-brand{font-size:30px;font-weight:950}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:22px 0 16px}.auth-tabs button{border:1px solid var(--line);background:#091624;color:var(--muted);padding:11px;border-radius:11px;font-weight:850;cursor:pointer}.auth-tabs button.active{background:var(--accent);color:#06111f}.auth-form{margin-top:10px}.auth-submit{width:100%;margin-top:6px}.auth-foot{font-size:12px;color:var(--muted);margin-top:18px;line-height:1.5}.error-box{padding:11px 12px;border:1px solid #7a3040;background:#341522;color:#ffd6df;border-radius:11px;margin-bottom:12px}.field small{color:var(--muted);font-size:11px}.sidebar{position:sticky}@media(max-width:900px){.sidebar-account{display:none}}


/* V4 multi-business calendar */
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.calendar-scope,.calendar-month-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.calendar-month-nav strong{min-width:150px;text-align:center}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:14px 0 20px}
.calendar-dow{text-align:center;font-size:12px;font-weight:800;color:var(--muted);padding:5px}
.calendar-day{min-height:88px;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);padding:9px;text-align:left;display:flex;flex-direction:column;gap:5px;cursor:pointer}
.calendar-day.selected{outline:2px solid var(--accent);border-color:var(--accent)}
.calendar-day.blank{opacity:.28;cursor:default}
.calendar-count{font-size:11px;color:var(--muted)}
.calendar-dots{display:flex;gap:4px;flex-wrap:wrap;margin-top:auto}
.org-dot{width:9px;height:9px;border-radius:999px;display:inline-block;flex:none}
.org-0{background:#5b8def}.org-1{background:#5fbf8f}.org-2{background:#e39a4b}.org-3{background:#9b74d6}.org-4{background:#d96b7b}.org-5{background:#43aeb8}
.calendar-business-group{border-left:5px solid var(--border);padding-left:12px;margin:16px 0}
.org-border-0{border-left-color:#5b8def}.org-border-1{border-left-color:#5fbf8f}.org-border-2{border-left-color:#e39a4b}.org-border-3{border-left-color:#9b74d6}.org-border-4{border-left-color:#d96b7b}.org-border-5{border-left-color:#43aeb8}
.calendar-business-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 8px}
.calendar-business-head>div{display:flex;align-items:center;gap:8px}
.calendar-job{width:100%;font:inherit;color:inherit;cursor:pointer}
@media(max-width:700px){
 .calendar-grid{gap:3px}
 .calendar-day{min-height:64px;padding:6px;border-radius:9px}
 .calendar-count{font-size:10px}
 .calendar-dow{font-size:10px;padding:3px}
 .calendar-month-nav{width:100%;justify-content:space-between}
 .calendar-scope{width:100%}
 .calendar-scope .btn{flex:1}
}
@media(max-width:420px){
 .calendar-day{min-height:55px}
 .calendar-day strong{font-size:12px}
 .calendar-count{display:none}
}

/* V5 MAYU celestial-river brand */
:root{--accent:#7c5cff;--accent2:#d5a75e;--bg:#070b16;--panel:#0c1424;--panel2:#111d32;--line:#263553;--text:#f7f7fb;--muted:#a4aec4;--green:#63d8a4;--danger:#ff7d85}
body{background:
 radial-gradient(circle at 78% 0%,rgba(103,72,211,.22),transparent 28%),
 radial-gradient(circle at 42% 0%,rgba(210,163,83,.08),transparent 24%),
 linear-gradient(180deg,#070b16 0%,#08111f 46%,#050a13 100%)}
.sidebar{background:linear-gradient(180deg,#060b16 0%,#080f1c 72%,#070b15 100%);border-right-color:#202d47}
.brand-lockup,.auth-brand-lockup{display:flex;align-items:center;gap:11px}.brand-lockup img{width:38px;height:38px;border-radius:12px;object-fit:cover}.brand{font-size:22px;letter-spacing:.18em;font-weight:800}.brand-tag{font-size:9px;letter-spacing:.11em;text-transform:uppercase;color:#b6a0ff;margin-top:2px}.auth-brand-lockup img{width:72px;height:72px;border-radius:20px;object-fit:cover}.auth-brand{font-size:42px;letter-spacing:.2em;font-weight:750}.auth-brand-tag{font-size:10px;letter-spacing:.18em;line-height:1.5;color:#c5b4ff;max-width:330px;margin-top:4px}
.nav button.active,.nav button:hover{background:linear-gradient(90deg,rgba(91,61,208,.34),rgba(17,29,50,.88));box-shadow:inset 3px 0 0 var(--accent);color:var(--text)}
.btn{background:linear-gradient(135deg,#7357ff,#8b67ff);color:white;box-shadow:0 8px 24px rgba(95,67,210,.18)}.btn.secondary{box-shadow:none}.pill{background:rgba(101,75,205,.16);border-color:rgba(132,103,244,.34);color:#d7cbff}.card{background:linear-gradient(155deg,rgba(12,20,36,.96),rgba(15,27,47,.96));border-color:#24334e}.row{background:#091424}.notice{background:linear-gradient(135deg,rgba(94,67,200,.14),rgba(16,35,58,.72));border-color:#33446a}
.auth-wrap{position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(3,8,18,.98) 0%,rgba(5,10,20,.93) 46%,rgba(5,10,20,.58) 100%),url('/mayu-celestial-river.jpg') right center/cover no-repeat}.auth-wrap:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 76% 28%,rgba(151,111,255,.15),transparent 30%)}.auth-card{position:relative;z-index:1;margin-right:min(35vw,420px);background:linear-gradient(155deg,rgba(9,16,30,.97),rgba(14,25,44,.96));border-color:#2c3d60;box-shadow:0 32px 100px #000a}.auth-tabs button.active{background:linear-gradient(135deg,#7357ff,#9b76ff);color:#fff}
.org-switch,.field input,.field select,.field textarea{background:#081221;border-color:#2a3956}.calendar-day.selected{box-shadow:0 0 0 3px rgba(124,92,255,.18)}
@media(max-width:900px){.auth-wrap{background:linear-gradient(180deg,rgba(4,9,18,.88),rgba(4,9,18,.98)),url('/mayu-celestial-river.jpg') top center/auto 300px no-repeat;padding-top:150px}.auth-card{margin-right:0}.bottom-nav{background:#070d19ed}.brand-lockup{display:none}}
@media(max-width:620px){.auth-brand-lockup{align-items:flex-start}.auth-brand-lockup img{width:58px;height:58px}.auth-brand{font-size:32px}.auth-brand-tag{font-size:8px}.auth-wrap{padding:118px 14px 24px}}

/* V6 production migration */
.business-strip{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.business-strip h2{margin:4px 0}.home-sections{display:flex;gap:12px;overflow-x:auto;padding:3px 2px 12px;scroll-snap-type:x mandatory}.home-sections button{min-width:190px;scroll-snap-align:start;text-align:left;border:1px solid var(--line);background:linear-gradient(155deg,var(--panel),var(--panel2));color:var(--text);border-radius:16px;padding:18px;cursor:pointer}.home-sections span{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;font-weight:850;letter-spacing:.08em}.home-sections strong{display:block;margin-top:8px;font-size:20px}.clickable{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer}.clickable:hover{border-color:var(--accent);transform:translateY(-1px)}.service-card{display:block}.service-card h3{color:var(--text)}.service-card small{display:block;color:#cfc5ff;margin-top:12px}.big-money{font-size:24px;font-weight:900;color:var(--text)}.right{text-align:right}.quick-dates{display:flex;gap:6px;margin-top:5px}.mini{border:1px solid var(--line);background:var(--panel2);color:var(--text);padding:7px 9px;border-radius:8px;cursor:pointer}.mini.active{border-color:var(--accent);background:rgba(124,92,255,.22)}.lifecycle{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
@media(max-width:620px){.business-strip{align-items:flex-start;flex-direction:column}.home-sections button{min-width:160px}.right{text-align:left}.row{flex-direction:column}.row .right{width:100%}}


/* V7 production parity / responsive repair */
html,body{max-width:100%;overflow-x:hidden}.shell{grid-template-columns:250px minmax(0,1fr);width:100%;max-width:100vw}.sidebar{display:flex;flex-direction:column;position:sticky;height:100vh;overflow:hidden}.sidebar-top{flex:0 0 auto}.nav{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px;margin-top:18px}.sidebar-account{position:static;flex:0 0 auto;border-top:1px solid var(--line);padding-top:12px;margin-top:10px}.sidebar-account strong,.sidebar-account small{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}main{min-width:0;overflow-x:hidden;max-width:none}.home-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));overflow:visible;scroll-snap-type:none;padding:3px 0 12px}.home-sections button{min-width:0}.actions{max-width:100%}.top{min-width:0}.grid,.row,.card{min-width:0}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.chart-bars{height:175px;display:flex;align-items:flex-end;gap:8px;padding:18px 4px 4px;overflow-x:auto}.chart-col{min-width:44px;flex:1;text-align:center;display:flex;flex-direction:column;justify-content:flex-end;height:100%}.chart-bar{width:min(34px,80%);margin:4px auto 7px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,var(--accent),rgba(124,92,255,.35));min-height:4px}.chart-value{font-size:10px;color:var(--muted);white-space:nowrap}.chart-col small{font-size:10px;color:var(--muted);white-space:nowrap}.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.employee-card{display:block}.employee-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.employee-head small{display:block;color:var(--muted);margin-top:4px}.mini-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0}.mini-kpis span{background:rgba(255,255,255,.03);border:1px solid var(--line);border-radius:9px;padding:8px;font-size:10px;color:var(--muted)}.mini-kpis b{display:block;color:var(--text);font-size:13px;margin-bottom:2px}.inline-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.product-add{grid-template-columns:minmax(0,1fr) 90px auto}.line-items{display:grid;gap:7px;padding:10px;border:1px solid var(--line);border-radius:11px;background:#07111e}.line-chip{display:flex;justify-content:space-between;gap:8px;align-items:center;border:1px solid var(--line);border-radius:9px;padding:9px;background:var(--panel2)}.line-chip button{border:0;background:transparent;color:var(--danger);font-size:20px;cursor:pointer}.customer-summary{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.customer-summary h2{margin:3px 0}.customer-totals{display:flex;gap:8px;flex-wrap:wrap}.customer-totals span{border:1px solid var(--line);border-radius:10px;padding:8px 10px;color:var(--muted);font-size:11px}.customer-totals b{display:block;color:var(--text);font-size:15px}.record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field input[type="date"],.field input[type="time"]{color-scheme:dark}.field input[type="date"]::-webkit-calendar-picker-indicator,.field input[type="time"]::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.7);opacity:1;cursor:pointer}.green{color:#b7f7d4!important;border-color:rgba(99,216,164,.45)!important;background:rgba(99,216,164,.12)!important}.gold{color:#ffe1a8!important;border-color:rgba(213,167,94,.45)!important;background:rgba(213,167,94,.12)!important}
@media(max-width:1100px) and (min-width:901px){.home-sections{grid-template-columns:repeat(3,minmax(0,1fr))}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.shell{display:block;max-width:100%}.report-grid,.record-grid{grid-template-columns:1fr}.home-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{display:none}.inline-add,.product-add{grid-template-columns:1fr}.mini-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.home-sections{grid-template-columns:1fr}.customer-summary{flex-direction:column}.mini-kpis{grid-template-columns:1fr 1fr}}
/* MAYU V8 parity additions */
.chip-wrap{display:flex;gap:7px;flex-wrap:wrap}.report-tabs{display:flex;gap:8px;flex-wrap:wrap}.performance-list{display:grid;gap:11px}.performance-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(120px,3fr) auto;gap:10px;align-items:center}.performance-track{height:10px;border-radius:999px;background:#07111e;border:1px solid var(--line);overflow:hidden}.performance-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#5fd5ff)}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.check-grid label{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:10px;background:#091624}.check-grid input{width:auto;min-height:0}.sidebar-account{z-index:2;background:#050c17}.nav{padding-bottom:8px}.chart-bars{scrollbar-width:thin}.line-items{max-height:260px;overflow-y:auto}.top .actions{justify-content:flex-end}.home-sections{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}
@media(max-width:620px){.check-grid{grid-template-columns:1fr}.performance-row{grid-template-columns:90px 1fr auto}.report-tabs{overflow-x:auto;flex-wrap:nowrap}.home-sections{grid-template-columns:1fr 1fr}.home-sections button{padding:14px}.home-sections strong{font-size:17px}}
@media(max-width:400px){.home-sections{grid-template-columns:1fr}}


/* MAYU V8.3.0 */
.assigned-line{color:#b9a9ff!important;font-weight:700;margin-top:4px}.category-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.category-card{background:linear-gradient(180deg,rgba(76,52,130,.25),rgba(18,20,31,.7));border:1px solid var(--line);border-radius:16px;padding:15px}.category-card summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;align-items:center}.category-card summary span,.category-card>span{display:block;color:var(--muted);font-size:12px}.allocation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:18px}.allocation-grid button{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;text-align:left;color:inherit}.allocation-grid button span,.allocation-grid button small{display:block;color:var(--muted)}.allocation-grid button strong{display:block;font-size:21px;margin:7px 0}.line-chart{height:220px;display:flex;flex-direction:column}.line-chart svg{width:100%;height:180px;overflow:visible}.line-chart polyline{stroke:#9b7cff;stroke-width:3}.chart-label-row{display:flex;justify-content:space-between;gap:4px;color:var(--muted);font-size:9px;overflow:hidden}.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.plan-card{display:flex;flex-direction:column;gap:7px;text-align:left;padding:16px;border-radius:16px;background:var(--card);border:1px solid var(--line);color:inherit}.plan-card.current{outline:2px solid #9b7cff}.plan-card span,.plan-card small{color:var(--muted)}.account-grid,.employee-pay-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.pay-split{display:flex;gap:12px;flex-wrap:wrap}.pay-split span{background:rgba(255,255,255,.04);border:1px solid var(--line);padding:9px 11px;border-radius:12px;color:var(--muted)}.pay-split b{color:var(--text);margin-left:5px}.upgrade-panel{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:18px;border:1px solid rgba(155,124,255,.5);border-radius:16px;background:rgba(155,124,255,.08)}.upgrade-panel span{color:var(--muted);flex:1 1 320px}.upgrade-lock{text-align:center;padding:12px}.upgrade-icon{font-size:42px;color:#b69cff}@media(max-width:700px){.allocation-grid{grid-template-columns:1fr 1fr}.line-chart{height:190px}.line-chart svg{height:150px}.plan-grid{grid-template-columns:1fr}.category-card summary{align-items:flex-start}.account-grid,.employee-pay-grid{grid-template-columns:1fr}}

.locked-feature{width:100%;text-align:left;border:1px dashed rgba(168,139,250,.6);background:rgba(124,58,237,.08);border-radius:14px;padding:13px 14px;color:inherit;cursor:pointer}.locked-feature strong,.locked-feature small{display:block}.locked-feature small{margin-top:4px;color:var(--muted)}

/* MAYU V8.4.1 financial/field UI */
.profit-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;padding:26px;border:1px solid rgba(123,224,174,.36);border-radius:22px;background:linear-gradient(145deg,rgba(31,94,79,.3),rgba(14,26,44,.96));box-shadow:0 18px 45px rgba(0,0,0,.18);margin:16px 0}.profit-number{font-size:clamp(36px,6vw,68px);font-weight:950;letter-spacing:-.05em;line-height:1}.profit-waterfall{display:grid;gap:8px}.profit-waterfall span,.books-waterfall>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid var(--border)}.analytics-controls{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.analytics-controls select{max-width:260px}.v84-chart{min-height:220px}.v84-chart svg{width:100%;height:220px}.chart-line{stroke:var(--accent2);stroke-width:4;vector-effect:non-scaling-stroke}.chart-axis{stroke:var(--border);stroke-width:1}.chart-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.cost-bars{display:grid;gap:12px}.cost-bar-row{display:grid;grid-template-columns:150px 1fr 90px;gap:10px;align-items:center;font-size:13px}.cost-bar-row>div{height:14px;background:var(--surface);border-radius:999px;overflow:hidden}.cost-bar-row i{display:block;height:100%;background:var(--accent);border-radius:999px}.location-profit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.location-card{text-align:left}.combined-location{padding:24px;border-color:rgba(123,224,174,.35)}.big-money{font-size:26px;font-weight:900;margin:7px 0}.expense-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.field-job{display:grid;gap:12px}.profit-kpi{border-color:rgba(123,224,174,.45)}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.books-waterfall{display:grid}.report-tabs .active{outline:2px solid var(--accent2)}
@media(max-width:800px){.profit-hero{grid-template-columns:1fr;padding:18px}.location-profit-grid,.category-grid{grid-template-columns:1fr}.expense-filters{grid-template-columns:1fr}.cost-bar-row{grid-template-columns:110px 1fr 72px}.profit-number{font-size:42px}}

/* V8.4.1 progress-line charts */
.progress-chart{padding-top:4px}.chart-summary{display:flex;justify-content:space-between;gap:12px;align-items:end;margin:8px 0 4px}.chart-summary strong{font-size:13px;color:var(--muted)}.chart-summary span{font-size:20px;font-weight:900}.chart-grid{stroke:rgba(255,255,255,.08);stroke-width:1;vector-effect:non-scaling-stroke}.progress-line{stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round}.chart-dot{fill:var(--accent2);stroke:var(--panel);stroke-width:2;vector-effect:non-scaling-stroke}.chart-labels.detailed{min-height:18px;gap:8px}.chart-labels.detailed span{flex:1;text-align:center;white-space:nowrap}.progress-chart svg{overflow:visible}@media(max-width:700px){.chart-labels.detailed span:nth-child(even){display:none}.progress-line{stroke-width:4}}

/* V8.5 accounting + drill-down polish */
.profit-hero-button{width:100%;text-align:left;border:0;cursor:pointer;color:inherit;font:inherit}
.clickable-kpi{border:1px solid var(--line);text-align:left;cursor:pointer;color:inherit;font:inherit}
.clickable-kpi:hover,.profit-hero-button:hover{transform:translateY(-1px);box-shadow:0 10px 30px rgba(0,0,0,.08)}
.profit-detail .profit-total{background:rgba(255,255,255,.04)}
.accounting-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.accounting-controls>div{display:grid;gap:5px;min-width:160px}.accounting-controls label{font-size:12px;color:var(--muted)}
.employee-pay-card summary{display:flex;justify-content:space-between;gap:16px;align-items:center;cursor:pointer;list-style:none}.employee-pay-card summary::-webkit-details-marker{display:none}.employee-pay-card[open] summary{padding-bottom:14px;border-bottom:1px solid var(--line)}
@media(max-width:700px){.accounting-controls>div{min-width:100%}.employee-pay-card summary{align-items:flex-start}.employee-pay-card summary .right{text-align:right}}

/* V8.6.0 theme/readability hardening */
button.row,.profit-detail .row,.profit-detail button,.profit-detail strong,.profit-detail b{color:var(--text)}
.profit-detail .row{background:var(--panel2);text-align:left;width:100%}
.profit-detail .profit-total{border-color:var(--accent)}
.modal button,.modal h2,.modal strong,.modal b{color:inherit}
.modal .btn{color:#06111f}.modal .btn.secondary{color:var(--text)}

.goal-track{height:12px;border-radius:999px;background:var(--panel-2,#2a2a2a);overflow:hidden;margin:14px 0}.goal-fill{height:100%;background:currentColor;border-radius:999px}.locked-feature.card{text-align:left;width:100%}

/* MAYU V8.8.0 targeted organization refinements */
.pay-period-controls{border:1px solid var(--line);background:rgba(255,255,255,.025)}
.pay-custom{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pay-custom input{max-width:180px}
.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.status-card{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025)}.status-card>div{display:grid;gap:4px}.status-card small{color:var(--muted)}
.profit-goal-top{border-color:rgba(123,224,174,.42);background:linear-gradient(145deg,rgba(31,94,79,.20),rgba(18,20,31,.82))}.goal-month-nav{display:flex;gap:8px;align-items:center}
.monthly-profit-bars{display:flex;align-items:flex-end;gap:10px;overflow-x:auto;min-height:195px;padding:18px 4px 4px}.month-profit-col{min-width:72px;display:grid;justify-items:center;gap:5px}.month-profit-col strong{font-size:11px;white-space:nowrap}.month-profit-col small{font-weight:700}.month-profit-col em{font-size:10px;color:var(--muted);font-style:normal}.month-profit-bar-wrap{height:125px;width:34px;display:flex;align-items:flex-end;justify-content:center;border-radius:10px;background:rgba(255,255,255,.025)}.month-profit-bar-wrap i{display:block;width:22px;border-radius:8px 8px 3px 3px;background:var(--accent2)}
.coa-row{border-bottom:1px solid var(--line)}.coa-row>summary{cursor:pointer;list-style:none}.coa-row>summary::-webkit-details-marker{display:none}.coa-row[open]>summary{background:rgba(255,255,255,.025)}
@media(max-width:700px){.pay-custom>*{flex:1 1 140px}.pay-custom span{flex:0 0 auto}.status-grid{grid-template-columns:1fr}.month-profit-col{min-width:64px}.goal-month-nav{width:100%;justify-content:flex-start}.profit-goal-top .section-head{align-items:flex-start}}
/* MAYU V8.10.1 period + payroll traceability */
.period-selector{margin-bottom:14px}.period-nav,.pay-period-nav,.period-inputs{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.period-inputs label{display:flex;gap:8px;align-items:center;color:var(--muted)}.period-inputs input{min-width:145px}.profit-summary-wrap>.period-selector{margin-bottom:10px}.payroll-ready-card,.pay-day{width:100%}.payroll-ready-card>summary,.pay-day>summary{cursor:pointer}.pay-day{border:1px solid var(--line);border-radius:12px;margin-top:8px;background:rgba(255,255,255,.02)}.pay-day>summary{list-style:none}.pay-day>summary::-webkit-details-marker,.payroll-ready-card>summary::-webkit-details-marker{display:none}.payroll-ready-card .error-box{margin:12px 0}.period-selector .mini.active{outline:2px solid #9b7cff}
@media(max-width:700px){.period-nav,.pay-period-nav,.period-inputs{align-items:stretch}.period-inputs label{width:100%;justify-content:space-between}.period-inputs input{flex:1}.pay-period-nav .btn,.pay-period-nav .mini{flex:1 1 45%}}

.brand-version{font-size:11px;opacity:.72;margin-top:2px;letter-spacing:.04em}


/* MAYU V8.11.0 payroll clarity + reconciliation */
.payroll-explainer{border-color:rgba(155,124,255,.45)}
.compact-notice{margin-top:12px;font-size:12px}
.no-pay-activity{opacity:.76}.inactive-workers>summary{cursor:pointer;display:grid;gap:4px}.inactive-workers>summary small{color:var(--muted)}
.profit-line-link{width:100%;display:flex;justify-content:space-between;gap:15px;align-items:center;padding:9px 0;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:left}.profit-line-link:hover{background:rgba(255,255,255,.035)}.profit-line-link span{display:flex;gap:8px;align-items:center}.profit-line-link small{font-size:10px;color:var(--muted)}
@media(max-width:700px){.profit-line-link span{align-items:flex-start;flex-direction:column;gap:1px}}

/* V8.12.0 mobile analytics + durable desktop navigation polish */
.sidebar .nav{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.payment-detail{display:block}.payment-detail summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer}.owner-draw-summary{border-width:2px}
@media(max-width:720px){.chart,.line-chart,.bar-chart,.stacked-chart,svg.chart-svg{min-height:260px!important;width:100%!important;overflow:visible}.report-grid{grid-template-columns:1fr!important}.period-selector .section-head{align-items:flex-start}.period-nav{display:flex;gap:6px;flex-wrap:wrap}.period-inputs{display:grid;grid-template-columns:1fr!important}.period-inputs input,.period-inputs select{width:100%}.chart-label,.axis-label{font-size:11px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-detail summary{align-items:flex-start}.pay-split{grid-template-columns:1fr 1fr}}


/* MAYU V8.13.2 safe mobile navigation/payout selector. No screen-layout redesign. */
.pay-period-select{width:100%;min-height:44px}
@media(max-width:900px){
 .bottom-nav{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;overflow-y:hidden!important;justify-content:flex-start!important;gap:3px;white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x;padding-bottom:max(6px,env(safe-area-inset-bottom))}
 .bottom-nav::-webkit-scrollbar{display:none}.bottom-nav button{flex:0 0 auto!important;min-width:74px;white-space:nowrap;scroll-snap-align:center}
}
/* V8.13.5 targeted Scale selector; reuses MAYU home-section visual language. */
.scale-business-selector-v8135{margin-top:0}.scale-business-boxes-v8135{margin-top:12px}.scale-business-boxes-v8135 button.active{outline:2px solid currentColor;outline-offset:2px}.scale-business-boxes-v8135 button{min-width:150px}
/* V8.13.6 targeted controls only; preserves existing MAYU visual language. */
.context-bar-v8136{margin-bottom:14px}.context-row-v8136{display:flex;gap:18px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}.context-row-v8136>div{min-width:260px;flex:1}.export-actions-v8136{display:flex;gap:10px;flex-wrap:wrap}.inventory-sales-row-v8136{margin-top:12px}
/* V8.13.7 additive business identity / context polish */
.business-identity-v8137{display:flex;align-items:center;gap:14px;margin-bottom:14px}.business-identity-v8137 h2{margin:2px 0}.business-logo-v8137,.business-logo-fallback-v8137{width:54px;height:54px;border-radius:12px;object-fit:contain;flex:0 0 54px}.business-logo-fallback-v8137{display:grid;place-items:center;border:1px solid var(--line);font-weight:800;font-size:14px}.business-brand-settings-v8137 .business-logo-v8137,.business-brand-settings-v8137 .business-logo-fallback-v8137{width:64px;height:64px}.export-actions-v8137 select{min-width:180px}
/* V8.13.8 report preview helpers; no existing layout changes */
.report-preview-v8138{background:var(--card,#fff)}

/* V8.13.8.10 variable service controls */
.service-price-config{margin-top:10px}.variable-price-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px;background:#07111e}.variable-price-row small{display:block;color:var(--muted);margin-top:3px}.qty-stepper{display:grid;grid-template-columns:34px 72px 34px;gap:5px;align-items:center}.qty-stepper input{width:72px;text-align:center;padding:8px 4px}.qty-stepper .mini{min-width:34px;padding:8px 6px;font-size:17px}.variable-price-total{font-weight:800;white-space:nowrap}.custom-charge-input{display:flex;align-items:center;gap:5px;font-weight:700}.custom-charge-input input{width:110px}@media(max-width:650px){.variable-price-row{grid-template-columns:1fr}.qty-stepper{grid-template-columns:38px minmax(80px,1fr) 38px}.qty-stepper input{width:100%}.variable-price-total{text-align:left}}

/* MAYU V8.13.8.14 authorized financial chart upgrade only */
.finance-chart-v814{width:100%;min-width:0}.chart-head-v814{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}.chart-head-v814 strong{font-size:16px}.chart-head-v814 small{display:block;color:var(--muted);margin-top:3px}.chart-metric-pills-v814,.chart-legend-v814{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.chart-legend-v814 span{display:flex;gap:5px;align-items:center;font-size:11px;color:var(--muted)}.chart-legend-v814 i,.donut-legend-v814 i,.stack-part-legend-v814 i{width:9px;height:9px;border-radius:3px;display:inline-block}.finance-svg-v814{width:100%;height:310px;overflow:visible}.chart-grid-v814{stroke:rgba(255,255,255,.09);stroke-width:1;vector-effect:non-scaling-stroke}.chart-axis-v814,.chart-value-v814{fill:var(--muted);font-size:10px}.chart-value-v814{fill:var(--text);font-size:9px;font-weight:700}.trend-line-v814{stroke:var(--accent2);stroke-width:3.5;vector-effect:non-scaling-stroke}.trend-point-v814 circle{fill:var(--accent2);stroke:var(--card);stroke-width:2;vector-effect:non-scaling-stroke}.bar-revenue-v814,.legend-revenue-v814{fill:#55a8ff;background:#55a8ff}.bar-cost-v814,.legend-cost-v814{fill:#a48cff;background:#a48cff}.bar-profit-v814,.legend-profit-v814{fill:#66d49a;background:#66d49a}.margin-line-v814,.legend-margin-v814{stroke:#f2b85b;background:#f2b85b;stroke-width:2.5;stroke-dasharray:8 5;vector-effect:non-scaling-stroke}.margin-dot-v814{fill:#f2b85b}.donut-layout-v814{display:grid;grid-template-columns:minmax(180px,250px) 1fr;gap:18px;align-items:center}.donut-svg-v814{width:100%;max-width:230px;margin:auto}.donut-track-v814{stroke:rgba(255,255,255,.06)}.donut-1-v814{stroke:#55a8ff;background:#55a8ff}.donut-2-v814{stroke:#a48cff;background:#a48cff}.donut-3-v814{stroke:#f2b85b;background:#f2b85b}.donut-4-v814{stroke:#ef7d8d;background:#ef7d8d}.donut-5-v814{stroke:#52c7c9;background:#52c7c9}.donut-6-v814{stroke:#66d49a;background:#66d49a}.donut-center-label-v814{fill:var(--muted);font-size:10px}.donut-center-value-v814{fill:var(--text);font-size:13px;font-weight:800}.donut-legend-v814{display:grid;gap:8px}.donut-legend-v814>div{display:flex;align-items:center;gap:9px}.donut-legend-v814 span{display:grid}.donut-legend-v814 small{color:var(--muted)}.loss-note-v814{border-top:1px solid var(--line);padding-top:8px}.scope-compare-v814{height:100%}.stack-compare-list-v814{display:grid;gap:18px;margin-top:14px}.stack-compare-row-v814{display:grid;gap:7px}.stack-label-v814{display:flex;justify-content:space-between;gap:10px}.stack-track-v814{height:30px;border-radius:8px;background:rgba(255,255,255,.05);display:flex;overflow:hidden}.stack-track-v814>i{height:100%;min-width:0}.stack-part-legend-v814{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:11px}.stack-part-legend-v814 span{display:flex;gap:5px;align-items:center}.seg-1-v814{background:#55a8ff}.seg-2-v814{background:#66d49a}.seg-3-v814{background:#a48cff}.seg-4-v814{background:#f2b85b}.seg-5-v814{background:#52c7c9}.seg-6-v814{background:#ef7d8d}.chart-suite-v814>.card{min-width:0}
@media(max-width:800px){.donut-layout-v814{grid-template-columns:1fr}.finance-svg-v814{height:285px}.chart-value-v814{display:none}.chart-metric-pills-v814 .mini{font-size:10px;padding:6px 8px}.stack-label-v814{align-items:flex-start}.stack-part-legend-v814{display:grid;grid-template-columns:1fr 1fr}}

/* MAYU V8.13.8.17 authorized chart cleanup + login plan selector */
.finance-trend-v817 .chart-month-label-v817{font-size:9px}.year-compare-v817 .chart-year-label-v817{font-size:14px;font-weight:800;fill:var(--text)}
.auth-wrap-v817{display:block;padding:32px;overflow:auto}.auth-layout-v817{position:relative;z-index:1;width:min(1380px,100%);min-height:calc(100vh - 64px);margin:0 auto;display:grid;grid-template-columns:minmax(390px,560px) minmax(520px,1fr);gap:26px;align-items:center}.auth-card-v817{width:100%;margin-right:0}.auth-plans-v817{border:1px solid #2c3d60;background:linear-gradient(155deg,rgba(9,16,30,.94),rgba(14,25,44,.92));border-radius:22px;padding:20px;box-shadow:0 26px 80px #0007}.auth-plan-heading-v817 h2{font-size:25px;margin:6px 0}.auth-plan-heading-v817 p{color:var(--muted);margin:0 0 14px}.eyebrow-v817{font-size:10px;font-weight:900;letter-spacing:.14em;color:#c5b4ff}.auth-plan-list-v817{display:grid;gap:9px}.auth-plan-v817{position:relative;width:100%;text-align:left;border:1px solid var(--line);background:rgba(5,12,23,.78);color:var(--text);border-radius:14px;padding:13px 14px;cursor:pointer;transition:.16s ease}.auth-plan-v817:hover,.auth-plan-v817.selected-v817{border-color:#9b76ff;transform:translateY(-1px);box-shadow:0 8px 28px rgba(94,70,190,.16)}.auth-plan-v817.best-value-v817{border-color:rgba(155,118,255,.7);background:linear-gradient(135deg,rgba(115,87,255,.18),rgba(9,16,30,.82))}.auth-plan-top-v817{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.auth-plan-top-v817>span{display:grid;gap:2px}.auth-plan-top-v817 strong{font-size:16px}.auth-plan-top-v817 small{font-size:10px;color:var(--muted)}.auth-plan-top-v817>b{font-size:17px;white-space:nowrap}.auth-plan-top-v817>b small{font-size:9px;font-weight:600;margin-left:2px}.auth-plan-v817 em{display:inline-block;margin-top:7px;padding:3px 7px;border-radius:999px;background:#7c5cff;color:white;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.06em}.auth-plan-features-v817{display:flex;gap:6px 12px;flex-wrap:wrap;margin-top:9px;color:#cbd6e7;font-size:10px}.auth-plan-action-v817{margin-top:8px;font-size:10px;font-weight:900;color:#c5b4ff;text-transform:uppercase;letter-spacing:.05em}.selected-plan-field-v817{margin-top:3px}.selected-plan-summary-v817{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid rgba(155,118,255,.55);background:rgba(115,87,255,.1);border-radius:11px;padding:11px}.selected-plan-summary-v817 span{display:grid}.selected-plan-summary-v817 small{color:var(--muted)}
@media(max-width:1050px){.auth-layout-v817{grid-template-columns:1fr;max-width:720px}.auth-plans-v817{order:2}.auth-wrap-v817{padding:24px}.auth-card-v817{max-width:none}}
@media(max-width:620px){.auth-wrap-v817{padding:118px 14px 24px}.auth-layout-v817{min-height:auto;gap:16px}.auth-plans-v817{padding:14px}.auth-plan-features-v817{display:grid}.auth-plan-heading-v817 h2{font-size:21px}.auth-plan-v817{padding:12px}}


/* MAYU V8.13.8.19 — recommended vs selected plan states */
.auth-plan-v817.best-value-v817:not(.selected-v817){border-color:rgba(155,118,255,.32);background:linear-gradient(135deg,rgba(115,87,255,.08),rgba(9,16,30,.82));box-shadow:inset 3px 0 0 rgba(155,118,255,.55)}
.auth-plan-v817.selected-v817{border:2px solid #b89cff;background:linear-gradient(135deg,rgba(115,87,255,.25),rgba(15,25,45,.94));box-shadow:0 0 0 3px rgba(155,118,255,.10),0 12px 32px rgba(94,70,190,.23);transform:translateY(-1px)}
.auth-plan-v817.selected-v817 .auth-plan-action-v817{color:#fff}

/* V8.13.8.22 */
.solo-plus-upgrade-v822{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 24px}.solo-plus-upgrade-v822 h2{margin:5px 0 7px}.solo-plus-upgrade-v822 .btn{white-space:nowrap}@media(max-width:760px){.solo-plus-upgrade-v822{align-items:flex-start;flex-direction:column}}

/* V8.13.8.25 Reports & Taxes */
.report-toolbar-v825{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.report-toolbar-v825 label{display:flex;align-items:center;gap:8px}.callout-v825{padding:14px;border:1px solid var(--line,#dce3ec);border-radius:12px;background:rgba(115,160,210,.08);line-height:1.65}.trend-good-v825{color:#159957!important}.trend-down-v825{color:#c75a5a!important}.pill{display:inline-block;padding:4px 8px;border-radius:999px;border:1px solid rgba(120,140,165,.35);font-size:12px}.report-toolbar-v825 .mini.active{font-weight:800}

/* MAYU V8.13.8.26 — user appearance + simple sidebar customization */
.nav-customize-v826{margin-top:15px}.nav-customize-v826 button{width:100%;border:1px dashed var(--line);background:transparent;color:var(--muted);border-radius:10px;padding:8px 10px;font-size:11px;font-weight:800;cursor:pointer;text-align:left}.nav-customize-v826 button:hover{color:var(--text);border-color:var(--accent)}
.nav-order-v826{display:grid;gap:7px}.nav-order-row-v826{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:9px;padding:9px 10px;border:1px solid var(--line);background:var(--panel2);border-radius:11px;cursor:grab}.nav-order-row-v826.dragging-v826{opacity:.55}.drag-handle-v826{color:var(--muted);font-size:18px}.nav-arrows-v826{display:flex;gap:5px}.nav-arrows-v826 .mini{padding:5px 8px}
.theme-choice-v826{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.theme-option-v826{display:grid;grid-template-columns:34px 1fr;gap:2px 9px;align-items:center;text-align:left;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);color:var(--text);cursor:pointer}.theme-option-v826.active{outline:2px solid var(--accent)}.theme-option-v826 strong,.theme-option-v826 small{grid-column:2}.theme-option-v826 small{color:var(--muted)}.theme-swatch-v826{grid-row:1/3;width:30px;height:30px;border-radius:50%;border:1px solid var(--line)}.theme-swatch-v826.dark{background:#0c1424}.theme-swatch-v826.light{background:#f2eee4}.theme-swatch-v826.system{background:linear-gradient(90deg,#0c1424 50%,#f2eee4 50%)}.tax-settings-v826{margin-top:12px}.tax-line-v826{border-top:1px solid var(--border)}
@media(max-width:700px){.theme-choice-v826{grid-template-columns:1fr}.nav-arrows-v826 .mini{min-height:36px}}

/* Warm light theme. Same layout and features; palette only. */
html[data-mayu-theme="light"]{--bg:#eee9df;--panel:#faf7f0;--panel2:#f1ece2;--line:#d2c8b8;--text:#262a30;--muted:#6f6d68;--accent:#7357e8;--accent2:#a8792b;--green:#18754e;--danger:#b23d49}
html[data-mayu-theme="light"] body{background:radial-gradient(circle at 78% 0%,rgba(117,87,232,.08),transparent 30%),linear-gradient(180deg,#f4f0e7 0%,#ebe5da 100%);color:var(--text)}
html[data-mayu-theme="light"] .sidebar{background:linear-gradient(180deg,#e7e0d4,#f1ece3);border-right-color:var(--line)}
html[data-mayu-theme="light"] .card,html[data-mayu-theme="light"] .auth-card,html[data-mayu-theme="light"] .modal{background:linear-gradient(155deg,#fbf8f1,#f1ece3);border-color:var(--line);box-shadow:0 9px 28px rgba(74,59,39,.07)}
html[data-mayu-theme="light"] .row,html[data-mayu-theme="light"] .profit-detail .row,html[data-mayu-theme="light"] .variable-price-row,html[data-mayu-theme="light"] .field input,html[data-mayu-theme="light"] .field select,html[data-mayu-theme="light"] .field textarea,html[data-mayu-theme="light"] .org-switch{background:#f7f3eb;color:var(--text);border-color:var(--line)}
html[data-mayu-theme="light"] .notice{background:linear-gradient(135deg,rgba(115,87,232,.08),rgba(236,227,211,.8));border-color:#cfc0ac;color:var(--text)}
html[data-mayu-theme="light"] .btn.secondary,html[data-mayu-theme="light"] .mini,html[data-mayu-theme="light"] .nav-order-row-v826,html[data-mayu-theme="light"] .theme-option-v826{background:#eee8dc;color:var(--text);border-color:var(--line)}
html[data-mayu-theme="light"] .nav button.active,html[data-mayu-theme="light"] .nav button:hover{background:linear-gradient(90deg,rgba(115,87,232,.13),rgba(240,234,223,.95));color:var(--text)}
html[data-mayu-theme="light"] .pill{background:rgba(115,87,232,.09);border-color:rgba(115,87,232,.25);color:#523ab5}
html[data-mayu-theme="light"] .profit-hero{background:linear-gradient(145deg,rgba(41,125,91,.10),rgba(250,247,240,.96));border-color:rgba(43,126,91,.28)}
html[data-mayu-theme="light"] .bottom-nav{background:rgba(242,237,228,.97);border-top-color:var(--line)}
html[data-mayu-theme="light"] .modal-backdrop{background:rgba(45,39,31,.50)}
html[data-mayu-theme="light"] .auth-wrap{background:linear-gradient(90deg,rgba(245,241,233,.98) 0%,rgba(245,241,233,.92) 48%,rgba(245,241,233,.50) 100%),url('/mayu-celestial-river.jpg') right center/cover no-repeat}
html[data-mayu-theme="light"] .auth-plans-v817,html[data-mayu-theme="light"] .auth-plan-v817{background:rgba(250,247,240,.94);color:var(--text);border-color:var(--line)}
html[data-mayu-theme="light"] .auth-plan-features-v817{color:#5f5d58}
html[data-mayu-theme="light"] .chart-grid-v814,html[data-mayu-theme="light"] .chart-grid{stroke:rgba(35,35,35,.10)}


/* === MAYU V9.0.0 LAUNCH POLISH === */
/* Strong, consistent selected state */
.mini.active,.scope-option-v9.active,.report-toolbar-v825 .mini.active,.period-selector .mini.active{background:linear-gradient(180deg,rgba(124,92,255,.38),rgba(124,92,255,.22))!important;border-color:#a892ff!important;box-shadow:0 0 0 2px rgba(124,92,255,.14),0 5px 14px rgba(39,27,91,.14);font-weight:900!important;color:var(--text)!important;outline:none!important}
html[data-mayu-theme="light"] .mini.active,html[data-mayu-theme="light"] .scope-option-v9.active,html[data-mayu-theme="light"] .report-toolbar-v825 .mini.active,html[data-mayu-theme="light"] .period-selector .mini.active{background:linear-gradient(180deg,rgba(115,87,232,.22),rgba(115,87,232,.12))!important;border-color:#7357e8!important;box-shadow:0 0 0 2px rgba(115,87,232,.10),0 4px 12px rgba(72,53,130,.08);color:#2a2341!important}

/* Warm light sidebar account block */
html[data-mayu-theme="light"] .sidebar-account{background:linear-gradient(180deg,#eee8dc,#e7dfd1)!important;border-color:var(--line)!important;color:var(--text)!important}
html[data-mayu-theme="light"] .sidebar-account small{color:#69645c!important}

/* 12 months always visible; no horizontal scroll */
.monthly-profit-bars{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:5px!important;overflow:visible!important;min-height:195px;padding:18px 0 4px!important}
.month-profit-col{min-width:0!important;gap:4px!important}.month-profit-col strong{font-size:9px!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}.month-profit-bar-wrap{width:min(30px,72%)!important}.month-profit-bar-wrap i{width:70%!important}.month-profit-col em{font-size:9px!important;text-align:center}.month-profit-col.current-month-v9{background:rgba(124,92,255,.055);border-radius:10px;padding-top:4px}.month-profit-col .pace-v9{font-weight:800;color:var(--accent)}
@media(max-width:760px){.monthly-profit-bars{grid-template-columns:repeat(6,minmax(0,1fr))!important;row-gap:16px!important}.month-profit-col strong{font-size:10px!important}}
@media(max-width:430px){.monthly-profit-bars{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* Calendar readability */
.calendar-count-v9{display:inline-flex!important;align-items:center;width:max-content;max-width:100%;padding:4px 6px;border-radius:7px;background:rgba(124,92,255,.11);border:1px solid rgba(124,92,255,.22);font-size:10px!important;font-weight:900!important;letter-spacing:.025em;color:var(--text)!important;line-height:1.15;text-align:left}
html[data-mayu-theme="light"] .calendar-count-v9{background:rgba(115,87,232,.09);border-color:rgba(115,87,232,.18)}
.calendar-detail-v9 .kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.calendar-count-v9{font-size:8px!important;padding:3px 4px}.calendar-detail-v9 .kpis{grid-template-columns:1fr 1fr}}

/* MAYU-styled date/month/select controls throughout financial/report screens */
.period-inputs input,.period-inputs select,.report-toolbar-v825 select,.section-head>label select,.accounting-controls input,.accounting-controls select,.pay-period-select select{appearance:auto;background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:9px 12px;min-height:40px;font:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);transition:border-color .15s,box-shadow .15s}
.period-inputs input:focus,.period-inputs select:focus,.report-toolbar-v825 select:focus,.section-head>label select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(124,92,255,.12)}
.period-inputs label,.report-toolbar-v825 label,.section-head>label{font-weight:700;color:var(--muted)}
html[data-mayu-theme="light"] .period-inputs input,html[data-mayu-theme="light"] .period-inputs select,html[data-mayu-theme="light"] .report-toolbar-v825 select,html[data-mayu-theme="light"] .section-head>label select,html[data-mayu-theme="light"] .accounting-controls input,html[data-mayu-theme="light"] .accounting-controls select{background:#f7f3eb;border-color:#cfc4b3;color:var(--text);color-scheme:light}
html[data-mayu-theme="light"] input[type="date"],html[data-mayu-theme="light"] input[type="month"],html[data-mayu-theme="light"] input[type="time"]{color-scheme:light}

/* Business/location scope bar */
.context-scope-v9{padding:14px 16px!important;background:linear-gradient(145deg,rgba(124,92,255,.055),var(--panel))!important}.scope-summary-v9{display:flex;align-items:center;gap:8px;padding-bottom:11px;margin-bottom:12px;border-bottom:1px solid var(--line);flex-wrap:wrap}.scope-summary-v9>div{display:flex;align-items:baseline;gap:8px}.scope-summary-v9 strong{font-size:14px}.scope-group-v9>.label{margin-bottom:7px}.scope-option-v9{padding:8px 11px}.scope-add-v9{opacity:.74;border-style:dashed!important}.scope-add-v9:hover{opacity:1}
html[data-mayu-theme="light"] .context-scope-v9{background:linear-gradient(145deg,rgba(115,87,232,.06),#faf7f0)!important}

/* Tax export */
.tax-export-v9{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:14px 0 18px}.tax-export-v9 h2{margin:4px 0}.tax-export-v9 .actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tax-export-v9 button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.tax-export-v9{align-items:flex-start;flex-direction:column}.tax-export-v9 .actions{justify-content:flex-start}}
/* === END MAYU V9.0.0 === */

/* MAYU V9.0.2 */
.target-grid-v902{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.target-card-v902{padding:16px}.target-meter-v902{height:8px;background:var(--soft,#eef1f5);border-radius:999px;overflow:hidden;margin:12px 0}.target-meter-v902 span{display:block;height:100%;background:currentColor;opacity:.55;border-radius:999px}.help-v902{margin-top:18px}.help-search-v902{width:100%;margin-top:14px}.help-topics-v902{display:grid;gap:10px}.help-topic-v902{padding:0}.help-topic-v902 summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:14px 16px}.help-topic-v902 summary span{font-size:12px;opacity:.7}.help-topic-v902[open] summary{border-bottom:1px solid rgba(127,127,127,.18)}

/* MAYU V9.0.3 — authorized scope/chart/help/plan polish */
.context-scope-v9{padding:20px 22px!important;border:2px solid rgba(145,115,255,.34)!important;box-shadow:0 14px 38px rgba(56,35,120,.10)!important}.scope-summary-v9{padding-bottom:14px!important;margin-bottom:16px!important}.scope-summary-v9 .label{font-size:11px!important;letter-spacing:.12em}.scope-summary-v9 strong{font-size:18px!important}.scope-option-v9{padding:10px 14px!important;font-size:12px!important}.scope-group-v9>.label{font-size:11px!important;letter-spacing:.08em!important}.calendar-toolbar .calendar-scope{display:none!important}.calendar-toolbar{justify-content:flex-end!important}.business-identity-v8137{padding:20px 22px!important;display:flex!important;align-items:center!important;gap:16px!important;border:2px solid rgba(145,115,255,.22)!important}.business-identity-v8137 h2{font-size:25px!important;margin:2px 0 4px!important}.business-logo-v8137,.business-logo-fallback-v8137{width:68px!important;height:68px!important;min-width:68px!important;border-radius:16px!important}.chart-full-v903{display:block!important}.chart-full-v903>.card{width:100%!important}.finance-svg-v903{width:100%!important;height:400px!important;min-height:400px!important}.chart-axis-v903{fill:var(--muted);font-size:14px;font-weight:750}.finance-chart-v903 .chart-head-v814 strong{font-size:18px}.finance-chart-v903 .chart-head-v814 small{font-size:12px}.finance-chart-v903 .chart-legend-v814{font-size:12px}.margin-summary-v903{margin-top:10px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;display:flex;justify-content:space-between;gap:12px;align-items:center}.margin-summary-v903 strong{font-size:17px}.margin-summary-v903 small{color:var(--muted)}.chart-pair-v903{grid-template-columns:repeat(2,minmax(0,1fr))!important}.plan-grid-v903{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}.plan-card-v903{text-align:left!important}.plan-card-head-v903{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-card-head-v903 span{display:grid;gap:3px}.plan-card-head-v903 small{color:var(--muted)}.plan-feature-list-v903{display:grid;gap:6px;margin-top:12px;font-size:11px;color:var(--muted)}.best-plan-v903{display:inline-block;margin-top:9px;font-style:normal;font-size:9px;font-weight:900;letter-spacing:.06em;padding:4px 7px;border-radius:999px;background:rgba(124,92,255,.18)}.auth-plan-features-v903{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px 10px!important}.help-answer-v903{padding:14px 16px;line-height:1.6;color:var(--muted)}.profit-detail{padding-bottom:18px!important}.modal .profit-detail:last-child{margin-bottom:10px!important}
@media(max-width:900px){.chart-pair-v903{grid-template-columns:1fr!important}.auth-plan-features-v903{grid-template-columns:1fr!important}.finance-svg-v903{height:330px!important;min-height:330px!important}.chart-axis-v903{font-size:12px}.margin-summary-v903{align-items:flex-start;flex-direction:column}}

/* MAYU V9.0.4 — review correction build */
.chart-axis-v904{font-variant-numeric:tabular-nums}
.plan-compare-scroll-v904{overflow-x:auto;padding-bottom:6px}.plan-compare-v904{display:grid;grid-template-columns:minmax(210px,1.25fr) repeat(5,minmax(150px,1fr));min-width:980px;border:1px solid var(--line);border-radius:14px;overflow:hidden}.plan-feature-head-v904,.plan-col-head-v904,.plan-feature-name-v904,.plan-feature-cell-v904{padding:12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.plan-feature-head-v904{font-weight:900;display:flex;align-items:end}.plan-col-head-v904{display:grid;gap:5px;align-content:start;min-height:142px;background:rgba(124,92,255,.035)}.plan-col-head-v904.current{background:rgba(124,92,255,.12)}.plan-col-head-v904 strong{font-size:18px}.plan-col-head-v904>span{font-size:17px;font-weight:900}.plan-col-head-v904>span small{font-size:10px;color:var(--muted);font-weight:700}.plan-col-head-v904 em{font-style:normal;color:var(--muted);font-size:10px;line-height:1.35;min-height:28px}.plan-feature-name-v904{font-weight:750;background:rgba(255,255,255,.018)}.plan-feature-cell-v904{text-align:center;font-size:17px;font-weight:950}.plan-feature-cell-v904.yes{color:var(--green)}.plan-feature-cell-v904.no{color:var(--muted);opacity:.55}.plan-compare-v904>*:nth-child(6n){border-right:0}
.help-center-v904{padding:20px}.help-hero-v904{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.help-hero-v904 h2{margin:5px 0 7px;font-size:24px}.help-count-v904{min-width:130px;padding:12px;border:1px solid var(--line);border-radius:12px;text-align:center}.help-count-v904 strong{display:block;font-size:26px}.help-count-v904 span{font-size:10px;color:var(--muted)}.help-search-row-v904{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:16px}.help-search-row-v904 .help-search-v902{margin:0;min-height:46px;padding:11px 13px;background:var(--panel2);border:1px solid var(--line);border-radius:10px;color:var(--text)}.help-cats-v904{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.help-results-v904{margin:12px 2px 8px;font-size:12px}.help-topics-v904{display:grid;gap:9px}.help-article-v904{padding:0;overflow:hidden}.help-article-v904 summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;cursor:pointer;list-style:none}.help-article-v904 summary::-webkit-details-marker{display:none}.help-article-v904 summary span{display:grid;gap:3px}.help-article-v904 summary small{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:9px;font-weight:850}.help-article-v904 summary strong{font-size:14px}.help-article-v904 summary b{font-size:10px;color:var(--muted)}.help-article-v904[open] summary{border-bottom:1px solid var(--line)}.help-body-v904{padding:14px 18px 18px}.help-body-v904 ol{margin:0 0 13px;padding-left:22px;display:grid;gap:8px;line-height:1.5}.help-body-v904 .notice{line-height:1.5}
@media(max-width:700px){.help-hero-v904{flex-direction:column}.help-count-v904{width:100%}.help-search-row-v904{grid-template-columns:1fr}.plan-compare-v904{min-width:900px}}

/* === MAYU V9.0.5 — compact Help + collapsed Payment History === */
.payment-history-v905{margin-top:24px}
.payment-history-v905>summary,.help-category-v905>summary,.help-question-v905>summary{cursor:pointer;list-style:none}
.payment-history-v905>summary::-webkit-details-marker,.help-category-v905>summary::-webkit-details-marker,.help-question-v905>summary::-webkit-details-marker{display:none}
.payment-history-summary-v905{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px}
.payment-history-summary-v905 span{display:flex;flex-direction:column;gap:4px}
.payment-history-body-v905{padding:0 20px 20px}
.help-categories-v905{display:grid;gap:10px;margin-top:16px}
.help-category-v905{overflow:hidden}
.help-category-v905>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px}
.help-category-v905>summary span{display:flex;flex-direction:column;gap:3px}
.help-category-body-v905{display:grid;gap:8px;padding:0 14px 14px}
.help-question-v905{border:1px solid var(--line,#e5e7eb);border-radius:12px;background:var(--card,#fff)}
.help-question-v905>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px}
.help-question-v905 .help-body-v904{padding:0 14px 14px}
.help-center-v905 .help-results-v904{margin-top:10px}
/* === END MAYU V9.0.5 === */


/* MAYU V9.0.7 — compact help center + guaranteed page-end breathing room */
main{padding-bottom:150px!important}
.owner-draw-summary{margin-bottom:72px!important}
.help-center-v907{padding:20px}
.help-hero-v907 h2{margin:5px 0 7px;font-size:24px}
.help-browser-v907{margin-top:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.018);overflow:hidden}
.help-browser-v907>summary,.help-category-v907>summary,.help-question-v907>summary{cursor:pointer;list-style:none}
.help-browser-v907>summary::-webkit-details-marker,.help-category-v907>summary::-webkit-details-marker,.help-question-v907>summary::-webkit-details-marker{display:none}
.help-browser-v907>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px}
.help-browser-v907>summary span,.help-category-v907>summary span{display:flex;flex-direction:column;gap:3px}
.help-browser-v907>summary small,.help-category-v907>summary small{color:var(--muted);font-size:10px}
.help-browser-v907[open]>summary{border-bottom:1px solid var(--line)}
.help-categories-v907{display:grid;gap:9px;padding:12px}
.help-category-v907{padding:0;overflow:hidden}
.help-category-v907>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
.help-category-v907[open]>summary{border-bottom:1px solid var(--line)}
.help-category-body-v907{display:grid;gap:7px;padding:9px}
.help-question-v907{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:rgba(255,255,255,.015)}
.help-question-v907>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px}
.help-question-v907[open]>summary{border-bottom:1px solid var(--line)}
@media(max-width:900px){main{padding-bottom:165px!important}.owner-draw-summary{margin-bottom:82px!important}}

/* MAYU V9.0.8 — rebuilt finance graph + native MAYU help-card interaction */
.finance-svg-v908{width:100%;min-height:350px;display:block;overflow:visible}
.chart-axis-v908{font-size:16px;font-weight:700;fill:currentColor}
.chart-label-v908{font-size:18px;font-weight:800;fill:currentColor}
.chart-value-v908{font-size:17px;font-weight:800;fill:currentColor}
.zero-line-v908{stroke-width:2}
.finance-performance-v908 .chart-head-v814{margin-bottom:8px}
.help-center-v908 details>summary{list-style:none}
.help-center-v908 details>summary::-webkit-details-marker{display:none}
.help-center-v908 details>summary::marker{content:""}
.help-browse-toggle-v908,.help-card-toggle-v908,.help-question-toggle-v908{display:flex;width:100%;box-sizing:border-box;cursor:pointer;align-items:center;justify-content:space-between;text-align:left}
.help-browse-toggle-v908{padding:18px 20px}
.help-card-toggle-v908{padding:16px 18px;min-height:68px}
.help-question-toggle-v908{padding:15px 18px;min-height:56px}
.help-browse-toggle-v908 span,.help-card-toggle-v908 span{display:flex;flex-direction:column;gap:4px}
.help-category-v908,.help-question-v908{overflow:hidden}
.help-question-v908{border-top:1px solid var(--border,#ddd)}
.help-category-v908[open]>.help-card-toggle-v908,.help-question-v908[open]>.help-question-toggle-v908,.help-browse-v908[open]>.help-browse-toggle-v908{background:rgba(127,127,127,.06)}

/* === MAYU V9.0.9 === */
.owner-draw-top-wrap-v909{max-width:980px;margin:18px auto 24px}.owner-draw-top-wrap-v909 .owner-draw-summary{margin:0!important;width:100%;padding:18px 20px}.chart-pair-v909{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:18px!important}.chart-pair-v909>.chart-square-v909{min-width:0;height:100%;display:flex}.chart-pair-v909>.chart-square-v909>.card,.chart-pair-v909>.chart-square-v909.card{height:100%;width:100%;margin:0!important}.comparison-slot-v909>.card{height:100%!important;width:100%!important;margin:0!important}.chart-pair-v909 .scope-compare-v814{margin:0!important}.monthly-performance-svg-v909{width:100%!important;height:330px!important;min-height:330px!important}.monthly-performance-v909 .chart-head-v814{margin-bottom:4px}.profit-chart-slot-v909>.card{width:100%!important}.profit-chart-slot-v909 .monthly-profit-bars{width:100%}.help-center-v909{overflow:visible}.help-categories-v909{display:grid;gap:10px}.help-category-v909,.help-question-v909{overflow:hidden}.help-category-v909>summary,.help-question-v909>summary{list-style:none!important;cursor:pointer!important}.help-category-v909>summary::-webkit-details-marker,.help-question-v909>summary::-webkit-details-marker{display:none!important}.help-card-toggle-v909{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:58px;padding:14px 16px!important}.help-card-toggle-v909 span{display:grid;gap:3px}.help-card-toggle-v909 small{color:var(--muted);font-weight:600}.help-question-v909{border-top:1px solid var(--line)}.help-question-toggle-v909{display:flex!important;align-items:center!important;min-height:50px;padding:12px 16px!important}.help-category-v909[open]>.help-card-toggle-v909,.help-question-v909[open]>.help-question-toggle-v909{background:rgba(127,127,127,.06)}.help-category-body-v909{padding:0 12px 12px}.help-question-v909 .help-body-v904{padding:14px 16px}.help-card-toggle-v909:hover,.help-question-toggle-v909:hover{background:rgba(127,127,127,.045)}
main{padding-bottom:150px!important}
html[data-theme="light"] .auth-tabs button:not(.active),body.light .auth-tabs button:not(.active),.theme-light .auth-tabs button:not(.active){background:rgba(255,255,255,.78)!important;color:#28313d!important;border-color:rgba(32,45,60,.16)!important}
.plan-card-v903.active,.plan-option-v903.active,.auth-plan-card-v903.active{color:#fff}.plan-card-v903.active *, .plan-option-v903.active *, .auth-plan-card-v903.active *{color:inherit!important}.plan-card-v903.active .muted,.plan-option-v903.active .muted,.auth-plan-card-v903.active .muted{color:rgba(255,255,255,.82)!important}
@media(max-width:900px){.chart-pair-v909{grid-template-columns:1fr!important}.owner-draw-top-wrap-v909{max-width:none}.monthly-performance-svg-v909{height:300px!important;min-height:300px!important}main{padding-bottom:175px!important}}
/* === END MAYU V9.0.9 === */

/* MAYU V9.0.10 — authorized graph/sidebar layout corrections only */
.chart-full-v910,.chart-full-v910>.card,.profit-chart-slot-v909,.profit-chart-slot-v909>.card{width:100%!important;max-width:none!important;box-sizing:border-box!important}
.chart-pair-v909{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important}
.chart-pair-v909>.chart-square-v909{height:auto!important;align-self:stretch!important}
.chart-pair-v909>.chart-square-v909>.card,.chart-pair-v909>.chart-square-v909.card,.comparison-slot-v909>.card{height:100%!important;min-height:100%!important;box-sizing:border-box!important}
.monthly-performance-svg-v909{display:block!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:1160/330!important}
.chart-full-v910 .finance-svg-v814{display:block;width:100%!important;max-width:none!important}
.page-bottom-bumper-v910{height:96px;display:block;width:100%}
.sidebar .nav{flex:1 1 auto!important;min-height:0!important;max-height:none!important;padding-bottom:22px!important}
.sidebar-account{display:none!important}
.account-session-v910{max-width:760px}
@media(max-width:900px){.chart-pair-v909{grid-template-columns:1fr!important}.page-bottom-bumper-v910{height:150px}.monthly-performance-svg-v909{aspect-ratio:auto!important;height:300px!important}}

/* MAYU V9.0.11 scoped polish */
.chart-pair-v909{align-items:stretch}
.comparison-slot-v909{height:100%}
.financial-snapshot-v911{height:100%;box-sizing:border-box;display:flex;flex-direction:column}
.snapshot-grid-v911{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;flex:1;align-content:start;margin-top:10px}
.snapshot-grid-v911>div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--line)}
.snapshot-grid-v911 span{color:var(--muted)}
.inventory-photo-editor-v911{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.inventory-photo-preview-v911,.inventory-detail-photo-v911 img{width:150px;height:120px;object-fit:cover;border-radius:14px;border:1px solid var(--line);background:var(--panel)}
.inventory-detail-photo-v911{display:flex;justify-content:center;margin:0 0 16px}
.inventory-detail-photo-v911 img{width:min(320px,100%);height:220px}
.inventory-photo-placeholder-v911{height:110px;border:1px dashed var(--line);border-radius:14px;display:flex;align-items:center;justify-content:center;color:var(--muted);margin-bottom:16px}
@media(max-width:760px){.snapshot-grid-v911{grid-template-columns:1fr}.inventory-photo-editor-v911{align-items:flex-start}.inventory-detail-photo-v911 img{height:180px}}

/* MAYU V9.0.12 — scoped regression fixes only */
.goal-track{background:var(--line)!important;position:relative}
.goal-fill{display:block!important;height:100%!important;background:var(--accent)!important;border-radius:999px!important;transition:width .2s ease}
.auth-plan-v817.selected-v817,.auth-plan-v817.selected-v817 *{color:#fff!important}
.auth-plan-v817.selected-v817 .auth-plan-features-v817,.auth-plan-v817.selected-v817 .auth-plan-top-v817 small{color:rgba(255,255,255,.88)!important}


/* MAYU V9.0.13 — exact regression fixes only */
/* Selected plan must remain readable in both themes. */
html[data-mayu-theme="light"] .auth-plan-v817.selected-v817,
body.light .auth-plan-v817.selected-v817,
.theme-light .auth-plan-v817.selected-v817{background:linear-gradient(135deg,rgba(124,92,255,.16),rgba(124,92,255,.07))!important;color:var(--text)!important;border-color:#7c5cff!important}
html[data-mayu-theme="light"] .auth-plan-v817.selected-v817 *,
body.light .auth-plan-v817.selected-v817 *,
.theme-light .auth-plan-v817.selected-v817 *{color:var(--text)!important;opacity:1!important}
html[data-mayu-theme="light"] .auth-plan-v817.selected-v817 em,
body.light .auth-plan-v817.selected-v817 em,
.theme-light .auth-plan-v817.selected-v817 em{color:#fff!important}
html[data-mayu-theme="light"] .auth-plan-v817.selected-v817 .auth-plan-action-v817,
body.light .auth-plan-v817.selected-v817 .auth-plan-action-v817,
.theme-light .auth-plan-v817.selected-v817 .auth-plan-action-v817{color:#6241d8!important}
.auth-plan-v817.selected-v817{opacity:1!important}

/* Help Center: entire section closed until clicked; then topic and question cards are also closed by default. */
.help-center-shell-v913{padding:0!important;overflow:hidden}
.help-center-shell-v913>summary,.help-category-v913>summary,.help-question-v913>summary,.books-collapse-v913>summary{list-style:none!important;cursor:pointer!important}
.help-center-shell-v913>summary::-webkit-details-marker,.help-category-v913>summary::-webkit-details-marker,.help-question-v913>summary::-webkit-details-marker,.books-collapse-v913>summary::-webkit-details-marker{display:none!important}
.help-center-toggle-v913{display:flex;width:100%;padding:18px 20px;box-sizing:border-box;align-items:center}
.help-center-toggle-v913 span{display:grid;gap:3px}.help-center-toggle-v913 small{color:var(--muted)}
.help-center-body-v913{padding:0 20px 20px}.help-categories-v913{display:grid;gap:10px;margin-top:14px}
.help-card-toggle-v913,.help-question-toggle-v913{display:flex;width:100%;box-sizing:border-box;padding:15px 17px;align-items:center;justify-content:space-between}
.help-card-toggle-v913 span{display:grid;gap:3px}.help-card-toggle-v913 small{color:var(--muted)}
.help-category-v913,.help-question-v913{overflow:hidden}.help-question-v913{border-top:1px solid var(--line)}.help-category-body-v913{padding:0 12px 12px}.help-question-v913 .help-body-v904{padding:14px 16px}

/* Books & Reports stays compact: report detail opens only when clicked. */
.books-collapse-v913{padding:0!important;overflow:hidden}
.books-collapse-toggle-v913{display:flex;width:100%;box-sizing:border-box;padding:17px 20px;align-items:center;justify-content:space-between}
.books-collapse-toggle-v913 span{display:grid;gap:4px}.books-collapse-toggle-v913 strong{font-size:17px}.books-collapse-toggle-v913 small{color:var(--muted)}
.books-collapse-body-v913{padding:0 20px 20px;border-top:1px solid var(--line)}
.owner-profit-books-v913,.owner-equity-books-v913{max-width:none}


/* === MAYU V9.0.14 surgical UI closeout === */
.auth-plan-v817.selected-v817,.auth-plan-v817.selected-v817.selected-readable-v914{background:linear-gradient(135deg,rgba(124,92,255,.14),rgba(124,92,255,.06))!important;border:2px solid #7c5cff!important;opacity:1!important}
.auth-plan-v817.selected-v817 *,.auth-plan-v817.selected-v817.selected-readable-v914 *{color:var(--text)!important;opacity:1!important;text-shadow:none!important}
.auth-plan-v817.selected-v817 em{color:#fff!important;background:#6e51e8!important}
.auth-plan-v817.selected-v817 .auth-plan-action-v817{color:#6241d8!important}
.account-page-v914,.account-page-v914>.account-grid,.account-page-v914 .account-grid,.account-page-v914 .account-session-v910{width:100%!important;max-width:none!important}
.account-page-v914 .account-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important}
.solo-plus-snapshot-v914{height:100%;min-height:100%}.snapshot-grid-v914{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin-top:10px}.snapshot-grid-v914>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.snapshot-grid-v914 span{color:var(--muted);font-size:12px}.snapshot-grid-v914 b{font-size:13px}.snapshot-highlight-v914{grid-column:1/-1;border-bottom:0!important;padding-top:12px!important}.snapshot-highlight-v914 b{font-size:18px}
.plan-modal-v914{width:min(1180px,96vw)!important;max-height:96vh!important;overflow:hidden!important;padding:14px!important}.plan-modal-v914>h2{font-size:20px;margin:0 0 8px}.plan-modal-v914 .modal-actions{margin-top:8px}.plan-compare-v914{display:grid;grid-template-columns:minmax(150px,1.35fr) repeat(5,minmax(108px,1fr));width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden}.plan-feature-head-v914,.plan-col-head-v914,.plan-feature-name-v914,.plan-feature-cell-v914{padding:5px 7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}.plan-feature-head-v914{font-weight:900;display:flex;align-items:end;font-size:11px}.plan-col-head-v914{display:grid;gap:2px;align-content:start;min-height:78px;background:rgba(124,92,255,.035)}.plan-col-head-v914.current{background:rgba(124,92,255,.12)}.plan-col-head-v914 strong{font-size:12px}.plan-col-head-v914>span{font-size:12px;font-weight:900}.plan-col-head-v914>span small{font-size:8px;color:var(--muted)}.plan-col-head-v914 em{font-size:8px;color:var(--muted);font-style:normal;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plan-col-head-v914 .mini{min-height:24px;padding:3px 5px;font-size:9px}.plan-feature-name-v914{font-size:9px;font-weight:750;line-height:1.1;background:rgba(255,255,255,.018)}.plan-feature-cell-v914{text-align:center;font-size:12px;font-weight:950;line-height:1}.plan-feature-cell-v914.yes{color:var(--green)}.plan-feature-cell-v914.no{color:var(--muted);opacity:.55}.plan-compare-v914>*:nth-child(6n){border-right:0}.profit-stats-v914{display:grid;grid-template-columns:repeat(2,minmax(145px,1fr));gap:6px 16px;min-width:330px}.profit-stats-v914 span{display:grid;gap:1px}.profit-stats-v914 small,.profit-stats-v914 em{font-size:9px;color:var(--muted);font-style:normal}.profit-stats-v914 b{font-size:12px}.danger-v914{background:linear-gradient(135deg,#b83f50,#d85667)!important;color:#fff!important;margin-right:auto}
@media(max-width:900px){.plan-modal-v914{width:98vw!important}.plan-compare-v914{grid-template-columns:minmax(120px,1.3fr) repeat(5,minmax(88px,1fr))}.plan-feature-name-v914{font-size:8px}.plan-col-head-v914 em{display:none}.snapshot-grid-v914{grid-template-columns:1fr}.snapshot-highlight-v914{grid-column:auto}.profit-stats-v914{min-width:0;grid-template-columns:1fr 1fr}}
/* === END MAYU V9.0.14 === */


/* === MAYU V9.0.15 exact user-requested patch only === */
/* Signup plans: all five visible at once, no internal/page scrolling to compare them. */
.auth-wrap-v817{overflow:hidden!important;padding:18px 22px!important}
.auth-layout-v817{min-height:calc(100vh - 36px)!important;align-items:center!important;grid-template-columns:minmax(360px,470px) minmax(0,1fr)!important;gap:18px!important;width:min(1500px,100%)!important}
.auth-plans-v915{padding:14px!important;overflow:visible!important}
.auth-plans-v915 .auth-plan-heading-v817 h2{font-size:20px!important;margin:3px 0!important}.auth-plans-v915 .auth-plan-heading-v817 p{font-size:11px!important;margin:0 0 9px!important}
.auth-plan-list-v915{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;align-items:stretch!important}
.auth-plan-v915{padding:9px 8px!important;min-width:0!important;height:100%!important;display:flex!important;flex-direction:column!important;transform:none!important}
.auth-plan-top-v915{display:grid!important;gap:3px!important}.auth-plan-top-v915>span{min-width:0!important}.auth-plan-top-v915 strong{font-size:12px!important}.auth-plan-top-v915 small{font-size:8px!important;line-height:1.1!important}.auth-plan-top-v915>b{font-size:13px!important}
.auth-plan-v915 em{margin-top:5px!important;font-size:7px!important;padding:2px 5px!important}
.auth-plan-features-v915{display:grid!important;gap:4px!important;margin-top:7px!important;font-size:8px!important;line-height:1.15!important;flex:1!important}.auth-plan-features-v915 span{display:block!important}
.auth-plan-v915 .auth-plan-action-v817{font-size:8px!important;margin-top:7px!important}
@media(max-width:1180px){.auth-layout-v817{grid-template-columns:minmax(330px,420px) minmax(0,1fr)!important}.auth-plan-list-v915{gap:5px!important}.auth-plan-v915{padding:7px 6px!important}.auth-plan-features-v915{font-size:7.5px!important}.auth-plan-top-v915 small{display:none!important}}
@media(max-width:900px){.auth-wrap-v817{overflow:auto!important}.auth-layout-v817{grid-template-columns:1fr!important;max-width:760px!important}.auth-plan-list-v915{grid-template-columns:repeat(5,minmax(0,1fr))!important}.auth-plan-top-v915 small{display:none!important}}

/* Solo Plus snapshot: four primary metrics, four secondary details. */
.solo-plus-snapshot-v915{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.snapshot-main-v915{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.snapshot-main-v915>div{padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:var(--panel2);display:grid;gap:3px}.snapshot-main-v915 small{color:var(--muted);font-size:10px}.snapshot-main-v915 strong{font-size:17px}.snapshot-detail-v915{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin-top:9px}.snapshot-detail-v915>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:11px}.snapshot-detail-v915 span{color:var(--muted)}
@media(max-width:760px){.snapshot-main-v915,.snapshot-detail-v915{grid-template-columns:1fr}}
/* === END MAYU V9.0.15 === */

/* MAYU V9.0.16 — exact plan/snapshot presentation patch only */
/* Signup/login plan cards: preserve the proven stacked V8.17 layout; only fix selected contrast. */
.auth-plan-v817.selected-v817{
  background:linear-gradient(135deg,rgba(112,82,230,.22),rgba(112,82,230,.09))!important;
  border:2px solid #7c5cff!important;
  color:var(--text)!important;
  opacity:1!important;
}
.auth-plan-v817.selected-v817 *{color:var(--text)!important;opacity:1!important;text-shadow:none!important}
.auth-plan-v817.selected-v817 em{background:#6e51e8!important;color:#fff!important}
.auth-plan-v817.selected-v817 .auth-plan-action-v817{color:#6e51e8!important}
html[data-mayu-theme="dark"] .auth-plan-v817.selected-v817{
  background:linear-gradient(135deg,rgba(112,82,230,.34),rgba(25,31,48,.96))!important;
  color:#f6f7fb!important;
}
html[data-mayu-theme="dark"] .auth-plan-v817.selected-v817 *{color:#f6f7fb!important}
html[data-mayu-theme="dark"] .auth-plan-v817.selected-v817 .auth-plan-top-v817 small,
html[data-mayu-theme="dark"] .auth-plan-v817.selected-v817 .auth-plan-features-v817{color:#e1e5ef!important}
html[data-mayu-theme="dark"] .auth-plan-v817.selected-v817 .auth-plan-action-v817{color:#d5c8ff!important}

/* Compare / Switch Plans — readable desktop matrix, same feature matrix and entitlements. */
.plan-modal-v916{width:min(1480px,98vw)!important;max-width:1480px!important;max-height:96vh!important;overflow:hidden!important;padding:18px!important}
.plan-modal-v916>h2{font-size:22px!important;margin:0 0 12px!important}
.plan-modal-v916 .modal-actions{margin-top:10px!important}
.plan-compare-v916{display:grid;grid-template-columns:minmax(220px,1.45fr) repeat(5,minmax(150px,1fr));width:100%;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel)}
.plan-feature-head-v916,.plan-col-head-v916,.plan-feature-name-v916,.plan-feature-cell-v916{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
.plan-feature-head-v916{padding:10px 12px;font-size:12px;font-weight:900;display:flex;align-items:end;background:var(--panel2)}
.plan-col-head-v916{padding:9px 10px;display:grid;gap:3px;align-content:start;min-height:112px;background:rgba(124,92,255,.035)}
.plan-col-head-v916.current{background:rgba(124,92,255,.13);box-shadow:inset 0 0 0 2px rgba(124,92,255,.55)}
.plan-col-head-v916.best-value{background:linear-gradient(180deg,rgba(124,92,255,.10),rgba(124,92,255,.035))}
.plan-col-head-v916 strong{font-size:15px;line-height:1.1}
.plan-col-head-v916>span{font-size:16px;font-weight:900}.plan-col-head-v916>span small{font-size:10px;color:var(--muted);margin-left:2px}
.plan-col-head-v916 em{font-size:10px;color:var(--muted);font-style:normal;line-height:1.2;min-height:24px}
.plan-best-v916{justify-self:start;font-size:8px;line-height:1;padding:4px 6px;border-radius:999px;background:#6e51e8;color:#fff;letter-spacing:.05em}
.plan-col-head-v916 .mini{min-height:30px;padding:6px 8px;font-size:10px;margin-top:auto}
.plan-feature-name-v916{padding:7px 10px;font-size:11px;font-weight:750;line-height:1.15;background:rgba(127,127,127,.025)}
.plan-feature-cell-v916{padding:7px 6px;text-align:center;font-size:15px;font-weight:950;line-height:1.15;display:flex;align-items:center;justify-content:center}
.plan-feature-cell-v916.yes{color:var(--green)}.plan-feature-cell-v916.no{color:var(--muted);opacity:.5}
.plan-compare-v916>*:nth-child(6n){border-right:0}

/* Mobile/tablet QA: no horizontal overflow, readable controls, plan-by-plan cards instead of tiny columns. */
@media(max-width:900px){
 .plan-modal-v916{width:96vw!important;max-height:92vh!important;overflow-y:auto!important;padding:14px!important}
 .plan-compare-v916{display:grid;grid-template-columns:1fr 1fr;border:0;gap:10px;background:transparent;overflow:visible}
 .plan-feature-head-v916,.plan-feature-name-v916,.plan-feature-cell-v916{display:none!important}
 .plan-col-head-v916{border:1px solid var(--line)!important;border-radius:12px!important;min-height:138px!important;padding:12px!important;background:var(--panel2)!important}
 .plan-col-head-v916.current{box-shadow:inset 0 0 0 2px #7c5cff!important}
 .plan-col-head-v916 strong{font-size:16px}.plan-col-head-v916>span{font-size:17px}.plan-col-head-v916 em{font-size:11px;min-height:28px}
}
@media(max-width:520px){
 .plan-modal-v916{width:96vw!important;padding:12px!important}
 .plan-compare-v916{grid-template-columns:1fr!important}
 .plan-col-head-v916{min-height:0!important}
 .auth-wrap-v817{padding-left:12px!important;padding-right:12px!important}
 .auth-layout-v817{grid-template-columns:1fr!important;width:100%!important}
 .auth-plans-v817{padding:14px!important}
 .auth-plan-v817{padding:12px!important}
 .auth-plan-top-v817 strong{font-size:15px!important}.auth-plan-top-v817>b{font-size:16px!important}
 .auth-plan-features-v817{font-size:10px!important;line-height:1.3!important}
}
/* === MAYU V9.0.17 exact requested patch === */
body.plan-modal-open-v917{overflow:hidden!important}
.plan-modal-v917{width:min(1480px,98vw)!important;max-width:1480px!important;height:min(92vh,900px)!important;max-height:92vh!important;overflow:hidden!important;padding:16px!important;display:flex!important;flex-direction:column!important}
.plan-modal-v917>h2{flex:0 0 auto;margin:0 0 10px!important;font-size:22px!important}.plan-modal-v917>#planSwitchError{flex:0 0 auto}.plan-modal-v917 .modal-actions{flex:0 0 auto;margin-top:10px!important}
.plan-compare-scroll-v917{flex:1 1 auto;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;border:1px solid var(--line);border-radius:14px;background:var(--panel);overscroll-behavior:contain}
.plan-compare-v917{display:grid;grid-template-columns:minmax(205px,1.35fr) repeat(5,minmax(145px,1fr));width:100%;min-width:0}
.plan-feature-head-v917,.plan-col-head-v917,.plan-feature-name-v917,.plan-feature-cell-v917{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
.plan-feature-head-v917{position:sticky;top:0;z-index:7;padding:10px 12px;font-size:12px;font-weight:900;display:flex;align-items:end;background:var(--panel2)}
.plan-col-head-v917{position:sticky;top:0;z-index:6;padding:10px;display:grid;grid-template-rows:auto auto minmax(26px,auto) 32px;gap:4px;align-content:start;min-height:126px;background:var(--panel2)}
.plan-col-head-v917.current{box-shadow:inset 0 0 0 2px rgba(124,92,255,.58)}.plan-col-head-v917.best-value{background:linear-gradient(180deg,rgba(124,92,255,.12),var(--panel2))}
.plan-head-copy-v917{display:flex;align-items:center;gap:6px;min-height:20px}.plan-col-head-v917 strong{font-size:15px;line-height:1.1}.plan-col-head-v917>span{font-size:16px;font-weight:900}.plan-col-head-v917>span small{font-size:10px;color:var(--muted);margin-left:2px}.plan-col-head-v917 em{font-size:10px;color:var(--muted);font-style:normal;line-height:1.2}
.plan-best-v917{font-size:7px;line-height:1;padding:4px 6px;border-radius:999px;background:#6e51e8;color:#fff;letter-spacing:.05em;white-space:nowrap}.plan-col-head-v917 .mini{height:32px;min-height:32px;padding:5px 8px;font-size:10px;align-self:end}
.plan-feature-name-v917{padding:7px 10px;font-size:11px;font-weight:750;line-height:1.15;background:rgba(127,127,127,.025)}.plan-feature-cell-v917{padding:7px 6px;text-align:center;font-size:15px;font-weight:950;line-height:1.15;display:flex;align-items:center;justify-content:center}.plan-feature-cell-v917.yes{color:var(--green)}.plan-feature-cell-v917.no{color:var(--muted);opacity:.5}.plan-compare-v917>*:nth-child(6n){border-right:0}
.modal-backdrop:has(.plan-modal-v917){overscroll-behavior:contain}
.business-identity-v917{min-height:116px!important;padding:22px 24px!important;gap:20px!important}.business-identity-v917 .business-logo-v917{width:84px!important;height:84px!important;min-width:84px!important;border-radius:18px!important}.business-identity-copy-v917{flex:1;min-width:0}.business-identity-copy-v917 h2{font-size:29px!important;margin:2px 0 5px!important}.business-logo-action-v917{margin-left:auto;cursor:pointer;align-self:center;white-space:nowrap}
.period-selector-v917{padding:11px 14px!important}.period-summary-v917{display:grid;grid-template-columns:minmax(170px,1.1fr) auto minmax(210px,.9fr) auto;gap:10px 14px;align-items:center}.period-summary-v917>div:first-child{display:grid;gap:2px}.period-summary-v917>div:first-child strong{font-size:17px}.period-modes-v917{margin:0!important;flex-wrap:nowrap!important}.period-modes-v917 .mini{min-height:32px;padding:6px 10px}.period-inputs-v917{margin:0!important;display:flex!important;align-items:center!important;gap:8px!important}.period-inputs-v917 label{display:flex!important;align-items:center!important;gap:7px!important;white-space:nowrap;font-size:11px}.period-inputs-v917 input{min-height:34px!important;height:34px!important;padding:5px 8px!important}.period-inputs-v917 .btn{min-height:34px!important;height:34px!important;padding:5px 9px!important}.period-nav-v917{display:flex;gap:6px;justify-content:flex-end}.period-nav-v917 .mini{min-height:32px;padding:6px 9px}
@media(max-width:980px){.plan-modal-v917{width:98vw!important;height:94vh!important;max-height:94vh!important;padding:12px!important}.plan-compare-v917{grid-template-columns:minmax(150px,1.2fr) repeat(5,minmax(112px,1fr))}.plan-feature-name-v917{font-size:9.5px;padding:6px 7px}.plan-feature-cell-v917{font-size:13px;padding:6px 4px}.plan-col-head-v917{padding:8px 6px;min-height:118px}.plan-col-head-v917 strong{font-size:13px}.plan-col-head-v917>span{font-size:14px}.plan-col-head-v917 em{font-size:8.5px}.plan-best-v917{font-size:6.5px;padding:3px 4px}.period-summary-v917{grid-template-columns:1fr auto;gap:8px}.period-inputs-v917{grid-column:1/2}.period-nav-v917{grid-column:2/3}}
@media(max-width:700px){.plan-modal-v917{width:100%!important;height:94vh!important;max-height:94vh!important;border-radius:18px 18px 0 0!important}.plan-compare-scroll-v917{overflow:auto!important}.plan-compare-v917{min-width:760px}.period-summary-v917{grid-template-columns:1fr}.period-modes-v917{flex-wrap:wrap!important}.period-inputs-v917,.period-nav-v917{grid-column:auto}.period-nav-v917{justify-content:flex-start}.business-identity-v917{min-height:0!important;padding:16px!important;gap:12px!important;flex-wrap:wrap}.business-identity-v917 .business-logo-v917{width:64px!important;height:64px!important;min-width:64px!important}.business-identity-copy-v917 h2{font-size:23px!important}.business-logo-action-v917{margin-left:0}}
/* === END MAYU V9.0.17 === */
.plan-mobile-v917{display:none}
@media(max-width:700px){
 .plan-compare-scroll-v917{display:none!important}
 .plan-mobile-v917{display:grid;gap:10px;overflow-y:auto;min-height:0;padding-right:2px}
 .plan-modal-v917{height:94vh!important}
 .plan-mobile-card-v917{border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--panel2);display:grid;gap:10px}
 .plan-mobile-card-v917.current{box-shadow:inset 0 0 0 2px #7c5cff}
 .plan-mobile-head-v917{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.plan-mobile-head-v917>div{display:grid;gap:3px}.plan-mobile-head-v917 strong{font-size:17px}.plan-mobile-head-v917>div>small{color:var(--muted);font-size:11px}.plan-mobile-head-v917>div>b{justify-self:start;font-size:8px;background:#6e51e8;color:#fff;border-radius:999px;padding:3px 6px}.plan-mobile-head-v917>span{font-size:17px;font-weight:900;white-space:nowrap}.plan-mobile-head-v917>span small{font-size:10px;color:var(--muted)}
 .plan-mobile-features-v917{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;font-size:11px}.plan-mobile-card-v917 .btn{width:100%}
}
@media(max-width:440px){.plan-mobile-features-v917{grid-template-columns:1fr}}
@media(max-width:700px){.plan-mobile-v917{flex:1 1 auto!important}}
/* Best Value is an overlay badge so it never changes header/button alignment. */
.plan-col-head-v917.best-value{position:sticky}.plan-col-head-v917.best-value .plan-head-copy-v917{padding-right:58px}.plan-best-v917{position:absolute;top:8px;right:7px}

/* === MAYU V9.0.18 exact regression correction === */
/* Best Value is a badge only. It must never darken or gradient-fill the Solo Plus card. */
.auth-plan-v817.best-value-v817:not(.selected-v817){
  background:rgba(5,12,23,.78)!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
html[data-mayu-theme="light"] .auth-plan-v817.best-value-v817:not(.selected-v817),
body.light .auth-plan-v817.best-value-v817:not(.selected-v817),
.theme-light .auth-plan-v817.best-value-v817:not(.selected-v817){
  background:rgba(250,247,240,.94)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
/* Roll back V9.0.17-only Solo Plus identity enlargement. */
.business-identity-v8137:not(.business-identity-v917){max-width:none}
/* === END MAYU V9.0.18 === */


/* MAYU V9.0.19 — accounting method foundation */
.accounting-method-card-v919{max-width:100%;}
.accounting-method-card-v919 .section-head{align-items:flex-start;gap:18px;}
.accounting-method-badge-v919{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;letter-spacing:.06em;white-space:nowrap;background:var(--panel2);color:var(--muted);}
.accounting-method-badge-v919.recommended{border-color:rgba(124,58,237,.28);background:rgba(124,58,237,.10);color:#6d28d9;}
.accounting-method-options-v919{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.accounting-choice-v919{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:14px;padding:16px;cursor:pointer;background:var(--panel);}
.accounting-choice-v919:hover,.accounting-choice-v919.active{border-color:#7c3aed;box-shadow:0 0 0 2px rgba(124,58,237,.08);}
.accounting-choice-v919 input{margin-top:4px;accent-color:#7c3aed;}
.accounting-choice-v919 span{display:grid;gap:7px;}
.accounting-choice-v919 strong{font-size:15px;}
.accounting-choice-v919 strong b{display:inline-block;margin-left:6px;padding:3px 7px;border-radius:999px;background:rgba(124,58,237,.12);color:#6d28d9;font-size:10px;letter-spacing:.04em;}
.accounting-choice-v919 small{line-height:1.45;color:var(--muted);}
@media(max-width:720px){.accounting-method-options-v919{grid-template-columns:1fr}.accounting-method-card-v919 .section-head{flex-direction:column}.accounting-method-badge-v919{align-self:flex-start}}

/* === MAYU V9.0.20 — invoice workflow === */
.invoice-list-v920{display:grid;gap:10px}.invoice-row-v920{width:100%;border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;color:var(--text);cursor:pointer}.invoice-row-v920:hover{border-color:rgba(115,87,232,.45);transform:translateY(-1px)}.invoice-row-main-v920{display:flex;align-items:center;gap:12px;min-width:0}.invoice-row-main-v920>div{min-width:0}.invoice-row-main-v920 strong{display:block}.invoice-row-main-v920 small{display:block;color:var(--muted);margin-top:4px}.invoice-row-money-v920{text-align:right;white-space:nowrap}.invoice-row-money-v920 strong,.invoice-row-money-v920 small{display:block}.invoice-row-money-v920 small{color:var(--muted);margin-top:4px}.invoice-filter-v920{display:flex;gap:8px;flex-wrap:wrap}.invoice-filter-v920 .mini.active{background:var(--accent);color:white}.invoice-status-v920{display:inline-flex;align-items:center;justify-content:center;min-width:88px;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.04em;border:1px solid transparent;white-space:nowrap}.invoice-status-v920.status-paid{background:rgba(27,158,89,.13);color:#159957;border-color:rgba(21,153,87,.32)}.invoice-status-v920.status-overdue{background:rgba(204,67,67,.12);color:#c54646;border-color:rgba(197,70,70,.3)}.invoice-status-v920.status-partially-paid{background:rgba(214,137,29,.13);color:#b87411;border-color:rgba(184,116,17,.32)}.invoice-status-v920.status-sent,.invoice-status-v920.status-due{background:rgba(51,113,220,.12);color:#326bd0;border-color:rgba(50,107,208,.3)}.invoice-status-v920.status-open{background:rgba(115,87,232,.11);color:#6447d4;border-color:rgba(100,71,212,.28)}.invoice-status-v920.status-draft,.invoice-status-v920.status-void{background:rgba(120,130,145,.11);color:var(--muted);border-color:rgba(120,130,145,.25)}.invoice-detail-head-v920{display:flex;justify-content:space-between;align-items:center;gap:16px}.invoice-detail-head-v920>div{text-align:right}.invoice-detail-head-v920 strong,.invoice-detail-head-v920 small{display:block}.invoice-detail-head-v920 small{color:var(--muted);margin-top:3px}.invoice-summary-grid-v920{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.invoice-summary-grid-v920>div{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}.invoice-summary-grid-v920 small,.invoice-summary-grid-v920 b{display:block}.invoice-summary-grid-v920 small{color:var(--muted);margin-bottom:5px}.invoice-total-v920{display:grid;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.invoice-total-v920 span{display:flex;justify-content:space-between;gap:12px}.invoice-total-v920 .balance{font-size:18px;font-weight:800;padding-top:8px;border-top:1px solid var(--line)}.invoice-employee-checks-v920{display:flex;gap:10px;flex-wrap:wrap}.invoice-employee-checks-v920 label{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:10px}.job-invoice-v920{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid rgba(115,87,232,.28);border-radius:14px;background:rgba(115,87,232,.06)}.job-invoice-v920>div{display:grid;gap:4px}.job-invoice-v920 small{color:var(--muted)}.invoice-settings-card-v920{max-width:none}.public-invoice-v920{min-height:100vh;padding:32px 16px;background:var(--bg);display:grid;place-items:start center}.public-invoice-card-v920{width:min(720px,100%);border:1px solid var(--line);background:var(--panel);border-radius:20px;padding:24px;color:var(--text);box-shadow:0 20px 70px rgba(0,0,0,.12)}.public-invoice-card-v920 h1{margin:4px 0 0}.public-invoice-card-v920 h2{margin:6px 0 16px}.public-invoice-logo-v920{width:64px;height:64px;object-fit:contain;border-radius:14px;margin-bottom:14px}.invoice-public-status-v920{margin-bottom:14px}
html[data-mayu-theme="light"] .invoice-row-v920,html[data-mayu-theme="light"] .public-invoice-card-v920{background:#fff}html[data-mayu-theme="light"] .invoice-summary-grid-v920>div{background:#fafbfe}
@media(max-width:700px){.invoice-row-v920{align-items:flex-start;flex-direction:column}.invoice-row-main-v920{align-items:flex-start;flex-direction:column}.invoice-row-money-v920{text-align:left}.invoice-summary-grid-v920{grid-template-columns:1fr}.job-invoice-v920{align-items:stretch;flex-direction:column}.job-invoice-v920 .btn{width:100%}.invoice-detail-head-v920{align-items:flex-start;flex-direction:column}.invoice-detail-head-v920>div{text-align:left}.public-invoice-v920{padding:12px}.public-invoice-card-v920{padding:18px;border-radius:16px}}


/* === MAYU V9.0.22 — explicit, high-visibility status badges only === */
.job-status-stack-v922{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap;margin-top:6px;max-width:330px}
.job-status-v922{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 11px;border-radius:999px;border:1px solid transparent;font-size:12px;font-weight:900;line-height:1;letter-spacing:.035em;white-space:nowrap}
.job-status-v922.status-complete,.job-status-v922.status-paid{background:#e8f7ee;color:#117642;border-color:#8fd4aa}
.job-status-v922.status-overdue{background:#fdeaea;color:#b4232d;border-color:#ee9da4;box-shadow:0 0 0 2px rgba(180,35,45,.05)}
.job-status-v922.status-partial,.job-status-v922.status-unpaid{background:#fff4dd;color:#8c5700;border-color:#e7c36f}
.job-status-v922.status-invoiced,.job-status-v922.status-scheduled{background:#eaf2ff;color:#255eb5;border-color:#9dbceb}
.job-status-v922.status-progress{background:#f1edff;color:#6241c7;border-color:#b9a8ef}
.job-status-v922.status-estimate,.job-status-v922.status-canceled{background:#f1f3f6;color:#535d6b;border-color:#c7cdd5}
.invoice-status-v920{min-width:112px;min-height:32px;padding:7px 12px;font-size:12px;letter-spacing:.035em}
.invoice-status-v920.status-paid{background:#e8f7ee;color:#117642;border-color:#8fd4aa}
.invoice-status-v920.status-overdue{background:#fdeaea;color:#b4232d;border-color:#ee9da4;box-shadow:0 0 0 2px rgba(180,35,45,.05)}
.invoice-status-v920.status-partially-paid{background:#fff4dd;color:#8c5700;border-color:#e7c36f}
.invoice-status-v920.status-sent,.invoice-status-v920.status-due,.invoice-status-v920.status-open{background:#eaf2ff;color:#255eb5;border-color:#9dbceb}
html[data-mayu-theme="dark"] .job-status-v922.status-complete,html[data-mayu-theme="dark"] .job-status-v922.status-paid,html[data-mayu-theme="dark"] .invoice-status-v920.status-paid{background:rgba(30,150,85,.22);color:#83e0aa;border-color:rgba(131,224,170,.45)}
html[data-mayu-theme="dark"] .job-status-v922.status-overdue,html[data-mayu-theme="dark"] .invoice-status-v920.status-overdue{background:rgba(205,58,70,.22);color:#ff9ba3;border-color:rgba(255,155,163,.48)}
html[data-mayu-theme="dark"] .job-status-v922.status-partial,html[data-mayu-theme="dark"] .job-status-v922.status-unpaid,html[data-mayu-theme="dark"] .invoice-status-v920.status-partially-paid{background:rgba(208,139,26,.20);color:#ffd077;border-color:rgba(255,208,119,.44)}
html[data-mayu-theme="dark"] .job-status-v922.status-invoiced,html[data-mayu-theme="dark"] .job-status-v922.status-scheduled,html[data-mayu-theme="dark"] .invoice-status-v920.status-sent,html[data-mayu-theme="dark"] .invoice-status-v920.status-due,html[data-mayu-theme="dark"] .invoice-status-v920.status-open{background:rgba(54,112,210,.22);color:#9cc0ff;border-color:rgba(156,192,255,.44)}
@media(max-width:700px){.job-status-stack-v922{justify-content:flex-start;max-width:none}.job-status-v922{font-size:11px;min-height:29px;padding:6px 9px}.invoice-status-v920{font-size:11px;min-width:106px}}
/* === END MAYU V9.0.22 === */


/* === MAYU V9.0.31 — MAYU AI V1 === */
.mayu-ai-nav-v931{display:flex!important;align-items:center;gap:8px;width:100%;border:1px solid rgba(115,87,232,.38)!important;background:rgba(115,87,232,.10)!important;color:var(--text)!important;font-weight:900!important}.mayu-ai-nav-v931 span{color:#7557e8}.mayu-ai-nav-v931 b{margin-left:auto;font-size:9px;letter-spacing:.08em;border:1px solid var(--line);border-radius:999px;padding:3px 6px;color:var(--muted)}
.mayu-ai-dashboard-v931{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;border-color:rgba(115,87,232,.35);background:linear-gradient(135deg,rgba(115,87,232,.08),var(--panel))}.mayu-ai-dashboard-v931 h2{margin:4px 0 6px}.mayu-ai-backdrop-v931{position:fixed;inset:0;background:rgba(5,8,18,.42);z-index:9998}.mayu-ai-panel-v931{position:fixed;z-index:9999;top:0;right:0;width:min(500px,100vw);height:100dvh;background:var(--panel);border-left:1px solid var(--line);box-shadow:-24px 0 60px rgba(0,0,0,.22);display:grid;grid-template-rows:auto auto auto 1fr auto auto;color:var(--text)}
.mayu-ai-head-v931{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--line)}.mayu-ai-head-v931 h2{margin:3px 0;font-size:24px}.mayu-ai-head-v931 small{color:var(--muted)}.mayu-ai-eyebrow-v931{font-size:10px;font-weight:900;letter-spacing:.09em;color:#7557e8}.mayu-ai-close-v931{border:0;background:transparent;color:var(--muted);font-size:32px;line-height:1;cursor:pointer;padding:0 4px}.mayu-ai-brief-v931{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 18px;border-bottom:1px solid var(--line);background:var(--panel2)}.mayu-ai-brief-v931>div{display:grid;gap:3px}.mayu-ai-brief-v931 small{color:var(--muted);font-size:10px}.mayu-ai-brief-v931 strong{font-size:14px}.mayu-ai-brief-v931 p{grid-column:1/-1;margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.4}
.mayu-ai-suggestions-v931{display:flex;gap:7px;flex-wrap:wrap;overflow-x:hidden;padding:10px 14px;border-bottom:1px solid var(--line)}.mayu-ai-suggestions-v931 button{flex:0 1 auto;border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:999px;padding:7px 10px;font-size:11px;cursor:pointer}.mayu-ai-messages-v931{overflow:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.mayu-ai-welcome-v931{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel2)}.mayu-ai-welcome-v931 p{color:var(--muted);line-height:1.5}.mayu-ai-msg-v931{max-width:92%;padding:11px 13px;border-radius:14px;border:1px solid var(--line)}.mayu-ai-msg-v931 span{display:block;font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--muted);margin-bottom:5px}.mayu-ai-msg-v931 p{margin:0;line-height:1.5;font-size:13px}.mayu-ai-msg-v931.user{align-self:flex-end;background:rgba(115,87,232,.12);border-color:rgba(115,87,232,.28)}.mayu-ai-msg-v931.assistant{align-self:flex-start;background:var(--panel2)}.mayu-ai-thinking-v931{color:var(--muted);font-size:12px;padding:8px 2px}.mayu-ai-form-v931{display:flex;align-items:flex-end;gap:9px;padding:12px 14px;border-top:1px solid var(--line)}.mayu-ai-form-v931 textarea{min-height:46px;max-height:120px;resize:vertical;flex:1;border:1px solid var(--line);border-radius:12px;background:var(--panel2);color:var(--text);padding:11px;font:inherit}.mayu-ai-foot-v931{padding:0 14px 12px;color:var(--muted);font-size:10px;text-align:center}
@media(max-width:700px){.mayu-ai-dashboard-v931{align-items:stretch;flex-direction:column}.mayu-ai-dashboard-v931 .btn{width:100%}.mayu-ai-panel-v931{width:100vw}.mayu-ai-brief-v931{grid-template-columns:1fr 1fr 1fr}.mayu-ai-head-v931{padding:16px}.mayu-ai-messages-v931{padding:12px}}
/* === END MAYU V9.0.31 === */


/* === MAYU V9.0.32 — MAYU AI ACCESS + VOICE POLISH ONLY === */
.business-identity-v8137{position:relative}.mayu-ai-top-launch-v932{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:132px;min-height:48px;padding:10px 14px;border:1px solid rgba(115,87,232,.42);border-radius:12px;background:rgba(115,87,232,.10);color:var(--text);font-weight:900;cursor:pointer;white-space:nowrap}.mayu-ai-top-launch-v932 span{color:#7557e8;font-size:16px}.mayu-ai-top-launch-v932:hover{background:rgba(115,87,232,.18)}
.top .actions .mayu-ai-top-launch-v932{margin-left:0}.mayu-ai-mic-v932{width:46px;min-width:46px;height:46px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);color:var(--text);font-size:18px;cursor:pointer;display:grid;place-items:center}.mayu-ai-mic-v932.listening{border-color:rgba(255,138,138,.75);background:rgba(255,138,138,.14);color:var(--danger);animation:mayuAiPulseV932 1s ease-in-out infinite}.mayu-ai-mic-v932:disabled{opacity:.55;cursor:not-allowed}@keyframes mayuAiPulseV932{50%{transform:scale(1.06)}}
@media(max-width:620px){.business-identity-v8137 .mayu-ai-top-launch-v932{min-width:118px;padding:9px 11px;font-size:12px}.top .actions{width:100%}.top .actions .mayu-ai-top-launch-v932{order:-1}.mayu-ai-form-v931{gap:7px}.mayu-ai-mic-v932{width:44px;min-width:44px;height:44px}}
/* === END MAYU V9.0.32 === */


/* === MAYU V9.0.33 — MAYU AI READABILITY + FEEDBACK === */
@media(min-width:701px){.mayu-ai-panel-v931{width:min(720px,72vw)}}
.mayu-ai-messages-v931{min-height:0;padding:20px 22px;scroll-behavior:smooth}
.mayu-ai-msg-v931{max-width:96%;padding:14px 16px}.mayu-ai-msg-v931 p{font-size:14px;line-height:1.62}
.mayu-ai-thinking-v931{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--muted);padding:12px 4px}.mayu-ai-thinking-v931::after{content:'•••';letter-spacing:3px;animation:mayuAiDotsV933 1.1s steps(4,end) infinite;overflow:hidden;width:0}@keyframes mayuAiDotsV933{to{width:28px}}
@media(max-width:700px){.mayu-ai-panel-v931{width:100vw}.mayu-ai-messages-v931{padding:14px}.mayu-ai-msg-v931 p{font-size:13px}}
/* === END MAYU V9.0.33 === */


/* === MAYU V9.0.34 — MAYU AI READING SPACE + SCROLL UX === */
.mayu-ai-window-actions-v934{display:flex;align-items:center;gap:4px}.mayu-ai-expand-v934{border:0;background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;padding:4px 7px;border-radius:8px}.mayu-ai-expand-v934:hover{background:var(--panel2);color:var(--text)}
.mayu-ai-panel-v931.has-conversation-v934{grid-template-rows:auto auto 1fr auto auto}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-head-v931{padding:10px 16px}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-head-v931 h2{font-size:20px;margin:1px 0}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-eyebrow-v931{display:none}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-brief-v931{padding:7px 14px;gap:6px}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-brief-v931 p{display:none}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-suggestions-v931{display:none}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-messages-v931{padding:14px 18px}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-form-v931{padding:8px 12px}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-form-v931 textarea{min-height:40px;height:40px;max-height:92px}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-foot-v931{padding:0 12px 7px}
.mayu-ai-panel-v931.expanded-v934{inset:12px;width:auto!important;height:auto!important;border:1px solid var(--line);border-radius:16px;box-shadow:0 22px 70px rgba(0,0,0,.28);overflow:hidden}.mayu-ai-panel-v931.expanded-v934 .mayu-ai-messages-v931{padding-left:max(22px,4vw);padding-right:max(22px,4vw)}.mayu-ai-panel-v931.expanded-v934 .mayu-ai-msg-v931{max-width:1050px;width:min(100%,1050px)}.mayu-ai-panel-v931.expanded-v934 .mayu-ai-msg-v931.user{width:auto;max-width:min(82%,820px)}
@media(max-width:700px){.mayu-ai-expand-v934{font-size:20px}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-head-v931{padding:9px 12px}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-brief-v931{padding:6px 10px}.mayu-ai-panel-v931.has-conversation-v934 .mayu-ai-messages-v931{padding:10px 12px}.mayu-ai-panel-v931.expanded-v934{inset:0;border:0;border-radius:0}.mayu-ai-panel-v931.expanded-v934 .mayu-ai-messages-v931{padding-left:12px;padding-right:12px}}
/* === END MAYU V9.0.34 === */

/* === MAYU V9.0.35 — MAYU AI ACTION CONFIRMATION === */
.mayu-ai-action-v935{margin-top:12px;padding:14px;border:1px solid rgba(115,87,232,.34);border-radius:14px;background:rgba(115,87,232,.07)}
.mayu-ai-action-v935.read-only{border-color:var(--line);background:var(--panel)}
.mayu-ai-action-head-v935{display:flex;align-items:center;justify-content:space-between;gap:10px}.mayu-ai-action-head-v935>div{display:grid;gap:2px}.mayu-ai-action-head-v935 small{font-size:9px;font-weight:900;letter-spacing:.08em;color:#7557e8}.mayu-ai-action-head-v935 strong{font-size:14px}.mayu-ai-action-v935 p{margin:10px 0!important;color:var(--muted);font-size:12px!important}.mayu-ai-action-v935 .actions{display:flex;gap:8px;flex-wrap:wrap}.mayu-ai-action-v935 .pill.orange{background:rgba(232,160,60,.12);border-color:rgba(232,160,60,.3)}

/* MAYU V9.0.36 — recurring expense forecast */
.recurring-summary-v936{border-color:color-mix(in srgb,var(--accent) 28%,var(--border))}
.recurring-summary-v936 .section-head{align-items:flex-start}
.recurring-kpis-v936{margin-top:16px}
.recurring-toggle-v936{padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.recurring-toggle-v936 label{display:flex;gap:9px;align-items:center;font-weight:800}
.recurring-toggle-v936 input{width:auto}

/* === MAYU V9.0.37 — AI foundation repair === */
.mayu-ai-rich-v937{font-size:14px;line-height:1.62}.mayu-ai-rich-v937 p{margin:0 0 10px!important}.mayu-ai-rich-v937 p:last-child{margin-bottom:0!important}.mayu-ai-rich-v937 h4{margin:10px 0 6px;font-size:14px}.mayu-ai-rich-v937 ul,.mayu-ai-rich-v937 ol{margin:6px 0 10px;padding-left:20px}.mayu-ai-rich-v937 li{margin:4px 0}.mayu-ai-rich-v937 code{font-size:12px;background:rgba(0,0,0,.06);padding:1px 4px;border-radius:4px}.mayu-ai-inline-row-v937{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:6px;margin:5px 0;padding:7px 0;border-bottom:1px solid var(--line)}.mayu-ai-inline-row-v937 span{font-size:12px}.mayu-ai-mic-v932.listening{min-width:84px;width:auto;padding:0 10px}.mayu-ai-mic-v932.listening::after{content:' Done';font-size:11px;font-weight:900;margin-left:5px}
