/* Hub 2.0.1 beta — local-time adaptive workspace */
:root{--hub-accent:#087c94;--hub-soft:#e3f3f7;--hub-backdrop:#eef4f8;--scene-ink:#79ddf1;--scene-surface:#0e293b;--scene-glow:#17667d;--scene-shift:8px;--scene-sky:#102d42}
:root[data-day-period=noon]{--hub-accent:#1767b2;--hub-soft:#e5effc;--hub-backdrop:#eff4fa;--scene-ink:#7cbfff;--scene-surface:#102d51;--scene-glow:#245c9a;--scene-shift:-9px;--scene-sky:#122d4d}
:root[data-day-period=afternoon]{--hub-accent:#7651a0;--hub-soft:#f0eafa;--hub-backdrop:#f4f1f8;--scene-ink:#f5b895;--scene-surface:#352341;--scene-glow:#885760;--scene-shift:14px;--scene-sky:#332443}
:root[data-day-period=night]{--hub-accent:#5266b4;--hub-soft:#e9ecfa;--hub-backdrop:#edf0f7;--scene-ink:#b4b9ff;--scene-surface:#151c3a;--scene-glow:#434678;--scene-shift:0px;--scene-sky:#131d34}
html{background:var(--hub-backdrop)}body{background:radial-gradient(ellipse at 85% 0,var(--hub-soft),transparent 50%),var(--hub-backdrop);min-height:100dvh;color:#1a2b40}a,summary{color:var(--hub-accent)}button,.button{background:var(--hub-accent)}button:hover,.button:hover{filter:brightness(.94)}input:focus,select:focus,textarea:focus{outline-color:var(--hub-accent)}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--hub-accent);outline-offset:3px}button.danger{background:#b83d35}.ghost,.button.ghost{background:#eaf0f5;color:#43566d}
aside{background:#101e30;border-color:#243348;padding:28px 18px;color:#c5d3e3}.brand{color:#73cee7}.brand span{color:inherit;font-weight:700}aside .brand{padding:0 10px;color:#e4eefb}aside .brand:first-letter{color:#73cee7}aside .eyebrow{color:#7f93ac;padding-left:12px;font-size:9px}aside nav{gap:4px}aside nav a{color:#9fb1c8;border:1px solid transparent;font-size:12px;padding:10px 12px}aside nav a:hover{background:#192e45;color:#fff}aside nav a.selected{background:#1a344c;color:#9fe5f7;border-color:#31556c;box-shadow:inset 3px 0 #78d3ea}aside .identity{border-color:#2a394e;padding:18px 10px 0}aside .identity small{color:#92a5bc}aside .ghost{background:#22354b;color:#ccdaea}aside::-webkit-scrollbar-thumb{background:#3b5068}.workspace{max-width:1800px;padding:30px 32px}header .eyebrow{color:var(--hub-accent);font-size:9px;letter-spacing:2px}header h1{font-size:28px;font-weight:700;letter-spacing:-.8px}header .date{background:#ffffffb3;border-color:#d6e0eb;font-variant-numeric:tabular-nums}.workspace>section{border-color:#dce4ef;box-shadow:0 3px 14px #19375204;border-radius:12px}h2{font-size:16px}th{background:#eef3f8;color:#52667e;font-size:10px;letter-spacing:.04em}td{border-color:#e6edf4}.record:nth-of-type(even),.upcoming-task:nth-of-type(even){background:#f4f7fb}.tabs .selected{background:var(--hub-soft);color:var(--hub-accent)}.presence-bar{top:0;background:#132136;border-color:#24344a;border-radius:0 0 7px 7px;box-shadow:0 4px 12px #1020310a}.presence-bar>a{color:#afbed1}.stats{gap:12px}.stats article{border-radius:10px;padding:20px;border-color:#dce4ef;position:relative;overflow:hidden}.stats article:before{content:'';position:absolute;left:18px;top:0;width:28px;height:3px;background:currentColor;opacity:.35;border-radius:0 0 4px 4px}.stats strong{font-variant-numeric:tabular-nums;font-size:30px}.stats small{font-size:11px;line-height:1.65}.workspace>footer{border-top:1px solid #d6e0eb;padding-top:18px}.login{width:min(1000px,calc(100% - 40px));padding:36px 40px;margin:5vh auto;display:grid;grid-template-columns:1.1fr 1fr;column-gap:48px;border-radius:18px;box-shadow:0 24px 80px #1a3c5c10}.login>.brand,.login>.eyebrow,.login>h1,.login>.muted,.login>form,.login>.notice{grid-column:2}.login>.brand{color:#172b45}.login>.eyebrow{font-size:9px}.login h1{font-size:28px}.login form{margin:14px 0}.login>.muted.small{margin-top:0}
.day-scene{display:flex;position:relative;isolation:isolate;align-items:center;min-height:190px;border-radius:12px;overflow:hidden;padding:25px 30px;margin:20px 0 28px;background:radial-gradient(ellipse at 85% 20%,var(--scene-glow),transparent 65%),var(--scene-sky);color:#ecf3fc;border:1px solid #ffffff1a}.day-scene:before{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:26px 26px;mask-image:linear-gradient(90deg,transparent,#000)}.scene-copy{position:relative;z-index:1;max-width:65%}.scene-kicker{font-size:9px;letter-spacing:2px;color:var(--scene-ink);font-weight:600}.scene-copy h2{font-size:23px;line-height:1.4;margin:12px 0 8px;letter-spacing:-.5px}.scene-copy p{color:#bac9dc;font-size:12px;margin:0}.scene-meta{display:flex;align-items:center;gap:9px;margin-top:20px;font-size:10px;color:#b9cbe2;font-variant-numeric:tabular-nums}.scene-indicator{width:5px;height:5px;background:var(--scene-ink);border-radius:50%;box-shadow:0 0 10px var(--scene-ink)}.scene-divider{opacity:.35}.scene-art{position:absolute;right:0;top:0;bottom:0;width:48%;color:var(--scene-ink);opacity:.95;display:flex;align-items:center}.scene-art svg{width:100%;max-height:230px;overflow:visible}.scene-celestial{transform:translateY(var(--scene-shift));transition:transform 1.5s ease}.scene-moon,.scene-stars{opacity:0}.scene-stars{transition:opacity 1.5s}.scene-sun{opacity:1}[data-day-period=night] .scene-moon{opacity:1}[data-day-period=night] .scene-stars{opacity:.8}[data-day-period=night] .scene-sun{opacity:0}.scene-halo{transform-origin:280px 105px;animation:hub-breathe 7s ease-in-out infinite}.day-scene-welcome{grid-column:1;grid-row:1/9;margin:0 -12px 0 -4px;min-height:490px;align-items:flex-start;padding:32px 26px}.day-scene-welcome .scene-copy{max-width:100%}.day-scene-welcome .scene-copy h2{font-size:28px;margin-top:20px}.day-scene-welcome .scene-art{width:120%;height:240px;top:auto;bottom:18px;right:-10%}.day-scene-welcome .scene-kicker{font-size:8px}.day-scene-welcome .scene-copy p{max-width:260px}.day-scene-welcome .scene-meta{margin-top:20px}@keyframes hub-breathe{50%{transform:scale(1.18);opacity:.14}}
@media(min-width:721px){.workspace:not(:has(>.day-scene)) header{margin-top:8px}}@media(max-width:1100px){.workspace{padding:24px 22px}.scene-copy h2{font-size:20px}.scene-art{width:43%}.login{column-gap:28px;padding:28px}}@media(max-width:720px){.workspace{padding:18px 14px}.day-scene{padding:22px 18px;min-height:175px;margin-top:16px}.scene-copy{max-width:76%}.scene-copy h2{font-size:18px;max-width:240px}.scene-copy p{font-size:11px;max-width:210px}.scene-art{width:65%;right:-22%;opacity:.5}.scene-kicker{font-size:8px;letter-spacing:1.3px}.scene-meta{margin-top:14px}.stats strong{font-size:28px}.mobile-topbar{background:#101e30;border-color:#29394e}.mobile-topbar>a{color:#e1edf9}.mobile-topbar .menu-toggle{background:#24394e;color:#d8effa}.js #app-sidebar .menu-close{background:#26394e;color:#d2e2f4}.login{display:block;width:calc(100% - 28px);padding:20px;margin:14px auto}.login>.brand{margin:24px 0 0}.day-scene-welcome{min-height:210px;margin:0;padding:24px 20px}.day-scene-welcome .scene-copy{max-width:75%}.day-scene-welcome .scene-copy h2{font-size:22px;margin-top:12px}.day-scene-welcome .scene-art{width:75%;height:180px;right:-25%;bottom:0;opacity:.45}header h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.scene-halo{animation:none}.scene-celestial,.scene-stars{transition:none}}
@media print{.day-scene{display:none}html,body{background:white}}
.workspace>section{margin:18px 0}.empty{padding:26px 20px}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}@media(min-width:1350px){.stats{grid-template-columns:repeat(6,minmax(0,1fr))}.stats article{padding:20px 16px}.stats strong{font-size:27px}}@media(max-width:1000px) and (min-width:721px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.stats{grid-template-columns:1fr}}
.menu-backdrop,.menu-backdrop:hover{background:rgba(5,14,28,.58);filter:none}
button:hover,.button:hover{background:var(--hub-accent)}.ghost:hover,.button.ghost:hover{background:#dce5ee}.danger:hover{background:#932e28}.menu-backdrop:hover{background:rgba(5,14,28,.58)}
@media(min-width:1101px){.stats:not(.four-stats){grid-template-columns:repeat(4,minmax(0,1fr))}}
/* 2.0.2 — persistent controls and section motion */
.presence-bar{position:sticky;top:0;z-index:60;align-items:center;margin-top:-8px;isolation:isolate}.presence-bar .connection-quality{margin-left:auto}.day-switch{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:auto;color:#aabbd0;font-size:10px}.day-switch select{width:auto;max-width:140px;min-height:30px;padding:5px 24px 5px 9px;font-size:11px;border:1px solid #3a4c65;border-radius:5px;background:#1e3048;color:#e1edfc;cursor:pointer}.day-switch>span{font-weight:400}.scene-orbit{transform-origin:280px 105px;animation:hub-orbit 60s linear infinite}.section-symbol{animation:hub-symbol 5s ease-in-out infinite}.day-scene:not([data-section=overview]):not(.day-scene-welcome){min-height:145px;padding-top:20px;padding-bottom:20px}.day-scene:not([data-section=overview]) .scene-celestial{opacity:.3}.day-scene-welcome .scene-celestial{opacity:1!important}.day-scene:not([data-section=overview]) .scene-copy h2{font-size:23px}.cost-summary{display:flex;flex-direction:column;gap:10px;padding:18px 20px;margin:16px 0 22px;background:var(--hub-soft);border:1px solid #dbe4f0;border-radius:9px}.cost-summary>span{font-size:11px;color:#63758c}.cost-summary>strong{font-size:18px}.cost-summary>small{font-size:11px;color:#63758c}.access-panel{padding:22px 0 0;border-top:1px solid #dfe7ef;margin-top:24px}.upgrade-memo textarea{line-height:1.8;font-size:14px;min-height:280px}.upgrade-memo button,.access-panel button{margin-top:14px}.stats article[data-stat=services]{background:#e5f0ff;border-color:#ccdcf3;color:#193552}.stats article[data-stat=services] span,.stats article[data-stat=services] small{color:#3c5677}html{scroll-padding-top:120px}.expired-services a{font-weight:600}.client-actions .badge{white-space:nowrap}@keyframes hub-orbit{to{transform:rotate(360deg)}}@keyframes hub-symbol{50%{transform:translateY(-4px)}}
@media(max-width:720px){.presence-bar{top:58px;padding:8px 10px;gap:8px;margin-top:0}.day-switch{margin-left:auto}.day-switch>span{display:none}.day-switch select{max-width:115px;font-size:10px;min-height:32px}.presence-bar .connection-quality{width:auto;max-width:100%;flex:1 1 150px;gap:6px;margin-left:0}.connection-quality [data-quality-label]{margin-left:auto}.quality-context{display:none}.presence-bar>a{font-size:10px}.day-scene:not([data-section=overview]):not(.day-scene-welcome){min-height:140px;padding:20px 16px}.day-scene:not([data-section=overview]) .scene-copy h2{font-size:20px}.cost-summary{padding:16px}.cost-summary>strong{font-size:15px}html{scroll-padding-top:190px}}
@media(prefers-reduced-motion:reduce){.scene-orbit,.section-symbol{animation:none}}
.email-process-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr);align-items:center;gap:22px!important;padding:18px!important}.email-process-info h3{line-height:1.5}.email-process-info p{margin:7px 0 12px}.email-process-test{display:grid;grid-template-columns:1fr;gap:10px}.email-process-test button{justify-self:start}.email-process-test input{min-width:0}.email-process-info .check-label{font-size:11px}@media(max-width:720px){.email-process-row{grid-template-columns:1fr;gap:14px!important}.email-process-test button{width:100%}}
/* 2.0.4 — documents, branding, shop and compact navigation */
[hidden]{display:none!important}.header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.nav-icon{width:18px;min-width:18px;text-align:center;display:inline-block;opacity:.8;font-size:15px}aside nav a{display:flex;align-items:center;gap:10px}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.app-footer>span:last-child{margin-left:auto;text-align:right}.app-footer a{font-weight:600}.item-image{display:block;width:72px;height:72px;object-fit:contain;border-radius:10px;background:#edf3f8;flex-shrink:0}.image-placeholder{display:grid;place-items:center;font-size:28px;color:#58869b}.business-logo{display:block;max-width:220px;max-height:160px;object-fit:contain;margin:20px 0}.catalog-gallery>.compact-entry{padding:18px!important;border-radius:12px}.catalog-gallery summary h3{flex:1}.catalog-gallery .item-image{width:84px;height:84px}.package-group .item-image{width:64px;height:64px}.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.product-card{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid #dce5ef;border-radius:13px;background:linear-gradient(145deg,#fff,#f5f8fc)}.product-card .item-image{width:110px;height:110px;margin-bottom:4px}.product-card p{margin:0}.product-card form{margin-top:auto;padding-top:14px}.product-card .eyebrow{margin-top:0}.product-card small{font-size:11px;color:#75879a}.offer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:20px 0}.offer-choice{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #dbe5ee;border-radius:10px}.offer-choice>span{flex:1}.offer-choice small{display:block;font-weight:400;color:#718297;margin-top:5px}.offer-choice>input{width:auto}.offer-choice .item-image{width:48px;height:48px}.pdf-viewer{display:block;width:100%;height:75vh;border:1px solid #d8e4ef;border-radius:9px}.mail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mail-actions .ghost{margin:0}#email-preview-dialog{border:0;border-radius:12px;padding:14px;width:min(900px,95vw);height:88vh;background:#eef3f8;box-shadow:0 20px 80px #10223966}#email-preview-dialog::backdrop{background:#071425b3}#email-preview-dialog>button{display:block;margin-left:auto;margin-bottom:10px}#email-preview-dialog iframe{width:100%;height:calc(100% - 58px);border:0;border-radius:8px}.finance-summary{display:flex;gap:20px}section form>button{margin-top:10px}
@media(max-width:720px){body.signed-in{padding-top:var(--presence-height,76px)}.signed-in .presence-bar{position:fixed;top:0;left:0;right:0;margin:0;border-radius:0;z-index:70}.signed-in .mobile-topbar{top:var(--presence-height,76px);z-index:65}.header-actions{gap:8px}.header-actions button{font-size:12px;padding:10px 12px}.app-footer{flex-wrap:wrap;font-size:10px}.product-grid{grid-template-columns:1fr}.offer-grid{grid-template-columns:1fr}.mail-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.mail-actions .button,.mail-actions button{width:100%;padding:9px;font-size:11px}.catalog-gallery .item-image{width:58px;height:58px}html{scroll-padding-top:calc(var(--presence-height,76px) + 85px)}}
.catalog-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr)));gap:16px}.catalog-gallery>h2{grid-column:1/-1}.catalog-gallery>.compact-entry{margin:0!important;align-self:start}.catalog-gallery .section-title{flex-wrap:wrap}.catalog-gallery .grid-form,.package-group .grid-form{grid-template-columns:repeat(2,minmax(0,1fr))}.package-group[open]{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr)));gap:14px}.package-group>summary{grid-column:1/-1}.package-group .compact-entry{margin:0!important;align-self:start}@media(max-width:720px){.catalog-gallery,.package-group[open]{grid-template-columns:1fr}.catalog-gallery .grid-form,.package-group .grid-form{grid-template-columns:1fr}}
/* 2.0.5 — compact management workspaces and responsive overview windows */
.workspace,.workspace section,.workspace article,.section-title>div{min-width:0}.workspace .tabs{max-width:100%;flex-wrap:wrap}.workspace .tabs a{min-width:0;overflow-wrap:anywhere}.overview-windows,.obligation-windows{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.overview-windows a,.obligation-windows a{text-align:center;padding:9px 6px!important;font-size:12px}.upcoming-task>div{min-width:0}.upcoming-task>a{flex-shrink:0}.upcoming-task strong,.upcoming-task p{overflow-wrap:anywhere}.private-note{border-left:3px solid var(--accent,#7b56a7)}.cash-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cash-card{padding:20px;border:1px solid #dde5ec;border-radius:12px;background:var(--surface,#f7f9fc)}.cash-card>strong{font-size:26px}.capital-panel h2{font-size:34px;margin:5px 0}.capital-chart{width:100%;margin-top:16px}.capital-chart svg{width:100%;max-height:250px;display:block}.chart-axis{stroke:#c5d1df;stroke-width:1}.chart-line{fill:none;stroke:#328d95;stroke-width:3}.chart-dot{fill:#328d95;stroke:#fff;stroke-width:2}.capital-chart text{fill:#67778d;font-size:12px}.capital-months{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}.capital-months span{display:flex;flex-direction:column;padding:9px;background:#f1f5fa;border-radius:7px}.asset-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-heading{text-align:center;font-size:12px;font-weight:700;padding:7px}.asset-calendar-day{border:1px solid #dce4ed;border-radius:8px;min-height:92px;padding:8px;background:#fafbfd}.asset-calendar-day.today{border-color:#378d96;background:#edf9f8}.calendar-event{display:block;margin-top:7px;font-size:11px;overflow-wrap:anywhere;padding:5px;background:#eef0fa;border-radius:5px}.calendar-event span,.calendar-event small{display:block}.calendar-event.done{background:#e1f4e7}.calendar-agenda .list-row{display:flex;gap:12px;flex-wrap:wrap;padding:12px;border-bottom:1px solid #e0e7ef}.calendar-agenda{margin-top:16px}.header-actions{flex-wrap:wrap}.note-content{overflow-wrap:anywhere}
@media(max-width:900px){.cash-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-calendar-day{padding:5px;min-height:65px}.calendar-event{font-size:10px}.capital-months{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.overview-windows,.obligation-windows{grid-template-columns:repeat(2,minmax(0,1fr))!important}.overview-windows a:last-child,.obligation-windows a:last-child{grid-column:1/-1}.cash-grid{grid-template-columns:1fr}.capital-panel h2{font-size:28px}.capital-panel .section-title{align-items:flex-start;gap:12px}.capital-months{grid-template-columns:repeat(2,1fr)}.upcoming-task{flex-wrap:wrap;gap:10px}.upcoming-task>div{flex:1 1 100%}.upcoming-task>a,.upcoming-task>form{margin-left:0}.asset-calendar{display:none}.calendar-agenda{margin-top:0}.workspace .tabs a{padding:9px 11px;font-size:12px}.pdf-viewer{min-height:500px}}
.floating-notes{position:fixed;right:15px;bottom:24px;z-index:65;width:42px;height:42px;padding:0;border-radius:50%;background:#233d52dd;color:#fff;box-shadow:0 3px 12px #12253d22;font-size:22px}.floating-notes:hover{background:#327e8d}.hub-dialog{border:1px solid #dce4ef;border-radius:15px;width:min(760px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:20px;color:#21344c;background:#f8fafd}.hub-dialog::backdrop{background:#0d1c31aa}.hub-dialog iframe{display:block;width:100%;height:60dvh;border:0;background:white}.appointment-popup{max-width:100%;margin:0;padding:22px}.appointment-popup dl{display:grid;grid-template-columns:1fr 2fr;gap:10px}.sa-preview-form{display:flex;align-items:end;gap:6px}.sa-preview-form label,.day-switch{font-size:11px}.sa-preview-form select{max-width:180px}.presence-bar{flex-wrap:wrap;gap:8px}.hub-dialog section{margin:12px 0}.financial-stats{margin:20px 0}.day-scene .scene-art{--person-tint:#93c5fd}html[data-gender=female] .day-scene{--scene-person:#be9ee8}html[data-gender=male] .day-scene{--scene-person:#79bbde}html[data-gender=other] .day-scene{--scene-person:#86cbb8}.day-scene .scene-orbit{stroke:var(--scene-person,currentColor)}.day-scene .scene-halo{fill:var(--scene-person,currentColor)}html[data-gender=female] .scene-orbit{stroke-dasharray:8 4}html[data-gender=male] .scene-orbit{stroke-dasharray:2 6}html[data-gender=other] .scene-orbit{stroke-dasharray:1 5 7 5}@media(max-width:600px){.sa-preview-form{width:100%;justify-content:flex-end}.sa-preview-form select{max-width:160px}.hub-dialog{padding:12px}.floating-notes{width:36px;height:36px;right:9px;bottom:14px}}
html[data-gender] .day-scene .scene-art{color:var(--scene-person)}
.sa-demo-link{font-size:11px;color:inherit;padding:6px 8px;border:1px solid #ffffff22;border-radius:6px;text-decoration:none;white-space:nowrap}.task-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.task-actions form{margin:0}.task-actions .button,.task-actions button{margin:0;white-space:nowrap}.pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0}.time-actions{display:flex;gap:8px;flex-wrap:wrap}.time-free{padding:10px 14px;background:#e6f5ee;border-left:3px solid #3b9a75;border-radius:6px}.time-actions button{margin:0}.customer-lookup{min-width:0}.capital-total{font-size:26px;font-weight:700}@media(max-width:600px){.task-actions{flex:1 1 100%;justify-content:flex-start;flex-wrap:wrap}.sa-demo-link{margin-left:auto}.time-actions{width:100%}}
/* 2.0.8: stronger section tabs and compact mobile tasks */
.workspace .tabs{gap:8px}.workspace .tabs a{background:#dbe5fa;color:#284783;border:1px solid #afc3eb;font-weight:700;box-shadow:0 1px 2px #29467d12}.workspace .tabs a:nth-child(3n+2){background:#d7eee9;color:#205d59;border-color:#a4d5c9}.workspace .tabs a:nth-child(3n){background:#eee1fa;color:#644184;border-color:#d3b6e9}.workspace .tabs a.selected{background:#3359a7;color:#fff;border-color:#284888;box-shadow:0 3px 9px #24477f26}.workspace .tabs a:nth-child(3n+2).selected{background:#277b70;border-color:#21695e}.workspace .tabs a:nth-child(3n).selected{background:#79509e;border-color:#664184}.capital-collapse{padding:0;border:1px solid #d8e1ee;border-radius:13px;background:#fff;margin:20px 0}.capital-collapse>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:20px 24px;font-size:21px;font-weight:700;color:#244e70;cursor:pointer}.capital-collapse>summary::-webkit-details-marker{display:none}.capital-chevron{font-size:25px;transition:transform .2s}.capital-collapse[open]>summary .capital-chevron{transform:rotate(180deg)}.capital-collapse .capital-panel{margin:0;border:0;box-shadow:none}.weekday-picks{display:flex;gap:12px;flex-wrap:wrap}.weekday-picks legend{font-weight:700}.recommendation-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 2px 16px;overscroll-behavior-x:contain}.recommendation-card{flex:0 0 245px;min-height:245px;display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid #c5d7ed;border-radius:13px;background:linear-gradient(135deg,#edf5ff,#f8f4ff);scroll-snap-align:start}.recommendation-card .item-image{width:52px;height:52px}.recommendation-card h3{margin:0}.recommendation-card form{margin-top:auto}.recommendation-card .price-pair{display:flex;flex-direction:column;gap:3px}.carousel-controls{display:flex;gap:5px}.carousel-controls button{margin:0;padding:6px 12px}.secret-value{font-family:monospace;font-size:12px}.settings-tabs{flex-wrap:wrap}.settings-tabs a{overflow-wrap:anywhere}.appointment-money{margin:12px 0;padding:12px;background:#eaf3fb;border-radius:8px}.appointment-money p{margin:5px 0}.hub-dialog .tabs{max-width:100%}
@media(max-width:600px){.upcoming-task.list-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}.upcoming-task .task-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:stretch;width:100%}.task-actions>a,.task-actions>form{flex:1 1 130px;margin:0}.task-actions>form button{width:100%;min-height:40px}.task-actions>a{display:flex;justify-content:center;align-items:center;min-height:40px;white-space:normal;text-align:center}.upcoming-task .note-content{margin-bottom:0;line-height:1.5}.capital-collapse>summary{padding:16px;font-size:19px}.recommendation-card{flex-basis:220px;min-height:240px}.recommended-offers .section-title{align-items:center;gap:10px}.recommended-offers h2{font-size:19px}.settings-tabs a{font-size:12px;padding:10px}.header-actions{gap:8px}.appointment-money{padding:10px}}

/* 2.0.9: aligned actions, client groups, period analysis */
.header-actions{align-items:center}.header-actions .button-dark,button.button-dark{background:#1e344d;color:#eef8ff;border:1px solid #304d6b;box-shadow:0 2px 5px #14233822}.header-actions .button,.header-actions button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;margin:0}.service-group{border-left:4px solid #4269ac}.group-settings{margin:14px 0}.group-settings form{padding:12px 0}.period-navigation{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.cash-card summary{list-style:none;cursor:pointer}.cash-sparkline{width:100%;height:52px;display:block;margin:12px 0}.cash-card details[open]>summary{border-bottom:1px solid #d6e1ed;margin-bottom:12px}.cash-detail-rows{max-height:330px;overflow:auto}.cash-detail-row{padding:10px 0;border-bottom:1px solid #e1e8f2;display:grid;gap:4px}.mail-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:18px}.mail-layout nav{margin-top:0}.mail-folders a{overflow-wrap:anywhere}.mail-row{display:block;padding:14px;border-bottom:1px solid #d6dfec;background:#f7faff;color:#233c59}.mail-row:nth-child(even){background:#edf3fa}.mail-row.unseen{border-left:4px solid #3769be;font-weight:700}.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65}.mail-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.mail-toolbar form{margin:0}.webmail-accounts{display:flex;gap:8px;flex-wrap:wrap}.webmail-accounts a{border:1px solid #b9cbe2;border-radius:8px;padding:10px;background:#e9f1fb}.webmail-accounts a.selected{background:#254d7c;color:#fff}.mail-settings{margin:16px 0}.rental-totals{display:flex;gap:12px;flex-wrap:wrap}.rental-totals>div{padding:14px;background:#e9f2fa;border:1px solid #c8daea;border-radius:10px;display:grid;gap:6px}@media(max-width:720px){.mail-layout{grid-template-columns:1fr}.mail-folders{display:flex;overflow:auto;gap:8px;max-width:100%}.mail-folders a{white-space:nowrap}.cash-grid{grid-template-columns:1fr}.period-navigation label{flex:1 1 130px}.header-actions{width:100%}.header-actions .button,.header-actions button{flex:1 1 140px}}

/* 2.0.10 mail providers */
.mail-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mail-provider-card{background:#edf3fa;border:1px solid #c9d8e9;padding:18px;border-radius:12px;min-width:0}.mail-provider-card h3{margin:0 0 12px}.mail-provider-card form{margin:0}.mail-provider-button{width:100%;margin-top:14px}.provider-microsoft{background:#205f97}.provider-google{background:#3159a7}.provider-yahoo{background:#6135a3}.mail-provider-button:disabled{opacity:.55;cursor:not-allowed}.mail-app-password{margin-top:18px;padding:14px;border:1px solid #d3deec;border-radius:9px}.mail-app-password[open]>summary{margin-bottom:14px}.mail-provider-section code{overflow-wrap:anywhere}@media(max-width:850px){.mail-provider-grid{grid-template-columns:1fr}.mail-provider-card{padding:14px}}

.mail-oauth-settings code{overflow-wrap:anywhere;word-break:break-word}.mail-oauth-settings label{min-width:0}.mail-oauth-settings input{min-width:0;max-width:100%}
