/* HostPilot application layer. Shared colors and components come from the approved V4 panel. */
:root{font-size:15px}body{font-size:15px;line-height:1.5;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #9babff;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.3;letter-spacing:-.8px}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:17px}p{color:var(--muted)}svg{width:18px;height:18px;stroke-width:1.8;flex:none;vertical-align:middle}[hidden]{display:none!important}small{font-size:12px;color:var(--muted)}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.7px;color:var(--primary);display:block;margin-bottom:15px}.btn{height:42px;min-height:42px;font-size:14px;gap:8px;padding:0 17px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.btn svg{width:17px;height:17px}.btn-danger{background:var(--danger);color:#fff;border-color:var(--danger)}.icon-btn{width:40px;height:40px;flex:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--surface);border-radius:11px;color:var(--muted)}.icon-btn svg{width:18px;height:18px}.text-button{border:0;background:none;padding:8px;color:var(--primary);display:inline-flex;align-items:center;gap:6px;font-size:13px}.stack{display:grid;gap:20px}label{font-size:13px;font-weight:650;display:grid;gap:7px;color:var(--text)}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;min-width:0;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;padding:11px 12px;min-height:45px;font-size:14px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--primary)}textarea{min-height:96px;resize:vertical}label small{font-weight:400;line-height:1.5}.check-label{display:flex;align-items:center;gap:10px;min-height:36px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field-full{grid-column:1/-1}.notice{padding:14px 16px;border-radius:11px;background:var(--primary-soft);border:1px solid var(--line);color:var(--text);font-size:13px;line-height:1.7;margin-bottom:18px}.notice.danger{background:var(--danger-soft);border-color:#f7c9cd;color:#b42332}.notice.warning{background:var(--warning-soft);color:#916114}.notice.success{background:var(--success-soft);color:#14734f}.brand-symbol{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:16px;color:white;background:var(--primary);box-shadow:0 8px 25px #4766ff30}.brand-symbol svg{width:28px;height:28px}.muted{color:var(--muted)}.money{white-space:nowrap;font-variant-numeric:tabular-nums}.positive{color:var(--success)}.negative{color:var(--danger)}
/* Authentication is deliberately always light. */
.auth-page{background:#f3f6fb;color:#172033;min-height:100svh}.auth-layout{max-width:1360px;margin:auto;min-height:100svh;display:grid;grid-template-columns:1.05fr 1fr}.auth-story{padding:48px 65px 28px;display:flex;flex-direction:column;border-right:1px solid #e4eaf2;background:radial-gradient(ellipse at 30% 60%,#e5ebff 0,transparent 62%)}.auth-brand{display:flex;gap:12px;align-items:center;font-size:24px;font-weight:800;letter-spacing:-.7px}.auth-brand small{display:block;font-size:11px;letter-spacing:.4px;font-weight:500;margin-top:2px}.auth-intro{margin:auto 0;padding:65px 0 24px}.auth-intro h1{font-size:44px;line-height:1.2;letter-spacing:-1.8px;margin-bottom:22px}.auth-intro p{font-size:16px;line-height:1.9;max-width:430px}.auth-footer{font-size:12px;margin-bottom:0}.auth-form-panel{display:flex;align-items:center;justify-content:center;padding:48px;background:#fff}.auth-form-wrap{width:min(100%,370px)}.auth-form-wrap h2{font-size:30px;margin-bottom:12px;line-height:1.3}.auth-form-wrap>p{margin-bottom:32px;font-size:14px}.input-with-icon{position:relative;display:flex;align-items:center}.input-with-icon>svg{position:absolute;left:16px;color:#8793a6;width:19px;height:19px}.input-with-icon input{padding:14px 48px;min-height:52px}.password-toggle{position:absolute;right:7px;display:grid;place-items:center;width:38px;height:38px;border:0;background:none;color:#718096}.auth-submit{width:100%;height:50px;font-size:15px;margin-top:3px}.auth-help{font-size:12px!important;text-align:center;margin-top:30px;margin-bottom:0!important;color:#8692a3}details{font-size:12px;color:#718096}summary{cursor:pointer}.activation-label{margin-top:14px}.auth-illustration{height:220px;position:relative;max-width:385px;margin-top:28px}.orbit-ring{position:absolute;width:215px;height:165px;border:1px dashed #b5c4ed;border-radius:50%;transform:rotate(-25deg);top:28px;left:75px}.orbit-center{position:absolute;left:145px;top:82px;width:67px;height:67px;display:grid;place-items:center;border-radius:21px;background:#4766ff;color:white;box-shadow:0 14px 38px #4766ff30}.orbit-center svg{width:34px;height:34px}.orbit-node{position:absolute;display:flex;align-items:center;gap:10px;background:#fff;padding:13px 16px;border:1px solid #e4eaf2;border-radius:13px;box-shadow:0 10px 25px #17203307;font-size:12px;font-weight:650;color:#475269}.orbit-node svg{color:#4766ff}.node-a{top:18px;left:28px}.node-b{top:68px;right:0}.node-c{bottom:10px;left:45px}.single-auth{min-height:100svh;display:grid;place-items:center;padding:30px}.single-auth-card{width:min(100%,490px);border:1px solid #e5ebf3;border-radius:22px;background:#fff;padding:36px;box-shadow:var(--shadow)}.single-auth-card .brand-symbol{margin-bottom:26px}.single-auth-card h1{font-size:25px}.single-auth-card p{font-size:14px}.install-layout{max-width:1150px;margin:0 auto;padding:48px 28px;display:grid;grid-template-columns:.9fr 1.1fr;gap:65px;align-items:start}.install-intro>.brand-symbol{margin-bottom:25px}.install-intro h1{font-size:37px}.install-intro ol{padding-left:22px;line-height:2.5;color:#5a6980;font-size:14px}.install-form{padding:30px}.requirements{padding-top:25px;margin-top:25px;border-top:1px solid var(--line)}.requirement{display:flex;align-items:center;gap:10px;font-size:13px;padding:7px 0}.requirement svg{width:17px;height:17px}.requirement.pass svg{color:#10a677}.requirement.fail{color:#d6354d}.install-form>p{font-size:13px;line-height:1.8}
/* Application */
.hp-panel{margin:0;padding:0;min-height:100svh}.hp-panel .topbar{position:sticky;top:0;display:flex;align-items:center;height:82px;padding:0 28px;gap:26px;background:var(--surface);border-bottom:1px solid var(--line);z-index:40}.hp-panel .topbar .brand{display:flex;align-items:center;min-width:225px;height:auto;gap:11px}.brand-title{display:block}.brand-sub{display:block;font-size:10px;margin-top:1px}.brand-mark{display:inline-flex;align-items:center;justify-content:center}.brand-mark svg{width:25px;height:25px}.hp-panel .searchbox{flex:1;max-width:530px;height:44px;width:auto;position:relative;display:flex;align-items:center;gap:10px;padding:0 12px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;margin:0 auto}.hp-panel .searchbox input{min-height:0;height:42px;flex:1;padding:0;border:0;outline:0;background:transparent;font-size:13px}.searchbox kbd{font-size:10px;color:var(--muted);white-space:nowrap}.top-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.active-period{display:flex;align-items:center;gap:8px;min-width:116px}.active-period>svg{color:var(--primary)}.active-period small{font-size:9px;letter-spacing:.7px;display:block}.active-period select{padding:0 16px 0 0;min-height:23px;border:0;font-size:13px;font-weight:750;width:100%;background:var(--surface)}.quick-add{height:42px;display:flex;align-items:center;gap:7px;font-size:13px;border:0;background:var(--primary);color:white;border-radius:11px;padding:0 14px;white-space:nowrap}.menu-bar{position:sticky;top:82px;z-index:30;background:var(--surface);border-bottom:1px solid var(--line);padding:12px 16px}.menu-center{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;margin:auto}.menu-item{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap}.menu-item svg{width:17px;height:17px}.menu-item:hover{background:var(--surface-2);color:var(--text)}.menu-item.active{color:var(--primary);background:var(--primary-soft)}.workspace{max-width:1680px;margin:auto;padding:30px 28px 24px;min-height:calc(100svh - 210px)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.page-head h1{font-size:27px;margin-bottom:6px}.page-head p{margin:0;font-size:14px}.page-actions{display:flex;gap:10px}.panel-footer{max-width:1680px;margin:auto;padding:12px 28px 22px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.footer-dot{padding:0 7px}.global-results{position:absolute;top:52px;left:0;right:0;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow-lg);background:var(--surface);max-height:420px;overflow:auto;padding:6px;display:none}.global-results.open{display:block}.global-result{width:100%;padding:12px 10px;display:flex;align-items:center;gap:10px;border:0;background:transparent;text-align:left;color:var(--text);border-radius:8px;font-size:13px}.global-result:hover{background:var(--surface-2)}.global-result small{display:block;font-size:11px;margin-top:2px}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:18px;border-bottom:1px solid var(--line);margin:0}.toolbar .list-search{flex:1;min-width:200px;max-width:370px}.toolbar select{width:auto;min-width:128px}.range-trigger{height:45px;background:var(--surface);font-size:13px}.filter-meta{margin-left:auto;color:var(--muted);font-size:12px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{background:var(--surface-2);text-align:left;color:var(--muted);font-weight:650;font-size:11px;letter-spacing:.25px;padding:14px 18px;border-bottom:1px solid var(--line)}.data-table td{font-size:13px;padding:16px 18px;border-bottom:1px solid var(--line);vertical-align:middle}.data-table tbody tr:hover{background:var(--surface-2)}.data-table td strong{font-weight:650}.data-table td small{display:block;font-size:11px;margin-top:3px}.data-table tr:last-child td{border-bottom:0}.domain-cell{display:flex;gap:11px;align-items:center;min-width:180px}.domain-cell>.favicon{margin:0;flex:0 0 36px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:var(--primary-soft);color:var(--primary)}.domain-cell>.favicon svg{width:18px;height:18px}.domain-cell>div{line-height:1.5}.domain-cell>div>span{font-size:11px;color:var(--muted);margin:2px 0 0}.row-actions{display:flex;align-items:center;gap:5px}.row-action{width:33px;height:33px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);display:inline-flex;align-items:center;justify-content:center}.row-action svg{width:15px;height:15px}.row-action:hover{color:var(--primary);background:var(--primary-soft);border-color:#bdc8ff}.row-action.danger:hover{color:var(--danger);background:var(--danger-soft);border-color:#efacb2}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:7px;font-size:11px;font-weight:650}.badge-success{color:#11865e;background:var(--success-soft)}.badge-warning{color:#b17914;background:var(--warning-soft)}.badge-danger{color:#d14450;background:var(--danger-soft)}.badge-info{color:#218cb8;background:var(--info-soft)}.badge-muted{color:var(--muted);background:var(--surface-3)}.status-cell-fill .status-danger{background:var(--danger-soft);box-shadow:inset 3px 0 #ef4444}.status-cell-fill .status-warning{background:var(--warning-soft);box-shadow:inset 3px 0 #f59e0b}.status-cell-fill .status-success{background:var(--success-soft);box-shadow:inset 3px 0 #10b981}.status-cell-fill .status-info{background:var(--info-soft);box-shadow:inset 3px 0 #0ea5e9}.status-cell-fill .status-muted{background:var(--surface-3)}.status-cell-fill td[class*=status-] .badge{background:transparent}.pagination-bar{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.pagination-buttons{display:flex;gap:8px}.empty-state{padding:50px 24px;text-align:center;color:var(--muted);white-space:normal}.empty-state>svg{width:32px;height:32px;margin-bottom:14px;color:var(--muted-2)}.empty-state strong{display:block;color:var(--text);font-size:16px;margin-bottom:6px}.empty-state p{margin:0;font-size:13px}.loading-state{padding:65px;text-align:center;color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat-card{padding:21px}.stat-label{font-size:12px}.stat-value{font-size:32px;line-height:1.35;margin-top:12px}.stat-meta{font-size:12px;margin-top:8px}.stat-icon{width:38px;height:38px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);border-radius:12px}.stat-icon svg{width:19px;height:19px}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;margin-bottom:24px}.card-head{padding:21px 23px;display:flex;justify-content:space-between;align-items:center;gap:16px}.card-head h3{font-size:16px;margin:0}.card-head p{font-size:12px;margin:5px 0 0}.card-body{padding:0 23px 23px}.finance-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-bottom:23px}.finance-tile{padding:23px;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius)}.finance-tile>span{display:block;color:var(--muted);font-size:12px;margin-bottom:12px}.finance-tile>strong{display:block;font-size:25px;color:var(--primary)}.finance-detail{display:flex;justify-content:space-between;font-size:12px;margin-top:15px;gap:10px;color:var(--muted)}.due-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line)}.due-row>div{flex:1;min-width:0}.due-row strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.due-row small{font-size:11px}.due-row>.icon-btn{width:34px;height:34px}.monthly-row{display:grid;grid-template-columns:75px 1fr 120px;gap:14px;align-items:center;margin:18px 0;font-size:12px}.monthly-row meter{width:100%;height:17px;accent-color:var(--primary)}.provider-row{padding:13px 0;font-size:13px;display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}.provider-row:last-child{border:0}.settings-layout{display:grid;grid-template-columns:205px 1fr;gap:22px}.settings-nav{padding:10px;align-self:start;display:grid;gap:5px;background:var(--surface);border:1px solid var(--line);border-radius:16px}.settings-nav button{border:0;background:none;color:var(--muted);padding:13px;text-align:left;border-radius:10px;display:flex;gap:10px;align-items:center;font-size:13px}.settings-nav button.active{background:var(--primary-soft);color:var(--primary)}.settings-content{padding:27px;max-width:850px}.settings-content>p{font-size:13px}.settings-content h2{font-size:21px}.settings-content .btn{justify-self:start}.settings-section[hidden]{display:none}.worker-info{font-size:12px;padding:13px 16px;background:var(--surface-2);border-bottom:1px solid var(--line);color:var(--muted)}
/* Dialogs and quick actions */
.hp-dialog{width:min(760px,calc(100% - 24px));max-height:calc(100svh - 32px);border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--text);padding:0;box-shadow:var(--shadow-lg);margin:auto;overflow:auto}.hp-dialog::backdrop,.range-dialog::backdrop{background:#101a2d66;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}.dialog-head h2{margin:0;font-size:23px}.dialog-head .eyebrow{font-size:10px;margin-bottom:6px}.dialog-content{padding:25px}.dialog-content .form-grid{gap:17px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:19px;margin-top:24px}.form-error{margin:0 0 16px}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.quick-card{display:flex;align-items:center;gap:11px;padding:17px 13px;background:var(--surface-2);border:1px solid var(--line);border-radius:13px;text-align:left;color:var(--text);min-height:98px}.quick-card:hover{border-color:#a1b3ff;background:var(--primary-soft)}.quick-card>.quick-symbol{width:38px;height:38px;border-radius:11px;background:#10b9aa16;color:#08a799;display:grid;place-items:center;flex:none}.quick-card strong{font-size:13px;display:block}.quick-card small{font-size:10px;line-height:1.5;display:block;margin-top:4px}.lookup-results{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.lookup-results button{padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface-2);color:var(--text);font-size:12px}.lookup-results button:hover{color:var(--primary)}.lookup-selected{font-size:12px;color:var(--primary);font-weight:600;min-height:18px}.history-dialog .data-table td,.history-dialog .data-table th{padding:12px;font-size:12px}.history-service{font-size:14px;color:var(--muted);margin-bottom:20px}.toast-region{position:fixed;bottom:25px;right:25px;z-index:300;display:grid;gap:8px;max-width:min(430px,calc(100% - 32px));pointer-events:none}.hp-toast{padding:15px 18px;background:var(--text);color:var(--surface);border-radius:12px;box-shadow:var(--shadow-lg);font-size:13px;line-height:1.6}.hp-toast.error{background:#a32b3a;color:white}.recipient-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.recipient-chip{display:flex;gap:9px;align-items:center;background:var(--primary-soft);padding:7px 10px;border-radius:9px;color:var(--primary);font-size:12px}.recipient-chip button{background:transparent;border:0;color:inherit;padding:0 2px}.message-body-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-2);padding:18px;border-radius:12px;max-height:320px;overflow:auto;font-size:14px}.message-meta{font-size:13px;color:var(--muted);line-height:2;margin-bottom:15px}
/* Two-month range picker */
.range-dialog{width:min(805px,calc(100% - 24px));max-height:calc(100svh - 24px);margin:auto;padding:0;border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--text);box-shadow:var(--shadow-lg);overflow:auto}.range-layout{display:grid;grid-template-columns:150px minmax(0,1fr)}.range-shortcuts{background:#0b949b0d;padding:19px 13px;border-right:1px solid var(--line)}.range-shortcuts h3{font-size:13px;margin-bottom:4px}.range-shortcuts p{font-size:11px;line-height:1.6}.range-shortcuts button{display:block;width:100%;margin:7px 0;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:10px 12px;text-align:left;color:var(--text);font-size:11px;font-weight:600}.range-shortcuts button:hover{border-color:#12a897;color:#079381}.range-head{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:19px 17px;border-bottom:1px solid var(--line)}.range-head h3{font-size:15px;margin:0 0 5px}.range-head p{font-size:11px;margin:0}.range-nav{display:flex;gap:5px}.range-nav button{border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:9px;padding:7px 9px;white-space:nowrap;font-size:11px;font-weight:600}.range-nav svg{width:13px;height:13px}.dual-calendar{display:grid;grid-template-columns:1fr 1fr}.calendar-panel{padding:14px}.calendar-panel+.calendar-panel{border-left:1px solid var(--line)}.calendar-selects{display:flex;gap:7px;margin-bottom:9px}.calendar-selects select{padding:7px 8px;min-height:35px;font-size:12px}.calendar-selects select:first-child{flex:1}.calendar-selects select:last-child{width:76px}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.calendar-week span{text-align:center;font-size:10px;font-weight:700;color:var(--muted);padding:5px 0}.calendar-days button{height:33px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:var(--text);border-radius:7px;font-size:12px;font-weight:550}.calendar-days button:hover{background:var(--primary-soft)}.calendar-days button.outside{color:var(--muted-2)}.calendar-days button.in-range{background:#0ba79215;color:#078676;border-radius:0}.calendar-days button.selected{background:#0ba792;color:white}.calendar-days button.today{outline:1px solid #0ba792;outline-offset:-3px}.range-summary{padding:13px 17px;background:var(--surface-2);border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:11px}.range-summary>span{color:var(--muted)}.range-footer{padding:13px 17px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line)}.range-footer .btn{height:36px;min-height:36px;font-size:12px}.range-footer .btn-primary{background:#0ba792;border-color:#0ba792}
@media(min-width:1600px){.menu-item{padding-inline:15px}}
@media(max-width:1180px){.hp-panel .topbar{padding-inline:20px;gap:16px}.hp-panel .topbar .brand{min-width:175px}.brand-title{font-size:19px!important}.brand-sub{font-size:8px!important}.menu-item{padding:9px;font-size:11px}.menu-center{gap:3px}.menu-item svg{width:16px;height:16px}.searchbox kbd{display:none}.top-actions{gap:7px}.auth-story{padding-inline:40px}.auth-intro h1{font-size:39px}.stats-grid{gap:12px}.stat-label{font-size:11px}.install-layout{gap:35px}}
@media(max-width:900px){.hp-panel .topbar{height:73px;gap:12px}.hp-panel .topbar .brand{min-width:auto}.topbar .brand>span:last-child{display:none}.menu-bar{top:73px;padding:8px 10px}.menu-item{font-size:11px;min-height:38px;padding:8px 12px}.menu-center{flex-wrap:wrap;justify-content:center}.workspace{padding:23px 18px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr 1fr}.auth-story{padding:32px}.auth-intro h1{font-size:34px}.auth-illustration{display:none}.auth-form-panel{padding:35px}.auth-form-wrap h2{font-size:26px}.settings-layout{grid-template-columns:1fr}.settings-nav{display:flex;flex-wrap:wrap;gap:2px}.settings-nav button{font-size:12px;padding:10px}.settings-content{max-width:none}.install-layout{grid-template-columns:1fr;max-width:720px}.install-intro h1 br{display:none}.requirements{display:grid;grid-template-columns:1fr 1fr;gap:3px 18px}.requirements h3{grid-column:1/-1}.install-intro ol{display:none}}
@media(max-width:640px){.auth-layout{display:block}.auth-story{padding:27px 25px 22px;min-height:0;border:0;background:none}.auth-brand{font-size:22px}.auth-intro,.auth-footer{display:none}.auth-form-panel{padding:28px 25px 50px;background:transparent;align-items:flex-start;min-height:calc(100svh - 110px)}.auth-form-wrap{background:#fff;border:1px solid var(--line);border-radius:20px;padding:29px 22px;width:100%;max-width:420px}.auth-form-wrap h2{font-size:26px}.auth-help{line-height:1.6}.single-auth{padding:20px}.single-auth-card{padding:27px}.install-layout{padding:25px 16px;gap:25px}.install-form{padding:23px}.requirements{grid-template-columns:1fr}.install-intro h1{font-size:30px}.hp-panel .topbar{padding:10px 12px;height:auto;min-height:68px;flex-wrap:wrap;gap:9px}.hp-panel .topbar .brand-mark{width:37px;height:37px;border-radius:12px}.hp-panel .searchbox{order:3;flex-basis:100%;max-width:none;height:39px;margin-top:0}.hp-panel .searchbox input{height:36px;font-size:13px}.top-actions{gap:7px}.active-period{min-width:87px;gap:5px}.active-period>svg{width:16px}.active-period small{font-size:8px}.active-period select{font-size:11px;min-height:20px}.quick-add{height:37px;padding:0 10px;font-size:11px;gap:5px}.top-actions>.icon-btn{width:34px;height:34px}.top-actions>.icon-btn svg{width:16px;height:16px}.menu-bar{position:relative;top:0;padding:9px}.menu-center{gap:4px}.menu-item{flex:0 0 calc(20% - 4px);flex-direction:column;gap:5px;font-size:9px;padding:9px 2px;min-height:54px;white-space:normal;line-height:1.3;text-align:center}.menu-item svg{width:18px;height:18px}.workspace{padding:21px 12px}.page-head{align-items:flex-start;gap:14px;margin-bottom:20px}.page-head h1{font-size:24px}.page-head p{font-size:12px;line-height:1.7}.page-actions{width:100%;flex-wrap:wrap}.page-actions .btn{flex:1;font-size:12px}.stats-grid{gap:10px}.stat-card{padding:15px}.stat-label{font-size:10px}.stat-icon{width:29px;height:29px;border-radius:9px}.stat-icon svg{width:16px;height:16px}.stat-value{font-size:28px;margin-top:9px}.stat-meta{font-size:10px;line-height:1.5}.toolbar{padding:13px;gap:8px}.toolbar .list-search{max-width:none;min-width:100%;font-size:14px}.toolbar .range-trigger{flex:1;font-size:12px;padding:0 10px}.toolbar select{min-width:105px;max-width:45%;font-size:12px}.filter-meta{width:100%;margin-left:0;margin-top:2px;font-size:11px}.data-table th{padding:12px;font-size:10px}.data-table td{padding:13px 12px;font-size:12px}.pagination-bar{padding:12px;font-size:10px}.pagination-buttons .btn{height:34px;min-height:34px;padding:0 10px;font-size:11px}.panel-footer{padding:8px 15px 20px;gap:15px;flex-wrap:wrap}.card-head{padding:18px}.card-body{padding:0 18px 18px}.finance-totals{grid-template-columns:1fr}.settings-content{padding:21px}.settings-nav button{padding:9px 10px}.form-grid{grid-template-columns:1fr}.dialog-head{padding:19px}.dialog-head h2{font-size:21px}.dialog-content{padding:19px}.hp-dialog{max-height:calc(100svh - 20px);width:calc(100% - 20px);border-radius:17px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-card{padding:14px 11px;flex-direction:column;align-items:flex-start;min-height:138px}.quick-card strong{font-size:12px}.quick-card small{font-size:10px}.range-layout{grid-template-columns:1fr}.range-shortcuts{border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:12px}.range-shortcuts h3,.range-shortcuts p{display:none}.range-shortcuts button{margin:0;padding:8px;font-size:10px;text-align:center}.range-head{align-items:flex-start;padding:13px;gap:8px}.range-head h3{font-size:13px}.range-head p{font-size:10px;line-height:1.6}.range-nav{gap:3px}.range-nav button{padding:6px}.dual-calendar{grid-template-columns:1fr}.calendar-panel+.calendar-panel{border-left:0;border-top:1px solid var(--line)}.calendar-days button{height:35px;font-size:13px}.range-summary{padding:12px;font-size:10px}.range-footer{position:sticky;bottom:0;background:var(--surface)}.toast-region{bottom:max(15px,env(safe-area-inset-bottom));right:16px}.monthly-row{grid-template-columns:65px 1fr 100px;gap:10px;font-size:11px}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}.calendar-selects select{font-size:13px}.toolbar select{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(display-mode:standalone){.hp-panel .topbar{padding-top:max(10px,env(safe-area-inset-top))}.panel-footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}}

/* V1.1 — professional visual system, structured dialogs and settings workspace */
.hp-panel{--bg:#edf2f7;--surface:#fbfcfe;--surface-2:#f2f6fa;--surface-3:#e8eef5;--line:#dbe4ed;--shadow:0 10px 28px rgba(30,47,70,.065);--shadow-lg:0 28px 80px rgba(21,34,52,.19);background:radial-gradient(circle at 12% 0,#dfe9ff 0,transparent 28%),radial-gradient(circle at 88% 18%,#dff4ef 0,transparent 24%),var(--bg)}
.hp-panel.dark{--bg:#0d1420;--surface:#121c2a;--surface-2:#172332;--surface-3:#1d2a3c;--line:#27364a}
.hp-panel .topbar{top:12px;width:calc(100% - 32px);max-width:1680px;height:74px;margin:12px auto 0;padding:0 22px;border:1px solid color-mix(in srgb,var(--line) 86%,transparent);border-radius:19px;background:color-mix(in srgb,var(--surface) 97%,transparent);box-shadow:0 13px 35px rgba(24,42,64,.09);backdrop-filter:none}
.hp-panel .topbar .brand{min-width:238px;padding:0 17px 0 2px;border-right:1px solid var(--line)}
.hp-panel .topbar .brand-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#536fff,#344fd8);box-shadow:0 9px 22px #4766ff35}
.hp-panel .topbar .brand-title{font-size:19px}.hp-panel .topbar .brand-sub{font-size:9px;letter-spacing:.85px}
.hp-panel .searchbox{max-width:610px;height:44px;border-color:transparent;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.hp-panel .searchbox:focus-within{background:var(--surface);box-shadow:0 0 0 4px #4766ff13,inset 0 0 0 1px #8da0ff}
.hp-panel .top-actions{gap:8px}.hp-panel .active-period{height:44px;min-width:128px;padding:0 10px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2)}
.hp-panel .quick-add{height:44px;padding-inline:15px;box-shadow:0 8px 20px #4766ff25}.hp-panel .top-actions>.icon-btn{height:42px;width:42px;background:var(--surface-2)}
.logout-action{height:42px;padding:0 13px;border:1px solid #f1cbd1;border-radius:12px;background:var(--danger-soft);color:var(--danger);display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:750}.logout-action svg{width:16px}.logout-action:hover{background:var(--danger);color:#fff;border-color:var(--danger)}
.menu-bar{top:98px;width:calc(100% - 32px);max-width:1680px;margin:10px auto 0;padding:8px 12px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--surface) 97%,transparent);box-shadow:0 9px 25px rgba(24,42,64,.055)}
.menu-center{gap:4px}.menu-item{min-height:40px;padding:8px 12px;border:1px solid transparent}.menu-item:hover{border-color:var(--line)}.menu-item.active{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 18%,transparent)}
.workspace{padding:31px 28px 32px}.page-head{padding:0 4px}.page-head h1{font-size:28px}.page-head p{color:#627187}.hp-panel.dark .page-head p{color:var(--muted)}
.card,.stat-card,.finance-tile,.settings-card{border-color:color-mix(in srgb,var(--line) 90%,transparent);box-shadow:var(--shadow)}
.stat-card{background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--primary-soft) 28%,var(--surface)));border-top:3px solid color-mix(in srgb,var(--primary) 68%,var(--line))}.stat-card:nth-child(2){background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--info-soft) 48%,var(--surface)));border-top-color:var(--info)}.stat-card:nth-child(3){background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--warning-soft) 62%,var(--surface)));border-top-color:var(--warning)}.stat-card:nth-child(4){background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--success-soft) 55%,var(--surface)));border-top-color:var(--success)}
.finance-tile{background:linear-gradient(135deg,var(--surface),var(--surface-2));position:relative;overflow:hidden}.finance-tile:after{content:"";position:absolute;right:-34px;top:-38px;width:100px;height:100px;border-radius:50%;background:color-mix(in srgb,var(--primary) 7%,transparent)}
.card-head{background:linear-gradient(90deg,color-mix(in srgb,var(--surface-2) 72%,var(--surface)),var(--surface));border-radius:var(--radius) var(--radius) 0 0}.monthly-row meter{height:20px}.monthly-row meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#4766ff,#10b9aa)}
.toolbar{padding:14px;background:linear-gradient(90deg,var(--surface-2),color-mix(in srgb,var(--surface-2) 38%,var(--surface)));border-radius:var(--radius) var(--radius) 0 0}.toolbar-search{height:45px;display:flex;align-items:center;gap:9px;flex:1;min-width:230px;max-width:370px;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.toolbar-search svg{width:17px;color:var(--muted)}.toolbar .toolbar-search .list-search{height:42px;min-height:0;width:100%;max-width:none;padding:0;border:0;background:transparent;outline:0}.toolbar .range-trigger{background:var(--surface)}.filter-clear{height:45px;background:var(--surface);color:var(--muted);border-style:dashed}.filter-clear:hover{color:var(--primary);border-color:color-mix(in srgb,var(--primary) 45%,var(--line));background:var(--primary-soft)}.filter-clear svg{width:15px}.filter-meta{font-weight:600}
.data-table th{background:color-mix(in srgb,var(--surface-2) 82%,var(--surface));color:#66768d}.hp-panel.dark .data-table th{color:var(--muted)}.data-table tbody tr{transition:.16s}.data-table tbody tr:hover{background:color-mix(in srgb,var(--primary-soft) 42%,var(--surface))}.row-action{box-shadow:0 3px 8px rgba(20,34,50,.035)}.panel-footer{width:calc(100% - 32px);max-width:1680px;margin:0 auto 14px;padding:13px 18px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--surface) 90%,transparent)}

/* Professional sign-in */
.auth-page{min-height:100svh;background:radial-gradient(circle at 82% 14%,#cdd7e9 0 8%,transparent 8.1%),linear-gradient(155deg,#b6c7cb 0,#d6dfe2 38%,#8aa2a6 100%);color:#102b29;position:relative;overflow-x:hidden}.auth-page:before,.auth-page:after{content:"";position:fixed;left:-8%;right:-8%;bottom:-18%;height:58%;background:#163e3a;clip-path:polygon(0 24%,38% 0,68% 15%,100% 4%,100% 100%,0 100%);z-index:0}.auth-page:after{bottom:-25%;height:50%;background:#0c2d2a;opacity:.76;clip-path:polygon(0 42%,31% 6%,60% 30%,100% 0,100% 100%,0 100%)}
.auth-layout{position:relative;z-index:1;max-width:1240px;min-height:100svh;margin:auto;padding:6vh 24px;grid-template-columns:minmax(0,1.15fr) minmax(390px,.72fr);gap:28px;align-items:stretch}.install-layout{position:relative;z-index:1}
.auth-story{min-height:670px;padding:48px;border:1px solid #ffffff2b;border-radius:28px;background:linear-gradient(155deg,#153f3ad9,#0d352fd9);box-shadow:0 30px 85px #0b28264a;color:#fff;overflow:hidden;position:relative}.auth-story:before{content:"";position:absolute;width:520px;height:520px;right:-210px;top:-220px;border:1px solid #ffffff19;border-radius:50%;box-shadow:0 0 0 70px #ffffff08,0 0 0 140px #ffffff05}.auth-story>*{position:relative;z-index:1}.auth-story .auth-brand{color:#fff}.auth-story .brand-symbol{width:47px;height:47px;border:1px solid #ffffff30;background:#ffffff12;box-shadow:none}.auth-story .auth-brand small{color:#bfd0cc}.auth-story .eyebrow{color:#9fdfcf}.auth-intro{padding:75px 0 42px}.auth-intro h1{max-width:690px;font-size:clamp(40px,4vw,60px);line-height:1.08;letter-spacing:-2.5px;margin-bottom:24px}.auth-intro p{max-width:660px;color:#d1dfdc;font-size:16px;line-height:1.85}.auth-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:auto}.auth-features article{min-height:98px;padding:15px;border:1px solid #ffffff20;border-radius:14px;background:#082d283f}.auth-features article>span{display:block;color:#a9d8cd;font-size:9px;font-weight:800;letter-spacing:1px}.auth-features strong{display:block;margin-top:10px;font-size:12px;color:#fff}.auth-features small{display:block;margin-top:6px;color:#b8cbc7;font-size:10px;line-height:1.45}.auth-footer{display:flex;align-items:center;gap:7px;margin-top:22px;color:#b8cbc7}.auth-footer svg{width:15px;color:#8de0ca}
.auth-form-panel{padding:0;background:transparent;align-items:stretch}.auth-form-wrap{width:100%;max-width:none;display:flex;flex-direction:column;justify-content:center;padding:58px 52px;border:1px solid #ffffff;border-radius:28px;background:#fbfcfc;box-shadow:0 30px 85px #18343335}.auth-form-wrap .eyebrow{color:#147662}.auth-form-wrap h2{font-size:34px;color:#112e2b}.auth-form-wrap>p{color:#738480;line-height:1.7}.auth-form-wrap label{color:#294541}.auth-form-wrap input:not([type=checkbox]){height:52px;border-color:#d6e3df;background:#f0f5f4}.auth-form-wrap input:focus{border-color:#4aa58f;box-shadow:0 0 0 4px #1a8b7020;background:#fff}.input-with-icon{isolation:isolate}.input-with-icon>svg{left:17px;z-index:2;pointer-events:none;color:#63817a}.input-with-icon input{padding-left:52px!important;padding-right:50px!important;position:relative;z-index:1}.password-toggle{right:7px;z-index:3;color:#56736d}.auth-submit{background:#145c4c;border-color:#145c4c;box-shadow:0 12px 25px #145c4c28}.auth-submit:hover{background:#0f4b3f}.auth-security{display:flex;align-items:flex-start;gap:9px;margin-top:24px;padding-top:19px;border-top:1px solid #e2ebe8;color:#738480;font-size:11px;line-height:1.55}.auth-security>span{width:9px;height:9px;margin-top:4px;border-radius:50%;background:#4cb48f;box-shadow:0 0 0 5px #4cb48f18}.auth-help{margin-top:18px!important}.single-auth{position:relative;z-index:1}.single-auth-card{width:min(100%,560px);padding:42px;border-radius:26px;box-shadow:0 28px 75px #17353235}.password-rules{display:flex;flex-wrap:wrap;gap:7px;margin-top:-8px}.password-rules span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:8px;background:#f1f4f7;color:#7b8798;font-size:10px;font-weight:650}.password-rules span:before{content:"";width:6px;height:6px;border-radius:50%;background:#a8b1bf}.password-rules span.pass{background:var(--success-soft);color:#14734f}.password-rules span.pass:before{background:var(--success)}

/* Structured dialogs */
.hp-dialog{width:min(940px,calc(100% - 28px));max-height:calc(100svh - 32px);padding:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 84%,#9aa9ba);border-radius:24px;background:var(--surface);box-shadow:0 34px 100px rgba(12,25,42,.25)}.hp-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}.dialog-head{position:relative;top:auto;min-height:112px;padding:25px 28px;gap:16px;overflow:hidden;background:linear-gradient(120deg,color-mix(in srgb,var(--primary-soft) 78%,var(--surface)),var(--surface) 62%);border-bottom:1px solid var(--line)}.dialog-head:after{content:"";position:absolute;right:72px;top:-58px;width:150px;height:150px;border-radius:50%;background:color-mix(in srgb,var(--primary) 8%,transparent)}.dialog-head>*{position:relative;z-index:1}.dialog-symbol{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;flex:none;background:var(--surface);color:var(--primary);border:1px solid color-mix(in srgb,var(--primary) 22%,var(--line));box-shadow:0 8px 20px rgba(40,60,85,.08)}.dialog-symbol svg{width:23px;height:23px}.dialog-head .eyebrow{margin:0 0 5px;font-size:9px}.dialog-head h2{font-size:24px;letter-spacing:-.6px}.dialog-head p{margin:5px 0 0;font-size:11px;color:var(--muted)}.dialog-head>.icon-btn{margin-left:auto;align-self:flex-start;background:color-mix(in srgb,var(--surface) 86%,transparent)}.dialog-content{min-height:0;padding:23px 27px 0;overflow-y:auto;overflow-x:hidden;background:linear-gradient(180deg,color-mix(in srgb,var(--surface-2) 42%,var(--surface)),var(--surface) 100px)}.dialog-content form{min-width:0}.dialog-content .form-grid{gap:16px}.dialog-content label{min-width:0}.dialog-content input:not([type=checkbox]):not([type=radio]),.dialog-content select,.dialog-content textarea{background:var(--surface);border-color:var(--line)}.dialog-content textarea{min-height:105px}.form-context{display:flex;align-items:center;gap:11px;margin-bottom:19px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--success) 18%,var(--line));border-radius:13px;background:color-mix(in srgb,var(--success-soft) 65%,var(--surface));color:var(--success)}.form-context>svg{width:20px}.form-context span{display:block}.form-context strong{display:block;font-size:12px;color:var(--text)}.form-context small{display:block;margin-top:2px;font-size:10px}.dialog-actions{position:sticky;bottom:0;z-index:4;margin:25px -27px 0;padding:16px 27px;background:color-mix(in srgb,var(--surface) 97%,transparent);border-top:1px solid var(--line);box-shadow:0 -9px 25px rgba(20,35,52,.04)}.dialog-actions .btn{min-width:112px}.quick-grid{gap:12px}.quick-card{min-height:92px;background:linear-gradient(145deg,var(--surface-2),var(--surface));border-radius:15px}.quick-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(20,35,52,.08)}.delete-summary{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid #efc7cd;border-radius:15px;background:var(--danger-soft)}.delete-summary>svg{width:24px;color:var(--danger);flex:none}.delete-summary strong{font-size:14px}.delete-summary p{font-size:12px;line-height:1.65;margin:7px 0 0}

/* Full settings workspace */
.settings-hero{min-height:150px;margin-bottom:18px;padding:29px 33px;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--line));border-radius:22px;background:linear-gradient(120deg,#273f8f,#4766ff 55%,#5574f2);color:#fff;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;box-shadow:0 18px 38px #314fa52c}.settings-hero:before{content:"";position:absolute;width:320px;height:320px;right:-80px;top:-160px;border-radius:50%;border:1px solid #ffffff20;box-shadow:0 0 0 55px #ffffff0a,0 0 0 110px #ffffff07}.settings-hero>*{position:relative}.settings-hero .eyebrow{color:#cfdaff;margin-bottom:7px}.settings-hero h1{font-size:30px;margin-bottom:7px}.settings-hero p{margin:0;color:#e0e6ff;font-size:13px}.settings-hero-icon{width:64px;height:64px;border-radius:19px;display:grid;place-items:center;background:#ffffff15;border:1px solid #ffffff24}.settings-hero-icon svg{width:30px;height:30px}.settings-layout{grid-template-columns:285px minmax(0,1fr);gap:18px;align-items:start}.settings-nav{position:sticky;top:172px;padding:10px;border-radius:18px;background:color-mix(in srgb,var(--surface) 98%,transparent);border:1px solid var(--line);box-shadow:var(--shadow)}.settings-tab{width:100%;min-height:58px;padding:9px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--muted);display:grid;grid-template-columns:36px minmax(0,1fr) 15px;align-items:center;gap:10px;text-align:left}.settings-tab>span:first-child{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--surface-2);color:var(--muted)}.settings-tab>span:first-child svg{width:17px}.settings-tab>span:nth-child(2){min-width:0}.settings-tab strong{display:block;font-size:12px;color:var(--text)}.settings-tab small{display:block;margin-top:3px;font-size:9px;color:var(--muted)}.settings-tab>svg{width:14px;color:var(--muted-2)}.settings-tab:hover{background:var(--surface-2)}.settings-tab.active{background:var(--primary-soft);border-color:color-mix(in srgb,var(--primary) 16%,var(--line))}.settings-tab.active>span:first-child{background:var(--primary);color:#fff}.settings-tab.active>svg{color:var(--primary)}.settings-content{min-width:0;padding:0;max-width:none;background:transparent}.settings-section-head{min-height:94px;padding:18px 20px;margin-bottom:12px;display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,var(--surface),var(--surface-2));box-shadow:var(--shadow)}.settings-section-head>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.settings-section-head>span svg{width:22px}.settings-section-head small{color:var(--primary);font-size:9px;font-weight:800;letter-spacing:1px}.settings-section-head h2{margin:3px 0 0;font-size:20px}.settings-section-head p{margin:5px 0 0;font-size:11px}.settings-card{padding:24px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--surface) 98%,transparent)}.settings-card form{max-width:950px}.settings-narrow{max-width:570px!important}.setting-choice{display:flex;align-items:center;gap:20px;padding:15px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.setting-choice>div{flex:1}.setting-choice strong{display:block;font-size:13px}.setting-choice small{display:block;margin-top:4px;line-height:1.5}.switch{position:relative;width:46px;height:26px;display:inline-block;flex:none}.switch input{position:absolute;opacity:0}.switch span{position:absolute;inset:0;border-radius:30px;background:var(--surface-3);transition:.2s;box-shadow:inset 0 0 0 1px var(--line)}.switch span:before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #17203325;transition:.2s}.switch input:checked+span{background:var(--primary);box-shadow:none}.switch input:checked+span:before{transform:translateX(20px)}.settings-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;padding-top:18px;border-top:1px solid var(--line)}.settings-actions>span{margin-right:auto;color:var(--muted);font-size:10px}.danger-check{color:var(--danger)}.settings-table{padding:0;overflow:hidden}.settings-table .table-wrap{max-height:520px}.demo-intro{display:flex;align-items:flex-start;gap:13px;padding:15px;border:1px solid color-mix(in srgb,var(--info) 18%,var(--line));border-radius:14px;background:var(--info-soft)}.demo-intro>svg{width:22px;color:var(--info);flex:none}.demo-intro strong{font-size:13px}.demo-intro p{margin:5px 0 0;font-size:11px;line-height:1.6}.demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.demo-pack{position:relative;display:grid;grid-template-columns:20px 42px minmax(0,1fr);align-items:start;gap:10px;padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--surface-2);cursor:pointer}.demo-pack:hover{border-color:color-mix(in srgb,var(--primary) 30%,var(--line));background:var(--surface)}.demo-pack.loaded{background:color-mix(in srgb,var(--success-soft) 40%,var(--surface))}.demo-pack input{margin-top:12px}.demo-pack-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.demo-pack-icon svg{width:19px}.demo-pack-copy{min-width:0}.demo-pack-top{display:flex;gap:7px;align-items:center;justify-content:space-between}.demo-pack-top strong{font-size:12px}.demo-pack-copy>small{display:block;margin-top:7px;line-height:1.5}.demo-pack-copy em{display:block;margin-top:10px;color:var(--muted);font-size:9px;font-style:normal;font-weight:700}.demo-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:17px;border-top:1px solid var(--line)}.demo-actions>span{margin-right:auto;color:var(--muted);font-size:11px}

@media(max-width:1050px){.auth-layout{grid-template-columns:1fr 390px;padding-inline:18px}.auth-story{padding:38px}.auth-intro h1{font-size:42px}.settings-layout{grid-template-columns:235px minmax(0,1fr)}.demo-grid{grid-template-columns:1fr}.hp-panel .topbar .brand{min-width:190px}.logout-action span{display:none}.logout-action{width:42px;padding:0;justify-content:center}}
@media(max-width:760px){.auth-page{background:#eef3f2}.auth-page:before,.auth-page:after{display:none}.auth-layout{display:block;min-height:100svh;padding:14px}.auth-story{min-height:auto;padding:22px 22px 25px;border-radius:22px}.auth-intro{padding:32px 0 15px}.auth-intro h1{font-size:32px;letter-spacing:-1.4px}.auth-intro p{font-size:13px}.auth-features{display:none}.auth-footer{display:flex;margin-top:8px}.auth-form-panel{min-height:auto;padding:12px 0 30px}.auth-form-wrap{padding:31px 23px;border-radius:22px}.auth-form-wrap h2{font-size:28px}.hp-panel .topbar{top:6px;width:calc(100% - 12px);margin-top:6px;padding:10px 12px;border-radius:16px}.hp-panel .topbar .brand{padding:0;border:0}.menu-bar{width:calc(100% - 12px);margin-top:6px;border-radius:14px}.workspace{padding:20px 10px}.panel-footer{width:calc(100% - 12px)}.settings-hero{min-height:132px;padding:23px}.settings-hero-icon{display:none}.settings-layout{grid-template-columns:1fr}.settings-nav{position:static;display:flex;overflow-x:auto;padding:7px}.settings-tab{min-width:180px}.settings-card{padding:17px}.settings-section-head{padding:15px}.demo-actions{align-items:stretch;flex-direction:column}.demo-actions>span{margin:0 0 5px}.demo-actions .btn{width:100%}.hp-dialog{width:calc(100% - 14px);max-height:calc(100svh - 14px);border-radius:19px}.dialog-head{min-height:91px;padding:17px;gap:11px}.dialog-symbol{width:42px;height:42px}.dialog-head h2{font-size:20px}.dialog-head p{display:none}.dialog-content{padding:17px 17px 0}.dialog-content .form-grid{grid-template-columns:1fr}.dialog-actions{margin:21px -17px 0;padding:13px 17px}.quick-grid{grid-template-columns:1fr 1fr}.toolbar-search{max-width:none;min-width:100%}.filter-clear{flex:1}.filter-meta{width:100%}.settings-actions{align-items:stretch;flex-direction:column}.settings-actions>span{margin:0}.settings-actions .btn{width:100%}.password-rules{margin-top:-4px}}
@media(max-width:430px){.auth-story .auth-brand small{display:block}.auth-intro h1{font-size:28px}.quick-grid{grid-template-columns:1fr}.quick-card{min-height:76px;flex-direction:row}.hp-panel .topbar .brand-mark{width:38px;height:38px}.logout-action{width:38px;height:38px}.hp-panel .top-actions>.icon-btn{width:38px;height:38px}.hp-panel .quick-add{height:38px}.dialog-actions{display:grid;grid-template-columns:1fr 1fr}.dialog-actions .btn{min-width:0;width:100%}}

/* HostPilot 1.2 — centered application chrome, compact dialogs and management workspace */
html:has(dialog[open]),body:has(dialog[open]){overflow:hidden}
.hp-panel{background:linear-gradient(180deg,#eef3fa 0,#f5f7fb 420px,#f3f6fa 100%)}
.hp-panel.dark{background:linear-gradient(180deg,#101827 0,#111a2a 420px,#0f1725 100%)}
.hp-panel .topbar{top:0;width:100%;max-width:none;height:84px;margin:0;padding:0 24px;border-radius:0;background:color-mix(in srgb,var(--surface) 97%,#f4f7fc);box-shadow:0 1px 0 var(--line);display:block}
.topbar-inner{width:min(100%,1540px);height:100%;margin:0 auto;display:grid;grid-template-columns:minmax(205px,255px) minmax(320px,600px) minmax(500px,1fr);align-items:center;gap:24px}
.hp-panel .topbar .brand{min-width:0;padding:0 4px;justify-self:start}
.hp-panel .brand-mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#5b72ff,#3f55e8);color:#fff;box-shadow:0 9px 22px #4059ee2e}
.hp-panel .brand-mark svg{width:23px;height:23px}
.hp-panel .brand-title{font-size:20px;letter-spacing:-.45px}
.hp-panel .brand-sub{font-size:9px;font-weight:700;letter-spacing:.75px;text-transform:uppercase}
.hp-panel .searchbox{width:100%;max-width:600px;height:46px;margin:0;justify-self:center;border-radius:13px;background:color-mix(in srgb,var(--surface-2) 82%,var(--surface));box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.hp-panel .searchbox:focus-within{border-color:color-mix(in srgb,var(--primary) 42%,var(--line));box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 10%,transparent)}
.top-actions{min-width:0;margin:0;justify-self:end;justify-content:flex-end;gap:8px}
.active-period{height:44px;min-width:128px;padding:0 11px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.active-period select{background:transparent}
.demo-shortcut,.logout-action{height:42px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:11px;white-space:nowrap;font-size:12px;font-weight:750}
.demo-shortcut{border:1px solid color-mix(in srgb,var(--primary) 22%,var(--line));background:var(--primary-soft);color:var(--primary)}
.demo-shortcut:hover{border-color:var(--primary);background:color-mix(in srgb,var(--primary-soft) 70%,var(--surface))}
.demo-shortcut svg,.logout-action svg{width:16px;height:16px}
.logout-action{border:1px solid color-mix(in srgb,var(--danger) 19%,var(--line));background:color-mix(in srgb,var(--danger-soft) 56%,var(--surface));color:#b62f43}
.logout-action:hover{background:var(--danger);border-color:var(--danger);color:#fff}
.menu-bar{top:84px;width:100%;margin:0;padding:10px 20px;border-radius:0;background:color-mix(in srgb,var(--surface) 98%,#f7f9fc);box-shadow:0 7px 20px rgba(22,35,55,.035)}
.menu-center{width:min(100%,1450px);gap:4px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.menu-center::-webkit-scrollbar{display:none}
.menu-item{min-height:40px;padding:9px 11px;border:1px solid transparent}
.menu-item.active{border-color:color-mix(in srgb,var(--primary) 16%,var(--line));box-shadow:0 4px 12px color-mix(in srgb,var(--primary) 8%,transparent)}
.workspace{width:min(100%,1540px);max-width:none;padding:34px 24px 28px}
.panel-footer{width:min(calc(100% - 48px),1540px);max-width:none;padding:13px 18px;margin:0 auto 18px}

.filter-panel{border-bottom:1px solid var(--line);background:linear-gradient(110deg,color-mix(in srgb,var(--surface-2) 74%,var(--surface)),var(--surface))}
.filter-panel-head{min-height:64px;padding:14px 18px 11px;display:flex;align-items:center;gap:12px}
.filter-panel-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);border:1px solid color-mix(in srgb,var(--primary) 13%,var(--line))}
.filter-panel-icon svg{width:17px;height:17px}
.filter-panel-head strong{display:block;font-size:13px;letter-spacing:-.1px}
.filter-panel-head small{display:block;margin-top:2px;font-size:10px}
.filter-panel-head .filter-meta{margin-left:auto;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:10px}
.filter-panel .toolbar{padding:0 18px 16px;border:0;border-radius:0;background:transparent}
.filter-panel .toolbar-search,.filter-panel .range-trigger,.filter-panel .toolbar select,.filter-panel .filter-clear{height:44px;min-height:44px;border-radius:11px;box-shadow:0 3px 10px rgba(25,38,58,.025)}
.filter-panel .filter-clear{border-style:solid;background:var(--surface);font-weight:700}

.hp-dialog::backdrop,.range-dialog::backdrop{background:rgba(9,17,31,.7);backdrop-filter:none}
.range-dialog{overflow:hidden}
.hp-dialog{width:min(1080px,calc(100vw - 48px));max-height:min(820px,calc(100dvh - 34px));overflow:hidden;border-radius:22px;border-color:color-mix(in srgb,var(--line) 80%,#8fa1b7);box-shadow:0 36px 110px rgba(7,16,30,.38)}
.hp-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.hp-dialog[data-kind="confirm"]{width:min(590px,calc(100vw - 48px))}
.hp-dialog[data-kind="detail"]{width:min(760px,calc(100vw - 48px))}
.hp-dialog[data-kind="history"]{width:min(1240px,calc(100vw - 48px))}
.hp-dialog[data-kind="quick"]{width:min(1010px,calc(100vw - 48px))}
.dialog-head{min-height:88px;padding:17px 22px;gap:13px;background:linear-gradient(118deg,color-mix(in srgb,var(--primary-soft) 72%,var(--surface)),var(--surface) 67%)}
.dialog-head:after{right:82px;top:-88px;width:190px;height:190px}
.dialog-symbol{width:46px;height:46px;border-radius:14px}
.dialog-symbol svg{width:21px;height:21px}
.dialog-head h2{font-size:22px}
.dialog-head p{margin-top:3px;font-size:10px}
.dialog-content{padding:18px 22px 0;overflow:visible;background:linear-gradient(180deg,color-mix(in srgb,var(--surface-2) 35%,var(--surface)),var(--surface) 88px)}
.dialog-content .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 13px}
.dialog-content .stack{gap:14px}
.dialog-content label{gap:5px;font-size:11px}
.dialog-content input:not([type=checkbox]):not([type=radio]),.dialog-content select,.dialog-content textarea{min-height:40px;padding:8px 10px;border-radius:9px;font-size:12px}
.dialog-content textarea{min-height:68px;max-height:110px}
.dialog-content .notice{padding:10px 12px;margin-bottom:11px;font-size:11px;line-height:1.55}
.form-context{margin-bottom:13px;padding:9px 12px}
.dialog-actions{position:static;margin:16px -22px 0;padding:13px 22px;background:var(--surface);box-shadow:none}
.dialog-actions .btn{height:40px;min-height:40px;min-width:112px;font-size:12px}
.hp-dialog[data-kind="history"] .dialog-content{overflow:auto}
.hp-dialog[data-kind="history"] .table-wrap{max-height:520px}
.quick-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px;padding:13px 15px;border:1px solid color-mix(in srgb,var(--primary) 14%,var(--line));border-radius:13px;background:var(--primary-soft)}
.quick-intro strong{font-size:13px}
.quick-intro p{margin:2px 0 0;font-size:10px}
.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.quick-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 16px;min-height:82px;padding:13px;background:linear-gradient(145deg,var(--surface),var(--surface-2));box-shadow:0 5px 16px rgba(17,31,50,.035)}
.quick-card>.quick-symbol{width:42px;height:42px}
.quick-card>svg{width:15px;color:var(--muted-2)}
.quick-card:hover>svg{color:var(--primary)}

.settings-hero{min-height:176px;margin-bottom:20px;padding:34px 38px;border:0;border-radius:24px;background:linear-gradient(118deg,#172843,#243f73 50%,#4766ff);box-shadow:0 22px 50px rgba(30,54,100,.22)}
.settings-hero:before{width:390px;height:390px;top:-210px;right:-90px;box-shadow:0 0 0 72px #ffffff0a,0 0 0 144px #ffffff06}
.settings-hero h1{font-size:32px;letter-spacing:-.85px}
.settings-hero p{font-size:13px;color:#dae4f8}
.settings-hero-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.settings-hero-badges span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #ffffff22;border-radius:9px;background:#ffffff0d;color:#eaf0ff;font-size:10px;font-weight:700}
.settings-hero-badges svg{width:14px;height:14px}
.settings-layout{grid-template-columns:300px minmax(0,1fr);gap:20px;width:100%}
.settings-nav{top:165px;padding:15px;border:0;border-radius:20px;background:linear-gradient(180deg,#172843,#203961);box-shadow:0 18px 44px rgba(19,35,61,.2)}
.settings-nav-head{padding:7px 8px 15px;margin-bottom:5px;border-bottom:1px solid #ffffff17}
.settings-nav-head>span{display:flex;align-items:center;gap:8px;color:#fff}
.settings-nav-head>span svg{width:17px}
.settings-nav-head strong{font-size:12px}
.settings-nav-head small{display:block;margin-top:5px;color:#aebbd0;font-size:9px}
.settings-tab{min-height:62px;padding:9px 10px;color:#b8c5d9}
.settings-tab strong{color:#f5f8ff}
.settings-tab small{color:#9eacc3}
.settings-tab>span:first-child{background:#ffffff0d;color:#bdc9dc}
.settings-tab>svg{color:#8292ad}
.settings-tab:hover{background:#ffffff0b}
.settings-tab.active{border-color:#ffffff20;background:#fff;box-shadow:0 8px 20px rgba(7,17,34,.2)}
.settings-tab.active strong{color:#172843}
.settings-tab.active small{color:#77859a}
.settings-tab.active>span:first-child{background:var(--primary);color:#fff}
.settings-content{width:100%}
.settings-section-head{min-height:105px;padding:21px 23px;margin-bottom:14px;border-radius:20px;background:linear-gradient(130deg,var(--surface),color-mix(in srgb,var(--primary-soft) 32%,var(--surface)));box-shadow:0 9px 28px rgba(22,37,58,.06)}
.settings-section-head>span{width:52px;height:52px;border-radius:15px}
.settings-section-head h2{font-size:22px;letter-spacing:-.4px}
.settings-section-head p{font-size:12px}
.settings-card{padding:27px;border-radius:20px;box-shadow:0 10px 32px rgba(22,37,58,.055)}
.settings-card form{max-width:none}
.setting-choice{gap:15px;padding:17px;background:linear-gradient(110deg,var(--surface-2),var(--surface))}
.setting-choice-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:12px;background:var(--primary-soft);color:var(--primary)}
.setting-choice-icon svg{width:19px;height:19px}
.demo-grid{grid-template-columns:repeat(3,minmax(220px,1fr));gap:14px}
.demo-pack{min-height:142px;padding:17px;background:linear-gradient(145deg,var(--surface-2),var(--surface))}
.demo-actions{padding-top:19px}

@media(max-width:1260px){.topbar-inner{grid-template-columns:205px minmax(250px,1fr) auto;gap:14px}.active-period{min-width:112px}.demo-shortcut span,.logout-action span{display:none}.demo-shortcut,.logout-action{width:42px;padding:0}.menu-item{padding-inline:9px;font-size:12px}.settings-layout{grid-template-columns:260px minmax(0,1fr)}.demo-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.hp-panel .topbar{height:auto;min-height:78px;padding:10px 16px}.topbar-inner{grid-template-columns:minmax(180px,1fr) auto;gap:10px}.hp-panel .searchbox{grid-column:1/-1;grid-row:2;margin-top:1px;max-width:none}.menu-bar{top:145px}.workspace{padding:27px 16px}.settings-layout{grid-template-columns:1fr}.settings-nav{position:static;display:flex;overflow-x:auto;padding:9px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}.settings-nav-head{display:none}.settings-tab{min-width:205px}.settings-tab strong{color:var(--text)}.settings-tab small{color:var(--muted)}.settings-tab:hover{background:var(--surface-2)}.settings-tab.active{background:var(--primary-soft)}.dialog-content .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-grid{grid-template-columns:1fr}}
@media(max-width:640px){.hp-panel .topbar{padding:9px 10px}.topbar-inner{grid-template-columns:1fr auto}.hp-panel .brand-sub{display:none}.active-period{min-width:78px;width:78px;padding:0 7px;gap:4px}.active-period>svg{display:none}.active-period small{display:none}.active-period select{padding-right:12px;font-size:12px}.demo-shortcut{display:none}.quick-add span{display:none}.quick-add{width:42px;padding:0;justify-content:center}.menu-bar{top:139px;padding:7px 8px}.workspace{padding:20px 10px}.panel-footer{width:calc(100% - 20px)}.filter-panel-head{align-items:flex-start}.filter-panel-head .filter-meta{display:none}.filter-panel .toolbar{padding-inline:12px}.settings-hero{min-height:150px;padding:25px 22px;border-radius:19px}.settings-hero h1{font-size:25px}.settings-hero-badges{margin-top:13px}.settings-hero-icon{display:none}.settings-tab{min-width:188px}.settings-card{padding:17px}.hp-dialog{width:calc(100vw - 14px);max-height:calc(100dvh - 14px);border-radius:18px}.dialog-head{min-height:80px;padding:14px 15px}.dialog-head p{display:none}.dialog-content{padding:14px 15px 0;overflow-y:auto}.dialog-content .form-grid{grid-template-columns:1fr}.dialog-actions{margin:15px -15px 0;padding:12px 15px}.quick-intro{display:block}.quick-grid{grid-template-columns:1fr}.quick-card{min-height:72px}.range-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}}
@media(max-width:430px){.top-actions{gap:5px}.hp-panel .brand-title{font-size:17px}.hp-panel .top-actions>.icon-btn{display:none}.active-period{min-width:70px;width:70px}.quick-add,.logout-action{width:38px;height:38px}}
@media(max-height:760px){.hp-dialog .dialog-content{overflow-y:auto}.hp-dialog{max-height:calc(100dvh - 16px)}.dialog-head{min-height:76px;padding-block:12px}.dialog-head p{display:none}.range-dialog{overflow:auto}}

/* HostPilot 1.3 — scalable relation picker and dependency-aware records */
.lookup{position:relative;min-width:0;align-self:start}.lookup.open{z-index:30}.lookup>label{display:block}.lookup-control{position:relative;display:flex;align-items:center}.lookup-control>svg{position:absolute;left:11px;z-index:2;width:16px;height:16px;color:var(--muted);pointer-events:none}.dialog-content .lookup-search{padding-left:35px!important;padding-right:32px!important}.lookup-results{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:40;display:none;max-height:238px;padding:6px;overflow-y:auto;overscroll-behavior:contain;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--line));border-radius:12px;background:var(--surface);box-shadow:0 18px 46px rgba(10,24,43,.2)}.lookup.open .lookup-results{display:block}.lookup-results button{width:100%;min-height:42px;margin:0;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;font-size:12px}.lookup-results button+button{margin-top:2px}.lookup-results button:hover,.lookup-results button:focus-visible{background:var(--primary-soft);color:var(--primary)}.lookup-results button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lookup-results button small{flex:none;padding:3px 6px;border-radius:6px;background:var(--surface-2);font-size:9px}.lookup-loading,.lookup-empty{display:block;padding:15px 11px;color:var(--muted);font-size:11px;text-align:center}.lookup-selected{width:max-content;max-width:100%;min-height:28px;margin-top:6px;padding:5px 7px 5px 8px;border:1px solid color-mix(in srgb,var(--success) 18%,var(--line));border-radius:8px;background:var(--success-soft);color:var(--success);display:flex;align-items:center;gap:6px;font-size:10px;font-weight:750}.lookup-selected>svg{width:13px;height:13px}.lookup-selected>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lookup-clear{width:20px;height:20px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;display:grid;place-items:center}.lookup-clear:hover{background:color-mix(in srgb,var(--success) 12%,transparent)}.lookup-clear svg{width:12px;height:12px}
.edit-transaction-title{display:flex;align-items:center;gap:11px;margin:3px 0 -1px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--primary) 17%,var(--line));border-radius:12px;background:linear-gradient(100deg,var(--primary-soft),var(--surface))}.edit-transaction-title>span{width:34px;height:34px;border-radius:10px;background:var(--primary);color:#fff;display:grid;place-items:center}.edit-transaction-title>span svg{width:16px}.edit-transaction-title strong{display:block;font-size:11px}.edit-transaction-title small{display:block;margin-top:2px;font-size:9px}
.dependency-summary{padding:16px;border:1px solid color-mix(in srgb,var(--danger) 22%,var(--line));border-radius:15px;background:linear-gradient(150deg,var(--danger-soft),var(--surface))}.dependency-summary>p{margin:11px 0 13px;font-size:11px;line-height:1.65}.dependency-totals{display:flex;gap:8px;flex-wrap:wrap}.dependency-totals>span{min-height:34px;padding:7px 10px;border:1px solid color-mix(in srgb,var(--danger) 14%,var(--line));border-radius:9px;background:var(--surface);display:inline-flex;align-items:center;gap:6px;color:var(--text);font-size:10px}.dependency-totals svg{width:14px;color:var(--danger)}.dependency-totals strong{font-size:13px}.dependency-list{max-height:250px;overflow:auto;padding:5px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.dependency-list>div{min-height:48px;padding:7px 9px;display:flex;align-items:center;gap:9px;border-radius:8px}.dependency-list>div+div{border-top:1px solid var(--line)}.dependency-icon{width:31px;height:31px;flex:none;border-radius:9px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.dependency-icon svg{width:15px}.dependency-list strong{display:block;font-size:11px}.dependency-list small{display:block;margin-top:2px;font-size:9px}.dependency-more{display:block;margin-top:9px;color:var(--danger);font-weight:700}
@media(max-width:640px){.lookup-results{position:fixed;left:12px;right:12px;top:auto;bottom:12px;max-height:42dvh;border-radius:16px;padding:8px;box-shadow:0 -18px 54px rgba(8,18,32,.32)}.dependency-list{max-height:210px}}

/* HostPilot 1.4 — portfolio intelligence, financial analytics and unified sign-in */
.period-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid color-mix(in srgb,var(--primary) 15%,var(--line));border-radius:8px;background:var(--primary-soft);color:var(--primary)}.period-chip svg{width:13px;height:13px}.period-chip strong{font-size:11px}.data-table td>.period-chip+small{margin-top:5px;color:var(--muted);font-size:9px}
.service-insights{display:grid;grid-template-columns:1.35fr repeat(3,1fr);gap:13px;margin-bottom:13px}.service-insight{min-height:112px;padding:17px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface-2) 72%,var(--surface)));box-shadow:0 8px 25px rgba(20,35,55,.045);display:flex;align-items:center;gap:14px}.service-insight>span{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:var(--success-soft);color:var(--success)}.service-insight>span svg{width:20px}.service-insight.primary{border:0;background:linear-gradient(128deg,#172843,#294c8a);color:#fff;box-shadow:0 15px 32px rgba(26,50,91,.2)}.service-insight.primary>span{background:#ffffff17;color:#fff;border:1px solid #ffffff18}.service-insight.warning>span{background:var(--warning-soft);color:#b17914}.service-insight.danger>span{background:var(--danger-soft);color:var(--danger)}.service-insight small,.service-insight em{display:block;font-style:normal}.service-insight small{color:var(--muted);font-size:10px;font-weight:750}.service-insight strong{display:block;margin:3px 0 1px;font-size:27px;line-height:1}.service-insight em{color:var(--muted);font-size:9px}.service-insight.primary small,.service-insight.primary em{color:#b9c8e1}
.service-finance{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:12px;margin-bottom:22px}.service-finance>article{min-height:82px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);display:grid;grid-template-columns:auto 1fr;align-items:center;gap:20px}.service-finance>article>span{padding-right:18px;border-right:1px solid var(--line);color:var(--muted);font-size:9px}.service-finance>article>span b{display:block;margin-bottom:3px;color:var(--text);font-size:16px}.service-finance>article>div{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.service-finance small{color:var(--muted);font-size:9px}.service-finance small strong{display:block;margin-top:3px;color:var(--text);font-size:12px}.service-finance small.profit strong{color:var(--success)}.service-finance>article.service-finance-empty{display:flex;color:var(--muted);font-size:11px}.service-finance-empty svg{width:19px;color:var(--muted-2)}
.dashboard-hero,.finance-hero{position:relative;min-height:230px;margin-bottom:18px;padding:34px 38px;overflow:hidden;border-radius:25px;background:linear-gradient(122deg,#14243d 0,#203d70 58%,#4766ff 130%);color:#fff;box-shadow:0 22px 50px rgba(21,42,77,.22);display:flex;align-items:center;justify-content:space-between;gap:35px}.dashboard-hero:before,.finance-hero:before{content:"";position:absolute;width:380px;height:380px;right:-85px;top:-205px;border-radius:50%;border:1px solid #ffffff17;box-shadow:0 0 0 65px #ffffff08,0 0 0 130px #ffffff05}.dashboard-hero>* ,.finance-hero>*{position:relative;z-index:1}.dashboard-hero .eyebrow,.finance-hero .eyebrow{color:#aebfff}.dashboard-hero h1,.finance-hero h1{margin:7px 0 8px;font-size:35px;letter-spacing:-1px}.dashboard-hero p,.finance-hero p{max-width:690px;margin:0;color:#c4d0e5;font-size:13px;line-height:1.7}.hero-actions{display:flex;gap:9px;margin-top:21px}.hero-actions .btn:not(.btn-primary){border-color:#ffffff25;background:#ffffff0d;color:#fff}.hero-health{width:300px;min-height:140px;padding:21px;border:1px solid #ffffff1c;border-radius:19px;background:#081a3352;backdrop-filter:blur(7px)}.hero-health>span{display:flex;align-items:center;gap:7px;color:#b9c8e3;font-size:10px;font-weight:750}.hero-health>span svg{width:15px;color:#89a0ff}.hero-health>strong{display:block;margin:10px 0 0;font-size:38px}.hero-health>small{display:block;margin-top:2px;color:#b9c8e3;font-size:9px}.hero-health>div{height:6px;margin-top:18px;overflow:hidden;border-radius:9px;background:#ffffff18}.hero-health>div i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#7390ff,#7de2c4)}
.overview-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:18px}.overview-kpis article{min-height:112px;padding:17px;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 7px 23px rgba(22,37,58,.04);display:flex;align-items:center;gap:14px}.overview-kpis article>span{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.overview-kpis article>span svg{width:20px}.overview-kpis small,.overview-kpis em{display:block;font-style:normal}.overview-kpis small{font-size:10px;color:var(--muted);font-weight:750}.overview-kpis strong{display:block;font-size:27px;line-height:1.1}.overview-kpis em{margin-top:3px;color:var(--muted);font-size:9px}
.dashboard-analytics,.finance-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.7fr);gap:18px;margin-bottom:18px}.dashboard-lower{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-bottom:18px}.analytics-card,.portfolio-health,.finance-summary,.finance-table-card{border-radius:19px;overflow:hidden}.section-kicker{display:block;margin-bottom:5px;color:var(--primary);font-size:8px;font-weight:850;letter-spacing:1.25px}.analytics-card .card-head{padding-bottom:5px}.chart-total{text-align:right}.chart-total small,.chart-total strong{display:block}.chart-total small{font-size:9px;color:var(--muted)}.chart-total strong{margin-top:3px;font-size:16px}.trend-chart{width:100%;padding-top:5px}.trend-chart svg{display:block;width:100%;height:auto;max-height:260px;overflow:visible}.trend-chart .chart-grid line{stroke:var(--line);stroke-width:1}.trend-chart circle{fill:var(--surface);stroke:#4766ff;stroke-width:3}.chart-labels{display:flex;justify-content:space-between;padding:3px 17px 0;color:var(--muted);font-size:8px;text-transform:capitalize}.portfolio-health .card-body,.finance-summary .card-body{display:grid;place-items:center}.health-donut,.ratio-ring{position:relative;width:158px;height:158px;margin:13px auto 22px;border-radius:50%;display:grid;place-items:center}.health-donut{background:conic-gradient(#39b98a 0 calc(var(--active)*1%),#f5b644 calc(var(--active)*1%) calc(var(--expiring)*1%),#ec6271 calc(var(--expiring)*1%) calc(var(--expired)*1%),#9aa8bc calc(var(--expired)*1%) 100%)}.health-donut:after,.ratio-ring:after{content:"";position:absolute;width:116px;height:116px;border-radius:50%;background:var(--surface)}.health-donut>span,.ratio-ring>span{position:relative;z-index:1;text-align:center}.health-donut strong,.ratio-ring strong{display:block;font-size:27px}.health-donut small,.ratio-ring small{display:block;color:var(--muted);font-size:9px}.health-legend{width:100%;display:grid;gap:8px}.health-legend>span{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:8px;color:var(--muted);font-size:10px}.health-legend i{width:8px;height:8px;border-radius:50%}.health-legend i.active{background:#39b98a}.health-legend i.expiring{background:#f5b644}.health-legend i.expired{background:#ec6271}.health-legend i.paused{background:#9aa8bc}.health-legend b{color:var(--text)}.provider-list .provider-row>span{display:block}.provider-list .provider-row strong,.provider-list .provider-row small{display:block}.provider-list .provider-row small{margin-top:3px;color:var(--muted);font-size:9px}.provider-list .provider-row>b{width:34px;height:34px;border-radius:10px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.overview-finance{margin-top:0}.finance-tile-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.finance-tile-head span{color:var(--muted);font-size:10px;font-weight:750}.finance-tile-head em{padding:4px 7px;border-radius:7px;background:var(--primary-soft);color:var(--primary);font-size:8px;font-style:normal}.finance-tile>small{display:block;margin-top:5px;color:var(--muted);font-size:9px}
.finance-hero{min-height:205px}.finance-hero-mark{min-width:285px;padding:18px 19px;border:1px solid #ffffff1d;border-radius:17px;background:#07182f57;display:flex;align-items:center;gap:13px}.finance-hero-mark>svg{width:28px;height:28px;color:#8da3ff}.finance-hero-mark>span{font-size:11px;font-weight:750}.finance-hero-mark small{display:block;margin-top:5px;color:#bdc9dc;font-size:9px;font-weight:550}.finance-kpis .finance-tile{border-radius:17px;box-shadow:0 8px 25px rgba(22,37,58,.045)}.finance-kpis .finance-tile>strong{font-size:29px}.ratio-ring{background:conic-gradient(#4766ff 0 calc(var(--value)*1%),var(--surface-3) calc(var(--value)*1%) 100%)}.summary-metrics{width:100%;display:grid;gap:0}.summary-metrics span{padding:11px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.summary-metrics b{color:var(--text)}.finance-table-card{margin-top:0}.finance-table-card .positive{color:var(--success)}.finance-table-card .negative{color:var(--danger)}

.auth-page{background:radial-gradient(circle at 8% 6%,#dfe5ff 0,transparent 28%),linear-gradient(140deg,#e9eef8,#f6f8fc 52%,#edf2fb);color:#172843}.auth-page:before{background:linear-gradient(180deg,#4766ff12,transparent)!important}.auth-page:after{background:#4766ff!important;opacity:.08}.auth-layout{max-width:1450px;grid-template-columns:minmax(0,1.5fr) minmax(390px,.72fr);gap:24px;padding:40px 28px}.auth-story{position:relative;padding:44px 48px;border:1px solid #ffffff15;border-radius:29px;background:linear-gradient(135deg,#14243d 0,#203d70 64%,#344f9b);box-shadow:0 30px 80px rgba(20,39,73,.24);overflow:hidden}.auth-story:before{content:"";position:absolute;width:520px;height:520px;right:-220px;top:-265px;border-radius:50%;border:1px solid #ffffff15;box-shadow:0 0 0 85px #ffffff07,0 0 0 170px #ffffff04}.auth-story>*{position:relative;z-index:1}.auth-brand .brand-symbol{background:linear-gradient(145deg,#6f87ff,#4766ff);border-color:#ffffff24;box-shadow:0 10px 25px #0a183a4d}.auth-brand small{color:#aab9d2}.auth-intro{padding:38px 0 16px}.auth-intro .eyebrow{color:#9db0ff}.auth-intro h1{max-width:760px;font-size:52px;line-height:1.04;letter-spacing:-2.3px}.auth-intro p{max-width:670px;color:#c0cce0}.auth-console{margin:8px 0 25px;border:1px solid #ffffff1b;border-radius:18px;background:#081a3452;backdrop-filter:blur(8px);overflow:hidden}.auth-console-head{height:38px;padding:0 13px;border-bottom:1px solid #ffffff12;display:flex;align-items:center;gap:10px;color:#aebbd0;font-size:9px}.auth-console-head>span{display:flex;gap:4px}.auth-console-head>span i{width:6px;height:6px;border-radius:50%;background:#ffffff32}.auth-console-head b{font-weight:650}.auth-console-head em{margin-left:auto;padding:3px 6px;border-radius:5px;background:#45c79d1f;color:#77e0bd;font-size:7px;font-style:normal;font-weight:850}.auth-console-body{min-height:95px;padding:17px;display:grid;grid-template-columns:210px 1fr;align-items:center;gap:22px}.auth-console-chart{height:58px;display:flex;align-items:flex-end;gap:7px;padding:0 5px;border-bottom:1px solid #ffffff14}.auth-console-chart i{flex:1;border-radius:4px 4px 0 0;background:linear-gradient(180deg,#7890ff,#4766ff);opacity:.8}.auth-console-chart i:nth-child(1){height:25%}.auth-console-chart i:nth-child(2){height:43%}.auth-console-chart i:nth-child(3){height:38%}.auth-console-chart i:nth-child(4){height:68%}.auth-console-chart i:nth-child(5){height:54%}.auth-console-chart i:nth-child(6){height:83%}.auth-console-chart i:nth-child(7){height:100%}.auth-console-body>div small,.auth-console-body>div strong,.auth-console-body>div span{display:block}.auth-console-body>div small{color:#97a8c4;font-size:8px}.auth-console-body>div strong{margin:5px 0 9px;color:#fff;font-size:12px}.auth-console-body>div span{color:#9aabca;font-size:8px}.auth-console-body>div span svg{width:12px;vertical-align:middle;color:#74dcb9}.auth-features article{background:#091c3657;border-color:#ffffff18}.auth-features article>span{color:#9db0ff}.auth-features small,.auth-footer{color:#aebbd0}.auth-footer svg{color:#8da3ff}.auth-form-wrap{border:1px solid #fff;border-radius:29px;background:#fcfdff;box-shadow:0 30px 80px rgba(28,48,82,.16)}.auth-form-wrap .eyebrow{color:#4766ff}.auth-form-wrap h2{color:#172843}.auth-form-wrap>p,.auth-security{color:#738098}.auth-form-wrap label{color:#263954}.auth-form-wrap input:not([type=checkbox]){border-color:#dae1ed;background:#f1f4f9}.auth-form-wrap input:focus{border-color:#6d83ee;box-shadow:0 0 0 4px #4766ff17;background:#fff}.input-with-icon>svg{color:#7888a3}.auth-submit{background:#4766ff;border-color:#4766ff;box-shadow:0 12px 28px #4766ff35}.auth-submit:hover{background:#3d58e5}.auth-security{border-color:#e4e9f1}.auth-security>span{background:#4766ff;box-shadow:0 0 0 5px #4766ff16}

@media(max-width:1120px){.service-insights{grid-template-columns:repeat(2,1fr)}.dashboard-analytics,.finance-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)}.auth-layout{grid-template-columns:minmax(0,1fr) 390px}.auth-story{padding:38px}.auth-intro h1{font-size:43px}.auth-console-body{grid-template-columns:160px 1fr}}
@media(max-width:850px){.service-insights,.overview-kpis{grid-template-columns:repeat(2,1fr)}.dashboard-hero,.finance-hero{padding:27px}.dashboard-analytics,.finance-layout,.dashboard-lower{grid-template-columns:1fr}.hero-health{width:260px}.auth-console{display:none}}
@media(max-width:760px){.auth-page{background:#edf2fb}.auth-story{background:linear-gradient(135deg,#14243d,#29497f)}.auth-intro{display:block}.auth-intro p{display:none}.auth-layout{display:block;padding:12px}.auth-story{padding:21px 22px 24px}.auth-intro{padding:27px 0 5px}.auth-intro h1{font-size:31px}.auth-form-panel{padding-top:11px}.auth-form-wrap{padding:30px 23px}.dashboard-hero,.finance-hero{display:block;min-height:0}.hero-health,.finance-hero-mark{width:100%;min-width:0;margin-top:22px}.overview-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.service-insights{grid-template-columns:1fr 1fr;gap:8px}.service-insight{min-height:96px;padding:12px;gap:9px}.service-insight>span{width:35px;height:35px}.service-insight strong{font-size:23px}.service-finance>article{display:block}.service-finance>article>span{display:block;padding:0 0 9px;border:0}.service-finance>article>div{padding-top:9px;border-top:1px solid var(--line);gap:7px}.dashboard-hero,.finance-hero{padding:24px 20px;border-radius:20px}.dashboard-hero h1,.finance-hero h1{font-size:29px}.overview-kpis{gap:8px}.overview-kpis article{min-height:91px;padding:12px;gap:9px}.overview-kpis article>span{width:36px;height:36px}.overview-kpis strong{font-size:23px}.chart-labels span:nth-child(even){display:none}.finance-totals{gap:9px}.finance-tile{padding:17px}.auth-features{display:none}}

/* HostPilot 1.4.1 — refined analytics and financial presentation */
.service-finance-panel{margin-bottom:22px;overflow:hidden;border:1px solid color-mix(in srgb,var(--primary) 12%,var(--line));border-radius:19px;background:linear-gradient(135deg,color-mix(in srgb,var(--surface-2) 68%,var(--surface)),var(--surface));box-shadow:0 12px 35px rgba(20,37,61,.055)}.service-finance-panel>header{min-height:88px;padding:18px 21px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px}.service-finance-panel>header>span{width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#6179f5,#4766ff);color:#fff;display:grid;place-items:center;box-shadow:0 9px 20px #4766ff26}.service-finance-panel>header>span svg{width:20px}.service-finance-panel>header small{display:block;margin-bottom:2px;color:var(--primary);font-size:8px;font-weight:850;letter-spacing:1.2px}.service-finance-panel>header strong{display:block;font-size:15px}.service-finance-panel>header p{margin:3px 0 0;font-size:9px}.portfolio-finance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(345px,1fr));gap:13px;padding:15px}.portfolio-finance-card{position:relative;overflow:hidden;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 7px 22px rgba(23,39,62,.045)}.portfolio-finance-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#4766ff,#42c59a)}.portfolio-finance-card.loss:before{background:linear-gradient(90deg,#ec6271,#f3a14d)}.portfolio-finance-head{display:grid;grid-template-columns:43px minmax(0,1fr) auto;align-items:center;gap:11px}.currency-mark{width:43px;height:43px;border-radius:12px;background:#172843;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:850;letter-spacing:.4px}.portfolio-finance-head strong,.portfolio-finance-head small{display:block}.portfolio-finance-head strong{font-size:11px}.portfolio-finance-head small{margin-top:2px;font-size:8px}.margin-badge{padding:6px 8px;border-radius:8px;background:var(--success-soft);color:var(--success);font-size:8px;font-style:normal;font-weight:800}.loss .margin-badge{background:var(--danger-soft);color:var(--danger)}.portfolio-profit{margin:17px 0 13px;padding:15px;border:1px solid color-mix(in srgb,var(--success) 16%,var(--line));border-radius:13px;background:linear-gradient(110deg,color-mix(in srgb,var(--success-soft) 70%,var(--surface)),var(--surface));display:flex;align-items:center;gap:11px}.portfolio-profit>span{width:35px;height:35px;border-radius:10px;background:var(--success);color:#fff;display:grid;place-items:center}.portfolio-profit>span svg{width:16px}.portfolio-profit small,.portfolio-profit strong{display:block}.portfolio-profit small{font-size:8px}.portfolio-profit strong{margin-top:2px;color:var(--success);font-size:19px}.loss .portfolio-profit{border-color:color-mix(in srgb,var(--danger) 16%,var(--line));background:linear-gradient(110deg,color-mix(in srgb,var(--danger-soft) 65%,var(--surface)),var(--surface))}.loss .portfolio-profit>span{background:var(--danger)}.loss .portfolio-profit strong{color:var(--danger)}.portfolio-finance-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px}.portfolio-finance-metrics>div{padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);display:grid;grid-template-columns:25px 1fr;align-items:center;column-gap:7px}.portfolio-finance-metrics>div>span{grid-row:1/3;width:25px;height:25px;border-radius:8px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.portfolio-finance-metrics>div:nth-child(2)>span{background:var(--warning-soft);color:#b17914}.portfolio-finance-metrics svg{width:12px}.portfolio-finance-metrics small,.portfolio-finance-metrics strong{display:block}.portfolio-finance-metrics small{font-size:7px}.portfolio-finance-metrics strong{margin-top:2px;font-size:10px}.portfolio-cost-ratio{margin-top:13px}.portfolio-cost-ratio>span{display:flex;justify-content:space-between;align-items:center}.portfolio-cost-ratio small{font-size:8px}.portfolio-cost-ratio b{font-size:9px}.portfolio-cost-ratio>div{height:6px;margin-top:7px;overflow:hidden;border-radius:8px;background:var(--surface-3)}.portfolio-cost-ratio i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#8ca0f8,#4766ff)}.portfolio-finance-empty{grid-column:1/-1;min-height:115px;padding:22px;border:1px dashed var(--line);border-radius:14px;background:var(--surface);display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.portfolio-finance-empty>svg{width:25px;color:var(--muted-2)}.portfolio-finance-empty strong,.portfolio-finance-empty span{display:block}.portfolio-finance-empty strong{color:var(--text);font-size:12px}.portfolio-finance-empty span{margin-top:3px;font-size:9px}
.professional-chart{position:relative;padding:4px 0 0}.professional-chart .chart-legend{min-height:34px;margin-bottom:4px;padding:0 5px;display:flex;align-items:center;gap:16px;color:var(--muted);font-size:9px}.chart-legend>span{display:inline-flex;align-items:center;gap:6px}.chart-legend i{width:9px;height:9px;border-radius:3px}.chart-legend i.revenue{background:#5572ff}.chart-legend i.cost{background:#b6c1d4}.chart-legend i.profit{width:15px;height:3px;border-radius:5px;background:#20a77b}.chart-legend em{margin-left:auto;font-style:normal;font-weight:700}.professional-chart svg{width:100%;max-height:340px}.chart-axis line{stroke:color-mix(in srgb,var(--line) 72%,transparent);stroke-width:1;stroke-dasharray:4 5}.chart-axis text,.chart-month text{fill:var(--muted);font-family:Inter,system-ui,sans-serif;font-size:9px}.zero-line{stroke:color-mix(in srgb,var(--muted) 35%,var(--line));stroke-width:1.3}.revenue-bar{fill:url(#revenueBar);transition:opacity .18s}.cost-bar{fill:#b6c1d4;transition:opacity .18s}.chart-month:hover .revenue-bar,.chart-month:hover .cost-bar{opacity:.72}.profit-line{fill:none;stroke:#20a77b;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.profit-point{fill:var(--surface);stroke:#20a77b;stroke-width:3;transition:r .18s}.profit-point:hover{r:7}.profit-point.negative{stroke:#ec6271}.chart-note{min-height:35px;margin:0 5px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--muted);display:flex;align-items:center;gap:7px;font-size:8px}.chart-note svg{width:13px;color:var(--primary)}.analytics-card .card-body{padding-top:8px}
.auth-page{background:radial-gradient(circle at 12% 12%,#8299cf73 0,transparent 29%),radial-gradient(circle at 88% 82%,#5675bc52 0,transparent 30%),linear-gradient(135deg,#9eafd1 0,#c3cde1 44%,#879dc6 100%)}.auth-page:before{inset:0!important;width:auto!important;height:auto!important;clip-path:none!important;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px)!important;background-size:44px 44px!important;opacity:1!important}.auth-page:after{left:auto!important;right:-150px!important;top:-190px!important;bottom:auto!important;width:540px!important;height:540px!important;clip-path:none!important;border:1px solid #ffffff22;border-radius:50%;background:#4766ff20!important;box-shadow:0 0 0 90px #ffffff08,0 0 0 180px #ffffff05;opacity:1!important}.auth-form-panel{background:transparent}.auth-form-wrap{border-color:#ffffff9c;background:linear-gradient(145deg,#f5f7fcf7,#e9eef8f2);box-shadow:0 30px 85px rgba(22,39,72,.24)}.auth-form-wrap input:not([type=checkbox]){background:#ffffffa8;border-color:#c8d2e3}.auth-security{border-color:#d6deeb}.auth-help{color:#65748d!important}
@media(max-width:760px){.auth-page{background:radial-gradient(circle at 10% 8%,#7d94ca66 0,transparent 35%),linear-gradient(145deg,#a7b6d3,#c8d1e3 52%,#8fa5cc)}.professional-chart{overflow-x:auto;overscroll-behavior-inline:contain}.professional-chart svg{min-width:660px}.chart-note{position:sticky;left:0;width:calc(100vw - 80px)}.portfolio-finance-grid{grid-template-columns:1fr}.service-finance-panel>header{padding:15px}}
@media(max-width:480px){.portfolio-finance-grid{padding:10px}.portfolio-finance-card{padding:14px}.portfolio-finance-head{grid-template-columns:38px minmax(0,1fr)}.currency-mark{width:38px;height:38px}.margin-badge{grid-column:1/-1;width:max-content}.portfolio-finance-metrics{grid-template-columns:1fr}.chart-legend{position:sticky;left:0;width:620px}.auth-form-wrap{background:linear-gradient(145deg,#f2f5fbf5,#e5ebf6f2)}}
.professional-chart circle.profit-point{fill:var(--surface);stroke:#20a77b}.professional-chart circle.profit-point.negative{stroke:#ec6271}

/* HostPilot 1.5.0 — company scope, large-screen balance and readable cards */
.hp-panel .topbar,.menu-bar{width:100%;max-width:none;left:0;right:0}.topbar-inner,.menu-center,.workspace,.panel-footer{width:min(calc(100% - 48px),1540px);max-width:1540px;margin-left:auto;margin-right:auto}.topbar-inner{grid-template-columns:minmax(215px,245px) minmax(280px,1fr) auto;gap:22px}.menu-center{justify-content:center;padding-left:0;padding-right:0}.workspace{padding:34px 0 28px}.panel-footer{padding-left:18px;padding-right:18px}.top-actions{flex-wrap:nowrap}.company-scope{height:44px;min-width:178px;max-width:220px;padding:0 10px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-align:left}.company-scope:hover,.company-scope.is-filtered{border-color:color-mix(in srgb,var(--primary) 38%,var(--line));background:color-mix(in srgb,var(--primary-soft) 45%,var(--surface))}.company-scope>svg:first-child{width:17px;color:var(--primary);flex:none}.company-scope>svg:last-child{width:14px;color:var(--muted);flex:none}.company-scope>span{min-width:0;flex:1}.company-scope small,.company-scope strong{display:block}.company-scope small{font-size:7px;letter-spacing:.8px;color:var(--muted);font-weight:800}.company-scope strong{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}

.portfolio-health .card-head{padding:22px 24px 16px}.portfolio-health .section-kicker{font-size:10px;letter-spacing:1.45px}.portfolio-health .card-head h3{font-size:20px;letter-spacing:-.35px}.portfolio-health .card-body{min-height:290px;padding:22px 24px 25px;display:grid;grid-template-columns:180px minmax(0,1fr);align-content:center;align-items:center;gap:22px}.health-donut{width:176px;height:176px;margin:0;border:10px solid var(--surface-3);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line) 75%,transparent),0 12px 28px rgba(24,42,68,.08)}.health-donut:after{width:124px;height:124px;box-shadow:0 0 0 1px var(--line)}.health-donut strong{font-size:34px;letter-spacing:-1px}.health-donut small{margin-top:3px;font-size:12px}.health-legend{grid-template-columns:1fr;gap:9px}.health-legend>span{min-height:43px;padding:10px 12px;grid-template-columns:10px 1fr auto;gap:10px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);font-size:12px}.health-legend i{width:10px;height:10px}.health-legend b{font-size:13px}

.service-finance-panel>header{min-height:100px;padding:20px 24px}.service-finance-panel>header>span{width:50px;height:50px}.service-finance-panel>header small{font-size:10px;letter-spacing:1.35px}.service-finance-panel>header strong{font-size:19px;letter-spacing:-.25px}.service-finance-panel>header p{margin-top:5px;font-size:12px;line-height:1.5}.portfolio-finance-grid{grid-template-columns:1fr;gap:16px;padding:18px}.portfolio-finance-card{padding:20px;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(255px,1fr) minmax(370px,1.35fr);align-items:center;gap:18px 22px}.portfolio-finance-head{grid-template-columns:50px minmax(0,1fr);gap:12px}.currency-mark{width:50px;height:50px;font-size:13px}.portfolio-finance-head strong{font-size:14px}.portfolio-finance-head small{margin-top:4px;font-size:11px}.margin-badge{grid-column:1/-1;width:max-content;margin-left:62px;padding:6px 9px;font-size:10px}.portfolio-profit{margin:0;padding:16px}.portfolio-profit>span{width:43px;height:43px}.portfolio-profit>span svg{width:19px}.portfolio-profit small{font-size:11px}.portfolio-profit strong{margin-top:4px;font-size:23px}.portfolio-finance-metrics{gap:12px}.portfolio-finance-metrics>div{min-height:70px;padding:13px;grid-template-columns:34px 1fr;column-gap:10px}.portfolio-finance-metrics>div>span{width:34px;height:34px}.portfolio-finance-metrics svg{width:15px}.portfolio-finance-metrics small{font-size:10px}.portfolio-finance-metrics strong{margin-top:4px;font-size:13px}.portfolio-cost-ratio{grid-column:1/-1;margin-top:0;padding-top:15px;border-top:1px solid var(--line)}.portfolio-cost-ratio small,.portfolio-cost-ratio b{font-size:11px}.portfolio-cost-ratio>div{height:8px;margin-top:9px}

.hp-dialog[data-kind="form"]{width:min(1180px,calc(100vw - 42px));max-height:min(860px,calc(100dvh - 28px))}.hp-dialog[data-kind="form"] .dialog-content{overflow:hidden;padding-bottom:0}.hp-dialog[data-kind="form"] #recordForm{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}.hp-dialog[data-kind="form"] #recordForm>.form-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;padding:2px 5px 16px 1px}.hp-dialog[data-kind="form"] .dialog-actions{position:relative;bottom:auto;z-index:5;margin:0 -27px;padding:15px 27px 17px;background:var(--surface);box-shadow:0 -10px 25px rgba(20,35,52,.055)}.hp-dialog[data-kind="quick"] .dialog-content{padding-bottom:28px}.hp-dialog[data-kind="quick"] .quick-grid{margin-bottom:4px}
.hp-dialog[data-kind="form"] .dialog-content>.history-service{margin:0 0 10px}.hp-dialog[data-kind="form"] .dialog-content>.history-service+#recordForm{height:calc(100% - 32px)}

.hp-dialog[data-kind="scope"]{width:min(690px,calc(100vw - 42px));max-height:min(760px,calc(100dvh - 28px))}.hp-dialog[data-kind="scope"] .dialog-content{padding-bottom:24px;overflow-y:auto}.scope-dialog-intro{display:flex;align-items:flex-start;gap:13px;margin-bottom:16px;padding:15px;border:1px solid color-mix(in srgb,var(--primary) 15%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--primary-soft) 52%,var(--surface))}.scope-dialog-intro>svg{width:22px;color:var(--primary);flex:none}.scope-dialog-intro strong{font-size:14px}.scope-dialog-intro p{margin:4px 0 0;font-size:11px;line-height:1.55}.scope-all,.scope-result{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text)}.scope-all{min-height:62px;padding:11px 14px;border-radius:13px;display:grid;grid-template-columns:36px 1fr 18px;align-items:center;gap:11px;text-align:left}.scope-all:hover,.scope-all.active,.scope-result:hover,.scope-result.active{border-color:color-mix(in srgb,var(--primary) 38%,var(--line));background:color-mix(in srgb,var(--primary-soft) 52%,var(--surface))}.scope-all>svg:first-child{width:19px;color:var(--primary)}.scope-all>svg:last-child{width:17px;color:var(--success)}.scope-all strong,.scope-all small,.scope-result strong,.scope-result small{display:block}.scope-all strong,.scope-result strong{font-size:13px}.scope-all small,.scope-result small{margin-top:3px;color:var(--muted);font-size:10px}.scope-search{position:relative;display:flex;align-items:center;margin:14px 0 10px}.scope-search>svg{position:absolute;left:13px;width:17px;color:var(--muted);z-index:1}.dialog-content .scope-search input{padding-left:42px!important;min-height:48px!important;font-size:13px!important}.scope-results{display:grid;gap:7px}.scope-result{min-height:58px;padding:9px 12px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.scope-result>span{min-width:0;display:flex;align-items:center;gap:11px}.scope-result>span>svg{width:18px;color:var(--primary);flex:none}.scope-result>svg{width:17px;color:var(--muted);flex:none}.scope-result.active>svg{color:var(--success)}.scope-empty{padding:24px;text-align:center;color:var(--muted);font-size:12px}

@media(min-width:1100px) and (min-height:760px){.auth-page{display:grid;place-items:center}.auth-layout{width:min(calc(100% - 52px),1420px);height:min(740px,calc(100svh - 64px));min-height:0;padding:0;grid-template-columns:minmax(0,1.55fr) minmax(400px,.72fr);align-items:center}.auth-story{height:100%;min-height:0;padding:36px 42px}.auth-intro{padding:42px 0 20px}.auth-intro h1{font-size:clamp(42px,3.35vw,55px)}.auth-console{margin:5px 0 18px}.auth-features article{min-height:82px}.auth-form-panel{height:100%;min-height:0;align-items:center}.auth-form-wrap{min-height:610px;max-height:660px;padding:44px 45px}}
@media(min-width:1700px) and (min-height:900px){.auth-layout{height:760px;max-width:1460px}.auth-form-wrap{min-height:630px}.auth-intro{padding-top:48px}}
@media(max-width:1450px){.topbar-inner{grid-template-columns:205px minmax(235px,1fr) auto;gap:13px}.company-scope{min-width:150px;max-width:175px}.demo-shortcut span,.logout-action span{display:none}.demo-shortcut,.logout-action{width:42px;padding:0}.menu-item{padding-inline:9px;font-size:11px}}
@media(max-width:1120px){.company-scope{min-width:44px;width:44px;padding:0;justify-content:center}.company-scope>span,.company-scope>svg:last-child{display:none}.portfolio-finance-card{grid-template-columns:1fr 1fr}.portfolio-finance-metrics{grid-column:1/-1}.portfolio-health .card-body{grid-template-columns:150px 1fr}.health-donut{width:150px;height:150px}.health-donut:after{width:105px;height:105px}}
@media(max-width:900px){.topbar-inner,.menu-center,.workspace,.panel-footer{width:calc(100% - 32px)}.workspace{padding-top:27px}.company-scope{display:flex}.portfolio-finance-card{grid-template-columns:1fr}.portfolio-finance-metrics{grid-column:auto}.portfolio-cost-ratio{grid-column:auto}.margin-badge{margin-left:62px}.portfolio-health .card-body{grid-template-columns:170px 1fr}}
@media(max-width:640px){.topbar-inner,.menu-center,.workspace,.panel-footer{width:calc(100% - 20px)}.company-scope{height:38px;min-width:38px;width:38px}.hp-dialog[data-kind="form"]{width:calc(100vw - 14px);max-height:calc(100dvh - 14px)}.hp-dialog[data-kind="form"] .dialog-content{padding:14px 15px 0}.hp-dialog[data-kind="form"] .dialog-actions{margin:0 -15px;padding:12px 15px max(12px,env(safe-area-inset-bottom))}.portfolio-health .card-body{min-height:0;grid-template-columns:1fr;justify-items:center}.health-legend{grid-template-columns:1fr 1fr}.portfolio-finance-card{padding:16px}.portfolio-finance-metrics{grid-template-columns:1fr}.hp-dialog[data-kind="quick"] .dialog-content{padding-bottom:max(22px,env(safe-area-inset-bottom))}}

/* HostPilot 1.6.0 — independent firm administration */
.company-scope:disabled{cursor:default;opacity:1}.company-scope:disabled>svg:last-child{display:none}.firm-management{overflow:hidden}.firm-management-head{min-height:112px;padding:22px 24px;border-bottom:1px solid var(--line);background:linear-gradient(120deg,color-mix(in srgb,var(--primary-soft) 55%,var(--surface)),var(--surface));display:flex;align-items:center;justify-content:space-between;gap:24px}.firm-management-head h2{margin:0;font-size:21px}.firm-management-head p{margin:5px 0 0;font-size:12px}.tenant-security{padding:9px 12px;border:1px solid color-mix(in srgb,var(--success) 22%,var(--line));border-radius:11px;background:var(--success-soft);color:var(--success);display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:750;white-space:nowrap}.tenant-security svg{width:16px}.firm-management>.toolbar{padding:15px 18px;border-bottom:1px solid var(--line);background:var(--surface)}.firm-management .toolbar-search{max-width:500px}.firm-login{display:inline-flex;align-items:center;gap:6px;font-weight:750}.firm-login svg{width:15px;color:var(--primary)}.firm-management .data-table td{font-size:12px}.firm-management .data-table td>strong{font-size:13px}.firm-management .data-table td>small{font-size:10px}.hp-dialog .password-rules.field-full{margin-top:-4px}
@media(max-width:760px){.firm-management-head{align-items:flex-start;flex-direction:column}.tenant-security{white-space:normal}.firm-management .toolbar-search{max-width:none}}

/* HostPilot 1.7.0 — firm-aware forms, executive analytics and grouped navigation */
html{min-height:100%;background:#f3f6fa}html.dark{background:#0f1725}.hp-panel{display:flex;min-height:100svh;flex-direction:column}.workspace{flex:1}.panel-footer{flex:none}

.menu-center{overflow:visible;gap:8px}.menu-group{position:relative}.menu-group-trigger{min-height:40px;padding:8px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700}.menu-group-trigger>svg:first-child{width:17px}.menu-group-trigger>svg:last-child{width:14px;margin-left:2px;transition:transform .18s}.menu-group-trigger:hover,.menu-group.has-active .menu-group-trigger,.menu-group.open .menu-group-trigger{border-color:color-mix(in srgb,var(--primary) 18%,var(--line));background:var(--primary-soft);color:var(--primary)}.menu-group.open .menu-group-trigger>svg:last-child{transform:rotate(180deg)}.menu-dropdown{position:absolute;top:calc(100% + 12px);left:50%;z-index:80;width:315px;padding:9px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 24px 70px rgba(11,24,43,.2);opacity:0;visibility:hidden;transform:translate(-50%,-7px);transition:.16s ease}.menu-group.open .menu-dropdown{opacity:1;visibility:visible;transform:translate(-50%,0)}.menu-drop-item{width:100%;min-height:62px;padding:9px 10px;border:0;border-radius:11px;background:transparent;color:var(--text);display:grid;grid-template-columns:38px 1fr;align-items:center;gap:11px;text-align:left}.menu-drop-item:hover,.menu-drop-item.active{background:var(--primary-soft);color:var(--primary)}.menu-drop-item>span{width:38px;height:38px;border-radius:11px;background:var(--surface-2);display:grid;place-items:center;color:var(--primary)}.menu-drop-item.active>span{background:var(--primary);color:#fff}.menu-drop-item svg{width:18px}.menu-drop-item strong,.menu-drop-item small{display:block}.menu-drop-item strong{font-size:12px}.menu-drop-item small{margin-top:3px;font-size:10px;font-weight:500}

/* The form body owns scrolling; the submit bar is always inside the viewport. */
.hp-dialog[data-kind="form"]{height:min(860px,calc(100dvh - 28px))}.hp-dialog[data-kind="form"] .dialog-content{min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden!important}.hp-dialog[data-kind="form"] #recordForm{height:auto!important;min-height:0;flex:1;display:flex!important;flex-direction:column}.hp-dialog[data-kind="form"] #recordForm>.form-grid{flex:1;min-height:0;overflow-y:auto!important;padding:3px 7px 20px 2px;scrollbar-gutter:stable}.hp-dialog[data-kind="form"] .dialog-actions{position:relative!important;flex:none;margin:0 -22px!important;padding:14px 22px max(15px,env(safe-area-inset-bottom))!important;border-top:1px solid var(--line);background:var(--surface);box-shadow:0 -12px 28px rgba(17,31,51,.08)!important}.firm-picker{grid-column:1/-1;padding:13px 14px;border:1px solid color-mix(in srgb,var(--primary) 17%,var(--line));border-radius:13px;background:color-mix(in srgb,var(--primary-soft) 35%,var(--surface))}.firm-picker .lookup-selected{background:var(--surface);color:var(--primary)}

.demo-credentials{display:block;width:max-content;max-width:100%;margin-top:9px;padding:7px 10px;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--line));border-radius:9px;background:var(--surface);color:var(--text);font-size:11px}.demo-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}

.report-hero,.overview-hero-v17{position:relative;overflow:hidden;min-height:210px;margin-bottom:18px;padding:32px 36px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--line));border-radius:24px;background:linear-gradient(125deg,#172c53 0,#274783 60%,#506df0 145%);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:34px;box-shadow:0 22px 54px rgba(24,48,91,.16)}.report-hero:after,.overview-hero-v17:after{content:"";position:absolute;right:-70px;top:-145px;width:390px;height:390px;border:1px solid #ffffff1f;border-radius:50%;box-shadow:0 0 0 70px #ffffff0a,0 0 0 140px #ffffff08}.report-hero>div,.overview-hero-v17>div{position:relative;z-index:1}.report-hero .eyebrow,.overview-hero-v17 .eyebrow{margin-bottom:10px;color:#aebdff}.report-hero h1,.overview-hero-v17 h1{margin:0 0 9px;font-size:32px;letter-spacing:-1px}.report-hero p,.overview-hero-v17 p{max-width:690px;margin:0;color:#dbe5fa;font-size:14px;line-height:1.75}.report-hero-side{min-width:285px;padding:18px 20px;border:1px solid #ffffff24;border-radius:17px;background:#ffffff0d}.report-hero-side>span,.report-hero-side>strong,.report-hero-side>small{display:block}.report-hero-side>span{color:#aebdff;font-size:11px;font-weight:800}.report-hero-side>span svg{width:15px;margin-right:6px}.report-hero-side>strong{margin-top:10px;font-size:17px}.report-hero-side>small{margin-top:4px;color:#dbe5fa}.overview-hero-v17 .hero-actions{margin-top:21px}.overview-score{min-width:270px;padding:20px 22px;border:1px solid #ffffff28;border-radius:18px;background:#ffffff10}.overview-score>span,.overview-score>strong,.overview-score>small{display:block}.overview-score>span{font-size:11px;font-weight:800;color:#c8d2ff}.overview-score>span svg{width:15px;margin-right:6px}.overview-score>strong{margin-top:7px;font-size:38px}.overview-score>small{color:#dbe5fa}.overview-score>div{height:7px;margin-top:14px;overflow:hidden;border-radius:8px;background:#ffffff20}.overview-score i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#52ddb0,#8df1cf)}

.report-currency-tabs{display:flex;align-items:stretch;gap:8px;margin:0 0 18px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--surface);width:max-content;max-width:100%;overflow-x:auto}.report-currency-tabs button{min-width:102px;padding:8px 13px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:12px;font-weight:850;text-align:left}.report-currency-tabs button small{display:block;margin-top:2px;font-size:9px;font-weight:600}.report-currency-tabs button.active{background:var(--primary);color:#fff;box-shadow:0 7px 18px color-mix(in srgb,var(--primary) 30%,transparent)}.report-currency-tabs button.active small{color:#dfe4ff}
.executive-kpis,.overview-kpis-v17{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}.executive-kpis article,.overview-kpis-v17 article{min-height:128px;padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 8px 25px rgba(21,39,63,.045);display:flex;align-items:flex-start;gap:12px}.executive-kpis article>span,.overview-kpis-v17 article>span{width:38px;height:38px;border-radius:11px;background:var(--surface-2);color:var(--muted);display:grid;place-items:center;flex:none}.executive-kpis article.primary>span,.overview-kpis-v17 article:first-child>span{background:var(--primary-soft);color:var(--primary)}.executive-kpis article.success>span{background:var(--success-soft);color:var(--success)}.executive-kpis article.warning>span{background:var(--warning-soft);color:#b17914}.executive-kpis article.danger>span{background:var(--danger-soft);color:var(--danger)}.executive-kpis article svg,.overview-kpis-v17 article svg{width:18px}.executive-kpis small,.executive-kpis strong,.executive-kpis em,.overview-kpis-v17 small,.overview-kpis-v17 strong,.overview-kpis-v17 em{display:block}.executive-kpis small,.overview-kpis-v17 small{font-size:10px;font-weight:750}.executive-kpis strong,.overview-kpis-v17 strong{margin-top:6px;font-size:17px;line-height:1.2;letter-spacing:-.25px}.overview-kpis-v17 strong{font-size:25px}.executive-kpis em,.overview-kpis-v17 em{margin-top:7px;color:var(--muted);font-size:9px;font-style:normal;line-height:1.45}

.executive-grid-main{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(290px,.62fr);gap:18px;margin-bottom:18px}.report-chart-card{overflow:hidden}.report-chart-card .card-head{border-bottom:1px solid var(--line)}.report-chart-card .card-body{padding:12px 20px 18px}.chart-total{text-align:right}.chart-total small,.chart-total strong{display:block}.chart-total strong{margin-top:4px;font-size:19px}.executive-chart{overflow-x:auto}.executive-chart .chart-key{min-width:720px;padding:4px 4px 8px;display:flex;gap:17px;color:var(--muted);font-size:10px}.chart-key span{display:inline-flex;align-items:center;gap:6px}.chart-key i{width:11px;height:4px;border-radius:5px}.chart-key .sales{background:#5572ff}.chart-key .expense{background:#ef9b52}.chart-key .gain{width:8px;height:8px;background:#22b887}.executive-chart svg{display:block;min-width:720px;width:100%;height:auto}.executive-grid line{stroke:color-mix(in srgb,var(--line) 78%,transparent);stroke-dasharray:4 5}.executive-grid text,.executive-point text{fill:var(--muted);font-size:10px;font-family:Inter,system-ui,sans-serif}.sales-area{fill:url(#salesAreaV17)}.sales-line{fill:none;stroke:#5572ff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.expense-line{fill:none;stroke:#ef9b52;stroke-width:3;stroke-dasharray:7 6;stroke-linecap:round;stroke-linejoin:round}.sales-dot{fill:var(--surface);stroke:#5572ff;stroke-width:3}.expense-dot{fill:var(--surface);stroke:#ef9b52;stroke-width:2.5}.profit-column{fill:#22b887;opacity:.42}.profit-column.negative{fill:#ef6170}.margin-intelligence .card-body{padding-top:8px}.margin-gauge{--score:0;width:190px;height:190px;margin:8px auto 22px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--success) calc(var(--score)*1%),var(--surface-3) 0);position:relative}.margin-gauge:after{content:"";position:absolute;inset:14px;border-radius:50%;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}.margin-gauge>span{position:relative;z-index:1;text-align:center}.margin-gauge strong,.margin-gauge small{display:block}.margin-gauge strong{font-size:30px}.margin-gauge small{margin-top:3px}.intelligence-list{display:grid;gap:8px}.intelligence-list>span{padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.intelligence-list b{color:var(--text)}

.report-breakdown,.operations-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.kind-performance,.customer-contribution,.due-list-v17,.recent-finance,.provider-network{padding-top:2px}.kind-performance article{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--line)}.kind-performance article:first-child{border-top:0}.kind-performance article>span{width:40px;height:40px;border-radius:11px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.kind-performance strong,.kind-performance small{display:block}.kind-performance small{margin-top:3px}.kind-performance div>div{height:6px;margin-top:8px;overflow:hidden;border-radius:7px;background:var(--surface-3)}.kind-performance div>div i{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#5572ff,#22b887)}.kind-performance>b{font-size:12px}.customer-contribution>div,.due-list-v17>div,.recent-finance>div{display:flex;align-items:center;gap:11px;padding:13px 0;border-top:1px solid var(--line)}.customer-contribution>div:first-child,.due-list-v17>div:first-child,.recent-finance>div:first-child{border-top:0}.customer-contribution>div>span{width:31px;height:31px;border-radius:9px;background:var(--surface-2);display:grid;place-items:center;color:var(--primary);font-size:10px;font-weight:850}.customer-contribution p,.due-list-v17 p,.recent-finance p{min-width:0;flex:1;margin:0}.customer-contribution strong,.customer-contribution small,.due-list-v17 strong,.due-list-v17 small,.recent-finance strong,.recent-finance small{display:block}.customer-contribution strong,.due-list-v17 strong,.recent-finance strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.customer-contribution small,.due-list-v17 small,.recent-finance small{margin-top:3px;font-size:10px}.customer-contribution b,.recent-finance b{font-size:11px;white-space:nowrap}.due-list-v17>div>span:first-child,.recent-finance>div>span:first-child{width:38px;height:38px;border-radius:11px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.due-list-v17 .row-action{flex:none}

.health-intelligence .card-body{padding-top:6px}.health-score-ring{--healthy:0;--warning:0;--danger:0;width:184px;height:184px;margin:4px auto 22px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#33b78b 0 calc(var(--healthy)*1%),#f0aa3d 0 calc(var(--warning)*1%),#ed6170 0 calc(var(--danger)*1%),#98a7bc 0);position:relative}.health-score-ring:after{content:"";position:absolute;inset:17px;border-radius:50%;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}.health-score-ring span{position:relative;z-index:1;text-align:center}.health-score-ring strong,.health-score-ring small{display:block}.health-score-ring strong{font-size:31px}.health-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.health-stats>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:8px}.health-stats i{width:8px;height:8px;border-radius:50%}.health-stats .active{background:#33b78b}.health-stats .expiring{background:#f0aa3d}.health-stats .expired{background:#ed6170}.health-stats .paused{background:#98a7bc}.health-stats span,.health-stats small{display:block}.health-stats span{font-size:10px;font-weight:750}.health-stats small{margin-top:2px;font-size:8px;font-weight:500}.health-stats b{font-size:12px}.renewal-radar{height:235px;display:grid;grid-template-columns:repeat(6,1fr);align-items:end;gap:12px;padding:14px 5px 0}.renewal-radar>div{height:100%;display:grid;grid-template-rows:22px 1fr 22px 18px;text-align:center;align-items:end}.radar-value{font-size:11px;font-weight:850}.radar-track{position:relative;width:28px;height:100%;margin:auto;border-radius:9px 9px 4px 4px;background:var(--surface-3);overflow:hidden}.radar-track i{position:absolute;left:0;right:0;bottom:0;border-radius:9px 9px 4px 4px;background:linear-gradient(180deg,#7186ff,#4766ff)}.renewal-radar strong{font-size:10px;text-transform:capitalize}.renewal-radar small{font-size:8px}.provider-network>div{display:grid;grid-template-columns:minmax(140px,.85fr) 1fr 28px;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.provider-network>div:first-child{border-top:0}.provider-network p{margin:0}.provider-network strong,.provider-network small{display:block}.provider-network strong{font-size:11px}.provider-network small{margin-top:3px;font-size:9px}.provider-network>div>span{height:7px;overflow:hidden;border-radius:8px;background:var(--surface-3)}.provider-network i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#5572ff,#7f93fa)}.provider-network b{text-align:right;font-size:11px}

@media(max-width:1250px){.executive-kpis{grid-template-columns:repeat(3,1fr)}.overview-kpis-v17{grid-template-columns:repeat(4,1fr)}.company-scope{min-width:145px!important;width:auto!important;max-width:170px}.company-scope>span{display:block!important}.company-scope>svg:last-child{display:block!important}}
@media(max-width:1050px){.menu-center{justify-content:flex-start;overflow-x:auto;overflow-y:visible}.menu-dropdown{position:fixed;top:145px;left:50%;width:min(420px,calc(100vw - 28px))}.executive-grid-main{grid-template-columns:1fr}.health-intelligence .card-body{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:20px}.margin-intelligence .card-body{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:20px}.overview-kpis-v17{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.report-hero,.overview-hero-v17{padding:25px;align-items:flex-start;flex-direction:column}.report-hero h1,.overview-hero-v17 h1{font-size:27px}.report-hero-side,.overview-score{width:100%;min-width:0}.executive-kpis{grid-template-columns:1fr 1fr}.report-breakdown,.operations-grid{grid-template-columns:1fr}.health-intelligence .card-body,.margin-intelligence .card-body{display:block}.menu-group-trigger{padding-inline:10px}.menu-dropdown{top:139px}.hp-dialog[data-kind="form"] .dialog-content{padding:14px 15px 0}.hp-dialog[data-kind="form"] .dialog-actions{margin:0 -15px!important;padding-inline:15px!important}.demo-grid{grid-template-columns:1fr}}
@media(max-width:520px){.executive-kpis,.overview-kpis-v17{grid-template-columns:1fr}.executive-kpis article,.overview-kpis-v17 article{min-height:104px}.report-currency-tabs{width:100%}.health-stats{grid-template-columns:1fr}.renewal-radar{gap:6px}.radar-track{width:22px}.menu-group-trigger span{display:none}.menu-group-trigger>svg:last-child{display:none}.company-scope{height:38px;min-width:38px!important;width:38px!important;padding:0;justify-content:center}.company-scope>span,.company-scope>svg:last-child{display:none!important}}

/* HostPilot 1.7.1 — refined authentication, firm switcher and service editor */
.auth-form-wrap form.stack{gap:18px}.auth-form-wrap form.stack>label{gap:8px;color:#243753;font-size:12px;font-weight:780;letter-spacing:.02em}.auth-form-wrap .input-with-icon{height:58px;overflow:hidden;border:1px solid #cbd6e6;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(29,48,82,.045);transition:border-color .18s,box-shadow .18s,background .18s}.auth-form-wrap .input-with-icon:before{content:"";position:absolute;inset:0 auto 0 0;width:50px;border-right:1px solid #e1e7f0;background:linear-gradient(180deg,#f8faff,#f0f4fa);z-index:1}.auth-form-wrap .input-with-icon:focus-within{border-color:#647cff;background:#fff;box-shadow:0 0 0 4px #4766ff17,0 10px 26px rgba(38,60,105,.08)}.auth-form-wrap .input-with-icon:focus-within:before{border-color:#d5dcff;background:#f0f3ff}.auth-form-wrap .input-with-icon>svg{left:16px!important;width:18px;height:18px;color:#7384a3!important;z-index:3}.auth-form-wrap .input-with-icon:focus-within>svg{color:#4766ff!important}.auth-form-wrap .input-with-icon input:not([type=checkbox]){height:56px!important;min-height:56px!important;padding:0 50px 0 64px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#172843;font-size:14px;font-weight:650;line-height:56px;position:relative;z-index:2}.auth-form-wrap .input-with-icon input[name="username"]{padding-right:18px!important}.auth-form-wrap .input-with-icon input::placeholder{color:#9aa7ba;font-weight:500}.auth-form-wrap .password-toggle{right:8px;width:40px;height:40px;border-radius:10px;color:#6f809d;z-index:4}.auth-form-wrap .password-toggle:hover{background:#eef2f8;color:#4766ff}.auth-form-wrap input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset!important;-webkit-text-fill-color:#172843!important}

.company-switcher{position:relative;flex:none}.company-scope{min-width:190px;max-width:235px;padding:0 11px 0 8px;background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface-2) 55%,var(--surface)));box-shadow:0 4px 13px rgba(17,31,51,.045)}.company-scope-symbol{width:30px!important;height:30px;display:grid!important;place-items:center;flex:none!important;border-radius:9px;background:var(--primary-soft);color:var(--primary)}.company-scope-symbol svg{width:16px;height:16px}.company-scope>span:nth-child(2){min-width:0;flex:1}.company-scope>svg:last-child{transition:transform .18s}.company-scope[aria-expanded="true"]{border-color:color-mix(in srgb,var(--primary) 50%,var(--line));background:var(--primary-soft);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent)}.company-scope[aria-expanded="true"]>svg:last-child{transform:rotate(180deg)}.company-scope-menu{position:absolute;top:calc(100% + 12px);right:0;z-index:160;width:min(405px,calc(100vw - 28px));padding:0;border:1px solid color-mix(in srgb,var(--primary) 17%,var(--line));border-radius:18px;background:var(--surface);box-shadow:0 28px 80px rgba(9,21,41,.24);overflow:hidden}.company-scope-menu>header{min-height:76px;padding:14px 15px;display:grid;grid-template-columns:38px 1fr 32px;align-items:center;gap:11px;border-bottom:1px solid var(--line);background:linear-gradient(125deg,color-mix(in srgb,var(--primary-soft) 76%,var(--surface)),var(--surface))}.company-scope-menu>header>span{width:38px;height:38px;border-radius:11px;background:var(--primary);color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px color-mix(in srgb,var(--primary) 22%,transparent)}.company-scope-menu>header>span svg{width:18px}.company-scope-menu>header strong,.company-scope-menu>header small{display:block}.company-scope-menu>header strong{font-size:13px}.company-scope-menu>header small{margin-top:3px;font-size:9px}.company-scope-menu>header button{width:32px;height:32px;padding:0;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);display:grid;place-items:center}.company-scope-menu>header button:hover{color:var(--primary);border-color:color-mix(in srgb,var(--primary) 28%,var(--line))}.company-scope-menu>header button svg{width:15px}.company-scope-search{position:relative;margin:12px 12px 8px;display:flex;align-items:center}.company-scope-search>svg{position:absolute;left:13px;z-index:2;width:16px;color:var(--muted)}.company-scope-search input{height:44px;min-height:44px!important;padding:0 13px 0 39px!important;border-radius:11px!important;background:var(--surface-2)!important;font-size:12px!important}.company-scope-results{max-height:318px;padding:4px 8px 9px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--primary) 25%,var(--line)) transparent}.company-scope-option{width:100%;min-height:59px;padding:8px 9px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--text);display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left}.company-scope-option+.company-scope-option{margin-top:3px}.company-scope-option:hover,.company-scope-option:focus-visible{border-color:var(--line);background:var(--surface-2)}.company-scope-option.active{border-color:color-mix(in srgb,var(--primary) 24%,var(--line));background:color-mix(in srgb,var(--primary-soft) 65%,var(--surface))}.company-option-symbol{width:38px;height:38px;border-radius:11px;background:var(--surface-2);color:var(--primary);display:grid;place-items:center}.company-scope-option.active .company-option-symbol{background:var(--primary);color:#fff}.company-option-symbol svg{width:18px}.company-scope-option strong,.company-scope-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-scope-option strong{font-size:12px}.company-scope-option small{margin-top:3px;font-size:9px}.company-scope-option>svg{width:16px;color:var(--muted)}.company-scope-option em{padding:5px 8px;border-radius:8px;background:var(--success-soft);color:var(--success);display:inline-flex;align-items:center;gap:4px;font-size:9px;font-style:normal;font-weight:850}.company-scope-option em svg{width:12px}.company-scope-loading,.company-scope-empty{display:block;padding:28px 18px;color:var(--muted);font-size:11px;text-align:center}.company-scope-empty.error{color:var(--danger)}.company-scope-menu>footer{padding:11px 14px;border-top:1px solid var(--line);background:var(--surface-2);color:var(--muted);display:flex;align-items:center;gap:7px;font-size:9px}.company-scope-menu>footer svg{width:14px;color:var(--success)}

.hp-dialog[data-kind="form"]{width:min(1260px,calc(100vw - 32px));height:auto;max-height:calc(100dvh - 24px);border-radius:24px}.hp-dialog[data-kind="form"] .dialog-head{min-height:92px;padding:17px 24px}.hp-dialog[data-kind="form"] .dialog-content{height:auto;min-height:0;padding:17px 22px 0!important;overflow:hidden!important}.hp-dialog[data-kind="form"] #recordForm{height:auto!important;min-height:0;max-height:calc(100dvh - 116px);display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important}.hp-dialog[data-kind="form"] .form-context{margin:0 0 12px;padding:9px 12px;border-radius:11px}.hp-dialog[data-kind="form"] .form-error{margin:0 0 10px}.service-form-shell{min-height:0;display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);gap:14px;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;padding:1px 2px 12px}.service-form-shell::-webkit-scrollbar,.hp-dialog[data-kind="form"] #recordForm>.form-grid::-webkit-scrollbar{display:none;width:0;height:0}.hp-dialog[data-kind="form"] #recordForm>.form-grid{scrollbar-width:none;scrollbar-gutter:auto!important}.service-form-panel{min-width:0;padding:15px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface-2) 62%,var(--surface)));box-shadow:0 8px 25px rgba(22,39,66,.035);align-self:start}.service-form-finance{border-color:color-mix(in srgb,var(--success) 15%,var(--line));background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--success-soft) 27%,var(--surface)))}.service-form-section-head{min-height:52px;margin-bottom:13px;padding-bottom:12px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;gap:11px}.service-form-section-head>span{width:38px;height:38px;border-radius:11px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;flex:none}.service-form-finance .service-form-section-head>span{background:var(--success-soft);color:var(--success)}.service-form-section-head svg{width:18px}.service-form-section-head small,.service-form-section-head strong,.service-form-section-head p{display:block}.service-form-section-head small{margin-bottom:2px;color:var(--primary);font-size:8px;font-weight:850;letter-spacing:1px}.service-form-finance .service-form-section-head small{color:var(--success)}.service-form-section-head strong{font-size:14px}.service-form-section-head p{margin:2px 0 0;font-size:9px;line-height:1.45}.service-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 11px}.service-panel-grid>label,.service-panel-grid>.lookup{min-width:0}.service-panel-grid .field-full,.service-panel-grid .firm-picker{grid-column:1/-1}.service-panel-grid .firm-picker{padding:10px 11px;border-radius:12px}.service-panel-grid label{gap:4px!important;font-size:10px!important}.service-panel-grid input:not([type=checkbox]):not([type=radio]),.service-panel-grid select{min-height:39px!important;height:39px;padding:7px 10px!important;font-size:11px!important}.service-panel-grid textarea{min-height:56px!important;max-height:64px;resize:none;font-size:11px!important}.service-panel-grid .lookup-search{padding-left:34px!important}.service-panel-grid .lookup-selected{margin-top:4px;min-height:25px}.finance-panel-grid .field-full{grid-column:1/-1}.hp-dialog[data-kind="form"] .dialog-actions{min-height:66px;margin:0 -22px!important;padding:12px 22px max(13px,env(safe-area-inset-bottom))!important;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 -12px 30px rgba(13,27,48,.07)!important;backdrop-filter:blur(10px)}.hp-dialog[data-kind="form"] .dialog-actions .btn{min-width:132px}.hp-dialog[data-kind="form"] .dialog-actions .btn-primary{min-width:205px;box-shadow:0 9px 22px color-mix(in srgb,var(--primary) 24%,transparent)}

@media(max-width:1250px){.company-scope{min-width:155px!important;max-width:180px}.company-scope-symbol{display:grid!important}.company-scope>span:nth-child(2){display:block!important}.service-form-shell{grid-template-columns:1fr 1fr}}
@media(max-width:980px){.company-scope{min-width:44px!important;width:44px!important;padding:0;justify-content:center}.company-scope>span:nth-child(2),.company-scope>svg:last-child{display:none!important}.company-scope-symbol{display:grid!important}.company-scope-menu{position:fixed;top:82px;right:16px}.service-form-shell{grid-template-columns:1fr}.service-form-panel{padding:14px}.hp-dialog[data-kind="form"] #recordForm{max-height:calc(100dvh - 106px)}}
@media(max-width:640px){.company-scope{height:38px}.company-scope>.company-scope-symbol{display:grid!important}.company-scope-menu{top:68px;right:8px;width:calc(100vw - 16px);border-radius:16px}.company-scope-results{max-height:42dvh}.hp-dialog[data-kind="form"]{width:calc(100vw - 10px);max-height:calc(100dvh - 10px);border-radius:18px}.hp-dialog[data-kind="form"] .dialog-content{padding:12px 13px 0!important}.hp-dialog[data-kind="form"] #recordForm{max-height:calc(100dvh - 90px)}.service-form-shell{gap:10px;padding-bottom:10px}.service-form-panel{padding:12px;border-radius:14px}.service-panel-grid{grid-template-columns:1fr;gap:9px}.service-panel-grid .field-full,.service-panel-grid .firm-picker,.finance-panel-grid .field-full{grid-column:auto}.hp-dialog[data-kind="form"] .dialog-actions{margin:0 -13px!important;padding-inline:13px!important}.hp-dialog[data-kind="form"] .dialog-actions .btn,.hp-dialog[data-kind="form"] .dialog-actions .btn-primary{min-width:0}}
@media(max-height:720px){.hp-dialog[data-kind="form"] .dialog-head{min-height:76px;padding-block:12px}.hp-dialog[data-kind="form"] #recordForm{max-height:calc(100dvh - 90px)}.service-form-panel{padding:11px}.service-form-section-head{margin-bottom:9px;padding-bottom:8px}.service-panel-grid{gap:7px 9px}.service-panel-grid textarea{min-height:44px!important;max-height:44px}.hp-dialog[data-kind="form"] .dialog-actions{min-height:58px;padding-block:9px!important}}

/* HostPilot 1.8.0 — aggregate scope, natural-height dialogs, media and chart interaction */
.sales-area{fill:url(#salesAreaV18)}
html,*{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--primary) 58%,#8091aa) color-mix(in srgb,var(--surface-3) 78%,transparent)}
*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:color-mix(in srgb,var(--surface-3) 72%,transparent);border-radius:10px}*::-webkit-scrollbar-thumb{background:linear-gradient(180deg,color-mix(in srgb,var(--primary) 72%,#74859e),color-mix(in srgb,var(--primary) 43%,#6d7d94));border:2px solid color-mix(in srgb,var(--surface-3) 72%,transparent);border-radius:10px}*::-webkit-scrollbar-thumb:hover{background:var(--primary)}
.hp-dialog[data-kind="form"][open]{display:block!important;width:min(1260px,calc(100vw - 32px));height:auto!important;min-height:0!important;max-height:calc(100dvh - 24px);overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none}
.hp-dialog[data-kind="form"]::-webkit-scrollbar{display:none;width:0}.hp-dialog[data-kind="form"] .dialog-head{position:sticky!important;top:0!important}.hp-dialog[data-kind="form"] .dialog-content{display:block!important;height:auto!important;min-height:0!important;padding:18px 22px 0!important;overflow:visible!important}.hp-dialog[data-kind="form"] #recordForm{display:block!important;height:auto!important;min-height:0!important;max-height:none!important}.hp-dialog[data-kind="form"] #recordForm>.form-grid{display:grid!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:2px 2px 14px!important;align-content:start}.hp-dialog[data-kind="form"] .service-form-shell{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:1px 2px 15px}.hp-dialog[data-kind="form"] .dialog-actions{position:sticky!important;bottom:0!important;z-index:25;margin:0 -22px!important;padding:13px 22px max(14px,env(safe-area-inset-bottom))!important;background:color-mix(in srgb,var(--surface) 96%,transparent)!important;backdrop-filter:blur(14px)}
.service-form-panel{padding:18px}.service-panel-grid{gap:12px 14px}.service-panel-grid label{font-size:11px!important;gap:6px!important}.service-panel-grid input:not([type=checkbox]):not([type=radio]),.service-panel-grid select{height:43px!important;min-height:43px!important;padding:8px 13px!important;font-size:12px!important}.service-panel-grid textarea{min-height:64px!important;max-height:82px;padding:10px 13px!important;font-size:12px!important}.service-panel-grid .lookup-control>svg,.firm-picker .lookup-control>svg{left:14px!important;z-index:3}.service-panel-grid .lookup-control input.lookup-search,.hp-dialog .firm-picker .lookup-control input.lookup-search{padding-left:43px!important;padding-right:36px!important}.service-panel-grid .firm-picker{padding:12px 13px}.lookup-selected{position:relative;z-index:1}.lookup-control{overflow:visible}
.company-scope-symbol img,.company-option-symbol img,.firm-cell>span img,.domain-cell>.favicon img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.company-scope-symbol,.company-option-symbol,.firm-cell>span,.domain-cell>.favicon.has-image{overflow:hidden}.company-scope-all{margin-bottom:7px;border-bottom-color:color-mix(in srgb,var(--primary) 22%,var(--line))}.company-scope-all .company-option-symbol{background:linear-gradient(135deg,var(--primary),#7b8eff);color:#fff}.firm-cell{display:flex;align-items:center;gap:11px;min-width:190px}.firm-cell>span{width:38px;height:38px;flex:none;border-radius:11px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.firm-cell>span svg{width:18px}.firm-cell strong,.firm-cell small{display:block}
.media-uploader{min-height:86px;padding:12px;border:1px dashed color-mix(in srgb,var(--primary) 35%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--primary-soft) 28%,var(--surface));display:grid!important;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:13px}.media-preview{width:62px;height:62px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--primary);display:grid;place-items:center;overflow:hidden}.media-preview img{width:100%;height:100%;object-fit:cover}.media-preview svg{width:22px}.media-preview span{display:none}.media-copy strong,.media-copy small{display:block}.media-copy strong{font-size:12px}.media-copy small{margin:3px 0 8px;font-size:9px}.media-copy>div{display:flex;flex-wrap:wrap;gap:7px}.media-copy .btn{height:30px;min-height:30px;padding:0 10px;font-size:9px}.media-copy .btn svg{width:13px}.media-remove{color:var(--danger)}
.health-donut-pro{width:190px;height:190px;margin:4px auto 19px;position:relative;display:grid;place-items:center}.health-donut-pro svg{width:100%;height:100%;transform:rotate(-90deg);overflow:visible}.health-track,.health-segment{fill:none;stroke-width:15}.health-track{stroke:var(--surface-3)}.health-segment{cursor:help;transition:stroke-width .18s,filter .18s}.health-segment:hover,.health-segment:focus{stroke-width:19;filter:drop-shadow(0 3px 5px rgba(20,35,60,.18));outline:none}.health-segment.healthy{stroke:#2db889}.health-segment.expiring{stroke:#f2aa3a}.health-segment.expired{stroke:#ef5f70}.health-segment.paused{stroke:#91a2bb}.health-donut-pro>span{position:absolute;width:122px;height:122px;border-radius:50%;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);display:grid;place-content:center;text-align:center}.health-donut-pro strong,.health-donut-pro small{display:block}.health-donut-pro strong{font-size:32px;line-height:1.1}.health-donut-pro small{margin-top:5px;font-size:10px}.executive-point{cursor:crosshair}.executive-point:focus{outline:none}.executive-point:hover .sales-dot,.executive-point:focus .sales-dot{r:8}.executive-point:hover .expense-dot,.executive-point:focus .expense-dot{r:7}.chart-tooltip{position:fixed;z-index:500;width:178px;padding:11px 12px;border:1px solid color-mix(in srgb,var(--primary) 22%,var(--line));border-radius:11px;background:color-mix(in srgb,var(--text) 96%,#142440);color:var(--surface);box-shadow:0 16px 40px rgba(7,19,38,.3);pointer-events:none;transform:translateY(-50%);font-size:10px}.chart-tooltip strong,.chart-tooltip span{display:block}.chart-tooltip strong{margin-bottom:6px;font-size:11px}.chart-tooltip span{margin-top:3px;color:color-mix(in srgb,var(--surface) 76%,#b8c3d2)}
.menu-group:hover .menu-group-trigger{border-color:color-mix(in srgb,var(--primary) 18%,var(--line));background:var(--primary-soft);color:var(--primary)}.menu-dropdown:before{content:"";position:absolute;left:0;right:0;top:-13px;height:14px}
.scope-required{min-height:210px;padding:34px;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--line));border-radius:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary-soft) 55%,var(--surface)),var(--surface));display:flex;align-items:center;justify-content:center;gap:18px;text-align:left}.scope-required>svg{width:44px;height:44px;padding:11px;border-radius:14px;background:var(--primary);color:#fff}.scope-required strong{font-size:18px}.scope-required p{margin:7px 0 0;font-size:13px}
@media(max-width:640px){.hp-dialog[data-kind="form"][open]{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}.hp-dialog[data-kind="form"] .dialog-content{padding:13px 13px 0!important}.hp-dialog[data-kind="form"] .dialog-actions{margin:0 -13px!important;padding-inline:13px!important}.service-form-panel{padding:13px}.media-uploader{grid-column:auto!important}.health-donut-pro{width:170px;height:170px}}

/* HostPilot 1.8.1 — content-sized dialogs (prevents viewport-height stretching) */
.hp-dialog[data-kind="form"][open]{display:block!important;width:min(1180px,calc(100vw - 40px));height:fit-content!important;block-size:fit-content!important;min-height:0!important;min-block-size:0!important;max-height:calc(100dvh - 32px)!important;max-block-size:calc(100dvh - 32px)!important;margin:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-width:none}
.hp-dialog[data-kind="form"]::-webkit-scrollbar{display:none;width:0;height:0}
.hp-dialog[data-kind="form"] .dialog-head{position:sticky!important;top:0!important;z-index:30;min-height:88px;padding:16px 22px}
.hp-dialog[data-kind="form"] .dialog-content{display:block!important;height:fit-content!important;block-size:fit-content!important;min-height:0!important;padding:16px 20px 0!important;overflow:visible!important}
.hp-dialog[data-kind="form"] #recordForm{display:block!important;height:fit-content!important;block-size:fit-content!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.hp-dialog[data-kind="form"] #recordForm>.form-grid,.hp-dialog[data-kind="form"] .service-form-shell{height:fit-content!important;block-size:fit-content!important;min-height:0!important;max-height:none!important;overflow:visible!important;align-content:start}
.hp-dialog[data-kind="form"] .service-form-shell{padding:1px 2px 12px}
.hp-dialog[data-kind="form"] .dialog-actions{position:sticky!important;bottom:0!important;z-index:30;min-height:62px;margin:0 -20px!important;padding:11px 20px max(12px,env(safe-area-inset-bottom))!important;background:color-mix(in srgb,var(--surface) 97%,transparent)!important;border-top:1px solid var(--line);box-shadow:0 -9px 24px rgba(13,27,48,.07)!important;backdrop-filter:blur(14px)}
@media(max-width:640px){.hp-dialog[data-kind="form"][open]{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)!important;max-block-size:calc(100dvh - 12px)!important}.hp-dialog[data-kind="form"] .dialog-content{padding:12px 12px 0!important}.hp-dialog[data-kind="form"] .dialog-actions{margin:0 -12px!important;padding-inline:12px!important}}

/* HostPilot 1.9.0 — controlled firm deletion, unified controls and print/PDF reports */
.output-actions{display:inline-flex;align-items:center;gap:8px;padding-right:10px;margin-right:2px;border-right:1px solid var(--line)}.output-actions .btn{background:var(--surface);box-shadow:0 5px 16px rgba(20,38,72,.05)}.report-output-bar{min-height:64px;margin-bottom:16px;padding:10px 13px 10px 16px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(120deg,var(--surface),color-mix(in srgb,var(--primary-soft) 45%,var(--surface)));display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:var(--shadow)}.report-output-bar>span:first-child{display:flex;align-items:center;gap:11px}.report-output-bar>span:first-child>svg{width:34px;height:34px;padding:8px;border-radius:10px;background:var(--primary-soft);color:var(--primary)}.report-output-bar strong,.report-output-bar small{display:block}.report-output-bar strong{font-size:12px}.report-output-bar small{margin-top:2px;font-size:9px}.report-output-bar .output-actions{padding:0;margin:0;border:0}

.form-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.toggle-field{min-height:67px;padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(135deg,var(--surface-2),var(--surface));display:flex;align-items:center;gap:14px}.toggle-field>div{min-width:0;flex:1}.toggle-field strong,.toggle-field small{display:block}.toggle-field strong{font-size:11px}.toggle-field small{margin-top:3px;font-size:9px;line-height:1.45}.switch{width:50px!important;height:28px!important;cursor:pointer}.switch input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}.switch span{border:1px solid color-mix(in srgb,var(--muted) 28%,var(--line));background:var(--surface-3);box-shadow:inset 0 1px 3px rgba(18,34,60,.08)}.switch span:before{width:20px;height:20px;left:3px;top:3px}.switch input:checked+span{border-color:var(--primary);background:linear-gradient(135deg,var(--primary),color-mix(in srgb,var(--primary) 72%,#8394ff));box-shadow:0 5px 13px color-mix(in srgb,var(--primary) 24%,transparent)}.switch input:checked+span:before{transform:translateX(22px)}.switch input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--primary) 30%,transparent);outline-offset:3px}.switch input:disabled+span{opacity:.55;cursor:not-allowed}
.check-label>input[type="checkbox"],.demo-pack>input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:20px;height:20px;min-width:20px;margin:0;border:2px solid color-mix(in srgb,var(--muted) 40%,var(--line));border-radius:6px;background:var(--surface);display:grid;place-content:center;cursor:pointer;transition:.16s}.check-label>input[type="checkbox"]:before,.demo-pack>input[type="checkbox"]:before{content:"";width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);margin-top:-2px;transition:.14s}.check-label>input[type="checkbox"]:checked,.demo-pack>input[type="checkbox"]:checked{border-color:var(--primary);background:var(--primary);box-shadow:0 4px 12px color-mix(in srgb,var(--primary) 22%,transparent)}.check-label>input[type="checkbox"]:checked:before,.demo-pack>input[type="checkbox"]:checked:before{transform:rotate(-45deg) scale(1)}.check-label>input[type="checkbox"]:focus-visible,.demo-pack>input[type="checkbox"]:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 28%,transparent);outline-offset:3px}input[type="radio"]{appearance:none;-webkit-appearance:none;width:20px;height:20px;min-width:20px;border:2px solid color-mix(in srgb,var(--muted) 40%,var(--line));border-radius:50%;background:var(--surface);cursor:pointer}input[type="radio"]:checked{border:6px solid var(--primary)}

.firm-delete-dialog[data-kind="confirm"]{width:min(900px,calc(100vw - 30px));max-height:calc(100dvh - 26px);border-radius:23px;overflow:auto}.firm-delete-dialog .dialog-content{padding:18px 20px 0}.firm-delete-warning{padding:14px 15px;border:1px solid color-mix(in srgb,var(--danger) 34%,var(--line));border-radius:14px;background:linear-gradient(135deg,var(--danger-soft),color-mix(in srgb,var(--danger-soft) 48%,var(--surface)));display:flex;align-items:flex-start;gap:12px}.firm-delete-warning>svg{width:23px;height:23px;color:var(--danger)}.firm-delete-warning strong{font-size:13px}.firm-delete-warning p{margin:4px 0 0;font-size:10px}.firm-delete-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:12px 0 8px}.firm-delete-counts span{padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--muted);font-size:9px;text-align:center}.firm-delete-counts b{display:block;margin-bottom:2px;color:var(--text);font-size:21px}.firm-delete-secondary{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.firm-delete-secondary span{padding:5px 8px;border-radius:8px;background:var(--surface-2);color:var(--muted);font-size:9px}.firm-delete-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.firm-delete-group{border:1px solid var(--line);border-radius:11px;background:var(--surface);overflow:hidden}.firm-delete-group summary{min-height:42px;padding:8px 11px;display:flex;align-items:center;justify-content:space-between;gap:9px;cursor:pointer;list-style:none;background:var(--surface-2)}.firm-delete-group summary::-webkit-details-marker{display:none}.firm-delete-group summary span{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800}.firm-delete-group summary svg{width:15px;color:var(--primary)}.firm-delete-group summary b{min-width:25px;padding:3px 7px;border-radius:7px;background:var(--primary-soft);color:var(--primary);font-size:9px;text-align:center}.firm-delete-group>div{max-height:126px;padding:7px 10px;overflow:auto}.firm-delete-group>div>span{min-height:28px;padding:4px 1px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:6px}.firm-delete-group>div>span:last-of-type{border:0}.firm-delete-group>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.firm-delete-group>div small,.firm-delete-group>div em{display:block;padding:8px 1px;color:var(--muted);font-size:9px;font-style:normal}.firm-delete-name{margin-top:12px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--danger) 24%,var(--line));border-radius:12px;background:var(--danger-soft);font-size:10px}.firm-delete-name input{margin-top:6px;background:var(--surface)!important}.danger-toggle{margin-top:9px;border-color:color-mix(in srgb,var(--danger) 26%,var(--line));background:linear-gradient(135deg,var(--danger-soft),var(--surface))}.danger-toggle .switch input:checked+span{border-color:var(--danger);background:var(--danger);box-shadow:0 5px 13px color-mix(in srgb,var(--danger) 23%,transparent)}.firm-delete-dialog .dialog-actions{position:sticky;bottom:0;z-index:4;margin:13px -20px 0;padding:12px 20px max(13px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface) 96%,transparent);backdrop-filter:blur(13px)}.firm-delete-dialog .dialog-actions .btn-danger{min-width:255px}

.print-report-head{display:none}
@media(max-width:720px){.output-actions{padding:0;margin:0;border:0}.output-actions .btn{padding-inline:11px}.form-toggle-grid,.firm-delete-counts,.firm-delete-lists{grid-template-columns:1fr 1fr}.firm-delete-dialog .dialog-actions .btn-danger{min-width:0}.report-output-bar{align-items:flex-start}.report-output-bar>span:first-child>svg{display:none}}
@media(max-width:480px){.form-toggle-grid,.firm-delete-counts,.firm-delete-lists{grid-template-columns:1fr}.firm-delete-secondary{display:grid;grid-template-columns:1fr 1fr}.firm-delete-dialog .dialog-actions{display:grid;grid-template-columns:1fr}.firm-delete-dialog .dialog-actions .btn{width:100%}}

@media print{
 @page{size:A4 landscape;margin:8mm}
 html,body{width:auto!important;min-width:0!important;height:auto!important;background:#fff!important;color:#111!important;font-size:9pt!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .topbar,.menu-bar,.panel-footer,.toast-region,.offline-banner,.page-actions,.report-output-bar,.filter-panel,.toolbar,.pagination-bar,.row-actions,.worker-info,.hero-actions,.range-calendar,.global-results,.company-scope-menu,.hp-dialog,.install-banner{display:none!important}
 .workspace,.main-content,#pageContent{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}
 .print-report-head{min-height:18mm;margin-bottom:5mm;padding-bottom:4mm;border-bottom:2px solid #4766ff;display:flex!important;align-items:flex-end;justify-content:space-between;gap:20px}.print-report-head>div:first-child strong,.print-report-head>div:first-child span,.print-report-head>div:last-child b,.print-report-head>div:last-child small{display:block}.print-report-head>div:first-child strong{color:#4766ff;font-size:11pt}.print-report-head>div:first-child span{font-size:19pt;font-weight:850}.print-report-head>div:last-child{text-align:right}.print-report-head>div:last-child b{font-size:10pt}.print-report-head>div:last-child small{margin-top:2px;color:#555;font-size:8pt}
 .page-head{margin:0 0 4mm!important}.page-head h1{font-size:17pt!important}.page-head p{font-size:8pt!important}.card,.service-finance-panel,.service-insight,.portfolio-finance-card,.overview-kpis-v17 article,.report-chart-card,.health-intelligence,.operations-grid>section,.firm-management{box-shadow:none!important;break-inside:avoid;background:#fff!important;border-color:#cfd7e5!important}.table-wrap{width:100%!important;max-height:none!important;overflow:visible!important;border:1px solid #cfd7e5!important}.data-table{width:100%!important;min-width:0!important;table-layout:auto!important;font-size:7.2pt!important}.data-table th,.data-table td{padding:2.5mm 1.6mm!important;white-space:normal!important}.data-table th:last-child,.data-table td:last-child{display:none!important}.data-table small{font-size:6.4pt!important}.domain-cell,.firm-cell{min-width:0!important}.domain-cell>.favicon,.firm-cell>span{width:7mm!important;height:7mm!important}.badge{font-size:6.3pt!important;padding:1mm 1.6mm!important}.service-insights{grid-template-columns:repeat(4,1fr)!important;gap:2mm!important}.service-insight{min-height:20mm!important;padding:3mm!important}.service-finance-panel{padding:0!important}.portfolio-finance-grid{grid-template-columns:repeat(2,1fr)!important}.executive-grid-main,.dashboard-grid,.operations-grid,.report-breakdown{grid-template-columns:minmax(0,1.65fr) minmax(0,.85fr)!important;gap:3mm!important}.overview-hero-v17,.report-hero,.finance-hero,.dashboard-hero{min-height:0!important;padding:5mm!important;margin-bottom:3mm!important;box-shadow:none!important}.overview-kpis-v17{grid-template-columns:repeat(4,1fr)!important;gap:2mm!important}.overview-kpis-v17 article{min-height:20mm!important;padding:3mm!important}.professional-chart svg,.executive-chart svg,.trend-chart svg{max-height:78mm!important}.health-donut-pro{width:42mm!important;height:42mm!important}.report-currency-tabs{margin-block:2mm!important}.firm-management-head{padding:4mm!important}.dark,.dark body{--surface:#fff;--surface-2:#f7f9fc;--surface-3:#edf1f7;--text:#111;--muted:#4d586b;--line:#cfd7e5;background:#fff!important;color:#111!important}
}

/* HostPilot 1.14.0 — compact command header, portfolio intelligence and archive */
.topbar{background:color-mix(in srgb,var(--surface) 96%,transparent);backdrop-filter:blur(18px)}
.topbar-inner{max-width:1540px;margin:auto;padding:10px 24px;display:grid!important;grid-template-columns:minmax(180px,230px) minmax(260px,1fr) auto auto!important;align-items:center;gap:14px!important}
.topbar .brand{min-width:0!important}.topbar .brand-mark{width:42px;height:42px;border-radius:13px}.brand-title{font-size:18px}.brand-sub{font-size:8px;letter-spacing:.12em}
.searchbox{width:100%!important;max-width:620px!important;justify-self:center;margin:0!important;background:var(--surface-2);border-color:transparent!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line) 78%,transparent)}
.market-trigger{max-width:260px;height:44px!important;border-radius:14px!important;padding:6px 11px!important;background:var(--surface-2)!important}
.market-trigger #marketRates{gap:9px!important}.market-trigger #marketRates span:nth-child(n+3){display:none}
.top-actions{display:flex!important;align-items:center;gap:9px!important;min-width:0}.context-cluster{display:flex;align-items:center;padding:3px;border:1px solid var(--line);background:var(--surface-2);border-radius:16px;gap:3px}
.context-cluster .company-scope,.context-cluster .active-period{height:42px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:12px!important}
.context-cluster .company-scope{width:170px!important;min-width:170px!important;padding:5px 9px!important}.context-cluster .active-period{min-width:94px!important;padding:5px 8px!important}
.context-cluster .company-scope:hover,.context-cluster .active-period:hover{background:var(--surface)!important}.context-cluster small{font-size:7px!important;letter-spacing:.12em}.context-cluster strong,.context-cluster select{font-size:10px!important}
.quick-add{height:48px!important;padding:0 17px!important;border-radius:14px!important;box-shadow:0 10px 25px color-mix(in srgb,var(--primary) 24%,transparent)}
.account-tools{position:relative}.account-trigger{height:48px;min-width:132px;padding:5px 10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);display:flex;align-items:center;gap:9px;cursor:pointer}.account-trigger:hover,.account-trigger[aria-expanded=true]{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.account-trigger>span:nth-child(2){display:grid;text-align:left;min-width:54px}.account-trigger small{font-size:7px;letter-spacing:.1em;color:var(--muted)}.account-trigger strong{font-size:11px}.account-trigger>svg{width:14px}.account-avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;color:var(--primary);background:var(--primary-soft)}.account-avatar svg{width:15px}
.account-menu{position:absolute;z-index:130;right:0;top:calc(100% + 10px);width:285px;padding:8px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 24px 70px rgba(15,25,50,.2)}.account-menu-head{padding:10px 11px 12px;border-bottom:1px solid var(--line);margin-bottom:5px}.account-menu-head strong,.account-menu-head small{display:block}.account-menu-head strong{font-size:13px}.account-menu-head small{font-size:10px;color:var(--muted);margin-top:3px}.account-menu>button{width:100%;border:0;background:transparent;color:var(--text);padding:10px;border-radius:12px;display:flex;gap:10px;text-align:left;cursor:pointer}.account-menu>button:hover{background:var(--surface-2)}.account-menu>button>svg{width:18px;color:var(--primary)}.account-menu>button span{display:grid}.account-menu>button strong{font-size:11px}.account-menu>button small{font-size:9px;color:var(--muted);margin-top:2px}.account-menu>button.danger{color:var(--danger)}.account-menu>button.danger>svg{color:var(--danger)}

.overview-kpis-v17{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}.overview-kpis-v17 article{position:relative;overflow:hidden;min-height:150px!important;padding:18px!important;border-radius:20px!important;display:grid!important;grid-template-columns:42px 1fr;align-content:start;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface-2) 80%,transparent))!important}.overview-kpis-v17 article:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--primary)}.overview-kpis-v17 article.warning:before{background:var(--warning)}.overview-kpis-v17 article.danger:before{background:var(--danger)}.overview-kpis-v17 article.success:before{background:var(--success)}.overview-kpis-v17 article.cyan:before{background:#16a6c9}.overview-kpis-v17 article.indigo:before{background:#7857e8}.overview-kpis-v17 article>span{width:42px!important;height:42px!important;border-radius:13px!important;background:var(--primary-soft)!important;color:var(--primary)!important}.overview-kpis-v17 article.warning>span{background:var(--warning-soft)!important;color:#b97808!important}.overview-kpis-v17 article.danger>span{background:var(--danger-soft)!important;color:var(--danger)!important}.overview-kpis-v17 article.success>span{background:var(--success-soft)!important;color:var(--success)!important}.overview-kpis-v17 article>div{min-width:0}.overview-kpis-v17 small{font-size:10px!important;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.overview-kpis-v17 strong{font-size:22px!important;margin-top:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-kpis-v17 em{font-size:10px!important;min-height:28px}.kpi-signal{grid-column:1/-1;margin-top:13px}.kpi-signal .progress-track{height:5px!important;background:var(--surface-3)!important}.kpi-signal .progress-fill{background:linear-gradient(90deg,var(--primary),#7d8fff)!important}

.service-finance-panel{border:1px solid var(--line)!important;border-radius:22px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--primary-soft) 22%,var(--surface)),var(--surface))!important;box-shadow:0 18px 45px rgba(28,45,75,.07)!important;overflow:hidden}.service-finance-panel>header{padding:20px 22px!important;background:transparent!important;border-bottom:1px solid var(--line)!important}.service-finance-panel>header>span{width:46px!important;height:46px!important;border-radius:14px!important;background:linear-gradient(145deg,var(--primary),#6f84ff)!important;color:#fff!important;box-shadow:0 10px 24px color-mix(in srgb,var(--primary) 24%,transparent)}.service-finance-panel>header strong{font-size:18px!important}.service-finance-panel>header p{font-size:10px!important}.portfolio-finance-grid{padding:16px!important;gap:14px!important}.portfolio-finance-card{padding:18px!important;border-radius:18px!important;background:var(--surface)!important;border:1px solid var(--line)!important;box-shadow:0 8px 24px rgba(22,39,66,.05)!important}.portfolio-finance-card:before{height:4px!important;background:linear-gradient(90deg,var(--primary),var(--success))!important}.portfolio-finance-head{padding-bottom:14px;border-bottom:1px solid var(--line)}.currency-mark{width:44px!important;height:44px!important;border-radius:13px!important;background:#162946!important;color:#fff!important;font-size:11px!important}.portfolio-profit{margin:15px 0!important;padding:16px!important;border:1px solid color-mix(in srgb,var(--success) 30%,var(--line));border-radius:15px!important;background:linear-gradient(120deg,var(--success-soft),transparent)!important}.portfolio-profit strong{font-size:21px!important}.portfolio-finance-metrics{gap:10px!important}.portfolio-finance-metrics>div{padding:13px!important;border-radius:13px!important;background:var(--surface-2)!important;border:1px solid var(--line)}.portfolio-finance-metrics strong{font-size:12px!important}.portfolio-cost-ratio{margin-top:15px!important}.margin-badge{padding:6px 9px!important;border-radius:999px!important;background:var(--success-soft)!important;color:var(--success)!important}

.archive-hero{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:16px;margin-bottom:16px;padding:22px 25px;border:1px solid color-mix(in srgb,var(--primary) 32%,var(--line));border-radius:22px;background:linear-gradient(120deg,var(--surface),color-mix(in srgb,var(--primary-soft) 45%,var(--surface)));box-shadow:0 15px 40px rgba(27,44,72,.06)}.archive-hero>span{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:var(--primary);color:#fff}.archive-hero>span svg{width:25px}.archive-hero small{font-size:9px;font-weight:800;letter-spacing:.12em;color:var(--primary)}.archive-hero h2{margin:4px 0;font-size:23px}.archive-hero p{margin:0;color:var(--muted);font-size:11px}.archive-hero em{font-style:normal;font-size:11px;padding:8px 11px;border-radius:999px;background:var(--surface);border:1px solid var(--line)}.archive-center{overflow:visible!important}.archive-center .toolbar{justify-content:space-between}.archive-center #archiveType{min-width:190px}.archive-confirm-hero{display:flex;gap:14px;padding:16px;border:1px solid color-mix(in srgb,var(--warning) 35%,var(--line));border-radius:16px;background:var(--warning-soft)}.archive-confirm-hero>svg{width:24px;color:#b97808;flex:none}.archive-confirm-hero strong{display:block;font-size:13px}.archive-confirm-hero p{margin:5px 0 0;font-size:10px;color:var(--muted);line-height:1.55}.archive-confirm-hero.restore{border-color:color-mix(in srgb,var(--success) 35%,var(--line));background:var(--success-soft)}.archive-confirm-hero.restore>svg{color:var(--success)}

.period-summary{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;padding:15px;border:1px solid var(--line);border-radius:17px;background:var(--surface-2);margin-bottom:14px}.period-summary>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.period-summary strong,.period-summary small{display:block}.period-summary small{margin-top:4px;color:var(--muted);font-size:10px}.period-summary form{display:flex;gap:8px}.period-summary input{width:105px}.period-list{display:grid;gap:9px}.period-list article{display:grid;grid-template-columns:42px 1fr auto auto;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.period-list article>span{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--success-soft);color:var(--success)}.period-list article.closed>span{background:var(--surface-3);color:var(--muted)}.period-list article strong,.period-list article small{display:block}.period-list article strong{font-size:15px}.period-list article small{font-size:9px;color:var(--muted);margin-top:3px}.period-list article em{font-size:9px;font-style:normal;color:var(--muted)}

@media(max-width:1380px){.topbar-inner{grid-template-columns:190px minmax(220px,1fr) auto!important}.market-trigger{display:none!important}.context-cluster .company-scope{width:145px!important;min-width:145px!important}.overview-kpis-v17{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:1060px){.topbar-inner{grid-template-columns:auto 1fr auto!important}.brand-sub,.searchbox kbd,.context-cluster .company-scope>span:nth-child(2),.context-cluster .company-scope>svg:last-child,.account-trigger>span:nth-child(2),.account-trigger>svg:last-child{display:none!important}.context-cluster .company-scope{width:42px!important;min-width:42px!important}.account-trigger{min-width:48px;width:48px;padding:5px 8px}.quick-add span{display:none}.quick-add{width:48px;padding:0!important}.overview-kpis-v17{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:720px){.topbar-inner{padding:9px 12px;grid-template-columns:auto 1fr auto!important}.searchbox{grid-column:1/-1;grid-row:2}.context-cluster{display:none}.brand-title{font-size:15px}.archive-hero{grid-template-columns:46px 1fr}.archive-hero>em{grid-column:2}.overview-kpis-v17{grid-template-columns:1fr!important}.period-summary{grid-template-columns:42px 1fr}.period-summary form{grid-column:1/-1}.period-list article{grid-template-columns:38px 1fr auto}.period-list article .btn{grid-column:2/-1}}

/* HostPilot 1.10 — customer transfer, controlled bulk actions and calendar inputs */
.date-field{min-width:0}.date-input{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);display:grid;grid-template-columns:18px minmax(0,1fr) 16px;align-items:center;gap:8px;text-align:left;font:inherit;cursor:pointer}.date-input:hover{border-color:color-mix(in srgb,var(--primary) 45%,var(--line));background:color-mix(in srgb,var(--primary-soft) 20%,var(--surface))}.date-input:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 18%,transparent);border-color:var(--primary)}.date-input svg{width:16px;height:16px;color:var(--primary)}.date-input svg:last-child{width:14px;color:var(--muted)}
.single-date-dialog{width:min(470px,calc(100vw - 24px));padding:0;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--text);box-shadow:0 35px 100px rgba(8,18,35,.4);overflow:hidden}.single-date-dialog::backdrop{background:rgba(9,17,31,.7)}.single-date-head{min-height:76px;padding:15px 18px;border-bottom:1px solid var(--line);background:linear-gradient(125deg,var(--primary-soft),var(--surface));display:flex;align-items:center;justify-content:space-between}.single-date-head>div{display:flex;align-items:center;gap:11px}.single-date-head>div>span{width:42px;height:42px;border-radius:13px;background:var(--primary);color:#fff;display:grid;place-items:center}.single-date-head small{display:block;color:var(--primary);font-size:9px;font-weight:850;letter-spacing:1px}.single-date-head h3{margin:3px 0 0;font-size:19px}.single-date-head button,.single-date-nav>button{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--muted);display:grid;place-items:center}.single-date-manual{padding:14px 18px 9px}.single-date-manual label{font-size:11px;font-weight:750}.single-date-manual input{width:100%;height:42px;margin-top:6px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--text);font-size:13px}.single-date-manual small{display:block;margin-top:5px;color:var(--muted);font-size:9px}.single-date-nav{padding:7px 18px;display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:10px}.single-date-nav>div{display:grid;grid-template-columns:1fr 94px;gap:8px}.single-date-nav select{height:38px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font-weight:750}.single-date-calendar{padding:4px 18px 13px}.single-date-calendar .calendar-days button{aspect-ratio:1;border-radius:10px}.single-date-footer{padding:12px 18px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px;background:var(--surface-2)}
.bulk-select-cell{width:48px!important;text-align:center!important}.list-check{width:22px;height:22px;display:inline-grid;place-items:center;cursor:pointer}.list-check input{position:absolute;opacity:0;pointer-events:none}.list-check span{width:20px;height:20px;border:2px solid color-mix(in srgb,var(--muted) 42%,var(--line));border-radius:6px;background:var(--surface);display:grid;place-items:center;transition:.16s}.list-check span:after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);margin-top:-2px}.list-check input:checked+span,.list-check input:indeterminate+span{border-color:var(--primary);background:linear-gradient(145deg,var(--primary),#697dff);box-shadow:0 5px 13px color-mix(in srgb,var(--primary) 24%,transparent)}.list-check input:checked+span:after{transform:rotate(-45deg) scale(1)}.list-check input:indeterminate+span:after{width:9px;height:0;border-left:0;border-bottom:2px solid #fff;transform:none;margin:0}.list-check input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--primary) 22%,transparent);outline-offset:2px}.bulk-action-bar{min-height:58px;padding:9px 14px;border-bottom:1px solid color-mix(in srgb,var(--danger) 18%,var(--line));background:linear-gradient(100deg,color-mix(in srgb,var(--danger-soft) 65%,var(--surface)),var(--surface));display:flex;align-items:center;justify-content:space-between;gap:15px}.bulk-action-bar[hidden]{display:none}.bulk-action-bar>span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.bulk-action-bar>span svg{width:18px;color:var(--primary)}.bulk-action-bar>span strong{font-size:15px;color:var(--text)}
.move-route{min-height:72px;padding:12px 15px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(120deg,var(--surface-2),var(--primary-soft));display:grid;grid-template-columns:1fr 35px 1fr;align-items:center;gap:10px}.move-route>svg{width:20px;margin:auto;color:var(--primary)}.move-route span{min-width:0}.move-route small,.move-route strong{display:block}.move-route small{color:var(--muted);font-size:8px;letter-spacing:.7px}.move-route strong{margin-top:4px;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.move-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:11px 0}.move-summary span{padding:10px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--muted);font-size:9px;text-align:center}.move-summary svg{width:15px;margin:0 auto 4px;color:var(--primary)}.move-summary b{display:block;color:var(--text);font-size:18px}.move-info,.bulk-delete-summary{padding:12px 14px;border:1px solid color-mix(in srgb,var(--primary) 22%,var(--line));border-radius:13px;background:var(--primary-soft);display:flex;align-items:flex-start;gap:10px}.move-info>svg,.bulk-delete-summary>svg{width:20px;min-width:20px;color:var(--primary)}.move-info p,.bulk-delete-summary p{margin:0}.move-info strong,.move-info span{display:block}.move-info strong,.bulk-delete-summary strong{font-size:11px}.move-info span,.bulk-delete-summary p{margin-top:3px;color:var(--muted);font-size:9px;line-height:1.45}.move-service-list,.bulk-delete-list{max-height:260px;margin-top:10px;border:1px solid var(--line);border-radius:13px;overflow:auto;background:var(--surface)}.move-service-list>div,.bulk-delete-list>div{min-height:51px;padding:9px 12px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.move-service-list>div:last-child,.bulk-delete-list>div:last-child{border:0}.move-service-list>div>span:first-child{width:32px;height:32px;border-radius:9px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.move-service-list p{min-width:0;flex:1;margin:0}.move-service-list strong,.move-service-list small{display:block}.move-service-list strong{font-size:11px}.move-service-list small{margin-top:3px;color:var(--muted);font-size:9px}.move-empty{padding:20px;text-align:center;color:var(--muted);font-size:11px}.bulk-delete-list>div{justify-content:space-between}.bulk-delete-list>div>span{display:flex;align-items:center;gap:8px}.bulk-delete-list svg{width:15px;color:var(--primary)}.bulk-delete-list small{color:var(--muted)}
.efficiency-chart{padding:4px 2px 2px}.efficiency-visual{position:relative;max-width:290px;margin:0 auto}.efficiency-visual svg{width:100%;display:block;overflow:visible}.eff-track{fill:none;stroke:var(--surface-3);stroke-width:18;stroke-linecap:round}.eff-zone{fill:none;stroke-width:13;stroke-linecap:round}.eff-zone.low{stroke:#ef6473}.eff-zone.medium{stroke:#f3ad39}.eff-zone.high{stroke:#2fbd87}.eff-needle{stroke:var(--text);stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 3px 3px rgba(12,28,48,.2))}.eff-hub{fill:var(--primary);stroke:var(--surface);stroke-width:4}.efficiency-visual>span{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);text-align:center}.efficiency-visual small,.efficiency-visual strong,.efficiency-visual em{display:block}.efficiency-visual small{color:var(--muted);font-size:8px;letter-spacing:.8px}.efficiency-visual strong{font-size:25px;letter-spacing:-1px}.efficiency-visual em{margin-top:2px;color:var(--primary);font-size:9px;font-style:normal;font-weight:800}.efficiency-scale{display:flex;justify-content:space-between;margin:-3px 13px 11px;color:var(--muted);font-size:8px}.efficiency-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.efficiency-metrics>div{padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);text-align:center}.efficiency-metrics small,.efficiency-metrics strong{display:block}.efficiency-metrics small{color:var(--muted);font-size:8px}.efficiency-metrics strong{margin-top:3px;font-size:11px}.permission-toggle{margin-top:2px}
@media(max-width:640px){.move-summary{grid-template-columns:repeat(2,1fr)}.bulk-action-bar{align-items:stretch;flex-direction:column}.bulk-action-bar .btn{width:100%}.single-date-footer{display:grid;grid-template-columns:1fr 1fr}.single-date-footer .btn-primary{grid-column:1/-1}.efficiency-metrics{grid-template-columns:1fr}}
@media print{.bulk-action-bar,.bulk-select-cell,.data-table th:first-child:has(.list-check){display:none!important}}

/* HostPilot 1.11 — CSP-safe visual values, TCMB market strip and currency center */
@media(min-width:1551px){.topbar-inner{grid-template-columns:minmax(215px,245px) minmax(260px,1fr) auto auto}}
.market-trigger{height:44px;min-width:254px;padding:5px 10px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--line));border-radius:13px;background:linear-gradient(135deg,var(--surface),var(--surface-2));color:var(--text);display:grid;grid-template-columns:auto 1fr 17px;align-items:center;gap:8px;box-shadow:0 8px 23px rgba(28,48,88,.06)}.market-trigger[hidden]{display:none}.market-trigger:hover{border-color:color-mix(in srgb,var(--primary) 48%,var(--line));background:var(--primary-soft)}.market-trigger>svg{width:16px;color:var(--primary)}.market-live{display:flex;align-items:center;gap:4px;color:var(--success);font-size:7px;font-weight:850;letter-spacing:.55px}.market-live i{width:6px;height:6px;border-radius:50%;background:var(--success);box-shadow:0 0 0 4px color-mix(in srgb,var(--success) 13%,transparent)}.market-trigger.is-stale .market-live{color:#b17914}.market-trigger.is-stale .market-live i{background:#e5a12e;box-shadow:0 0 0 4px color-mix(in srgb,#e5a12e 14%,transparent)}#marketRates{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:9px}#marketRates>span{min-width:50px;text-align:left}#marketRates small,#marketRates strong{display:block}#marketRates small{color:var(--muted);font-size:7px;font-weight:800}#marketRates strong{margin-top:2px;font-size:9px;font-variant-numeric:tabular-nums}
.visual-progress{width:100%;height:7px;border:0;border-radius:20px;overflow:hidden;background:var(--surface-3);vertical-align:middle;appearance:none;-webkit-appearance:none}.visual-progress::-webkit-progress-bar{border-radius:20px;background:var(--surface-3)}.visual-progress::-webkit-progress-value{border-radius:20px;background:linear-gradient(90deg,#6f86ff,#4766ff)}.visual-progress::-moz-progress-bar{border-radius:20px;background:linear-gradient(90deg,#6f86ff,#4766ff)}.visual-progress.profit::-webkit-progress-value,.visual-progress.health::-webkit-progress-value{background:linear-gradient(90deg,#46c59b,#22aa7f)}.visual-progress.profit::-moz-progress-bar,.visual-progress.health::-moz-progress-bar{background:linear-gradient(90deg,#46c59b,#22aa7f)}.portfolio-cost-ratio .visual-progress{display:block;margin-top:7px}.overview-score .visual-progress,.hero-health .visual-progress{display:block;margin-top:16px}.kind-performance .visual-progress,.provider-network .visual-progress{display:block;height:7px}.radar-track .visual-progress{position:absolute;inset:0;width:100%;height:100%;writing-mode:vertical-lr;direction:rtl;border-radius:9px 9px 4px 4px}.radar-track .visual-progress::-webkit-progress-value{background:linear-gradient(180deg,#7186ff,#4766ff)}
.chart-tooltip-host{position:relative}.chart-tooltip{position:absolute;z-index:40;left:auto!important;right:auto;top:auto!important;bottom:auto;width:min(178px,calc(100% - 28px));transform:none;transition:opacity .12s ease}.chart-tooltip.tooltip-dock-chart{top:148px!important;right:24px}.chart-tooltip.tooltip-dock-health{left:50%!important;bottom:18px;transform:translateX(-50%)}.chart-tooltip.tooltip-dock-margin{top:92px!important;right:14px}.chart-tooltip.tooltip-dock-default{top:82px!important;right:14px}.report-chart-card.chart-tooltip-host,.margin-intelligence.chart-tooltip-host,.health-intelligence.chart-tooltip-host{overflow:hidden}@media(max-width:760px){.chart-tooltip.tooltip-dock-chart{top:142px!important;right:16px}.chart-tooltip.tooltip-dock-health{bottom:14px}.chart-tooltip.tooltip-dock-margin{top:88px!important;right:12px}}@media(max-width:520px){.chart-tooltip{width:min(170px,calc(100% - 20px))}.chart-tooltip.tooltip-dock-chart{top:132px!important;right:10px}.chart-tooltip.tooltip-dock-health{bottom:10px}.chart-tooltip.tooltip-dock-margin,.chart-tooltip.tooltip-dock-default{top:76px!important;right:10px}}

/* HostPilot 1.13.0 — account recovery, SMTP diagnostics and managed sessions */
.session-clock{height:44px;min-width:92px;padding:0 11px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid color-mix(in srgb,var(--success) 24%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--success-soft) 44%,var(--surface));color:var(--text);white-space:nowrap}.session-clock:hover{border-color:var(--success);background:color-mix(in srgb,var(--success-soft) 70%,var(--surface))}.session-clock>svg{width:17px;color:var(--success)}.session-clock small,.session-clock strong{display:block;text-align:left}.session-clock small{font-size:7px;letter-spacing:.75px;color:var(--muted);font-weight:850}.session-clock strong{margin-top:2px;font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.3px}.forgot-link{display:block;margin:-4px 0 1px;text-align:right;color:#145c4c;font-size:12px;font-weight:800}.forgot-link:hover{text-decoration:underline}.auth-help a{color:inherit;font-weight:750}.reset-layout .auth-story{background:radial-gradient(ellipse at 25% 55%,#dbe6ff 0,transparent 64%)}.reset-form-wrap .notice{margin:18px 0}.reset-code-input{text-align:center;letter-spacing:9px;font-size:20px!important;font-weight:850;font-variant-numeric:tabular-nums}.reset-restart{text-align:center;margin-top:14px}.reset-security-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:auto}.reset-security-grid>span{padding:15px;border:1px solid #dce4f0;border-radius:14px;background:#ffffffb8}.reset-security-grid svg{width:18px;color:#4766ff}.reset-security-grid strong,.reset-security-grid small{display:block}.reset-security-grid strong{margin-top:8px;font-size:12px}.reset-security-grid small{margin-top:3px;font-size:9px;color:#60708a}.smtp-test-panel{margin-top:22px;padding:17px;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--line));border-radius:15px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary-soft) 48%,var(--surface)),var(--surface));display:grid;grid-template-columns:42px minmax(0,1fr);gap:13px;align-items:start}.smtp-test-panel>span{width:42px;height:42px;border-radius:12px;background:var(--primary);color:#fff;display:grid;place-items:center}.smtp-test-panel>span svg{width:19px}.smtp-test-panel strong,.smtp-test-panel small{display:block}.smtp-test-panel strong{font-size:13px}.smtp-test-panel small{margin-top:4px;font-size:10px}.smtp-test-panel label{margin-top:12px;display:flex;gap:9px}.smtp-test-panel input{flex:1;min-width:0}.account-security-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.account-security-grid .settings-card{min-width:0}.account-security-grid h3{margin:5px 0 18px;font-size:17px}.settings-copy{margin:-8px 0 18px;font-size:11px;line-height:1.65}.session-policy-card{margin-bottom:14px}.session-policy-form{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;align-items:center;gap:14px}.session-policy-form strong,.session-policy-form small{display:block}.session-policy-form strong{font-size:14px}.session-policy-form small{margin-top:4px;font-size:10px}.active-session-list{display:grid}.active-session-row{min-height:92px;padding:16px 18px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;border-bottom:1px solid var(--line)}.active-session-row:last-child{border-bottom:0}.active-session-row.current{background:color-mix(in srgb,var(--success-soft) 34%,var(--surface))}.active-session-row>span:first-child{width:42px;height:42px;border-radius:12px;background:var(--surface-2);color:var(--primary);display:grid;place-items:center}.active-session-row>span:first-child svg{width:19px}.active-session-row strong,.active-session-row small{display:block}.active-session-row strong{font-size:13px}.active-session-row strong em{margin-left:6px;padding:4px 7px;border-radius:999px;background:var(--success-soft);color:var(--success);font-size:8px;font-style:normal}.active-session-row small{margin-top:4px;font-size:10px;white-space:normal;line-height:1.45}.session-current-badge{padding:7px 10px;border-radius:9px;background:var(--success-soft);color:var(--success);font-size:10px;font-weight:850}.active-session-row .btn-danger{white-space:nowrap}
@media(max-width:1450px){.session-clock{min-width:76px;padding-inline:8px}.session-clock small{display:none}.session-clock strong{margin:0}.session-clock>svg{width:15px}}
@media(max-width:980px){.account-security-grid{grid-template-columns:1fr}.session-policy-form{grid-template-columns:1fr 160px}.session-policy-form .btn{grid-column:1/-1}.reset-security-grid{grid-template-columns:1fr}}
@media(max-width:640px){.session-clock{min-width:64px;height:38px;padding-inline:7px;gap:5px}.session-clock>svg{display:none}.session-clock strong{font-size:10px}.smtp-test-panel{grid-template-columns:1fr}.smtp-test-panel>span{display:none}.smtp-test-panel label{align-items:stretch;flex-direction:column}.session-policy-form{grid-template-columns:1fr}.session-policy-form .btn{grid-column:auto}.active-session-row{grid-template-columns:38px minmax(0,1fr);padding:14px}.active-session-row>span:first-child{width:38px;height:38px}.active-session-row>.btn,.session-current-badge{grid-column:2;width:max-content}.reset-form-wrap{max-width:470px}}
.currency-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.currency-settings-grid>div{padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--surface-2)}.switch-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.setting-choice.compact{min-height:62px;padding:10px 11px;gap:9px;background:var(--surface)}.setting-choice.compact strong{font-size:11px}.setting-choice.compact small{font-size:8px}.setting-choice.compact .switch{transform:scale(.88);transform-origin:right center}.rate-resilience{padding:14px;border:1px solid color-mix(in srgb,var(--success) 23%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--success-soft) 52%,var(--surface));display:flex;align-items:flex-start;gap:11px}.rate-resilience>svg{width:21px;color:var(--success);flex:none}.rate-resilience strong,.rate-resilience small{display:block}.rate-resilience strong{font-size:12px}.rate-resilience small{margin-top:4px;font-size:9px;line-height:1.55}
.converter-head{min-height:67px;padding:13px 15px;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--line));border-radius:15px;background:linear-gradient(130deg,var(--primary-soft),var(--surface));display:flex;align-items:center;gap:11px}.converter-head>svg{width:36px;height:36px;padding:9px;border-radius:11px;background:var(--primary);color:#fff}.converter-head strong,.converter-head small{display:block}.converter-head strong{font-size:13px}.converter-head small{margin-top:4px;font-size:9px}.converter-grid{display:grid;grid-template-columns:1.15fr 1fr 42px 1fr;align-items:end;gap:10px;margin:14px 0}.converter-grid label{font-size:10px;font-weight:750}.converter-grid input,.converter-grid select{width:100%;height:44px;margin-top:6px}.converter-grid button{width:42px;height:44px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);color:var(--primary);display:grid;place-items:center}.converter-grid button svg{width:17px}.converter-result{min-height:112px;padding:20px;border-radius:17px;background:linear-gradient(135deg,#172b4d,#264c88);color:#fff;display:grid;align-content:center;text-align:center}.converter-result small{color:#aebed7;font-size:9px;letter-spacing:.7px}.converter-result strong{margin:6px 0 3px;font-size:30px}.converter-result span{color:#c7d3e5;font-size:10px}
@media(min-width:1261px) and (max-width:1550px){.topbar-inner{grid-template-columns:minmax(205px,225px) minmax(220px,1fr) 150px auto;gap:12px}.market-trigger{display:grid!important;width:150px;min-width:150px;grid-template-columns:1fr 15px;padding-inline:9px}.market-trigger .market-live{display:none}.market-trigger>svg{width:15px}#marketRates{gap:7px}#marketRates>span{min-width:0}#marketRates>span:nth-child(n+3){display:none}#marketRates small{font-size:6px}#marketRates strong{font-size:8px}}
@media(max-width:1260px){.market-trigger{display:none!important}.topbar-inner{grid-template-columns:minmax(205px,245px) minmax(260px,1fr) auto}}
@media(max-width:760px){.currency-settings-grid,.switch-grid{grid-template-columns:1fr}.converter-grid{grid-template-columns:1fr 1fr}.converter-grid>label:first-child{grid-column:1/-1}.converter-grid button{grid-row:3;grid-column:1/-1;width:100%}.converter-result strong{font-size:24px}}

/* HostPilot 1.12 — native profitability chart and live report conversion */
.sales-area{fill:url(#salesAreaV18)}
.report-currency-switch{margin:0 0 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.report-currency-switch .report-currency-tabs{margin:0}.report-currency-tabs button:disabled{cursor:wait;opacity:.48}.currency-conversion-note{min-height:46px;padding:7px 11px;border:1px solid color-mix(in srgb,var(--primary) 16%,var(--line));border-radius:12px;background:linear-gradient(125deg,var(--primary-soft),var(--surface));display:flex;align-items:center;gap:9px;color:var(--primary)}.currency-conversion-note>svg{width:18px;height:18px;flex:none}.currency-conversion-note span,.currency-conversion-note strong,.currency-conversion-note small{display:block}.currency-conversion-note strong{font-size:10px}.currency-conversion-note small{margin-top:2px;color:var(--muted);font-size:8px;white-space:nowrap}
.margin-intelligence{display:flex;flex-direction:column;overflow:hidden}.margin-intelligence .card-body{min-height:0;flex:1;padding:17px 20px 20px;display:flex!important;align-items:center;justify-content:center}.efficiency-chart{width:100%;min-height:408px;padding:2px 0;display:grid;grid-template-rows:auto auto auto auto;align-content:center;gap:13px}.efficiency-ring{position:relative;width:min(238px,100%);aspect-ratio:1;margin:0 auto;color:var(--primary);filter:drop-shadow(0 13px 24px color-mix(in srgb,var(--primary) 13%,transparent))}.efficiency-ring svg{width:100%;height:100%;display:block;overflow:visible}.eff-ring-track,.eff-ring-progress,.eff-ring-target{fill:none}.eff-ring-track{stroke:var(--surface-3);stroke-width:17}.eff-ring-progress{stroke:url(#efficiencyGradient);stroke-width:17;stroke-linecap:round;transition:stroke-dasharray .35s ease}.eff-ring-target{stroke:#f2a93b;stroke-width:7;stroke-linecap:round}.efficiency-ring.loss .eff-ring-progress{stroke:#ef6473}.efficiency-ring.low .eff-ring-progress{stroke:#f2a93b}.efficiency-ring>span{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.efficiency-ring small,.efficiency-ring strong,.efficiency-ring em{display:block}.efficiency-ring small{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:1px}.efficiency-ring strong{margin-top:5px;color:var(--text);font-size:32px;letter-spacing:-1.5px}.efficiency-ring em{width:max-content;margin:6px auto 0;padding:5px 9px;border-radius:999px;background:var(--success-soft);color:var(--success);font-size:9px;font-style:normal;font-weight:850}.efficiency-ring.balanced em,.efficiency-ring.low em{background:#fff5df;color:#a36c0e}.efficiency-ring.loss em{background:var(--danger-soft);color:var(--danger)}
.efficiency-benchmark{display:grid;grid-template-columns:1fr 1fr;gap:8px}.efficiency-benchmark>span{min-height:42px;padding:8px 9px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);display:grid;grid-template-columns:8px 1fr;align-items:center;column-gap:7px;color:var(--muted);font-size:8px}.efficiency-benchmark i{width:8px;height:8px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 12%,transparent)}.efficiency-benchmark>span:nth-child(2) i{background:#f2a93b;box-shadow:0 0 0 4px color-mix(in srgb,#f2a93b 14%,transparent)}.efficiency-benchmark b{grid-column:2;color:var(--text);font-size:11px}.efficiency-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.efficiency-metrics>div{min-height:61px;padding:10px 7px;border:1px solid var(--line);border-radius:11px;background:linear-gradient(145deg,var(--surface-2),var(--surface));display:grid;align-content:center;text-align:center}.efficiency-metrics small{color:var(--muted);font-size:8px}.efficiency-metrics strong{margin-top:4px;font-size:11px;overflow-wrap:anywhere}.efficiency-foot{min-height:50px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--primary) 17%,var(--line));border-radius:11px;background:var(--primary-soft);display:flex;align-items:center;gap:9px}.efficiency-foot>svg{width:17px;color:var(--primary);flex:none}.efficiency-foot span,.efficiency-foot strong,.efficiency-foot small{display:block}.efficiency-foot strong{font-size:9px}.efficiency-foot small{margin-top:2px;color:var(--muted);font-size:8px;line-height:1.45}
@media(max-width:1050px){.margin-intelligence .card-body{padding:20px}.efficiency-chart{min-height:0;grid-template-columns:minmax(190px,240px) minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;column-gap:22px}.efficiency-ring{grid-row:1/4}.efficiency-foot{grid-column:2}.report-currency-switch{align-items:flex-start;flex-direction:column}.currency-conversion-note{width:100%}}
@media(max-width:680px){.efficiency-chart{display:grid;grid-template-columns:1fr;grid-template-rows:auto;gap:11px}.efficiency-ring{grid-row:auto;width:min(220px,78vw)}.efficiency-foot{grid-column:auto}.efficiency-metrics{grid-template-columns:1fr}.currency-conversion-note small{white-space:normal}}

/* HostPilot 1.13.1 — compact, professional recovery and password onboarding */
.recovery-shell{position:relative;z-index:1;width:min(1240px,calc(100% - 48px));min-height:min(720px,calc(100svh - 48px));margin:24px auto;display:grid;grid-template-columns:minmax(0,1.42fr) minmax(390px,.78fr);gap:18px;color:#172843}
.recovery-visual{position:relative;min-width:0;padding:42px 44px 34px;border:1px solid #ffffff1f;border-radius:28px;background:linear-gradient(142deg,#122541 0,#1c3a6a 58%,#35529e 100%);box-shadow:0 32px 90px rgba(15,34,67,.25);color:#fff;overflow:hidden;display:flex;flex-direction:column}.recovery-visual:before{content:"";position:absolute;width:460px;height:460px;right:-205px;top:-245px;border:1px solid #ffffff1a;border-radius:50%;box-shadow:0 0 0 74px #ffffff08,0 0 0 148px #ffffff05}.recovery-visual:after{content:"";position:absolute;inset:auto -8% -34% 25%;height:56%;border-radius:50%;background:radial-gradient(ellipse,#6985f03b 0,transparent 67%);transform:rotate(-8deg)}.recovery-visual>*{position:relative;z-index:1}
.recovery-brand{width:max-content;display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:20px;font-weight:850;letter-spacing:-.5px}.recovery-brand .brand-symbol{width:44px;height:44px;border:1px solid #ffffff2b;border-radius:14px;background:linear-gradient(145deg,#738bff,#4766ff);color:#fff;display:grid;place-items:center;box-shadow:0 12px 28px #07152f59}.recovery-brand .brand-symbol svg{width:22px}.recovery-brand small{display:block;margin-top:3px;color:#aebdd4;font-size:9px;font-weight:650;letter-spacing:.35px}
.recovery-copy{max-width:670px;margin:auto 0 30px;padding-top:38px}.recovery-copy .eyebrow{color:#9db0ff}.recovery-copy h1{max-width:650px;margin:13px 0 17px;color:#fff;font-size:clamp(34px,3.7vw,52px);line-height:1.07;letter-spacing:-2px}.recovery-copy p{max-width:625px;margin:0;color:#c4d0e2;font-size:14px;line-height:1.8}
.recovery-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:20px}.recovery-flow article{position:relative;min-height:105px;padding:15px 13px;border:1px solid #ffffff16;border-radius:15px;background:#091c3652;color:#8495b3;display:grid;grid-template-columns:31px minmax(0,1fr);align-content:center;gap:9px}.recovery-flow article>span{position:absolute;top:10px;right:11px;color:#8191ad;font-size:8px;font-weight:850;letter-spacing:1px}.recovery-flow article>svg{width:31px;height:31px;padding:7px;border-radius:10px;background:#ffffff0b;color:#8495b3}.recovery-flow article strong,.recovery-flow article small{display:block}.recovery-flow article strong{color:#b4c0d3;font-size:11px}.recovery-flow article small{margin-top:4px;font-size:8px;line-height:1.45}.recovery-flow article.active{border-color:#7890ff55;background:#4766ff20;color:#fff}.recovery-flow article.active>svg{background:#4766ff;color:#fff;box-shadow:0 8px 20px #08172e4d}.recovery-flow article.active strong{color:#fff}.recovery-flow article.active small{color:#b9c7dd}
.recovery-assurance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.recovery-assurance>span{min-height:61px;padding:10px 12px;border:1px solid #ffffff13;border-radius:13px;background:#071a3342;display:grid;grid-template-columns:23px minmax(0,1fr);align-content:center;column-gap:8px}.recovery-assurance svg{grid-row:1/3;width:18px;align-self:center;color:#89a0ff}.recovery-assurance strong,.recovery-assurance small{display:block}.recovery-assurance strong{color:#fff;font-size:10px}.recovery-assurance small{margin-top:2px;color:#9fafc8;font-size:8px}
.recovery-panel{min-width:0;border:1px solid #ffffffc9;border-radius:28px;background:linear-gradient(160deg,#f9fbff,#edf2fb);box-shadow:0 32px 90px rgba(28,48,82,.17);display:grid;place-items:center;padding:34px}.recovery-card{width:100%;max-width:420px;padding:27px 0}.recovery-card-icon{width:48px;height:48px;margin-bottom:21px;border:1px solid #d8e0ff;border-radius:15px;background:linear-gradient(145deg,#eef2ff,#fff);color:#4766ff;display:grid;place-items:center;box-shadow:0 10px 24px #4766ff17}.recovery-card-icon svg{width:22px}.recovery-card>.eyebrow{color:#4766ff}.recovery-card h2{margin:9px 0 10px;color:#172843;font-size:28px;line-height:1.2;letter-spacing:-.9px}.recovery-card>p{margin:0;color:#738098;font-size:12px;line-height:1.7}.recovery-progress{height:5px;margin:20px 0 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.recovery-progress span{border-radius:20px;background:#dce3ef}.recovery-progress span.active{background:linear-gradient(90deg,#6f86ff,#4766ff)}
.recovery-card form.stack{gap:15px}.recovery-card label{color:#273a56;font-size:11px;font-weight:800}.recovery-card .input-with-icon{margin-top:7px}.recovery-card input:not([type=checkbox]):not([type=radio]){width:100%;height:50px;border:1px solid #d6dfec;border-radius:12px;background:#f8faff;color:#172843;padding:0 48px;font-size:13px;outline:0;transition:border-color .16s,box-shadow .16s,background .16s}.recovery-card input:not([type=checkbox]):not([type=radio]):focus{border-color:#7186f4;background:#fff;box-shadow:0 0 0 4px #4766ff17}.recovery-card .input-with-icon>svg{left:16px;width:18px;height:18px;color:#7b8ba7}.recovery-card .password-toggle{right:6px}.recovery-card .auth-submit{min-height:50px;margin-top:3px;border-radius:12px;background:linear-gradient(135deg,#5672ff,#4160f4);border-color:#4766ff;box-shadow:0 13px 27px #4766ff29}.recovery-card .auth-submit:hover{background:linear-gradient(135deg,#4967f7,#3454e8)}.recovery-card .auth-submit svg{width:17px}.recovery-card .notice{margin:0 0 18px;padding:12px 14px;border-radius:11px;font-size:10px;line-height:1.55}.recovery-card .password-rules{margin-top:-5px}.recovery-card .reset-code-input{padding-left:48px!important;text-align:center;letter-spacing:8px;font-size:20px!important}.recovery-card .reset-restart{margin-top:12px}.recovery-card .text-button{border:0;background:none;color:#536b9c;font-size:10px;font-weight:800;cursor:pointer}.recovery-card .text-button:hover{color:#4766ff;text-decoration:underline}.recovery-card-foot{margin-top:22px;padding:14px 0 0;border-top:1px solid #dfe6f1;display:flex;align-items:flex-start;gap:9px;color:#728097;font-size:9px;line-height:1.55}.recovery-card-foot svg{width:15px;flex:none;color:#2daf82}.recovery-card .auth-help{margin-top:14px!important;font-size:10px!important}.recovery-card .auth-help a{display:inline-flex;align-items:center;gap:6px;color:#526887;text-decoration:none}.recovery-card .auth-help svg{width:13px}.password-change-card{max-width:440px}
@media(max-width:980px){.recovery-shell{width:min(920px,calc(100% - 28px));grid-template-columns:minmax(0,1fr) 370px;margin:14px auto;min-height:calc(100svh - 28px)}.recovery-visual{padding:32px}.recovery-copy h1{font-size:37px}.recovery-copy p{font-size:12px}.recovery-flow{grid-template-columns:1fr}.recovery-flow article{min-height:66px}.recovery-assurance{display:none}.recovery-panel{padding:27px}}
@media(max-width:760px){.recovery-shell{width:calc(100% - 20px);min-height:0;margin:10px auto 18px;display:block}.recovery-visual{min-height:0;padding:22px;border-radius:21px}.recovery-copy{margin:31px 0 8px;padding:0}.recovery-copy h1{margin-block:9px 10px;font-size:29px;letter-spacing:-1.2px}.recovery-copy p{font-size:11px}.recovery-flow,.recovery-assurance{display:none}.recovery-panel{margin-top:10px;padding:24px 20px;border-radius:21px}.recovery-card{max-width:480px;padding:5px 0}.recovery-card-icon{width:43px;height:43px;margin-bottom:16px}.recovery-card h2{font-size:25px}.recovery-progress{margin:17px 0 20px}}
@media(max-width:430px){.recovery-shell{width:calc(100% - 14px);margin:7px auto 14px}.recovery-visual{padding:18px}.recovery-copy h1{font-size:25px}.recovery-copy p{display:none}.recovery-brand{font-size:17px}.recovery-brand .brand-symbol{width:39px;height:39px}.recovery-panel{padding:21px 17px}.recovery-card input:not([type=checkbox]):not([type=radio]){font-size:16px}.recovery-card .password-rules span{font-size:9px}}

/* 1.14 responsive precedence */
@media(min-width:1381px){.topbar-inner{grid-template-columns:minmax(180px,230px) minmax(260px,1fr) auto auto!important}}
@media(max-width:1380px){.topbar-inner{grid-template-columns:190px minmax(220px,1fr) auto!important}.market-trigger{display:none!important}.overview-kpis-v17{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:1060px){.topbar-inner{grid-template-columns:auto 1fr auto!important}.brand-sub,.searchbox kbd,.context-cluster .company-scope>span:nth-child(2),.context-cluster .company-scope>svg:last-child,.account-trigger>span:nth-child(2),.account-trigger>svg:last-child{display:none!important}.context-cluster .company-scope{width:42px!important;min-width:42px!important}.account-trigger{min-width:48px;width:48px}.overview-kpis-v17{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:720px){.topbar-inner{grid-template-columns:auto 1fr auto!important}.searchbox{grid-column:1/-1;grid-row:2}.context-cluster{display:none}.overview-kpis-v17{grid-template-columns:1fr!important}}
@media print{.account-menu,.archive-center .row-actions{display:none!important}.overview-kpis-v17{grid-template-columns:repeat(3,1fr)!important}.overview-kpis-v17 article{min-height:20mm!important;padding:3mm!important;background:#fff!important;box-shadow:none!important}.service-finance-panel,.portfolio-finance-card,.archive-hero,.archive-center{background:#fff!important;box-shadow:none!important}.portfolio-finance-card{padding:3mm!important}.archive-hero{padding:4mm!important;margin-bottom:3mm!important}}

/* HostPilot 1.14.1 — page-owned archives, readable header and deterministic chart details */
.topbar-inner{grid-template-columns:minmax(205px,235px) minmax(300px,1fr) auto!important}.brand-sub{font-size:10px!important;letter-spacing:.02em}.company-scope{min-width:188px;max-width:230px;height:48px}.company-scope small{font-size:9px;letter-spacing:.09em}.company-scope strong{font-size:12px;line-height:1.25}.company-scope-symbol{width:31px;height:31px}.active-period{min-width:126px}.active-period small{font-size:9px!important;letter-spacing:.08em}.active-period select{font-size:13px!important}.account-trigger{min-width:186px;height:50px;padding:5px 11px}.account-copy{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:9px!important;min-width:102px!important}.account-copy small{grid-column:1/-1;font-size:8px!important;letter-spacing:.11em}.account-copy strong{font-size:12px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-copy em{font-size:10px;font-style:normal;font-weight:800;color:var(--primary);font-variant-numeric:tabular-nums;align-self:center}.account-menu-head strong{font-size:14px}.account-menu-head small{font-size:10px;line-height:1.5}
.menu-bar{padding:9px 0}.menu-shell{width:min(calc(100% - 48px),1540px);max-width:1540px;margin:0 auto;display:flex;align-items:center;gap:20px}.menu-shell .menu-center{width:auto;max-width:none;min-width:0;flex:1;margin:0;justify-content:flex-start;overflow:visible}.menu-shell .menu-item,.menu-shell .menu-group-trigger{font-size:13px;min-height:44px}.menu-market{margin-left:auto;flex:none}.menu-market .market-trigger{display:grid!important;min-width:258px!important;width:258px!important;height:44px!important}.menu-market .market-trigger[hidden]{display:none!important}.menu-market .market-live{font-size:8px}.menu-market #marketRates small{font-size:8px}.menu-market #marketRates strong{font-size:10px}
.record-view-tabs{margin:0 0 18px;padding:5px;width:max-content;max-width:100%;display:flex;gap:5px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 10px 30px rgba(25,43,73,.055)}.record-view-tabs button{min-width:195px;min-height:58px;padding:9px 13px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--muted);display:grid;grid-template-columns:34px 1fr;align-items:center;gap:10px;text-align:left;cursor:pointer}.record-view-tabs button>svg{width:34px;height:34px;padding:8px;border-radius:10px;background:var(--surface-2);color:var(--muted)}.record-view-tabs strong,.record-view-tabs small{display:block}.record-view-tabs strong{font-size:12px;color:var(--text)}.record-view-tabs small{margin-top:3px;font-size:9px}.record-view-tabs button:hover{background:var(--surface-2)}.record-view-tabs button.active{border-color:color-mix(in srgb,var(--primary) 34%,var(--line));background:var(--primary-soft);color:var(--primary);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 12%,transparent)}.record-view-tabs button.active>svg{background:var(--primary);color:#fff}.record-view-tabs button.active strong{color:var(--primary)}
.module-archive-card{overflow:hidden}.module-archive-head{min-height:86px;padding:17px 20px;border-bottom:1px solid var(--line);background:linear-gradient(125deg,color-mix(in srgb,var(--primary-soft) 58%,var(--surface)),var(--surface));display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:13px}.module-archive-head>span{width:44px;height:44px;border-radius:13px;background:var(--primary);color:#fff;display:grid;place-items:center}.module-archive-head>span svg{width:20px}.module-archive-head strong,.module-archive-head small{display:block}.module-archive-head strong{font-size:15px}.module-archive-head small{margin-top:4px;color:var(--muted);font-size:10px;line-height:1.5}.module-archive-head em{padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:10px;font-style:normal;font-weight:800;color:var(--primary)}
.chart-tooltip-host{position:relative}.chart-tooltip-slot-overlay{position:absolute;z-index:35;top:16px;right:18px;pointer-events:none}.card-body>.chart-tooltip-slot-overlay{top:14px}.chart-tooltip-slot-health{min-height:76px;margin:0 18px 18px;display:flex;align-items:flex-start;justify-content:center;pointer-events:none}.chart-tooltip-slot .chart-tooltip{position:static!important;inset:auto!important;width:190px;max-width:100%;transform:none!important;transition:opacity .12s ease}.chart-tooltip-slot-health .chart-tooltip{width:min(230px,100%)}.chart-tooltip[hidden]{display:none!important}.renewal-radar-item{border-radius:10px;outline:none;cursor:help;transition:background .16s,transform .16s}.renewal-radar-item:hover,.renewal-radar-item:focus{background:var(--primary-soft);transform:translateY(-2px)}.renewal-radar-item:hover .radar-track,.renewal-radar-item:focus .radar-track{box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 11%,transparent)}
@media(min-width:1381px){.topbar-inner{grid-template-columns:minmax(205px,235px) minmax(300px,1fr) auto!important}}
@media(max-width:1380px){.menu-market{display:none}.menu-shell .menu-center{overflow-x:auto}.account-trigger{min-width:166px}.topbar-inner{grid-template-columns:190px minmax(220px,1fr) auto!important}}
@media(max-width:1060px){.menu-shell{width:calc(100% - 32px)}.account-copy{display:none!important}.account-trigger{min-width:48px;width:48px}.record-view-tabs{width:100%}.record-view-tabs button{min-width:0;flex:1}}
@media(max-width:640px){.menu-shell{width:calc(100% - 20px);display:block}.record-view-tabs{padding:4px}.record-view-tabs button{min-height:52px;padding:7px 8px;grid-template-columns:28px 1fr}.record-view-tabs button>svg{width:28px;height:28px;padding:6px}.record-view-tabs strong{font-size:11px}.record-view-tabs small{font-size:8px}.module-archive-head{grid-template-columns:39px 1fr}.module-archive-head>span{width:39px;height:39px}.module-archive-head em{grid-column:2;width:max-content}.chart-tooltip-slot-overlay{top:9px;right:9px}.chart-tooltip-slot .chart-tooltip{width:168px}}
@media print{.record-view-tabs,.module-archive-head em{display:none!important}.module-archive-card{box-shadow:none!important}.module-archive-head{background:#fff!important}}

/* HostPilot 1.14.2 — fixed chart inspector and contextual archive restore */
.chart-tooltip,.chart-tooltip-slot{display:none!important}.chart-inspector{min-height:58px;margin:0 20px 10px;padding:10px 13px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--line));border-radius:13px;background:linear-gradient(125deg,color-mix(in srgb,var(--primary-soft) 45%,var(--surface)),var(--surface));display:grid;grid-template-columns:10px minmax(0,1fr);align-items:center;gap:11px;transition:border-color .16s,background .16s}.chart-inspector-mark{width:9px;height:9px;border-radius:50%;background:var(--muted);box-shadow:0 0 0 5px color-mix(in srgb,var(--muted) 11%,transparent)}.chart-inspector div{min-width:0;display:flex;align-items:baseline;justify-content:space-between;gap:16px}.chart-inspector strong,.chart-inspector span{display:block}.chart-inspector strong{font-size:11px;color:var(--text);white-space:nowrap}.chart-inspector div>span{min-width:0;color:var(--muted);font-size:10px;line-height:1.45;text-align:right}.chart-inspector.is-active{border-color:color-mix(in srgb,var(--primary) 42%,var(--line));background:linear-gradient(125deg,var(--primary-soft),var(--surface))}.chart-inspector.is-active .chart-inspector-mark{background:var(--primary);box-shadow:0 0 0 5px color-mix(in srgb,var(--primary) 14%,transparent)}.report-chart-card>.chart-inspector,.analytics-card>.chart-inspector{margin-top:12px}.health-intelligence>.chart-inspector{margin-top:12px}.operations-grid .card>.chart-inspector{margin-top:12px}.renewal-radar-item{cursor:crosshair}.executive-point{cursor:crosshair;outline:none}.executive-point:focus .profit-column,.executive-point:hover .profit-column{opacity:.85}.health-segment{cursor:crosshair;outline:none;transition:stroke-width .16s,filter .16s}.health-segment:hover,.health-segment:focus{stroke-width:12;filter:drop-shadow(0 2px 4px color-mix(in srgb,var(--text) 22%,transparent))}
.archive-owner-cell{min-width:230px;display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px}.archive-owner-cell>span{width:36px;height:36px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--line));border-radius:11px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.archive-owner-cell>span svg{width:17px}.archive-owner-cell strong,.archive-owner-cell small{display:block}.archive-owner-cell strong{font-size:12px;color:var(--text)}.archive-owner-cell small{margin-top:3px;font-size:9px;line-height:1.45}.archive-owner-cell .badge{width:max-content;margin-top:6px}.archive-relation-card{margin:13px 0 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.archive-relation-card.single{grid-template-columns:1fr}.archive-relation-card>div{min-width:0;padding:12px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(145deg,var(--surface-2),var(--surface));display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;align-items:center}.archive-relation-card>div>span:first-child{grid-row:1/3;width:34px;height:34px;border-radius:10px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.archive-relation-card>div>span:first-child svg{width:16px}.archive-relation-card small,.archive-relation-card strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.archive-relation-card small{font-size:8px;text-transform:uppercase;letter-spacing:.7px}.archive-relation-card strong{font-size:11px}.archive-relation-card .badge{grid-column:1/-1;width:max-content;margin-top:8px}.archive-restore-error{margin:0 0 14px;font-weight:750}.archive-restore-error:focus{outline:3px solid color-mix(in srgb,var(--danger) 18%,transparent);outline-offset:2px}
@media(max-width:760px){.chart-inspector{margin-inline:14px}.chart-inspector div{display:block}.chart-inspector div>span{margin-top:3px;text-align:left}.archive-relation-card{grid-template-columns:1fr}.archive-owner-cell{min-width:190px}}
@media print{.chart-inspector{min-height:0;margin:2mm 3mm;padding:2mm 3mm;background:#fff!important}.chart-inspector-mark{box-shadow:none}.archive-relation-card,.archive-restore-error{display:none!important}}

/* HostPilot 1.14.3 — CSP-safe cursor-following chart details */
.chart-inspector{display:none!important}.chart-cursor-tooltip{position:fixed;z-index:2600;left:0;top:0;transform:translate3d(-500px,-500px,0);width:min(238px,calc(100vw - 20px));padding:12px 13px;border:1px solid color-mix(in srgb,var(--primary) 28%,var(--line));border-radius:13px;background:color-mix(in srgb,var(--surface) 96%,transparent);color:var(--text);box-shadow:0 17px 45px rgba(9,22,47,.2);pointer-events:none;opacity:0;transition:opacity .1s ease;will-change:transform}.chart-cursor-tooltip[hidden]{display:none!important}.chart-cursor-tooltip.is-visible{opacity:1}.chart-cursor-tooltip:before{content:"";position:absolute;left:18px;top:-6px;width:10px;height:10px;border-left:1px solid color-mix(in srgb,var(--primary) 28%,var(--line));border-top:1px solid color-mix(in srgb,var(--primary) 28%,var(--line));background:var(--surface);transform:rotate(45deg)}.chart-cursor-tooltip.is-left:before{left:auto;right:18px}.chart-cursor-tooltip.is-above:before{top:auto;bottom:-6px;border:0;border-right:1px solid color-mix(in srgb,var(--primary) 28%,var(--line));border-bottom:1px solid color-mix(in srgb,var(--primary) 28%,var(--line))}.chart-cursor-tooltip>strong{display:block;padding-bottom:8px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.35}.chart-cursor-tooltip>div{display:grid;gap:6px;padding-top:8px}.chart-cursor-tooltip>div>span{min-height:18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-cursor-tooltip small{font-size:9px;color:var(--muted)}.chart-cursor-tooltip b{font-size:10px;text-align:right;font-variant-numeric:tabular-nums}.executive-point,.health-segment,.renewal-radar-item,.efficiency-ring{cursor:crosshair}.executive-point:focus-visible,.health-segment:focus-visible,.renewal-radar-item:focus-visible,.efficiency-ring:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 32%,transparent);outline-offset:3px}
@media(max-width:640px){.chart-cursor-tooltip{width:min(214px,calc(100vw - 16px));padding:10px 11px}.chart-cursor-tooltip>strong{font-size:11px}.chart-cursor-tooltip small,.chart-cursor-tooltip b{font-size:9px}}
@media print{.chart-cursor-tooltip{display:none!important}}

/* HostPilot 1.15.0 — portfolio command center, service catalog and menu studio */
.portfolio-command{margin:0 0 20px;border:1px solid color-mix(in srgb,var(--primary) 22%,var(--line));border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--primary-soft) 55%,var(--surface)),var(--surface) 42%,color-mix(in srgb,var(--success-soft) 22%,var(--surface)));box-shadow:0 18px 48px rgba(27,45,76,.08);overflow:hidden}.portfolio-command-head{min-height:126px;padding:24px 27px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:17px;border-bottom:1px solid var(--line);background:linear-gradient(118deg,color-mix(in srgb,var(--primary) 10%,transparent),transparent 58%);position:relative}.portfolio-command-head:after{content:"";position:absolute;right:15%;top:-100px;width:220px;height:220px;border:1px solid color-mix(in srgb,var(--primary) 10%,transparent);border-radius:50%;box-shadow:0 0 0 34px color-mix(in srgb,var(--primary) 4%,transparent),0 0 0 68px color-mix(in srgb,var(--primary) 3%,transparent);pointer-events:none}.portfolio-command-head>*{position:relative;z-index:1}.portfolio-command-icon{width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,var(--primary),#6f83ff);color:#fff;display:grid;place-items:center;box-shadow:0 14px 28px color-mix(in srgb,var(--primary) 27%,transparent)}.portfolio-command-icon svg{width:27px;height:27px}.portfolio-command-head small,.portfolio-command-head h2,.portfolio-command-head p{display:block;margin:0}.portfolio-command-head>div>small{font-size:9px;font-weight:900;letter-spacing:1.5px;color:var(--primary)}.portfolio-command-head h2{margin-top:4px;font-size:23px;letter-spacing:-.55px}.portfolio-command-head p{margin-top:5px;font-size:11px;color:var(--muted)}.portfolio-health-score{min-width:160px;padding:13px 15px;border:1px solid color-mix(in srgb,var(--primary) 17%,var(--line));border-radius:15px;background:color-mix(in srgb,var(--surface) 89%,transparent);text-align:right}.portfolio-health-score span,.portfolio-health-score strong,.portfolio-health-score small{display:block}.portfolio-health-score span{font-size:9px;color:var(--muted);font-weight:750}.portfolio-health-score strong{margin:2px 0;font-size:25px;color:var(--primary)}.portfolio-health-score small{font-size:9px;color:var(--muted)}.portfolio-pulse{padding:17px 20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.portfolio-pulse article{min-height:86px;padding:14px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--surface) 94%,transparent);display:flex;align-items:center;gap:12px}.portfolio-pulse article>span{width:39px;height:39px;flex:none;border-radius:12px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.portfolio-pulse article.warning>span{background:var(--warning-soft);color:var(--warning)}.portfolio-pulse article.danger>span{background:var(--danger-soft);color:var(--danger)}.portfolio-pulse svg{width:18px}.portfolio-pulse small,.portfolio-pulse strong,.portfolio-pulse em{display:block;font-style:normal}.portfolio-pulse small{font-size:9px;color:var(--muted)}.portfolio-pulse strong{margin:2px 0;font-size:21px}.portfolio-pulse em{font-size:9px;color:var(--muted)}.portfolio-ledgers{padding:0 20px 20px;display:grid;gap:13px}.portfolio-ledger{display:grid;grid-template-columns:180px minmax(0,1fr) 230px;gap:17px;padding:18px;border:1px solid color-mix(in srgb,var(--success) 20%,var(--line));border-radius:18px;background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--success-soft) 27%,var(--surface)));position:relative;overflow:hidden}.portfolio-ledger:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(var(--primary),var(--success))}.portfolio-ledger.loss{border-color:color-mix(in srgb,var(--danger) 26%,var(--line));background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--danger-soft) 25%,var(--surface)))}.portfolio-ledger.loss:before{background:var(--danger)}.ledger-identity{display:flex;align-items:center;gap:12px;border-right:1px solid var(--line);padding-right:15px}.ledger-identity>span{width:52px;height:52px;border-radius:15px;background:#162842;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:950}.ledger-identity small,.ledger-identity strong,.ledger-identity em{display:block;font-style:normal}.ledger-identity small{font-size:8px;color:var(--primary);font-weight:900;letter-spacing:.8px}.ledger-identity strong{font-size:15px}.ledger-identity em{margin-top:3px;font-size:9px;color:var(--muted)}.ledger-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ledger-metrics>div{padding:12px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--surface) 87%,transparent)}.ledger-metrics small,.ledger-metrics strong,.ledger-metrics span{display:block}.ledger-metrics small{font-size:8px;color:var(--muted)}.ledger-metrics strong{margin:4px 0;font-size:15px;white-space:nowrap}.ledger-metrics span{font-size:8px;color:var(--muted)}.ledger-metrics span svg{width:11px;vertical-align:-2px}.ledger-metrics .profit strong{color:var(--success)}.portfolio-ledger.loss .ledger-metrics .profit strong{color:var(--danger)}.ledger-gauge{display:flex;align-items:center;gap:14px}.ledger-ring{width:90px;height:90px;position:relative;flex:none}.ledger-ring svg{width:100%;height:100%;overflow:visible}.ledger-ring circle{fill:none;stroke:var(--line);stroke-width:9}.ledger-ring circle.value{stroke:var(--success);stroke-linecap:round}.portfolio-ledger.loss .ledger-ring circle.value{stroke:var(--danger)}.ledger-ring>span{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.ledger-ring small,.ledger-ring strong{display:block}.ledger-ring small{font-size:7px;color:var(--muted)}.ledger-ring strong{font-size:14px}.ledger-gauge>div:last-child{display:grid;gap:7px;flex:1}.ledger-gauge>div:last-child span{display:flex;justify-content:space-between;gap:9px;font-size:8px;color:var(--muted)}.ledger-gauge b{color:var(--text)}.portfolio-ledger footer{grid-column:1/-1;padding-top:12px;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.55fr);align-items:center;gap:16px;font-size:9px;color:var(--muted)}.portfolio-ledger footer svg{width:14px;color:var(--primary);vertical-align:-3px}.portfolio-ledger footer b{color:var(--text)}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.catalog-toolbar strong,.catalog-toolbar small{display:block}.catalog-toolbar strong{font-size:15px}.catalog-toolbar small{margin-top:3px;font-size:10px;color:var(--muted)}.catalog-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.catalog-type{padding:16px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,var(--surface),var(--surface-2))}.catalog-type.inactive{opacity:.68}.catalog-type>header{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:10px}.catalog-type>header>span:first-child{width:42px;height:42px;border-radius:13px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.catalog-type>header strong,.catalog-type>header small{display:block}.catalog-type>header strong{font-size:13px}.catalog-type>header small{margin-top:2px;font-size:9px;color:var(--muted)}.catalog-type>p{min-height:34px;margin:12px 0;font-size:10px;line-height:1.6;color:var(--muted)}.catalog-subtypes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.catalog-subtypes button{padding:10px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--text);text-align:left}.catalog-subtypes button.inactive{opacity:.55}.catalog-subtypes span,.catalog-subtypes strong,.catalog-subtypes small{display:block}.catalog-subtypes button>span{display:flex;align-items:center;gap:6px}.catalog-subtypes svg{width:13px;color:var(--primary)}.catalog-subtypes strong{font-size:10px}.catalog-subtypes small{margin-top:4px;font-size:8px;color:var(--muted)}.catalog-add-subtype{margin-top:10px;padding:8px 10px;border:1px dashed color-mix(in srgb,var(--primary) 38%,var(--line));border-radius:10px;background:transparent;color:var(--primary);font-size:9px;font-weight:800}.catalog-add-subtype svg{width:13px;vertical-align:-3px;margin-right:5px}.catalog-empty{font-size:9px;color:var(--muted)}
.menu-manager-intro{display:flex;align-items:center;gap:12px;margin-bottom:15px;padding:13px 15px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--line));border-radius:14px;background:var(--primary-soft)}.menu-manager-intro>svg{width:22px;color:var(--primary)}.menu-manager-intro strong,.menu-manager-intro small{display:block}.menu-manager-intro strong{font-size:12px}.menu-manager-intro small{margin-top:3px;font-size:9px;color:var(--muted)}.menu-sort-list{display:grid;gap:7px}.menu-sort-row{min-height:64px;padding:10px 13px;border:1px solid var(--line);border-radius:13px;background:var(--surface);display:grid;grid-template-columns:24px 38px minmax(0,1fr) auto;align-items:center;gap:10px;transition:transform .14s,border-color .14s,opacity .14s}.menu-sort-row.dragging{opacity:.48;border-color:var(--primary);transform:scale(.995)}.menu-drag{cursor:grab;color:var(--muted)}.menu-drag:active{cursor:grabbing}.menu-drag svg{width:17px}.menu-sort-icon{width:38px;height:38px;border-radius:11px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center}.menu-sort-icon svg{width:17px}.menu-sort-row div small,.menu-sort-row div strong,.menu-sort-row div em{display:block;font-style:normal}.menu-sort-row div small{font-size:8px;text-transform:uppercase;letter-spacing:.6px;color:var(--primary);font-weight:850}.menu-sort-row div strong{font-size:11px}.menu-sort-row div em{margin-top:2px;font-size:8px;color:var(--muted)}
/* HostPilot 1.15.1 — hierarchical menu manager */
.menu-tree-legend{margin-left:auto;display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--surface) 68%,transparent);color:var(--muted);font-size:9px;white-space:nowrap}.menu-tree-legend i{width:9px;height:9px;border-radius:3px;background:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}.menu-tree-legend i:nth-of-type(2){margin-left:5px;border-radius:50%;background:var(--success);box-shadow:0 0 0 3px color-mix(in srgb,var(--success) 12%,transparent)}
.menu-tree{display:grid;gap:13px}.menu-tree-branch{border:1px solid color-mix(in srgb,var(--primary) 17%,var(--line));border-radius:17px;background:linear-gradient(145deg,color-mix(in srgb,var(--primary-soft) 25%,var(--surface)),var(--surface) 48%);overflow:hidden;box-shadow:0 9px 24px rgba(20,36,66,.045);transition:border-color .16s,box-shadow .16s,opacity .16s,transform .16s}.menu-tree-branch:hover{border-color:color-mix(in srgb,var(--primary) 32%,var(--line));box-shadow:0 13px 30px rgba(20,36,66,.075)}.menu-tree-branch.dragging,.menu-tree-child.dragging{opacity:.46;border-color:var(--primary);transform:scale(.994)}
.menu-tree-parent{min-height:76px;padding:12px 15px;display:grid;grid-template-columns:23px 44px minmax(0,1fr) auto;align-items:center;gap:12px;background:linear-gradient(100deg,color-mix(in srgb,var(--primary-soft) 62%,var(--surface)),var(--surface) 72%)}.menu-tree-parent.is-disabled{filter:saturate(.55)}.menu-parent-icon{width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,var(--primary),#7385ff);color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px color-mix(in srgb,var(--primary) 22%,transparent)}.menu-parent-icon svg{width:19px;height:19px}.menu-node-copy{min-width:0}.menu-node-copy small,.menu-node-copy strong,.menu-node-copy em{display:block;font-style:normal}.menu-node-copy small{font-size:8px;font-weight:900;letter-spacing:.85px;color:var(--primary)}.menu-node-copy strong{margin-top:2px;font-size:12px;color:var(--text)}.menu-node-copy em{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:var(--muted)}
.menu-tree-children{position:relative;margin:0 15px 14px 45px;padding:8px 0 0 24px;border-left:2px solid color-mix(in srgb,var(--primary) 18%,var(--line));display:grid;gap:7px}.menu-tree-child{position:relative;min-height:65px;padding:9px 12px;display:grid;grid-template-columns:22px 38px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--surface) 96%,transparent);transition:border-color .16s,background .16s,opacity .16s,transform .16s}.menu-tree-child:hover{border-color:color-mix(in srgb,var(--primary) 28%,var(--line));background:var(--surface)}.menu-tree-child.is-disabled{opacity:.64;background:var(--surface-2)}.menu-tree-line{position:absolute;left:-25px;top:50%;width:24px;height:2px;background:color-mix(in srgb,var(--primary) 18%,var(--line))}.menu-tree-line:after{content:"";position:absolute;right:-2px;top:-3px;width:7px;height:7px;border-radius:50%;background:var(--surface);border:2px solid color-mix(in srgb,var(--primary) 45%,var(--line))}.menu-tree-child .menu-sort-icon{width:38px;height:38px}.menu-tree-child.is-enabled .menu-sort-icon{background:color-mix(in srgb,var(--success-soft) 52%,var(--primary-soft));color:color-mix(in srgb,var(--success) 65%,var(--primary))}
.menu-state-toggle{min-width:113px;display:flex;align-items:center;justify-content:flex-end;gap:10px;cursor:pointer}.menu-state-label{min-width:36px;font-size:9px;font-weight:900;text-align:right;color:var(--muted);transition:color .18s}.is-enabled>.menu-state-toggle .menu-state-label,.is-enabled .menu-state-label{color:var(--success)}.menu-state-toggle .switch{display:inline-block}.menu-lock-state{min-width:104px;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border:1px solid color-mix(in srgb,var(--info) 22%,var(--line));border-radius:10px;background:var(--info-soft);color:var(--info)}.menu-lock-state svg{width:14px}.menu-lock-state b{font-size:9px}.menu-tree .switch input:checked+span{background:linear-gradient(135deg,#0cad86,#16bd92);border-color:#0cad86;box-shadow:0 5px 13px rgba(12,173,134,.22)}
@media(max-width:1000px){.portfolio-pulse{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-ledger{grid-template-columns:150px minmax(0,1fr)}.ledger-gauge{grid-column:1/-1}.portfolio-command-head{grid-template-columns:auto minmax(0,1fr)}.portfolio-health-score{grid-column:1/-1;text-align:left}.catalog-list{grid-template-columns:1fr}}
@media(max-width:640px){.portfolio-command{border-radius:17px}.portfolio-command-head{padding:18px;grid-template-columns:45px minmax(0,1fr)}.portfolio-command-icon{width:45px;height:45px;border-radius:14px}.portfolio-command-head h2{font-size:19px}.portfolio-pulse{padding:12px;grid-template-columns:1fr 1fr;gap:7px}.portfolio-pulse article{min-height:74px;padding:10px}.portfolio-pulse article>span{display:none}.portfolio-ledgers{padding:0 12px 12px}.portfolio-ledger{padding:15px;grid-template-columns:1fr}.ledger-identity{border-right:0;border-bottom:1px solid var(--line);padding:0 0 12px}.ledger-metrics{grid-template-columns:1fr}.portfolio-ledger footer{grid-template-columns:1fr}.catalog-subtypes{grid-template-columns:1fr}.catalog-toolbar{align-items:stretch;flex-direction:column}.menu-sort-row{grid-template-columns:20px 34px minmax(0,1fr) auto}.menu-sort-row div em{display:none}.menu-manager-intro{align-items:flex-start;flex-wrap:wrap}.menu-tree-legend{width:100%;margin:3px 0 0}.menu-tree-parent{padding:11px;grid-template-columns:18px 39px minmax(0,1fr)}.menu-parent-icon{width:39px;height:39px}.menu-tree-parent>.menu-state-toggle,.menu-tree-parent>.menu-lock-state{grid-column:2/-1;justify-self:stretch;justify-content:flex-end}.menu-tree-children{margin:0 10px 11px 21px;padding-left:14px}.menu-tree-child{grid-template-columns:18px 34px minmax(0,1fr);padding:9px}.menu-tree-child>.menu-state-toggle,.menu-tree-child>.menu-lock-state{grid-column:2/-1;justify-self:stretch;justify-content:flex-end}.menu-tree-line{left:-15px;width:14px}.menu-node-copy em{white-space:normal}.menu-state-toggle{min-width:0}}
@media print{.portfolio-command{box-shadow:none!important}.catalog-list,.menu-manager-intro,.menu-sort-list{break-inside:avoid}}
.menu-group:first-of-type .menu-dropdown{max-height:min(520px,calc(100dvh - 175px));overflow-y:auto;overscroll-behavior:contain}.menu-group:first-of-type .menu-dropdown::-webkit-scrollbar{width:7px}.menu-group:first-of-type .menu-dropdown::-webkit-scrollbar-thumb{border-radius:8px;background:color-mix(in srgb,var(--primary) 35%,var(--line))}

/* HostPilot 1.19.0 UI alignment + auth parity hotfix */
@media(min-width:761px){
  .hp-panel .topbar{padding-left:0!important;padding-right:0!important}
  .topbar-inner,.menu-shell{width:min(calc(100% - 48px),1540px)!important;max-width:1540px!important;margin-left:auto!important;margin-right:auto!important}
  .topbar-inner{padding-left:0!important;padding-right:0!important}
  .hp-panel .topbar .brand{padding-left:0!important}
  .menu-shell{padding-left:0!important;padding-right:0!important}
}
@media(min-width:1381px){
  .menu-market .market-trigger{width:348px!important;min-width:348px!important}
}
.auth-page{background:radial-gradient(circle at 18% 14%,rgba(63,91,150,.24),transparent 34%),radial-gradient(circle at 84% 82%,rgba(38,69,126,.22),transparent 38%),linear-gradient(145deg,#17243a 0%,#263b5c 48%,#17263f 100%)!important}
.auth-page:before{inset:0!important;height:auto!important;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px)!important;background-size:64px 64px!important;clip-path:none!important;opacity:.75!important}
.auth-page:after{left:auto!important;right:-12vw!important;bottom:-30vh!important;width:70vw!important;height:70vw!important;border-radius:50%!important;background:radial-gradient(circle,rgba(77,110,190,.22),transparent 66%)!important;clip-path:none!important;opacity:1!important}
@media(min-width:761px){
  .auth-layout,.recovery-shell{width:min(1240px,calc(100% - 48px))!important;max-width:1240px!important;min-height:min(720px,calc(100svh - 48px))!important;margin:24px auto!important;padding:0!important;grid-template-columns:minmax(0,1.42fr) minmax(390px,.78fr)!important;gap:18px!important;align-items:stretch!important}
  .auth-story,.auth-form-panel,.auth-form-wrap,.recovery-visual,.recovery-panel{min-height:100%!important}
  .auth-story,.auth-form-wrap,.recovery-visual,.recovery-panel{border-radius:28px!important}
  .auth-form-panel{padding:0!important}
}
