:root { --ink:#10213d; --muted:#6d788b; --line:#dce4ef; --cream:#f4f7fb; --card:#fff; --green:#123b73; --lime:#9ec7ff; --mint:#e3efff; --orange:#f7a65a; --red:#c74b46; --shadow:0 12px 35px rgba(15,38,75,.10); font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ink); background:var(--cream); }
[hidden] { display:none!important; }
.field:has([name="taxTable"]),.field:has([name="taxColumn"]),.field:has([name="taxAdjustmentMode"]),.field:has([name="taxAdjustmentValue"]),.field:has([name="churchMember"]),.field:has([data-fetch-tax]) { display:none!important; }
* { box-sizing:border-box; } html,body{width:100%;max-width:100%;overflow-x:hidden}body { margin:0; min-height:100vh; } button,input,select { font:inherit; } button { cursor:pointer; } .app-shell { min-height:100vh; display:grid; grid-template-columns:230px minmax(0,1fr); }
.app-shell,main,#content{min-width:0;max-width:100%}
.sidebar { background:#081a33; color:#edf4ff; padding:28px 18px max(22px,env(safe-area-inset-bottom)); display:flex; flex-direction:column; position:fixed; inset:0 auto 0 0; width:230px; z-index:20; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; touch-action:pan-y; }
.brand { color:white; text-decoration:none; font-size:19px; display:flex; gap:11px; align-items:center; padding:0 8px 34px; letter-spacing:-.5px; }.brand b{font-weight:500;color:#a9b8cc}.brand-mark{display:block;width:34px;height:34px;flex:0 0 34px;border-radius:10px;box-shadow:0 7px 18px rgba(0,0,0,.22)}
nav { display:grid; gap:5px; } nav a,nav>button { display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid transparent;color:#afbed2;text-decoration:none;text-align:left;border-radius:11px;background:transparent;font-size:13px;font-weight:600;letter-spacing:.01em;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease }nav .nav-icon{display:block;width:20px;height:20px;justify-self:center;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}nav a em{font-style:normal;font-size:11px;background:#18345c;padding:2px 7px;border-radius:8px}nav a.active,nav a:hover,nav>button:hover{background:#132f59;border-color:#24466f;color:#fff}nav a:hover,nav>button:hover{transform:translateX(2px)}nav a.active{box-shadow:inset 3px 0 0 #78b5ff}nav a.active .nav-icon{color:#9ecbff;stroke-width:2}nav a:focus-visible,nav>button:focus-visible{outline:3px solid rgba(158,203,255,.45);outline-offset:2px}
.sidebar-bottom{margin-top:auto}.sync{display:flex;align-items:center;gap:10px;padding:14px 10px;border-bottom:1px solid #223b61;margin-bottom:10px}.sync i{width:8px;height:8px;border-radius:50%;background:#69a9ff;box-shadow:0 0 0 4px #173966}.sync span,.profile span{display:grid}.sync b,.profile b{font-size:12px}.sync small,.profile small{font-size:10px;color:#8fa2bc;margin-top:2px}.profile{border:0;background:transparent;color:white;display:grid;grid-template-columns:34px 1fr auto;align-items:center;text-align:left;gap:9px;width:100%;padding:10px}.profile>span:first-child{background:#234a80;width:34px;height:34px;border-radius:50%;place-items:center;font-size:11px}
.cloud-storage-meter{display:grid;grid-template-columns:34px minmax(0,1fr) 12px;align-items:center;gap:9px;width:100%;margin:12px 0 0;padding:11px 10px;border:1px solid rgba(157,197,234,.2);border-radius:14px;background:linear-gradient(135deg,rgba(52,117,178,.2),rgba(121,31,70,.18));color:#f4f8ff;text-align:left;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:transform .18s ease,border-color .18s ease,background .18s ease}.cloud-storage-meter:hover{transform:translateY(-1px);border-color:rgba(184,216,246,.38);background:linear-gradient(135deg,rgba(57,128,194,.28),rgba(143,35,82,.25))}.cloud-storage-meter:focus-visible{outline:3px solid rgba(158,203,255,.42);outline-offset:2px}.cloud-storage-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#edf7ff,#ead9e5);color:#174f8f;box-shadow:0 8px 18px rgba(0,10,34,.2)}.cloud-storage-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cloud-storage-copy{display:grid;gap:3px;min-width:0}.cloud-storage-copy b{font-size:11px}.cloud-storage-copy small{overflow:hidden;color:#bacbe0;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.cloud-storage-track{height:4px;margin-top:3px;border-radius:999px;background:rgba(255,255,255,.14);overflow:hidden}.cloud-storage-track>span{display:block;height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#62b5f5,#d35f8c);box-shadow:0 0 10px rgba(114,184,242,.5);transition:width .35s ease}.cloud-storage-arrow{color:#a9c3df;font-size:18px}
main{grid-column:2;min-width:0}.topbar{height:76px;background:#fff;backdrop-filter:none;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:10}.company-switch{display:flex;align-items:center;gap:10px;border:0;background:transparent;text-align:left;color:var(--ink)}.company-switch>span:nth-child(2){display:grid}.company-switch b{font-size:13px}.company-switch small{font-size:10px;color:var(--muted)}.company-logo{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e6edf7;color:var(--green);font-weight:800;font-size:11px}.top-actions{display:flex;gap:8px;align-items:center}.top-actions>button:not(.primary){border:0;background:transparent;width:36px;height:36px;font-size:21px;color:#52657f}.notification{position:relative}.notification i{position:absolute;width:6px;height:6px;background:#e46050;border-radius:50%;right:6px;top:6px}.primary{border:0;border-radius:10px;background:var(--green);color:white;padding:11px 16px;font-weight:700}.compact{font-size:12px;padding:9px 14px}.mobile-menu{display:none;border:0;background:transparent;font-size:20px}
#content{padding:34px;max-width:1520px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px}.eyebrow{color:#245d9f;text-transform:uppercase;letter-spacing:1.3px;font-weight:800;font-size:10px}.page-head h1{font-family:Georgia,serif;font-weight:500;font-size:31px;margin:6px 0 4px;letter-spacing:-1px}.page-head p{color:var(--muted);font-size:13px;margin:0}.date-chip{background:white;border:1px solid var(--line);border-radius:9px;padding:10px 13px;font-size:12px;color:#526984}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat,.panel{background:var(--card);border:1px solid #e3e8f0;border-radius:15px;box-shadow:0 2px 4px rgba(20,40,33,.02)}.stat{padding:19px 20px;text-align:left;color:inherit;font:inherit}.stat[data-dashboard-metric]{cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.stat[data-dashboard-metric]:hover{transform:translateY(-3px);border-color:#8eb2dc;box-shadow:0 16px 32px rgba(16,52,95,.12)}.stat[data-dashboard-metric]:focus-visible{outline:3px solid #90bdf0;outline-offset:3px}.stat-top{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;font-weight:700}.stat-icon{width:34px;height:34px;border-radius:10px;background:#eaf2fc;display:grid;place-items:center;color:#285f9f}.stat-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.stat strong{display:block;font-family:Georgia,serif;font-size:25px;font-weight:500;margin:12px 0 7px;letter-spacing:-.5px}.trend{font-size:10px;color:#2d6eb4}.trend.down{color:#bb5b50}.trend.neutral{color:var(--muted)}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:18px}.panel{padding:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.panel-head h2{font-size:14px;margin:0}.panel-head a,.text-button{font-size:11px;color:#2b64a5;text-decoration:none;border:0;background:none}.chart{height:190px;position:relative;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 46px,#e9eef5 47px)}.chart svg{width:100%;height:100%;overflow:visible}.chart-labels{display:flex;justify-content:space-between;color:#89948f;font-size:9px;margin-top:9px}.legend{display:flex;gap:18px;font-size:10px;margin:10px 0}.legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.warning{display:flex;align-items:flex-start;gap:11px;background:#fff8e9;border:1px solid #f2dfb8;border-radius:11px;padding:12px;margin-bottom:9px}.warning.red{background:#fff2f0;border-color:#f2d0cb}.warning .icon{width:29px;height:29px;display:grid;place-items:center;background:#ffe6ae;border-radius:8px}.warning.red .icon{background:#ffd8d3}.warning div{display:grid;gap:3px}.warning b{font-size:11px}.warning small{font-size:10px;color:var(--muted)}.attention-card{width:100%;text-align:left;color:var(--ink);cursor:pointer;transition:transform .16s,box-shadow .16s}.attention-card:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(13,43,82,.08)}.attention-arrow{margin-left:auto;color:#586d89;font-size:20px}.attention-detail{display:grid;grid-template-columns:52px 1fr;gap:14px;padding:16px;border:1px solid #f2d0cb;background:#fff2f0;border-radius:14px}.attention-detail>span{display:grid;place-items:center;width:52px;height:52px;border-radius:13px;background:#ffd8d3;font-size:24px}.attention-detail div{display:grid;gap:5px}.attention-detail small{color:var(--muted)}.attention-detail b{font-family:Georgia,serif;font-size:25px}.attention-detail p{margin:3px 0 0;color:#68778e;line-height:1.5}.attention-checks{display:grid;gap:7px;margin-top:13px}.attention-checks>div{display:flex;justify-content:space-between;padding:11px 13px;border:1px solid var(--line);border-radius:9px}.attention-list{display:grid;gap:9px}.attention-list>button{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:11px;text-align:left;padding:13px;border:1px solid #f2dfb8;background:#fff8e9;border-radius:12px;color:var(--ink)}.attention-list>button.red{border-color:#f2d0cb;background:#fff2f0}.attention-list>button>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#ffe6ae}.attention-list>button.red>span{background:#ffd8d3}.attention-list div{display:grid;gap:3px}.attention-list small{color:var(--muted)}.attention-list i{font-style:normal;font-size:19px}
.managed-forgot-password{display:block;margin:14px 0 0 auto;padding:8px 0;font-size:13px}
.managed-activate-existing{display:block;width:100%;margin:12px 0 0;padding:12px;white-space:normal}
.fleet-table,.data-table{width:100%;border-collapse:collapse}.fleet-table th,.data-table th{text-align:left;font-size:9px;color:#89948f;text-transform:uppercase;letter-spacing:.5px;padding:9px 10px;border-bottom:1px solid var(--line)}.fleet-table td,.data-table td{font-size:11px;padding:12px 10px;border-bottom:1px solid #e9eef5}.vehicle-name{display:flex;align-items:center;gap:9px}.vehicle-avatar{width:34px;height:27px;background:#e8eef7;border-radius:8px;display:grid;place-items:center}.vehicle-name span{display:grid}.vehicle-name small{color:var(--muted);font-size:9px}.positive{color:#245f9f;font-weight:700}.pill{display:inline-flex;border-radius:10px;padding:4px 8px;font-size:9px;background:#e5effc;color:#285f9f}.pill.review{background:#fff0d7;color:#a36720}.pill.critical{background:#fee2e2;color:#a42323;border:1px solid #ef9a9a}.pill.service{background:#fbe8e6;color:#a34d45}
.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.quick{min-width:0;min-height:84px;border:1px solid rgba(165,187,216,.58);background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(244,249,255,.64));border-radius:16px;padding:13px;text-align:left;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;color:#52657f;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 5px 16px rgba(20,53,94,.055);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}.quick-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#f8fbff;background:linear-gradient(145deg,#164e8c,#0a2a54);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 8px 18px rgba(10,42,84,.2);transition:transform .2s ease,box-shadow .2s ease}.quick-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.quick-label{min-width:0;color:#102b52;font-size:11px;font-weight:750;line-height:1.3;letter-spacing:.05px}.quick[data-action="ai"] .quick-icon{background:linear-gradient(145deg,#8b3155,#45142f)}.quick[data-action="expense"] .quick-icon{color:#14345f;background:linear-gradient(145deg,#ffe3a0,#d5a540)}.quick[data-action="report"] .quick-icon{background:linear-gradient(145deg,#2c70bd,#6d244c)}.quick:hover{transform:translateY(-2px);border-color:rgba(91,137,191,.78);background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,246,255,.82));box-shadow:0 12px 26px rgba(20,53,94,.13)}.quick:hover .quick-icon{transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 12px 22px rgba(10,42,84,.27)}.quick:focus-visible{outline:3px solid rgba(76,142,219,.34);outline-offset:3px}
.modal:has(.create-action-grid){width:min(720px,calc(100vw - 36px))}.create-action-intro{display:grid;gap:4px;margin-bottom:18px}.create-action-intro b{color:var(--ink);font-size:16px}.create-action-intro small{color:var(--muted);font-size:12px}.create-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.create-action-card{display:grid;grid-template-columns:52px minmax(0,1fr) 20px;align-items:center;gap:14px;min-width:0;min-height:112px;padding:16px;border:1px solid #d7e2ef;border-radius:16px;background:linear-gradient(145deg,#fff 0%,#f8fbff 100%);color:var(--ink);text-align:left;box-shadow:0 3px 12px rgba(16,41,77,.04);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.create-action-card:hover{transform:translateY(-2px);border-color:#89add8;box-shadow:0 10px 24px rgba(16,41,77,.1)}.create-action-card:focus-visible{outline:3px solid #a8ccfa;outline-offset:2px}.create-action-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#e8f2ff;color:#1d5fa8}.create-action-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.create-action-copy{display:grid;gap:5px;min-width:0}.create-action-copy b{color:#11294d;font-size:14px;line-height:1.25}.create-action-copy small{color:#687990;font-size:10.5px;line-height:1.4}.create-action-arrow{color:#7890ab;font-size:25px;font-style:normal;line-height:1}.create-action-card[data-choice="ai"] .create-action-icon{background:#102c4c;color:#bff34b}.create-action-card[data-choice="ai"]{background:linear-gradient(145deg,#fff 0%,#f5f9f4 100%)}
.page-panel{min-width:0;max-width:100%;background:white;border:1px solid var(--line);border-radius:15px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.table-toolbar{padding:16px;display:flex;gap:10px;justify-content:space-between;border-bottom:1px solid var(--line)}.search{border:1px solid var(--line);border-radius:9px;padding:9px 12px;min-width:260px;background:#fbfcfa}.empty-module{padding:65px;text-align:center}.empty-module span{font-size:38px}.empty-module h2{font-family:Georgia,serif}.empty-module p{max-width:480px;margin:0 auto 20px;color:var(--muted);font-size:13px;line-height:1.6}
.top-actions>button.topbar-ai{position:static;width:auto;height:auto;min-width:max-content;flex:0 0 auto;border:0;border-radius:22px;background:#0a2345;color:white;padding:6px 12px 6px 7px;display:flex;align-items:center;gap:7px;white-space:nowrap}.topbar-ai span{width:27px;height:27px;flex:0 0 27px;background:#9ec8ff;color:#17345f;border-radius:50%;display:grid;place-items:center}.topbar-ai b{font-size:10px}.topbar-ai:hover{background:#123867}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,30px);background:#10294d;color:white;padding:11px 16px;border-radius:9px;opacity:0;pointer-events:none;transition:.25s;z-index:50;font-size:12px}.toast.show{opacity:1;transform:translate(-50%,0)}
.top-actions>button.card-toolbar-button,.top-actions>button.account-toolbar-button{width:auto;display:flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 10px;color:#17345f;font-size:12px}.card-toolbar-button b,.account-toolbar-button b{font-size:10px}.account-toolbar-button:hover,.card-toolbar-button:hover{background:#edf4fc}.saved-cards{display:grid;gap:8px;margin-top:14px}.saved-card{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:10px;padding:11px 12px}.saved-card span{display:grid;gap:3px}.saved-card small{color:var(--muted)}
.top-actions>button.account-toolbar-button{height:46px;padding:6px 17px 6px 7px;gap:9px;border:1px solid #d9aa45;border-radius:13px;background:linear-gradient(135deg,#f8d57f,#e9b94f);color:#10294d;box-shadow:0 7px 18px rgba(171,118,25,.22)}.top-actions>button.account-toolbar-button>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fff4cf;color:#17345f;font-size:17px;box-shadow:inset 0 0 0 1px rgba(157,105,16,.16)}.top-actions>button.account-toolbar-button b{font-size:13px;letter-spacing:.1px}.top-actions>button.account-toolbar-button:hover{background:linear-gradient(135deg,#ffe199,#efc25e);border-color:#c99732;transform:translateY(-1px)}
.top-actions>button.card-toolbar-button{height:46px;padding:6px 16px 6px 7px;gap:9px;border:1px solid #a8bedc;border-radius:13px;background:#f7faff;color:#10294d;box-shadow:0 5px 14px rgba(13,43,82,.11)}.top-actions>button.card-toolbar-button>span{display:grid;place-items:center;width:36px;height:32px;border-radius:9px;background:#dceaff;color:#174f8f}.top-actions>button.card-toolbar-button svg{display:block;width:25px;height:19px;fill:#fff;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.top-actions>button.card-toolbar-button b{font-size:13px;letter-spacing:.1px}.top-actions>button.card-toolbar-button:hover{background:#eaf2fc;border-color:#7fa2d0;transform:translateY(-1px)}
.top-actions>button.transport-toolbar-button{width:224px;height:54px;padding:7px 15px;display:grid;grid-template-columns:1fr;align-content:center;justify-items:start;gap:1px;border:1px solid #8eb9e5;border-radius:14px;background:linear-gradient(135deg,#fff,#eef6ff);color:#123e76;box-shadow:0 7px 20px rgba(18,63,117,.16);overflow:hidden}.transport-toolbar-button img{display:block;width:174px;max-width:100%;height:30px;object-fit:contain;object-position:left center}.top-actions>button.transport-toolbar-button small{margin-left:34px;color:#536c88;font-size:8px;font-weight:800;letter-spacing:.04em}.top-actions>button.transport-toolbar-button:hover{background:linear-gradient(135deg,#fff,#dfeeff);border-color:#4f91d3;transform:translateY(-1px);box-shadow:0 10px 24px rgba(18,63,117,.22)}
.notification-list{display:grid;gap:9px}.notification-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:11px;background:#fff;padding:12px;color:var(--ink)}.notification-item>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#edf4fc;color:#174f8f;font-weight:800}.notification-item>div{display:grid;gap:3px;flex:1}.notification-item small{color:var(--muted)}.notification-item i{font-style:normal;font-size:20px;color:var(--muted)}
.support-request-notification{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;padding:22px;border:1px solid #b9d5ef;border-radius:19px;background:linear-gradient(135deg,#eef7ff,#fff 58%,#fbf1f6);box-shadow:0 14px 34px rgba(21,65,111,.1)}.support-request-notification-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#174f8f;color:#fff}.support-request-notification-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7}.support-request-notification-copy{display:grid;gap:6px;min-width:0}.support-request-notification-copy>small{color:#842752;font-size:10px;font-weight:850;letter-spacing:.1em}.support-request-notification-copy h3{margin:0;color:#102f56;font-size:20px}.support-request-notification-copy p{margin:4px 0;color:#244564;line-height:1.5;overflow-wrap:anywhere}.support-request-notification-copy>span{color:#687b91;font-size:11px}.support-request-notification-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.support-request-notification-actions button{min-width:120px}.support-request-notification.compact{grid-template-columns:42px minmax(0,1fr);padding:17px;box-shadow:none}.support-request-notification.compact .support-request-notification-icon{width:42px;height:42px;border-radius:12px}.support-request-notification.compact h3{font-size:17px}@media(max-width:620px){.support-request-notification{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:17px}.support-request-notification-icon{width:44px;height:44px;border-radius:13px}.support-request-notification-actions{display:grid;grid-template-columns:1fr 1fr}.support-request-notification-actions button{width:100%;min-width:0}}
@media(max-width:620px){.card-toolbar-button b,.account-toolbar-button b{display:none}.top-actions>button.card-toolbar-button,.top-actions>button.account-toolbar-button{width:38px;height:38px;padding:4px;justify-content:center}.top-actions>button.card-toolbar-button>span,.top-actions>button.account-toolbar-button>span{width:30px;height:30px}.top-actions>button.transport-toolbar-button{width:68px;height:38px;padding:5px 6px;place-items:center;border-radius:10px}.top-actions>button.transport-toolbar-button img{display:block;width:56px;max-width:100%;height:28px;object-fit:contain;object-position:center}.top-actions>button.transport-toolbar-button small{display:none}}
@media(min-width:621px) and (max-width:1180px){.top-actions>button.transport-toolbar-button{width:92px;height:46px;padding:6px 8px;place-items:center}.top-actions>button.transport-toolbar-button img{display:block;width:76px;max-width:100%;height:32px;object-fit:contain;object-position:center}.top-actions>button.transport-toolbar-button small{display:none}}
@media(max-width:1250px){.top-actions>button.topbar-ai{min-width:37px;padding:5px}.topbar-ai b{display:none}}
.modal-backdrop{position:absolute;inset:auto 0;background:rgba(4,18,14,.62);z-index:40;display:grid;place-items:center;padding:18px;overflow:hidden}.modal-backdrop[hidden]{display:none}.modal{width:min(540px,calc(100vw - 36px));max-width:100%;max-height:calc(100% - 36px);display:flex;flex-direction:column;overflow:hidden;background:white;border-radius:18px;box-shadow:var(--shadow)}.modal-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;flex:0 0 auto;background:white;z-index:2}.modal-head h2{margin:0;font-family:Georgia,serif;min-width:0;overflow-wrap:anywhere}.close{border:0;background:#eef1ee;border-radius:50%;width:30px;height:30px;flex:0 0 30px}.modal-body{padding:22px;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:none;-webkit-overflow-scrolling:touch}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:grid;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:10px;color:var(--muted);font-weight:700;overflow-wrap:anywhere}.field input,.field select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;padding:11px;background:white}.modal-actions{position:sticky;bottom:-22px;z-index:3;display:flex;justify-content:flex-end;gap:9px;margin:20px -22px -22px;padding:14px 22px 20px;flex-wrap:wrap;background:white;border-top:1px solid var(--line);box-shadow:0 -8px 18px rgba(15,38,75,.06)}.secondary{border:1px solid var(--line);background:white;border-radius:9px;padding:10px 14px}.error{color:var(--red);font-size:11px;margin-top:10px}.ai-chat{background:#edf4fc;border-radius:12px;padding:14px;margin-bottom:15px;font-size:12px;line-height:1.5}.audit-line{display:grid;grid-template-columns:12px 1fr auto;gap:12px;padding:14px;border-bottom:1px solid var(--line);font-size:11px}.audit-line i{width:8px;height:8px;background:#5799eb;border-radius:50%;margin-top:4px}.audit-line small{color:var(--muted)}
.modal:has(.stored-document-preview),.modal:has(.stored-document-unavailable){width:min(920px,calc(100vw - 36px));height:min(820px,calc(100dvh - 36px))}.modal:has(.stored-document-preview) .modal-body{display:flex;flex-direction:column}.stored-document-preview{min-height:0;flex:1;display:grid;place-items:center;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#eef2f6}.stored-document-preview img{display:block;max-width:100%;height:auto}.stored-document-preview iframe{width:100%;height:100%;min-height:560px;border:0;background:white}.stored-document-unavailable{margin:0}
@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.sidebar{transform:translateX(-100%);transition:transform .25s ease,box-shadow .25s ease}.sidebar.open{transform:translateX(0);box-shadow:20px 0 50px rgba(0,0,0,.2)}.sidebar.is-dragging{transition:none;user-select:none}main{grid-column:1}.mobile-menu{display:block;flex:0 0 36px}.topbar{padding:0 14px;gap:8px}.company-switch{min-width:0;margin-right:auto;padding:0}.company-switch>span:nth-child(2){min-width:0}.company-switch b,.company-switch small{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{flex:0 0 auto;gap:5px}.top-actions>button:not(.primary):not(.topbar-ai):not(.card-toolbar-button):not(.account-toolbar-button):not(.transport-toolbar-button):not(.tax-account-toolbar-button){display:none}#content{padding:24px}.app-shell{display:block}}
@media(max-width:760px){.page-head h1{font-size:clamp(25px,7vw,30px)}.page-head p{font-size:12px}.report-grid,.vehicle-filter-panel,.toolbar-actions{grid-template-columns:1fr}.table-toolbar,.toolbar-actions{width:100%}.toolbar-actions{display:grid}.toolbar-actions>button{width:100%}}
@media(max-width:620px){.topbar{height:65px;padding:0 8px;gap:5px}.mobile-menu{width:34px;flex-basis:34px;padding:0}.company-switch{gap:6px;max-width:92px}.company-logo{width:30px;height:30px;flex:0 0 30px}.company-switch b{max-width:52px;font-size:10px;line-height:1.1}.company-switch small,.company-switch>span:last-child{display:none}.top-actions{gap:3px}.compact{min-width:42px;padding:8px 7px;font-size:0}.compact::first-letter{font-size:16px}.top-actions .topbar-ai{width:38px;min-width:38px;padding:4px}.topbar-ai span{width:30px;height:30px;flex-basis:30px}.topbar-ai b{display:none}.page-head{display:block;margin-bottom:20px}.date-chip{display:none}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat{min-width:0;padding:14px}.stat strong{font-size:clamp(17px,5.5vw,20px);overflow-wrap:anywhere}#content{padding:18px 12px 90px}.panel,.page-panel{min-width:0}.panel{padding:14px}.quick-actions{grid-template-columns:1fr 1fr}.fleet-table th:nth-child(2),.fleet-table td:nth-child(2),.fleet-table th:nth-child(3),.fleet-table td:nth-child(3){display:none}.data-table th:nth-child(n+4),.data-table td:nth-child(n+4){display:none}.table-toolbar{display:grid;padding:12px}.search{min-width:0;width:100%}.form-grid{grid-template-columns:1fr}.field.full{grid-column:1}.modal-backdrop{align-items:end;padding:0}.modal{border-radius:18px 18px 0 0;width:100%;max-height:96dvh}.modal-head{padding:17px}.modal-head h2{font-size:clamp(24px,8vw,30px)}.modal-body{padding:17px}.modal-actions{padding-bottom:max(20px,env(safe-area-inset-bottom))}.modal:has(.stored-document-preview),.modal:has(.stored-document-unavailable){width:100%;height:96dvh}.modal:has(.stored-document-preview) .modal-body{padding:12px 12px 0}.stored-document-preview iframe{min-height:0}.modal:has(.stored-document-preview) .modal-actions,.modal:has(.stored-document-unavailable) .modal-actions{margin-left:-12px;margin-right:-12px}.modal:has(.stored-document-preview) .modal-actions button,.modal:has(.stored-document-unavailable) .modal-actions button{flex:1;min-height:48px}}
@media(max-width:620px){html,body,.app-shell,main{width:100%;max-width:100%;overflow-x:clip}#content,.page-head,.stats,.dashboard-grid,.page-panel,.upload-zone{width:100%;max-width:100%;min-width:0}.upload-zone{padding:24px 14px}.upload-actions{display:grid;grid-template-columns:1fr}.upload-actions .file-label{width:100%;text-align:center}.upload-zone h2,.upload-zone p,.batch-hint{overflow-wrap:anywhere}}
@media(max-width:620px){.modal:has(.create-action-grid){width:100%}.create-action-grid{grid-template-columns:1fr}.create-action-card{min-height:94px;padding:14px}.create-action-icon{width:48px;height:48px}}
.upload-zone{border:1.5px dashed #84a8d5;background:#edf4fc;border-radius:16px;padding:32px;text-align:center;margin-bottom:18px}.upload-zone>span{display:grid;place-items:center;margin:auto;width:50px;height:50px;border-radius:14px;background:white;color:var(--green);font-size:25px}.upload-zone h2{font-family:Georgia,serif;margin:13px 0 5px}.upload-zone p{color:var(--muted);font-size:12px;margin:0 0 18px}.file-label{display:inline-block}.file-label input{position:absolute;width:1px;height:1px;opacity:0}.confidence{display:inline-block;width:48px;height:5px;background:#e8edf4;border-radius:5px;vertical-align:middle;overflow:hidden}.confidence i{display:block;height:100%;background:#4b8edb}.report-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.report-summary>div{background:#0d2b52;color:white;border-radius:13px;padding:16px;display:grid;gap:7px}.report-summary small{color:#9bb1ce;font-size:9px}.report-summary b{font-family:Georgia,serif;font-size:18px}.report-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.report-card{border:1px solid var(--line);background:white;border-radius:13px;padding:16px;text-align:left;display:grid;grid-template-columns:36px 1fr auto;gap:12px;align-items:center}.report-card>span{display:grid;place-items:center;width:36px;height:36px;background:#eaf2fc;border-radius:9px;color:var(--green);font-size:18px}.report-card div{display:grid;gap:4px}.report-card b{font-size:12px}.report-card small{color:var(--muted);font-size:10px}.report-card i{font-style:normal;font-size:20px}.report-card:hover{border-color:#7da5d5;box-shadow:var(--shadow)}.report-view{margin-top:18px;background:white;border:1px solid var(--line);border-radius:15px;padding:22px;scroll-margin-top:90px}.report-view h2{font-family:Georgia,serif;font-size:24px;margin:4px 0}.financial-report{max-width:720px}.financial-report>div{display:flex;justify-content:space-between;padding:12px;border-bottom:1px solid var(--line);font-size:12px}.financial-report .total{font-size:14px;border-top:2px solid var(--ink);background:#f6f8fc}.report-source{font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px}.ranking>div{display:grid;grid-template-columns:42px 1fr 60px;align-items:center;border-bottom:1px solid var(--line);padding:13px}.ranking>div>strong{font-family:Georgia,serif;font-size:20px;color:#7286a2}.ranking span{display:grid}.ranking span small{color:var(--muted);margin-top:4px}.ranking em{font-style:normal;font-weight:800;color:#2867ad;font-size:19px}.ranking em small{font-size:9px}.checklist{display:grid;grid-template-columns:1fr 1fr;gap:8px}.checklist>div{display:grid;grid-template-columns:26px 1fr;gap:2px 8px;border:1px solid var(--line);border-radius:10px;padding:12px}.checklist>div>span{grid-row:1/3;color:#2f74bd}.checklist b{font-size:11px}.checklist small{font-size:9px;color:var(--muted)}.ai-workspace{max-width:850px;margin:auto}.ai-welcome{text-align:center;background:linear-gradient(145deg,#0b2850,#17457f);color:white;border-radius:18px;padding:34px}.ai-welcome>span{display:grid;place-items:center;background:var(--lime);color:var(--green);width:48px;height:48px;border-radius:50%;margin:auto;font-size:22px}.ai-welcome h2{font-family:Georgia,serif;font-size:27px;margin:14px 0 8px}.ai-welcome p{color:#bfd0e6;max-width:600px;margin:0 auto;line-height:1.6;font-size:12px}.prompt-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:22px}.prompt-chips button{border:1px solid #486b99;background:#183b6d;color:#dce9f8;border-radius:18px;padding:8px 12px;font-size:10px}.ai-entry{display:grid;grid-template-columns:42px 1fr auto;gap:8px;background:white;border:1px solid var(--line);box-shadow:var(--shadow);padding:9px;border-radius:14px;margin-top:14px}.ai-entry input{border:0;outline:0;min-width:0}.attach-button{display:grid;place-items:center;border-radius:9px;background:#eaf0f7}.ai-response{display:grid;grid-template-columns:30px 1fr;gap:10px;margin-top:14px;padding:17px;background:white;border:1px solid var(--line);border-radius:13px;font-size:12px;line-height:1.6}.ai-response small{display:block;color:var(--muted);border-top:1px solid var(--line);padding-top:8px;margin-top:9px}.scan-result{display:flex;gap:15px;align-items:center}.scan-score{width:78px;height:78px;border-radius:50%;background:#e3efff;display:grid;place-content:center;text-align:center}.scan-score b{font-size:17px}.scan-score small{font-size:8px}.extracted-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.extracted-grid>div{background:#f6f8f6;border-radius:9px;padding:12px;display:grid;gap:5px}.extracted-grid small{font-size:8px;color:var(--muted)}.extracted-grid b{font-size:11px}.evidence-note{background:#fff8e9;border:1px solid #f2dfb8;padding:11px;border-radius:9px;margin-top:12px;font-size:10px;line-height:1.5}
@media(max-width:620px){.report-summary,.report-grid,.checklist{grid-template-columns:1fr}.report-view .panel-head{align-items:flex-start;gap:12px}.ai-welcome{padding:25px 15px}.ai-entry{grid-template-columns:35px 1fr}.ai-entry button{grid-column:1/-1}.extracted-grid{grid-template-columns:1fr}}
.financial-report .balance-row-note{display:block;margin-top:4px;color:var(--muted);font-size:10px;font-weight:400;line-height:1.4}.financial-report .balance-account-detail{padding:7px 12px 7px 28px;color:#52647c;font-size:11px;gap:14px}.balance-account-detail span{overflow-wrap:anywhere}.balance-account-detail b{white-space:nowrap;color:var(--ink)}.balance-report-caveat,.balance-method-note{max-width:720px;color:var(--muted);font-size:11px;line-height:1.5}.balance-report-caveat{margin:14px 0 8px}.balance-method-note{margin:0 0 10px}.balance-method-note summary{width:max-content;max-width:100%;cursor:pointer;color:var(--green);font-weight:700}.balance-method-note p{margin:8px 0}
.music-purchase-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0}.music-purchase-summary>div{padding:14px;border:1px solid #d9e5f5;border-radius:12px;background:#f5f9ff;min-width:0}.music-purchase-summary small{display:block;color:#63758b;font-size:11px;font-weight:700;letter-spacing:.07em}.music-purchase-summary b{display:block;margin-top:5px;overflow-wrap:anywhere}.music-module [data-purchase-details]{margin:14px 0}.music-module [data-purchase-details]>summary{cursor:pointer;font-weight:700;color:#234976;margin-bottom:12px}.music-module [data-purchase-form-error]:empty{display:none}
.processing{border-style:solid}.spinner{animation:pulse 1.2s ease-in-out infinite}.progress{height:5px;max-width:360px;margin:18px auto 0;background:#dce9e4;border-radius:8px;overflow:hidden}.progress i{display:block;height:100%;width:45%;background:#377fc8;animation:progress 1.4s ease-in-out infinite}.automation-result{text-align:center;padding:10px 12px 18px}.automation-result>span{display:grid;place-items:center;margin:auto;width:54px;height:54px;border-radius:50%;background:#e3efff;color:#255f9f;font-size:26px}.automation-result h3{font-family:Georgia,serif;font-size:22px;margin:13px 0 5px}.automation-result p{color:var(--muted);font-size:11px;margin:0}.review-result>span{background:#fff0d7;color:#9a692c}.error-result>span{background:#fbe2df;color:#a64b42}.posting-lines{margin-top:14px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.posting-lines>div{display:flex;justify-content:space-between;padding:9px 12px;border-bottom:1px solid var(--line);font-size:10px}.posting-lines>div:last-child{border-bottom:0}@keyframes pulse{50%{transform:scale(1.08);opacity:.65}}@keyframes progress{0%{transform:translateX(-120%)}100%{transform:translateX(340%)}}
.invoice-matches{margin-top:18px}
.percentage-input{display:grid;grid-template-columns:1fr 38px;align-items:center}.percentage-input input{border-radius:9px 0 0 9px}.percentage-input span{height:100%;display:grid;place-items:center;background:#eaf0f7;border:1px solid var(--line);border-left:0;border-radius:0 9px 9px 0;font-weight:700}
.sie-import-intro{text-align:center;padding:4px 10px 18px}.sie-import-intro>span{display:grid;place-items:center;width:52px;height:52px;margin:auto;border-radius:14px;background:var(--mint);color:var(--green);font-size:25px}.sie-import-intro h3{font-family:Georgia,serif;font-size:21px;margin:12px 0 6px}.sie-import-intro p{color:var(--muted);font-size:11px;line-height:1.6;margin:0}.sie-file-label{display:block;width:100%;text-align:center;margin:auto}.sie-import-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.sie-import-summary>div{display:grid;gap:4px;background:#f3f6fa;border:1px solid var(--line);border-radius:10px;padding:12px}.sie-import-summary small{font-size:8px;color:var(--muted)}.sie-import-summary b{font-size:12px}.sie-import-summary span{font-size:9px;color:var(--muted)}

/* Top toolbar affordances: crisp icons and a restrained hover pop. */
.toolbar-icon-button{display:grid;place-items:center;border-radius:10px!important;transition:background-color .18s,box-shadow .18s,color .18s}
.toolbar-icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.toolbar-icon-button:hover{background:#edf4fc!important;color:#174f8f!important;box-shadow:0 7px 18px rgba(15,38,75,.12)}
.notification i{width:7px;height:7px;border:2px solid white;right:5px;top:4px}
.notification i[hidden]{display:none}
.top-actions>button.account-toolbar-button svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.toolbar-pop:hover,.toolbar-pop:focus-visible{animation:toolbar-pop .38s cubic-bezier(.2,.9,.3,1.35)}
.app-back-row{display:flex;position:sticky;top:92px;z-index:9;width:max-content;margin:0 0 18px;pointer-events:none}.app-back-button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid #cfdae7;border-radius:12px;background:#fff;color:#244b75;font-size:13px;font-weight:850;box-shadow:0 7px 20px rgba(15,44,80,.07);cursor:pointer;pointer-events:auto;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.app-back-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.app-back-button:hover,.app-back-button:focus-visible{border-color:#76a9d3;box-shadow:0 10px 24px rgba(20,76,126,.13);transform:translateX(-2px);outline:0}.admin-main>.app-back-row{top:16px;margin-bottom:20px}
@media(max-width:620px){.app-back-row{top:77px}}
.toolbar-pop:focus-visible{outline:3px solid rgba(74,142,219,.32);outline-offset:2px}
@keyframes toolbar-pop{0%{transform:translateY(0) scale(1)}45%{transform:translateY(-4px) scale(1.08)}72%{transform:translateY(1px) scale(.98)}100%{transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.toolbar-pop:hover,.toolbar-pop:focus-visible{animation:none}.toolbar-icon-button{transition:none}}
@media(prefers-reduced-motion:reduce){.app-back-button{transition:none}.app-back-button:hover,.app-back-button:focus-visible{transform:none}}
.top-actions>button.topbar-ai,.top-actions>button.primary.compact,.top-actions>button.notification{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
.topbar-ai:hover,.top-actions>button.primary.compact:hover,.top-actions>button.notification:hover{transform:translateY(-1px)}

/* Keep the two primary business shortcuts visually equal at every toolbar size. */
@media(min-width:1181px){
  .top-actions>button.account-toolbar-button,
  .top-actions>button.transport-toolbar-button{width:224px;height:54px;flex:0 0 224px;border-radius:14px}
}

/* Phone layout: authority drafts become readable cards instead of a clipped desktop table. */
@media(max-width:620px){
  .transport-list{overflow:hidden}
  .transport-list>.panel-head{align-items:flex-start;padding:18px 16px;gap:10px}
  .transport-list>.panel-head h2{font-size:clamp(22px,7vw,28px)}
  .transport-table{overflow:visible;padding:0 12px 14px}
  .transport-row.heading{display:none}
  .transport-row:not(.heading){display:grid;grid-template-columns:1fr 1fr;gap:13px 10px;min-width:0;margin:0 0 12px;padding:16px;border:1px solid #dbe5f1;border-radius:15px;background:#fff;box-shadow:0 5px 16px #12375f0a}
  .transport-row:not(.heading)>span{display:grid;min-width:0;gap:5px;align-content:start;overflow-wrap:anywhere}
  .transport-row:not(.heading)>span:first-child{grid-column:1/-1;padding-bottom:12px;border-bottom:1px solid #e7edf5}
  .transport-row:not(.heading)>span:nth-child(2)::before{content:"Datum"}
  .transport-row:not(.heading)>span:nth-child(3)::before{content:"Fordon"}
  .transport-row:not(.heading)>span:nth-child(4)::before{content:"Kontroll"}
  .transport-row:not(.heading)>span:nth-child(n+2)::before{font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#758397}
  .transport-row:not(.heading)>span:nth-child(4){grid-column:1/-1}
  .transport-row:not(.heading)>span:nth-child(4) em{width:fit-content;max-width:100%;white-space:normal;line-height:1.4}
  .transport-row:not(.heading)>span:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .transport-row:not(.heading)>span:last-child button{width:100%;min-height:42px;font-size:13px}
}
@media(min-width:621px) and (max-width:1180px){
  .top-actions>button.account-toolbar-button,
  .top-actions>button.transport-toolbar-button{width:92px;height:46px;flex:0 0 92px;border-radius:13px}
  .top-actions>button.account-toolbar-button{justify-content:center;padding:6px 8px}
  .top-actions>button.account-toolbar-button b{display:none}
}
@media(max-width:620px){
  .top-actions>button.account-toolbar-button,
  .top-actions>button.transport-toolbar-button{width:68px;height:38px;flex:0 0 68px;border-radius:10px}
  .top-actions>button.account-toolbar-button{justify-content:center;padding:4px}
}

/* Secure customer entry: the business shell never appears before tenant authorization. */
body.auth-locked{background:#071a34}
body.auth-locked .sidebar,body.auth-locked .topbar{display:none!important}
body.auth-locked .app-shell{display:block;grid-template-columns:none}
body.auth-locked main{grid-column:1}
body.auth-locked .app-shell,body.auth-locked main,body.auth-locked #content{width:100%;min-width:0;min-height:100vh;margin:0;padding:0}
.welcome-loading{min-height:100vh;display:grid;place-items:center;background:#071a34;color:#dbe8f7;font-weight:800;letter-spacing:.04em}
.welcome-screen{position:relative;isolation:isolate;min-height:100vh;display:grid;place-items:center;overflow:hidden;padding:48px 22px;background:radial-gradient(circle at 52% -8%,rgba(54,132,226,.7) 0,transparent 34%),radial-gradient(circle at 104% 82%,rgba(112,24,58,.62) 0,transparent 37%),radial-gradient(circle at -12% 22%,rgba(126,25,64,.5) 0,transparent 34%),radial-gradient(circle at -8% 96%,rgba(24,85,164,.45) 0,transparent 32%),linear-gradient(150deg,#020b1d 0%,#071d43 54%,#0a3158 100%);color:#fff}
.public-toolbar{position:absolute;z-index:8;top:18px;left:50%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;width:min(1180px,calc(100% - 36px));min-height:68px;padding:8px 10px 8px 12px;transform:translateX(-50%);border:1px solid rgba(190,222,255,.25);border-radius:20px;background:linear-gradient(135deg,rgba(7,27,62,.84),rgba(20,38,70,.68));-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%);box-shadow:0 20px 55px rgba(0,5,22,.35),0 1px 0 rgba(255,255,255,.15) inset}
.public-toolbar-brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;letter-spacing:.08em}.public-toolbar-brand span{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(208,232,255,.35);border-radius:14px;background:rgba(255,255,255,.1);box-shadow:0 8px 24px rgba(0,8,28,.3)}.public-toolbar-brand img{width:29px;height:29px}.public-toolbar-brand b{font-size:20px}.public-toolbar p{margin:0;color:#aebfd3;font-size:13px;font-weight:700}.public-toolbar nav{display:flex;align-items:center;gap:8px}.public-toolbar button{min-height:44px;padding:0 20px;border-radius:12px;font-size:14px;font-weight:850}.public-toolbar-login{border:1px solid rgba(185,215,242,.3);background:rgba(255,255,255,.07);color:#fff}.public-toolbar-signup{border:1px solid #a4def8;background:linear-gradient(135deg,#d5f5ff,#73c8f7 55%,#a8a9ff);color:#061d3d;box-shadow:0 10px 26px rgba(64,163,225,.28)}
.public-site-screen{display:block;overflow-x:clip;overflow-y:visible;padding:0;background:linear-gradient(150deg,#020b1d 0%,#071d43 48%,#0a3158 100%)}.public-toolbar-links{justify-self:center}.public-toolbar-links a{padding:10px 12px;color:#b9c9da;text-decoration:none;font-size:14px;font-weight:750}.public-toolbar-links a:hover{color:#fff}.public-site{position:relative;z-index:1;width:100%;overflow:hidden;color:#fff}.public-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(520px,1.1fr);align-items:center;gap:74px;width:min(1180px,calc(100% - 44px));min-height:760px;margin:auto;padding:142px 0 80px}.public-hero-copy h1{max-width:620px;margin:22px 0 24px;font-size:clamp(54px,6.3vw,88px);line-height:.95;letter-spacing:-.065em}.public-hero-copy h1 em{color:#86d5ff;font-style:normal}.public-hero-copy>p{max-width:580px;margin:0;color:#c3d0df;font-size:19px;line-height:1.65}.public-hero-actions{display:flex;gap:12px;margin-top:32px}.public-hero-actions button{min-height:54px;padding:0 24px;border-radius:15px}.public-hero-proof{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:24px;color:#a9bfd3;font-size:12px;font-weight:750}.public-product-shot{overflow:hidden;transform:perspective(1200px) rotateY(-4deg) rotateX(2deg);border:1px solid rgba(181,220,255,.32);border-radius:26px;background:#eef4fb;box-shadow:0 40px 100px rgba(0,0,20,.48),0 0 80px rgba(94,185,244,.12)}.public-shot-bar{display:flex;align-items:center;gap:18px;padding:15px 18px;border-bottom:1px solid #dbe5f0;background:rgba(255,255,255,.9);color:#0a2850}.public-shot-bar>span{display:flex;gap:5px}.public-shot-bar i{width:7px;height:7px;border-radius:50%;background:#c3cfdd}.public-shot-bar b{font-size:12px}.public-shot-bar small{margin-left:auto;color:#75879c}.public-shot-body{display:grid;grid-template-columns:58px 1fr;min-height:400px}.public-shot-body aside{display:flex;flex-direction:column;align-items:center;gap:25px;padding:18px 10px;background:#092a55}.public-shot-body aside img{width:29px}.public-shot-body aside i{width:24px;height:24px;border-radius:8px;background:rgba(255,255,255,.1)}.public-shot-body>div{padding:30px;color:#0b2c58}.public-shot-body p{margin:0;color:#7b8da2;font-size:12px}.public-shot-body h2{margin:5px 0 22px;font-size:27px}.public-shot-body section{display:grid;grid-template-columns:1fr 1fr;gap:12px}.public-shot-body article{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid #dbe6f1;border-radius:16px;background:#fff;box-shadow:0 12px 25px rgba(17,48,83,.06)}.public-shot-body article small{color:#778ba1;font-size:9px;font-weight:800}.public-shot-body article b{font-size:23px}.public-shot-body article span{color:#278059;font-size:11px;font-weight:800}.public-shot-chart{margin-top:12px}.public-shot-chart>div{display:flex;align-items:flex-end;gap:10px;height:112px;padding-top:15px}.public-shot-chart>div i{flex:1;min-height:12px;border-radius:5px 5px 2px 2px;background:linear-gradient(#6ec9f8,#174f91)}.public-trust{display:flex;justify-content:center;gap:45px;padding:21px 24px;border-block:1px solid rgba(187,219,246,.12);background:rgba(3,17,40,.5);color:#9fb4ca;font-size:12px;text-align:center}.public-trust b{color:#fff}.public-section{width:min(1120px,calc(100% - 44px));margin:auto;padding:110px 0}.public-kicker{color:#b94b76;font-size:12px;font-weight:900;letter-spacing:.18em}.public-section>h2,.public-cta h2{max-width:720px;margin:13px auto 15px;font-size:clamp(38px,5vw,62px);line-height:1.03;letter-spacing:-.045em;text-align:center}.public-section-lead{max-width:650px;margin:0 auto 45px;color:#aebfd2;font-size:17px;line-height:1.6;text-align:center}.public-section>.public-kicker{display:block;text-align:center}.public-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.public-feature{min-height:210px;padding:27px;border:1px solid rgba(181,218,247,.17);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.035));box-shadow:0 18px 46px rgba(0,5,22,.15)}.public-feature>span{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:linear-gradient(145deg,#d9f5ff,#6cbff2);color:#082850;font-size:21px;font-weight:900}.public-feature h3{margin:22px 0 9px;font-size:19px}.public-feature p{margin:0;color:#aebfd2;line-height:1.55}.public-pricing{width:100%;max-width:none;padding-inline:max(22px,calc((100% - 1120px)/2));background:rgba(2,13,32,.44)}.public-price-grid{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;gap:16px;max-width:1120px;margin:auto}.public-price-grid article{position:relative;padding:31px;border:1px solid rgba(182,218,248,.2);border-radius:23px;background:#f7fbff;color:#092a55}.public-price-grid article.featured{padding-block:43px;border-color:#80cef7;box-shadow:0 25px 70px rgba(15,117,184,.25)}.public-price-grid article>i{position:absolute;top:-11px;left:25px;padding:6px 10px;border-radius:999px;background:#8a2450;color:#fff;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.13em}.public-price-grid article>span{color:#61788f;font-size:13px;font-weight:850}.public-price-grid h3{margin:12px 0;font-size:43px;letter-spacing:-.04em}.public-price-grid h3 small{display:inline-grid;gap:2px;font-size:14px;letter-spacing:0;line-height:1.05}.public-price-grid h3 small em{color:#6b7f94;font-size:9px;font-style:normal;font-weight:800;text-transform:uppercase}.public-price-grid p{min-height:24px;color:#687d91}.public-price-grid b{font-size:13px}.public-price-more{max-width:900px;margin:27px auto;color:#9fb2c6;font-size:13px;line-height:1.7;text-align:center}.public-pricing>button{display:block;margin:25px auto 0;min-height:52px;padding-inline:28px}.public-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;width:min(1120px,calc(100% - 44px));margin:80px auto;padding:47px;border:1px solid rgba(170,214,246,.22);border-radius:28px;background:radial-gradient(circle at 90% 10%,rgba(145,40,82,.35),transparent 40%),rgba(255,255,255,.07)}.public-cta h2{margin:10px 0;text-align:left;font-size:42px}.public-cta p{margin:0;color:#b3c3d4}.public-cta>div:last-child{display:flex;gap:10px;flex-shrink:0}.public-cta button{min-height:50px}.public-footer{display:flex;align-items:center;gap:25px;padding:35px max(22px,calc((100% - 1120px)/2));border-top:1px solid rgba(180,216,245,.14);background:#020c1e;color:#8fa5bb}.public-footer p{margin-right:auto}.public-footer button,.public-footer>a:not(.public-toolbar-brand){border:0;background:none;color:#aebfd2;text-decoration:none;font:inherit;font-size:12px}
.public-real-hero{display:block;width:100%;aspect-ratio:1.44;object-fit:cover;object-position:left top}.public-product-shot:has(.public-real-hero)>.public-shot-bar,.public-product-shot:has(.public-real-hero)>.public-shot-body{display:none}.public-ai-story{display:grid;grid-template-columns:minmax(0,.8fr) minmax(560px,1.2fr);align-items:center;gap:60px;width:min(1180px,calc(100% - 44px));margin:90px auto;padding:55px;border:1px solid rgba(169,213,246,.18);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035))}.public-ai-story h2{margin:14px 0 20px;font-size:clamp(38px,4.5vw,62px);line-height:1.03;letter-spacing:-.045em}.public-ai-story p{color:#b7c7d8;font-size:17px;line-height:1.65}.public-ai-story ul{display:grid;gap:12px;margin:27px 0 0;padding:0;list-style:none}.public-ai-story li{display:grid;gap:3px;padding-left:18px;border-left:3px solid #66c7f7}.public-ai-story li b{font-size:14px}.public-ai-story li span{color:#9fb3c8;font-size:13px;line-height:1.45}.public-ai-story>img{width:100%;border:1px solid rgba(180,219,248,.26);border-radius:20px;box-shadow:0 28px 65px rgba(0,4,20,.38)}.public-human{display:grid;grid-template-columns:1.1fr 1fr auto;align-items:center;gap:30px;width:min(1120px,calc(100% - 44px));margin:0 auto 35px;padding:28px 32px;border:1px solid rgba(128,206,247,.3);border-radius:20px;background:linear-gradient(115deg,rgba(22,91,154,.35),rgba(119,31,70,.28))}.public-human>span{font-size:19px;font-weight:900;line-height:1.35}.public-human p{margin:0;color:#b7c6d7;line-height:1.5}.public-human a{padding:14px 18px;border-radius:13px;background:#fff;color:#092a55;text-decoration:none;font-size:13px;font-weight:850;white-space:nowrap}.public-gallery{width:min(1280px,calc(100% - 44px))}.public-gallery>div{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.public-gallery figure{overflow:hidden;margin:0;border:1px solid rgba(181,217,246,.18);border-radius:20px;background:rgba(255,255,255,.06)}.public-gallery figure img{display:block;width:100%;aspect-ratio:1.44;object-fit:cover;object-position:left top}.public-gallery figcaption{display:grid;gap:5px;padding:19px}.public-gallery figcaption b{font-size:15px}.public-gallery figcaption span{color:#9fb3c7;font-size:13px;line-height:1.4}
.welcome-grid{position:absolute;z-index:-2;inset:0;opacity:.1;background-image:linear-gradient(120deg,transparent 48%,rgba(159,205,255,.16) 49%,transparent 50%);background-size:110px 110px;mask-image:linear-gradient(to bottom,transparent,#000 24%,#000 76%,transparent)}
.welcome-orb{position:absolute;z-index:-1;border-radius:999px;filter:blur(18px);opacity:.78;animation:welcome-aurora 9s ease-in-out infinite alternate}
.welcome-orb-one{width:560px;height:560px;left:-225px;top:-190px;background:radial-gradient(circle,rgba(153,35,77,.38),transparent 68%)}
.welcome-orb-two{width:540px;height:540px;right:-220px;bottom:-210px;background:radial-gradient(circle,rgba(164,37,84,.46),transparent 68%);animation-delay:-4s}
.welcome-card{position:relative;box-sizing:border-box;width:min(700px,100%);padding:54px 58px 47px;overflow:hidden;border:1px solid rgba(184,220,255,.3);border-radius:30px;background:linear-gradient(145deg,rgba(7,28,65,.75),rgba(16,42,76,.48));-webkit-backdrop-filter:blur(36px) saturate(165%);backdrop-filter:blur(36px) saturate(165%);color:#f5f9ff;box-shadow:0 52px 145px rgba(0,4,19,.7),28px 28px 90px rgba(105,14,52,.24),-28px -18px 85px rgba(111,18,57,.2),0 1px 0 rgba(255,255,255,.38) inset,0 -1px 0 rgba(90,44,109,.32) inset;text-align:center}
.welcome-card:before{content:"";position:absolute;top:0;left:6%;right:6%;height:2px;background:linear-gradient(90deg,transparent,#83d3ff 30%,#fff 52%,#a9416b 82%,transparent);box-shadow:0 3px 24px rgba(111,200,255,.5)}
.welcome-card:after{content:"";position:absolute;z-index:0;top:-38%;left:-72%;width:58%;height:178%;pointer-events:none;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.085),transparent);animation:welcome-glass-sweep 8s ease-in-out infinite}
.welcome-card>*{position:relative;z-index:1}
.welcome-brand{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:37px;color:#fff;font-size:25px;font-weight:950;letter-spacing:.12em;text-shadow:0 5px 26px rgba(0,5,20,.38)}
.welcome-brand-mark{display:grid;place-items:center;padding:5px;border:1px solid rgba(197,227,255,.38);border-radius:18px;background:linear-gradient(145deg,rgba(136,201,255,.2),rgba(255,255,255,.05));box-shadow:0 18px 42px rgba(0,7,28,.48),0 1px 0 rgba(255,255,255,.38) inset}
.welcome-brand img{width:52px;height:52px;border-radius:14px}
.welcome-eyebrow{display:inline-flex;align-items:center;justify-content:center;margin-bottom:21px;padding:10px 20px;border:1px solid rgba(177,215,250,.25);border-radius:999px;background:linear-gradient(120deg,rgba(103,181,244,.13),rgba(134,38,76,.13));box-shadow:0 12px 34px rgba(0,8,31,.2),0 1px 0 rgba(255,255,255,.15) inset;color:#d5ebff;font-size:19px;font-weight:850;letter-spacing:.025em}
.welcome-card h1{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:clamp(43px,7vw,64px);font-weight:820;line-height:1.01;letter-spacing:-.058em;color:#fff;text-shadow:0 10px 38px rgba(0,5,24,.48)}
.welcome-lead{max-width:530px;margin:22px auto 0;color:#c9dced;font-size:17px;font-weight:520;line-height:1.62;text-shadow:0 3px 18px rgba(0,5,22,.32)}
.welcome-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:34px}
.welcome-actions button{min-width:178px;min-height:56px;border-radius:14px;font-size:16px;font-weight:850;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.welcome-actions button:hover{transform:translateY(-2px)}
.welcome-actions .primary{border-color:#a3e3ff;background:linear-gradient(135deg,#d0f4ff 0%,#6bc8ff 52%,#9a9fff 100%);color:#041c3d;box-shadow:0 18px 42px rgba(50,151,226,.4),0 0 34px rgba(113,188,255,.16),0 1px 0 rgba(255,255,255,.8) inset}
.welcome-actions .secondary{border-color:rgba(193,114,146,.34);background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(126,29,68,.17));color:#fff;box-shadow:0 12px 30px rgba(39,4,20,.2),0 1px 0 rgba(255,255,255,.14) inset}
.welcome-actions .primary span{margin-left:8px;font-size:19px}
.welcome-actions .welcome-link{min-width:auto;border:0;background:transparent;color:#52657f;box-shadow:none}
.welcome-privacy{margin-top:22px;border:0;background:transparent;color:#bed5ec;text-decoration:underline;text-underline-offset:4px;font-weight:750}
.welcome-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:38px;padding-top:24px;border-top:1px solid rgba(176,217,248,.18);color:#dceafa;text-align:left}
.welcome-trust>span{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:12px 10px;border:1px solid rgba(173,218,255,.14);border-radius:12px;background:linear-gradient(145deg,rgba(144,204,255,.09),rgba(255,255,255,.035));box-shadow:0 12px 28px rgba(0,7,27,.22),0 1px 0 rgba(255,255,255,.09) inset}
.welcome-trust i{grid-row:1/3;display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:rgba(73,213,181,.12);color:#5fe0be;font-style:normal;font-weight:950}
.welcome-trust b{font-size:11px;color:#f2f8ff}.welcome-trust small{font-size:9px;color:#9fb5ca;font-weight:600;line-height:1.35}
.welcome-message{margin:22px auto 0;padding:12px 16px;border:1px solid #f0d59c;border-radius:12px;background:#fff8e9;color:#805a13}
.welcome-progress span{display:block;width:40px;height:40px;margin:0 auto 24px;border:4px solid #dce8f6;border-top-color:#2863a5;border-radius:50%;animation:welcome-spin .8s linear infinite}
.welcome-progress h1{font-size:36px}.welcome-progress p{color:#617087}
.welcome-companies{display:grid;gap:10px;margin-top:28px;text-align:left}
.welcome-company{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;padding:15px;border:1px solid #dce5f0;border-radius:15px;background:#fff;color:#10294d;text-align:left;transition:.15s ease}
.welcome-company:hover,.welcome-company:focus-visible{border-color:#78a9dc;background:#f5f9ff;transform:translateY(-1px)}
.welcome-company .company-logo{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#e8f1fb;color:#174f8f;font-weight:900}
.welcome-company b,.welcome-company small{display:block}.welcome-company small{margin-top:3px;color:#6c7a8f}.welcome-company i{font-size:26px;font-style:normal;color:#2863a5}
@keyframes welcome-spin{to{transform:rotate(360deg)}}
@keyframes welcome-aurora{0%{transform:translate3d(-2%,0,0) scale(.96)}100%{transform:translate3d(4%,3%,0) scale(1.08)}}
@keyframes welcome-glass-sweep{0%,38%{left:-72%;opacity:0}50%{opacity:1}66%,100%{left:122%;opacity:0}}
@media(prefers-reduced-motion:reduce){.welcome-orb,.welcome-card:after{animation:none}}
@media(max-width:900px){.public-toolbar-links{display:none}.public-hero{grid-template-columns:1fr;gap:48px;padding-top:125px}.public-product-shot{width:min(680px,100%);margin:auto;transform:none}.public-feature-grid{grid-template-columns:repeat(2,1fr)}.public-cta{align-items:flex-start;flex-direction:column}.public-footer{align-items:flex-start;flex-wrap:wrap}.public-footer p{width:100%;margin:0}}
@media(max-width:620px){.welcome-screen:not(.public-site-screen){min-height:100dvh;padding:16px}.public-toolbar{top:12px;width:calc(100% - 24px);grid-template-columns:auto 1fr;gap:10px;min-height:62px;padding:7px}.public-toolbar p{display:none}.public-toolbar-brand{gap:7px}.public-toolbar-brand span{width:40px;height:40px;border-radius:12px}.public-toolbar-brand b{font-size:17px}.public-toolbar nav{justify-self:end}.public-toolbar button{min-height:40px;padding:0 12px;font-size:12px}.welcome-card{padding:35px 20px 29px;border-radius:26px;background:linear-gradient(145deg,rgba(7,27,63,.8),rgba(18,39,72,.58));-webkit-backdrop-filter:blur(32px) saturate(155%);backdrop-filter:blur(32px) saturate(155%)}.welcome-card h1{font-size:42px}.welcome-lead{font-size:16px}.welcome-eyebrow{padding:10px 14px;font-size:17px;line-height:1.25}.welcome-actions{display:grid}.welcome-actions button{width:100%}.welcome-trust{grid-template-columns:1fr;gap:7px;margin-top:28px;padding-top:18px}.welcome-brand{margin-bottom:29px}.public-hero{width:calc(100% - 30px);min-height:auto;padding:110px 0 58px}.public-hero-copy h1{font-size:49px}.public-hero-copy>p{font-size:16px}.public-hero-actions{display:grid}.public-hero-actions button{width:100%}.public-hero-proof{display:grid}.public-shot-body{grid-template-columns:42px 1fr;min-height:330px}.public-shot-body aside{padding-inline:6px}.public-shot-body aside i{width:20px;height:20px}.public-shot-body>div{padding:19px 13px}.public-shot-body section{gap:7px}.public-shot-body article{padding:12px}.public-shot-body article b{font-size:16px}.public-shot-chart>div{height:80px}.public-trust{align-items:center;flex-direction:column;gap:8px}.public-section{width:calc(100% - 30px);padding:75px 0}.public-feature-grid,.public-price-grid{grid-template-columns:1fr}.public-feature{min-height:0}.public-pricing{width:100%;padding-inline:15px}.public-price-grid article.featured{padding-block:31px}.public-cta{width:calc(100% - 30px);margin:50px auto;padding:28px 22px}.public-cta h2{font-size:35px}.public-cta>div:last-child{display:grid;width:100%}.public-footer{padding:30px 18px}.public-footer button,.public-footer>a:not(.public-toolbar-brand){width:100%;padding:5px 0;text-align:left}}

@media(max-width:900px){.public-ai-story{grid-template-columns:1fr;width:calc(100% - 30px);margin:60px auto;padding:35px}.public-ai-story>img{grid-row:1}.public-human{grid-template-columns:1fr;width:calc(100% - 30px)}.public-human a{justify-self:start}.public-gallery>div{grid-template-columns:1fr}.public-gallery figure img{aspect-ratio:1.65}}
@media(max-width:620px){.public-ai-story{gap:25px;padding:24px 18px}.public-ai-story h2{font-size:38px}.public-ai-story p{font-size:15px}.public-human{gap:16px;padding:22px 18px}.public-human a{width:100%;text-align:center}.public-gallery figure img{aspect-ratio:1.35}}

/* Public website: full-bleed editorial presentation. */
body.auth-locked #content{max-width:none}.welcome-screen.public-site-screen,body.auth-locked main.public-site{min-height:0}
html:has(body.auth-locked .public-site-screen){scroll-behavior:smooth;overscroll-behavior-y:none}.public-site [id]{scroll-margin-top:124px}
@media(prefers-reduced-motion:reduce){html:has(body.auth-locked .public-site-screen){scroll-behavior:auto}}
.public-site-screen>.welcome-orb{position:fixed;pointer-events:none}
.public-site-screen{background:radial-gradient(circle at 14% 7%,rgba(117,31,68,.32),transparent 24%),radial-gradient(circle at 88% 24%,rgba(34,112,183,.2),transparent 28%),linear-gradient(145deg,#020817 0%,#061832 47%,#071f3e 100%)}
.public-site:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(115deg,transparent 49%,rgba(137,190,238,.055) 50%,transparent 51%);background-size:170px 170px;mask-image:linear-gradient(to bottom,#000,transparent 48%)}
.public-toolbar{position:fixed;top:24px;width:min(1460px,calc(100% - 64px));min-height:76px;padding:10px 13px 10px 16px;border-color:rgba(191,224,252,.22);border-radius:24px;background:linear-gradient(135deg,rgba(7,25,55,.8),rgba(12,35,68,.7));box-shadow:0 25px 70px rgba(0,4,18,.42),inset 0 1px 0 rgba(255,255,255,.18)}
.public-toolbar-brand span{width:48px;height:48px;border-radius:15px}.public-toolbar-brand b{font-size:22px}.public-toolbar .public-toolbar-links{display:flex;align-items:center;gap:24px}.public-toolbar-links a{position:relative;display:flex;width:auto;min-height:44px;padding:12px 22px;border:1px solid transparent;border-radius:13px;color:#c3d1df;transition:color .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}.public-toolbar-links a:after{content:"";position:absolute;right:22px;bottom:7px;left:22px;height:1px;transform:scaleX(0);background:#79cff9;transition:transform .2s ease}.public-toolbar-links a:hover{transform:none;border-color:rgba(159,208,243,.2);background:rgba(77,151,211,.11);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.public-toolbar-links a:hover:after{transform:scaleX(1)}
.public-toolbar button,.public-hero-actions button,.public-cta button,.public-pricing>button{transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.public-toolbar button:hover,.public-hero-actions button:hover,.public-cta button:hover,.public-pricing>button:hover{transform:translateY(-2px)}
.public-ai-hero>.public-legacy-hero-shot{display:none}.public-report-speed{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:30px}.public-report-speed>span{display:grid;gap:5px;padding:14px 15px;border:1px solid rgba(166,211,246,.18);border-radius:14px;background:rgba(255,255,255,.055)}.public-report-speed b{font-size:13px}.public-report-speed small{color:#9fb7ce;font-size:9px;line-height:1.35}.public-ai-demo{overflow:hidden;border:1px solid rgba(172,219,255,.34);border-radius:28px;background:#edf4fb;box-shadow:0 42px 110px rgba(0,0,20,.5),0 0 85px rgba(94,185,244,.14);color:#0b2c58;transform:perspective(1200px) rotateY(-3deg)}.public-demo-top{display:flex;align-items:center;gap:16px;padding:15px 18px;border-bottom:1px solid #d8e4ef;background:rgba(255,255,255,.94)}.public-demo-top>span{display:flex;gap:5px}.public-demo-top i{width:7px;height:7px;border-radius:50%;background:#becbd8}.public-demo-top b{font-size:11px;letter-spacing:.08em}.public-demo-top em{margin-left:auto;padding:6px 9px;border-radius:999px;background:#e7f7ef;color:#17724b;font-size:8px;font-style:normal;font-weight:900;letter-spacing:.12em}.public-demo-screen{padding:25px}.public-demo-ai{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid #cde8de;border-radius:17px;background:linear-gradient(135deg,#f7fffb,#e8f8f1)}.public-demo-ai>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#0c315e;color:#8dd8ff;font-size:19px}.public-demo-ai>div{display:grid;gap:3px}.public-demo-ai small,.public-demo-period small,.public-demo-reports small,.public-demo-result small{color:#71879c;font-size:8px;font-weight:900;letter-spacing:.1em}.public-demo-ai b{font-size:14px}.public-demo-ai>i{margin-left:auto;color:#21815a;font-size:21px;font-style:normal}.public-demo-period{display:grid;grid-template-columns:1fr auto;gap:5px;margin:14px 0;padding:14px 17px;border:1px solid #d4e0eb;border-radius:15px;background:#fff}.public-demo-period small{grid-column:1/-1}.public-demo-period b{font-size:13px}.public-demo-reports{display:grid;gap:8px}.public-demo-reports article{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:11px;padding:13px 15px;border:1px solid #d6e2ed;border-radius:14px;background:#fff;animation:publicReportPulse 6s ease-in-out infinite}.public-demo-reports article:nth-child(2){animation-delay:2s}.public-demo-reports article:nth-child(3){animation-delay:4s}.public-demo-reports article>span{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#eaf2fa;color:#38628b;font-size:10px;font-weight:900}.public-demo-reports article>div{display:grid;gap:3px}.public-demo-reports article b{font-size:13px}.public-demo-reports article>i{padding:5px 7px;border-radius:999px;background:#e7f7ef;color:#247b58;font-size:7px;font-style:normal;font-weight:900;letter-spacing:.1em}.public-demo-result{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:14px;padding:16px 17px;border-radius:16px;background:#0b2f5c;color:#fff}.public-demo-result>div{display:grid;gap:3px}.public-demo-result small{color:#9fc0dd}.public-demo-result b{font-size:14px}.public-demo-result>span:last-child{color:#8cd7ff;font-size:10px;font-weight:850}.public-demo-spinner{width:28px;height:28px;border:3px solid rgba(255,255,255,.22);border-top-color:#8bd8ff;border-radius:50%;animation:publicDemoSpin 1.7s linear infinite}.public-demo-caption{display:flex;align-items:center;gap:13px;padding:17px 25px;background:#071d3b;color:#fff}.public-demo-play{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:linear-gradient(135deg,#65cdfa,#8d91ff);font-size:11px}.public-demo-caption>div{display:grid;gap:3px}.public-demo-caption b{font-size:12px}.public-demo-caption small{color:#9fb8d1;font-size:9px}@keyframes publicReportPulse{0%,22%,100%{border-color:#d6e2ed;box-shadow:none;transform:translateX(0)}8%,16%{border-color:#68c5f5;box-shadow:0 8px 24px rgba(32,125,183,.16);transform:translateX(4px)}}@keyframes publicDemoSpin{to{transform:rotate(360deg)}}
.public-hero{grid-template-columns:minmax(440px,.82fr) minmax(620px,1.18fr);gap:88px;width:min(1460px,calc(100% - 80px));min-height:930px;padding:176px 0 110px}
.public-hero-copy{position:relative;z-index:2}.public-hero-copy h1{max-width:720px;margin:30px 0 30px;font-size:clamp(66px,5.2vw,102px);font-weight:820;line-height:.92;letter-spacing:-.07em}.public-hero-copy h1 em{background:linear-gradient(110deg,#e5f7ff 0%,#75cdf8 48%,#b7a8ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent}.public-hero-copy>p{max-width:640px;color:#c8d5e3;font-size:20px;line-height:1.7}.public-hero .welcome-eyebrow{padding:11px 18px;border-color:rgba(150,199,239,.27);background:rgba(255,255,255,.055);font-size:13px;letter-spacing:.11em}.public-hero-actions{margin-top:38px}.public-hero-actions button{min-height:60px;padding-inline:30px;border-radius:16px;font-size:16px}.public-hero-actions .primary{background:linear-gradient(135deg,#1c5c9f,#173e79 60%,#4d274f);box-shadow:0 18px 38px rgba(21,85,151,.32),inset 0 1px 0 rgba(255,255,255,.2)}.public-hero-actions .secondary{border:1px solid rgba(197,221,243,.3);background:rgba(255,255,255,.075);color:#fff}.public-hero-proof{gap:12px 26px;margin-top:30px;color:#b8c9d9;font-size:13px;letter-spacing:.01em}
.public-product-shot{position:relative;transform:perspective(1500px) rotateY(-3deg) rotateX(1deg);border-color:rgba(206,231,252,.36);border-radius:30px;box-shadow:0 65px 150px rgba(0,2,15,.58),0 0 110px rgba(68,164,225,.16),inset 0 1px 0 rgba(255,255,255,.65)}.public-product-shot:before{content:"LIVE PRODUKTVY";position:absolute;z-index:2;top:20px;right:20px;padding:8px 12px;border:1px solid rgba(255,255,255,.5);border-radius:999px;background:rgba(7,28,60,.76);backdrop-filter:blur(14px);color:#fff;font-size:9px;font-weight:900;letter-spacing:.14em}.public-real-hero{aspect-ratio:1.48}
.public-trust{gap:0;padding:0 max(32px,calc((100% - 1460px)/2));border-color:rgba(190,220,246,.13);background:rgba(2,12,29,.58)}.public-trust>*{flex:1;padding:25px 34px;border-right:1px solid rgba(190,220,246,.12);font-size:12px;font-weight:750;letter-spacing:.04em}.public-trust>*:last-child{border-right:0}
.public-ai-story{grid-template-columns:minmax(430px,.86fr) minmax(620px,1.14fr);gap:82px;width:min(1400px,calc(100% - 80px));margin:130px auto;padding:74px;border-color:rgba(179,219,248,.19);border-radius:38px;background:radial-gradient(circle at 95% 5%,rgba(88,176,232,.13),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.025));box-shadow:0 45px 100px rgba(0,5,22,.22),inset 0 1px 0 rgba(255,255,255,.13)}.public-ai-story h2{font-size:clamp(48px,4vw,70px)}.public-ai-story>img{border-radius:27px;box-shadow:0 38px 90px rgba(0,3,18,.5)}.public-ai-story li{padding:5px 0 5px 21px;border-left-color:#84d7ff}.public-ai-story li b{font-size:15px}.public-ai-story li span{font-size:14px}
.public-human{width:min(1320px,calc(100% - 80px));padding:36px 42px;border-radius:26px;box-shadow:0 25px 65px rgba(0,5,24,.2),inset 0 1px 0 rgba(255,255,255,.14)}.public-human>span{font-size:22px}.public-human a{padding:16px 22px;border-radius:15px;box-shadow:0 12px 30px rgba(0,5,24,.2)}
.public-section{width:min(1320px,calc(100% - 80px));padding:140px 0}.public-section>h2,.public-cta h2{font-size:clamp(46px,4vw,68px)}.public-section-lead{max-width:720px;font-size:18px}.public-feature-grid{gap:18px}.public-feature{position:relative;min-height:255px;padding:32px;border-color:rgba(184,218,247,.16);border-radius:26px;background:radial-gradient(circle at 90% 5%,rgba(109,192,240,.11),transparent 34%),linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.025));box-shadow:0 25px 65px rgba(0,4,19,.18),inset 0 1px 0 rgba(255,255,255,.11);transition:transform .25s ease,border-color .25s ease,background .25s ease}.public-feature:hover{transform:translateY(-6px);border-color:rgba(136,207,246,.36);background:radial-gradient(circle at 90% 5%,rgba(109,192,240,.17),transparent 36%),linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.04))}.public-feature>span.public-feature-icon{display:grid;width:52px;height:52px;border:1px solid rgba(255,255,255,.46);border-radius:16px;background:linear-gradient(145deg,#eefaff,#7acbf4 68%,#aaa7fa);box-shadow:0 14px 30px rgba(28,125,188,.25),inset 0 1px 0 #fff}.public-feature-icon svg{width:27px;height:27px;fill:none;stroke:#092952;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.public-feature h3{margin-top:25px;font-size:21px}.public-feature p{font-size:15px}.public-feature>i{position:absolute;right:30px;bottom:27px;color:#829ab2;font-size:11px;font-style:normal;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.public-feature>i span{margin-left:5px;color:#83d5fb;font-size:15px}
.public-gallery{width:min(1480px,calc(100% - 80px))}.public-gallery>div{gap:22px}.public-gallery figure{border-radius:27px;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035));box-shadow:0 32px 80px rgba(0,4,20,.25),inset 0 1px 0 rgba(255,255,255,.11);transition:transform .25s ease}.public-gallery figure:hover{transform:translateY(-6px)}.public-gallery figcaption{padding:24px}.public-gallery figcaption b{font-size:17px}
.public-pricing{width:100%;padding-inline:max(40px,calc((100% - 1320px)/2));background:linear-gradient(180deg,rgba(1,10,25,.36),rgba(1,10,25,.68))}.public-price-grid{max-width:1320px;gap:22px}.public-price-grid article{padding:38px;border-radius:28px;box-shadow:0 30px 80px rgba(0,4,20,.22)}.public-price-grid article.featured{padding-block:54px;box-shadow:0 35px 90px rgba(18,116,182,.3)}.public-price-grid h3{font-size:49px}.public-cta{width:min(1320px,calc(100% - 80px));margin:110px auto;padding:60px;border-radius:34px;box-shadow:0 35px 90px rgba(0,4,20,.26),inset 0 1px 0 rgba(255,255,255,.13)}
.public-footer{min-height:250px;align-items:flex-end;padding-top:72px;padding-bottom:26px;background:linear-gradient(180deg,#020c1e 0%,#010715 100%);box-shadow:0 -30px 90px rgba(0,5,20,.16)}
.terms-policy{display:grid;gap:0;padding:24px}.terms-policy>header{padding:28px;border-radius:20px;background:radial-gradient(circle at 90% 0,rgba(115,202,247,.24),transparent 38%),linear-gradient(145deg,#092c59,#15132d);color:#fff}.terms-policy>header small{color:#93d9fb;font-weight:900;letter-spacing:.14em}.terms-policy>header h3{margin:10px 0;font-size:28px}.terms-policy>header p{max-width:620px;margin:0;color:#c4d5e5;line-height:1.6}.terms-policy>section{display:grid;grid-template-columns:42px minmax(0,1fr);gap:16px;padding:23px 8px;border-bottom:1px solid var(--line)}.terms-policy>section>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e9f3ff;color:#1c5b9d;font-size:11px;font-weight:900}.terms-policy h4{margin:2px 0 7px;color:var(--ink);font-size:16px}.terms-policy section p{margin:0;color:var(--muted);line-height:1.65}.terms-policy .terms-notice{margin:14px 0;padding:24px 18px;border:1px solid #9bcdf0;border-radius:17px;background:linear-gradient(145deg,#edf7ff,#f5f1fa)}.terms-policy .terms-notice strong{display:block;margin-top:12px;color:#164f8c;font-size:13px;line-height:1.5}.terms-policy>footer{margin-top:18px;padding:18px;border:1px solid #efcf91;border-radius:14px;background:#fff8e9;color:#785310}.terms-policy>footer p{margin:5px 0 0;line-height:1.5}
@media(max-width:1100px){.public-hero{grid-template-columns:1fr;min-height:auto;padding-top:150px}.public-product-shot{width:min(850px,100%);margin:auto;transform:none}.public-ai-story{grid-template-columns:1fr}.public-ai-story>img{grid-row:1}.public-feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.public-toolbar{position:fixed;top:max(10px,env(safe-area-inset-top));grid-template-columns:auto 1fr auto;gap:3px;width:calc(100% - 20px);min-height:54px;padding:6px 7px}.public-toolbar .public-toolbar-links{display:flex;justify-self:end;gap:0}.public-toolbar .public-toolbar-links a{min-height:36px;padding:9px 6px;border-radius:9px;font-size:10px;white-space:nowrap}.public-toolbar>nav:last-child{display:flex;justify-self:end}.public-toolbar-signup{display:none}.public-toolbar-login{min-height:36px;padding:0 7px!important;border-radius:9px!important;font-size:10px!important;white-space:nowrap}.public-toolbar-brand{gap:6px}.public-toolbar-brand span{width:34px;height:34px;border-radius:10px}.public-toolbar-brand img{width:23px;height:23px}.public-toolbar-brand b{font-size:15px}.public-hero{width:calc(100% - 30px);padding:96px 0 65px}.public-hero-copy h1{font-size:49px}.public-hero-copy>p{font-size:16px}.public-product-shot:before{top:10px;right:10px;font-size:7px}.public-trust{padding:8px 18px}.public-trust>*{padding:10px;border-right:0}.public-ai-story,.public-human,.public-section,.public-gallery,.public-cta{width:calc(100% - 30px)}.public-ai-story{margin:65px auto;padding:25px 18px}.public-section{padding:82px 0}.public-feature-grid{grid-template-columns:1fr}.public-feature{min-height:230px}.public-pricing{width:100%;padding-inline:15px}.public-price-grid h3{display:flex;align-items:baseline;gap:12px;font-size:43px}.public-price-grid h3 small{flex:0 0 auto;font-size:13px;letter-spacing:0;white-space:nowrap}.public-cta{margin:55px auto;padding:30px 22px}.public-footer{min-height:300px;align-content:end;padding:70px 18px 24px}}
@media(max-width:620px){.public-ai-hero .public-hero-copy h1{font-size:45px}.public-report-speed{grid-template-columns:1fr;gap:6px}.public-report-speed>span{grid-template-columns:1fr auto;align-items:center;padding:11px 13px}.public-report-speed small{text-align:right}.public-ai-demo{border-radius:21px;transform:none}.public-demo-screen{padding:15px}.public-demo-top{padding:12px 14px}.public-demo-ai{padding:13px}.public-demo-ai b{font-size:12px}.public-demo-reports article{padding:11px}.public-demo-caption{padding:14px 17px}}
@media(prefers-reduced-motion:reduce){.public-demo-reports article,.public-demo-spinner{animation:none}}
.public-toolbar .public-toolbar-links button{position:relative;display:flex;width:auto;min-height:44px;padding:12px 22px;border:1px solid transparent;border-radius:13px;background:transparent;color:#c3d1df;font-size:14px;font-weight:750;box-shadow:none}.public-toolbar .public-toolbar-links button:hover{transform:none;border-color:rgba(159,208,243,.2);background:rgba(77,151,211,.11);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);color:#fff}
@media(max-width:620px){.public-toolbar{grid-template-columns:auto 1fr;gap:3px}.public-toolbar .public-toolbar-links button{min-height:36px;padding:9px 6px;border-radius:9px;font-size:10px;white-space:nowrap}}

/* Desktop scroll state: keep the toolbar useful without letting it dominate the page. */
@media(min-width:1001px){
  .topbar{transition:height .18s ease,padding .18s ease,box-shadow .18s ease,background-color .18s ease}
  .topbar .company-logo,.topbar .company-switch b,.topbar .company-switch small,
  .topbar .top-actions>button,.topbar .transport-toolbar-button img{
    transition:width .18s ease,height .18s ease,flex-basis .18s ease,padding .18s ease,font-size .18s ease,transform .18s ease
  }
  .topbar.is-scrolled{
    height:58px;
    padding-inline:22px;
    background:#fff;
    box-shadow:0 8px 24px rgba(14,39,76,.10)
  }
  .topbar.is-scrolled .company-logo{width:30px;height:30px;border-radius:9px;font-size:10px}
  .topbar.is-scrolled .company-switch b{font-size:11px;line-height:1.05}
  .topbar.is-scrolled .company-switch small{font-size:9px}
  .topbar.is-scrolled .top-actions{gap:6px}
  .topbar.is-scrolled .top-actions>button.account-toolbar-button,
  .topbar.is-scrolled .top-actions>button.transport-toolbar-button{
    width:174px!important;
    height:42px!important;
    flex:0 0 174px!important;
    border-radius:11px
  }
  .topbar.is-scrolled .top-actions>button.account-toolbar-button{padding:5px 12px 5px 6px}
  .topbar.is-scrolled .top-actions>button.account-toolbar-button>span{width:30px;height:30px}
  .topbar.is-scrolled .top-actions>button.account-toolbar-button b{font-size:11px}
  .topbar.is-scrolled .transport-toolbar-button img{width:140px;height:25px}
  .topbar.is-scrolled .top-actions>button.transport-toolbar-button small{display:none}
  .topbar.is-scrolled .top-actions>button.card-toolbar-button,
  .topbar.is-scrolled .top-actions>button.topbar-ai,
  .topbar.is-scrolled .top-actions>button.primary{height:42px}
}

/* Compact app layout: turn wide desktop ledgers into readable, tappable cards. */
@media(max-width:1000px){
  .top-actions{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .top-actions::-webkit-scrollbar{display:none}
  .top-actions>*{flex:0 0 auto}
  .table-toolbar{grid-template-columns:1fr!important;gap:10px}
  .table-toolbar .search,.table-toolbar .toolbar-actions,.table-toolbar .toolbar-actions>*{width:100%;max-width:none}
  .data-table,.fleet-table{display:block;width:100%;min-width:0;border-collapse:separate}
  .data-table thead,.fleet-table thead{display:none}
  .data-table tbody,.fleet-table tbody{display:grid;gap:12px;width:100%}
  .data-table tr,.fleet-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 5px 16px rgba(8,33,66,.04)}
  .data-table td,.fleet-table td{display:grid!important;gap:4px;align-content:start;min-width:0;padding:11px 12px;border:0;border-bottom:1px solid #edf1f6;overflow-wrap:anywhere;white-space:normal}
  .data-table td::before,.fleet-table td::before{content:attr(data-label);font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
  .data-table td[colspan],.fleet-table td[colspan]{grid-column:1/-1}
  .data-table td[colspan]::before,.fleet-table td[colspan]::before{display:none}
  .vehicle-overview-table td:first-child,.vehicle-overview-table td:last-child{grid-column:1/-1}
  .vehicle-overview-table .vehicle-row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
  .vehicle-overview-table .vehicle-row-actions button{width:100%;min-height:44px;padding:9px;white-space:normal}
}
@media(max-width:420px){
  .data-table tr,.fleet-table tr{grid-template-columns:1fr}
  .data-table td,.fleet-table td,.vehicle-overview-table td:first-child,.vehicle-overview-table td:last-child{grid-column:1}
  .vehicle-overview-table .vehicle-row-actions{grid-template-columns:1fr}
}
.upload-zone.dragging{border-color:#174f8f;background:#dceafd}.upload-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.batch-hint{display:block;color:var(--muted);margin-top:12px}.batch-progress-head{display:flex;justify-content:space-between;margin:18px 0 7px;font-size:11px}.batch-progress-bar{position:relative;height:7px;border-radius:8px;background:#d7e2f0;overflow:hidden}.batch-progress-bar i{display:block;height:100%;background:#2867ad;transition:width .25s}.batch-progress-running{position:absolute;top:0;bottom:0;overflow:hidden}.batch-progress-running em{display:block;width:26%;height:100%;background:#438bd4;box-shadow:0 0 10px #438bd4;animation:batch-scan-running 1.7s ease-in-out infinite}.batch-progress-note{margin:9px 0 0;color:#53657a;font-size:11px;text-align:left}@keyframes batch-scan-running{from{transform:translateX(-100%)}to{transform:translateX(385%)}}@media(prefers-reduced-motion:reduce){.batch-progress-running em{width:100%;animation:none;opacity:.55}}.batch-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:10px;max-height:180px;overflow:auto;text-align:left}.batch-files span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:white;border-radius:6px;padding:6px 8px;font-size:9px;color:var(--muted)}.batch-files .active{color:#285f9f}.batch-files .done{color:#245f51}.batch-files .failed{color:#a34d45}.batch-errors{display:grid;gap:6px;margin-top:12px;max-height:150px;overflow:auto}.batch-errors span{padding:8px;background:#fff2f0;border-radius:7px;font-size:9px}
.row-actions{display:flex;gap:5px}.row-actions button{white-space:nowrap;border:1px solid var(--line);background:white;border-radius:7px;padding:6px 8px;font-size:9px}.row-actions button.primary,.row-actions .pay{background:var(--green);color:white;border-color:var(--green)}.payroll-history{margin-top:18px}
.document-panel{overflow-x:auto}.document-table{min-width:980px}.document-table td:first-child{min-width:210px;max-width:290px}.document-identity{display:grid;gap:5px;min-width:0;line-height:1.4}.document-identity b,.document-identity small{display:block;min-width:0;overflow-wrap:anywhere}.document-identity b{font-size:12px}.document-identity small{color:var(--muted);font-size:10px;font-weight:500}.document-table .row-actions{flex-wrap:wrap}
@media(max-width:1000px){.document-panel{overflow-x:visible}.document-table{min-width:0}.document-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}.document-table td:first-child,.document-table td:last-child{grid-column:1/-1;max-width:none}.document-table td:first-child{background:#f6f9fd;padding:15px}.document-identity b{font-size:14px}.document-table .row-actions{display:flex;justify-content:flex-start}.document-table .row-actions button{min-height:36px;white-space:normal}}
@media(max-width:620px){.document-table td:last-child{display:grid!important;min-width:0}.document-table .row-actions{flex-wrap:wrap}}
@media(max-width:420px){.document-table tr{grid-template-columns:1fr}}
.payslip-head{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.payslip-head>div{display:grid;gap:5px;background:#f3f6fa;border-radius:10px;padding:13px}.payslip-head small{font-size:8px;color:var(--muted)}.payslip-head span{font-size:10px;line-height:1.5}
.payroll-history .row-actions{justify-content:flex-end}
.vat-period{display:grid;gap:5px;font-size:9px;color:var(--muted)}.vat-period select{border:1px solid var(--line);border-radius:8px;padding:8px;background:white}.vat-status{display:grid;gap:4px;padding:13px;border-radius:10px;margin-bottom:14px}.vat-status.ready{background:#e5effc;color:#255f9f}.vat-status.blocked{background:#fff0d7;color:#8a5b22}.vat-status small{font-size:10px}.vat-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.primary:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:620px){.data-table th:last-child,.data-table td:last-child{display:table-cell}.data-table .row-actions{flex-wrap:wrap}.data-table td:last-child{min-width:150px}}
.connection-security{display:flex;align-items:center;gap:12px;background:#0d2b52;color:white;border-radius:14px;padding:16px;margin-bottom:16px}.connection-security>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#2b65aa}.connection-security div{display:grid;gap:4px}.connection-security small{color:#bdd0e8}.integration-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.integration-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:15px;padding:18px;min-height:300px}.integration-head{display:flex;gap:11px;align-items:center}.integration-head>div{display:grid;gap:5px}.integration-head h2{font-family:Georgia,serif;font-size:18px;margin:0}.provider-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;font-weight:900;color:white;background:#173f77}.provider-logo.zettle{background:#14213d}.provider-logo.uber{background:#111}.provider-logo.bolt{background:#2f6d58}.integration-card>p{color:var(--muted);line-height:1.55;font-size:11px}.capability-list{display:flex;flex-wrap:wrap;gap:5px}.capability-list span{font-size:9px;background:#edf4fc;color:#245f9f;padding:5px 7px;border-radius:8px}.integration-message{margin-top:13px;background:#f5f7fa;border-radius:9px;padding:10px;font-size:10px;line-height:1.5}.integration-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:auto;padding-top:15px}.integration-actions>a:not(.button-link){font-size:9px;color:#245f9f}.button-link{display:inline-block;text-decoration:none}.connection-fallback{display:grid;grid-template-columns:1fr auto;gap:5px 14px;align-items:center;background:#edf4fc;border:1px solid #b8cde8;border-radius:14px;padding:16px;margin-top:15px}.connection-fallback span{font-size:10px;color:var(--muted)}.connection-fallback a{grid-column:2;grid-row:1/3}@media(max-width:900px){.integration-grid{grid-template-columns:1fr}}@media(max-width:620px){.connection-fallback{grid-template-columns:1fr}.connection-fallback a{grid-column:1;grid-row:auto;text-align:center}}
.account-level{display:inline-flex;align-self:flex-start;margin-top:13px;border-radius:8px;padding:5px 8px;background:#e8eef7;color:#173f77;font-size:9px;font-weight:800}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dashboard-period select{border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:7px 9px;font:inherit}.dashboard-bars{height:215px;display:flex;align-items:stretch;gap:8px;padding:18px 6px 0;border-bottom:1px solid var(--line)}.dashboard-bar-group{flex:1;min-width:0;display:grid;grid-template-rows:1fr 22px;gap:6px;text-align:center}.dashboard-bar-values{display:flex;align-items:flex-end;justify-content:center;gap:3px;min-height:0}.dashboard-bar-values i{display:block;width:min(18px,42%);border-radius:5px 5px 0 0}.dashboard-bar-values .revenue{background:#174f8f}.dashboard-bar-values .expense{background:#efaa62}.dashboard-bar-group small{font-size:8px;color:var(--muted);white-space:nowrap}.global-search .field{display:grid;gap:7px}.global-search .field span{font-size:10px;font-weight:700;color:var(--muted)}.global-search .field input{width:100%;padding:13px;border:1px solid var(--line);border-radius:10px;font-size:14px}.global-search-results{display:grid;gap:6px;margin-top:13px;max-height:430px;overflow:auto}.global-search-results>p{text-align:center;color:var(--muted);padding:24px}.global-search-results button{display:grid;grid-template-columns:92px 1fr;text-align:left;gap:3px 10px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink)}.global-search-results button:hover,.global-search-results button:focus{background:#edf4fc;border-color:#8eb2dc}.global-search-results button span{grid-row:1/3;color:#285f9f;font-size:9px;font-weight:800;text-transform:uppercase}.global-search-results button b{font-size:11px}.global-search-results button small{color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:620px){.dashboard-bars{height:180px;gap:3px}.dashboard-bar-values i{width:min(12px,45%)}.global-search-results button{grid-template-columns:1fr}.global-search-results button span{grid-row:auto}.dashboard-period select{max-width:170px}}
.negative{color:#b44d45;font-weight:700}.fleet-table tbody tr[data-vehicle-overview]{cursor:pointer}.fleet-table tbody tr[data-vehicle-overview]:hover{background:#f3f7fc}.vehicle-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.vehicle-summary>div{background:white;border:1px solid var(--line);border-radius:13px;padding:16px;display:grid;gap:7px}.vehicle-summary small,.vehicle-detail-head small{color:var(--muted);font-size:9px;font-weight:800}.vehicle-summary b{font-family:Georgia,serif;font-size:20px}.vehicle-overview-table .secondary{padding:7px 10px;font-size:10px}.unassigned-note{display:flex;gap:8px;align-items:center;margin-top:14px;padding:13px 15px;border:1px solid #f0d49d;background:#fff8e9;border-radius:11px;font-size:11px}.unassigned-note span{color:var(--muted)}.vehicle-detail-head{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.vehicle-detail-head>div{display:grid;gap:5px;background:#f3f6fa;border-radius:10px;padding:12px}.vehicle-detail-head b{font-size:13px}.vehicle-detail-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.vehicle-detail-meta span{background:#eaf1fa;border-radius:12px;padding:6px 9px;font-size:9px;color:#506883}.vehicle-history{border:1px solid var(--line);border-radius:11px;overflow:auto;max-height:360px}.vehicle-history td small{display:block;color:var(--muted);margin-top:3px}.vehicle-history table{min-width:520px}
@media(max-width:620px){.vehicle-summary{grid-template-columns:1fr 1fr}.vehicle-detail-head{grid-template-columns:1fr 1fr}.unassigned-note{align-items:flex-start;flex-direction:column}.vehicle-overview-table th:nth-child(3),.vehicle-overview-table td:nth-child(3),.vehicle-overview-table th:nth-child(4),.vehicle-overview-table td:nth-child(4),.vehicle-overview-table th:nth-child(6),.vehicle-overview-table td:nth-child(6){display:table-cell}}
.example-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;padding:14px 16px;border:1px solid #b8cde8;background:#edf4fc;border-radius:13px}.example-banner>div{display:grid;gap:4px}.example-banner b{font-size:12px}.example-banner span{font-size:10px;color:var(--muted)}.demo-label{background:#fff0d7;color:#8c5d22;border-radius:8px;padding:8px 10px;margin-bottom:13px;text-align:center;font-size:9px;font-weight:800;letter-spacing:.7px}@media(max-width:620px){.example-banner{align-items:stretch;flex-direction:column}.example-banner button{width:100%}}
.vehicle-period-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#0d2b52;color:white;border-radius:13px;padding:14px 16px;margin-bottom:14px}.vehicle-period-bar>div{display:grid;gap:4px}.vehicle-period-bar small{font-size:8px;color:#9bb1ce}.vehicle-period-bar b{font-family:Georgia,serif;font-size:17px}.vehicle-period-bar label{display:flex;align-items:center;gap:9px;font-size:10px;color:#bdcee4}.vehicle-period-bar select{min-width:180px;border:1px solid #58769e;background:white;color:var(--ink);border-radius:8px;padding:9px}.period-label{background:#e7f0fb;color:#285f9f}@media(max-width:620px){.vehicle-period-bar{align-items:stretch;flex-direction:column}.vehicle-period-bar label{align-items:stretch;flex-direction:column}.vehicle-period-bar select{width:100%}}
.toolbar-actions{display:flex;gap:8px}.toolbar-actions [data-action="sell-car"]{background:#c63f3f;color:#fff;border-color:#c63f3f}.toolbar-actions [data-action="sell-car"]:hover{background:#a92f2f;border-color:#a92f2f}.taxi-confirm{background:#edf4fc;border:1px solid #b8cde8;border-radius:10px;padding:12px}.taxi-confirm label{display:flex;align-items:flex-start;gap:9px;line-height:1.45}.taxi-confirm input{margin-top:1px}.purchase-preview{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#0d2b52;color:white;border-radius:11px;padding:12px}.purchase-preview>div{display:grid;gap:5px}.purchase-preview small{font-size:8px;color:#9bb1ce}.purchase-preview b{font-size:13px}.purchase-preview>span{grid-column:1/-1;color:#bdcee4;font-size:10px}.depreciation-panel{margin:14px 0;border:1px solid var(--line);border-radius:11px;padding:14px;background:#f7f9fc}.depreciation-panel .panel-head{margin-bottom:10px}.depreciation-panel h3{font-family:Georgia,serif;margin:4px 0 0}.depreciation-values{display:flex;gap:8px;margin-bottom:10px}.depreciation-values span{display:grid;gap:3px;background:white;border-radius:8px;padding:8px;font-size:8px}.depreciation-values b{font-size:10px}.depreciation-years{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.depreciation-years>div{display:grid;gap:3px;background:white;border:1px solid var(--line);border-radius:8px;padding:8px}.depreciation-years small,.depreciation-years span{font-size:8px;color:var(--muted)}.depreciation-years b{font-size:10px}.depreciation-panel p{font-size:9px;color:var(--muted);margin:10px 0 0}@media(max-width:620px){.toolbar-actions{display:grid}.purchase-preview{grid-template-columns:1fr}.depreciation-years{grid-template-columns:1fr 1fr}.depreciation-values{flex-direction:column}}
.vehicle-filter-panel{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;background:#0d2b52;color:white;border-radius:13px;padding:14px 16px;margin-bottom:10px}.vehicle-filter-panel>*{min-width:0}.vehicle-filter-panel label{display:grid;gap:5px;font-size:9px;color:#bdcee4}.vehicle-filter-panel select,.vehicle-filter-panel input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;border:1px solid #58769e;background:white;color:var(--ink);border-radius:8px;padding:9px}.selection-title{display:flex;align-items:center;gap:8px;margin:10px 2px 14px}.selection-title small{font-size:8px;color:var(--muted)}.selection-title b{font-size:12px}.custom-car-model[hidden]{display:none}@media(max-width:800px){.vehicle-filter-panel{grid-template-columns:1fr 1fr}}@media(max-width:620px){.vehicle-filter-panel{grid-template-columns:1fr}}
.sale-vat-choice{background:#f2f6fb;border:1px solid var(--line);border-radius:10px;padding:12px}.sale-vat-choice label{display:flex;align-items:flex-start;gap:9px;line-height:1.45}.sale-vat-choice input{margin-top:1px}.sale-vat-choice small{color:var(--muted);font-size:9px;line-height:1.4}
.field-help{color:var(--muted);font-size:9px;line-height:1.4}
.sale-payment-split{background:#fff8e9;border:1px solid #efd49e;border-radius:10px;padding:10px}.sale-payment-split[hidden]{display:none}
.vehicle-row-actions{flex-wrap:wrap}.vehicle-row-actions button{font-size:9px;padding:7px 9px}
.purchase-creditor,.purchase-finance{background:#f2f6fb;border:1px solid var(--line);border-radius:10px;padding:10px}.purchase-creditor[hidden],.purchase-finance[hidden]{display:none}
.ai-account-suggestion{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:center;margin-top:5px;padding:9px 10px;border:1px solid #b8cde8;background:#edf4fc;border-radius:9px}.ai-account-suggestion>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--lime);color:var(--green)}.ai-account-suggestion div{display:grid;gap:2px}.ai-account-suggestion b{font-size:10px;color:var(--ink)}.ai-account-suggestion small{font-size:8px;color:var(--muted);line-height:1.4}.ai-account-suggestion.loading{opacity:.65}
button.danger {
  color: #9f2525;
  background: #fff5f5;
  border-color: #e7b5b5;
}
button.danger:hover { background: #fde8e8; }
.modal:has(.registration-choices){width:min(760px,calc(100vw - 36px))}.registration-intro{text-align:center;max-width:660px;margin:8px auto 24px}.registration-intro h2{margin:14px 0 8px;font-family:Georgia,serif;font-size:34px;line-height:1.08;color:#0d2343}.registration-intro p{margin:0;color:#68778e}.bankid-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;background:#e8f3ff;color:#174f8f;font-weight:700}.registration-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.registration-choices button{display:grid;grid-template-columns:64px minmax(0,1fr);align-content:start;align-items:center;gap:5px 16px;min-width:0;min-height:178px;text-align:left;padding:22px;border:2px solid #dbe5f3;border-radius:18px;background:#fff;color:#0d2343;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s}.registration-choices button:hover,.registration-choices button:focus{border-color:#1c5fa8;background:#f2f7ff;box-shadow:0 12px 30px rgba(17,62,113,.12);transform:translateY(-2px)}.registration-choices button>.registration-role-icon{position:relative;grid-row:1/3;display:grid;place-items:center;width:64px;height:64px;border:1px solid rgba(86,151,226,.3);border-radius:18px;background:linear-gradient(145deg,#eff7ff 0%,#cfe5ff 100%);color:#164f91;box-shadow:inset 0 1px 0 #fff,0 8px 20px rgba(31,91,158,.14)}.registration-role-icon:after{content:"";position:absolute;inset:7px;border-radius:13px;border:1px solid rgba(255,255,255,.72);pointer-events:none}.registration-role-icon.accounting{background:linear-gradient(145deg,#f0f6ff 0%,#d5e1fb 100%);color:#173f76}.registration-role-icon svg{position:relative;z-index:1;width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.registration-role-icon .icon-surface{fill:rgba(255,255,255,.72)}.registration-role-icon .icon-accent{color:#2d7fd0;fill:#d9ecff;stroke:currentColor}.registration-choices button b{min-width:0;font-size:18px;line-height:1.25;overflow-wrap:anywhere}.registration-choices button small{min-width:0;color:#68778e;line-height:1.45;overflow-wrap:anywhere}.registration-note{margin-top:20px;padding:16px 18px;border-radius:14px;background:#f5f7fa;color:#53647c;line-height:1.5}
.controlled-launch-acceptance{display:grid;gap:10px;margin-top:20px;padding:18px;border:1px solid #b9d5f5;border-radius:14px;background:#f2f8ff;color:#173b68}.controlled-launch-acceptance h3,.controlled-launch-acceptance p{margin:0}.controlled-launch-acceptance label{display:grid;grid-template-columns:20px 1fr;gap:9px;align-items:start;font-size:12px;line-height:1.45}.controlled-launch-acceptance input{width:18px;height:18px;margin:0}.controlled-launch-acceptance small{color:#536c89;line-height:1.45}
.controlled-launch-status{display:grid;gap:7px;margin-top:18px;padding:16px;border-radius:14px}.controlled-launch-status.accepted{border:1px solid #9dd8c8;background:#eefaf6;color:#155846}.controlled-launch-status.pending{border:1px solid #efd296;background:#fff8e9;color:#765214}.controlled-launch-status small{line-height:1.45}.controlled-launch-status button{justify-self:start;margin-top:4px}
.registration-choices button.selected{border-color:#174f8f;background:#edf6ff;box-shadow:0 0 0 3px rgba(23,79,143,.1)}
.identity-methods{display:grid;gap:10px;margin-top:18px}.identity-methods h3{margin:0 0 2px;color:#0d2343}.identity-method{display:grid;gap:3px;width:100%;padding:15px 17px;border:1px solid #dbe5f3;border-radius:14px;text-align:left;background:#fff;color:#0d2343}.identity-method small{color:#68778e;line-height:1.4}.identity-method.available{border-color:#9bc9f5;background:#f1f8ff}.identity-method.pending{background:#f6f7f9;color:#52627a}.identity-method.pending b:after{content:'Kommer senare';float:right;padding:3px 8px;border-radius:999px;background:#e6eaf0;color:#68778e;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.identity-method:disabled{opacity:.55;cursor:not-allowed}.identity-status-note{display:grid;gap:5px;margin-top:16px;padding:15px 17px;border:1px solid #b9d5f5;border-radius:14px;background:#f2f8ff;color:#173b68}.identity-status-note small{color:#536c89;line-height:1.45}
.registration-evidence{margin-top:20px;padding:18px;border:1px solid #b9d5f5;border-radius:16px;background:#f6faff}.registration-evidence-head span,.registration-evidence-status span{color:#245f9f;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.registration-evidence-head h3{margin:5px 0}.registration-evidence-head p{margin:0 0 16px;color:#536c89;line-height:1.45}.registration-evidence-warning{display:grid;gap:4px;margin-top:13px;padding:13px 15px;border:1px solid #efd296;border-radius:12px;background:#fff8e9;color:#765214;line-height:1.4}.registration-evidence-status{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:16px;border-radius:14px}.registration-evidence-status>div:first-child{display:grid;gap:5px}.registration-evidence-status.required{border:1px solid #efd296;background:#fff8e9;color:#765214}.registration-evidence-status.pending{border:1px solid #b9d5f5;background:#f2f8ff;color:#173b68}.registration-evidence-actions{display:flex;flex-wrap:wrap;gap:8px}
.account-menu-profile{display:flex;align-items:center;gap:14px;padding:17px;border-radius:16px;background:#edf4fc;border:1px solid #c9d9ed}.account-menu-profile>span{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#194b88;color:white;font-weight:800}.account-menu-profile>div{display:grid;gap:4px}.account-menu-profile b{font-size:16px}.account-menu-profile small{color:#68778e}.account-menu-actions{display:grid;gap:9px;margin-top:14px}.account-menu-actions>button,.client-switcher>button{display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;min-width:0;text-align:left;padding:14px;border:1px solid #dbe5f3;border-radius:13px;background:white;color:#0d2343}.account-menu-actions>button:hover,.client-switcher>button:hover{background:#f3f7fc;border-color:#8eb2dc}.account-menu-actions>button>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e4effc;color:#174f8f;font-size:18px}.account-menu-actions div,.client-switcher div{display:grid;gap:3px;min-width:0}.account-menu-actions small,.client-switcher small{color:#68778e;line-height:1.35}.account-menu-actions i,.client-switcher i{font-style:normal;color:#74849a;font-size:20px}.account-menu-actions .logout-action{border-color:#efd0d0;color:#9b2929}.account-menu-actions .logout-action>span{background:#fff0f0;color:#ae3434}.client-switcher .selected{background:#edf4fc;border-color:#8eb2dc}.logout-confirm{text-align:center;padding:12px 10px}.logout-confirm>span{display:grid;place-items:center;width:58px;height:58px;margin:auto;border-radius:50%;background:#e8f3ff;color:#174f8f;font-size:26px}.logout-confirm h3{font-family:Georgia,serif;font-size:23px;margin:14px 0 7px}.logout-confirm p{max-width:470px;margin:auto;color:#68778e;line-height:1.55}
.account-menu-actions .account-menu-svg svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.subscription-loading{display:flex;align-items:center;gap:12px;padding:24px;border:1px solid #c9d9ed;border-radius:16px;background:#f5f9ff;color:#173f76}.subscription-loading span{width:20px;height:20px;border:2px solid #b7ccea;border-top-color:#174f8f;border-radius:50%;animation:subscription-spin .7s linear infinite}@keyframes subscription-spin{to{transform:rotate(360deg)}}.subscription-card{display:grid;gap:18px;padding:22px;border:1px solid rgba(116,151,196,.45);border-radius:20px;background:linear-gradient(145deg,rgba(238,246,255,.94),rgba(255,255,255,.78));box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 18px 45px rgba(23,63,118,.1)}.subscription-card.scheduled{background:linear-gradient(145deg,rgba(249,239,244,.94),rgba(241,247,255,.86))}.subscription-card-head{display:flex;align-items:center;gap:14px}.subscription-card-head>span{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:linear-gradient(145deg,#174f8f,#4b234f);color:#fff;box-shadow:0 10px 24px rgba(23,63,118,.22)}.subscription-card-head svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.subscription-card-head>div{display:grid;gap:4px}.subscription-card-head small{color:#6d2850;font-size:10px;font-weight:850;letter-spacing:.1em}.subscription-card-head h3{margin:0;color:#10294d;font-size:23px}.subscription-card>p{margin:0;color:#536c89;line-height:1.6}.subscription-status{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:12px;padding:14px;border:1px solid rgba(139,183,169,.48);border-radius:14px;background:rgba(239,250,246,.78)}.subscription-status>i{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#d9f3e9;color:#0b886d;font-style:normal;font-weight:900}.subscription-status>span{display:grid;gap:3px}.subscription-status small{color:#64798f;line-height:1.4}.subscription-confirm{text-align:center;padding:8px 12px}.subscription-confirm>span{display:grid;place-items:center;width:58px;height:58px;margin:auto;border-radius:18px;background:linear-gradient(145deg,#fff0f2,#f4d9e4);color:#7c2048;font-size:26px;font-weight:900}.subscription-confirm h3{margin:15px 0 7px;color:#10294d;font-size:24px}.subscription-confirm>p{max-width:520px;margin:0 auto;color:#607087;line-height:1.6}.subscription-confirm-note{display:grid;gap:4px;margin-top:18px;padding:14px;border:1px solid #ecd2dd;border-radius:13px;background:#fff8fb;color:#672044}.subscription-confirm-note small{color:#7e6575;line-height:1.45}.subscription-error{padding:20px;border:1px solid #e7b5b5;border-radius:16px;background:#fff5f5;color:#842b38}.subscription-error p{margin:7px 0 0;line-height:1.5}@media(max-width:620px){.subscription-card{padding:18px}.subscription-card-head h3{font-size:20px}.subscription-card+.modal-actions{display:grid}.subscription-card+.modal-actions button{width:100%}}
.modal:has(.subscription-layout){width:min(780px,calc(100vw - 36px))}.subscription-layout{display:grid;gap:16px}.storage-subscription-card{display:grid;gap:16px;padding:22px;border:1px solid rgba(93,143,194,.35);border-radius:20px;background:radial-gradient(circle at 95% 5%,rgba(129,35,73,.12),transparent 34%),linear-gradient(145deg,rgba(247,251,255,.96),rgba(235,244,253,.82));box-shadow:inset 0 1px 0 #fff,0 18px 45px rgba(23,63,118,.08)}.storage-subscription-head{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:14px}.storage-subscription-head>span{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:linear-gradient(145deg,#17518e,#671c3e);color:#fff;box-shadow:0 10px 24px rgba(23,63,118,.2)}.storage-subscription-head svg,.storage-upgrade-confirm svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.storage-subscription-head>div{display:grid;gap:3px}.storage-subscription-head small,.storage-upgrade-confirm>small{color:#762047;font-size:10px;font-weight:850;letter-spacing:.11em}.storage-subscription-head h3{margin:0;color:#10294d;font-size:22px}.storage-subscription-head>b{padding:7px 10px;border:1px solid rgba(105,151,199,.28);border-radius:999px;background:rgba(255,255,255,.64);color:#254d78;font-size:11px}.storage-usage-numbers{display:flex;align-items:baseline;gap:7px;color:#586f8a}.storage-usage-numbers strong{color:#0e315f;font-size:25px}.storage-usage-numbers small{margin-left:auto;color:#6b7c91}.storage-usage-bar{height:10px;padding:2px;border:1px solid rgba(88,135,184,.23);border-radius:999px;background:rgba(255,255,255,.7);overflow:hidden}.storage-usage-bar>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2b86ca,#6d2a58);box-shadow:0 0 13px rgba(52,133,197,.34)}.storage-capacity-note{display:flex;align-items:center;justify-content:space-between;gap:15px}.storage-capacity-note>span{display:grid;gap:3px}.storage-capacity-note small{color:#667b92}.storage-capacity-note em{font-style:normal;color:#762047;font-size:11px;font-weight:800}.storage-upgrade-control{display:grid;grid-template-columns:1fr auto;gap:8px 10px;padding-top:16px;border-top:1px solid rgba(115,154,196,.22)}.storage-upgrade-control label{grid-column:1/-1;color:#183b68;font-size:11px;font-weight:800}.storage-upgrade-control select{min-width:0;padding:11px 12px;border:1px solid #bfd2e7;border-radius:11px;background:rgba(255,255,255,.85);color:#173b68}.storage-upgrade-control small{grid-column:1/-1;color:#667b92;line-height:1.45}.storage-upgrade-locked{padding:12px 14px;border-radius:12px;background:rgba(235,240,247,.82);color:#66778b;font-size:11px}.storage-upgrade-confirm{text-align:center;padding:8px 12px}.storage-upgrade-confirm>span{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 13px;border-radius:19px;background:linear-gradient(145deg,#164f8c,#6f2047);color:#fff;box-shadow:0 14px 30px rgba(23,63,118,.2)}.storage-upgrade-confirm h3{margin:7px 0;color:#10294d;font-size:27px}.storage-upgrade-confirm p{margin:0;color:#607087;line-height:1.55}.storage-next-period{display:grid;gap:4px;margin-top:18px;padding:14px;border:1px solid #c4d9ed;border-radius:13px;background:#f0f7ff;color:#174f8f}.storage-next-period small{color:#607891;line-height:1.45}.storage-current-usage{margin-top:12px;color:#6b7c91;font-size:11px}@media(max-width:620px){.storage-subscription-card{padding:18px}.storage-subscription-head{grid-template-columns:46px 1fr}.storage-subscription-head>b{grid-column:1/-1;justify-self:start}.storage-usage-numbers{flex-wrap:wrap}.storage-usage-numbers small{width:100%;margin-left:0}.storage-upgrade-control{grid-template-columns:1fr}.storage-upgrade-control button{width:100%}.subscription-layout+.modal-actions{display:grid}.subscription-layout+.modal-actions button{width:100%}}
.company-switcher-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.company-switcher-actions button{min-height:48px}.company-switcher-actions [data-create-company]{grid-column:1/-1}@media(max-width:620px){.company-switcher-actions{grid-template-columns:1fr}.company-switcher-actions [data-create-company]{grid-column:1}}
.modal:has(.byra-client-centre){width:min(980px,calc(100vw - 44px));background:#fff}.modal:has(.byra-client-centre) .modal-head{padding:22px 26px}.modal:has(.byra-client-centre) .modal-body{padding:0}.byra-client-centre{color:#0d274a;background:#fff}.byra-client-centre>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 27px 20px;background:#fff}.byra-client-centre>header h3{margin:5px 0 4px;font-family:Georgia,serif;font-size:27px}.byra-client-centre>header p{margin:0;color:#697990;font-size:12px}.byra-client-centre>header .primary{display:flex;align-items:center;justify-content:center;min-height:44px;padding-inline:17px;background:linear-gradient(115deg,#155f9e,#253e79 58%,#6b294f);box-shadow:0 10px 24px rgba(17,74,124,.18)}.byra-client-search{display:flex;align-items:center;gap:10px;margin:0 27px 15px;padding:0 13px;min-height:48px;border:1px solid #cedbea;border-radius:13px;background:#f8fafc}.byra-client-search .account-menu-svg{display:grid;place-items:center;width:27px;height:27px;color:#285f96}.byra-client-search .account-menu-svg svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.byra-client-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#0d274a;font-size:14px}.byra-client-list{display:grid;border-top:1px solid #e5ebf2}.byra-client-row{display:grid;grid-template-columns:minmax(250px,1fr) auto auto;align-items:center;gap:14px;min-height:76px;padding:11px 27px;border-bottom:1px solid #e6ecf3;background:#fff}.byra-client-row:hover,.byra-client-row.selected{background:linear-gradient(90deg,rgba(44,132,196,.09),rgba(146,42,84,.045))}.byra-client-row.selected{box-shadow:inset 3px 0 #2a7db7}.byra-client-identity{display:flex;align-items:center;gap:12px;min-width:0;padding:0;border:0;background:transparent;color:#0d274a;text-align:left}.byra-client-identity>span:last-child{display:grid;gap:3px;min-width:0}.byra-client-identity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.byra-client-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6d7c91;font-size:10px}.byra-client-state{padding:6px 9px;border-radius:8px;background:#eaf2fa;color:#235f93;font-size:10px;font-weight:800}.byra-client-actions{display:flex;gap:7px}.byra-client-actions button{min-height:37px;padding:8px 12px;border-radius:10px;font-size:11px}.byra-client-actions .primary{min-width:72px;background:linear-gradient(115deg,#155f9e,#273f7a 58%,#68284c)}.byra-client-actions .danger-text{border-color:#e9c9cf;color:#9a3046;background:#fff}.byra-client-actions .danger-text:hover{background:#fff2f4}.byra-client-empty{margin:0;padding:35px;color:#6d7c91;text-align:center}.byra-client-centre>footer{display:flex;gap:9px;padding:16px 27px 23px;background:#fff}.company-removal-check{display:flex;align-items:flex-start;gap:10px;margin-top:17px;padding:13px;border:1px solid #ead3d8;border-radius:12px;background:#fff6f7;color:#6f2838;font-size:11px;line-height:1.45}.company-removal-check input{margin-top:2px}.company-removal-confirm>span:first-child{background:#fff0f2;color:#a23049}
@media(max-width:700px){.modal:has(.byra-client-centre){width:100%;max-height:96dvh}.byra-client-centre>header{align-items:stretch;flex-direction:column;padding:20px 17px 15px}.byra-client-centre>header h3{font-size:24px}.byra-client-search{margin:0 17px 13px}.byra-client-row{grid-template-columns:minmax(0,1fr) auto;padding:11px 17px}.byra-client-state{display:none}.byra-client-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.byra-client-actions button{min-height:44px}.byra-client-centre>footer{display:grid;grid-template-columns:1fr;padding:14px 17px max(20px,env(safe-area-inset-bottom))}.byra-client-centre>footer button{min-height:44px}}
body:not(.auth-locked) #content:has(.byra-workspace){width:100%;max-width:none;margin:0;padding:0;background:#fff}.byra-workspace{display:grid;gap:34px;width:min(100%,1380px);min-height:calc(100vh - 76px);margin:0 auto;padding:48px 54px 80px;background:#fff;color:#0d274a}.byra-workspace-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;overflow:hidden;padding:38px 40px;border:1px solid #d8e3ef;border-radius:26px;background:linear-gradient(118deg,#f8fbff 0%,#fff 54%,#fbf6f9 100%);box-shadow:0 18px 50px rgba(18,54,96,.08)}.byra-workspace-hero:after{content:"";position:absolute;right:-90px;bottom:-125px;width:290px;height:290px;border-radius:50%;border:60px solid rgba(120,38,77,.055);pointer-events:none}.byra-workspace-heading{position:relative;z-index:1}.byra-kicker{display:block;margin-bottom:8px;color:#8c2d58;font-size:10px;font-weight:850;letter-spacing:.16em}.byra-workspace-hero h1{margin:0 0 8px;font-family:Georgia,serif;font-size:clamp(38px,4vw,54px);font-weight:500;letter-spacing:-.045em}.byra-workspace-hero p{max-width:620px;margin:0;color:#61748b;font-size:14px;line-height:1.55}.byra-workspace-actions{position:relative;z-index:1;display:flex;align-self:start;gap:10px}.byra-workspace-actions button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:11px 17px;border-radius:13px}.byra-workspace-actions svg,.byra-client-tally svg,.byra-client-page-empty svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.byra-client-tally{position:relative;z-index:1;grid-column:1/-1;display:grid;grid-template-columns:42px auto 1fr;align-items:center;gap:4px 12px;width:max-content;min-width:210px;margin-top:9px;padding:13px 17px;border:1px solid rgba(37,91,147,.13);border-radius:16px;background:rgba(255,255,255,.75);box-shadow:0 9px 24px rgba(18,54,96,.06);backdrop-filter:blur(8px)}.byra-client-tally>span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf3fd;color:#1d5d98}.byra-client-tally strong{align-self:end;font-size:22px;line-height:1}.byra-client-tally small{align-self:start;color:#6c7c90;font-size:11px}.byra-client-page{overflow:hidden;border:0;border-radius:0;box-shadow:none}.byra-client-page-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(330px,500px);align-items:end!important;gap:28px!important;padding:0 0 20px!important;border-bottom:1px solid #dfe7f0;background:#fff!important}.byra-client-page-head h2{margin:0 0 6px;font-family:Georgia,serif;font-size:30px;font-weight:500;letter-spacing:-.025em}.byra-client-page-head p{margin:0;color:#6a7b90;font-size:12px}.byra-client-page .byra-client-search{align-self:end;margin:0;padding:0 14px;min-height:50px;border:1px solid #cbd9e8;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(18,54,96,.05);transition:border-color .2s,box-shadow .2s}.byra-client-page .byra-client-search:focus-within{border-color:#4e89c4;box-shadow:0 0 0 4px rgba(62,132,199,.12)}.byra-client-search kbd{padding:4px 7px;border:1px solid #d7e0eb;border-radius:6px;background:#f6f8fb;color:#8090a3;font-family:inherit;font-size:9px}.byra-client-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px 0 0;border:0}.byra-client-page .byra-client-row{display:grid;grid-template-columns:1fr;gap:18px;min-height:0;padding:22px;border:1px solid #dce5ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(18,54,96,.055);transition:transform .18s,border-color .18s,box-shadow .18s}.byra-client-page .byra-client-row:hover{transform:translateY(-2px);border-color:#b9cee4;background:#fff;box-shadow:0 16px 34px rgba(18,54,96,.1)}.byra-client-page .byra-client-identity{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;width:100%;padding:0;text-align:left}.byra-client-page .byra-client-identity .company-logo{width:48px;height:48px;border:1px solid #cadbec;border-radius:14px;background:linear-gradient(145deg,#e8f3ff,#faedf3);color:#174f88;font-size:13px}.byra-client-page .byra-client-identity b{font-size:15px}.byra-client-page .byra-client-identity small{font-size:10px}.byra-client-page .byra-client-state{display:inline-flex;align-items:center;gap:6px;align-self:start;padding:7px 9px;border-radius:999px;background:#edf8f3;color:#287151;font-size:9px;font-weight:800}.byra-client-state i{width:6px;height:6px;border-radius:50%;background:#35a376;box-shadow:0 0 0 3px rgba(53,163,118,.12)}.byra-client-details{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0;padding:15px 0;border-top:1px solid #e8edf3;border-bottom:1px solid #e8edf3}.byra-client-details div{display:grid;gap:4px}.byra-client-details dt{color:#7b899a;font-size:9px;font-weight:750}.byra-client-details dd{margin:0;color:#1b3558;font-size:12px;font-weight:700}.byra-client-page .byra-client-actions{display:flex;grid-column:auto;align-items:center;justify-content:space-between;gap:10px}.byra-client-page .byra-client-actions button{min-height:42px;border-radius:11px}.byra-client-page .byra-client-actions .primary{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:132px;padding-inline:16px;background:linear-gradient(112deg,#155f9e,#253f7c 65%,#68294d);box-shadow:0 9px 20px rgba(28,76,127,.2)}.byra-client-page .byra-client-actions .primary b{font-size:17px;font-weight:500}.byra-client-page .byra-client-actions .danger-text{padding:8px 0;border:0;background:transparent;color:#9a3b4e;font-size:10px}.byra-client-page .byra-client-actions .danger-text:hover{text-decoration:underline;background:transparent}.byra-client-page-empty{grid-column:1/-1;display:grid;justify-items:center;gap:8px;padding:58px 20px;border:1px dashed #c9d7e6;border-radius:18px;background:#fafcff;text-align:center;color:#637891}.byra-client-page-empty>span{display:grid;place-items:center;width:50px;height:50px;margin-bottom:5px;border-radius:15px;background:#eaf3fd;color:#1d5d98}.byra-client-page-empty b{color:#173d69;font-size:18px}.byra-client-page-empty p{margin:0 0 8px}.byra-client-page>.byra-client-empty{margin:18px 0 0;padding:24px;border:1px dashed #ccd9e7;border-radius:16px;background:#fafcff}
@media(max-width:900px){.byra-workspace{gap:25px;padding:30px 25px 70px}.byra-workspace-hero{grid-template-columns:1fr;padding:30px}.byra-workspace-actions{grid-row:2}.byra-client-tally{grid-row:3;grid-column:1}.byra-client-page-head{grid-template-columns:1fr}.byra-client-page .byra-client-search{width:100%;max-width:none}.byra-client-list{grid-template-columns:1fr}}
@media(max-width:620px){body:not(.auth-locked) #content:has(.byra-workspace){padding:0}.byra-workspace{gap:22px;min-height:calc(100dvh - 65px);padding:18px 14px max(92px,env(safe-area-inset-bottom))}.byra-workspace-hero{gap:20px;padding:24px 20px;border-radius:21px}.byra-workspace-hero:after{right:-125px;bottom:-155px}.byra-workspace-hero h1{font-size:38px}.byra-workspace-hero p{font-size:12px}.byra-workspace-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.byra-workspace-actions button{min-width:0;padding:10px 8px;font-size:11px}.byra-client-tally{min-width:190px}.byra-client-page-head{gap:18px!important;padding-bottom:17px!important}.byra-client-page-head h2{font-size:26px}.byra-client-search kbd{display:none}.byra-client-list{gap:12px;padding-top:16px}.byra-client-page .byra-client-row{gap:16px;padding:18px;border-radius:16px}.byra-client-page .byra-client-identity{grid-template-columns:44px minmax(0,1fr) auto}.byra-client-page .byra-client-identity .company-logo{width:44px;height:44px}.byra-client-page .byra-client-state{padding:6px 8px}.byra-client-details{gap:9px}.byra-client-page .byra-client-actions .primary{min-width:120px}}
.byra-client-page .byra-own-client{border-color:#a9c7e5;background:linear-gradient(145deg,#f1f7ff,#fff 62%,#fcf5f8);box-shadow:0 14px 34px rgba(22,83,143,.1)}.byra-client-page .byra-own-client:hover{border-color:#78a9d5}.byra-client-page .byra-client-state.own{background:#e7f1fc;color:#1d5d98}.byra-client-page .byra-client-state.own i{background:#2f7fbc;box-shadow:0 0 0 3px rgba(47,127,188,.12)}.byra-own-note{color:#536b86;font-size:10px;font-weight:700}.byra-own-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;padding:14px 17px;border:1px solid #bcd2e8;border-radius:16px;background:linear-gradient(120deg,#edf5ff,#fff 65%,#fbf4f7);box-shadow:0 10px 28px rgba(18,54,96,.07)}.byra-own-workspace-bar>div{display:flex;align-items:center;gap:12px}.byra-own-workspace-bar>div>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#dcecff;color:#1d5d98}.byra-own-workspace-bar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.byra-own-workspace-bar p{display:grid;gap:3px;margin:0}.byra-own-workspace-bar small{color:#8c2d58;font-size:8px;font-weight:850;letter-spacing:.12em}.byra-own-workspace-bar b{font-size:13px}@media(max-width:620px){.byra-own-note{font-size:9px}.byra-own-workspace-bar{align-items:stretch;flex-direction:column;margin:0 2px 18px;padding:13px}.byra-own-workspace-bar button{min-height:42px}}
@media(max-width:760px){.registration-choices{grid-template-columns:1fr}.registration-choices button{min-height:0}.registration-intro h2{font-size:28px}.modal:has(.registration-choices){width:100%}.registration-evidence-status{align-items:stretch;flex-direction:column}.registration-evidence-status>button,.registration-evidence-actions button{width:100%}.identity-method.pending b:after{float:none;display:inline-block;margin-left:7px}}
.account-rule-banner{display:flex;align-items:center;gap:13px;margin-bottom:15px;padding:16px 18px;border-radius:14px;background:#0d2b52;color:white}.account-rule-banner>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#2b65aa;font:700 22px Georgia,serif}.account-rule-banner>div{display:grid;gap:4px}.account-rule-banner small{color:#bdd0e8;line-height:1.45}.account-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:16px 0}.account-action-grid>button{display:grid;grid-template-columns:48px 1fr 18px;align-items:center;gap:13px;text-align:left;padding:18px;border:1px solid var(--line);border-radius:15px;background:white;color:var(--ink)}.account-action-grid>button:hover{background:#edf4fc;border-color:#8eb2dc}.account-action-grid>button>span{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(92,145,204,.18);border-radius:13px;background:linear-gradient(145deg,#eaf4ff,#d4e7fb);color:#174f8f;box-shadow:inset 0 1px 0 #fff,0 7px 18px rgba(25,76,134,.1)}.account-action-grid .account-action-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.account-action-grid>button>div{display:grid;gap:5px}.account-action-grid>button b{font-size:14px}.account-action-grid>button small{color:var(--muted);line-height:1.4}.account-action-grid>button i{font-style:normal;font-size:22px;color:#6e829c}.account-guidance{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}.account-guidance>div{display:grid;gap:5px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f7f9fc}.account-guidance b{font-size:11px}.account-guidance small{color:var(--muted);font-size:9px;line-height:1.5}.empty-table{text-align:center;color:var(--muted);padding:25px}.financing-preview{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;gap:9px;padding:13px;border-radius:11px;background:#0d2b52;color:white}.financing-preview>div{display:grid;gap:4px}.financing-preview small{color:#9bb1ce;font-size:8px}.financing-preview b{font-size:11px}.financing-preview>span{text-align:center;color:#9bb1ce}.financing-preview>em{grid-column:1/-1;font-style:normal;color:#bdd0e8;font-size:9px}.financing-form .warning{margin:0}@media(max-width:700px){.account-action-grid,.account-guidance{grid-template-columns:1fr}.financing-preview{grid-template-columns:1fr}.financing-preview>span{display:none}}
.result-report{margin-top:18px;background:white;color:#111;font-family:Arial,sans-serif;font-variant-numeric:tabular-nums}.result-report-meta{display:flex;justify-content:space-between;gap:20px;padding:4px 4px 18px}.result-report-meta>div{display:grid;gap:2px;font-size:10px}.result-report-meta>div:last-child{text-align:right}.result-report-columns,.result-report-row{display:grid;grid-template-columns:minmax(300px,1fr) 145px 145px;align-items:center}.result-report-columns{border-bottom:2px solid #222;padding:7px 4px;font-size:10px;text-align:right}.result-report-columns>small:first-child{text-align:left;color:#555;font-weight:600}.result-report-row{padding:4px;border-bottom:1px solid transparent;font-size:10px}.result-report-row>b{text-align:right}.result-report-heading{padding:13px 4px 7px;font-size:10px;font-weight:800}.result-report-heading.major{font-size:11px;letter-spacing:.3px}.result-report-row.subtotal{border-top:1px solid #222;margin-top:5px;padding-top:7px;font-weight:700}.result-report-row.grand{border-top:2px solid #222;margin-top:10px;padding-top:8px;font-weight:800}.result-report-row.result{border-top:2px solid #222;margin-top:14px;padding:13px 4px;font-size:12px;font-weight:900}.result-report-row.account span{padding-left:5px}@media screen and (max-width:700px){.result-report{min-width:0}.result-report-meta{flex-wrap:wrap;gap:8px}.result-report-meta>div{min-width:0;overflow-wrap:anywhere}.result-report-meta>div:last-child{text-align:left}.result-report-columns,.result-report-row{min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;row-gap:6px;font-size:12px}.result-report-columns>small:first-child,.result-report-row>span{grid-column:1/-1;text-align:left;overflow-wrap:anywhere}.result-report-row{padding:8px 4px}.result-report-heading{min-width:0;overflow-wrap:anywhere;font-size:12px}.result-report-row.account span{padding-left:0}.result-report-row>b{white-space:nowrap}}
.agreement-intro{display:flex;gap:16px;align-items:center;padding:20px 24px;margin-bottom:22px;background:#eaf3ff;border:1px solid #b9d4fb;border-radius:18px;color:#102a52}.agreement-intro>span{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#8ebcff;font:700 25px Georgia,serif}.agreement-intro div{display:grid;gap:5px}.agreement-intro small{color:#66758b}.agreement-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.agreement-template-grid button{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;text-align:left;padding:20px;border:1px solid #d7e1ef;border-radius:18px;background:#fff;color:#10294d;cursor:pointer}.agreement-template-grid button:hover{border-color:#78a8ed;box-shadow:0 10px 28px #163b7220;transform:translateY(-1px)}.agreement-template-grid button>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e9f2ff;font:700 22px Georgia,serif}.agreement-template-grid button div{display:grid;gap:6px}.agreement-template-grid button small{color:#6d7989;line-height:1.35}.agreement-template-grid button i{font-style:normal;font-weight:700;color:#1d5ca7}.agreement-list{width:100%;min-width:0;overflow:hidden}.agreement-list>.panel-head{padding:22px 24px 18px;margin:0;border-bottom:1px solid #e1e7f0}.agreement-table{overflow-x:auto}.agreement-row{display:grid;grid-template-columns:1.7fr 1.2fr .7fr .55fr 1fr;gap:18px;align-items:center;padding:15px 22px;border-top:1px solid #e1e7f0;min-width:820px}.agreement-row.heading{color:#7b8792;font-size:12px;font-weight:800;text-transform:uppercase}.agreement-row>span{display:flex;gap:8px;align-items:center}.agreement-row>span:first-child{display:grid;gap:3px}.agreement-row small{color:#6c7887}.agreement-row em{font-style:normal;color:#93621d;background:#fff0cf;border-radius:999px;padding:7px 12px}.empty-agreements{display:grid;justify-items:center;align-content:center;gap:8px;min-height:240px;width:100%;padding:48px 24px;text-align:center;color:#6c7887}.empty-agreements>span{font:700 34px Georgia,serif;color:#2b609d}.legal-template-note{display:grid;gap:4px;margin-top:20px;padding:18px 22px;border-radius:16px;background:#fff8e9;border:1px solid #f0d69f;color:#5f4b27}.agreement-company{display:grid;gap:4px;padding:18px;border-radius:15px;background:#eef5ff;border:1px solid #c7daf5}.agreement-company span{font-size:12px;font-weight:800;color:#587091}.agreement-guidance{display:flex;gap:14px;padding:17px;border-radius:15px;background:#f2f7ff;border:1px solid #c9dcf5}.agreement-guidance>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#8ebcff;color:#102a52;font-weight:900}.agreement-guidance div{display:grid;gap:5px}.agreement-guidance small{color:#66758b}.agreement-preview{max-width:760px;margin:auto;padding:42px 46px;background:#fff;color:#172844;box-shadow:0 10px 35px #0d28451c}.agreement-preview header{display:grid;gap:8px;padding-bottom:24px;border-bottom:3px solid #173b6d}.agreement-preview header>span{font-size:12px;font-weight:900;letter-spacing:.14em;color:#3e70ad}.agreement-preview header>b{font:700 30px Georgia,serif}.agreement-preview header small{color:#647186}.agreement-parties{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.agreement-parties div{display:grid;gap:5px;padding:17px;background:#f5f7fa;border-radius:12px}.agreement-parties small{font-weight:800;color:#68758a}.agreement-clause{margin:18px 0}.agreement-clause>b{font-size:16px}.agreement-clause p{line-height:1.6;color:#35445b}.agreement-signatures{display:grid;grid-template-columns:1fr 1fr;gap:44px;margin-top:48px}.agreement-signatures div{display:grid;gap:12px}.agreement-signatures i{height:36px;border-bottom:1px solid #243957}.agreement-signatures small{line-height:1.5}.agreement-preview footer{margin-top:38px;padding-top:14px;border-top:1px solid #dfe5ed;color:#778296;font-size:11px}@media(max-width:900px){.agreement-template-grid{grid-template-columns:1fr}.agreement-row{grid-template-columns:1.5fr 1fr .8fr .7fr 1fr}.agreement-parties,.agreement-signatures{grid-template-columns:1fr}.agreement-preview{padding:25px 20px}}@media(max-width:620px){.agreement-list>.panel-head{padding:18px}.empty-agreements{min-height:200px;padding:38px 18px}}
.agreement-document-bar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:-42px -46px 34px;padding:18px 46px;background:#102f5b;color:#fff}.agreement-document-bar>span{display:grid;place-items:center;width:50px;height:34px;border-radius:8px;background:#8dbbff;color:#0b2b59;font-weight:950;letter-spacing:.06em}.agreement-document-bar small{font-weight:800;letter-spacing:.14em;color:#c7dcfb}.agreement-document-bar b{font-size:12px;color:#fff}.agreement-divider{display:flex;align-items:center;gap:12px;margin:28px 0 8px;color:#59708f;font-size:11px;font-weight:900;letter-spacing:.16em}.agreement-divider:after{content:"";height:1px;flex:1;background:#cad6e6}.agreement-clause{display:grid;grid-template-columns:38px 1fr;gap:14px;padding:18px 0;margin:0;border-bottom:1px solid #e3e9f1}.agreement-clause>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e8f1ff;color:#17477f;font-weight:900}.agreement-clause>div>b{font-size:16px;color:#102f5b}.agreement-clause p{margin:7px 0 0}.agreement-signatures div>span{font-weight:800;color:#183b69}.agreement-preview footer{display:flex;justify-content:space-between;gap:18px}.agreement-preview footer b{color:#234f87;letter-spacing:.08em}.agreement-preview footer span{text-align:right}@media(max-width:900px){.agreement-document-bar{margin:-25px -20px 25px;padding:15px 20px}.agreement-preview footer{display:grid}.agreement-preview footer span{text-align:left}}
.employment-document{max-width:980px;margin:0 auto;background:#fff;color:#1f2430;padding:46px 54px;box-shadow:0 18px 55px rgba(21,35,58,.11);border:1px solid #e4e0d8;font-family:Arial,sans-serif}.employment-document-head{display:grid!important;grid-template-columns:1.35fr .8fr .8fr;gap:10px;padding:0!important;margin:0 0 38px!important;background:none!important;color:#1f2430!important}.employment-document-head>div{min-height:76px;padding:14px 16px;background:#faf8f4;border:1px solid #eee9e0;display:flex;flex-direction:column;gap:5px}.employment-document-head small,.employment-doc-cell small{font-size:.7rem;letter-spacing:.05em;color:#746f68;font-weight:700}.employment-document-head b{font-size:.92rem}.employment-document-head span{font-size:.76rem;color:#746f68}.employment-document-title{margin:0 0 26px;padding-bottom:20px;border-bottom:2px solid #242424}.employment-document-title>span{font-size:.72rem;letter-spacing:.16em;font-weight:800;color:#8b7656}.employment-document-title h2{margin:8px 0 5px;font-family:Georgia,serif;font-size:2rem;color:#1d2637}.employment-document-title p{margin:0;color:#565c65}.employment-doc-section{margin:0 0 22px}.employment-doc-section h3,.employment-doc-clauses>h3,.employment-doc-signatures>h3{margin:0;background:#e7dece;color:#2c2a27;padding:11px 13px;font-size:.82rem;letter-spacing:.08em}.employment-doc-grid{display:grid;grid-template-columns:1fr 1fr;border-left:1px solid #ddd4c5;border-top:1px solid #ddd4c5}.employment-doc-cell{min-height:68px;padding:12px 14px;border-right:1px solid #ddd4c5;border-bottom:1px solid #ddd4c5;display:flex;flex-direction:column;gap:8px}.employment-doc-cell b{font-size:.94rem;font-weight:600;line-height:1.35}.employment-doc-cell.wide{grid-column:1/-1;min-height:88px}.employment-doc-clauses{margin-top:28px}.employment-doc-clauses>div{display:grid;grid-template-columns:36px 1fr;gap:8px;padding:14px 5px;border-bottom:1px solid #e5e1da}.employment-doc-clauses>div>span{font-family:Georgia,serif;font-size:1.1rem;color:#9b815a}.employment-doc-clauses p{margin:0;line-height:1.5;color:#40444b}.employment-doc-clauses p b{display:block;margin-bottom:3px;color:#20242b}.employment-doc-signatures{margin-top:30px}.employment-doc-signatures>p{margin:16px 0;color:#555}.employment-doc-signatures>div{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:35px}.employment-doc-signatures span{display:flex;flex-direction:column;gap:7px}.employment-doc-signatures i{height:42px;border-bottom:1px solid #222}.employment-doc-signatures small{color:#706d68}.employment-doc-signatures b{font-size:.9rem}@media(max-width:720px){.employment-document{padding:28px 20px}.employment-document-head{grid-template-columns:1fr!important}.employment-doc-grid,.employment-doc-signatures>div{grid-template-columns:1fr}.employment-doc-cell.wide{grid-column:auto}.employment-document-title h2{font-size:1.5rem}}
.transport-official-note{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:16px;padding:18px 20px;margin-bottom:20px;border-radius:16px;background:#eaf3ff;border:1px solid #b8d3f5}.transport-official-note>span{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#173f77;color:white;font-weight:950}.transport-official-note>div{display:grid;gap:5px}.transport-official-note small{color:#607087;line-height:1.45}.transport-official-note a,.transport-catalog a{color:#174f8f;font-weight:800;text-decoration:none}.transport-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:22px}.transport-template-grid>button{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:14px;text-align:left;padding:21px;border:1px solid #d6e1ef;border-radius:17px;background:white;color:#10294d}.transport-template-grid>button:hover{border-color:#76a6df;box-shadow:0 10px 25px #163b721c}.transport-template-grid>button>span{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:#e5effc;color:#174f8f;font-size:22px}.transport-template-grid>button>div{display:grid;gap:5px}.transport-template-grid small{color:#6d7989;line-height:1.4}.transport-template-grid em{font-style:normal;font-size:9px;font-weight:900;color:#2e67a6}.transport-template-grid i{font-style:normal;font-weight:800;color:#1d5ca7}.transport-table{overflow-x:auto}.transport-row{display:grid;grid-template-columns:1.7fr .65fr .55fr 1.15fr 1fr;gap:14px;align-items:center;padding:15px 20px;border-top:1px solid #e1e7f0;min-width:850px}.transport-row.heading{color:#7b8792;font-size:10px;font-weight:900;text-transform:uppercase}.transport-row>span:first-child{display:grid;gap:4px}.transport-row small{color:#6c7887}.transport-row>span:last-child{display:flex;gap:7px}.transport-row em{font-style:normal;font-size:9px;border-radius:999px;padding:7px 10px}.transport-row em.ready{background:#e4f1eb;color:#21634d}.transport-row em.blocked{background:#fff0d7;color:#8c5d22}.transport-catalog{display:grid;grid-template-columns:1fr auto;gap:4px 15px;align-items:center;margin-top:18px;padding:17px 20px;border:1px solid #dce4ef;border-radius:14px;background:#f7f9fc}.transport-catalog span{color:#6c7887}.transport-catalog a{grid-column:2;grid-row:1/3}.transport-prefill{display:flex;gap:12px;padding:15px;border:1px solid #b8d3f5;border-radius:13px;background:#eaf3ff}.transport-prefill>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#8ebcff;color:#102a52}.transport-prefill div{display:grid;gap:4px}.transport-prefill small{color:#607087;line-height:1.4}.transport-form>label{display:grid;gap:6px;font-size:10px;font-weight:750;color:#647186}.transport-form input,.transport-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;padding:11px;background:white;color:var(--ink)}.transport-financial{padding:16px;border-radius:14px;background:#0d2b52;color:white}.transport-financial>small{display:block;margin:5px 0 13px;color:#bdd0e8}.transport-financial>div{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.transport-financial label{display:grid;gap:5px;font-size:9px;color:#bdd0e8}.transport-preview header{display:grid;gap:6px;padding:20px;border-radius:14px;background:#102f5b;color:white}.transport-preview header span{font-size:9px;letter-spacing:.13em;color:#bcd3f2}.transport-preview header b{font:700 24px Georgia,serif}.transport-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.transport-preview-grid>div{display:grid;gap:4px;padding:13px;border:1px solid #dfe6ef;border-radius:11px;background:#f7f9fc}.transport-preview-grid small{color:#6b7889}.transport-status{display:flex;gap:12px;padding:14px;border-radius:12px}.transport-status>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-weight:900}.transport-status>div{display:grid;gap:4px}.transport-status small{line-height:1.45}.transport-status.ready{background:#e5f2ec;color:#205e49}.transport-status.blocked{background:#fff0d7;color:#80541f}@media(max-width:800px){.transport-template-grid{grid-template-columns:1fr}.transport-official-note{grid-template-columns:48px 1fr}.transport-official-note a{grid-column:1/-1}.transport-financial>div{grid-template-columns:1fr 1fr}.transport-catalog{grid-template-columns:1fr}.transport-catalog a{grid-column:1;grid-row:auto}.transport-preview-grid{grid-template-columns:1fr}}@media(max-width:620px){.transport-financial>div{grid-template-columns:1fr}}
.transport-all-forms{margin-top:20px;padding:21px;border:1px solid #dce4ef;border-radius:16px;background:white}.transport-all-forms .panel-head>a{color:#174f8f;text-decoration:none;font-weight:800}.transport-all-forms>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:8px}.transport-all-forms>div>a{display:grid;grid-template-columns:78px 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid #e1e7f0;border-radius:10px;color:#10294d;text-decoration:none}.transport-all-forms>div>a:hover{background:#edf4fc;border-color:#9fbee2}.transport-all-forms em{font-style:normal;font-size:9px;font-weight:900;color:#2b65aa}.transport-all-forms i{font-style:normal;color:#2b65aa}@media(max-width:800px){.transport-all-forms>div:last-child{grid-template-columns:1fr}}
.transport-services{margin-bottom:22px;padding:21px;border:1px solid #bdd3ed;border-radius:17px;background:linear-gradient(145deg,#fff,#eef5fd)}.transport-services .panel-head>small{color:#66768a}.transport-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.transport-service-grid>a{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:13px;min-height:92px;padding:17px;border:1px solid #cedced;border-radius:14px;background:#fff;color:#10294d;text-decoration:none;box-shadow:0 5px 14px rgba(16,47,91,.06)}.transport-service-grid>a:hover{border-color:#5f97d8;background:#f7fbff;transform:translateY(-1px);box-shadow:0 9px 22px rgba(16,47,91,.12)}.transport-service-grid>a>span{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#16477f;color:#fff;font-size:20px;font-weight:900}.transport-service-grid>a>div{display:grid;gap:4px}.transport-service-grid b{font-size:14px}.transport-service-grid small{color:#68778a;line-height:1.35}.transport-service-grid em{font-size:9px;font-style:normal;font-weight:900;color:#2966a8;text-transform:uppercase;letter-spacing:.04em}.transport-service-grid i{font-style:normal;font-weight:850;color:#19548f;white-space:nowrap}@media(max-width:800px){.transport-service-grid{grid-template-columns:1fr}}@media(max-width:520px){.transport-services{padding:15px}.transport-service-grid>a{grid-template-columns:42px 1fr;padding:14px}.transport-service-grid>a>span{width:42px;height:42px}.transport-service-grid i{grid-column:2}}
.transport-valuation{padding:16px;border:1px solid #bfd2e9;border-radius:14px;background:#f1f6fc;color:#10294d}.transport-valuation>small{display:block;margin:5px 0 13px;color:#607087;line-height:1.45}.transport-valuation>div{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.transport-valuation label{display:grid;gap:5px;font-size:9px;font-weight:800;color:#52647b}.transport-calculation{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:10px;border-radius:14px;background:#eaf1fa}.transport-calculation>span{display:grid;gap:4px;padding:11px;border-radius:10px;background:white}.transport-calculation small{color:#6c7888}.transport-calculation b{font-size:15px}.transport-calculation .ready{background:#e4f1eb;color:#21634d}.transport-calculation .blocked{background:#fff0d7;color:#8c5d22}@media(max-width:800px){.transport-valuation>div,.transport-calculation{grid-template-columns:1fr 1fr}}@media(max-width:620px){.transport-valuation>div,.transport-calculation{grid-template-columns:1fr}}
.modal:has(.transport-form){width:min(1040px,calc(100vw - 48px))}.transport-form{gap:20px 24px}.transport-form>.wide{grid-column:1/-1}.transport-form>label{gap:8px}.transport-form input,.transport-form select,.transport-form textarea{min-height:50px;padding:14px 16px;font-size:14px}.transport-prefill{padding:20px;gap:16px}.transport-prefill>span{width:44px;height:44px}.transport-prefill b{font-size:18px}.transport-financial,.transport-valuation{padding:24px;border-radius:17px}.transport-financial>small,.transport-valuation>small{margin:8px 0 20px;font-size:12px}.transport-financial>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.transport-financial label,.transport-valuation label{gap:8px;font-size:11px;line-height:1.35}.transport-financial input,.transport-valuation input{min-width:0}.transport-valuation>div{gap:16px}.transport-calculation{gap:12px;padding:14px}.transport-calculation>span{padding:16px}.modal:has(.transport-form) .modal-actions{margin-top:28px;padding-top:18px}@media(max-width:800px){.modal:has(.transport-form){width:calc(100vw - 24px)}.transport-form{gap:15px}.transport-financial,.transport-valuation{padding:18px}.transport-financial>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.modal:has(.transport-form){width:100%}.transport-form>.wide{grid-column:1}.transport-financial>div{grid-template-columns:1fr}.transport-form input,.transport-form select,.transport-form textarea{font-size:16px}}
.modal:has(.employment-agreement-form){width:min(1180px,calc(100vw - 36px));max-height:calc(100dvh - 24px)}.modal:has(.employment-agreement-form) .modal-head{padding:24px 30px}.modal:has(.employment-agreement-form) .modal-head h2{font-size:34px}.modal:has(.employment-agreement-form) .modal-body{padding:26px 30px}.employment-agreement-form{grid-template-columns:1fr;gap:22px}.employment-agreement-form>.wide{grid-column:1}.employment-agreement-form .agreement-company{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:22px 24px}.employment-agreement-form .agreement-company span,.employment-agreement-form .agreement-company b,.employment-agreement-form .agreement-company small{grid-column:1}.employment-agreement-form .agreement-company b{font-size:20px}.employment-agreement-form .agreement-company em{grid-column:2;grid-row:1/4;max-width:330px;padding:12px 15px;border-radius:12px;background:#dcecff;color:#174f8f;font-size:12px;font-style:normal;font-weight:700;line-height:1.45}.employment-section{min-width:0;margin:0;padding:0 22px 24px;border:1px solid #d9e4f2;border-radius:18px;background:#fbfdff}.employment-section legend{display:flex;align-items:center;gap:12px;max-width:calc(100% - 20px);padding:0 12px 0 0;background:#fbfdff}.employment-section legend>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#173f76;color:#fff;font-size:12px;font-weight:900;letter-spacing:.08em}.employment-section legend>div{display:grid;gap:3px}.employment-section legend b{font-size:16px}.employment-section legend small{color:var(--muted);font-size:11px}.employment-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;margin-top:20px}.employment-section-grid>.wide{grid-column:1/-1}.agreement-field{display:grid;align-content:start;gap:8px;min-width:0;color:var(--ink);font-size:13px;font-weight:750}.agreement-field>span{min-height:18px;line-height:1.35}.agreement-field input,.agreement-field select,.agreement-field textarea{width:100%;min-width:0;max-width:100%;min-height:52px;padding:13px 15px;border:1px solid #cfdbea;border-radius:11px;background:#fff;color:var(--ink);font-size:15px;line-height:1.4}.agreement-field textarea{min-height:112px;resize:vertical}.agreement-field input:focus,.agreement-field select:focus,.agreement-field textarea:focus{outline:3px solid #d9eaff;border-color:#4d88ce}.employment-agreement-form .agreement-guidance{padding:20px 22px}.modal:has(.employment-agreement-form) .modal-actions{bottom:-26px;margin:4px -30px -26px;padding:18px 30px max(22px,env(safe-area-inset-bottom));background:rgba(255,255,255,.97)}.modal:has(.employment-agreement-form) .modal-actions button{min-height:48px;padding:12px 22px;font-size:14px}.modal:has(.employment-agreement-form) .modal-actions .primary{min-width:240px}@media(max-width:760px){.modal:has(.employment-agreement-form){width:calc(100vw - 20px);max-height:calc(100dvh - 12px)}.modal:has(.employment-agreement-form) .modal-head{padding:20px}.modal:has(.employment-agreement-form) .modal-head h2{font-size:28px}.modal:has(.employment-agreement-form) .modal-body{padding:20px}.employment-agreement-form .agreement-company{grid-template-columns:1fr}.employment-agreement-form .agreement-company em{grid-column:1;grid-row:auto;max-width:none;margin-top:8px}.employment-section{padding:0 16px 18px}.employment-section-grid{grid-template-columns:1fr;gap:15px}.employment-section-grid>.wide{grid-column:1}.modal:has(.employment-agreement-form) .modal-actions{margin:4px -20px -20px;padding:15px 20px max(18px,env(safe-area-inset-bottom))}.modal:has(.employment-agreement-form) .modal-actions .primary{min-width:0;flex:1}.agreement-field input,.agreement-field select,.agreement-field textarea{font-size:16px}}
.modal:has(.agreement-form-wide){width:min(1180px,calc(100vw - 36px));max-height:calc(100dvh - 24px)}.modal:has(.agreement-form-wide) .modal-head{padding:24px 30px}.modal:has(.agreement-form-wide) .modal-head h2{font-size:34px}.modal:has(.agreement-form-wide) .modal-body{padding:26px 30px}.agreement-form-wide{grid-template-columns:1fr;gap:22px}.agreement-form-wide>.wide{grid-column:1}.agreement-form-wide .agreement-company{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:22px 24px}.agreement-form-wide .agreement-company span,.agreement-form-wide .agreement-company b,.agreement-form-wide .agreement-company small{grid-column:1}.agreement-form-wide .agreement-company b{font-size:20px}.agreement-form-wide .agreement-company em{grid-column:2;grid-row:1/4;max-width:350px;padding:12px 15px;border-radius:12px;background:#dcecff;color:#174f8f;font-size:12px;font-style:normal;font-weight:700;line-height:1.45}.agreement-form-wide .agreement-guidance{padding:20px 22px}.agreement-standard-section .employment-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal:has(.agreement-form-wide) .modal-actions{bottom:-26px;margin:4px -30px -26px;padding:18px 30px max(22px,env(safe-area-inset-bottom));background:rgba(255,255,255,.97)}.modal:has(.agreement-form-wide) .modal-actions button{min-height:48px;padding:12px 22px;font-size:14px}.modal:has(.agreement-form-wide) .modal-actions .primary{min-width:240px}@media(max-width:760px){.modal:has(.agreement-form-wide){width:calc(100vw - 20px);max-height:calc(100dvh - 12px)}.modal:has(.agreement-form-wide) .modal-head{padding:20px}.modal:has(.agreement-form-wide) .modal-head h2{font-size:28px}.modal:has(.agreement-form-wide) .modal-body{padding:20px}.agreement-form-wide .agreement-company{grid-template-columns:1fr}.agreement-form-wide .agreement-company em{grid-column:1;grid-row:auto;max-width:none;margin-top:8px}.agreement-standard-section .employment-section-grid{grid-template-columns:1fr}.modal:has(.agreement-form-wide) .modal-actions{margin:4px -20px -20px;padding:15px 20px max(18px,env(safe-area-inset-bottom))}.modal:has(.agreement-form-wide) .modal-actions .primary{min-width:0;flex:1}}
.transport-applications{margin-bottom:22px;padding:21px;border:1px solid #d7e1ef;border-radius:17px;background:#fff}.transport-applications .panel-head{margin-bottom:16px}.transport-applications .transport-template-grid{margin-bottom:22px}.transport-applications .panel-head>small{color:#66768a}.transport-link-heading{display:grid;grid-template-columns:1fr auto;gap:3px 18px;padding:18px 2px 13px;border-top:1px solid #dce5f0}.transport-link-heading .eyebrow,.transport-link-heading h3{grid-column:1}.transport-link-heading h3{margin:0;color:#10294d;font-size:18px}.transport-link-heading small{grid-column:2;grid-row:1/3;align-self:center;color:#66768a}@media(max-width:520px){.transport-applications{padding:15px}.transport-link-heading{grid-template-columns:1fr}.transport-link-heading small{grid-column:1;grid-row:auto}}
.payslip-screen{padding:34px 38px;border:1px solid #d8dee7;background:#fff;color:#111;font-family:Arial,sans-serif;box-shadow:0 12px 35px rgba(16,41,77,.09)}.payslip-screen header{display:grid;grid-template-columns:1.25fr 1fr;min-height:120px}.payslip-screen header>div{display:grid;align-content:start;gap:3px}.payslip-screen header small,.payslip-parties small{font-size:10px;letter-spacing:.08em;color:#6c7784}.payslip-screen header>div:first-child b{font-size:22px}.payslip-screen h2{margin:0;font:700 30px Arial,sans-serif}.payslip-parties{display:grid;grid-template-columns:1.25fr 1fr;gap:30px;margin-bottom:30px}.payslip-parties>div{display:grid;gap:5px}.payslip-parties>div:last-child span{display:grid;grid-template-columns:145px 1fr}.payslip-salary-row{display:grid;grid-template-columns:1fr 90px 130px;border-top:2px solid #111;border-bottom:1px solid #111}.payslip-salary-row>*{padding:11px 6px}.payslip-salary-row strong,.payslip-salary-row>*:nth-child(3n){text-align:right}.payslip-screen footer{display:grid;grid-template-columns:1.25fr 1fr;gap:42px;margin-top:150px;padding-top:14px;border-top:2px solid #111}.payslip-screen footer>div{display:grid;gap:9px}.payslip-screen footer span{display:flex;justify-content:space-between;gap:20px}.payslip-net strong{display:flex;justify-content:space-between;margin-top:14px;padding-top:12px;border-top:1px solid #111;font-size:15px}@media(max-width:700px){.payslip-screen{padding:24px 20px;overflow-x:auto}.payslip-screen header,.payslip-parties,.payslip-screen footer{min-width:620px}.payslip-salary-row{min-width:620px}.payslip-screen footer{margin-top:90px}}
.agreement-row{grid-template-columns:1.7fr 1.2fr .7fr .55fr 1.35fr;min-width:900px}.agreement-row>span:last-child{flex-wrap:wrap}
.agreement-row em.agreement-status.ready{color:#174f8f;background:#e6f1ff}.agreement-row em.agreement-status.signed{color:#17633b;background:#e5f7ed}.agreement-lifecycle-banner{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:13px;margin-bottom:18px;padding:15px 17px;border:1px solid #d6e1ee;border-radius:14px;background:#f7f9fc}.agreement-lifecycle-banner>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e7eef7;color:#214f84;font-weight:900}.agreement-lifecycle-banner>div{display:grid;gap:4px}.agreement-lifecycle-banner small{color:#627189;line-height:1.45}.agreement-lifecycle-banner.ready{border-color:#b8d4f5;background:#edf5ff}.agreement-lifecycle-banner.ready>span{background:#cfe4ff}.agreement-lifecycle-banner.signed{border-color:#bfe2ce;background:#eefaf3}.agreement-lifecycle-banner.signed>span{background:#caefd9;color:#17633b}.agreement-review-summary{display:grid;gap:6px;padding:18px;margin-bottom:16px;border:1px solid #c7daf5;border-radius:14px;background:#eef5ff}.agreement-review-summary small{font-weight:900;letter-spacing:.08em;color:#587091}.agreement-review-summary b{font-size:16px;color:#10294d}.agreement-review-summary span,.agreement-review-summary em{color:#607087;font-style:normal}.review-confirmation{display:flex;align-items:flex-start;gap:10px;padding:14px;margin:10px 0;border:1px solid #dbe4ef;border-radius:12px;background:#fbfdff;line-height:1.45}.review-confirmation input{flex:0 0 auto;margin-top:3px}
.agreement-signatures{gap:36px!important;margin-top:54px!important;padding:24px;border:1px solid #d7e1ef;border-radius:16px;background:#fafcff}.agreement-signatures div{gap:8px!important;align-content:start}.agreement-signatures i{display:block;height:74px!important;border-bottom:1.5px solid #243957!important}.agreement-signatures .signature-date+i{height:32px!important}.agreement-signatures small{color:#66758b}.agreement-signatures .signature-date,.agreement-signatures .signature-label{margin-top:8px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}@media(max-width:620px){.agreement-signatures{padding:18px}}
.modal:has(.financing-form-wide){width:min(1120px,calc(100vw - 36px));max-height:calc(100dvh - 24px)}.modal:has(.financing-form-wide) .modal-head{padding:24px 30px}.modal:has(.financing-form-wide) .modal-head h2{font-size:34px}.modal:has(.financing-form-wide) .modal-body{padding:26px 30px}.financing-form-wide{display:grid;grid-template-columns:1fr;gap:22px}.financing-intro{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:16px;padding:20px 22px;border:1px solid #b8d3f5;border-radius:17px;background:linear-gradient(135deg,#edf5ff,#f8fbff)}.financing-intro>span,.financing-step{display:grid;place-items:center;width:58px;height:58px;border-radius:15px;background:#173f76;color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em}.financing-intro>div{display:grid;gap:5px}.financing-intro b{font-size:20px;color:#10294d}.financing-intro small{color:#607087;font-size:12px;line-height:1.5}.financing-section{background:#fbfdff}.financing-form-wide .employment-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.financing-form-wide .agreement-field.wide{grid-column:1/-1}.financing-bookkeeping{display:grid;gap:18px;padding:22px;border:1px solid #d9e4f2;border-radius:18px;background:#f8fbff}.financing-bookkeeping>div:first-child{display:flex;align-items:center;gap:14px}.financing-bookkeeping>div:first-child>div{display:grid;gap:4px}.financing-bookkeeping>div:first-child b{font-size:16px}.financing-bookkeeping>div:first-child small{color:var(--muted);font-size:11px}.financing-step{width:42px;height:42px;border-radius:12px;font-size:12px}.financing-bookkeeping-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:18px;align-items:stretch}.financing-form-wide .financing-preview{min-height:116px;padding:20px;border-radius:15px}.financing-form-wide .financing-preview small{font-size:10px}.financing-form-wide .financing-preview b{font-size:14px;line-height:1.35}.financing-form-wide .financing-preview em{font-size:11px}.financing-form-wide .warning{min-height:116px;box-sizing:border-box;padding:19px;border-radius:15px}.financing-form-wide .warning small{line-height:1.5}.modal:has(.financing-form-wide) .modal-actions{bottom:-26px;margin:4px -30px -26px;padding:18px 30px max(22px,env(safe-area-inset-bottom));background:rgba(255,255,255,.97)}.modal:has(.financing-form-wide) .modal-actions button{min-height:48px;padding:12px 22px;font-size:14px}.modal:has(.financing-form-wide) .modal-actions .primary{min-width:240px}@media(max-width:760px){.modal:has(.financing-form-wide){width:calc(100vw - 20px);max-height:calc(100dvh - 12px)}.modal:has(.financing-form-wide) .modal-head{padding:20px}.modal:has(.financing-form-wide) .modal-head h2{font-size:28px}.modal:has(.financing-form-wide) .modal-body{padding:20px}.financing-intro{grid-template-columns:46px 1fr;padding:17px}.financing-intro>span{width:46px;height:46px;border-radius:12px;font-size:8px}.financing-form-wide .employment-section-grid,.financing-bookkeeping-grid{grid-template-columns:1fr}.financing-form-wide .agreement-field.wide{grid-column:1}.financing-bookkeeping{padding:17px}.modal:has(.financing-form-wide) .modal-actions{margin:4px -20px -20px;padding:15px 20px max(18px,env(safe-area-inset-bottom))}.modal:has(.financing-form-wide) .modal-actions .primary{min-width:0;flex:1}}
/* Responsive agreement cards: keep every title, description and action readable. */
.agreement-template-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr))}
.agreement-template-grid button{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto;gap:8px 14px;min-width:0;min-height:154px}
.agreement-template-grid button>span{grid-row:1/3}
.agreement-template-grid button div{grid-column:2;min-width:0;overflow-wrap:anywhere}
.agreement-template-grid button i{grid-column:2;grid-row:2;justify-self:start;align-self:end;white-space:nowrap}
@media(max-width:900px){.agreement-template-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr))}}
@media(max-width:620px){.agreement-intro{align-items:flex-start;padding:17px}.agreement-intro>span{flex:0 0 44px;width:44px;height:44px}.agreement-template-grid button{min-height:0;padding:17px}}

/* Shared responsive card collections: reflow everywhere without clipped text or actions. */
.quick-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))}
.report-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.report-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}
.declaration-pdf-shell{height:min(72vh,760px);min-height:520px;margin:0 0 22px;border:1px solid #9cadba;border-radius:12px;overflow:auto;background:#d9dee3;box-shadow:0 10px 28px rgba(17,43,72,.14);-webkit-overflow-scrolling:touch}.declaration-pdf-loading{height:100%;display:grid;place-content:center;text-align:center;gap:7px;color:#173b5b}.declaration-pdf-loading small{color:var(--muted)}.declaration-pdf-pages{display:grid;justify-items:center;gap:18px;padding:14px}.declaration-pdf-page{display:block;max-width:100%;height:auto!important;background:#fff;box-shadow:0 3px 12px rgba(13,31,51,.22)}
.declaration-confirm{margin:16px 0;padding:14px 16px;border:1px solid #bdcad4;border-radius:12px;background:#f7fafc;display:grid;gap:6px}.declaration-confirm label{display:flex;align-items:flex-start;gap:10px;font-weight:700}.declaration-confirm input{margin-top:3px}.declaration-confirm small{padding-left:26px;color:var(--muted)}
.report-card{min-width:0;grid-template-columns:36px minmax(0,1fr) auto}
.report-card div{min-width:0;overflow-wrap:anywhere}
.integration-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}
.integration-card,.integration-head>div{min-width:0}
.integration-card{overflow-wrap:anywhere}
.batch-files{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.payslip-head{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
.transport-template-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr))}
.transport-template-grid>button{grid-template-columns:50px minmax(0,1fr);grid-template-rows:auto auto;min-width:0;align-items:start}
.transport-template-grid>button>span{grid-row:1/3}
.transport-template-grid>button>div{grid-column:2;min-width:0;overflow-wrap:anywhere}
.transport-template-grid>button i{grid-column:2;grid-row:2;justify-self:start;align-self:end;white-space:nowrap}
.transport-service-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr))}
.transport-service-grid>a{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto;min-width:0;align-items:start}
.transport-service-grid>a>span{grid-row:1/3}
.transport-service-grid>a>div{grid-column:2;min-width:0;overflow-wrap:anywhere}
.transport-service-grid i{grid-column:2;grid-row:2;justify-self:start;align-self:end}
.transport-all-forms>div:last-child{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr))}
.transport-all-forms>div>a{grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto auto;min-width:0;align-items:start}
.transport-all-forms>div>a em{grid-row:1/3;overflow-wrap:anywhere}
.transport-all-forms>div>a span{min-width:0;overflow-wrap:anywhere}
.transport-all-forms>div>a i{grid-column:2;justify-self:start}
@media(max-width:620px){
  .report-card{grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto}
  .report-card>span{grid-row:1/3}
  .report-card i{grid-column:2;justify-self:start}
  .transport-template-grid>button,.transport-service-grid>a{padding:16px}
  .transport-all-forms{padding:16px}
  .transport-all-forms>div>a{grid-template-columns:1fr}
  .transport-all-forms>div>a em,.transport-all-forms>div>a i{grid-column:1;grid-row:auto}
}
@media(max-width:620px){
  .modal-backdrop:has([data-email-login-form]),
  .modal-backdrop:has([data-email-code-form]){align-items:center;padding:16px}
  .modal:has([data-email-login-form]),
  .modal:has([data-email-code-form]){width:min(100%,520px);max-height:calc(100dvh - 32px);border-radius:22px}
  .modal:has([data-email-login-form]) .modal-head,
  .modal:has([data-email-code-form]) .modal-head{padding:16px 18px}
  .modal:has([data-email-login-form]) .modal-body,
  .modal:has([data-email-code-form]) .modal-body{padding:18px}
  .modal:has([data-email-login-form]) .registration-intro,
  .modal:has([data-email-code-form]) .registration-intro{margin-bottom:18px}
  .modal:has([data-email-login-form]) .registration-intro h2,
  .modal:has([data-email-code-form]) .registration-intro h2{font-size:clamp(27px,8vw,36px)}
}

/* Report export actions remain readable on every screen size. */
.report-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:620px){.report-actions{display:grid;width:100%;grid-template-columns:1fr}.report-actions button{width:100%;font-size:14px}}

/* Account-by-account general ledger with running balances. */
.general-ledger{display:grid;gap:22px}.ledger-account{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.ledger-account>header{display:flex;gap:12px;align-items:center;padding:13px 15px;background:#edf4fc;border-bottom:2px solid #183b67}.ledger-account>header b{font-size:15px;color:#174f8f}.ledger-account>header span{font-weight:800}.ledger-scroll{overflow-x:auto}.ledger-table{width:100%;min-width:760px;border-collapse:collapse;font-variant-numeric:tabular-nums}.ledger-table th{padding:10px 12px;text-align:left;color:#68778d;font-size:10px;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--line)}.ledger-table th:nth-last-child(-n+3),.ledger-table td:nth-last-child(-n+3){text-align:right}.ledger-table td{padding:9px 12px;border-bottom:1px solid #e9eef5;font-size:11px}.ledger-entry td:nth-child(3){max-width:360px}.ledger-summary td{background:#fafbfd;color:#627188}.ledger-turnover td{font-weight:800;border-top:2px solid #183b67}.ledger-closing td{font-weight:900;background:#f3f7fc;border-bottom:0}.ledger-summary td:first-child,.ledger-turnover td:first-child,.ledger-closing td:first-child{text-align:left}
@media(max-width:700px){.ledger-account{overflow:visible}.ledger-scroll{overflow:visible}.ledger-table{display:block;min-width:0}.ledger-table thead{display:none}.ledger-table tbody{display:grid}.ledger-table tr{display:grid}.ledger-entry{grid-template-columns:1fr 1fr;padding:10px 12px;border-bottom:1px solid var(--line);gap:7px 12px}.ledger-entry td{display:grid;grid-template-columns:auto 1fr;gap:8px;padding:0;border:0;text-align:right!important}.ledger-entry td::before{content:attr(data-label);color:#718096;font-size:9px;font-weight:800;text-transform:uppercase;text-align:left}.ledger-entry td:nth-child(3){grid-column:1/-1;max-width:none;text-align:left!important}.ledger-summary,.ledger-turnover,.ledger-closing{grid-template-columns:1fr auto;padding:9px 12px}.ledger-summary td,.ledger-turnover td,.ledger-closing td{display:none;padding:0;border:0;background:transparent}.ledger-summary td:first-child,.ledger-turnover td:first-child,.ledger-closing td:first-child,.ledger-summary td:last-child,.ledger-closing td:last-child{display:block}.ledger-turnover td:nth-child(4),.ledger-turnover td:nth-child(5){display:block}.ledger-turnover td:nth-child(4)::before{content:'Debet: ';color:#718096}.ledger-turnover td:nth-child(5)::before{content:'Kredit: ';color:#718096}.ledger-turnover{grid-template-columns:1fr auto auto;gap:10px}.ledger-closing{background:#f3f7fc}}
.payroll-onboarding .onboarding-progress{display:inline-flex;padding:.45rem .8rem;border-radius:999px;background:#e8f2ff;color:#17477f;font-weight:800;margin-bottom:1rem}.payroll-onboarding [data-payroll-step]>h3{font-family:var(--font-display,Georgia,serif);font-size:1.45rem;margin:.25rem 0 1rem}.payroll-onboarding .policy-review{display:grid;gap:.7rem;background:#f6f8fb;border:1px solid #dbe4ef;border-radius:16px;padding:1rem}.payroll-onboarding .policy-review p{margin:0}.payroll-onboarding [data-collective-details].full{grid-column:1/-1}.payroll-onboarding [hidden]{display:none!important}.payroll-onboarding .simple-policy-card{display:grid;gap:.35rem;padding:1rem;border:1px solid #b9d5f5;border-radius:14px;background:#edf6ff;color:#123b69}.payroll-onboarding .simple-policy-card small{line-height:1.45;color:#536c89}.payroll-onboarding .advanced-settings{border:1px solid var(--line);border-radius:14px;background:#fafbfd}.payroll-onboarding .advanced-settings summary{padding:.85rem 1rem;cursor:pointer;font-weight:800;color:#27598f}.payroll-onboarding .advanced-settings[open] summary{border-bottom:1px solid var(--line)}.payroll-onboarding .advanced-settings>.form-grid{padding:1rem}.payroll-onboarding .provision-simple{align-items:start}
.payroll-approval-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin-bottom:1rem}.payroll-approval-preview>div{display:grid;gap:.3rem;align-content:start;min-width:0;padding:.8rem;border:1px solid #dbe4ef;border-radius:12px;background:#f6f8fb}.payroll-approval-preview small{font-size:.68rem;font-weight:800;letter-spacing:.08em;color:#65758a}.payroll-approval-preview b{font-size:.95rem;color:#10294c;overflow-wrap:anywhere}.payroll-approval-preview span{font-size:.72rem;color:#65758a;overflow-wrap:anywhere}@media(max-width:620px){.payroll-approval-preview{grid-template-columns:1fr 1fr}.payroll-approval-preview>div:nth-child(3){grid-column:1/-1}}

/* Driver revenue history: booked evidence grouped by month and assigned vehicle. */
.driver-revenue-history{margin-top:18px;padding:18px}.driver-revenue-history .panel-head{margin-bottom:14px}.driver-revenue-list{display:grid;gap:12px}.driver-revenue-card,.driver-revenue-empty{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.driver-revenue-card summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;cursor:pointer;list-style:none}.driver-revenue-card summary::-webkit-details-marker{display:none}.driver-revenue-card summary span{display:grid;gap:4px}.driver-revenue-card summary small,.driver-revenue-empty span{color:var(--muted)}.driver-revenue-card summary strong{color:#174f8f;font-size:16px}.driver-revenue-table{overflow-x:auto;border-top:1px solid var(--line)}.driver-revenue-empty{display:grid;gap:5px;padding:16px 18px}.driver-revenue-history .evidence-note{margin-top:14px}
@media(max-width:700px){.driver-revenue-history{padding:14px}.driver-revenue-history .panel-head{align-items:flex-start}.driver-revenue-card summary{align-items:flex-start;padding:14px}.driver-revenue-card summary strong{white-space:nowrap}.driver-revenue-table{overflow:visible}.driver-revenue-table .data-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}.driver-revenue-table .data-table td:first-child,.driver-revenue-table .data-table td:nth-child(5),.driver-revenue-table .data-table td:nth-child(6){grid-column:1/-1}}
@media(max-width:420px){.driver-revenue-card summary{display:grid}.driver-revenue-table .data-table tr{grid-template-columns:1fr}.driver-revenue-table .data-table td{grid-column:1}}
.closing-checklist{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:18px 0}.closing-checklist .integrity-card{min-height:150px}.closing-checklist em{display:block;margin-top:10px;color:var(--navy);font-style:normal;font-weight:700}.control-groups{display:grid;gap:12px}.control-group{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.control-group h3,.control-group p{margin:4px 0}.control-group em{color:var(--muted);font-style:normal}@media(max-width:700px){.control-group{grid-template-columns:1fr}.control-group .pill{justify-self:start}.control-group button{width:100%}}
.registration-commercial-terms{display:grid;gap:14px;margin-top:20px;padding:18px;border:1px solid #c8d7ea;border-radius:16px;background:#fbfdff;color:#173b68}.registration-commercial-terms h3,.registration-commercial-terms p{margin:0}.storage-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.storage-choices>label{display:grid;grid-template-columns:20px 1fr;gap:10px;padding:15px;border:1px solid #cad9eb;border-radius:13px;background:#fff}.storage-choices input,.registration-acceptances input{width:18px;height:18px;margin:1px 0 0}.storage-choices span{display:grid;gap:5px}.storage-choices small,.registration-policy-summary small{color:#5b6f89;line-height:1.45}.registration-policy-summary{display:grid;gap:7px;padding:15px;border-radius:13px;background:#eef5ff}.registration-acceptances{display:grid;gap:9px}.registration-acceptances label{display:grid;grid-template-columns:20px 1fr;gap:9px;align-items:start;font-size:12px;line-height:1.45}.device-storage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:15px 18px;border:1px solid #efd296;border-radius:14px;background:#fff8e9}.device-storage-toolbar span{display:grid;gap:4px}.device-storage-toolbar small{color:#765214}@media(max-width:760px){.storage-choices{grid-template-columns:1fr}.device-storage-toolbar{align-items:stretch;flex-direction:column}.device-storage-toolbar button{width:100%}}

/* Signed-in workspace: carry the sapphire, glass and burgundy welcome identity throughout FINXO. */
:root{--burgundy:#7b1f43;--burgundy-deep:#4d102b;--sapphire:#082449;--workspace-glass:rgba(255,255,255,.82);--workspace-glass-strong:rgba(255,255,255,.93);--workspace-edge:rgba(137,171,211,.3)}
body:not(.auth-locked){background:#eaf0f8}
body:not(.auth-locked) .app-shell{position:relative;isolation:isolate;background:radial-gradient(circle at 91% 7%,rgba(123,31,67,.15),transparent 31%),radial-gradient(circle at 18% 92%,rgba(24,102,176,.14),transparent 34%),linear-gradient(145deg,#edf3fb 0%,#f7f9fc 48%,#eef2f8 100%)}
body:not(.auth-locked) .app-shell:before{content:"";position:fixed;z-index:-1;inset:76px 0 0 230px;pointer-events:none;background:linear-gradient(115deg,transparent 18%,rgba(255,255,255,.38) 45%,transparent 72%);opacity:.7}
body:not(.auth-locked) .sidebar{background:radial-gradient(circle at 14% 8%,rgba(54,117,184,.34),transparent 28%),radial-gradient(circle at 112% 77%,rgba(142,32,73,.5),transparent 38%),linear-gradient(165deg,#0a2b56 0%,#071d3d 50%,#160d25 100%);border-right:1px solid rgba(178,211,243,.16);box-shadow:18px 0 55px rgba(5,22,49,.18)}
body:not(.auth-locked) .brand-mark{border:1px solid rgba(205,229,255,.32);box-shadow:0 12px 30px rgba(0,5,24,.44),0 1px 0 rgba(255,255,255,.22) inset}
body:not(.auth-locked) nav a,body:not(.auth-locked) nav>button{color:#bfd0e4}
body:not(.auth-locked) nav a.active,body:not(.auth-locked) nav a:hover,body:not(.auth-locked) nav>button:hover{background:linear-gradient(105deg,rgba(53,122,190,.25),rgba(124,29,67,.24));border-color:rgba(175,211,245,.2);box-shadow:0 10px 26px rgba(0,8,31,.16),inset 0 1px 0 rgba(255,255,255,.08)}
body:not(.auth-locked) nav a.active{box-shadow:inset 3px 0 0 #c05278,0 10px 26px rgba(0,8,31,.16)}
body:not(.auth-locked) nav a.active .nav-icon{color:#ffd3e1}
body:not(.auth-locked) .sync{border-color:rgba(177,211,244,.16)}
body:not(.auth-locked) .sync i{background:#d2648b;box-shadow:0 0 0 4px rgba(160,50,91,.25),0 0 18px rgba(217,92,137,.4)}
body:not(.auth-locked) .profile{border:1px solid rgba(180,213,244,.12);border-radius:14px;background:rgba(255,255,255,.045)}
body:not(.auth-locked) .profile>span:first-child{background:linear-gradient(145deg,#315f94,#7b2448);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
body:not(.auth-locked) .topbar{background:rgba(249,252,255,.76);-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%);border-color:rgba(137,171,211,.25);box-shadow:0 10px 32px rgba(14,39,76,.07)}
body:not(.auth-locked) .topbar.is-scrolled{background:rgba(249,252,255,.9);-webkit-backdrop-filter:blur(28px) saturate(155%);backdrop-filter:blur(28px) saturate(155%);box-shadow:0 12px 34px rgba(11,35,68,.11)}
body:not(.auth-locked) .company-logo{background:linear-gradient(145deg,#dcecff,#f4dce5);color:#153f72;border:1px solid rgba(94,140,191,.16);box-shadow:inset 0 1px 0 #fff}
body:not(.auth-locked) #content{position:relative}
body:not(.auth-locked) .page-head h1{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:800;letter-spacing:-.045em;color:#0b2a53}
body:not(.auth-locked) .eyebrow{color:#7b1f43}
body:not(.auth-locked) .date-chip,body:not(.auth-locked) .stat,body:not(.auth-locked) .panel,body:not(.auth-locked) .page-panel,body:not(.auth-locked) .integration-card,body:not(.auth-locked) .vehicle-summary>div,body:not(.auth-locked) .driver-revenue-card,body:not(.auth-locked) .driver-revenue-empty,body:not(.auth-locked) .control-group{background:var(--workspace-glass);border-color:var(--workspace-edge);-webkit-backdrop-filter:blur(18px) saturate(135%);backdrop-filter:blur(18px) saturate(135%);box-shadow:0 16px 44px rgba(13,39,76,.075),inset 0 1px 0 rgba(255,255,255,.92)}
body:not(.auth-locked) .stat{position:relative;overflow:hidden}
body:not(.auth-locked) .stat:after{content:"";position:absolute;inset:auto -22px -28px auto;width:82px;height:82px;border-radius:50%;background:radial-gradient(circle,rgba(123,31,67,.1),transparent 69%);pointer-events:none}
body:not(.auth-locked) .stat-icon{background:linear-gradient(145deg,#e2f0ff,#f3dfe7);color:#174e87;border:1px solid rgba(107,151,199,.12)}
body:not(.auth-locked) .stat strong,body:not(.auth-locked) .vehicle-summary b{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:780;color:#102e56}
body:not(.auth-locked) .primary{background:linear-gradient(135deg,#154b85 0%,#0c3566 58%,#681b3c 145%);box-shadow:0 9px 24px rgba(10,47,91,.18);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
body:not(.auth-locked) .primary:hover{transform:translateY(-1px);box-shadow:0 13px 30px rgba(10,47,91,.24);filter:saturate(112%)}
body:not(.auth-locked) .secondary,body:not(.auth-locked) .row-actions button{background:rgba(255,255,255,.72);border-color:rgba(121,158,199,.35);color:#173f70;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
body:not(.auth-locked) .secondary:hover,body:not(.auth-locked) .row-actions button:hover{background:#fff;border-color:#8babd0}
body:not(.auth-locked) .field input,body:not(.auth-locked) .field select,body:not(.auth-locked) .search,body:not(.auth-locked) .dashboard-period select,body:not(.auth-locked) .vat-period select{background:rgba(255,255,255,.78);border-color:rgba(123,157,198,.35);box-shadow:inset 0 1px 2px rgba(20,46,81,.035)}
body:not(.auth-locked) .field input:focus,body:not(.auth-locked) .field select:focus,body:not(.auth-locked) .search:focus{outline:3px solid rgba(52,115,181,.16);border-color:#5f91c6}
.transaction-kind-filter select{min-height:42px;padding:9px 12px;border:1px solid rgba(123,157,198,.35);border-radius:10px;background:rgba(255,255,255,.82);color:#173f70;font-weight:700}
body:not(.auth-locked) .dashboard-bars{border-color:rgba(121,157,198,.26)}
.dividend-policy{display:flex;justify-content:space-between;gap:16px;margin:0 0 18px;padding:16px 18px;border:1px solid rgba(179,132,37,.35);border-radius:14px;background:linear-gradient(135deg,#fff8dc,#f7e9f0);color:#173f70}.dividend-policy span{color:#6f5a62;font-size:12px}.dividend-declaration-summary{margin-top:24px;padding:20px;border:1px solid var(--line);border-radius:15px;background:rgba(248,251,255,.8)}
body:not(.auth-locked) .dashboard-bar-values .revenue{background:linear-gradient(#2d79bf,#123e75)}
body:not(.auth-locked) .dashboard-bar-values .expense{background:linear-gradient(#b95378,#741c41)}
body:not(.auth-locked) .fleet-table tbody tr:hover,body:not(.auth-locked) .data-table tbody tr:hover{background:rgba(237,244,252,.72)}
body:not(.auth-locked) .pill{background:#e4effc;color:#1f5a95}
body:not(.auth-locked) .modal-backdrop{background:rgba(4,14,34,.7);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body:not(.auth-locked) .modal,body:not(.auth-locked) .modal-head,body:not(.auth-locked) .modal-actions{background:var(--workspace-glass-strong)}
body:not(.auth-locked) .modal{border:1px solid rgba(190,216,241,.45);box-shadow:0 35px 90px rgba(2,17,42,.34),inset 0 1px 0 #fff}
body:not(.auth-locked) .modal-head h2{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:800;letter-spacing:-.035em;color:#102e56}
body:not(.auth-locked) .topbar-ai{background:linear-gradient(135deg,#0b315f,#641b3b)}
body:not(.auth-locked) .topbar-ai span{background:linear-gradient(145deg,#dceeff,#f0cfdb);color:#193e69}
.sidebar-support{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid rgba(128,169,211,.28);border-radius:13px;background:linear-gradient(145deg,rgba(232,243,255,.12),rgba(122,31,68,.09));color:#eaf3ff;text-align:left}.sidebar-support:hover{border-color:rgba(164,202,241,.55);background:linear-gradient(145deg,rgba(232,243,255,.18),rgba(122,31,68,.15))}.sidebar-support>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#2b6aa8,#7b2148)}.sidebar-support svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar-support>span:nth-child(2){display:grid;gap:2px;min-width:0}.sidebar-support b{font-size:12px}.sidebar-support small{color:#a9bcd4;font-size:9px;line-height:1.3}.sidebar-support i{color:#9fb3ca;font-size:20px;font-style:normal}.modal:has(.support-center){width:min(780px,calc(100vw - 36px))}.support-center{display:grid;gap:22px}.support-contact-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px 16px;padding:22px;border:1px solid rgba(103,147,194,.4);border-radius:20px;background:radial-gradient(circle at 95% 5%,rgba(123,31,67,.13),transparent 34%),linear-gradient(145deg,#f6faff,#eaf3fc)}.support-contact-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#174f8f,#681d41);color:#fff;font-size:28px;font-weight:850;box-shadow:0 12px 25px rgba(21,69,124,.2)}.support-contact-card>div:nth-child(2){display:grid;gap:4px}.support-contact-card small,.support-section-head>small{color:#792249;font-size:10px;font-weight:850;letter-spacing:.11em}.support-contact-card h3,.support-section-head h3{margin:0;color:#10294d;font-size:24px}.support-contact-card p,.support-section-head p{margin:0;color:#60748d;line-height:1.5}.support-contact-actions{grid-column:1/-1;display:flex;gap:10px;margin-top:4px}.support-contact-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:750}.support-faq{display:grid;gap:9px}.support-section-head{display:grid;gap:5px;margin-bottom:6px}.support-faq-item{border:1px solid #d8e3ef;border-radius:14px;background:rgba(255,255,255,.75);overflow:hidden}.support-faq-item summary{position:relative;padding:16px 46px 16px 17px;color:#153a68;font-weight:800;line-height:1.4;cursor:pointer;list-style:none}.support-faq-item summary::-webkit-details-marker{display:none}.support-faq-item summary:after{content:"+";position:absolute;right:17px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#e4effb;color:#174f8f;font-size:19px}.support-faq-item[open] summary:after{content:"−"}.support-faq-item p{margin:0;padding:0 17px 17px;color:#536b86;line-height:1.62}.support-issue-intro{display:flex;align-items:center;gap:13px;margin-bottom:18px;padding:15px;border:1px solid #cfdeed;border-radius:14px;background:#f1f7fd}.support-issue-intro>span{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#174f8f;color:#fff;font-size:21px;font-weight:800}.support-issue-intro>div{display:grid;gap:3px}.support-issue-intro small{color:#60748d;line-height:1.4}.field textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;padding:11px;background:white;resize:vertical;font:inherit}.field-help{color:#68778e;line-height:1.4}@media(max-width:620px){.support-contact-card{grid-template-columns:48px 1fr;padding:17px}.support-contact-icon{width:48px;height:48px;border-radius:15px}.support-contact-card h3,.support-section-head h3{font-size:21px}.support-contact-actions{display:grid}.support-contact-actions>*{width:100%;min-height:48px;box-sizing:border-box}.support-faq-item summary{padding:15px 43px 15px 15px}.support-faq-item p{padding:0 15px 15px}}
@media(max-width:1000px){body:not(.auth-locked) .app-shell:before{inset:66px 0 0 0}body:not(.auth-locked) .sidebar{box-shadow:22px 0 60px rgba(2,16,39,.32)}}
.support-contact-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.privacy-center{display:grid;gap:18px;padding:22px}.privacy-center>section{padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.privacy-center h3{margin:4px 0 10px;color:var(--ink)}.privacy-center p,.privacy-center li{color:var(--muted);line-height:1.6}.privacy-controller{background:linear-gradient(145deg,#edf5ff,#fff)!important}.privacy-controller small{color:#8d234f;font-weight:900;letter-spacing:.12em}.privacy-controller span{display:inline-block;padding:6px 10px;border-radius:999px;background:#e8f1fc;color:#285b98;font-size:11px}.privacy-processing{display:grid;gap:8px}.privacy-processing details{padding:12px 14px;border:1px solid var(--line);border-radius:12px}.privacy-processing summary{cursor:pointer;font-weight:850}.privacy-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.privacy-actions a{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:11px;text-decoration:none;font-weight:850}.privacy-actions .primary{background:linear-gradient(135deg,#175b9c,#2b285f);color:#fff}.privacy-actions .secondary{border:1px solid var(--line);color:#174f8f}@media(max-width:620px){.privacy-center{padding:14px}.privacy-center>section{padding:16px}.privacy-actions{display:grid}.privacy-actions a{width:100%;box-sizing:border-box}}
.privacy-cases{display:grid;gap:8px;padding:0;list-style:none}.privacy-cases li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px}.privacy-cases span{display:grid;gap:3px}.privacy-cases small{color:var(--muted)}.privacy-cases em{padding:6px 9px;border-radius:999px;background:#e9f2ff;color:#1b568f;font-size:11px;font-style:normal;font-weight:850}
.privacy-cases .privacy-case-result{justify-items:end}.privacy-case-result a{color:#175b9c;font-size:11px;font-weight:850}
.privacy-documents{display:grid;gap:9px}.privacy-documents details{padding:13px 15px;border:1px solid var(--line);border-radius:12px}.privacy-documents summary{cursor:pointer;font-weight:850}.privacy-documents h4{margin:16px 0 4px;color:var(--ink)}
@media(max-width:700px){body:not(.auth-locked) .data-table tr,body:not(.auth-locked) .fleet-table tr{background:rgba(255,255,255,.83);border-color:var(--workspace-edge);box-shadow:0 12px 28px rgba(10,38,75,.07),inset 0 1px 0 rgba(255,255,255,.9)}}

/* Paid-registration gate: readable on glass and resilient on narrow phones. */
body:not(.auth-locked) .page-panel[data-billing-required]{max-width:760px;margin:10px auto;padding:clamp(28px,5vw,52px);overflow:visible;background:rgba(255,255,255,.88)}
body:not(.auth-locked) [data-billing-required] .welcome-eyebrow{margin:0;padding:8px 14px;background:linear-gradient(120deg,#e4f1ff,#f3dce5);border-color:rgba(90,131,181,.28);color:#611a39;font-size:14px;font-weight:850;letter-spacing:.025em;text-shadow:none;box-shadow:0 8px 20px rgba(35,67,105,.09),inset 0 1px 0 #fff}
body:not(.auth-locked) [data-billing-required] h1{margin:24px 0 16px;color:#0d2b53;font-size:clamp(36px,6vw,54px);line-height:1.05;letter-spacing:-.045em}
body:not(.auth-locked) [data-billing-required] p{max-width:650px;color:#233d60;font-size:clamp(15px,2vw,18px);line-height:1.55}
body:not(.auth-locked) [data-billing-required] .billing-check{margin:18px 0 2px;padding:12px 14px;border:1px solid rgba(61,112,163,.18);border-radius:14px;background:rgba(231,241,252,.72);color:#355477;font-size:14px;font-weight:720}
body:not(.auth-locked) [data-billing-required] .primary{margin-top:12px;min-height:52px}
@media(max-width:620px){body:not(.auth-locked) .page-panel[data-billing-required]{margin:0;padding:26px 20px;border-radius:22px}body:not(.auth-locked) [data-billing-required] h1{margin-top:22px;font-size:38px}body:not(.auth-locked) [data-billing-required] .primary{width:100%;white-space:normal}}

/* The hero demonstration uses only uncropped captures from the real FINXO app. */
.public-real-demo-stage{position:relative;aspect-ratio:1.44;background:#eaf1f8;overflow:hidden}.public-real-demo-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;animation:publicRealDemo 12s ease-in-out infinite}.public-real-demo-stage>img:nth-child(1){animation-delay:0s}.public-real-demo-stage>img:nth-child(2){animation-delay:4s}.public-real-demo-stage>img:nth-child(3){animation-delay:8s}.public-real-demo-labels{position:absolute;z-index:2;right:14px;bottom:14px;left:14px;display:flex;justify-content:center;gap:6px}.public-real-demo-labels span{padding:7px 9px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(3,18,42,.82);color:#d9e9f7;font-size:7px;font-weight:850;letter-spacing:.04em;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
@keyframes publicRealDemo{0%{opacity:0}5%,29%{opacity:1}34%,100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.public-real-demo-stage>img{animation:none}.public-real-demo-stage>img:first-child{opacity:1}}
.public-ai-hero .public-report-speed{grid-template-columns:repeat(2,1fr)}
.public-real-demo-stage>img{animation-duration:16s}.public-real-demo-stage>img:nth-child(4){animation-delay:12s}
@keyframes publicRealDemo{0%{opacity:0}4%,21%{opacity:1}25%,100%{opacity:0}}
@media(max-width:620px){.public-ai-hero .public-report-speed{grid-template-columns:1fr}.public-real-demo-labels{right:7px;bottom:7px;left:7px;gap:3px}.public-real-demo-labels span{padding:5px 6px;font-size:6px}}
.public-real-demo-stage>img{animation-duration:12s}

/* Five-scene public demo: real reports, app views and the FINXO Cloud interface. */
.public-real-demo-stage>.public-real-demo-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;animation:publicRealDemoFive 20s ease-in-out infinite}
.public-real-demo-stage>.demo-slide-1{animation-delay:0s}.public-real-demo-stage>.demo-slide-2{animation-delay:4s}.public-real-demo-stage>.demo-slide-3{animation-delay:8s}.public-real-demo-stage>.demo-slide-4{animation-delay:12s}.public-real-demo-stage>.demo-slide-5{animation-delay:16s}
@keyframes publicRealDemoFive{0%,16%{opacity:1}20%,96%{opacity:0}100%{opacity:1}}
.public-cloud-demo-frame{box-sizing:border-box;padding:8%;background:linear-gradient(145deg,#eef5fb,#dbe9f4);display:flex;align-items:center;justify-content:center}
.public-cloud-demo-frame .storage-subscription-card{width:min(92%,560px);margin:0;box-shadow:0 24px 55px rgba(2,24,52,.18)}
.public-cloud-demo-frame .storage-subscription-icon{display:grid;place-items:center;font-size:28px}
.public-cloud-demo-frame .storage-usage-numbers{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:8px;margin-top:24px}.public-cloud-demo-frame .storage-usage-numbers strong{font-size:30px;color:#062d59}.public-cloud-demo-frame .storage-usage-numbers span,.public-cloud-demo-frame .storage-usage-numbers em{color:#60758d;font-style:normal;font-size:12px}.public-cloud-demo-frame .storage-usage-meta{display:flex;justify-content:space-between;margin-top:8px;color:#60758d;font-size:11px}.public-cloud-demo-frame p{margin:22px 0 0;color:#34526e;font-size:12px}
.public-real-demo-labels{flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){.public-real-demo-stage>.public-real-demo-slide{animation:none}.public-real-demo-stage>.demo-slide-1{opacity:1}}
@media(max-width:620px){.public-cloud-demo-frame{padding:6%}.public-cloud-demo-frame .storage-subscription-card{padding:16px}.public-cloud-demo-frame .storage-subscription-head strong{font-size:18px}.public-cloud-demo-frame .storage-usage-numbers{margin-top:15px}.public-cloud-demo-frame .storage-usage-numbers strong{font-size:24px}.public-cloud-demo-frame p{margin-top:14px}.public-real-demo-labels{right:7px;bottom:7px;left:7px;gap:3px}.public-real-demo-labels span{padding:5px 6px;font-size:6px}}
.public-annual-offer{width:min(100%,760px);margin:28px auto 14px;padding:16px 20px;border:1px solid rgba(95,175,229,.42);border-radius:16px;background:rgba(20,79,142,.22);color:#dcecff;text-align:center;font-size:15px}.public-annual-offer b{color:#fff}

/* Deliberately composed premium hero typography. */
.public-ai-hero .public-luxury-title{max-width:660px;margin:34px 0 30px;font-size:clamp(58px,4.7vw,78px);font-weight:720;line-height:.94;letter-spacing:-.058em;text-wrap:balance}
.public-luxury-title span,.public-luxury-title em{display:block}.public-luxury-title span:first-child{font-weight:820}.public-luxury-title span:nth-child(2){color:#f5f1f6;font-weight:620}.public-luxury-title em{margin-top:8px;background:linear-gradient(100deg,#bdeaff 0%,#71c8f6 44%,#b7a7ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:760;filter:drop-shadow(0 12px 30px rgba(94,190,245,.12))}
.public-ai-hero .public-hero-copy>p{max-width:620px;color:#cbd5e3;font-size:18px;line-height:1.72;letter-spacing:-.008em}
.public-ai-hero .public-hero-copy:before{content:"";position:absolute;z-index:-1;top:-90px;left:-110px;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(77,142,211,.16),transparent 68%);filter:blur(20px);pointer-events:none}
@media(max-width:1320px) and (min-width:621px){.public-ai-hero{grid-template-columns:1fr;width:min(1080px,calc(100% - 70px));gap:70px;min-height:auto;padding-top:160px}.public-ai-hero .public-hero-copy{max-width:980px}.public-ai-hero .public-luxury-title{max-width:960px;font-size:clamp(66px,7vw,88px);line-height:.93}.public-ai-hero .public-ai-demo{width:min(900px,100%);margin:auto;transform:none}}
@media(max-width:620px){.public-ai-hero .public-luxury-title{max-width:100%;margin:24px 0 24px;font-size:clamp(42px,12.2vw,52px);line-height:.95;letter-spacing:-.06em}.public-luxury-title em{margin-top:6px}.public-ai-hero .public-hero-copy>p{font-size:16px;line-height:1.65}}

/* Accounting-firm outgoing invoicing */
.byra-topbar .account-toolbar-button,.byra-topbar .transport-toolbar-button,.byra-topbar .card-toolbar-button,.byra-topbar [data-action="new"]{display:none}.client-invoice-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px;padding:26px 30px;border:1px solid #dbe5ef;border-radius:22px;background:linear-gradient(120deg,#f5faff,#fff 58%,#fbf3f7);box-shadow:0 12px 34px rgba(18,54,96,.07)}.client-invoice-intro small,.client-invoice-compose header small,.client-invoice-register header small,.stripe-connect-card>small{color:#8c2d58;font-size:10px;font-weight:850;letter-spacing:.14em}.client-invoice-intro h2,.client-invoice-compose h2,.client-invoice-register h2,.stripe-connect-card h2{margin:5px 0;color:#102d53}.client-invoice-intro p,.stripe-connect-card p{margin:0;color:#65778d}.client-invoice-intro button,.client-invoice-intro button svg{display:flex;align-items:center;gap:8px}.client-invoice-intro svg,.invoice-delivery-choice svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.client-invoice-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.client-invoice-compose{padding:26px}.client-invoice-compose>header,.client-invoice-register>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.invoice-delivery-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:0;border:0}.invoice-delivery-choice legend{grid-column:1/-1;margin-bottom:4px;color:#61748b;font-size:12px;font-weight:750}.invoice-delivery-choice>label{display:block}.invoice-delivery-choice input{position:absolute;opacity:0}.invoice-delivery-choice span{display:grid;grid-template-columns:30px 1fr;gap:2px 8px;min-height:92px;padding:16px;border:1px solid #d7e2ed;border-radius:15px;background:#fff;cursor:pointer}.invoice-delivery-choice svg{grid-row:1/3;color:#1d609c}.invoice-delivery-choice b{font-size:13px}.invoice-delivery-choice small{grid-column:2;color:#6c7d91;line-height:1.4}.invoice-delivery-choice input:checked+span{border-color:#4384c2;background:#f2f8ff;box-shadow:0 0 0 3px rgba(67,132,194,.1)}.invoice-delivery-choice .not-ready{opacity:.55}.client-invoice-submit{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding-top:20px;border-top:1px solid #e1e8f0}.client-invoice-submit span{max-width:420px;color:#6a7b90;font-size:11px}.stripe-connect-card{padding:25px;position:sticky;top:92px}.stripe-connect-state{display:flex;align-items:center;gap:8px;margin:22px 0;padding:12px;border-radius:12px;background:#fff5e4;color:#805813;font-size:11px;font-weight:750}.stripe-connect-state i{width:8px;height:8px;border-radius:50%;background:#d49a2c}.stripe-connect-state.ready{background:#eaf8f1;color:#23704f}.stripe-connect-state.ready i{background:#36a477}.stripe-connect-card button{width:100%}.client-invoice-register{margin-top:20px;padding:26px}.client-invoice-register>header>b{display:grid;place-items:center;min-width:38px;height:38px;border-radius:12px;background:#eaf3fd;color:#17558f}.client-invoice-list{display:grid;gap:10px}.client-invoice-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:16px;padding:14px;border:1px solid #dfe7ef;border-radius:15px}.client-invoice-list article>div{display:flex;align-items:center;gap:12px}.client-invoice-list .company-logo{width:40px;height:40px}.client-invoice-list p{display:grid;gap:3px;margin:0}.client-invoice-list small{color:#77879a}.client-invoice-list strong{white-space:nowrap;color:#15375f}.client-invoice-list .button-link{padding:9px 13px}.client-invoice-loading{padding:35px}
@media(max-width:900px){.client-invoice-layout{grid-template-columns:1fr}.stripe-connect-card{position:static}.client-invoice-list article{grid-template-columns:minmax(0,1fr) auto}.client-invoice-list article>.pill,.client-invoice-list article>.button-link{justify-self:start}}
@media(max-width:620px){.client-invoice-intro{align-items:flex-start;flex-direction:column;padding:21px}.client-invoice-intro button{width:100%;justify-content:center}.client-invoice-compose,.client-invoice-register,.stripe-connect-card{padding:20px}.invoice-delivery-choice{grid-template-columns:1fr}.client-invoice-submit{align-items:stretch;flex-direction:column}.client-invoice-submit button{width:100%}.client-invoice-list article{grid-template-columns:1fr auto;gap:10px}.client-invoice-list article>strong{grid-row:2}.client-invoice-list article>.pill{grid-row:2}.client-invoice-list article>.button-link{grid-column:1/-1;width:100%;justify-content:center}}

/* Keep bureau client-card identity text distinct from the right-side status badge. */
.byra-client-page .byra-client-identity>span:nth-child(2){display:grid;gap:6px;min-width:0;padding-right:16px}
.byra-client-page .byra-client-identity>span:nth-child(2)>b,.byra-client-page .byra-client-identity>span:nth-child(2)>small{display:block;line-height:1.35}
.byra-client-page .byra-client-identity>.byra-client-state{display:inline-flex;justify-self:end;white-space:nowrap}
@media(max-width:420px){.byra-client-page .byra-client-identity{grid-template-columns:44px minmax(0,1fr)}.byra-client-page .byra-client-identity>.byra-client-state{grid-column:2;justify-self:start}.byra-client-page .byra-client-identity>span:nth-child(2){padding-right:0}}

/* Consent-bound support administration */
.modal:has(.admin-console-head){width:min(1040px,calc(100vw - 36px))}
.support-access-loading{padding:42px;text-align:center;color:#66798f}.support-consent-intro,.admin-console-head{display:flex;gap:16px;align-items:flex-start;padding:22px;border:1px solid #cfe0f1;border-radius:20px;background:linear-gradient(135deg,#f2f8ff,#fff 62%,#fbf4f8)}.support-consent-intro>span{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:15px;background:#e5f1fd;color:#14568f}.support-consent-intro svg,.support-mode-banner svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}.support-consent-intro h3,.admin-console-head h3{margin:0 0 6px;color:#102f56}.support-consent-intro p,.admin-console-head p{margin:0;color:#65788f;line-height:1.55}.support-access-list,.admin-tenant-list{display:grid;gap:12px;margin-top:16px}.support-access-card{padding:18px;border:1px solid #d9e3ed;border-radius:16px;background:#fff}.support-access-card.pending{border-color:#e7c676;background:#fffaf0}.support-access-card.active{border-color:#82c9aa;background:#f3fcf8}.support-access-card header{display:flex;justify-content:space-between;gap:12px}.support-access-card header span{color:#8b2d59;font-size:10px;font-weight:850;letter-spacing:.12em}.support-access-card p{margin:12px 0 8px;color:#193a60}.support-access-card small{display:block;color:#718197}.support-access-card>div{display:flex;gap:10px;margin-top:15px}.admin-console-head{align-items:center;justify-content:space-between}.admin-console-head>label{display:flex;align-items:center;gap:8px;min-width:280px;padding:10px 14px;border:1px solid #d4e0eb;border-radius:13px;background:#fff}.admin-console-head input{width:100%;border:0;outline:0;background:transparent}.admin-console-head [data-admin-team]{margin-top:14px}.admin-tenant-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:15px;border:1px solid #dce5ee;border-radius:16px;background:#fff}.admin-tenant-row>div:nth-child(2){display:grid;gap:3px}.admin-tenant-row small{color:#75869a}.admin-tenant-actions{display:flex;gap:8px}.support-team-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:18px 0}.support-team-form .field{margin:0}.support-team-form button{min-height:48px}.support-status{padding:7px 10px;border-radius:999px;background:#eef2f6;color:#68798d;font-size:10px;font-style:normal;font-weight:800}.support-status.active{background:#e8f8f0;color:#217653}.support-status.pending{background:#fff3d9;color:#835c11}.support-mode-banner{display:flex;align-items:center;gap:14px;margin:0 0 20px;padding:14px 18px;border:1px solid #8ec4ee;border-radius:16px;background:#edf7ff;color:#154d7b}.support-mode-banner.edit{border-color:#d6a5be;background:#fff3f8;color:#712549}.support-mode-banner>span{display:grid;place-items:center}.support-mode-banner>div{display:grid;flex:1;gap:3px}.support-mode-banner small{color:inherit;opacity:.78}.support-mode-banner button{white-space:nowrap}
@media(max-width:720px){.admin-console-head{align-items:stretch;flex-direction:column}.admin-console-head>label{min-width:0}.admin-tenant-row{grid-template-columns:42px minmax(0,1fr)}.admin-tenant-row>.support-status,.admin-tenant-actions{grid-column:2}.admin-tenant-actions{flex-wrap:wrap}.admin-tenant-actions button{flex:1}.support-mode-banner{align-items:flex-start;flex-wrap:wrap}.support-mode-banner button{width:100%}.support-access-card>div{flex-direction:column}.support-access-card button{width:100%}.support-team-form{grid-template-columns:1fr}.support-team-form button{width:100%}}

/* Full-page operator workspace. Customer accounting remains behind the consent gate. */
body.admin-dashboard-mode{background:#f5f7fb;color:#102a4d}body.admin-dashboard-mode .sidebar,body.admin-dashboard-mode .topbar{display:none}body.admin-dashboard-mode .app-shell,body.admin-dashboard-mode .app-shell>main{display:block;min-height:100vh;width:100%}body.admin-dashboard-mode #content{max-width:none;margin:0;padding:0;background:#f5f7fb}.admin-dashboard{min-height:100vh;background:linear-gradient(180deg,#fff 0,#f5f7fb 280px)}.admin-topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:42px;min-height:76px;padding:0 clamp(22px,5vw,76px);border-bottom:1px solid #e0e7ef;background:rgba(255,255,255,.95);box-shadow:0 5px 24px rgba(13,44,80,.05)}.admin-brand{display:flex;align-items:center;gap:12px;color:#0d2a50;text-decoration:none}.admin-brand img{width:42px;height:42px}.admin-brand span{display:grid;line-height:1}.admin-brand b{font-size:19px;letter-spacing:.08em}.admin-brand small{margin-top:5px;color:#8d2c58;font-size:9px;font-weight:900;letter-spacing:.2em}.admin-topbar nav{display:flex;justify-content:center;gap:8px}.admin-topbar nav button{padding:11px 15px;border:0;border-radius:11px;background:transparent;color:#60748c;font-weight:800}.admin-topbar nav button.active{background:#eaf3fd;color:#145992}.admin-owner{display:flex;align-items:center;gap:10px}.admin-owner>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#dceeff,#f7e6ee);font-weight:900}.admin-owner>div{display:grid;gap:2px}.admin-owner small{color:#7b8a9b;font-size:10px}.admin-owner button{margin-left:8px}.admin-main{width:min(1460px,calc(100% - 56px));margin:auto;padding:42px 0 70px}.admin-hero{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:28px}.admin-hero>div>span,.admin-directory header small,.admin-team-intro>small,.admin-team-list header small{color:#8d2c58;font-size:10px;font-weight:900;letter-spacing:.16em}.admin-hero h1{margin:8px 0 10px;color:#0c2a50;font-family:Georgia,serif;font-size:clamp(36px,4.5vw,62px);letter-spacing:-.045em}.admin-hero p{margin:0;color:#64778e;font-size:16px}.admin-hero aside{display:grid;gap:5px;max-width:390px;padding:18px 20px;border:1px solid #cfe0f0;border-radius:17px;background:#f0f7fe}.admin-hero aside b{color:#185a91}.admin-hero aside span{color:#5e758d;font-size:12px;line-height:1.45}.admin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.admin-kpis article{display:grid;gap:6px;padding:20px 22px;border:1px solid #dee6ee;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(16,48,84,.05)}.admin-kpis small{color:#7890a7;font-size:9px;font-weight:900;letter-spacing:.12em}.admin-kpis b{color:#113760;font-size:30px}.admin-kpis span{color:#7b899a;font-size:11px}.admin-directory{padding:26px;border:1px solid #dce5ed;border-radius:24px;background:#fff;box-shadow:0 18px 44px rgba(16,48,84,.06)}.admin-directory>header{display:flex;align-items:center;justify-content:space-between;gap:28px}.admin-directory h2,.admin-team-layout h2{margin:5px 0 7px;color:#102f56;font-size:24px}.admin-directory header p,.admin-team-layout p{margin:0;color:#6d7d91;line-height:1.5}.admin-directory header label{display:flex;align-items:center;gap:9px;width:min(390px,100%);padding:13px 15px;border:1px solid #d5e0eb;border-radius:14px;background:#f9fbfd}.admin-directory header input{width:100%;border:0;outline:0;background:transparent}.admin-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 18px}.admin-filter-row button{padding:9px 13px;border:1px solid #d9e4ee;border-radius:999px;background:#fff;color:#5c7088;font-size:11px;font-weight:800}.admin-filter-row button.active{border-color:#175b96;background:#175b96;color:#fff}.admin-company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-company-card{display:grid;border:1px solid #dbe4ed;border-radius:19px;background:linear-gradient(145deg,#fff,#fbfdff);overflow:hidden}.admin-company-card>header{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:18px}.admin-company-card header>div{min-width:0}.admin-company-card header small{color:#7c8da0;font-size:8px;font-weight:850;letter-spacing:.12em}.admin-company-card h3{overflow:hidden;margin:3px 0;text-overflow:ellipsis;white-space:nowrap;color:#102f56}.admin-company-card header p{margin:0;color:#8090a1;font-size:10px}.admin-health{padding:7px 9px;border-radius:999px;background:#eef2f6;color:#67798d;font-size:9px;font-style:normal;font-weight:850;white-space:nowrap}.admin-health.good{background:#e7f8f0;color:#227453}.admin-health.info{background:#e8f3fd;color:#23669e}.admin-health.warning{background:#fff3d9;color:#805b15}.admin-health.danger{background:#fdebed;color:#a33a48}.admin-company-facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e5ebf1;border-bottom:1px solid #e5ebf1}.admin-company-facts section{display:grid;align-content:start;gap:5px;min-width:0;padding:15px}.admin-company-facts section+section{border-left:1px solid #e5ebf1}.admin-company-facts small{color:#8090a1;font-size:8px;font-weight:900;letter-spacing:.09em}.admin-company-facts b{color:#17395e;font-size:11px}.admin-company-facts span{color:#718298;font-size:9px;line-height:1.45}.admin-company-card footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px}.admin-company-card footer>span{max-width:360px;color:#7a899a;font-size:9px;line-height:1.4}.admin-company-card footer>div{display:flex;gap:8px}.admin-company-card footer button{padding:9px 12px;font-size:10px}.admin-empty{padding:36px;border:1px dashed #cfdbe7;border-radius:16px;color:#718296;text-align:center}.admin-team-layout{display:grid;grid-template-columns:minmax(320px,420px) 1fr;gap:20px}.admin-team-intro,.admin-team-list{padding:26px;border:1px solid #dce5ed;border-radius:22px;background:#fff}.admin-team-intro form{display:grid;gap:12px;margin-top:24px}.admin-team-intro .field{margin:0}.admin-team-list{display:grid;align-content:start;gap:12px}.admin-team-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:15px;border:1px solid #e0e7ef;border-radius:16px}.admin-team-card>div{display:grid;gap:4px}.admin-team-card small{color:#77899c}.admin-page-loading{display:grid;place-items:center;min-height:100vh;color:#63778e}.admin-dashboard-error{display:grid;place-items:center;padding:30px}
@media(max-width:1000px){.admin-company-grid{grid-template-columns:1fr}.admin-kpis{grid-template-columns:repeat(2,1fr)}.admin-topbar{grid-template-columns:auto auto;gap:20px}.admin-topbar nav{grid-column:1/-1;grid-row:2;padding-bottom:12px}.admin-owner{justify-self:end}.admin-owner>div{display:none}}
@media(max-width:680px){.admin-topbar{padding:12px 16px}.admin-owner>span{display:none}.admin-owner button{margin:0;padding:9px}.admin-topbar nav{justify-content:flex-start;overflow:auto}.admin-topbar nav button{white-space:nowrap}.admin-main{width:calc(100% - 28px);padding:26px 0 42px}.admin-hero{align-items:stretch;flex-direction:column}.admin-hero h1{font-size:40px}.admin-kpis{grid-template-columns:1fr 1fr}.admin-kpis article{padding:16px}.admin-directory{padding:17px}.admin-directory>header{align-items:stretch;flex-direction:column}.admin-directory header label{box-sizing:border-box;width:100%}.admin-company-card>header{grid-template-columns:42px minmax(0,1fr)}.admin-company-card>header .admin-health{grid-column:2;justify-self:start}.admin-company-facts{grid-template-columns:1fr}.admin-company-facts section+section{border-top:1px solid #e5ebf1;border-left:0}.admin-company-card footer{align-items:stretch;flex-direction:column}.admin-company-card footer>div{display:grid;grid-template-columns:1fr 1fr}.admin-company-card footer button:only-child{grid-column:1/-1}.admin-team-layout{grid-template-columns:1fr}.admin-team-card{grid-template-columns:40px minmax(0,1fr)}.admin-team-card .admin-health,.admin-team-card button{grid-column:2;justify-self:start}}

/* Version 347: support-member identity, status and actions never compete for the same space. */
.admin-team-layout{align-items:start}.admin-team-list{align-self:start;gap:14px}.admin-team-card{grid-template-columns:48px minmax(0,1fr) auto;gap:14px;padding:18px;border-color:#dbe5ef;border-radius:18px;background:linear-gradient(145deg,#fff,#fbfdff);box-shadow:0 10px 26px rgba(16,48,84,.045)}.admin-team-member-copy{display:grid;min-width:0;gap:5px}.admin-team-member-copy b{overflow-wrap:anywhere;color:#102f56;font-size:15px;line-height:1.3}.admin-team-member-copy small{color:#77899c;line-height:1.45}.admin-team-member-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.admin-team-member-actions button{min-height:34px;padding:7px 12px;border:1px solid #e7b5b5;border-radius:10px;font-size:11px;font-weight:800;white-space:nowrap}
@media(max-width:1000px){.admin-team-layout{grid-template-columns:1fr}.admin-team-intro,.admin-team-list{padding:22px}}
@media(max-width:680px){.admin-team-intro,.admin-team-list{padding:18px}.admin-team-card{grid-template-columns:44px minmax(0,1fr);align-items:start;padding:16px}.admin-team-card>.company-logo{grid-row:1 / span 2}.admin-team-member-copy{grid-column:2}.admin-team-member-actions{grid-column:2;justify-content:flex-start;flex-wrap:wrap;width:100%}.admin-team-member-actions button{flex:0 0 auto}}

/* Version 321: every dashboard summary is an actionable filter and company identity is explicit. */
.admin-brand{padding:0;border:0;background:transparent;cursor:pointer}.admin-kpis>button{display:grid;gap:6px;padding:20px 22px;border:1px solid #dee6ee;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(16,48,84,.05);text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.admin-kpis>button:hover,.admin-kpis>button:focus-visible{border-color:#8db9dd;box-shadow:0 16px 34px rgba(16,70,120,.12);transform:translateY(-2px);outline:0}.admin-card-statuses{display:grid;justify-items:end;gap:6px}.admin-company-facts{grid-template-columns:repeat(4,1fr)}
@media(max-width:1000px){.admin-company-facts{grid-template-columns:repeat(2,1fr)}.admin-company-facts section:nth-child(3){border-top:1px solid #e5ebf1;border-left:0}.admin-company-facts section:nth-child(4){border-top:1px solid #e5ebf1}}
@media(max-width:680px){.admin-kpis>button{padding:16px}.admin-card-statuses{grid-column:2;justify-items:start}.admin-company-facts{grid-template-columns:1fr}.admin-company-facts section:nth-child(n){border-top:1px solid #e5ebf1;border-left:0}.admin-company-facts section:first-child{border-top:0}}
.admin-directory-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:min(520px,100%)}
.admin-directory-actions>[data-admin-refresh]{flex:0 0 auto;padding:12px 14px}
@media(max-width:680px){.admin-directory-actions{display:grid;min-width:0}.admin-directory-actions>[data-admin-refresh]{width:100%}}

/* Music preview uses the existing Fleet workspace components and theme. */
body[data-music-preview] .music-preview-back{font-size:12px;text-decoration:none;white-space:nowrap}
body[data-music-preview] .profile{text-decoration:none}
body[data-music-preview] .stat{cursor:default}
body[data-music-preview] .empty-module{min-height:210px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px}
body[data-music-preview] .empty-module h2{font-size:16px}
body[data-music-preview] .music-preview-badge{display:block;white-space:nowrap}
body[data-music-preview] .music-preview-storage-card{margin-bottom:20px}
body[data-music-preview] .music-preview-storage-options{display:grid;gap:18px}
body[data-music-preview] .music-preview-storage-options h2{margin:0}
body[data-music-preview] .music-storage-price{cursor:default}
body[data-music-preview] .music-storage-price:hover{transform:none}
body[data-music-preview] [data-music-report-detail]{margin-top:18px}
@media(max-width:620px){body[data-music-preview] .music-preview-back{padding:8px;font-size:11px}body[data-music-preview] .page-head .music-preview-badge{display:inline-block;margin-top:12px}}

/* Music invoice editor reuses Fleet's form and panel components. */
.music-invoice-settings{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.music-invoice-settings .page-panel{margin:0}
.music-invoice-settings summary{font-weight:750;cursor:pointer;margin-bottom:18px}
.music-invoice-lines fieldset{min-width:0;border:1px solid var(--line);border-radius:12px;margin:20px 0;padding:18px}
.music-invoice-lines legend{font-size:12px;font-weight:750;padding:0 8px}
.music-vat-evidence{padding:14px;background:#edf3fb;border-radius:10px;margin:14px 0;font-size:12px;line-height:1.6}
.music-vat-evidence label,.music-check{display:flex;gap:9px;align-items:flex-start;margin:12px 0;font-size:12px;line-height:1.6}
.music-vat-evidence .field{display:grid}
.music-check input,.music-vat-evidence input{flex:0 0 auto;margin-top:4px}
.music-invoice-note{margin:18px 0}
.music-review-line{display:grid;gap:7px;padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}
.music-review-line small{color:var(--muted);line-height:1.5}
.music-invoice-totals{display:grid;gap:10px;text-align:right;padding:20px 0}.music-invoice-totals strong{font-size:21px;color:var(--ink)}
.music-invoice-buttons{display:flex;gap:10px;flex-wrap:wrap}
.music-invoice-register-row{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.music-invoice-register-row small{display:block;color:var(--muted);margin-top:5px}
body[data-music-preview] button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.music-invoice-settings{grid-template-columns:1fr}.music-invoice-register-row{flex-wrap:wrap}.music-invoice-lines fieldset{padding:12px}}
.music-instrument-selection{display:grid;gap:8px;margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:13px;background:rgba(242,247,252,.75)}.music-instrument-selection h3,.music-instrument-selection p{margin:0}.music-instrument-selection>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-radius:10px;background:#fff}.music-instrument-selection span{display:grid;gap:3px;min-width:0}.music-instrument-selection b,.music-instrument-selection small{overflow-wrap:anywhere}.music-instrument-selection small{color:var(--muted)}
.music-invoice-settings .page-panel{padding:18px 22px}
.music-review-parties{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:18px 0;border-bottom:1px solid var(--line)}
.music-review-parties>div{display:grid;gap:6px;font-size:13px;line-height:1.5}
.music-review-parties small{font-size:10px;color:var(--muted);letter-spacing:.08em}
@media(max-width:620px){.music-review-parties{grid-template-columns:1fr}}

.music-module .music-invoice-logo { display:block; max-width:240px; max-height:100px; width:auto; height:auto; object-fit:contain; background:white; padding:8px; border:1px solid #dce3ed; border-radius:8px; margin:12px 0; }
.music-module .music-invoice-logo[hidden] { display:none; }
.music-module .music-logo-setting { margin:16px 0; }

body[data-music-preview] [data-travel-day] { border:1px solid #dce3ed; border-radius:12px; padding:16px; margin:16px 0; min-width:0; }
body[data-music-preview] .music-travel-evidence { white-space:pre-wrap; overflow-wrap:anywhere; }
body[data-music-preview] .music-travel-breakdown p { border-bottom:1px solid #dce3ed; padding:8px 0; overflow-wrap:anywhere; }
body[data-music-preview] [data-build-days] { margin-top:16px; }

/* Music royalties keeps the evidence-heavy form readable at every workspace width. */
.music-royalty-header{min-width:0}.music-royalty-header>div{min-width:0;max-width:900px}.music-royalty-header h1{font-size:clamp(34px,5vw,58px);overflow-wrap:anywhere}.music-royalty-header p{max-width:820px;overflow-wrap:anywhere;line-height:1.55}.music-royalty-panel{overflow:visible}.music-royalty-form{gap:18px}.music-royalty-form>.field{font-size:12px;font-weight:750;line-height:1.4}.music-royalty-form>.field input,.music-royalty-form>.field select{min-height:48px;padding:12px 14px;color:var(--ink);font:inherit}.music-royalty-document{grid-column:1/-1}.music-royalty-form>.music-royalty-guidance,.music-royalty-form>.button,.music-royalty-form>[role=status]{grid-column:1/-1}.music-royalty-guidance{margin:4px 0;padding:14px 16px;border:1px solid #c9dced;border-radius:12px;background:#eef6ff;color:#365b7f;font-size:12px;line-height:1.55}.music-royalty-form>label:not(.field){display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:9px;min-width:0;padding:12px 14px;border:1px solid #e0e7ef;border-radius:11px;background:rgba(248,251,254,.82);font-size:12px;line-height:1.45;overflow-wrap:anywhere}.music-royalty-form>label:not(.field) input{width:17px;height:17px;margin:1px 0 0}.music-royalty-form>.button{justify-self:start;min-height:48px;padding:12px 18px;white-space:normal}
@media(max-width:800px){.music-royalty-form{grid-template-columns:1fr}.music-royalty-document,.music-royalty-form>.music-royalty-guidance,.music-royalty-form>.button,.music-royalty-form>[role=status]{grid-column:1}.music-royalty-header h1{font-size:clamp(32px,8vw,46px)}}

/* Guided FINXO Music instrument tax flow. */
.music-instrument-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}.music-instrument-guide article{display:grid;align-content:start;gap:8px;padding:18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#fff,#f5f9fd);box-shadow:0 8px 24px rgba(18,54,96,.05)}.music-instrument-guide article button{width:100%;margin-top:auto;white-space:normal}.music-instrument-guide b{color:var(--ink);font-size:13px}.music-instrument-guide span{color:var(--muted);font-size:12px;line-height:1.55}.music-tax-flow{margin:18px 0;padding:16px;border:1px solid #cfe0ef;border-radius:15px;background:#f7fbff}.music-tax-flow summary{cursor:pointer;color:#153b63;font-weight:800}.music-tax-result{display:block;margin:16px 0;padding:14px 16px;border:1px solid #b9d8ef;border-radius:13px;background:#eaf5fd;color:#174d78;font-size:13px;font-weight:750;line-height:1.5}.page-panel[data-contribute]{border-color:#d8c7e1;background:linear-gradient(145deg,#fff,#fdf9ff)}.page-panel[data-contribute] h2{color:#563565}.music-check{display:flex;gap:9px;align-items:flex-start;margin:12px 0;font-size:12px;line-height:1.6}.music-check input{flex:0 0 auto;margin-top:4px}
@media(max-width:760px){.music-instrument-guide{grid-template-columns:1fr}.music-tax-flow{padding:13px}.music-tax-result{font-size:12px}}
.music-instrument-guide form{display:grid;align-content:start;gap:10px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#fff,#f5f9fd);box-shadow:0 8px 24px rgba(18,54,96,.05)}
.music-instrument-guide form input[type=file]{width:100%;min-width:0;color:var(--muted);font-size:12px}.music-instrument-guide form .secondary{width:100%;white-space:normal}
.music-ai-assistant{display:grid;gap:16px;max-width:900px;margin:0 auto}.music-ai-assistant>header{display:flex;gap:12px;align-items:center}.music-ai-assistant>header>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#dff4ff,#eee7ff);color:#315f9d;font-size:20px}.music-ai-assistant>header div{display:grid;gap:3px}.music-ai-assistant>header small{color:var(--muted)}.music-ai-messages{display:grid;gap:12px;max-height:52vh;overflow:auto;padding:16px;border:1px solid var(--line);border-radius:17px;background:#f7f9fc}.music-ai-messages article{display:grid;gap:6px;max-width:86%;padding:13px 15px;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(18,54,96,.06)}.music-ai-messages article.user{justify-self:end;background:#eaf3fd}.music-ai-messages article p{margin:0;white-space:pre-wrap;line-height:1.55}.music-ai-messages article ol,.music-ai-messages article ul{margin:4px 0;padding-left:20px}.music-ai-messages article small{color:var(--muted)}.music-ai-questions{padding:10px;border-radius:10px;background:#fff8e9}.music-ai-entry{display:grid;grid-template-columns:1fr auto;gap:10px}.music-ai-entry textarea{min-width:0;resize:vertical}.music-ai-entry button{align-self:stretch}.music-ai-assistant.compact .music-ai-messages{max-height:42vh}@media(max-width:620px){.music-ai-entry{grid-template-columns:1fr}.music-ai-messages article{max-width:95%}}
/* Music assignment cards keep their content readable independently of report grids. */
.music-gig-list{display:grid;gap:16px;margin-top:20px}.music-gig-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:start;padding:24px;border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.72)}.music-gig-copy{min-width:0}.music-gig-copy small{color:var(--muted);font-weight:700}.music-gig-copy h3{margin:8px 0}.music-gig-copy p{margin:6px 0;overflow-wrap:anywhere}.music-gig-actions{display:grid;gap:14px;justify-items:end}.music-gig-actions .form-actions{justify-content:flex-end;flex-wrap:wrap}
@media(max-width:800px){.music-gig-card{grid-template-columns:minmax(0,1fr);padding:20px}.music-gig-actions{justify-self:stretch;justify-items:start;width:100%}.music-gig-actions .form-actions{display:grid;grid-template-columns:1fr;justify-self:stretch;width:100%;gap:8px}.music-gig-actions .form-actions button.compact{width:100%;min-width:0;padding:10px 14px;font-size:12px}.music-gig-actions .form-actions button.compact::first-letter{font-size:inherit}}
.music-declaration-modal{position:fixed;inset:0;display:grid;place-items:center;background:rgba(4,18,14,.62)}.music-declaration-modal .modal{width:min(980px,calc(100vw - 36px));height:min(94dvh,920px)}.music-declaration-modal .modal-body{flex:1}.music-declaration-modal .declaration-pdf-shell{height:100%;min-height:420px;margin:0}@media(max-width:620px){.music-declaration-modal{align-items:end}.music-declaration-modal .modal{width:100%;height:96dvh}.music-declaration-modal .declaration-pdf-shell{min-height:360px}}

/* Music registration: one focused step at a time. */
.company-signup-wizard [hidden]{display:none!important}
.company-signup-wizard .registration-intro{text-align:left;margin-bottom:24px}
.company-signup-wizard .registration-intro h2{font-family:inherit;font-size:clamp(24px,4vw,32px);line-height:1.2;margin:16px 0 10px}
.company-signup-wizard .registration-intro p{font-size:16px;line-height:1.5}
.company-signup-wizard progress{width:100%;height:6px;accent-color:#215993;border:0;margin-top:16px}
.company-signup-wizard .field select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #cad8e9;border-radius:12px;background:#fff;color:#142c4d;font:inherit}
.company-signup-wizard .field small{font-size:13px;line-height:1.5;margin-top:6px}
.company-signup-wizard .company-signup-panel{min-width:0}
.company-signup-wizard .registration-commercial-terms{margin-top:0}
.company-signup-wizard .modal-actions{gap:10px;flex-wrap:wrap}
@media(max-width:600px){.company-signup-wizard .form-grid{grid-template-columns:1fr}.company-signup-wizard .modal-actions button{flex:1;min-width:100px}.company-signup-wizard .registration-intro{padding:0}.company-signup-wizard .field.full{grid-column:1}}

.modal:has(.company-signup-wizard){width:min(760px,calc(100vw - 24px))}
.modal:has(.company-signup-wizard) .modal-head h2{font-family:inherit;font-size:26px}
.company-signup-wizard .field input:not([type=checkbox]):not([type=radio]){min-height:48px;font-size:16px}
.company-signup-wizard .form-grid{gap:18px}
.company-signup-wizard .controlled-launch-acceptance{margin-top:0}
.company-signup-wizard progress{appearance:none;border-radius:4px;overflow:hidden;background:#e3ebf5}
.company-signup-wizard progress::-webkit-progress-bar{background:#e3ebf5;border-radius:4px}
.company-signup-wizard progress::-webkit-progress-value{background:#215993;border-radius:4px}
.company-signup-wizard progress::-moz-progress-bar{background:#215993;border-radius:4px}

/* Calendar with direct month and year selection; retain native date validation. */
.date-calendar-field{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.date-calendar-field>input{flex:1;min-width:0;width:0}
.date-calendar-field input::-webkit-calendar-picker-indicator{display:none}
.date-calendar-trigger{width:48px;flex:none;border:1px solid #cfdaec;border-radius:12px;background:#edf4ff;color:#173f75;font-size:26px;cursor:pointer}
.date-calendar{flex-basis:100%;max-width:360px;padding:12px;border:1px solid #cfdaec;border-radius:14px;background:#fff;box-shadow:0 6px 20px #122b4d14}
.date-calendar[hidden]{display:none!important}
.date-calendar-heading{display:flex;gap:6px;align-items:center}
.date-calendar-heading select{min-width:0!important;width:auto!important;flex:1;padding:6px!important;min-height:40px!important;font-size:15px!important}
.date-calendar-heading button{border:0;background:#edf4ff;border-radius:8px;font-size:24px;width:30px;min-height:40px;cursor:pointer}
.date-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-top:10px;text-align:center}
.date-calendar-days span{color:#62738a;font-size:13px;padding:4px}
.date-calendar-days button{border:0;border-radius:8px;background:#f3f6fb;color:#162d50;min-height:36px;font-size:15px;cursor:pointer}
.date-calendar-days button[aria-pressed=true]{background:#173f75;color:white}
.date-calendar-days button:disabled{opacity:.35;cursor:default}
.date-calendar-close{margin-top:8px;background:none;border:0;color:#173f75;padding:8px;cursor:pointer}

/* Keep tax controls aligned across native WebKit and Chromium widgets. */
.company-signup-wizard .form-grid{align-items:start}
.company-signup-wizard .field{align-content:start;grid-auto-rows:max-content}
.company-signup-wizard .field>input:not([type=checkbox]):not([type=radio]),
.company-signup-wizard .date-calendar-field>input{height:48px;min-height:48px;box-sizing:border-box}
.company-signup-wizard .field select{appearance:none;-webkit-appearance:none;height:48px;line-height:24px;padding:10px 36px 10px 12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23142c4d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center}
.date-calendar-trigger{height:48px;display:grid;place-items:center}
.date-calendar-trigger svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.date-calendar-heading select{padding-right:26px!important;background-position:right 6px center!important}

/* Prevent trackpad overscroll from traversing browser history. */
html,body{overscroll-behavior-x:none}

/* Music uses the shared toolbar with compact, equally sized controls. */
body.music-workspace .topbar .top-actions{gap:8px}
body.music-workspace .topbar .top-actions>button{height:44px;min-height:44px;border-radius:12px}
body.music-workspace .topbar .top-actions>button.account-toolbar-button,
body.music-workspace .topbar .top-actions>button.card-toolbar-button{width:auto;flex:0 0 auto;min-width:44px;padding:6px 12px;gap:8px;border:1px solid #d4e1f0;background:#f5f8fd;color:#173c68;box-shadow:none}
body.music-workspace .topbar .top-actions>button.account-toolbar-button>span,
body.music-workspace .topbar .top-actions>button.card-toolbar-button>span{width:28px;height:28px;border-radius:8px;background:#e5eef9;box-shadow:none}
body.music-workspace .topbar .top-actions>button.account-toolbar-button svg{width:23px;height:23px}
body.music-workspace .topbar .top-actions>button.account-toolbar-button b,
body.music-workspace .topbar .top-actions>button.card-toolbar-button b{font-size:12px}
body.music-workspace #nav [data-music-runtime-nav]>span{min-width:0;line-height:1.4;overflow-wrap:normal}
body.music-workspace [data-music-dashboard] .quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
body.music-workspace [data-music-dashboard] a.quick{display:flex;text-decoration:none;color:#173c68;min-height:66px;justify-content:flex-start}
@media(max-width:1180px){
 body.music-workspace .topbar .top-actions>button.account-toolbar-button,
 body.music-workspace .topbar .top-actions>button.card-toolbar-button{width:44px;padding:6px;justify-content:center}
 body.music-workspace .topbar .top-actions>button.account-toolbar-button b,
 body.music-workspace .topbar .top-actions>button.card-toolbar-button b{display:none}
}

/* Shared form geometry: the same readable controls in every workspace. */
.form-grid{align-items:start}
.field{min-width:0}
.field input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.field select,.field textarea{min-height:48px;font:inherit;color:var(--ink);line-height:1.5}
.field select,body:not(.auth-locked) .field select{appearance:none;-webkit-appearance:none;padding:11px 38px 11px 12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23142c4d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.music-module>.page-panel{padding:24px;margin-bottom:24px}
.music-module .page-panel>h2:first-child{margin-top:0}
.music-module .page-panel>p{line-height:1.6}
.music-module .page-panel>form{margin-top:20px}
.music-module .form-grid{gap:20px}
.music-check{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:rgba(245,249,253,.7);min-height:44px}
.music-check input[type=checkbox]{width:18px;height:18px;margin:1px 0 0;accent-color:#205a93}
@media(max-width:620px){
 .music-module>.page-panel{padding:16px;margin-bottom:20px}
 .field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{font-size:16px}
}

/* Module layout belongs to the component, including scan-result dialogs. */
.music-module{min-width:0;max-width:100%}
.music-module .page-panel{padding:24px;margin-bottom:24px}
.music-module .page-panel>:first-child{margin-top:0}
.music-module .page-panel>:last-child{margin-bottom:0}
.music-module .page-panel>details{margin:18px 0}
.music-module .page-panel summary{padding:10px 0;font-weight:650;cursor:pointer}
.music-module form>.form-grid{margin-bottom:18px}
.music-module .music-vat-evidence label:not(.field){min-height:44px;padding:10px 0;margin:0;gap:10px}
.music-module .music-vat-evidence input[type=checkbox]{width:18px;height:18px;flex:0 0 18px}
.modal-body .music-module .page-head{gap:16px;flex-wrap:wrap}
.modal-body .music-module h1{font-size:clamp(24px,4vw,32px)}
.modal-body .music-module .page-panel h2{font-size:22px;line-height:1.3}
.modal-body .music-module .field{font-size:13px;line-height:1.5}
.modal-body .music-module .field input,.modal-body .music-module .field select{font-size:16px}
@media(max-width:700px){
 .music-module .page-panel{padding:16px;margin-bottom:20px}
 .modal-body .music-module .form-grid{grid-template-columns:minmax(0,1fr)}
 .modal-body .music-module .page-panel h2{font-size:20px}
}

.modal:has(.music-module){width:min(900px,calc(100vw - 36px))}
@media(max-width:620px){.modal:has(.music-module){width:100%}}
.music-bank-review-summary{margin:18px 0;padding:18px 20px;border:1px solid #9bb9dc;border-radius:14px;background:#edf5ff;color:#173454}
.music-bank-review-summary strong{display:block;font-size:17px;line-height:1.3}
.music-bank-review-summary p{margin:8px 0;font-size:13px;line-height:1.5}
.music-bank-review-summary button{margin-top:6px}
.music-payment-review,.music-booking-differences{margin-bottom:20px}
.music-review-item{padding:16px 0;border-top:1px solid var(--line,#d9e3f1)}
.music-review-item h3{margin:0 0 6px}
.music-review-item p{margin:6px 0;line-height:1.5}
.music-review-item form{margin-top:12px}
[data-suggested-bank-match]{border-color:#9bb9dc;scroll-margin-top:90px}
[data-match-error]:not(:empty){margin:10px 0 0;padding:10px 12px;border:1px solid #d99595;border-radius:9px;background:#fff0f0;color:#7d2525;font-size:13px;line-height:1.5}
.dashboard-bar-values .preliminary{background:repeating-linear-gradient(135deg,#6da0d6 0,#6da0d6 5px,#a7c6e8 5px,#a7c6e8 9px)}
.legend .preliminary-key{background:repeating-linear-gradient(135deg,#6da0d6 0,#6da0d6 3px,#a7c6e8 3px,#a7c6e8 6px)}
.music-chart-note{margin:12px 0 0;color:#62738a;font-size:11px;line-height:1.45}
.music-module [data-active-trip]{scroll-margin-top:96px}
.stats>a.stat{display:block;text-decoration:none}
.transaction-cost-summary{display:flex;align-items:center;justify-content:space-between;gap:12px 25px;flex-wrap:wrap;margin:0 16px 16px;padding:16px 18px;border:1px solid #ceddf0;border-radius:14px;background:#f3f8ff;color:#173454}.transaction-cost-summary>div{display:grid;gap:4px}.transaction-cost-summary small{font-size:12px;font-weight:700}.transaction-cost-summary b{font-size:24px}.transaction-cost-summary p{max-width:530px;margin:0;font-size:12px;line-height:1.5;color:#506680}
.pending-music-costs{margin:0 16px 16px;padding:16px 18px;border:1px solid #e9d5af;border-radius:14px;background:#fffaf1}.pending-music-costs h3{font-size:16px;margin:0 0 4px}.pending-music-costs>p{color:#725d39;font-size:12px;line-height:1.5;margin:0 0 10px}.pending-music-costs>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #f0e2ca}.pending-music-costs>div>span{display:grid;gap:4px;min-width:0}.pending-music-costs small{color:#5c6572;line-height:1.45;overflow-wrap:anywhere}.pending-music-costs button{flex:none}@media(max-width:620px){.pending-music-costs>div{align-items:stretch;flex-direction:column}.pending-music-costs button{align-self:flex-start}}

.music-source-facts{display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,1fr);gap:18px;align-items:start}.music-source-preview iframe{width:100%;min-height:520px;border:1px solid var(--line);border-radius:16px;background:#fff}.music-source-preview .secondary{display:inline-flex;margin-top:10px}@media(max-width:760px){.music-source-facts{grid-template-columns:1fr}.music-source-preview iframe{min-height:360px}}
.review-queue-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.review-queue-heading h2{margin:8px 0 0}.music-review-case{border:1px solid var(--line);border-radius:18px;background:#fff;margin:14px 0;overflow:hidden}.music-review-case>summary{cursor:pointer;display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(210px,1fr) auto;align-items:center;gap:18px;padding:18px;list-style:none}.music-review-case>summary::-webkit-details-marker{display:none}.music-review-case>summary span{display:flex;flex-direction:column;gap:4px}.music-review-case>summary small{color:var(--muted);line-height:1.35}.review-case-body{border-top:1px solid var(--line);padding:20px}.review-side-by-side{display:grid;grid-template-columns:minmax(300px,1.1fr) minmax(280px,.9fr);gap:18px;align-items:start;margin:18px 0}.review-document-pane iframe{width:100%;height:520px;border:1px solid var(--line);border-radius:14px;background:#fff}.review-document-pane .secondary{display:inline-flex;margin-top:10px}.review-bank-pane{border:1px solid var(--line);border-radius:14px;padding:16px;background:var(--soft,#f5f8fc)}.review-bank-pane h4{margin:0 0 12px}.review-bank-pane article{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid var(--line)}.review-bank-pane article:first-of-type{border-top:0}.review-mapping-row{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(340px,1.35fr);gap:14px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.review-mapping-row>span{display:flex;flex-direction:column;gap:4px}.review-mapping-row small{color:var(--muted)}.review-mapping-fields{display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) minmax(180px,1.4fr);gap:10px}.review-posting-preview{margin:18px 0;padding:16px;border-radius:14px;background:#eaf4ff;border:1px solid #b9d8fa}.review-posting-preview p{margin:6px 0 0;line-height:1.5}.review-actions{display:flex;gap:10px;flex-wrap:wrap}.music-review-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid var(--line)}.music-review-card h3,.music-review-card p{margin:0}.music-review-card p{margin-top:5px;color:var(--muted)}
@media(max-width:760px){.review-queue-heading{align-items:flex-start}.music-review-case>summary{grid-template-columns:1fr;gap:10px}.review-side-by-side{grid-template-columns:1fr}.review-document-pane iframe{height:360px}.review-mapping-row,.review-mapping-fields{grid-template-columns:1fr}.review-actions{flex-direction:column}.review-actions button{width:100%}}

[data-review-document]{width:100%;max-height:620px;overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff;padding:8px}[data-review-document] canvas,[data-review-document] img{display:block;width:100%;height:auto}[data-review-document]>div{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}[data-review-document] pre{white-space:pre-wrap;overflow-wrap:anywhere}

.tax-account-toolbar-button{position:relative;min-width:48px;min-height:44px;border:1px solid #ccd7e4;border-radius:12px;background:#f5f8fc;color:#173b61;font-weight:700;padding:8px 12px;cursor:pointer}.tax-account-toolbar-button[hidden]{display:none}.tax-account-badge{position:absolute;right:-5px;top:-7px;min-width:20px;padding:2px 4px;border-radius:12px;background:#bd382b;color:white;font-size:11px}.music-module [data-tax-review]{display:grid;gap:12px}.music-module [data-tax-review] .field{display:grid;gap:6px}.music-module [data-tax-review] [hidden]{display:none}@media(max-width:600px){.music-workspace .topbar{flex-wrap:wrap;gap:8px}.music-workspace .top-actions{max-width:100%;flex-wrap:wrap;gap:6px}.tax-account-toolbar-button{padding:6px;min-width:40px}}

body.music-workspace .topbar .top-actions>button.tax-account-toolbar-button{display:flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:48px;height:44px;padding:6px 8px;font-size:12px;border:1px solid #ccd7e4;border-radius:12px;background:#f5f8fc;color:#173b61}.tax-account-toolbar-button .tax-account-badge{position:static;min-width:18px;line-height:16px}@media(max-width:600px){body.music-workspace .topbar{height:auto;min-height:65px;padding-top:8px;padding-bottom:8px}}

/* Shared bank review: a compact statement list, including the mobile sheet. */
.bank-review-panel{min-width:0;color:#142c49;margin-bottom:24px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.bank-review-heading{margin:0 0 20px;font-size:24px;letter-spacing:-.035em}
.bank-review-overview{padding:20px;border:1px solid #dce5ee;border-radius:16px;background:#f6f9fc}
.bank-review-eyebrow{margin:0 0 16px;font-size:10px;font-weight:750;letter-spacing:.1em;color:#62748b}
.bank-review-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bank-review-totals>div{display:grid;gap:5px;border-right:1px solid #dce5ee;padding-right:8px}
.bank-review-totals>div:last-child{border:0;padding:0}.bank-review-totals strong{font-size:28px;line-height:1;font-weight:750;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.bank-review-totals span{font-size:12px;color:#61738b}.bank-review-totals .has-difference strong{color:#9c6316}
.bank-review-intro{margin:18px 0 0;font-size:12px;line-height:1.6;color:#61738b;max-width:46em}
.bank-review-group{margin-top:22px}.bank-review-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:0 2px 13px;font-size:14px;font-weight:700;color:#243d5a}.bank-review-group>summary::-webkit-details-marker{display:none}.bank-review-group>summary>span{display:flex;align-items:center;gap:9px}.bank-review-group>summary b{display:inline-grid;place-items:center;min-width:25px;height:23px;padding:0 6px;background:#e9eff6;border-radius:7px;font-size:11px;font-weight:650;color:#45617f}.bank-review-group svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.bank-review-group[open]>summary>svg{transform:rotate(90deg)}
.bank-review-list{border:1px solid #dce5ee;border-radius:15px;overflow:hidden;background:#fff}.bank-review-row{padding:18px 20px;border-bottom:1px solid #e7edf3;min-width:0}.bank-review-row:last-child{border-bottom:0}.bank-review-row-head{display:flex;justify-content:space-between;align-items:start;gap:18px}.bank-review-row h3{margin:0;font-size:13px;font-weight:650;line-height:1.5;overflow-wrap:anywhere;min-width:0}.bank-review-amount{white-space:nowrap;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.5}.bank-review-date{margin:5px 0 0;font-size:11px;color:#728299;font-variant-numeric:tabular-nums}.bank-review-note,.bank-review-evidence{margin:10px 0 0;font-size:12px;color:#61738b;line-height:1.6}.bank-review-row-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.bank-review-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#806127;line-height:1.4}.bank-review-status i{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#c49b4b}.bank-review-status.is-matched{color:#287563}.bank-review-status.is-matched i{background:#399b81}.bank-review-status.is-difference{color:#a44b32}.bank-review-status.is-difference i{background:#c56e52}
.bank-review-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 13px;box-sizing:border-box;border:1px solid #ceddeb;border-radius:10px;background:#f0f6fc;color:#164e85;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}.bank-review-action:hover{background:#e3effa;border-color:#9fbedb}.bank-review-action:focus-visible,.bank-review-group>summary:focus-visible{outline:3px solid #76a8dd;outline-offset:3px}.bank-review-empty{padding:18px;margin:0;font-size:13px;color:#62748b}
.modal:has(.bank-review-panel){width:min(660px,calc(100vw - 32px))}.modal:has(.bank-review-panel) .modal-head{padding:21px 24px;align-items:center}.modal:has(.bank-review-panel) .modal-head h2{font-size:23px}.modal:has(.bank-review-panel) .modal-body{padding:22px 24px;background:#fff}.modal .bank-review-panel{margin:0}.bank-review-completed{margin-top:24px}
@media(max-width:620px){.modal:has(.bank-review-panel){width:100%;border-radius:22px 22px 0 0}.modal:has(.bank-review-panel) .modal-head{padding:18px 18px 16px}.modal:has(.bank-review-panel) .modal-head h2{font-size:23px}.modal:has(.bank-review-panel) .modal-body{padding:18px 16px max(24px,env(safe-area-inset-bottom))}.bank-review-overview{padding:17px 16px}.bank-review-totals{gap:8px}.bank-review-totals strong{font-size:27px}.bank-review-totals span{font-size:11px}.bank-review-row{padding:16px}.bank-review-row-head{flex-direction:column;gap:5px}.bank-review-row h3{font-size:13px}.bank-review-amount{font-size:16px}.bank-review-date{font-size:11px}.bank-review-intro{font-size:12px}.bank-review-group{margin-top:20px}.bank-review-action{font-size:12px}.bank-review-row-foot{margin-top:10px}}

/* Bank review keeps the source, explanation and result in the same card. */
.bank-explanation .page-panel{padding:24px;margin-bottom:20px}
.bank-explanation .page-panel h2{font-size:clamp(20px,4vw,26px);overflow-wrap:anywhere}
.bank-source-picker{margin:18px 0;border:1px solid var(--border,#d5dfeb);border-radius:16px;padding:16px;background:#f8faff}
.bank-source-picker summary{font-weight:650;cursor:pointer;min-height:32px}
.bank-source-picker .field{margin-top:14px}
.bank-source-list{max-height:340px;overflow:auto;overscroll-behavior:contain;margin:12px 0}
.bank-source-row{padding:14px 0;border-bottom:1px solid #dce4ef;display:flex;align-items:center;gap:12px}
.bank-source-row[hidden]{display:none}
.bank-source-row label{display:flex;gap:10px;align-items:flex-start;flex:1;min-width:0;cursor:pointer}
.bank-source-row input[type=radio]{width:20px;height:20px;flex:none;margin-top:3px}
.bank-source-row small{display:block;color:#617089;margin-top:4px;overflow-wrap:anywhere}
.bank-source-row b{overflow-wrap:anywhere}
.bank-source-picker button,.bank-source-picker .file-label{min-height:44px;margin:4px 4px 4px 0}
.bank-source-picker [data-source-preview-host]{margin-top:14px;max-height:65vh;overflow:auto}
.bank-source-picker [data-source-preview-host] img,.bank-source-picker [data-source-preview-host] canvas{max-width:100%;height:auto}
.bank-source-picker pre{white-space:pre-wrap;overflow-wrap:anywhere}
.bank-explanation [data-review-error]:empty{display:none}
@media(max-width:600px){.bank-explanation .page-panel{padding:18px}.bank-source-picker{padding:12px}.bank-source-row{flex-wrap:wrap}.bank-source-row label{flex-basis:100%}}
.bank-source-picker .bank-source-hint{font-size:14px;color:#617089;margin:10px 0}
.bank-source-row .bank-source-reasons{color:#215c52;font-weight:600}
.bank-source-row .bank-source-warning{color:#855420;font-weight:600}
.bank-source-suggested{border-left:3px solid #729cae;padding-left:12px}
.bank-source-picker [data-other-sources]>summary{font-size:14px;color:#52647d;margin-top:10px}

.bank-purchase-correction{margin:18px 0;padding:18px;border:1px solid #b7cfdf;border-radius:16px;background:#eef6fc}
.bank-purchase-correction h3{margin:0 0 10px;font-size:18px}
.bank-purchase-correction label{display:flex;align-items:flex-start;gap:12px;min-height:44px;cursor:pointer;line-height:1.5}
.bank-purchase-correction input[type=checkbox]{flex:0 0 auto;width:22px;height:22px;margin:3px 0;accent-color:#13548b}

.bank-purchase-correction label.field{display:grid;gap:6px;margin:14px 0}

.document-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:16px 20px;border-bottom:1px solid var(--line)}
.document-search .field{font-size:13px;font-weight:600}.document-search input{font-size:16px;min-height:44px}.document-search button{min-height:44px}.document-search p{grid-column:1/-1;margin:0;color:var(--muted);font-size:13px}

/* Document removal uses the same archive action in every edition. */
.modal:has(.document-removal){background:#fff;max-width:520px}
.modal:has(.document-removal) .modal-head{padding:24px 24px 0;border:0;background:#fff;align-items:center;gap:16px}
.modal:has(.document-removal) .modal-head h2{font:750 24px/1.25 var(--font-sans,Arial,sans-serif);letter-spacing:-.5px;color:#122e50}
.modal:has(.document-removal) .close{width:40px;height:40px;flex-basis:40px;background:#f1f4f8;color:#53657c;font-size:23px}
.modal:has(.document-removal) .modal-body{padding:12px 24px 24px;background:#fff}
.document-removal{font-size:15px;line-height:1.55;color:#53657c}
.document-removal-intro{margin:0 0 20px}
.document-removal-file{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid #e1e7ef;border-radius:14px;background:#f7f9fc}
.document-removal-file>span{display:grid;place-items:center;width:40px;height:44px;flex:0 0 40px;border-radius:10px;background:#e8eff8;color:#245887}
.document-removal-file svg{width:23px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.document-removal-file>div{min-width:0}.document-removal-file small{display:block;margin-bottom:5px;font-size:10px;letter-spacing:1px;font-weight:750;color:#697b92}
.document-removal-file strong{display:block;font-size:15px;line-height:1.5;font-weight:650;color:#183650;overflow-wrap:anywhere}
.document-removal-note{margin:20px 0 12px}.document-removal-note strong{font-weight:650;color:#284764}
.document-removal-protection{margin:0;font-size:13px;line-height:1.5;color:#738096}
.document-removal-error:not([hidden]){margin:16px 0 0;padding:12px 14px;border:1px solid #edc9ce;border-radius:10px;color:#9b2940;background:#fff5f6;font-size:14px}
.document-removal-actions{position:static;margin:24px 0 0;padding:0;border:0;background:transparent;box-shadow:none;flex-wrap:nowrap;gap:12px}
.document-removal-actions button{min-height:48px;border-radius:12px;padding:12px 18px;font-family:inherit;font-size:15px;font-weight:650;line-height:1.4;cursor:pointer;flex:1}
.document-removal-actions button.secondary{color:#274663;background:#fff;border:1px solid #d7e0ea}
.document-removal-actions button.danger{flex:1.6;background:#a52c43;color:#fff;border:1px solid #a52c43;box-shadow:0 3px 8px #a52c4314}
.document-removal-actions button.danger:hover{background:#8c2135;border-color:#8c2135}.document-removal-actions button:disabled{opacity:.65;cursor:wait}
.document-removal-actions button:focus-visible{outline:3px solid #78a9d8;outline-offset:3px}
@media(max-width:620px){.modal:has(.document-removal){max-width:none;border-radius:24px 24px 0 0}.modal:has(.document-removal) .modal-head{padding:24px 20px 0}.modal:has(.document-removal) .modal-body{padding:12px 20px max(24px,env(safe-area-inset-bottom))}.document-removal-actions{flex-direction:column-reverse;gap:10px}.document-removal-actions button{width:100%;flex:auto}}

/* Archived originals: readable filenames and separate restore controls. */
.modal:has(.archived-documents){width:min(600px,calc(100vw - 36px));background:#fff}
.modal:has(.archived-documents) .modal-head{padding:24px 24px 0;border:0;align-items:center;gap:12px;background:#fff}
.modal:has(.archived-documents) .modal-head h2{font-family:inherit;font-size:24px;font-weight:750;line-height:1.25;letter-spacing:-.5px;color:#122e50}
.modal:has(.archived-documents) .close{width:40px;height:40px;flex-basis:40px;background:#f1f4f8;color:#53657c;font-size:23px}
.modal:has(.archived-documents) .modal-body{padding:12px 24px 24px;background:#fff}
.archived-documents{font-size:15px;line-height:1.55;color:#53657c}.archived-documents-intro{margin:0 0 24px;max-width:48ch}
.archived-documents-count{margin:0 0 10px;font-size:12px;font-weight:650;color:#738096}
.archived-documents-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.archived-document{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px;border:1px solid #e1e7ef;border-radius:14px;background:#f8fafc}
.archived-document-identity{display:flex;align-items:flex-start;gap:12px;min-width:0}.archived-document-identity strong{font-size:14px;font-weight:650;line-height:1.55;overflow-wrap:anywhere;color:#183650;min-width:0}
.archived-document-icon{display:grid;place-items:center;width:36px;height:40px;flex:0 0 36px;border-radius:9px;background:#e8eff8;color:#245887}
.archived-document svg{width:20px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.archived-document button.secondary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #cfdcea;border-radius:10px;background:#fff;color:#245887;font-family:inherit;font-size:14px;font-weight:650;cursor:pointer}
.archived-document button:hover{background:#edf4fc}.archived-document button:focus-visible{outline:3px solid #78a9d8;outline-offset:3px}.archived-document button:disabled{opacity:.65;cursor:wait}
.archived-document-error:not([hidden]){grid-column:1/-1;margin:0;padding:10px 12px;border-radius:9px;background:#fff0f2;color:#9b2940;font-size:13px}
.archived-documents-empty{padding:24px;text-align:center;border:1px dashed #d2dce8;border-radius:14px;background:#f8fafc}.archived-documents-empty strong{color:#183650}.archived-documents-empty p{margin:8px 0 0;font-size:14px}
@media(max-width:620px){.modal:has(.archived-documents){width:100%;border-radius:24px 24px 0 0}.modal:has(.archived-documents) .modal-head{padding:24px 20px 0}.modal:has(.archived-documents) .modal-head h2{font-size:23px}.modal:has(.archived-documents) .modal-body{padding:12px 20px max(24px,env(safe-area-inset-bottom))}.archived-document{grid-template-columns:minmax(0,1fr);gap:14px;padding:16px}.archived-document button.secondary{width:100%;min-height:46px}}

.archived-document-actions{display:flex;flex-direction:column;gap:8px}.archived-document button.archive-permanent{color:#a52c43;border-color:#e7c8cf;background:#fff}.archived-document button.archive-permanent:hover{background:#fff2f4}

/* Report identities use stable vector strokes rather than font-dependent glyphs. */
.report-grid .report-card{grid-template-columns:46px minmax(0,1fr) 20px;grid-template-rows:auto;align-items:center;gap:16px;padding:22px;text-align:left}
.report-grid .report-card>.report-card-icon{grid-row:auto;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#245488;background:#eaf1f9}
.report-card-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.report-grid .report-card i{grid-column:3;grid-row:1;justify-self:end;color:#7790aa;line-height:0}
.report-card i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.report-grid .report-card b{color:var(--ink)}
.ai-spending-evidence{margin:16px 0;min-width:0}.ai-spending-total{display:grid;gap:6px;padding:18px;border-radius:14px;background:#eaf2fb;color:#153c66}.ai-spending-total strong{font-size:28px}.ai-spending-total small,.ai-spending-total span{font-size:12px}
.ai-spending-evidence summary{padding:16px 0;font-weight:700;cursor:pointer}.ai-evidence-list{display:grid;gap:10px}.ai-evidence-list>[data-spending-item]{padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff}.ai-evidence-heading{display:flex;justify-content:space-between;align-items:start;gap:14px}.ai-evidence-heading>div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}.ai-evidence-heading>strong{white-space:nowrap}.ai-evidence-heading small{color:var(--muted)}.ai-evidence-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
[data-evidence-host]:not(:empty){display:grid;gap:12px;margin-top:14px}.evidence-original-body{min-width:0;max-width:100%;overflow:auto}.evidence-original-body img{display:block;max-width:100%;height:auto}.evidence-original-body pre{white-space:pre-wrap;overflow-wrap:anywhere}.evidence-original-body.declaration-pdf-shell{min-height:250px;height:55vh;margin:0}
@media(max-width:620px){.report-grid .report-card{padding:18px;gap:12px}.ai-evidence-heading{flex-wrap:wrap}}

/* Music grants: scoped directory, no bookkeeping controls. */
.grants-page{max-width:1120px;margin:auto;color:#18344f}.grants-eyebrow{font-size:12px;letter-spacing:.14em;font-weight:750;color:#526d89}.grants-page h1{font-size:clamp(28px,4vw,38px);margin:8px 0 12px}.grants-note,.grants-page footer{font-size:14px;color:#63758a;line-height:1.6}.grants-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;margin:24px 0 16px}.grants-filters label{display:grid;gap:8px;font-size:13px;font-weight:650;min-width:0}.grants-filters input,.grants-filters select{width:100%;min-width:0;min-height:46px;border:1px solid #cfdbe6;border-radius:12px;background:white;padding:10px;font:inherit}.grants-saved{display:flex;gap:10px;align-items:center}.grants-saved input{width:20px;height:20px}.grants-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grant-card{padding:24px;background:#fff;border:1px solid #dbe4ed;border-radius:20px;min-width:0;line-height:1.6;overflow-wrap:anywhere}.grant-card-top{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:12px;color:#64788b}.grant-status{border-radius:20px;background:#edf1f5;padding:4px 10px;font-weight:650}.grant-status.open{background:#e4f4ec;color:#196141}.grant-status.upcoming{background:#e8f0ff;color:#234d87}.grant-provider{font-size:13px;color:#63758a;margin:18px 0 5px}.grant-card h2{font-size:21px;margin:0 0 12px;line-height:1.3}.grant-amount{font-weight:650}.grant-card dl{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:14px}.grant-card dt{color:#63758a}.grant-card dd{margin:0}.grant-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.grant-actions a,.grant-actions button{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #cbd9e7;border-radius:10px;color:#234b73;background:#f8fafc;font:inherit;font-size:14px;text-decoration:none}.grant-actions button[aria-pressed=true]{background:#e4f4ec;color:#196141}.grant-card small{font-size:12px;color:#63758a}.grants-page footer{margin-top:28px}.grants-page a:focus-visible,.grants-page button:focus-visible{outline:3px solid #177cce;outline-offset:3px}#grantsToolbarButton[hidden]{display:none!important}@media(max-width:700px){.grants-filters{grid-template-columns:1fr 1fr}.grants-filters label:first-child{grid-column:1/-1}.grants-grid{grid-template-columns:1fr}.grant-card{padding:20px}.music-workspace .top-actions{flex-wrap:wrap}body.music-workspace .topbar .top-actions>#grantsToolbarButton{font-size:11px;padding:6px}}
.grant-application{background:#fff;border:1px solid #cbdbe9;border-radius:20px;padding:24px;margin:22px 0;scroll-margin-top:150px}.grant-application[hidden]{display:none}.grant-application header{display:flex;justify-content:space-between;gap:14px;align-items:start}.grant-application h2{font-size:23px}.grant-application form{display:grid;gap:12px}.grant-application textarea{display:block;box-sizing:border-box;width:100%;min-height:120px;border:1px solid #ccd9e7;border-radius:12px;padding:14px;font:inherit;line-height:1.6}.grant-application [data-application-messages] article{border-top:1px solid #dce5ef;margin-top:18px;padding-top:18px}.grant-application article p{white-space:pre-wrap}.grant-application button{min-height:44px}.grant-application [role=alert]{color:#a33232}.grant-actions .primary{background:#174873;color:#fff}@media(max-width:600px){.grant-application{padding:18px}.grant-application header{flex-wrap:wrap}}

/* Music mobile toolbar: stable identity row and equally sized shortcuts. */
@media(max-width:700px){
 body.music-workspace .topbar{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px 4px;height:auto;min-height:112px;padding:10px 12px;background:#fff;align-items:center}
 body.music-workspace .topbar .mobile-menu{width:44px;height:44px;min-width:44px;border-radius:12px;color:#234b73}
 body.music-workspace .topbar .company-switch{min-width:0;max-width:none;width:100%;height:44px;gap:8px;margin:0;padding:0 104px 0 0}
 body.music-workspace .topbar .company-logo{width:32px;height:32px;flex:0 0 32px}
 body.music-workspace .topbar .company-switch b{max-width:100%;font-size:12px;line-height:1.3}
 body.music-workspace .topbar .company-switch>span:nth-child(2){min-width:0;overflow:hidden}
 body.music-workspace .topbar .company-switch small,body.music-workspace .topbar .company-switch>span:last-child{display:none}
 body.music-workspace .topbar .top-actions{display:grid;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;max-width:none}
 body.music-workspace .topbar .top-actions>button.tax-account-toolbar-button,
 body.music-workspace .topbar .top-actions>button.account-toolbar-button,
 body.music-workspace .topbar .top-actions>button.card-toolbar-button{width:100%;min-width:0;height:44px;min-height:44px;padding:6px 3px;gap:3px;border:1px solid #e1e7ee;border-radius:10px;background:#f6f8fb;box-shadow:none;color:#284765;font-size:11px;justify-content:center;white-space:nowrap}
 body.music-workspace .topbar .top-actions>button.account-toolbar-button>span,
 body.music-workspace .topbar .top-actions>button.card-toolbar-button>span{display:none}
 body.music-workspace .topbar .top-actions>button.account-toolbar-button b,
 body.music-workspace .topbar .top-actions>button.card-toolbar-button b{display:block;font-size:11px}
 body.music-workspace .topbar .top-actions>#aiButton,
 body.music-workspace .topbar .top-actions>[data-action="new"]{position:absolute;top:10px;right:12px;width:44px;min-width:44px;height:44px;min-height:44px;padding:6px;display:flex;align-items:center;justify-content:center;border-radius:12px}
 body.music-workspace .topbar .top-actions>#aiButton{right:62px;background:#eef2f8;color:#284765;box-shadow:none}
 body.music-workspace .topbar .top-actions>#aiButton span{background:transparent;color:inherit;width:30px;height:30px}
 body.music-workspace .topbar .top-actions>#aiButton b{display:none}
 body.music-workspace .topbar .top-actions>[data-action="new"]{font-size:0;background:#174878;box-shadow:none}
 body.music-workspace .topbar .top-actions>[data-action="new"]::after{content:'+';font-size:24px;font-weight:500}
 body.music-workspace .topbar .tax-account-badge{min-width:16px;font-size:10px;padding:1px 3px}
 body.music-workspace .topbar button:focus-visible{outline:3px solid #3387c5;outline-offset:2px}
}
@media(max-width:700px){
 body.music-workspace .topbar .top-actions>#grantsToolbarButton{padding:6px 3px}
 body.music-workspace .topbar .tax-account-toolbar-button .tax-account-badge{position:absolute;top:-5px;right:-3px;min-width:18px;height:18px;line-height:16px;border:1px solid #fff;border-radius:9px}
}

/* Keep back navigation clear of the actual toolbar, including wrapped labels. */
body.music-workspace #content>.app-back-row{top:calc(var(--finxo-topbar-height,76px) + 8px)}
body.music-workspace .tax-account-toolbar-button>.nav-icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){
 body.music-workspace .topbar .top-actions>button.tax-account-toolbar-button,
 body.music-workspace .topbar .top-actions>button.account-toolbar-button,
 body.music-workspace .topbar .top-actions>button.card-toolbar-button{display:flex;flex-direction:column;height:58px;min-height:58px;gap:4px;padding:6px 3px}
 body.music-workspace .topbar .top-actions>button.account-toolbar-button>span,
 body.music-workspace .topbar .top-actions>button.card-toolbar-button>span{display:flex;align-items:center;justify-content:center;width:22px;height:22px;background:transparent;border-radius:0;box-shadow:none}
 body.music-workspace .topbar .top-actions>button.account-toolbar-button svg,
 body.music-workspace .topbar .top-actions>button.card-toolbar-button svg{width:22px;height:22px}
 body.music-workspace .topbar .tax-account-toolbar-button>.nav-icon{width:22px;height:22px}
}
/* Clipping must not create an intermediate scroll container for sticky controls. */
html:has(body.music-workspace),body.music-workspace{overflow-x:clip}

/* Invoice branding is printed directly on the page, without an upload frame. */
.music-module .music-invoice-brand { max-width:280px; max-height:150px; padding:0; border:0; border-radius:0; background:transparent; margin:20px 0 28px; }

/* Shared field guidance without changing page layout. */
[aria-invalid="true"]{outline:2px solid #b42318;outline-offset:2px}
[data-native-field-error],[data-field-error]{display:block;font-size:14px;margin-top:6px;color:#b42318}

/* Keep the grant count grouped with its icon, inside the shortcut hit area. */
body.music-workspace #grantsToolbarButton .grant-shortcut-icon{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none}
body.music-workspace #grantsToolbarButton .nav-icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.music-workspace #grantsToolbarButton .grant-shortcut-count{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#eee4ec;color:#723a60;font-family:inherit;font-size:10px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}

/* Financing dialog: one title, quiet sections and actions in the scroll flow. */
.modal:has(.financing-form-wide){width:min(760px,calc(100vw - 24px))}
.modal:has(.financing-form-wide) .modal-head{padding:22px 24px;align-items:center}
.modal:has(.financing-form-wide) .modal-head h2{font-size:24px;line-height:1.25;letter-spacing:-.025em}
.modal:has(.financing-form-wide) .modal-body{padding:20px 24px 24px;background:#f7f9fc;scroll-padding-block:20px}
.financing-form-wide{gap:20px}
.financing-form-wide .financing-intro{display:flex;align-items:center;gap:12px;padding:0;border:0;border-radius:0;background:none}
.financing-form-wide .financing-intro>span{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#e8eff7;color:#245488}
.financing-intro svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.financing-intro p{margin:0;color:#607087;font-size:13px;line-height:1.6}
.financing-form-wide .financing-section{min-width:0;padding:20px;border:1px solid #e0e6ef;border-radius:16px;background:#fff}
.financing-section h3{margin:0;font-size:16px;line-height:1.4;color:#173653}
.financing-form-wide .employment-section-grid{margin-top:18px;gap:18px}
.financing-form-wide .agreement-field{font-weight:600;gap:7px}
.financing-form-wide .agreement-field input,.financing-form-wide .agreement-field select{font-weight:400}
.financing-form-wide .financing-bookkeeping{padding:20px;border-color:#e0e6ef;background:#fff;gap:14px}
.financing-form-wide .financing-bookkeeping-grid{grid-template-columns:1fr;gap:12px}
.financing-form-wide .financing-preview,.financing-form-wide .warning{min-height:0;padding:14px}
.modal:has(.financing-form-wide) .modal-actions{position:static;bottom:auto;margin:0;padding:16px 0 max(4px,env(safe-area-inset-bottom));border-top:1px solid #dfe6ef;background:transparent}
.modal:has(.financing-form-wide) .modal-actions button{min-height:48px}
@media(max-width:760px){
 .modal:has(.financing-form-wide) .modal-head{padding:20px 18px;gap:12px}
 .modal:has(.financing-form-wide) .modal-head h2{font-size:22px}
 .modal:has(.financing-form-wide) .modal-body{padding:18px}
 .financing-form-wide .financing-section,.financing-form-wide .financing-bookkeeping{padding:18px}
 .financing-form-wide .employment-section-grid{gap:16px}
}
.financing-form-wide #formError:empty{display:none}
.modal:has(.financing-form-wide) .modal-actions{box-shadow:none}

.vat-settlement-summary{display:grid;gap:10px;margin:20px 0;padding:24px;border:1px solid #d6e2ef;border-radius:16px;background:#f1f6fc;color:#173653}
.vat-settlement-summary>small{font-size:11px;font-weight:700;letter-spacing:.08em;color:#5a7089}
.vat-settlement-summary h3{margin:0;font-size:20px;line-height:1.35}
.vat-settlement-summary>strong{font-size:32px;line-height:1.2;font-variant-numeric:tabular-nums}
.vat-settlement-summary p{margin:0;font-size:13px;line-height:1.6;color:#536980;max-width:72ch}
.vat-settlement-summary .vat-sign-guide{display:flex;flex-wrap:wrap;gap:8px 22px;padding:10px 0;border-bottom:1px solid #d6e2ef;color:#173653}
.vat-sign-guide span{display:inline-flex;gap:7px;align-items:center}.vat-sign-guide b{font-size:18px}
@media(max-width:600px){.vat-settlement-summary{padding:18px}.vat-settlement-summary h3{font-size:18px}.vat-settlement-summary>strong{font-size:28px}}

/* Privacy uses the shared fixed header and independently scrolling dialog body. */
.modal:has(.privacy-center){width:min(760px,calc(100vw - 36px));background:#fff}
.modal:has(.privacy-center) .modal-head{padding:22px 24px;gap:16px;align-items:center;background:#fff}
.modal:has(.privacy-center) .modal-head h2{font-family:inherit;font-size:24px;line-height:1.25;letter-spacing:-.025em;color:#122e50}
.modal:has(.privacy-center) .close{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;font-size:24px;color:#486078;background:#f0f4f8}
.modal:has(.privacy-center) .modal-body{padding:0 24px 24px;background:#f7f9fc}
.modal:has(.privacy-center) .privacy-center{padding:20px 0 0;gap:16px;font-size:15px}
.privacy-center>section{min-width:0}
.privacy-center h3{font-size:18px;line-height:1.35}
.privacy-controller small{font-size:11px;letter-spacing:.08em}
.privacy-controller a{color:#225a88;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}
.privacy-center summary{font-size:15px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.privacy-center summary:focus-visible,.modal:has(.privacy-center) button:focus-visible{outline:3px solid #388ac8;outline-offset:3px}
.modal:has(.privacy-center) .modal-actions{position:static;margin:20px 0 0;padding:0;border:0;box-shadow:none;background:transparent}
.modal:has(.privacy-center) .modal-actions button{min-height:44px;min-width:100px;color:#225a88}
@media(max-width:620px){
 .modal:has(.privacy-center){width:100%;border-radius:22px 22px 0 0}
 .modal:has(.privacy-center) .modal-head{padding:18px;gap:12px}
 .modal:has(.privacy-center) .modal-head h2{font-size:21px}
 .modal:has(.privacy-center) .modal-body{padding:0 16px max(20px,env(safe-area-inset-bottom))}
 .modal:has(.privacy-center) .privacy-center{padding-top:16px;gap:12px}
 .privacy-center>section{padding:16px}
 .privacy-documents details,.privacy-processing details{padding:12px}
}

/* Keep managed sign-in centered within the visible viewport, including above the keyboard. */
.modal-backdrop:has([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]){place-items:center;padding:16px;box-sizing:border-box}
.modal:has([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]){width:min(440px,100%);max-height:100%;border-radius:22px;box-shadow:0 24px 80px rgba(8,25,48,.24)}
.modal:has([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .modal-head{align-items:center;padding:16px 20px}
.modal:has([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .modal-head h2{font-family:inherit;font-size:20px;line-height:1.3;letter-spacing:-.02em}
.modal:has([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .close{width:40px;height:40px;flex-basis:40px;display:grid;place-items:center;font-size:22px;color:#38536e;background:#f0f4f8}
.modal:has([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .modal-body{padding:20px;scroll-padding:20px}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .registration-intro{margin:0 auto 20px}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .registration-intro h2{font-family:inherit;font-size:26px;line-height:1.2;letter-spacing:-.025em;margin:12px 0 8px}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .registration-intro p{font-size:14px;line-height:1.5}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .bankid-badge{font-size:12px;padding:6px 12px}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .field + .field{margin-top:14px}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .field label{font-size:12px;color:#43536b}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .field input{font-size:16px;min-height:46px;border-radius:10px}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .identity-status-note{padding:12px 14px;font-size:13px;line-height:1.5;background:#f5f8fc;border-color:#dce5ef;border-radius:12px}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .field-help{font-size:12px;line-height:1.5}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .managed-forgot-password{min-height:44px;font-size:14px}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .modal-actions{position:static;margin:18px 0 0;padding:16px 0 0;box-shadow:none;display:grid;grid-template-columns:1fr 1fr}
:is([data-managed-credential-form], [data-managed-code-form], [data-managed-reset], [data-managed-new-password]) .modal-actions button{min-height:46px;margin:0;font-size:15px;border-radius:11px}

.registration-role-icon.music{font-size:40px;line-height:1;font-weight:600}

/* Shared dialog shell: center short forms and contain long forms in the visible viewport. */
.modal-backdrop{box-sizing:border-box;place-items:center;padding:16px}
.modal-backdrop .modal{max-height:100%;max-width:100%;border-radius:22px}
.modal-backdrop .modal-head{align-items:center;gap:16px;padding:18px 20px}
.modal-backdrop .modal-head h2{font-family:inherit;font-size:22px;line-height:1.25;letter-spacing:-.025em}
.modal-backdrop .modal-head .close{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;font-size:22px;color:#38536e;background:#f0f4f8}
.modal .registration-intro{margin:0 auto 22px;text-align:left}
.modal .registration-intro h2{font-family:inherit;font-size:26px;line-height:1.2;letter-spacing:-.025em;margin:14px 0 10px}
.modal .registration-intro p{font-size:15px;line-height:1.55}
.modal .bankid-badge{font-size:12px;line-height:1.4;padding:7px 12px}
.modal .field label{font-size:12px;line-height:1.4;color:#43536b}
.modal .field input:not([type=checkbox]):not([type=radio]),.modal .field select,.modal .field textarea{font-size:16px;min-height:46px}
.modal .field small{font-size:12px;line-height:1.5;color:#61728a}
.modal .modal-actions button{min-height:44px;line-height:1.3}
@media(max-width:620px){
 .modal-backdrop{align-items:center;padding:16px}
 .modal-backdrop .modal{width:100%;max-height:100%;border-radius:22px}
 .modal-backdrop .modal-head{padding:16px}
 .modal-backdrop .modal-head h2{font-size:21px}
 .modal-body{padding:20px}
 .modal-actions{bottom:-20px;margin:20px -20px -20px;padding:16px 20px;gap:10px}
 .modal .modal-actions>button{flex:1 1 120px;font-size:15px}
 .modal .registration-intro h2{font-size:24px}
}

.remember-device{display:flex;align-items:flex-start;gap:10px;margin-top:16px;color:#263f5c;font-size:14px;line-height:1.45;cursor:pointer}.remember-device input{width:20px;height:20px;flex:0 0 20px;margin:1px 0 0;accent-color:#174f8f}.remember-device span{display:grid;gap:3px}.remember-device small{font-size:12px;color:#61728a}

/* Public website: shared FINXO branding and two business audiences. */
#verksamheter>h3,.public-pricing>h3{margin:48px 0 18px;font-size:24px;color:#f5f1f6}#verksamheter>p:has(a),#verksamheter>p:has(button),.public-pricing>p:has(a){margin:28px 0 44px}.public-site a.secondary{display:inline-flex;align-items:center;min-height:44px;padding:12px 18px;border:1px solid rgba(184,218,247,.3);border-radius:12px;background:#14365c;color:#fff;text-decoration:none;font-weight:650}.public-site a.secondary:hover{background:#214c78}.public-site a.secondary:focus-visible{outline:3px solid #83d5fb;outline-offset:3px}

.bank-balance-workflow .bank-balance-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bank-balance-workflow .field{display:flex;flex-direction:column;gap:8px;margin:14px 0}.bank-balance-workflow select,.bank-balance-workflow input{max-width:100%;min-width:0}.bank-balance-table{overflow:auto;max-width:100%;margin:18px 0}.bank-balance-workflow h3{margin-top:28px}.bank-balance-workflow .report-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.bank-balance-workflow [role=alert]{color:#a12626}.bank-balance-workflow details{margin:18px 0}@media(max-width:600px){.bank-balance-workflow .bank-balance-fields{grid-template-columns:1fr}.bank-balance-workflow .bank-comparison-table{min-width:580px}}

.bank-comparison-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.bank-comparison-table th,.bank-comparison-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:12px}.bank-comparison-table thead th{background:#f2f6fb;color:var(--muted);font-size:11px}.bank-comparison-table td:last-child{white-space:nowrap}.bank-comparison-table tbody th{font-weight:650}

.bank-balance-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.bank-balance-overview>div{display:grid;gap:10px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#f7f9fc}.bank-balance-overview span,.bank-source-caption{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.bank-balance-overview strong{font-size:22px;overflow-wrap:anywhere}.bank-balance-workflow summary{cursor:pointer}.bank-balance-workflow [data-bank-simple-status]{line-height:1.6}@media(max-width:600px){.bank-balance-overview{grid-template-columns:1fr;gap:8px}.bank-balance-overview>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.bank-balance-overview strong{font-size:19px}}

.bas-balance-report{background:#fff;color:#171717;padding:24px;font-family:Arial,sans-serif}.bas-balance-report header{display:flex;justify-content:space-between;gap:18px;font-size:11px;margin-bottom:24px}.bas-balance-report header>div{display:grid;gap:3px}.bas-balance-scroll{max-width:100%;overflow-x:auto}.bas-balance-table{border-collapse:collapse;width:100%;min-width:760px;font-variant-numeric:tabular-nums;font-size:11px}.bas-balance-table th,.bas-balance-table td{padding:7px 8px;text-align:right;vertical-align:top}.bas-balance-table th:first-child{text-align:left;width:42%}.bas-balance-table thead th{font-size:10px;color:#555;border-bottom:1px solid #222;white-space:nowrap}.bas-balance-table tbody th{font-weight:400}.bas-balance-table td{white-space:nowrap}.bas-balance-table .major th{padding-top:22px;font-weight:700}.bas-balance-table .section th{padding-top:13px;font-weight:700}.bas-balance-table .subtotal>*{border-top:1px solid #aaa;font-weight:700}.bas-balance-table .grand>*,.bas-balance-table .result>*{border-top:1px solid #222;font-weight:700;padding-top:12px;padding-bottom:12px}.bas-account-number{display:inline-block;min-width:38px;color:#254e8c}.bas-balance-report>small{display:block;margin-top:18px;color:#666;font-size:10px}@media(max-width:600px){.bas-balance-report{padding:12px}.bas-balance-report header{flex-direction:column}}
