:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#142033;background:#f6f7f9}*{box-sizing:border-box}body{margin:0}header{height:68px;background:#0d1c2e;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;position:sticky;top:0;z-index:2}header b{font-size:25px}header span{font-size:12px;margin-left:10px;opacity:.7}nav{display:flex;gap:18px}nav a{color:#dfe8f2;text-decoration:none;font-size:14px}main{max-width:1180px;margin:auto;padding:48px 28px 80px}.hero{padding:25px 0 20px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:800;color:#477392}h1{font-size:42px;max-width:760px;margin:.15em 0}h2{margin-top:34px}.grid{display:grid;gap:18px}.four{grid-template-columns:repeat(4,1fr)}.three{grid-template-columns:repeat(3,1fr)}.two{grid-template-columns:repeat(2,1fr)}.card{background:white;border:1px solid #e4e9ee;border-radius:15px;padding:22px;box-shadow:0 8px 24px rgba(15,30,50,.04)}.card small{display:block;color:#6f7d8c}.card strong{display:block;font-size:30px;margin:8px 0}.card a{color:#235d7b;text-decoration:none}.actions,.inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button,button{display:inline-block;background:#112f47;color:white;border:0;border-radius:9px;padding:11px 15px;text-decoration:none;cursor:pointer}.secondary{background:#e8eef3;color:#173044}.list{display:flex;flex-direction:column;gap:10px}.list>div,.row,.job{background:white;border:1px solid #e5e9ed;padding:14px 16px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.job>div:first-child{display:flex;flex-direction:column;flex:1}.pill{font-size:11px;background:#edf3f7;border-radius:99px;padding:6px 9px;white-space:nowrap}form{display:flex;flex-direction:column;gap:12px}label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:650}input,select{padding:11px;border:1px solid #ced6de;border-radius:8px;background:white}table{width:100%;border-collapse:collapse;background:white;border-radius:10px;overflow:hidden}th,td{text-align:left;padding:12px;border-bottom:1px solid #e7ebef;font-size:13px}th{background:#edf2f5}.warning{background:#fff3cd;border:1px solid #ffe38a;padding:12px 14px;border-radius:8px;font-size:12px;font-weight:800}pre{background:#0f1f2e;color:#eaf3f8;border-radius:10px;padding:16px;line-height:1.7}footer{text-align:center;color:#8793a0;font-size:12px;padding:30px}@media(max-width:800px){.four,.three,.two{grid-template-columns:1fr}header{height:auto;align-items:flex-start;gap:12px;padding:14px 20px;flex-direction:column}nav{overflow:auto;width:100%;padding-bottom:4px}h1{font-size:32px}main{padding:30px 18px}.job{align-items:flex-start;flex-direction:column}}
.auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#f7f9fb,#edf3f7)}.authbox{width:min(440px,100%);background:#fff;border:1px solid #e2e8ee;border-radius:22px;padding:34px;box-shadow:0 20px 60px rgba(15,30,50,.08)}.authbox h1{font-size:34px}.authbox .brand{font-size:28px;font-weight:800}.authbox .brand small{font-size:12px;font-weight:500;color:#748292;margin-left:8px}.google{display:block;text-align:center;border:1px solid #cad5df;border-radius:9px;padding:11px;margin-top:12px;text-decoration:none;color:#173044}.muted{color:#748292}.choices{display:grid;gap:10px}.choices label{display:flex;flex-direction:row;align-items:flex-start;background:#f7f9fb;padding:14px;border-radius:10px}.choices input{margin-top:3px}.logout{margin:0}.linkbutton{background:transparent;padding:0;color:#dfe8f2;white-space:nowrap}footer{border-top:1px solid #e4e9ee}.card h2{margin-top:0}
@media(max-width:800px){header{position:sticky}.brand{width:100%}nav{gap:8px;scrollbar-width:none}.logout{position:absolute;right:20px;top:20px}nav a{background:rgba(255,255,255,.08);padding:8px 10px;border-radius:8px;white-space:nowrap}header b{font-size:24px}.authbox{padding:25px}.authbox h1{font-size:30px}}
.subnav{display:flex;gap:8px;overflow:auto;margin:8px 0 28px;padding-bottom:6px}.subnav a{background:#fff;border:1px solid #dce4ea;color:#173044;padding:9px 12px;border-radius:9px;white-space:nowrap;text-decoration:none}.toast{position:sticky;top:78px;z-index:3;padding:13px 16px;border-radius:10px;margin-bottom:18px;box-shadow:0 8px 24px rgba(15,30,50,.12)}.toast.success{background:#e9f7ef;border:1px solid #a9ddbd;color:#145c32}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:16px}.sectionhead a{color:#235d7b;text-decoration:none}textarea{padding:11px;border:1px solid #ced6de;border-radius:8px;background:white;min-height:80px}@media(max-width:800px){.toast{top:118px}.sectionhead{align-items:flex-start;flex-direction:column}}
.product-picker{display:grid;gap:.7rem;margin:1rem 0}.product-picker label{display:grid;grid-template-columns:auto 1fr auto;gap:.7rem;align-items:center;border:1px solid #d8e0e8;border-radius:12px;padding:.9rem}.product-picker input{width:22px;height:22px}.price-summary{border:1px solid #d8e0e8;border-radius:14px;padding:1rem;margin:1rem 0}.early-price{display:grid;gap:.25rem;padding:.85rem;border-radius:10px;background:#eef7f2}.early-price strong{font-size:1.25rem}.early-price small{opacity:.75}.authbox.wide{max-width:620px}

.quick-options{display:flex;gap:7px;flex-wrap:wrap;margin:-2px 0 4px}.quick-option{background:#f3f6f8;color:#27445a;border:1px solid #d9e2e8;border-radius:999px;padding:7px 10px;font-size:12px}.quick-option:hover{background:#e9f0f4}.outcome-card{border:1px solid #dce5ea;background:#f8fafb;border-radius:13px;padding:14px;margin-top:4px}.outcome-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.outcome-kicker{font-size:12px;font-weight:750;color:#617282}.outcome-status{font-size:12px;font-weight:750;background:#eaf1f5;border-radius:999px;padding:6px 9px}.outcome-reason{font-size:13px;line-height:1.45;margin:10px 0}.outcome-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.outcome-numbers span{background:white;border:1px solid #e3e9ed;border-radius:9px;padding:9px}.outcome-numbers small{display:block;color:#748292;font-size:11px}.outcome-numbers b{display:block;margin-top:3px;font-size:17px}.outcome-more{margin-top:9px;font-size:12px}@media(max-width:520px){.outcome-head{align-items:flex-start;flex-direction:column}.outcome-numbers{grid-template-columns:1fr 1fr}}

/* RC11.8.5 friendly drill-down and visual reporting */
.click-row{cursor:pointer}.click-row:hover td{background:#f7fafc}.row-arrow{float:right;color:#789}.expense-item,.statement-list a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 2px;border-bottom:1px solid #edf0f2;text-decoration:none;color:#142033}.expense-item span,.statement-list span{display:flex;flex-direction:column;gap:3px}.expense-item small,.statement-list small{color:#748292;font-weight:400}.backlink{display:inline-block;margin-bottom:14px;color:#235d7b;text-decoration:none}.detail-hero{display:flex;justify-content:space-between;align-items:center}.detail-hero h2{margin:5px 0}.detail-hero>strong{font-size:34px}.detail-list>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #edf0f2}.detail-list span{color:#748292}.detail-list b{text-align:right}.friendly-outcome{background:#f5f8fa;border-radius:12px;padding:15px}.friendly-outcome p{font-size:13px;color:#5e6e7b}.mini-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mini-metrics span{display:flex;flex-direction:column;gap:4px;background:#f7f9fa;border-radius:9px;padding:10px;font-size:12px;color:#748292}.mini-metrics b{font-size:16px;color:#142033}.metric strong{font-size:28px}.bar-chart{height:210px;display:flex;align-items:flex-end;gap:9px;padding:20px 4px 0;border-bottom:1px solid #dfe5e9}.bar-group{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;min-width:20px}.bars{height:170px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px}.bar{display:block;width:min(14px,42%);min-height:2px;border-radius:5px 5px 2px 2px}.bar.income{background:#294d68}.bar.expense{background:#9aafbd}.bar-group small{font-size:10px;color:#788794}.chart-legend{display:flex;gap:16px;font-size:11px;color:#657581;margin-top:12px}.category-bars>div{display:grid;grid-template-columns:1fr auto;gap:5px 12px;margin:13px 0;font-size:13px}.category-bars i{grid-column:1/-1;height:7px;background:#eef2f4;border-radius:99px;overflow:hidden}.category-bars em{display:block;height:100%;background:#496f88;border-radius:99px}.property-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.property-report h3{margin-top:0}.statement-card{margin-top:26px}.statement-card form{max-width:520px}.statement-list{margin-top:18px;border-top:1px solid #edf0f2}.transaction-list{display:flex;flex-direction:column}.transaction-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f2}.transaction-row>div:first-child{display:flex;flex-direction:column;gap:4px}.transaction-row small{color:#748292}.txn-amount{font-weight:800}.txn-amount.in{color:#245b45}.txn-amount.out{color:#7b4b4b}
@media(max-width:700px){.report-metrics{grid-template-columns:1fr 1fr}.property-cards{grid-template-columns:1fr}.detail-hero{align-items:flex-start}.detail-hero>strong{font-size:27px}.mini-metrics{grid-template-columns:1fr 1fr}.bar-chart{height:180px}.bars{height:140px}table{display:block;overflow-x:auto}.expense-item{padding:14px 0}}
/* RC11.8.6 navigation sweep */
.record-card{display:block;color:#142033!important;text-decoration:none;transition:transform .12s ease,box-shadow .12s ease}.record-card:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(15,30,50,.08)}.record-card h3{margin:0}.open-record{display:block;margin-top:14px;color:#235d7b}.pop-form{margin-top:10px;min-width:min(420px,80vw)}.compact-action{margin-top:12px}.compact-action summary,details>summary{cursor:pointer}.record-link{display:inline-block;color:#173044;text-decoration:none;padding:4px 0}.record-link:hover{color:#235d7b}.property-report{text-decoration:none}
.overview-head{margin-bottom:6px}.overview-head h1{margin-bottom:5px}.attention-list .calm-state{padding:8px 2px}.attention-list .calm-state p{margin-bottom:0}.expense-open{min-height:54px}.expense-open:hover{background:#f8fafb}.empty-card{border-style:dashed}
@media(max-width:700px){.overview-head .button{width:100%;text-align:center}.report-metrics .metric{min-height:104px}.subnav{margin-bottom:20px}.expense-open strong{white-space:nowrap}}
/* RC11.9 unified Teksiq website + dashboard */
:root{--tink:#17322b;--tsoft:#63766f;--tpaper:#f7faf8;--tline:#dfe8e3;--tmint:#dff2e8}body{background:var(--tpaper);color:var(--tink)}.site-logo{display:inline-flex;align-items:center;gap:9px;color:var(--tink);text-decoration:none;font-size:22px}.logo-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--tink);color:#fff;font-weight:900}.site-header,.app-header{display:flex;align-items:center;gap:25px;min-height:72px;padding:12px max(24px,5vw);border-bottom:1px solid var(--tline);background:rgba(247,250,248,.95);position:sticky;top:0;z-index:10;color:var(--tink)}.site-header nav{display:flex;gap:10px;flex:1;justify-content:center}.site-header a{color:var(--tink);text-decoration:none}.site-main{max-width:1320px;margin:auto;padding:0 28px}.site-hero{min-height:610px;display:grid;grid-template-columns:1.08fr .92fr;gap:65px;align-items:center;padding:70px 2vw}.site-pill,.launch-badge,.coming-badge{display:inline-flex;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;background:var(--tmint);color:#225f4e}.site-hero h1{font-size:clamp(52px,7vw,86px);line-height:.95;letter-spacing:-.055em;margin:20px 0}.site-hero h1 em{font-style:normal;color:#699b8a}.site-hero p,.site-section>p,.how-grid p{font-size:18px;line-height:1.6;color:var(--tsoft)}.site-body .button,.app-body .button,.app-body button{background:var(--tink);border-radius:11px}.ghost{background:white!important;color:var(--tink)!important;border:1px solid var(--tline)}.dash-preview{background:white;border:1px solid var(--tline);border-radius:26px;padding:24px;box-shadow:0 35px 90px rgba(31,69,57,.12)}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.preview-grid>div,.preview-list{background:#f5f8f6;border-radius:16px;padding:17px}.preview-grid small,.preview-grid span{display:block;color:#71827c;font-size:11px}.preview-grid strong{display:block;font-size:27px;margin:5px 0}.preview-list{line-height:2.3;font-size:13px}.site-section{padding:80px 2vw;border-top:1px solid var(--tline)}.site-section h2{font-size:clamp(34px,4vw,52px);letter-spacing:-.035em}.product-showcase{display:grid;grid-template-columns:1fr 1fr .75fr;gap:16px}.product-panel{position:relative;min-height:330px;border:1px solid var(--tline);border-radius:24px;padding:27px;background:white}.rent-panel{background:#eaf6f0}.jobs-panel{background:#eef4f7}.future-panel{background:#f4f5f3}.launch-badge,.coming-badge{position:absolute;right:20px;top:20px}.coming-badge{background:#e7e9e6;color:#6b756f}.product-panel h3{font-size:28px;margin-top:45px}.product-panel p{color:#5d7069;line-height:1.55}.mini-ui{background:rgba(255,255,255,.82);border-radius:14px;padding:14px;line-height:2.2;margin-top:20px}.mini-ui b{float:right}.how-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.flow-card{background:white;border:1px solid var(--tline);border-radius:22px;padding:24px}.flow-card b{display:inline-grid;place-items:center;width:31px;height:31px;background:var(--tmint);border-radius:10px;margin-right:10px}.site-footer{max-width:1250px;margin:auto;border-top:1px solid var(--tline);padding:35px 28px;display:flex;justify-content:space-between;color:#71827c;font-size:12px}.site-footer a{color:inherit}.app-header{background:rgba(247,250,248,.96)}.app-header nav a{color:#536861}.app-main{max-width:1180px;margin:auto;padding:42px 28px 80px}.app-body .card{border-color:var(--tline);border-radius:18px}.app-body .subnav a{border-color:var(--tline);border-radius:999px}.auth-logo{margin-bottom:24px}.auth{background:linear-gradient(145deg,#f7faf8,#eaf4ef)}
@media(max-width:850px){.site-header,.app-header{flex-wrap:wrap;padding:12px 18px}.site-header nav,.app-header nav{order:3;width:100%;justify-content:flex-start;overflow:auto}.site-main{padding:0 18px}.site-hero,.how-grid{grid-template-columns:1fr;gap:35px}.site-hero{padding:50px 0}.site-hero h1{font-size:54px}.product-showcase{grid-template-columns:1fr}.site-section{padding:55px 0}.site-footer{flex-direction:column;gap:12px}.app-main{padding:28px 18px 70px}}
/* RC11.10 complete public website + mobile review fixes */
.page-hero{padding:80px 2vw 55px;max-width:1100px}.page-hero h1{font-size:clamp(44px,6vw,72px);line-height:1;letter-spacing:-.045em;max-width:900px}.page-hero>p,.split-public>div>p{font-size:18px;line-height:1.65;color:var(--tsoft);max-width:720px}.split-public{display:grid;grid-template-columns:1fr .85fr;gap:60px;align-items:center;max-width:none}.site-section.compact{padding-top:20px}.product-link{display:block;text-decoration:none;color:var(--tink)}.product-panel h3 a{color:inherit;text-decoration:none}.feature-grid,.journey,.pricing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.feature-grid article,.journey article,.price-card{background:#fff;border:1px solid var(--tline);border-radius:20px;padding:24px}.feature-grid article>b{font-size:20px}.feature-grid p,.journey p,.price-card p{color:var(--tsoft);line-height:1.55}.journey span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--tmint);font-weight:900}.price-card strong{display:block;font-size:52px;margin-top:10px}.price-card>span{color:var(--tsoft)}.faq-list{max-width:850px}.faq-list details{background:#fff;border:1px solid var(--tline);border-radius:16px;padding:18px 20px;margin:12px 0}.faq-list summary{font-weight:800;font-size:17px}.faq-list p{color:var(--tsoft);line-height:1.6}.footer-logo{font-size:15px}.footer-logo .logo-mark{width:28px;height:28px;border-radius:9px}.site-actions{display:flex;gap:12px;align-items:center;white-space:nowrap}
fieldset{border:1px solid var(--tline);border-radius:14px;padding:14px}fieldset label{padding:10px;border-radius:10px}fieldset label:has(input:checked){background:#edf7f2}fieldset input[type=radio]{width:22px;height:22px}
@media(max-width:850px){.split-public,.feature-grid,.journey,.pricing-grid{grid-template-columns:1fr}.page-hero{padding:48px 0 35px}.site-header .site-actions{position:absolute;right:18px;top:15px}.site-header .site-actions .button{display:none}.site-header nav{padding-top:4px}.site-header nav a{white-space:nowrap}.page-hero h1{font-size:46px}}

/* RC11.13 — Modern T visual system. Presentation only; no workflow changes. */
:root{--navy:#071725;--navy2:#0b2032;--blue:#1269f3;--cyan:#08bdd7;--aqua:#06b6d4;--light:#f8fafc;--paper:#f5f8fb;--ink:#0b1d2d;--muted:#65798a;--line:#dce6ee;--softblue:#eaf3ff;--softcyan:#e8fbfd;--shadow:0 22px 70px rgba(7,23,37,.10);--radius:22px;--tink:var(--ink);--tsoft:var(--muted);--tpaper:var(--light);--tline:var(--line);--tmint:var(--softblue)}
body.modern-t{background:var(--light);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.modern-t h1,.modern-t h2,.modern-t h3{letter-spacing:-.035em}.modern-t .eyebrow{color:var(--blue);font-weight:800;letter-spacing:.16em}.modern-t .site-logo{gap:10px;color:var(--ink)}.modern-t .wordmark{font-size:20px;font-weight:850;letter-spacing:.07em}.modern-t .logo-mark{position:relative;overflow:hidden;width:36px;height:36px;border-radius:10px;background:linear-gradient(145deg,var(--blue),var(--cyan));color:transparent;font-size:0;box-shadow:0 8px 20px rgba(18,105,243,.18)}.modern-t .logo-mark:before{content:"";position:absolute;left:7px;right:7px;top:8px;height:7px;border-radius:7px 7px 4px 4px;background:#fff;transform:skewX(-18deg)}.modern-t .logo-mark:after{content:"";position:absolute;left:15px;top:13px;width:8px;height:16px;border-radius:3px 3px 7px 7px;background:#fff;transform:skewY(-8deg)}
.modern-t .site-header,.modern-t .app-header{min-height:76px;background:rgba(248,250,252,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(220,230,238,.85);color:var(--ink);box-shadow:none}.modern-t .site-header nav a,.modern-t .app-header nav a{color:#486071;font-weight:650}.modern-t .site-header nav a:hover,.modern-t .app-header nav a:hover{color:var(--blue)}.modern-t .button,.modern-t button:not(.linkbutton){background:linear-gradient(135deg,var(--blue),#0a82ef);border-radius:12px;box-shadow:0 8px 22px rgba(18,105,243,.16);font-weight:750}.modern-t .ghost{background:#fff!important;color:var(--ink)!important;border:1px solid var(--line);box-shadow:none}.modern-t .linkbutton{color:#5a7182;background:transparent;box-shadow:none;padding:8px}
.site-body .site-main{max-width:1400px}.v4-hero{min-height:650px;grid-template-columns:1fr 1fr;gap:70px;padding-top:82px;padding-bottom:82px}.v4-hero h1{font-size:clamp(64px,8vw,104px);line-height:.88;letter-spacing:-.07em}.v4-hero h1 em,.page-hero h1 em{font-style:normal;background:linear-gradient(90deg,var(--blue),var(--cyan));-webkit-background-clip:text;background-clip:text;color:transparent}.hero-copy{max-width:650px!important;font-size:19px!important}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.trust-row{display:flex;gap:22px;flex-wrap:wrap;color:#708493;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}.trust-row span:before{content:"✓";color:var(--cyan);margin-right:6px}.workspace-preview{border:1px solid #dce8f2;background:#fff;border-radius:28px;padding:12px;box-shadow:0 35px 100px rgba(7,23,37,.15);transform:perspective(1200px) rotateY(-2deg) rotateX(1deg)}.preview-top{display:flex;align-items:center;justify-content:space-between;padding:5px 8px 13px;color:#8a9aa7}.preview-top>span{display:flex;gap:5px}.preview-top i{display:block;width:7px;height:7px;border-radius:50%;background:#d5e0e8}.preview-shell{display:grid;grid-template-columns:125px 1fr;min-height:355px;background:#f7fafc;border-radius:20px;overflow:hidden}.preview-shell aside{background:var(--navy);color:#aebdca;padding:20px 14px;display:flex;flex-direction:column;gap:18px;font-size:11px}.preview-shell aside b{color:#fff;background:rgba(18,105,243,.2);padding:8px;border-radius:8px}.preview-shell section{padding:28px 24px}.preview-shell section h3{font-size:25px;margin:5px 0 20px}.mini-brand{display:flex;align-items:center;color:#fff;font-weight:800;gap:6px;margin-bottom:10px}.mini-brand .logo-mark{width:22px;height:22px;border-radius:6px}.mini-brand .logo-mark:before{left:4px;right:4px;top:5px;height:4px}.mini-brand .logo-mark:after{left:9px;top:8px;width:5px;height:10px}.brand-strip{max-width:1320px;margin:0 auto 15px;padding:18px 2vw;display:flex;align-items:center;gap:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;font-weight:850;letter-spacing:.13em;color:#415a6d}.brand-strip i{width:4px;height:4px;border-radius:50%;background:var(--cyan)}.brand-strip strong{margin-left:auto;letter-spacing:0;color:#7b8d9a;font-weight:600}.product-intro{display:grid;grid-template-columns:.42fr 1fr;gap:45px}.section-copy h2{font-size:clamp(42px,5vw,68px);line-height:.98}.v4-products{grid-template-columns:1fr 1fr .78fr}.modern-t .product-panel{border:1px solid var(--line);background:#fff;box-shadow:0 12px 35px rgba(7,23,37,.05);overflow:hidden}.modern-t .rent-panel{background:linear-gradient(160deg,#fff 25%,#edf6ff)}.modern-t .jobs-panel{background:linear-gradient(160deg,#fff 25%,#eafafd)}.modern-t .future-panel{background:linear-gradient(160deg,#fff 25%,#f0f3f6)}.product-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;font-size:22px;font-weight:900;margin-top:4px}.modern-t .launch-badge{background:var(--softblue);color:var(--blue)}.modern-t .coming-badge{background:#edf1f4;color:#6e7d88}.modern-t .mini-ui{border:1px solid #e4edf4;background:rgba(255,255,255,.88);color:#526879}.modern-t .open-record,.text-link{color:var(--blue);font-weight:750}.dark-section{background:var(--navy);color:#fff;border:0!important;border-radius:32px;margin:55px 2vw;display:grid;grid-template-columns:.7fr 1.3fr;gap:55px}.dark-section .eyebrow{color:#57d6e8}.dark-section h2{font-size:clamp(42px,5vw,68px);line-height:.98}.dark-section p{color:#a9bbc9}.intelligence-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.intelligence-flow article{padding:24px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);border-radius:18px}.intelligence-flow article>b{color:#51d6e8}.intelligence-flow h3{font-size:22px}.whatsapp-section{display:grid;grid-template-columns:1fr .75fr;gap:70px;align-items:center}.whatsapp-section h2{font-size:clamp(40px,5vw,64px);line-height:1}.phone-card{max-width:390px;margin:auto;background:#eef4f7;border:10px solid var(--navy);border-radius:38px;padding:20px 15px;box-shadow:var(--shadow)}.phone-head{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;margin-bottom:20px}.phone-head .logo-mark{grid-row:1/3}.phone-head small{color:#6d7f8c}.chat{max-width:88%;padding:11px 13px;border-radius:15px;margin:9px 0;font-size:13px;line-height:1.45}.chat.incoming{background:#fff;border-bottom-left-radius:4px}.chat.outgoing{background:#d9f7ef;margin-left:auto;border-bottom-right-radius:4px}.cta-section{text-align:center;max-width:950px;margin:auto;border-top:0!important}.cta-section h2{font-size:clamp(48px,6vw,78px);line-height:.95}.cta-section p{margin-left:auto;margin-right:auto}.modern-t .site-footer{color:#718594}.modern-t .footer-logo .wordmark{font-size:14px}
.page-hero{padding-top:95px;padding-bottom:65px}.page-hero h1{font-size:clamp(50px,6.4vw,82px);line-height:.94}.product-preview{border-top:4px solid var(--blue)}.preview-label{font-size:10px;letter-spacing:.16em;color:var(--blue);font-weight:850}.rich-features article{position:relative;min-height:190px}.rich-features article>span{display:block;color:var(--cyan);font-weight:850;font-size:12px;margin-bottom:28px}.rich-features article>b{font-size:21px}.use-case-band{max-width:1000px}.use-case-band h2{font-size:clamp(34px,4vw,55px);line-height:1.1}.modern-pricing{grid-template-columns:repeat(2,1fr)}.modern-pricing .price-card{min-height:230px}.modern-pricing .featured-price{background:var(--navy);color:#fff}.modern-pricing .featured-price p{color:#b7c6d1}.modern-pricing .price-card h3{font-size:34px}.modern-pricing .price-card h3 span{font-size:14px;color:#7a8c99;font-weight:500}.v4-journey article{min-height:230px}.v4-journey article span{background:var(--softblue);color:var(--blue)}.modern-t .faq-list details{border-color:var(--line);box-shadow:0 7px 20px rgba(7,23,37,.025)}
/* Authenticated workspace visual alignment */
.app-body{background:#f5f8fb}.app-body .app-main{max-width:1240px}.workspace-hero{display:flex;align-items:flex-end;justify-content:space-between;padding:18px 0 34px}.workspace-hero h1{font-size:clamp(42px,5vw,62px);margin-bottom:8px}.workspace-hero p{color:var(--muted);font-size:16px}.workspace-chip{background:var(--softblue);color:var(--blue);border-radius:999px;padding:9px 13px;font-size:11px;font-weight:800}.app-body .card{border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 30px rgba(7,23,37,.035)}.metric-card{text-decoration:none;color:var(--ink);min-height:145px;position:relative;overflow:hidden}.metric-card small{font-weight:700;color:#718493}.metric-card strong{font-size:32px}.metric-card>span{font-size:11px;color:#82929e}.accent-metric{background:linear-gradient(145deg,var(--navy),#103652);color:#fff!important}.accent-metric small,.accent-metric>span{color:#b7c7d2}.dashboard-layout{display:grid;grid-template-columns:1.5fr .7fr;gap:18px;margin-top:18px}.attention-card h2,.quick-card h2{margin:4px 0 18px}.clean-list{gap:0}.dashboard-row{display:flex;justify-content:space-between;align-items:center;padding:15px 2px;border-bottom:1px solid #e9eff4;color:var(--ink);text-decoration:none}.dashboard-row>span:first-child{display:flex;flex-direction:column;gap:4px}.dashboard-row small{color:#8796a2}.quick-card>a{display:flex;flex-direction:column;gap:5px;padding:14px 0;border-bottom:1px solid #e9eff4;text-decoration:none;color:var(--ink)}.quick-card>a span{font-size:11px;color:#81919d;text-transform:uppercase;letter-spacing:.08em}.quick-card>a b{font-size:14px}.calm-empty{display:flex;gap:14px;align-items:center;padding:20px 0}.calm-empty>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--softcyan);color:#078ca2}.calm-empty p{margin:4px 0;color:var(--muted)}.dashboard-report-cta{margin-top:18px;padding:28px 30px;border-radius:22px;background:linear-gradient(120deg,#eaf3ff,#e9fbfd);display:flex;justify-content:space-between;align-items:center;gap:20px}.dashboard-report-cta h2{margin:4px 0}.dashboard-report-cta p{margin:0;color:#617788}.app-footer{max-width:1240px;margin:auto;padding:30px 28px 45px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#8a99a4;font-size:11px;letter-spacing:.08em}.app-body .subnav{background:transparent}.app-body .subnav a{background:#fff;border:1px solid var(--line);color:#536a7a}.app-body .subnav a:hover{border-color:#b9d4f7;color:var(--blue)}.app-body input,.app-body select,.app-body textarea{border-color:#cfdce6;border-radius:11px}.app-body .pill{background:#edf4fb;color:#47667d}.app-body .bar.income{background:var(--blue)}.app-body .bar.expense{background:var(--cyan)}.app-body .category-bars em{background:linear-gradient(90deg,var(--blue),var(--cyan))}
@media(max-width:900px){.v4-hero,.product-intro,.dark-section,.whatsapp-section,.dashboard-layout{grid-template-columns:1fr}.v4-products{grid-template-columns:1fr}.workspace-preview{transform:none}.brand-strip strong{display:none}.intelligence-flow{grid-template-columns:1fr}.dark-section{margin:30px 0;border-radius:24px}.workspace-hero{align-items:flex-start;gap:16px}.metric-grid{grid-template-columns:1fr 1fr}.dashboard-report-cta{align-items:flex-start;flex-direction:column}.modern-pricing{grid-template-columns:1fr}}
@media(max-width:600px){.modern-t .site-header,.modern-t .app-header{padding:11px 16px}.modern-t .wordmark{font-size:17px}.modern-t .logo-mark{width:32px;height:32px}.v4-hero{min-height:auto;padding-top:48px}.v4-hero h1{font-size:58px}.preview-shell{grid-template-columns:72px 1fr}.preview-shell aside{padding:16px 8px}.preview-shell aside span:not(.mini-brand),.preview-shell aside b{font-size:9px}.mini-brand{font-size:0}.preview-shell section{padding:20px 14px}.preview-grid{grid-template-columns:1fr}.brand-strip{overflow:auto}.product-intro{display:block}.section-copy{margin-bottom:28px}.metric-grid{grid-template-columns:1fr 1fr}.metric-card{min-height:125px;padding:17px}.metric-card strong{font-size:24px}.workspace-chip{display:none}.app-footer{padding-left:18px;padding-right:18px}.page-hero h1{font-size:48px}}
/* RC11.18 mobile/button/access polish */
.modern-t .card a.button:not(.ghost),.modern-t a.button:not(.ghost){color:#fff!important}
.modern-t .card a.button.ghost,.modern-t a.button.ghost{color:var(--ink)!important}
.modern-t button:not(.linkbutton){color:#fff!important}
.product-unavailable{max-width:650px;margin:7vh auto;padding:clamp(26px,5vw,48px)}.product-unavailable h1{font-size:clamp(32px,6vw,48px);margin-bottom:12px}.product-unavailable .actions{margin-top:25px}
@media(max-width:700px){.modern-t .app-header{gap:12px;padding:12px 18px}.modern-t .app-header nav{gap:18px}.modern-t .app-header nav a{font-size:15px}.modern-t .card .button,.modern-t .card button{max-width:100%}}
.nav-search{font-weight:700}.search-box{display:flex;gap:.7rem;max-width:760px;margin:1.25rem 0 2rem}.search-box input{flex:1}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.metric-grid>div{padding:.85rem;border:1px solid #dbe7f0;border-radius:14px;background:#f8fafc}.metric-grid strong{display:block;font-size:1.25rem;margin-top:.2rem}.record-row{padding:.8rem 0;border-bottom:1px solid #e7eef4}.record-row form{display:flex;gap:.5rem;flex-wrap:wrap}.record-row input{min-width:120px;flex:1}@media(max-width:700px){.search-box{flex-direction:column}.metric-grid{grid-template-columns:1fr 1fr}.nav-search{display:none}}
/* RC11.21 — WhatsApp front door + full workspace public story */
.two-layer-story{display:grid;grid-template-columns:.65fr 1.35fr;gap:48px;align-items:start}.two-layer-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.two-layer-grid article{border:1px solid var(--line);border-radius:22px;padding:26px;background:#fff;box-shadow:0 12px 35px rgba(7,23,37,.05)}.two-layer-grid article:last-child{background:linear-gradient(150deg,#f7fbff,#eaf8fb)}.two-layer-grid h3{font-size:25px;margin:16px 0 8px}.two-layer-grid p,.two-layer-grid li{color:#5d7281}.two-layer-grid ul{padding-left:20px;line-height:1.8}.workspace-control{display:grid;grid-template-columns:.85fr 1.15fr;gap:52px;align-items:center;background:#f7fafc;border-radius:30px;margin-top:20px;margin-bottom:20px}.workspace-control h2{font-size:clamp(38px,4.5vw,58px);line-height:1}.control-points{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.control-points span{padding:13px;border-radius:12px;background:#fff;border:1px solid var(--line);font-size:13px;color:#5d7281}.control-points b{display:block;color:var(--ink);margin-bottom:3px}.control-preview{background:#fff;border:1px solid #dce8f2;border-radius:22px;padding:20px;box-shadow:0 24px 60px rgba(7,23,37,.1)}.control-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}.control-metrics>div{padding:13px 10px;border:1px solid #e4edf4;border-radius:12px}.control-metrics small{display:block;color:#7c8d99;font-size:10px}.control-metrics strong{font-size:18px}.control-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px}.control-columns>div{border:1px solid #e4edf4;border-radius:12px;padding:14px}.control-columns p{font-size:12px;color:#637787;border-bottom:1px solid #eef2f5;padding:7px 0;margin:0}.control-columns p:last-child{border:0}@media(max-width:900px){.two-layer-story,.workspace-control{grid-template-columns:1fr}.two-layer-grid{grid-template-columns:1fr}.control-points{grid-template-columns:1fr 1fr}}@media(max-width:600px){.control-metrics{grid-template-columns:1fr 1fr}.control-columns,.control-points{grid-template-columns:1fr}}
/* RC11.22: persistent Settings navigation */
.app-body .settings-subnav a.active{background:var(--navy);border-color:var(--navy);color:#fff;font-weight:800}
.settings-heading{margin-bottom:8px}

/* RC11.28 dedicated Teksiq Ops shell */
.ops-badge{font-size:.65rem;letter-spacing:.12em;font-weight:800;padding:.25rem .45rem;border:1px solid currentColor;border-radius:999px;margin-left:.45rem;opacity:.8}.ops-header{position:sticky;top:0;z-index:30}.ops-shell .app-main{max-width:1440px}.ops-shell .ops-nav{position:sticky;top:64px;z-index:20;background:var(--surface,#fff)}
.aop-banner{position:sticky;top:0;z-index:30;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;margin:0 0 16px;border:2px solid currentColor;border-radius:14px;background:#fff}.aop-banner div{display:flex;flex-direction:column;gap:2px}.aop-banner span{font-size:.82rem;opacity:.72}.aop-banner form{margin:0}.aop-banner button{white-space:nowrap}@media(max-width:640px){.aop-banner{align-items:flex-start}.aop-banner span{max-width:220px}}
.help-bot{position:fixed;right:18px;bottom:18px;z-index:1200}.help-toggle{border:0;border-radius:999px;padding:13px 18px;font-weight:800;box-shadow:0 12px 32px rgba(7,23,37,.22);background:#1269f3;color:#fff}.help-panel{position:absolute;right:0;bottom:58px;width:min(380px,calc(100vw - 28px));height:min(520px,70vh);background:#fff;border:1px solid #dbe5ef;border-radius:20px;box-shadow:0 20px 60px rgba(7,23,37,.22);overflow:hidden}.help-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#071725;color:#fff}.help-head div{display:flex;flex-direction:column}.help-head small{opacity:.72}.help-head button{border:0;background:transparent;color:#fff;font-size:24px}.help-messages{height:360px;overflow:auto;padding:14px;background:#f8fafc}.help-answer,.help-question{padding:10px 12px;border-radius:14px;margin:0 0 10px;white-space:pre-wrap}.help-answer{background:#fff;border:1px solid #e5eaf0}.help-question{background:#e8f2ff;margin-left:36px}.help-panel form{display:flex;gap:8px;padding:10px;border-top:1px solid #e5eaf0}.help-panel input{min-width:0;flex:1;border:1px solid #cbd5e1;border-radius:10px;padding:10px}.help-panel form button{border:0;border-radius:10px;padding:0 14px;background:#1269f3;color:#fff;font-weight:700}.help-usage-note{display:block;padding:0 12px 10px;color:#64748b}@media(max-width:600px){.help-bot{right:12px;bottom:12px}.help-panel{position:fixed;left:12px;right:12px;bottom:68px;width:auto}.help-messages{height:calc(min(520px,70vh) - 145px)}}
/* RC11.34 mobile-safe Ask Teksiq */
.help-panel{display:flex;flex-direction:column;max-height:calc(100dvh - 90px)}
.help-messages{height:auto;min-height:0;flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}
.help-panel form{flex:0 0 auto;background:#fff}.help-usage-note{flex:0 0 auto;background:#fff}
@media(max-width:600px){.help-panel{top:max(12px,env(safe-area-inset-top));bottom:max(76px,calc(env(safe-area-inset-bottom) + 64px));height:auto;max-height:none;border-radius:18px}.help-head{flex:0 0 auto}.help-panel form{padding-bottom:max(10px,env(safe-area-inset-bottom))}.help-panel form button{min-height:44px}.help-panel input{font-size:16px;min-height:44px}}

/* RC11.35 Ask Teksiq interaction + mobile viewport hardening */
.help-panel[hidden]{display:none!important}.help-head button{min-width:44px;min-height:44px;display:grid;place-items:center;cursor:pointer}.help-panel form button:disabled{opacity:.65;cursor:wait}
@media(max-width:600px){
 .help-bot{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom))}
 .help-panel{position:fixed;inset:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));width:auto;height:auto;max-width:none;max-height:none;border-radius:16px;display:flex;flex-direction:column}
 .help-messages{flex:1 1 auto;min-height:0;height:auto;overflow:auto}
 .help-panel form{display:grid;grid-template-columns:minmax(0,1fr) auto;position:sticky;bottom:0;padding:10px;padding-bottom:max(10px,env(safe-area-inset-bottom));z-index:2}
 .help-panel form button{min-width:68px;padding:0 12px}.help-usage-note{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}

/* RC11.35 Ask Teksiq interaction hardening */
.help-head button{min-width:44px;min-height:44px;display:grid;place-items:center;position:relative;z-index:2}.help-working{opacity:.72;font-style:italic}.help-panel form button:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){body.help-open{overflow:hidden}.help-panel{z-index:1300}.help-head button{font-size:28px}.help-messages{overscroll-behavior:contain}}
/* RC11.47 suite reporting + routing hardening */
.report-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:8px 0 24px}.report-hero h1{margin-bottom:8px}.visual-metric{position:relative;overflow:hidden;min-height:132px}.visual-metric:after{content:'';position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--blue),var(--cyan))}.visual-metric span{display:block;margin-top:10px;color:#718596;font-size:12px}.report-visual-grid{margin:18px 0}.report-attention-list{display:grid;gap:9px;margin-top:16px}.report-attention-list>a{display:flex;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid #e1eaf1;border-radius:13px;background:#fbfdff;color:var(--ink)}.report-attention-list>a:hover{border-color:#b9d4f7;background:#f5faff}.report-status-bars{margin-top:15px}.report-section{margin-top:18px}.report-section h2{margin-top:4px}@media(max-width:700px){.report-hero{align-items:flex-start;flex-direction:column}.report-hero .button{width:100%;text-align:center}.report-attention-list>a{align-items:flex-start;flex-direction:column;gap:5px}}
/* RC11.49 — V7 guided public experience + shared shell alignment */
.v7-header{overflow:visible}.v7-desktop-nav{align-items:center}.nav-dropdown{position:relative}.nav-drop-toggle{appearance:none;border:0!important;background:transparent!important;color:#486071!important;box-shadow:none!important;padding:10px 2px!important;cursor:pointer;font-weight:650!important}.nav-drop-panel{position:absolute;top:44px;left:-18px;width:350px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:9px;box-shadow:0 24px 70px rgba(7,23,37,.16);z-index:80}.nav-drop-panel[hidden]{display:none}.nav-drop-panel a{position:relative;display:block!important;padding:12px 70px 12px 12px!important;border-radius:11px}.nav-drop-panel a:hover{background:#f5f8fb}.nav-drop-panel b{display:block;color:var(--ink);font-size:13px}.nav-drop-panel small{display:block;color:#718493;font-size:10px;margin-top:3px}.nav-drop-panel em{position:absolute;right:10px;top:13px;font-style:normal;font-size:8px;font-weight:900;letter-spacing:.06em;color:var(--blue);background:var(--softblue);padding:5px 7px;border-radius:999px}.nav-drop-panel .all-products{display:flex!important;justify-content:space-between;padding-right:12px!important;border-top:1px solid #edf1f4;margin-top:5px}.site-menu-toggle,.site-mobile-menu{display:none}.v7-hero{grid-template-columns:.92fr 1.08fr}.v7-hero .hero-copy b{color:var(--ink);font-size:20px}.v7-workspace{transform:none}.demo-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:0 8px 10px}.demo-tabs button{border:1px solid var(--line)!important;background:#fff!important;color:#526879!important;box-shadow:none!important;padding:8px 11px!important;border-radius:999px!important;font-size:10px;cursor:pointer}.demo-tabs button.active{background:var(--navy)!important;color:#fff!important;border-color:var(--navy)!important}.demo-attention-row{display:block;padding-top:5px}.v7-tour{display:grid;grid-template-columns:.75fr 1.25fr;gap:55px;align-items:center}.large-tabs{padding:18px 0 12px}.large-tabs button{font-size:12px;padding:10px 14px!important}.tour-stage{min-height:390px;background:linear-gradient(145deg,#071725,#103652);color:#fff;border-radius:28px;padding:34px;box-shadow:var(--shadow)}.tour-stage>.site-pill{float:right}.tour-stage .eyebrow{color:#55d8e9}.tour-stage h3{font-size:clamp(28px,3vw,42px);line-height:1.05;margin:14px 0}.tour-stage>p:not(.eyebrow){color:#b8c9d5;max-width:650px}.story-flow{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:28px}.story-flow>div{display:flex;gap:11px;align-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09);border-radius:13px;padding:13px}.story-flow b{color:#55d8e9}.story-flow span{font-size:12px}.pricing-teaser{display:flex;align-items:center;justify-content:space-between;gap:30px;background:linear-gradient(120deg,#eef5ff,#ecfbfd);border-radius:28px;margin:20px 2vw}.pricing-teaser h2{margin:7px 0}.pricing-teaser p{max-width:700px}.site-body .product-showcase.v4-products{grid-template-columns:repeat(2,minmax(0,1fr))}.site-body .product-panel{min-height:300px}.site-body .product-panel .coming-badge{background:#eef1f4;color:#61717d}
/* App shell: V7 navigation remains dense and operational, but visually matches public site. */
.app-body .app-header{box-shadow:0 1px 0 rgba(220,230,238,.65)}.app-body .app-header nav{gap:6px}.app-body .app-header nav a{padding:9px 11px;border-radius:10px}.app-body .app-header nav a:hover{background:#edf5ff}.app-body .subnav{padding:5px;background:#edf2f6;border-radius:14px;gap:4px}.app-body .subnav a{border:0;background:transparent;border-radius:10px;padding:9px 12px}.app-body .subnav a:hover,.app-body .subnav a.active{background:#fff;color:var(--blue);box-shadow:0 2px 9px rgba(7,23,37,.05)}.app-body h1{letter-spacing:-.035em}.app-body h2{letter-spacing:-.02em}.app-body .card{background:#fff}.app-body .table-wrap{border-radius:14px}.app-body table th{color:#607483;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.app-body form label{color:#536a7a}.app-body form input,.app-body form select,.app-body form textarea{background:#fff}.app-body .hero:not(.workspace-hero){padding:8px 0 22px}.app-body .hero h1{font-size:clamp(38px,4.6vw,58px)}
@media(max-width:900px){.v7-desktop-nav{display:none!important}.site-header .site-actions{margin-left:auto;position:static!important}.site-header .site-actions>a:first-child{display:none}.site-menu-toggle{display:block;border:1px solid var(--line)!important;background:#fff!important;color:var(--ink)!important;box-shadow:none!important;padding:10px 12px!important}.site-mobile-menu{position:sticky;top:76px;z-index:45;background:#fff;border-bottom:1px solid var(--line);padding:10px 18px 18px;grid-template-columns:1fr 1fr;gap:4px}.site-mobile-menu:not([hidden]){display:grid}.site-mobile-menu a{padding:10px;border-radius:9px;color:#425a6b}.site-mobile-menu .button{grid-column:1/-1;text-align:center;color:#fff}.v7-tour{grid-template-columns:1fr}.pricing-teaser{margin:15px 0;align-items:flex-start;flex-direction:column}.site-body .product-showcase.v4-products{grid-template-columns:1fr}.app-body .app-header nav{padding-top:5px}}
@media(max-width:600px){.site-header .site-actions .button{display:none!important}.site-mobile-menu{grid-template-columns:1fr 1fr}.v7-hero h1{font-size:58px}.story-flow{grid-template-columns:1fr}.tour-stage{padding:24px;min-height:0}.v7-workspace .preview-shell{display:block}.v7-workspace .preview-shell aside{display:flex;overflow:auto;flex-direction:row;align-items:center}.v7-workspace .preview-shell aside span,.v7-workspace .preview-shell aside b{white-space:nowrap}.app-body .app-header nav{display:flex;overflow-x:auto;width:100%;order:3}.app-body .app-header nav a{white-space:nowrap}.app-body .logout{margin-left:auto}}
.app-body .app-header nav a.active{background:#eaf3ff;color:var(--blue);font-weight:800}

/* RC11.50 full UI/mobile hardening */
html,body{max-width:100%;overflow-x:hidden}.site-body,.app-body{min-width:0}.site-main,.app-main,.site-section,.site-hero,.workspace-preview,.preview-shell,.preview-shell section,.grid,.card,.row,.list>div{min-width:0}.site-menu-toggle,.app-menu-toggle{min-width:max-content;white-space:nowrap}.site-menu-toggle{font-size:0!important;display:none}.site-menu-toggle:before{content:'☰';font-size:18px;margin-right:7px}.site-menu-toggle:after{content:'Menu';font-size:13px}.site-menu-toggle[aria-expanded='true']:before{content:'×'}.site-menu-toggle[aria-expanded='true']:after{content:'Close'}
.app-menu-toggle{display:none;align-items:center;gap:7px;border:1px solid var(--line)!important;background:#fff!important;color:var(--ink)!important;box-shadow:none!important;padding:9px 11px!important;border-radius:10px!important}.menu-bars{font-size:17px;line-height:1}.menu-label{font-size:12px}
.app-body .card,.app-body .list>div,.app-body .row,.app-body .job{overflow-wrap:anywhere}.app-body input,.app-body select,.app-body textarea{width:100%;max-width:100%;font-size:16px}.app-body form{min-width:0}.app-body table{max-width:100%}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.app-body .button,.app-body button{min-height:42px}.app-body h1{letter-spacing:-.035em}.app-body h2{letter-spacing:-.02em}.app-body .card{box-shadow:0 10px 30px rgba(7,23,37,.045)}
@media(max-width:900px){
 .site-header{min-height:68px!important;flex-wrap:nowrap!important;padding:10px 16px!important}.site-header .site-logo{flex:0 1 auto}.site-header .site-actions{display:none!important}.site-menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-left:auto!important;min-height:44px!important}
 .site-mobile-menu{top:68px!important;max-height:calc(100dvh - 68px);overflow-y:auto}.site-main{padding-left:16px!important;padding-right:16px!important}
 .v7-hero,.v4-hero,.site-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:32px!important;min-height:0!important;padding:44px 0 52px!important}.v7-hero>*{width:100%;min-width:0}.v7-workspace,.workspace-preview{width:100%!important;max-width:100%!important;transform:none!important;margin:0!important}.preview-shell{width:100%;max-width:100%}
 .v7-tour{grid-template-columns:minmax(0,1fr)!important}.tour-stage{width:100%;max-width:100%}.pricing-teaser{max-width:100%}
 .app-header:not(.ops-header){min-height:64px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important;padding:9px 14px!important;align-items:center!important}.app-header:not(.ops-header) .site-logo{min-width:0}.app-menu-toggle{display:inline-flex!important}.app-header:not(.ops-header)>nav{display:none!important;grid-column:1/-1!important;order:initial!important;width:100%!important;overflow:visible!important;padding:8px 0 3px!important;gap:6px!important;flex-wrap:wrap!important}.app-header:not(.ops-header)>nav.mobile-open{display:flex!important}.app-header:not(.ops-header)>nav a{flex:1 1 calc(50% - 6px);background:#f2f6f9!important;border:1px solid #e3ebf1;border-radius:9px!important;color:#40586a!important;padding:10px 11px!important;text-align:center}.app-header:not(.ops-header)>nav a.active{background:var(--softblue)!important;border-color:#cfe0f5;color:var(--blue)!important}.app-header:not(.ops-header) .logout{position:static!important;margin:0!important}.app-header:not(.ops-header) .logout button{min-height:40px;padding:8px 9px!important}.app-main{padding:24px 16px 64px!important}
 .subnav{margin:6px -16px 22px!important;padding:0 16px 8px!important;scroll-padding-left:16px}.subnav a{min-height:40px;display:inline-flex;align-items:center}.sectionhead{gap:10px}.grid.four,.grid.three,.grid.two{grid-template-columns:minmax(0,1fr)!important}
 .row,.job,.list>div{align-items:flex-start!important;flex-wrap:wrap}.row>*,.job>*{min-width:0;max-width:100%}.row form{width:100%}
 .help-widget,.help-panel{max-width:calc(100vw - 24px)!important}
}
@media(max-width:600px){
 .v7-hero h1,.v4-hero h1,.site-hero h1{font-size:clamp(46px,14vw,58px)!important}.hero-copy{font-size:17px!important}.hero-actions{display:grid!important;grid-template-columns:1fr!important}.hero-actions .button,.hero-actions a{width:100%;text-align:center}.trust-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
 .v7-workspace{border-radius:20px!important;padding:8px!important}.v7-workspace .preview-top{font-size:10px}.v7-workspace .demo-tabs{padding:2px 2px 10px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}.v7-workspace .demo-tabs button{min-width:0!important;padding:8px 4px!important;font-size:9px!important}.v7-workspace .preview-shell{display:block!important;min-height:0!important}.v7-workspace .preview-shell aside{display:flex!important;gap:5px!important;overflow-x:auto!important;padding:8px!important}.v7-workspace .preview-shell aside .mini-brand{display:none!important}.v7-workspace .preview-shell aside span,.v7-workspace .preview-shell aside b{flex:0 0 auto!important;white-space:nowrap!important;padding:7px 8px!important}.v7-workspace .preview-shell section{padding:17px 13px!important}.v7-workspace .preview-shell section h3{font-size:21px!important;margin-bottom:13px!important}.v7-workspace .preview-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}.v7-workspace .preview-grid>div,.v7-workspace .preview-list{padding:12px!important}.v7-workspace .preview-grid strong{font-size:23px!important}.v7-workspace .preview-list{font-size:12px!important;line-height:1.7!important}.site-section{padding:50px 0!important}.tour-stage{padding:21px!important;border-radius:20px!important}.story-flow{grid-template-columns:1fr!important}.dark-section{margin:25px 0!important;border-radius:20px!important;padding-left:20px!important;padding-right:20px!important}.whatsapp-section{grid-template-columns:1fr!important;gap:35px!important}.phone-card{max-width:100%!important}
 .app-body h1{font-size:30px!important}.app-body h2{font-size:22px}.metric-grid,.report-metrics,.mini-metrics,.outcome-numbers{grid-template-columns:1fr 1fr!important}.card{padding:17px!important}.detail-hero{flex-direction:column!important;gap:8px}.detail-list>div{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important}.transaction-row{align-items:flex-start}.app-footer{flex-wrap:wrap;gap:8px}
}
@media(max-width:380px){.trust-row,.metric-grid,.report-metrics,.mini-metrics,.outcome-numbers{grid-template-columns:1fr!important}.site-mobile-menu{grid-template-columns:1fr!important}.v7-workspace .demo-tabs{grid-template-columns:1fr 1fr!important}.app-header:not(.ops-header)>nav a{flex-basis:100%}}

/* RC11.51 — auth/reporting consistency + compact mobile reporting */
.auth.modern-t .authbox{border:1px solid var(--line);box-shadow:0 24px 70px rgba(7,23,37,.08)}
.auth.modern-t .auth-logo{display:inline-flex;margin-bottom:26px}.auth.modern-t .auth-logo .wordmark{font-size:21px}
.report-product-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.report-product-links>a{display:grid;gap:5px;padding:16px;border:1px solid #e1eaf1;border-radius:14px;background:#fbfdff;color:var(--ink)}.report-product-links>a:hover{border-color:#bdd5f4;background:#f5faff}.report-product-links b{font-size:17px}.report-product-links span{font-size:12px;line-height:1.5;color:#607483}
@media(max-width:700px){
 .compact-report-hero{margin-bottom:14px!important}.compact-report-hero h1,.app-body .report-hero h1{font-size:31px!important;line-height:1.06!important;margin:4px 0 8px!important}.compact-report-hero p,.report-hero p{font-size:14px!important;line-height:1.5!important}
 .compact-kpis,.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.compact-kpis .visual-metric,.report-metrics .visual-metric,.report-metrics .metric{min-height:92px!important;padding:14px!important}.compact-kpis strong,.report-metrics strong{font-size:25px!important}.compact-kpis span,.report-metrics span{font-size:10px!important;margin-top:5px!important}
 .report-product-links{grid-template-columns:1fr}.report-product-links>a{padding:14px}.report-section{margin-top:12px}.report-section h2{font-size:20px!important}.report-visual-grid{gap:10px!important;margin:12px 0!important}
 .app-body .subnav{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none;padding:4px!important}.app-body .subnav::-webkit-scrollbar{display:none}.app-body .subnav a{white-space:nowrap!important;flex:0 0 auto!important;padding:8px 11px!important;font-size:13px!important}
}
@media(max-width:380px){.compact-kpis,.report-metrics{grid-template-columns:1fr 1fr!important}.compact-kpis strong,.report-metrics strong{font-size:23px!important}}

/* RC11.52 public mobile deployment hardening */
.site-menu-toggle .menu-bars,.site-menu-toggle .menu-label{display:inline-block!important;font-size:13px!important}.site-menu-toggle .menu-bars{font-size:18px!important;line-height:1!important}.site-menu-toggle:before,.site-menu-toggle:after{content:none!important}

/* RC11.53 contrast hardening: explicit foreground/background for compact controls. */
.site-pill,.launch-badge,.coming-badge,.pill,.workspace-chip,.outcome-status,.outcome-kicker{color:#274f64!important;background:#eaf3fb!important;border:1px solid #d2e3f1!important}
.site-pill{color:#245f50!important;background:#e4f3ed!important;border-color:#cee7dd!important}
.tour-stage .site-pill,.dark-section .site-pill{color:#eaf8f7!important;background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.24)!important}
.demo-tabs button{color:#435f72!important;background:#fff!important;border-color:#d8e3eb!important}
.demo-tabs button.active{color:#fff!important;background:#071725!important;border-color:#071725!important}
.app-body .subnav a{color:#536a7a!important;background:transparent!important}
.app-body .subnav a.active{color:#1269f3!important;background:#fff!important}
.app-body .settings-subnav a.active{color:#fff!important;background:#071725!important;border-color:#071725!important}
.quick-option{color:#244c63!important;background:#eef5fa!important;border:1px solid #d6e5ef!important}
@media (prefers-contrast:more){.site-pill,.pill,.workspace-chip,.demo-tabs button,.quick-option{border-width:2px!important}}

/* RC11.53 menu icon deployment hotfix — inline SVG, no fonts/glyphs/pseudo-elements/assets. */
.site-menu-toggle .menu-icon,.app-menu-toggle .menu-icon{display:block!important;width:20px!important;height:20px!important;flex:0 0 20px!important;overflow:visible!important}
.site-menu-toggle .menu-icon path,.app-menu-toggle .menu-icon path{fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.site-menu-toggle .menu-icon-close,.app-menu-toggle .menu-icon-close{display:none!important}
.site-menu-toggle[aria-expanded="true"] .menu-icon-open,.app-menu-toggle[aria-expanded="true"] .menu-icon-open{display:none!important}
.site-menu-toggle[aria-expanded="true"] .menu-icon-close,.app-menu-toggle[aria-expanded="true"] .menu-icon-close{display:block!important}
.site-menu-toggle:before,.site-menu-toggle:after,.app-menu-toggle:before,.app-menu-toggle:after{content:none!important}

/* RC11.54 control-state + scan capture hardening */
.site-menu-toggle,.app-menu-toggle{font-size:14px!important;gap:8px!important;color:#071725!important;background:#fff!important;border:1px solid #cfdde8!important;min-width:104px!important}
.site-menu-toggle .menu-label,.app-menu-toggle .menu-label{display:inline-block!important;font-size:13px!important;line-height:1!important;color:#071725!important;font-weight:800!important;opacity:1!important}
.site-menu-toggle .menu-icon,.app-menu-toggle .menu-icon{color:#071725!important;opacity:1!important}
.v7-workspace .demo-tabs button,.large-tabs button{color:#40586a!important;background:#fff!important;border:1px solid #cfdde8!important;opacity:1!important}
.v7-workspace .demo-tabs button .tab-label,.large-tabs button .tab-label{display:inline!important;color:inherit!important;font-size:inherit!important;font-weight:800!important;opacity:1!important;visibility:visible!important}
.v7-workspace .demo-tabs button.active,.large-tabs button.active{color:#fff!important;background:#071725!important;border-color:#071725!important}
.hero-actions .button{min-height:50px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.help-launcher{max-width:calc(100vw - 32px)!important;right:16px!important;bottom:max(16px,env(safe-area-inset-bottom))!important}
.scan-tips{display:grid;gap:5px;padding:12px 14px;border:1px solid #d9e6ee;background:#f4f9fc;border-radius:12px;color:#496273;font-size:12px;line-height:1.5}.scan-tips b{color:#173044}.scan-primary{min-height:48px!important}
@media(max-width:600px){.site-menu-toggle{min-width:102px!important;padding:10px 12px!important}.v7-workspace .demo-tabs button{font-size:11px!important;min-height:40px!important;padding:8px 5px!important}.hero-actions .button{width:100%!important}.help-launcher{right:12px!important;max-width:calc(100vw - 24px)!important}}
/* RC11.56 onboarding entitlement/mobile hardening */
.product-choices{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}.product-choice{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;width:100%;min-width:0;box-sizing:border-box}.product-choice input{width:24px!important;height:24px!important;margin:2px 0 0!important;min-width:24px}.choice-copy{display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;overflow-wrap:break-word;word-break:normal}.choice-copy b,.choice-copy small{display:block;white-space:normal;word-break:normal;overflow-wrap:break-word}.choice-copy small{color:#6f8392;line-height:1.4}@media(max-width:600px){.onboarding-form{padding:18px!important}.product-choice{padding:14px!important}.choice-copy b{font-size:17px}.choice-copy small{font-size:14px}}

/* RC11.63 public product selector contrast hardening */
.site-body .large-tabs button{background:#fff!important;color:#29485d!important;-webkit-text-fill-color:#29485d!important;border:1px solid #bfd0dc!important;opacity:1!important;visibility:visible!important;min-width:72px!important}
.site-body .large-tabs button .tab-label{display:inline!important;color:inherit!important;-webkit-text-fill-color:inherit!important;font-weight:800!important;opacity:1!important;visibility:visible!important}
.site-body .large-tabs button.active{background:#071725!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#071725!important}
.legal-ack-card{margin:22px 0;padding:20px;border:1px solid rgba(18,105,243,.18);border-radius:18px;background:#f8fbff;text-align:left}.legal-ack-card h2{margin:.2rem 0 .6rem}.legal-check{display:flex;gap:10px;align-items:flex-start;margin:12px 0;padding:12px;border-radius:12px;background:#fff}.legal-check input{width:auto;margin-top:3px;flex:0 0 auto}.legal-ack-card a{font-weight:700}.product-legal-ack[hidden]{display:none!important}

/* RC11.107 — selected filter chips must be visually unambiguous everywhere. */
.app-body .filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}
.app-body .filter-chips .pill{display:inline-flex;align-items:center;text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}
.app-body .filter-chips .pill:hover{background:#e2eef8!important;border-color:#bfd7e8!important;color:#173f57!important}
.app-body .filter-chips .pill.active,
.app-body .filter-chips .pill[aria-current='page'],
.app-body .filter-chips .pill[aria-pressed='true']{background:#dcecff!important;border-color:#9fc5ee!important;color:#0b58b5!important;font-weight:800!important;box-shadow:inset 0 0 0 1px rgba(18,105,243,.08)}
.app-body .filter-chips .pill.active::before,
.app-body .filter-chips .pill[aria-current='page']::before,
.app-body .filter-chips .pill[aria-pressed='true']::before{content:'✓';font-size:.78em;font-weight:900;margin-right:5px}
@media (prefers-contrast:more){.app-body .filter-chips .pill.active,.app-body .filter-chips .pill[aria-current='page'],.app-body .filter-chips .pill[aria-pressed='true']{border-width:2px!important}}
/* RC11.120 public/access recovery polish */
.public-access-note{display:inline-flex;align-items:center;margin-left:10px;font-size:12px;color:var(--muted,#667085);vertical-align:middle}.request-recovery{max-width:560px}.request-recovery .actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}@media(max-width:560px){.public-access-note{display:block;margin:9px 0 0}.request-recovery .actions .button{width:100%;text-align:center}}
/* RC11.121 support + platform notices */
.platform-notices{display:grid;gap:8px;margin:0 auto 14px;max-width:1180px}.platform-notice{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;border:1px solid #d8e2ea;border-radius:12px;padding:10px 12px;background:#f7fbff;color:#102536}.platform-notice.warning{background:#fff9e8;border-color:#ead89a}.platform-notice.critical{background:#fff1f1;border-color:#e9b8b8}.platform-notice.maintenance{background:#f4f1ff;border-color:#cec4ef}.platform-notice strong{display:block;margin-bottom:2px}.platform-notice p{margin:0;font-size:.92rem}.platform-notice a{font-weight:700}.ticket-thread{display:grid;gap:10px}.ticket-message{max-width:780px;padding:12px 14px;border:1px solid #dce4ea;border-radius:14px;background:#fff}.ticket-message.internal{background:#fff8dc;border-color:#eadb91}.ticket-message .meta{font-size:.78rem;color:#667784;margin-bottom:5px}.support-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:18px}@media(max-width:760px){.support-grid{grid-template-columns:1fr}.platform-notice{border-radius:9px}}
/* RC11.129 public clarity + WhatsApp-to-workspace story */
.public-clarity-hero .hero-copy{max-width:720px!important}.public-clarity-hero h1{font-size:clamp(58px,7vw,88px);line-height:.94}.universal-strip{max-width:1320px;margin:0 auto 15px;padding:18px 2vw;display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.universal-strip span{padding:8px 12px;border-radius:999px;background:#f3f8fa;color:#486071;font-size:11px;font-weight:850}.wa-workspace-story{display:grid;grid-template-columns:.72fr 1.28fr;gap:54px;align-items:center}.wa-workspace-story h2{font-size:clamp(42px,5vw,66px);line-height:.98}.friendly-phone .chat-actions{display:flex;gap:7px;margin-top:10px}.friendly-phone .chat-actions span{flex:1;text-align:center;border:1px solid #cbded7;background:#fff;border-radius:9px;padding:8px;font-weight:800;font-size:11px}.friendly-phone .chat-actions .confirm{background:#caf4dc;border-color:#a7e3bf}.flow-caption{text-align:center;color:var(--blue);font-size:11px;font-weight:850;margin-top:12px}.connected-workspace{border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.connected-workspace .preview-shell{border-radius:0;min-height:390px}.connected-workspace .preview-shell section{padding:30px}.connected-workspace .record-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #e7eef2;font-size:12px}.connected-workspace .record-row strong{color:var(--ink)}.simple-flow{grid-template-columns:repeat(3,1fr)}.simple-flow article{min-height:210px}.capability-grid{grid-template-columns:repeat(4,1fr)!important}.capability-grid article{min-height:170px}.expanded-price-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px}.expanded-price-card h3{font-size:38px;margin:7px 0}.included-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0}.included-list span{font-size:12px;color:#4f6675}.included-list span:before{content:'✓';color:#14a477;font-weight:900;margin-right:7px}.pricing-value-band{display:grid;grid-template-columns:.75fr 1.25fr;gap:32px;align-items:center;background:linear-gradient(120deg,#eef5ff,#ecfbfd);border-radius:28px}.pricing-value-band h2{font-size:clamp(38px,4.6vw,60px);line-height:1}.public-clarity-note{font-size:12px;color:#718493;max-width:760px}.product-purpose{font-size:15px!important;color:#536b79!important}.capture-confirm-connected article h3{margin-bottom:8px}
@media(max-width:900px){.wa-workspace-story,.pricing-value-band{grid-template-columns:1fr}.capability-grid{grid-template-columns:1fr 1fr!important}.simple-flow{grid-template-columns:1fr}.connected-workspace .preview-shell{display:block}.connected-workspace .preview-shell aside{display:none}}
@media(max-width:600px){.public-clarity-hero h1{font-size:48px}.capability-grid,.included-list{grid-template-columns:1fr!important}.universal-strip{padding-left:0;padding-right:0}.friendly-phone{max-width:100%}}
/* RC11.133 public WhatsApp + product control-panel examples */
.wa-control-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px}.wa-demo,.control-demo{border:1px solid var(--line,#dfe6ed);border-radius:18px;padding:20px;background:#fff}.wa-demo{background:#e9e4dc}.wa-demo>small,.control-demo>small{font-size:11px;font-weight:800;letter-spacing:.08em;color:#1269f3}.wa-bubble{background:#fff;padding:11px 13px;border-radius:11px;margin:12px 0;max-width:88%;box-shadow:0 1px 2px #0001}.wa-bubble.me{background:#d9fdd3;margin-left:auto}.control-demo h3{font-size:1.5rem;margin:.55rem 0}.control-demo .mini-ui{margin-top:14px}@media(max-width:760px){.wa-control-grid{grid-template-columns:1fr}}
/* RC11.137 Insights customer surface — approved mock-up */
.insights-page{max-width:1180px;margin:0 auto}.insights-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.insights-head h1{margin:.35rem 0}.insights-head .muted{max-width:760px}.insights-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.insights-metrics .card{padding:16px}.insights-metrics small{display:block}.insights-metrics strong{display:block;font-size:1.65rem;margin-top:5px}.insights-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:end;margin:28px 0 12px}.insights-toolbar h2{margin:0}.insights-filters{display:flex;gap:7px;flex-wrap:wrap}.insights-filters button{border:1px solid var(--border,#d9e2e8);background:transparent;color:inherit;border-radius:999px;padding:7px 11px;cursor:pointer}.insights-filters button.active{background:#123d59;color:#fff}.insights-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.insight-card{padding:20px}.insight-meta{display:flex;justify-content:space-between;gap:10px;font-size:.72rem}.insight-meta b{color:#149ac2}.insight-meta span{opacity:.7}.insight-card h3{margin:12px 0 8px}.insight-evidence{display:flex;gap:14px;flex-wrap:wrap;font-size:.78rem;opacity:.7;margin-top:14px}.insight-action{border-top:1px solid var(--border,#d9e2e8);padding-top:13px;margin-top:13px}.insight-action a{font-weight:700}.insight-safety{margin-top:20px;padding:15px;border:1px solid var(--border,#d9e2e8);border-radius:12px;font-size:.85rem}.empty-state{padding:24px}@media(max-width:800px){.insights-head,.insights-toolbar{display:block}.insights-head>.pill{display:inline-block;margin-top:12px}.insights-metrics{grid-template-columns:1fr}.insights-grid{grid-template-columns:1fr}.insights-filters{margin-top:12px}}
/* RC11.182 mobile containment: shared cards must never exceed the viewport. */
@media(max-width:800px){
  body,main,.page,.container{max-width:100%;overflow-x:hidden}
  .workspace-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  .workspace-hero>.button,.workspace-hero>a.button{justify-self:start!important;width:auto!important}
  .money-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;gap:10px!important}
  .money-row>.card,.money-row>.metric-card{position:static!important;transform:none!important;margin:0!important;min-width:0!important;max-width:100%!important;width:100%!important;height:auto!important;min-height:112px!important;box-sizing:border-box!important}
  .money-row>.metric-card small,.money-row>.metric-card strong,.money-row>.metric-card span{position:static!important;width:auto!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .schedule-split,.cal-toolbar,.cal-grid{max-width:100%!important}
}
@media(max-width:390px){.money-row{grid-template-columns:1fr!important}.money-row>.card,.money-row>.metric-card{min-height:96px!important}}

/* RC11.185 financial drill-down + action-control consistency */
.app-body .btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;background:var(--tink,#17322b);color:#fff!important;border:0;border-radius:11px;padding:10px 14px;text-decoration:none;cursor:pointer;font-weight:700;line-height:1.2}
.app-body .btn.secondary,.app-body .button.secondary,.app-body button.secondary{background:#e8eef3!important;color:#173044!important;-webkit-text-fill-color:#173044!important;border:1px solid #d7e1e8!important;box-shadow:none!important}
.app-body .compact-button{min-height:38px!important;padding:8px 12px!important;width:auto!important;white-space:nowrap}
.app-body .actions>form,.app-body .inline>form{width:auto;min-width:0;margin:0}.app-body .actions>form>button,.app-body .inline>form>button{width:auto}
.month-strip{display:flex;gap:10px;overflow-x:auto;padding:2px 0 14px;margin:8px 0 14px;scroll-snap-type:x proximity}.month-card{flex:0 0 160px;scroll-snap-align:start;background:#fff;border:1px solid var(--tline,#dfe8e3);border-radius:13px;padding:13px;text-decoration:none;color:inherit}.month-card small,.month-card b,.month-card span{display:block}.month-card b{font-size:19px;margin:4px 0}.month-card span{font-size:11px;color:#63766f}
@media(max-width:600px){.app-body .actions,.app-body .inline{align-items:stretch}.app-body .actions>.button,.app-body .actions>button,.app-body .actions>form,.app-body .inline>.button,.app-body .inline>button,.app-body .inline>form{flex:1 1 100%}.app-body .actions>form>button,.app-body .inline>form>button{width:100%}.app-body .compact-button{width:auto!important}.month-card{flex-basis:145px}}

/* RC11.187 Rent portfolio context */
.rent-context-filter{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap;margin:1rem 0}.rent-context-filter>div{margin-right:auto;min-width:150px}.rent-context-filter label{margin:0;min-width:170px}.rent-context-filter select{margin-top:.25rem}@media(max-width:560px){.rent-context-filter{align-items:stretch}.rent-context-filter>div,.rent-context-filter label,.rent-context-filter .button{width:100%;min-width:0}.rent-context-filter .button{text-align:center}}
/* RC11.188 — specificity + persistent Ask Teksiq */
.match-period{border-top:1px solid #e5edf5;padding:12px 0}.match-period summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer}.match-row{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid #eef3f7}.match-row small{display:block;color:#6b7c8d;margin-top:4px}.match-actions{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}.timeline-item{border-left:3px solid #dbe8f6;padding:4px 0 12px 14px;margin:10px 0}.timeline-item small{display:block;color:#6b7c8d}.help-context{padding:8px 14px;background:#eef6ff;color:#234;font-size:13px}.help-prompts{display:flex;gap:6px;padding:8px 10px;overflow:auto;border-bottom:1px solid #e5eaf0}.help-prompts button{white-space:nowrap;border:1px solid #d6e2ef;background:#fff;border-radius:999px;padding:7px 10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.help-bot{right:max(12px,env(safe-area-inset-right));bottom:calc(76px + env(safe-area-inset-bottom))}.help-panel{left:8px;right:8px;bottom:calc(70px + env(safe-area-inset-bottom));height:min(78vh,680px);border-radius:22px}.help-messages{height:calc(min(78vh,680px) - 205px)}.match-row{display:block}.match-actions{margin-top:10px}.app-main{padding-bottom:110px}}
/* RC11.189 financial visibility + mobile specificity */
.attention-summary{display:block;text-decoration:none;color:inherit}.attention-detail-list{display:flex;flex-direction:column}.attention-detail-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #e9eff4;text-decoration:none;color:var(--ink)}.attention-detail-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}.attention-detail-row small{color:var(--muted)}.attention-detail-row .attention-reason{color:#6c5360}.attention-detail-row>span{white-space:nowrap;font-weight:800;color:var(--blue)}.category-bars a{text-decoration:none;color:inherit}.category-bars span{overflow-wrap:anywhere}.category-bars b{margin-left:10px}.ask-fab{bottom:max(88px,calc(env(safe-area-inset-bottom) + 72px))!important}
@media(max-width:700px){.attention-detail-row{align-items:flex-start;flex-direction:column}.attention-detail-row>span{align-self:flex-start}.category-bars>div{grid-template-columns:minmax(0,1fr) auto}.bar-chart{overflow-x:auto}.bar-group{min-width:34px}.ask-fab{right:16px!important;max-width:calc(100vw - 32px)}}
@media(max-width:600px){.help-bot{right:max(12px,env(safe-area-inset-right));bottom:calc(96px + env(safe-area-inset-bottom))}.app-main{padding-bottom:140px}}

/* RC11.190 chart range + mobile visibility */
.chart-range{display:flex;gap:7px;flex-wrap:wrap}.chart-range .pill{text-decoration:none}.chart-range .pill.active{background:var(--blue);color:#fff}.bar-chart{overflow:hidden}.bar-group{min-width:0}.bar-group small{white-space:nowrap}.bars{min-width:0}.bar{min-width:3px}@media(max-width:700px){.bar-chart{overflow:hidden;gap:3px;padding-left:0;padding-right:0}.bar-group{min-width:0;gap:4px}.bars{gap:1px}.bar{width:42%;min-width:2px}.bar-group small{font-size:8px}.chart-legend{flex-wrap:wrap}.sectionhead{align-items:flex-start;gap:10px}.chart-range{justify-content:flex-start}}

/* RC11.191 long-list density: normal page scroll, progressive reveal, no nested vertical scroll. */
.list-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px 0 4px;color:var(--muted,#6b7c8d);font-size:13px}.list-pager button{width:auto!important}.record-row[hidden],.record-card[hidden],.ticket-message[hidden],.attention-detail-row[hidden],.timeline-item[hidden],tbody>tr[hidden]{display:none!important}
@media(max-width:600px){.list-pager{align-items:stretch}.list-pager span{flex:1 0 100%}.list-pager button{flex:1 1 auto!important}}
/* RC11.192 — form controls must remain tappable and unsquashed on auth + app screens. */
.auth.modern-t .authbox form>button,.auth.modern-t .authbox .button,.auth.modern-t .google{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 16px;line-height:1.25;white-space:normal;text-align:center}
.auth.modern-t .product-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.auth.modern-t .product-picker label{display:grid;grid-template-columns:auto 1fr;gap:5px 9px;align-items:start;min-width:0;padding:14px;border:1px solid var(--line,#dce5ec);border-radius:12px}.auth.modern-t .product-picker label input{width:auto;margin-top:3px}.auth.modern-t .product-picker label b,.auth.modern-t .product-picker label span,.auth.modern-t .product-picker label small{grid-column:2;min-width:0;overflow-wrap:anywhere}
.rent-context-filter .button,.rent-context-filter button{flex:0 0 auto!important;min-width:112px}
@media(max-width:600px){.auth.modern-t .product-picker{grid-template-columns:1fr}.auth.modern-t .authbox{width:min(94vw,620px);padding:22px 18px}.rent-context-filter .button,.rent-context-filter button{width:100%!important;min-height:46px}.help-panel form#help-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px}.help-panel form#help-form button{width:auto!important;min-width:84px!important;padding:10px 14px!important}}
/* RC11.192 — shared action controls should wrap, never collapse into unreadable pills. */
.app-body button,.app-body .button{flex-shrink:0;line-height:1.25;white-space:normal}.app-body .actions,.app-body .inline{min-width:0;flex-wrap:wrap}

/* RC11.193 — authoritative action design system + mobile collision hardening */
:root{--action-primary:#1269f3;--action-primary-hover:#0d5edc;--action-secondary-bg:#fff;--action-secondary-text:#173044;--action-secondary-border:#cfdce6;--action-neutral-bg:#eef3f7;--action-danger:#b42318;--action-danger-hover:#912018;--action-radius:12px;--action-min-h:44px}
.modern-t .app-body :is(button,.button,.btn):not(.linkbutton){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:var(--action-min-h);max-width:100%;padding:10px 15px;border-radius:var(--action-radius);border:1px solid transparent;background:var(--action-primary)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important;font:inherit;font-weight:750;line-height:1.2;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.modern-t .app-body :is(button,.button,.btn):not(.linkbutton):hover{background:var(--action-primary-hover)!important}
.modern-t .app-body :is(button,.button,.btn).secondary,.modern-t .app-body :is(button,.button,.btn).ghost{background:var(--action-secondary-bg)!important;color:var(--action-secondary-text)!important;-webkit-text-fill-color:var(--action-secondary-text)!important;border-color:var(--action-secondary-border)!important;box-shadow:none!important}
.modern-t .app-body :is(button,.button,.btn).danger{background:var(--action-danger)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--action-danger)!important}
.modern-t .app-body :is(button,.button,.btn).danger:hover{background:var(--action-danger-hover)!important}
.modern-t .app-body :is(button,.button,.btn).compact,.modern-t .app-body .compact-button{min-height:38px;padding:8px 12px;border-radius:10px}
/* Filter chips/tabs are navigation state, not primary actions. */
.modern-t .app-body .filter-chips :is(a,button),.modern-t .app-body .chart-range .pill,.modern-t .app-body .subnav a{box-shadow:none!important}
/* Action rows must own their width; child forms may never force overlap. */
.modern-t .app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions){display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0;max-width:100%}
.modern-t .app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions)>form{display:flex;flex:0 1 auto;width:auto;min-width:0;margin:0}
.modern-t .app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions)>form>button{width:auto;max-width:100%}
.modern-t .app-body .card,.modern-t .app-body .hero,.modern-t .app-body form,.modern-t .app-body label{min-width:0;max-width:100%}
.modern-t .app-body :is(input,select,textarea){max-width:100%;min-width:0}
/* Floating assistant stays clear of controls/content and never duplicates while open. */
.help-bot[open]~.ask-fab,.help-panel:not([hidden])~.ask-fab{visibility:hidden;pointer-events:none}
@media(max-width:700px){
 .modern-t .app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions){align-items:stretch}
 .modern-t .app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions)>:is(.button,.btn,button,form){flex:1 1 100%;width:100%;min-width:0}
 .modern-t .app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions)>form>button{width:100%}
 .modern-t .app-body :is(button,.button,.btn):not(.linkbutton){min-height:46px;padding:11px 14px}
 .modern-t .app-body :is(button,.button,.btn).compact,.modern-t .app-body .compact-button{width:auto;min-height:40px}
 .modern-t .app-body .rent-context-filter{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .modern-t .app-body .rent-context-filter>*{width:100%!important;min-width:0!important;margin:0!important}
 .modern-t .app-body .rent-context-filter :is(button,.button){width:100%!important}
 .ask-fab{right:max(12px,env(safe-area-inset-right))!important;bottom:calc(92px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:calc(100vw - 24px)!important}
 .app-main{padding-bottom:160px!important}
}

/* RC11.194 — CSP-safe financial charts + year-end upload */
.finance-svg-wrap{width:100%;overflow:hidden;margin-top:8px}.finance-chart{display:block;width:100%;height:auto;min-height:210px}.chart-grid{stroke:#e6edf3;stroke-width:1}.chart-axis{stroke:#cbd7e1;stroke-width:1.2}.chart-income{fill:var(--blue)}.chart-expense{fill:var(--cyan)}.chart-axis-label,.chart-month,.chart-year{fill:#738594;font-family:inherit}.chart-axis-label{font-size:10px}.chart-month{font-size:10px;font-weight:800}.chart-year{font-size:8px}.finance-chart a:hover rect{opacity:.78}.year-end-upload{display:grid;gap:12px;max-width:620px;margin:16px 0}.year-end-upload label{display:grid;gap:7px}.year-end-upload input[type=file]{width:100%;box-sizing:border-box}@media(max-width:700px){.finance-chart{min-height:180px}.year-end-upload .button{width:100%}}

/* RC11.196 — snag closure: graph legend parity, long-list UX, receipt polish */
.chart-legend .legend-income{color:var(--blue)}
.chart-legend .legend-expense{color:var(--cyan)}
.list-tools{display:flex;gap:10px;align-items:center;margin:0 0 12px;flex-wrap:wrap}
.list-tools input{min-width:min(320px,100%);flex:1}
.list-pager{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin:12px 0 4px;color:#6d7e8d;font-size:.9rem}
.rent-receipt-card{max-width:720px;margin:auto;overflow:hidden;padding:0}
.rent-receipt-head{padding:28px;background:linear-gradient(135deg,#071a2b,#123c5b);color:#fff}
.rent-receipt-head .eyebrow{color:#8bc5ff}.rent-receipt-body{padding:28px}
.rent-receipt-amount{font-size:2.2rem;font-weight:850;letter-spacing:-.03em;margin:.3rem 0 1.2rem}
@media(max-width:700px){.list-tools{align-items:stretch}.list-tools input{width:100%;min-width:0}.list-pager{justify-content:flex-start}.rent-receipt-head,.rent-receipt-body{padding:20px}.rent-receipt-card .actions{display:grid}.rent-receipt-card .actions .button,.rent-receipt-card .actions button{width:100%;box-sizing:border-box}}
/* RC11.204 — multi-brand is additive. Core Teksiq keeps the pre-JV Modern T tokens exactly.
   Brand overrides are applied only to an explicitly resolved non-core experience. */
.brand-experience .logo-mark{background:var(--brand-primary)!important;color:var(--brand-on-primary,#fff)!important}
.brand-experience.app-body :is(button,.button,.btn):not(.secondary):not(.ghost):not(.danger):not(.linkbutton),
.brand-experience.auth :is(button,.button):not(.secondary):not(.ghost):not(.linkbutton),
.brand-experience .site-main .button:not(.secondary):not(.ghost){background:var(--brand-primary)!important;color:var(--brand-on-primary,#fff)!important;-webkit-text-fill-color:var(--brand-on-primary,#fff)!important}
.brand-experience a{--link-brand:var(--brand-primary)}

/* RC11.205 LegacyBox readiness */
.progress{height:12px;background:#e8f0f7;border-radius:999px;overflow:hidden;margin:14px 0 20px}.progress>span{display:block;height:100%;background:currentColor;border-radius:999px}.mini-stat{padding:12px;border:1px solid #dbe6ef;border-radius:14px}.mini-stat small{display:block;margin-top:4px}.stack{display:grid;gap:10px;margin-top:14px}.stack label{display:grid;gap:5px}.stack input,.stack select,.stack textarea{width:100%}

/* RC11.214 — cross-screen control/rendering hardening */
.app-body .button,.app-body button,.app-body input[type='submit']{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;min-width:0;min-height:44px;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere;-webkit-tap-highlight-color:transparent}
.app-body .button.ghost,.app-body button.ghost{background:#fff;color:#24465d;border:1px solid #cad9e4}
.app-body .actions,.app-body .inline{min-width:0}.app-body .actions>*{min-width:0}
.app-body form>.button:last-child,.app-body form>button:last-child{align-self:flex-start}
.app-body .grid form>button,.app-body .grid form>.button{max-width:100%}
.app-body select,.app-body input,.app-body textarea{min-width:0}
.app-body select{overflow:hidden;text-overflow:ellipsis}
.app-body .record-row{min-width:0;overflow:hidden}.app-body .record-row>div,.app-body .record-row>form{min-width:0}
.app-body details.record-row>summary{cursor:pointer;overflow-wrap:anywhere}
.app-body .cal-grid{max-width:100%;min-width:0}.app-body .cal-day{min-width:0}.app-body .appt,.app-body .block{overflow-wrap:anywhere;word-break:normal}
.app-body .schedule-split{min-width:0}.app-body .schedule-split>*{min-width:0}
@media(max-width:700px){
 .app-body .actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.app-body .actions>.button,.app-body .actions>button,.app-body .actions>form{width:100%;max-width:100%}.app-body .actions>form button{width:100%}
 .app-body form>.button:last-child,.app-body form>button:last-child{align-self:stretch;width:100%}
 .app-body .record-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.app-body .record-row>form{width:100%!important}
 .app-body .record-row>form select,.app-body .record-row>form input,.app-body .record-row>form button{width:100%!important}
 .app-body .schedule-split{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .app-body .cal-grid.day,.app-body .cal-grid.week,.app-body .cal-grid.month{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
 .app-body .cal-grid.week,.app-body .cal-grid.month{grid-template-columns:repeat(7,minmax(132px,1fr))!important;scroll-snap-type:x proximity}.app-body .cal-grid.week>.cal-day,.app-body .cal-grid.month>.cal-day{scroll-snap-align:start}
 .app-body table input,.app-body table select{min-width:88px}.app-body table input[type='checkbox']{min-width:24px;width:24px!important}
}
@media(max-width:420px){
 .app-body .actions{grid-template-columns:1fr!important}.app-body .button,.app-body button{font-size:14px;padding:11px 12px}.app-body .card{padding:15px!important}
 .app-body .cal-grid.week,.app-body .cal-grid.month{grid-template-columns:repeat(7,minmax(118px,1fr))!important}
}
/* RC11.219 Ask Teksiq: compact chat sheet; never show a second floating Ask button while open. */
.help-bot:has(.help-panel:not([hidden]))>.help-toggle{display:none!important}
.help-panel{width:min(430px,calc(100vw - 24px));height:min(620px,76dvh)}
.help-context{font-weight:700;background:#f2f7fc}.help-prompts{padding:7px 10px}.help-prompts button{font-size:12px;padding:7px 9px}.help-answer,.help-question{font-size:14px;line-height:1.4}.help-usage-note{font-size:11px;padding-top:4px}
@media(max-width:600px){.help-panel{inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px;height:min(72dvh,620px);max-height:calc(100dvh - max(16px,env(safe-area-inset-top)));border-radius:22px}.help-head{padding:12px 14px}.help-head small{font-size:11px}.help-messages{padding:10px}.help-answer,.help-question{padding:9px 11px;margin-bottom:8px}.help-panel form#help-form{padding:8px 10px}.help-usage-note{padding:2px 12px max(8px,env(safe-area-inset-bottom))}.help-prompts{flex:0 0 auto}}

/* RC11.221 — global control spacing + legal footer lock */
.app-body :is(.card,section,article,form)>:is(button,.button,.btn,form)+:is(button,.button,.btn,form){margin-top:10px}
.app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions)>*+*{margin-top:0!important}
.app-body form>label+button,.app-body form>label+.button,.app-body form>input+button,.app-body form>input+.button,.app-body form>select+button,.app-body form>select+.button,.app-body form>textarea+button,.app-body form>textarea+.button{margin-top:4px}
.app-body .card>h2:not(:first-child),.app-body .card>.eyebrow:not(:first-child){margin-top:24px}
.legal-footer-links{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.legal-footer-links a,.public-legal-links a,.plain-legal-footer a{color:inherit;text-decoration:underline;text-underline-offset:3px}.legal-page{max-width:900px;margin:2rem auto}.legal-page h2{margin-top:28px}.legal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.plain-legal-footer{text-align:center;padding:28px;color:#71808d;font-size:12px}
@media(max-width:700px){.app-body :is(.card,section,article)>:is(button,.button,.btn,form)+:is(button,.button,.btn,form){margin-top:12px}.legal-footer-links{width:100%;gap:8px 14px}.app-footer{padding-bottom:calc(120px + env(safe-area-inset-bottom))}.legal-actions{display:grid;grid-template-columns:1fr}.legal-actions .button{width:100%}}


/* RC11.223 — hard layout invariant: independent actions never visually touch. */
:root{--control-gap:12px;--action-gap:14px;--section-gap:24px}
.app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions,.stack){gap:var(--action-gap)!important}
.app-body .card>form+:is(button,.button,.btn,form),
.app-body .card>:is(button,.button,.btn)+form,
.app-body .card>:is(button,.button,.btn)+:is(button,.button,.btn),
.app-body section>form+:is(button,.button,.btn,form),
.app-body section>:is(button,.button,.btn)+form,
.app-body section>:is(button,.button,.btn)+:is(button,.button,.btn){margin-block-start:var(--action-gap)!important}
.app-body form{gap:var(--control-gap)!important}
.app-body form>:is(button,.button,.btn){margin-block-start:2px!important}
/* Explicit action groups use gap, never margins, including wrapped mobile rows. */
.app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions)>*{margin-block-start:0!important;margin-block-end:0!important}
@media(max-width:700px){
 .app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions){gap:14px!important}
 .app-body .card>form+:is(button,.button,.btn,form),.app-body .card>:is(button,.button,.btn)+form,.app-body .card>:is(button,.button,.btn)+:is(button,.button,.btn){margin-block-start:16px!important}
}


/* RC11.226 — full UI rhythm pass: controls/actions must never collide. */
:root{--ui-field-gap:10px;--ui-action-gap:16px;--ui-section-gap:26px}
/* Common button/action containers own spacing, including wrapped rows. */
.app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions,.legal-actions,.list-tools,.list-pager,.hero-actions){gap:var(--ui-action-gap)!important;row-gap:var(--ui-action-gap)!important}
/* Independent direct actions and action-bearing wrappers always separate. */
.app-body :is(.card,section,article,.panel,.hero,.record-row) > :is(button,.button,.btn,form,.action-block) + :is(button,.button,.btn,form,.action-block){margin-block-start:var(--ui-action-gap)!important}
.app-body :is(.card,section,article,.panel,.hero,.record-row) > :is(form,.action-block):has(:is(button,.button,.btn)) + :is(form,.action-block):has(:is(button,.button,.btn)){margin-block-start:var(--ui-action-gap)!important}
/* Catch legacy one-off wrappers around controls without changing intentional segmented controls. */
.app-body :is(.card,section,article,.panel) > div:has(> :is(button,.button,.btn)) + div:has(> :is(button,.button,.btn)){margin-block-start:var(--ui-action-gap)!important}
.app-body :is(.segmented,.tabs,.filter-chips,.chart-range,.demo-tabs) > *{margin-block:0!important}
/* Form rhythm: labels/help/controls remain visually associated but never collide. */
.app-body form:not(.inline-form):not(.actions){row-gap:var(--ui-field-gap)}
.app-body form:not(.inline-form):not(.actions) > :is(button,.button,.btn){margin-block-start:6px!important}
.app-body :is(input,select,textarea) + :is(button,.button,.btn){margin-block-start:var(--ui-field-gap)!important}
/* Native file controls need breathing room from upload actions. */
.app-body input[type='file']{min-height:46px;padding:8px}
.app-body input[type='file'] + :is(button,.button,.btn){margin-block-start:var(--ui-action-gap)!important}
/* Protect page content from fixed assistant and mobile browser chrome. */
@media(max-width:700px){
 .app-main{padding-bottom:calc(176px + env(safe-area-inset-bottom))!important}
 .app-body :is(.actions,.inline,.inline-form,.match-actions,.section-actions,.page-actions,.legal-actions){gap:16px!important;row-gap:16px!important}
 .app-body :is(.card,section,article,.panel,.hero,.record-row) > :is(button,.button,.btn,form,.action-block) + :is(button,.button,.btn,form,.action-block){margin-block-start:16px!important}
 .app-body :is(.card,section,article,.panel) > div:has(> :is(button,.button,.btn)) + div:has(> :is(button,.button,.btn)){margin-block-start:16px!important}
}


/* RC11.227 — structural action-spacing closure. Containers followed by action groups must breathe. */
.app-body :is(.sectionhead,.card-head,.panel-head,.record-head,.form-section,.field-group) + :is(.actions,.inline,.section-actions,.page-actions,.legal-actions){margin-block-start:var(--ui-action-gap)!important}
.app-body :is(.actions,.inline,.section-actions,.page-actions,.legal-actions) + :is(.actions,.inline,.section-actions,.page-actions,.legal-actions){margin-block-start:var(--ui-action-gap)!important}
.app-body .assistant-entry-actions{margin-top:var(--ui-action-gap)!important}
/* Never allow an ordinary action immediately after a nested action-bearing block to visually join it. */
.app-body :is(.card,section,article,.panel) > :is(div,section,article):has(:is(button,.button,.btn)) + :is(.actions,.inline,.section-actions,.page-actions,button,.button,.btn,form){margin-block-start:var(--ui-action-gap)!important}
@media(max-width:700px){
 .app-body .assistant-entry-actions{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}
 .app-body .assistant-entry-actions>*{width:100%!important;max-width:100%!important;margin:0!important}
 .app-body :is(.sectionhead,.card-head,.panel-head,.record-head,.form-section,.field-group) + :is(.actions,.inline,.section-actions,.page-actions,.legal-actions){margin-block-start:16px!important}
}

/* RC11.231 — desktop shell: full navigation on large screens, menu only when space is constrained. */
@media(min-width:1101px){
  .app-header:not(.ops-header){display:flex!important;flex-wrap:nowrap!important;gap:14px!important;padding:10px max(20px,2.5vw)!important;min-height:72px!important}
  .app-header:not(.ops-header) .site-logo{flex:0 0 auto!important}
  .app-header:not(.ops-header) .app-menu-toggle{display:none!important}
  .app-header:not(.ops-header)>nav,.app-header:not(.ops-header)>nav.mobile-open{display:flex!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important;gap:2px!important;padding:0!important;scrollbar-width:none}
  .app-header:not(.ops-header)>nav::-webkit-scrollbar{display:none}
  .app-header:not(.ops-header)>nav a{flex:0 0 auto!important;white-space:nowrap!important;padding:8px 8px!important;font-size:12px!important;background:transparent!important;border:0!important;text-align:left!important}
  .app-header:not(.ops-header)>nav a.active{background:var(--softblue)!important;color:var(--blue)!important}
  .app-header:not(.ops-header) .logout{display:block!important;position:static!important;flex:0 0 auto!important;margin:0 0 0 4px!important;z-index:2}
  .app-header:not(.ops-header) .logout .linkbutton{display:inline-flex!important;align-items:center!important;min-height:40px!important;padding:8px 10px!important;color:#40586a!important;background:#fff!important;border:1px solid #d7e2ea!important;box-shadow:none!important}
}

/* RC11.238 — LegacyBox guided readiness */
.legacy-check{display:flex;flex-direction:column;gap:.35rem;text-decoration:none;color:inherit;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.legacy-check:hover,.legacy-check:focus-visible{transform:translateY(-2px);box-shadow:0 8px 22px rgba(9,35,58,.08);border-color:var(--accent,#1677ff);outline:none}
.legacy-check small{display:block}
.legacy-guide-list{gap:.75rem}
.legacy-guide-item{scroll-margin-top:7rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--line,#d9e4ed);border-radius:18px;background:#fff}
.legacy-guide-item p{margin:.35rem 0 0;max-width:70ch;color:var(--muted,#63778a)}
#people-setup,#records-setup,#instructions-setup{scroll-margin-top:7rem}
@media(max-width:700px){.legacy-guide-item{align-items:stretch;flex-direction:column}.legacy-guide-item .button{width:100%;text-align:center}.legacy-check-grid{grid-template-columns:1fr}}

/* RC11.239 — invited launch customer signup */
.launch-access{min-height:100vh;background:linear-gradient(145deg,#f8fbff 0%,#eef7ff 48%,#f9fcff 100%)}
.launch-shell{width:min(1180px,96vw);margin:0 auto;padding:34px 0 54px}.auth.modern-t .launch-card{width:100%;max-width:none;padding:38px;border-radius:30px}.launch-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px}.launch-top .auth-logo{margin:0}.launch-badge{border-radius:999px;background:#eef6ff;color:#0875ed;padding:9px 15px;text-transform:uppercase;letter-spacing:.12em;font-weight:850;font-size:12px}.launch-card h1{font-size:clamp(38px,5vw,68px);line-height:.98;max-width:820px;margin:8px 0 16px}.launch-card h1 span{color:#0875ed}.launch-intro{font-size:18px;max-width:780px;color:#64788b}.launch-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:30px 0 18px}.auth.modern-t .launch-plan{display:flex;width:100%;min-height:270px;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;padding:22px;border:1px solid #d9e6f1;border-radius:20px;background:#fff;color:#0c2236;box-shadow:none}.auth.modern-t .launch-plan.selected{border:2px solid #0875ed;background:linear-gradient(180deg,#f5faff,#eaf5ff);box-shadow:0 12px 30px rgba(8,117,237,.10)}.launch-plan .plan-name{font-size:22px;font-weight:900}.launch-plan small{min-height:48px;color:#667b8d;margin:5px 0 16px}.launch-plan strong{font-size:40px;line-height:1;color:#0b1f35}.launch-plan.selected strong{color:#0875ed}.launch-plan em{font-style:normal;color:#718396;margin:4px 0 18px}.launch-plan .plan-points{border-top:1px solid #e1ebf3;padding-top:15px;color:#425b6d;font-size:13px;line-height:1.45}.launch-note,.launch-contact{padding:18px 20px;border-radius:18px;background:#f2f8ff;color:#536b7d}.launch-note b,.launch-contact b{display:block;color:#0d2237;margin-bottom:3px}.invite-panel{margin-top:20px;padding:26px;border:1px solid #dce8f2;border-radius:22px}.invite-panel h2{margin:0 0 5px}.invite-panel p{margin-top:0;color:#667b8d}.auth.modern-t .invite-panel form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.auth.modern-t .invite-panel form input{margin:0;min-height:52px}.auth.modern-t .invite-panel form>button{width:auto;min-width:230px;margin:0}.launch-or{display:flex;align-items:center;gap:12px;color:#8a9aaa;text-transform:uppercase;font-size:11px;margin:16px 0}.launch-or:before,.launch-or:after{content:'';height:1px;background:#dfe8ef;flex:1}.auth.modern-t .launch-login{background:#f4f8fb;color:#10253a;border-color:#e4ebf1}.launch-contact{margin-top:20px}.launch-contact a{color:#0875ed;font-weight:800}.launch-card .plain-legal-footer{padding-bottom:0}
@media(max-width:900px){.launch-plans{grid-template-columns:repeat(2,minmax(0,1fr))}.launch-card h1{font-size:48px}}
@media(max-width:600px){.launch-shell{width:100%;padding:0}.auth.modern-t .launch-card{border-radius:0;min-height:100vh;padding:24px 18px}.launch-top{align-items:flex-start;flex-direction:column;margin-bottom:22px}.launch-badge{font-size:10px}.launch-card h1{font-size:42px}.launch-intro{font-size:16px}.launch-plans{grid-template-columns:1fr 1fr;gap:10px}.auth.modern-t .launch-plan{min-height:240px;padding:16px}.launch-plan .plan-name{font-size:19px}.launch-plan strong{font-size:32px}.launch-plan small{font-size:12px;min-height:52px}.auth.modern-t .invite-panel form{grid-template-columns:1fr}.auth.modern-t .invite-panel form>button{width:100%;min-width:0}.invite-panel{padding:18px}}
@media(max-width:390px){.launch-plans{grid-template-columns:1fr}.auth.modern-t .launch-plan{min-height:0}.launch-plan small{min-height:0}}
/* RC11.240 launch selector + contact/about */
.launch-plan{position:relative}.launch-plan .plan-radio{position:absolute;right:18px;top:18px;width:24px;height:24px;border:3px solid #cbd9e5;border-radius:50%;background:#fff}.launch-plan.selected .plan-radio{border-color:#0875ed;box-shadow:inset 0 0 0 5px #fff;background:#0875ed}.launch-plan .plan-choice{margin-top:auto;width:100%;min-height:46px;border-radius:13px;background:#f3f7fb;color:#0875ed;display:flex;align-items:center;justify-content:center;font-weight:850}.launch-plan.selected .plan-choice{background:#0875ed;color:#fff}.launch-plan:focus-visible{outline:3px solid rgba(8,117,237,.3);outline-offset:3px}
.contact-hero{max-width:900px}.contact-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.contact-option{display:flex;gap:20px;padding:30px;border:1px solid #dbe8f2;border-radius:24px;background:#fff;color:#0b2034;text-decoration:none;box-shadow:0 14px 35px rgba(15,44,68,.06);transition:transform .18s ease,border-color .18s ease}.contact-option:hover{transform:translateY(-2px);border-color:#9bcfff}.contact-option h2{font-size:clamp(20px,2.5vw,30px);overflow-wrap:anywhere;margin:4px 0 8px}.contact-option p{color:#64798c}.contact-option strong{color:#0875ed}.contact-icon{width:52px;height:52px;flex:0 0 52px;border-radius:16px;background:#edf7ff;color:#0875ed;display:grid;place-items:center;font-size:24px;font-weight:900}.about-contact{display:grid;grid-template-columns:1.15fr .85fr;gap:34px;padding:34px;border-radius:28px;background:linear-gradient(135deg,#f3f9ff,#eef7ff)}.about-contact h2{font-size:clamp(28px,4vw,46px);margin:5px 0 12px}.about-values{display:grid;gap:12px}.about-values article{background:#fff;border:1px solid #dce9f3;border-radius:17px;padding:18px}.about-values article p{margin:4px 0 0;color:#667b8d}@media(max-width:760px){.contact-options,.about-contact{grid-template-columns:1fr}.contact-option{padding:22px}.about-contact{padding:24px}.contact-option h2{font-size:20px}}
/* RC11.241 native-exclusive launch selector: the browser radio group is authoritative. */
.launch-plan{cursor:pointer}.launch-plan-input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}.launch-plan:has(.launch-plan-input:focus-visible){outline:3px solid rgba(8,117,237,.3);outline-offset:3px}.launch-plan:has(.launch-plan-input:checked){border:2px solid #0875ed;background:linear-gradient(180deg,#f5faff,#eaf5ff);box-shadow:0 12px 30px rgba(8,117,237,.10)}.launch-plan:has(.launch-plan-input:checked) .plan-radio{border-color:#0875ed;box-shadow:inset 0 0 0 5px #fff;background:#0875ed}.launch-plan:has(.launch-plan-input:checked) .plan-choice{background:#0875ed;color:#fff}


/* RC11.242 — auth/launch login contrast lock. Login links must never inherit white CTA text. */
.auth.modern-t .launch-login,
.auth.modern-t .launch-login:visited,
.auth.modern-t .authbox p.muted a,
.auth.modern-t .authbox p.muted a:visited{
  color:#10253a!important;
  -webkit-text-fill-color:#10253a!important;
  opacity:1!important;
  text-decoration:none;
}
.auth.modern-t .launch-login{background:#f4f8fb!important;border:1px solid #d7e3ec!important;}
.auth.modern-t .launch-login:hover,.auth.modern-t .launch-login:focus-visible{background:#e8f2fa!important;color:#0875ed!important;-webkit-text-fill-color:#0875ed!important;}
.auth.modern-t .authbox p.muted a:hover,.auth.modern-t .authbox p.muted a:focus-visible{color:#0875ed!important;-webkit-text-fill-color:#0875ed!important;text-decoration:underline;}
/* RC11.243 editable operational records */
.editable-record{border:1px solid var(--line,#d7e2ec);border-radius:18px;padding:.85rem 1rem;margin:.75rem 0;background:#fff}.editable-record summary{cursor:pointer;line-height:1.45}.editable-record[open] summary{margin-bottom:1rem}.edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-bottom:.8rem}.edit-grid label{min-width:0}.editable-record form+form{margin-top:.7rem}.button.danger{background:#fff;border:1px solid #b42318;color:#b42318}@media(max-width:680px){.edit-grid{grid-template-columns:1fr}.editable-record button{width:100%;margin-top:.25rem}}

/* RC11.244 launch selector: native checked radio is the ONLY visual selection authority. */
.auth.modern-t .launch-plan.selected{border:1px solid #d9e6f1;background:#fff;box-shadow:none}
.launch-plan.selected strong{color:#0b1f35}
.launch-plan.selected .plan-radio{border-color:#cbd9e5;box-shadow:none;background:#fff}
.launch-plan.selected .plan-choice{background:#f3f7fb;color:#0875ed}
.launch-plan .choice-selected{display:none}
.launch-plan .choice-unselected{display:inline}
.launch-plan:has(.launch-plan-input:checked) .choice-selected{display:inline}
.launch-plan:has(.launch-plan-input:checked) .choice-unselected{display:none}
.auth.modern-t .launch-plan:has(.launch-plan-input:checked){border:2px solid #0875ed;background:linear-gradient(180deg,#f5faff,#eaf5ff);box-shadow:0 12px 30px rgba(8,117,237,.10)}
.launch-plan:has(.launch-plan-input:checked) strong{color:#0875ed}
/* RC11.245 — correction-first UX + Legacy guided forms */
details.dashboard-row{display:block;cursor:pointer}
details.dashboard-row>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.75rem}
details.dashboard-row>summary::-webkit-details-marker{display:none}
details.dashboard-row[open]{padding-bottom:1rem}
details.dashboard-row form{margin-top:.9rem}
.mini-stat>summary{cursor:pointer;list-style:none}.mini-stat>summary::-webkit-details-marker{display:none}.mini-stat[open]{grid-column:span 2}.mini-stat[open] form{margin-top:1rem}
@media(max-width:700px){.mini-stat[open]{grid-column:span 1}}

/* RC11.249 — senior-friendly guided UX. Keep primary flows readable without changing authority. */
.start-here-card{border:2px solid #d7e8fb;background:linear-gradient(180deg,#f8fcff,#fff);padding:24px}.start-here-card h2{font-size:clamp(24px,3vw,34px);margin:.2rem 0 .45rem}.start-here-card p{font-size:17px;line-height:1.6}.guided-steps{display:grid;gap:12px;margin-top:16px}.guided-step{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;border:1px solid #d9e4ec;border-radius:16px;background:#fff;text-decoration:none;color:inherit;min-height:76px}.guided-step-number{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#eaf4ff;color:#0878ed;font-weight:800;font-size:19px}.guided-step b{display:block;font-size:18px}.guided-step small{display:block;font-size:15px;line-height:1.45;color:#607587;margin-top:3px}.guided-step .button{white-space:nowrap;margin:0}.simple-help details{border-bottom:1px solid #e3eaf0;padding:14px 0}.simple-help summary{font-size:18px;cursor:pointer;line-height:1.4}.simple-help p,.simple-help li{font-size:16px;line-height:1.65}.simple-help ol{padding-left:22px}.simple-help .tip{background:#f5f9fc;border-radius:12px;padding:12px 14px}.empty-first-step{border:2px dashed #c9dbea;background:#fbfdff}.empty-first-step h3{font-size:22px}.empty-first-step p{font-size:16px;line-height:1.55}@media(max-width:700px){.start-here-card{padding:18px}.guided-step{grid-template-columns:40px minmax(0,1fr);padding:14px}.guided-step .button{grid-column:1/-1;width:100%;text-align:center}.guided-step b{font-size:17px}}


/* RC11.252 — Friendly capability UX + human-first documents/Vault */
.friendly-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:28px 0 22px}.friendly-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.04;margin:.25rem 0 .6rem;max-width:820px}.friendly-hero p:not(.eyebrow){font-size:18px;line-height:1.55;color:#657b8e;max-width:760px}.friendly-hero>.button{flex:0 0 auto}.friendly-tabs{display:flex;gap:8px;overflow:auto;padding:8px;background:#f5f9fc;border:1px solid #e0e9f0;border-radius:16px;margin-bottom:18px}.friendly-tabs a{padding:10px 14px;border-radius:11px;text-decoration:none;color:#385267;white-space:nowrap;font-weight:750}.friendly-tabs a.active{background:#fff;color:#0878ed;box-shadow:0 2px 8px rgba(10,40,65,.06)}.attention-strip{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid #f2ddba;background:#fff9ef;border-radius:20px;margin:16px 0 22px}.attention-strip>div{margin-right:auto}.attention-strip b,.attention-strip small{display:block}.attention-strip small{color:#7b6a52;margin-top:3px}.attention-strip>a{padding:12px 14px;border-radius:12px;background:#fff;text-decoration:none;color:#183249;font-weight:750;border:1px solid #f0e2cb}.friendly-search{margin:18px 0 26px}.friendly-search form{display:flex;gap:10px}.friendly-search input{flex:1;min-height:52px;margin:0}.friendly-search button,.friendly-search .button{width:auto;margin:0;white-space:nowrap}.document-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 28px}.document-category{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:17px;border:1px solid #dce7ef;border-radius:18px;background:#fff;text-decoration:none;color:#10263a;min-height:92px;transition:.15s ease}.document-category:hover{border-color:#9dcef7;transform:translateY(-1px);box-shadow:0 8px 20px rgba(20,55,80,.06)}.document-category b,.document-category small{display:block}.document-category b{font-size:16px}.document-category small{color:#6a7f91;line-height:1.35;margin-top:4px}.document-category>strong{font-size:24px;color:#7b91a3}.doc-cat-icon,.record-file-icon,.friendly-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#edf6ff;color:#0878ed;font-size:20px;font-weight:900}.friendly-record-list{display:grid;gap:9px;margin-top:16px}.friendly-record{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;border:1px solid #e0e8ee;border-radius:16px;background:#fff;text-decoration:none;color:#10263a}.friendly-record b,.friendly-record small{display:block}.friendly-record small{color:#687e90;margin-top:4px;line-height:1.35}.record-status{font-size:13px;color:#4d6578;background:#f3f7fa;padding:8px 10px;border-radius:999px;white-space:nowrap}.record-status.warn{background:#fff3e4;color:#9a5a00}.quick-upload-card{display:grid;grid-template-columns:1fr minmax(300px,.8fr);gap:26px;align-items:center}.quick-upload-card form{margin:0}.friendly-explain{padding:18px 20px;background:#f4f9fd;border-radius:18px;margin:24px 0;color:#40596c}.friendly-explain p{margin:.3rem 0 0}.friendly-jump{margin:0 0 22px}.friendly-feature{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:15px;align-items:center;padding:18px 20px;border:1px solid #d7e5ef;border-radius:20px;background:linear-gradient(135deg,#f7fbff,#fff);text-decoration:none;color:#10263a}.friendly-feature b,.friendly-feature small{display:block}.friendly-feature b{font-size:19px}.friendly-feature small{color:#667c8e;margin-top:4px;line-height:1.4}.friendly-feature>strong{color:#0878ed}.friendly-feature .friendly-icon{width:52px;height:52px}
/* Shared capability rule: forms and records should not look like raw admin tables. */
.app-body .card>h2:first-child,.app-body .sectionhead h2{letter-spacing:-.02em}.app-body .table-wrap{border:1px solid #e1e9ef;border-radius:16px;overflow:auto}.app-body table th{background:#f6f9fb;color:#52697b;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.app-body table td{vertical-align:middle}.app-body input,.app-body select,.app-body textarea{border-radius:12px}.app-body button,.app-body .button{border-radius:12px;min-height:44px}
@media(max-width:850px){.document-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-upload-card{grid-template-columns:1fr}.friendly-hero{align-items:flex-start;flex-direction:column}.friendly-hero>.button{width:100%;text-align:center}.attention-strip{align-items:stretch;flex-direction:column}.attention-strip>div{margin-right:0}.attention-strip>a{width:100%}.friendly-search form{display:grid;grid-template-columns:1fr auto}.friendly-search input{grid-column:1/-1}.vault-category-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.document-category-grid,.vault-category-grid{grid-template-columns:1fr}.document-category{min-height:78px;padding:14px}.friendly-record{grid-template-columns:44px minmax(0,1fr)}.friendly-record .record-status{grid-column:2;justify-self:start}.friendly-search form{grid-template-columns:1fr 1fr}.friendly-search button,.friendly-search .button{width:100%}.friendly-tabs{margin-left:-4px;margin-right:-4px}.friendly-feature{grid-template-columns:48px minmax(0,1fr)}.friendly-feature>strong{grid-column:2}.friendly-hero h1{font-size:38px}}

/* RC11.257 — CSP-safe Schedule stylesheet. Inline schedule CSS was blocked by production style-src self. */
.cal-toolbar{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.cal-toolbar a,.cal-toolbar button{white-space:nowrap}.cal-grid{display:grid;gap:.7rem;margin-top:1rem}.cal-grid.week{grid-template-columns:repeat(7,minmax(150px,1fr));overflow-x:auto}.cal-grid.month{grid-template-columns:repeat(7,minmax(120px,1fr));overflow-x:auto}.cal-grid.day{grid-template-columns:minmax(260px,1fr)}.cal-day{border:1px solid var(--border,#dde5ec);border-radius:14px;padding:.7rem;min-height:180px;background:var(--card,#fff)}.cal-day.today{outline:2px solid #1269F3}.cal-date{display:flex;justify-content:space-between;margin-bottom:.5rem}.appt,.block{display:block;border-radius:10px;padding:.5rem;margin:.35rem 0;text-decoration:none;background:#f2f7ff;color:inherit;border-left:3px solid #1269F3}.block{background:#f5f5f5;border-left-color:#8b98a5}.appt.done{opacity:.78}.appt.cancelled,.appt.no_show{text-decoration:line-through;opacity:.55}.money-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:.8rem;width:100%;min-width:0;overflow:visible}.money-row>.metric-card{min-width:0!important;width:auto!important;max-width:none!important;overflow:hidden}.schedule-split{display:grid;grid-template-columns:1.6fr 1fr;gap:1rem}@media(max-width:800px){
.schedule-split{grid-template-columns:1fr}
.money-row{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:.65rem;width:100%;min-width:0}
.money-row>.metric-card{width:auto!important;min-width:0!important;max-width:none!important;min-height:118px!important;padding:16px!important;overflow:hidden}
.money-row>.metric-card small,.money-row>.metric-card strong,.money-row>.metric-card span{display:block;max-width:100%;overflow-wrap:anywhere}
.money-row>.metric-card strong{font-size:26px;line-height:1.15;margin-top:8px}
.cal-toolbar{align-items:stretch;gap:.5rem}
.cal-toolbar>b{width:100%;font-size:18px;order:-1}
.cal-toolbar>span{display:none}
.cal-toolbar>a.button{flex:1 1 auto;text-align:center;min-width:0;padding-left:12px;padding-right:12px}
.cal-toolbar>form{width:100%;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:.4rem!important}
.cal-toolbar>form input,.cal-toolbar>form select,.cal-toolbar>form button{min-width:0;width:100%;margin:0}
.cal-grid.week,.cal-grid.month{grid-template-columns:repeat(7,minmax(82vw,82vw));overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.cal-day{scroll-snap-align:start}
}
.schedule-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.schedule-tool summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}.schedule-tool summary::-webkit-details-marker{display:none}.schedule-tool summary:after{content:'Open';font-size:12px;font-weight:800;color:var(--blue);background:#eef6ff;border-radius:999px;padding:6px 10px}.schedule-tool[open] summary:after{content:'Close'}.schedule-tool .tool-help{margin:6px 0 16px;color:var(--muted)}.schedule-form{display:grid;gap:12px}.schedule-form label{display:grid;gap:6px;font-weight:700}.schedule-form label small{font-weight:400;color:var(--muted)}.schedule-form input,.schedule-form select,.schedule-form textarea{margin:0!important;width:100%}.waitlist-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.waitlist-row:first-of-type{border-top:0}.schedule-empty{padding:12px 0;color:var(--muted)}
@media(max-width:700px){.schedule-admin-grid{grid-template-columns:1fr}.schedule-tool{padding:20px!important}.schedule-form button{width:100%;min-height:50px}.waitlist-row{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.money-row{grid-template-columns:1fr 1fr}.money-row>.metric-card{min-height:108px!important;padding:14px!important}.money-row>.metric-card strong{font-size:23px}.cal-toolbar>form{grid-template-columns:1fr 1fr}.cal-toolbar>form button{grid-column:1/-1}.cal-grid.week,.cal-grid.month{grid-template-columns:repeat(7,minmax(86vw,86vw))}} 
.diary-nav{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.diary-nav .diary-title{font-family:Georgia,'Times New Roman',serif;font-size:1.15rem;margin-right:auto}.diary-page{position:relative;margin-top:1rem;border:1px solid var(--border,#dde5ec);border-radius:14px;overflow:hidden;background:repeating-linear-gradient(to bottom,#fffdf7 0,#fffdf7 43px,#dbe4e8 44px);box-shadow:0 8px 24px rgba(25,40,55,.06)}.diary-row{display:grid;grid-template-columns:72px minmax(0,1fr);min-height:44px}.diary-time{padding:12px 10px 0;text-align:right;font:700 12px/1.2 ui-monospace,monospace;color:var(--muted);border-right:2px solid #e8b4b4}.diary-slot{padding:5px 10px;min-width:0}.diary-slot .appt,.diary-slot .block{margin:0 0 4px;box-shadow:0 1px 3px rgba(0,0,0,.05)}.diary-empty{color:var(--muted);font-size:12px;padding-top:8px}.schedule-primary-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.schedule-primary-actions .button{flex:0 1 auto}@media(max-width:700px){.diary-row{grid-template-columns:54px minmax(0,1fr)}.diary-time{padding-left:4px;padding-right:7px}.diary-slot{padding-left:7px;padding-right:7px}.diary-nav .button{flex:1 1 28%;text-align:center}.diary-nav .diary-title{width:100%;order:-1}.schedule-primary-actions .button{flex:1 1 45%;text-align:center}}

/* RC11.219 — calendar visual hierarchy + labelled mobile forms */
.diary-page{border-radius:18px;background:#fff;box-shadow:0 14px 38px rgba(7,23,37,.08);border-color:#dce7ef}.diary-row{min-height:58px;border-bottom:1px solid #edf2f6}.diary-row:last-child{border-bottom:0}.diary-time{padding-top:10px;background:#f8fbfd;border-right:1px solid #dce7ef;color:#607483;font-size:11px}.diary-slot{position:relative;padding:6px 10px;background:linear-gradient(90deg,rgba(18,105,243,.018),transparent 42%)}.diary-empty{display:inline-block;color:#9aabb8;font-size:11px;padding:10px 0}.diary-slot .appt{border-left-width:4px;background:#eef6ff;border-radius:9px;padding:8px 10px}.diary-slot .block{border-left-width:4px;background:#f3f5f7}.diary-nav{position:sticky;top:0;z-index:4;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);padding:4px 0 10px}.diary-title{font-family:inherit!important;font-weight:850!important;letter-spacing:-.02em}.quick-event-card{max-width:900px}.quick-event-form{max-width:760px}.quick-event-form button{justify-self:start;min-width:180px}.schedule-form textarea{resize:vertical}.schedule-form label>small{display:inline;color:#80909d}.schedule-form label input,.schedule-form label select,.schedule-form label textarea{margin-top:2px!important}
@media(max-width:700px){.diary-page{margin-left:-8px;margin-right:-8px;border-radius:14px}.diary-row{grid-template-columns:48px minmax(0,1fr);min-height:56px}.diary-time{padding:11px 5px 0;font-size:10px}.diary-slot{padding:5px 7px}.diary-empty{padding-top:10px}.schedule-primary-actions{display:grid;grid-template-columns:1fr 1fr}.schedule-primary-actions .button{width:100%}.quick-event-form .grid.three,.quick-event-form .grid.two,#new-booking .grid.two{grid-template-columns:1fr 1fr!important}.quick-event-form .grid.three label:first-child{grid-column:1/-1}.quick-event-form button{width:100%;justify-self:stretch}.quick-event-card h2{margin-bottom:4px}}
@media(max-width:420px){.quick-event-form .grid.three,.quick-event-form .grid.two,#new-booking .grid.two{grid-template-columns:1fr!important}.quick-event-form .grid.three label:first-child{grid-column:auto}}
/* RC11.232 — desktop calendar redesign: proper calendar, not seven cards */
@media (min-width: 901px){
  .schedule-calendar-card{padding:22px 24px 26px!important;overflow:hidden}
  .cal-toolbar{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:14px;padding-bottom:16px;border-bottom:1px solid #e5edf3}
  .cal-toolbar>.cal-range{font-size:18px;font-weight:850;letter-spacing:-.02em;color:#102536}
  .cal-toolbar>.cal-view-switch{display:flex;gap:6px;justify-content:flex-end}
  .cal-toolbar>form{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(180px,240px) minmax(180px,260px) auto;gap:10px!important;justify-content:end;align-items:center;margin:0}
  .cal-toolbar>form input,.cal-toolbar>form select,.cal-toolbar>form button{margin:0!important;min-height:44px}
  .cal-toolbar>form button{width:auto!important;padding-inline:22px}
  .cal-grid.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0!important;overflow:visible;margin-top:18px;border:1px solid #dce7ef;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(7,23,37,.06)}
  .cal-grid.week .cal-day{min-width:0;min-height:520px;border:0;border-right:1px solid #e5edf3;border-radius:0;padding:0;background:#fff;overflow:hidden}
  .cal-grid.week .cal-day:last-child{border-right:0}
  .cal-grid.week .cal-day.today{outline:0;background:linear-gradient(180deg,#f1f8ff 0,#fff 120px)}
  .cal-grid.week .cal-date{position:sticky;top:0;z-index:2;display:flex;flex-direction:column;gap:3px;align-items:flex-start;margin:0;padding:14px 12px 12px;border-bottom:1px solid #e5edf3;background:rgba(250,252,254,.96);backdrop-filter:blur(8px)}
  .cal-grid.week .today .cal-date{background:#eaf4ff}
  .cal-grid.week .cal-date b{font-size:14px}.cal-grid.week .cal-date a{font-size:11px;color:#557084}
  .cal-grid.week .appt,.cal-grid.week .block{margin:8px 8px 0;padding:9px 10px;border-radius:10px;font-size:12px;line-height:1.35;box-shadow:none}
  .cal-grid.week .muted{display:block;padding:14px 12px;color:#9aabb8;font-size:12px}
  .cal-grid.month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0!important;overflow:visible;margin-top:18px;border:1px solid #dce7ef;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(7,23,37,.06)}
  .cal-grid.month .cal-day{min-width:0;min-height:150px;border:0;border-right:1px solid #e5edf3;border-bottom:1px solid #e5edf3;border-radius:0;padding:8px;background:#fff;overflow:hidden}
  .cal-grid.month .cal-day:nth-child(7n){border-right:0}.cal-grid.month .cal-day.today{outline:0;background:#f1f8ff}
  .cal-grid.month .cal-date{margin:0 0 6px;padding:2px 2px 7px;border-bottom:1px solid #eef3f6}.cal-grid.month .cal-date a{font-size:10px}
  .cal-grid.month .appt,.cal-grid.month .block{margin:5px 0;padding:6px 7px;border-radius:8px;font-size:11px;line-height:1.25;white-space:normal;overflow:hidden}
  .diary-page{max-width:none;border-radius:18px}.diary-row{grid-template-columns:84px minmax(0,1fr);min-height:64px}.diary-time{font-size:12px;padding-right:14px}.diary-slot{padding:8px 14px}.diary-slot .appt,.diary-slot .block{max-width:760px}
  .diary-nav{padding:2px 0 14px}.diary-nav .diary-title{font-size:20px!important}.schedule-primary-actions{margin:0 0 18px;justify-content:flex-start}
}


/* RC11.246 desktop containment hardening: prevent metric/card collapse from global grid rules. */
@media (min-width: 901px){
  .money-row{display:grid!important;grid-template-columns:repeat(4,minmax(180px,1fr))!important;gap:16px!important;align-items:stretch!important;width:100%!important;max-width:none!important;overflow:visible!important}
  .money-row>.metric-card{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;width:100%!important;max-width:none!important;min-height:132px!important;margin:0!important;padding:20px 22px!important}
  .money-row>.metric-card strong{font-size:30px!important;line-height:1.1!important;margin:.35rem 0!important}
  .schedule-calendar-card,.schedule-split,.schedule-admin-grid{width:100%!important;min-width:0!important}
}
/* RC11.248 — Schedule responsive layout authority. Deliberately isolated from legacy .grid/.money-row rules. */
.schedule-kpi-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 18px!important;align-items:stretch!important}
.schedule-kpi-grid>.metric-card{display:flex!important;flex-direction:column!important;justify-content:center!important;position:relative!important;float:none!important;transform:none!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:132px!important;height:auto!important;margin:0!important;padding:20px 22px!important;box-sizing:border-box!important;overflow:hidden!important}
.schedule-kpi-grid>.metric-card small,.schedule-kpi-grid>.metric-card strong,.schedule-kpi-grid>.metric-card span{position:static!important;display:block!important;width:auto!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
.schedule-kpi-grid>.metric-card strong{font-size:30px!important;line-height:1.1!important;margin:.35rem 0!important}
.schedule-calendar-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
@media (min-width:701px) and (max-width:1000px){.schedule-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:700px){.schedule-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.schedule-kpi-grid>.metric-card{min-height:112px!important;padding:16px!important}.schedule-kpi-grid>.metric-card strong{font-size:26px!important}}
@media (max-width:390px){.schedule-kpi-grid{grid-template-columns:1fr!important}.schedule-kpi-grid>.metric-card{min-height:96px!important}}

/* RC11.251 — Schedule mobile containment final authority.
   The previous pass fixed the grid but inherited older card/layout rules in production.
   This authority explicitly resets positioning/width and removes horizontal escape paths. */
@media (max-width:700px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .app-main{width:100%!important;max-width:100vw!important;overflow-x:hidden!important}
  .workspace-hero{width:100%!important;max-width:100%!important;margin:0!important;padding:12px 0 24px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  .workspace-hero>div{min-width:0!important;width:100%!important}.workspace-hero h1{font-size:42px!important;line-height:1.02!important}.workspace-hero p{max-width:100%!important}
  .schedule-kpi-grid{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 16px!important;padding:0!important;overflow:visible!important}
  .schedule-kpi-grid>a.metric-card{display:flex!important;position:static!important;inset:auto!important;float:none!important;transform:none!important;flex:0 0 auto!important;align-self:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:92px!important;margin:0!important;padding:14px 16px!important;overflow:hidden!important;box-sizing:border-box!important}
  .schedule-kpi-grid>a.metric-card small,.schedule-kpi-grid>a.metric-card strong,.schedule-kpi-grid>a.metric-card span{position:static!important;inset:auto!important;float:none!important;transform:none!important;width:auto!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;white-space:normal!important}
  .schedule-calendar-card{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:14px!important;overflow:hidden!important}
  .diary-nav{position:static!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:100%!important}
  .diary-nav .diary-title{grid-column:1/-1!important;width:100%!important;min-width:0!important;margin:0 0 4px!important;font-size:18px!important}
  .diary-nav .button{width:100%!important;min-width:0!important;max-width:100%!important;padding:11px 5px!important;margin:0!important;font-size:14px!important;white-space:normal!important;text-align:center!important}
  .schedule-primary-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:12px 0!important}
  .schedule-primary-actions .button{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:12px 6px!important;font-size:14px!important;white-space:normal!important;text-align:center!important}
  .diary-page{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;overflow:hidden!important}
}
@media (max-width:390px){.schedule-primary-actions{grid-template-columns:1fr!important}.workspace-hero h1{font-size:38px!important}}

/* RC11.250 — Mobile schedule authority: simple, single-column, no clipped controls. */
@media (max-width:700px){
  .schedule-kpi-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;overflow:visible!important}
  .schedule-kpi-grid>.metric-card{grid-column:1!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:94px!important;padding:14px 16px!important;box-sizing:border-box!important}
  .schedule-kpi-grid>.metric-card small{font-size:13px!important}
  .schedule-kpi-grid>.metric-card strong{font-size:28px!important;margin:4px 0!important}
  .schedule-kpi-grid>.metric-card span{font-size:13px!important;line-height:1.35!important}
  .schedule-calendar-card{padding:14px!important;overflow:hidden!important}
  .diary-nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;align-items:stretch!important}
  .diary-nav .diary-title{grid-column:1/-1!important;width:100%!important;font-size:18px!important;line-height:1.3!important;margin:0 0 4px!important}
  .diary-nav .button{width:100%!important;min-width:0!important;margin:0!important;text-align:center!important;padding:11px 8px!important}
  .diary-nav .button:nth-of-type(3){grid-column:1/-1!important}
  .schedule-primary-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important}
  .schedule-primary-actions .button{width:100%!important;min-width:0!important;margin:0!important;padding:12px 8px!important;text-align:center!important;white-space:normal!important}
  .diary-row{grid-template-columns:58px minmax(0,1fr)!important;min-width:0!important}
  .diary-time{padding-right:8px!important;font-size:12px!important}
  .diary-slot{min-width:0!important;padding:8px!important}
}
@media (max-width:390px){
  .schedule-primary-actions{grid-template-columns:1fr!important}
  .diary-nav{grid-template-columns:1fr!important}
  .diary-nav .diary-title,.diary-nav .button:nth-of-type(3){grid-column:1!important}
}


/* RC11.253 — Mobile Schedule rebuild. Final authority MUST remain last.
   Mobile is intentionally vertical: no chip/button rows, no horizontal KPI cards. */
@media (max-width:700px){
  .workspace-hero{display:block!important;padding:8px 0 18px!important}
  .workspace-hero h1{font-size:36px!important;line-height:1.05!important;margin:.35rem 0 .55rem!important}
  .workspace-hero p:not(.eyebrow){font-size:17px!important;line-height:1.45!important;margin-bottom:14px!important}
  .workspace-hero>.button{display:block!important;width:100%!important;max-width:none!important;text-align:center!important;margin:0!important}

  /* Summary becomes four compact vertical rows instead of dashboard cards. */
  .schedule-kpi-grid{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0 0 14px!important;padding:0!important}
  .schedule-kpi-grid>a.metric-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:2px!important;align-items:center!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:13px 14px!important;margin:0!important;border-radius:14px!important;box-sizing:border-box!important;position:static!important;transform:none!important;overflow:hidden!important}
  .schedule-kpi-grid>a.metric-card small{grid-column:1!important;grid-row:1!important;font-size:15px!important;font-weight:800!important;color:#263f54!important;margin:0!important}
  .schedule-kpi-grid>a.metric-card strong{grid-column:2!important;grid-row:1/3!important;font-size:25px!important;line-height:1!important;margin:0!important;align-self:center!important}
  .schedule-kpi-grid>a.metric-card span{grid-column:1!important;grid-row:2!important;font-size:13px!important;line-height:1.3!important;margin:0!important;color:#708697!important}

  .schedule-calendar-card{padding:12px!important;border-radius:16px!important}

  /* Date navigation: title then one control per row. Deliberately no chips. */
  .diary-nav{position:static!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;width:100%!important;padding:0 0 10px!important}
  .diary-nav .diary-title{display:block!important;width:100%!important;margin:0 0 4px!important;font-size:19px!important;line-height:1.3!important}
  .diary-nav .button{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:46px!important;padding:11px 14px!important;margin:0!important;text-align:center!important;font-size:15px!important;white-space:normal!important}

  /* Primary schedule controls also stack. */
  .schedule-primary-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;width:100%!important;margin:4px 0 14px!important}
  .schedule-primary-actions .button{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:48px!important;padding:12px 14px!important;margin:0!important;text-align:center!important;font-size:16px!important;white-space:normal!important}

  /* Diary owns the remaining width and never creates a horizontal escape. */
  .diary-page{width:100%!important;max-width:100%!important;margin:0!important;border-radius:14px!important;overflow:hidden!important}
  .diary-row{grid-template-columns:50px minmax(0,1fr)!important;width:100%!important;min-width:0!important}
  .diary-time{font-size:10px!important;padding:11px 5px 0!important}
  .diary-slot{min-width:0!important;padding:6px!important;overflow:hidden!important}
  .diary-slot .appt,.diary-slot .block{max-width:100%!important;overflow-wrap:anywhere!important}

  /* Week/month mobile controls must also be vertical; calendar days remain swipeable. */
  .cal-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;width:100%!important}
  .cal-toolbar>.button,.cal-toolbar>.cal-view-switch,.cal-toolbar>form{width:100%!important;max-width:100%!important}
  .cal-view-switch{display:flex!important;flex-direction:column!important;gap:7px!important}
  .cal-view-switch .button{width:100%!important;text-align:center!important}
  .cal-toolbar>form{display:flex!important;flex-direction:column!important;gap:7px!important}
  .cal-toolbar>form input,.cal-toolbar>form select,.cal-toolbar>form button{width:100%!important;max-width:100%!important;margin:0!important}
}



@media (max-width: 700px) {
  /* RC11.254: phone schedule is a simple agenda, not a squeezed dashboard. */
  .workspace-hero { display:block !important; padding:8px 0 14px !important; }
  .workspace-hero > .button { display:block !important; width:100% !important; box-sizing:border-box !important; margin-top:12px !important; text-align:center !important; }
  .schedule-kpi-grid { display:block !important; width:100% !important; margin:0 0 14px !important; }
  .schedule-kpi-grid > a.metric-card { display:flex !important; flex-direction:row !important; align-items:center !important; justify-content:space-between !important; width:100% !important; min-width:0 !important; min-height:0 !important; margin:0 0 8px !important; padding:12px 14px !important; border-radius:14px !important; box-sizing:border-box !important; }
  .schedule-kpi-grid > a.metric-card small { order:1 !important; font-size:15px !important; font-weight:800 !important; margin:0 !important; }
  .schedule-kpi-grid > a.metric-card strong { order:2 !important; font-size:22px !important; line-height:1 !important; margin:0 0 0 auto !important; padding-left:12px !important; }
  .schedule-kpi-grid > a.metric-card span { display:none !important; }
  .schedule-calendar-card { width:100% !important; margin:0 !important; padding:14px !important; box-sizing:border-box !important; overflow:hidden !important; }
  .diary-nav { display:flex !important; flex-direction:column !important; gap:8px !important; width:100% !important; padding:0 !important; }
  .diary-nav .diary-title { width:100% !important; margin:0 0 4px !important; font-size:18px !important; }
  .diary-nav .button { display:block !important; width:100% !important; min-width:0 !important; min-height:46px !important; margin:0 !important; padding:11px 12px !important; box-sizing:border-box !important; text-align:center !important; }
  .schedule-primary-actions { display:flex !important; flex-direction:column !important; gap:8px !important; width:100% !important; margin:12px 0 !important; }
  .schedule-primary-actions .button { display:block !important; width:100% !important; min-width:0 !important; min-height:48px !important; margin:0 !important; padding:12px !important; box-sizing:border-box !important; text-align:center !important; }
  .diary-page { width:100% !important; max-width:100% !important; margin:10px 0 0 !important; overflow:hidden !important; }
  .diary-row { grid-template-columns:48px minmax(0,1fr) !important; width:100% !important; }
  .diary-time { font-size:10px !important; padding:11px 4px 0 !important; }
  .diary-slot { min-width:0 !important; padding:6px !important; }
}


/* RC11.256 — mobile-first polished diary. One compact control surface, no dashboard-card squeeze. */
.schedule-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.schedule-topbar .schedule-day-title{margin:0;font-size:20px;font-weight:850;line-height:1.2}.schedule-add-menu{position:relative}.schedule-add-menu summary{list-style:none;cursor:pointer}.schedule-add-menu summary::-webkit-details-marker{display:none}.schedule-add-menu[open] .schedule-add-popover{display:grid}.schedule-add-popover{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:12;min-width:210px;padding:8px;background:#fff;border:1px solid var(--line,#dce7ef);border-radius:14px;box-shadow:0 16px 38px rgba(7,23,37,.16);gap:6px}.schedule-add-popover a{display:block;padding:11px 12px;border-radius:10px;text-decoration:none;font-weight:800;color:var(--ink,#071725)}.schedule-add-popover a:hover{background:#f2f7fb}.schedule-mini-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}.schedule-mini-summary a{display:flex;flex-direction:column;gap:2px;min-width:0;padding:10px 8px;border:1px solid var(--line,#dce7ef);border-radius:12px;background:#f8fbfd;text-decoration:none;color:var(--ink,#071725);text-align:center}.schedule-mini-summary b{font-size:20px;line-height:1}.schedule-mini-summary span{font-size:11px;font-weight:750;color:#6d8191;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-view-switch{display:grid;grid-template-columns:repeat(3,1fr);padding:4px;background:#edf4f9;border-radius:13px;margin:0 0 14px}.schedule-view-switch a{padding:9px 6px;border-radius:10px;text-align:center;text-decoration:none;font-weight:800;color:#5e7486}.schedule-view-switch a.active{background:#fff;color:#0877ef;box-shadow:0 2px 8px rgba(7,23,37,.08)}.schedule-date-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin:0 0 10px}.schedule-date-nav .nav-arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line,#dce7ef);border-radius:12px;background:#fff;text-decoration:none;color:var(--ink,#071725);font-size:22px;font-weight:800}.schedule-date-nav .date-center{text-align:center}.schedule-date-nav .date-center b{display:block;font-size:17px}.schedule-date-nav .date-center a{font-size:12px;color:#0877ef;text-decoration:none;font-weight:800}.schedule-calendar-card{width:100%;max-width:100%;box-sizing:border-box;overflow:visible}.schedule-desktop-summary{display:none}.diary-page{width:100%;max-width:100%;margin:0;border-radius:14px;overflow:hidden}.diary-row{grid-template-columns:52px minmax(0,1fr);min-height:58px}.diary-time{font-size:10px;padding:11px 5px 0}.diary-slot{min-width:0;padding:6px 8px}.diary-slot .appt,.diary-slot .block{max-width:100%;overflow-wrap:anywhere}.schedule-reports-mobile{display:inline-flex;margin-top:10px;font-size:13px;font-weight:800;text-decoration:none;color:#0877ef}.workspace-hero>.button{display:none!important}
@media(min-width:901px){.schedule-topbar,.schedule-mini-summary,.schedule-view-switch,.schedule-date-nav,.schedule-reports-mobile{display:none!important}.schedule-desktop-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}.schedule-desktop-summary a{display:flex;flex-direction:column;justify-content:center;min-height:88px;padding:14px 16px;border:1px solid var(--line,#dce7ef);border-radius:14px;background:#fff;color:var(--ink,#071725);text-decoration:none}.schedule-desktop-summary span{font-weight:800}.schedule-desktop-summary b{font-size:22px}.workspace-hero>.button{display:inline-flex!important}.schedule-calendar-card{padding:22px 24px 26px}.diary-page{border-radius:18px}.diary-row{grid-template-columns:84px minmax(0,1fr);min-height:64px}.diary-time{font-size:12px;padding-right:14px}.diary-slot{padding:8px 14px}}
@media(max-width:700px){.workspace-hero{padding:4px 0 10px!important}.workspace-hero h1{font-size:34px!important;margin:.25rem 0 .35rem!important}.workspace-hero p:not(.eyebrow){font-size:16px!important;line-height:1.4!important;margin-bottom:4px!important}.schedule-calendar-card{padding:12px!important;border-radius:18px!important}.diary-page{margin:0!important}.ask-teksiq-fab,.assistant-fab{max-width:132px!important}}

