/* Legacy Atelier — reference implementation. Screen only; documents keep their own layout. */
@media screen{
html{--bg:#f2f5f8;--surface:#fff;--raised:#f4f7fa;--text:#162634;--muted:#53677a;--line:#d3dee7;--green:#08734f;--studio-panel:var(--surface);--studio-soft:var(--raised);--studio-line:var(--line);--studio-ink:var(--text);--studio-accent:var(--green);--ex-surface:var(--surface);--ex-raised:var(--raised);--ex-text:var(--text);--ex-muted:var(--muted);--ex-line:var(--line)}
html[data-theme="dark"]{--bg:#151b20;--surface:#1c252d;--raised:#222d36;--text:#f0f5fa;--muted:#bccad8;--line:#34424e;--green:#a3f3c7;--studio-panel:var(--surface);--studio-soft:var(--raised);--studio-line:var(--line);--studio-ink:var(--text);--studio-accent:var(--green);--ex-bg:var(--bg);--ex-surface:var(--surface);--ex-raised:var(--raised);--ex-wash:var(--raised);--ex-text:var(--text);--ex-muted:var(--muted);--ex-line:var(--line)}
html body{background:var(--bg);color:var(--text);font-family:'Segoe UI',Inter,Arial,sans-serif}html body :is(.primary,.secondary,.text-button,.danger,.theme-toggle,.company-group-nav>button,.company-subnav>button,.exchange-tabs>button,.topnav .nav){border-radius:11px!important}html body :is(.input,.select){border-radius:9px;background:var(--surface);border-color:var(--line);color:var(--text)}html[data-theme="dark"] body :is(.input,.select){background:#172028;border-color:#4e6272}.primary{background:#08734f;border-color:#08734f;color:#fff}html[data-theme="dark"] body .primary{background:#a3f3c7;color:#082f21;border-color:#a3f3c7}html[data-theme="dark"] body .secondary{background:#222d36;border-color:#405363;color:var(--text)}html[data-theme="dark"] body :is(.home-panel,.finance-breakdown,.company-card,.stat,.modal,.table-wrap,.revenue-history,.performance-panel,.order,.garage-summary){background:var(--surface);border-color:var(--line);color:var(--text)}html[data-theme="dark"] body table :is(th,td){border-color:var(--line);color:var(--text)}html[data-theme="dark"] body th,html[data-theme="dark"] body tbody tr:nth-child(even){background:var(--raised)}html[data-theme="dark"] body tbody tr:nth-child(odd){background:var(--surface)}html body :is(.premium-home,.premium-admin) button{box-shadow:none}html body :is(.premium-home,.premium-admin) .primary:hover{filter:brightness(1.05)}
.premium-toolbar{display:flex;gap:22px;min-height:67px;margin-bottom:26px}.premium-toolbar .toolbar-identity{min-width:200px}.premium-toolbar .toolbar-identity>span:last-child{display:flex;align-items:center;gap:9px}.premium-toolbar .toolbar-identity strong{font-size:13px;white-space:nowrap}.premium-toolbar .toolbar-identity small{font-size:13px}.premium-toolbar .toolbar-emblem{background:transparent;border:0;width:24px;padding:0}.premium-toolbar .toolbar-actions{gap:8px;margin-left:0}.premium-toolbar .notification-bell{padding:8px;width:38px;min-height:38px;position:relative;justify-content:center;border:0;background:transparent;color:var(--text)}.premium-toolbar .notification-bell>span{display:none}.premium-toolbar .notification-bell>b{position:absolute;right:0;top:0;border-radius:20px;font-size:10px;background:#e6b96d;color:#342409}.premium-toolbar .toolbar-actions>button,.premium-toolbar .toolbar-tools>summary{font-size:11px;min-height:36px}.premium-search-trigger{display:flex;align-items:center;gap:10px;flex:1;max-width:490px;min-width:150px;text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--muted);padding:10px 14px;border-radius:10px;font-size:12px}.premium-search-trigger svg{width:17px;height:17px;flex:none}.premium-search-trigger kbd{margin-left:auto;font:10px inherit;border:1px solid var(--line);padding:2px 5px;border-radius:4px}.premium-user{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:650;white-space:nowrap;margin-left:auto}.premium-user>span:first-child{display:grid;place-items:center;width:30px;height:30px;background:var(--raised);border:1px solid var(--line);border-radius:50%;color:var(--green);font-size:10px}.page:has(.premium-home) .premium-toolbar .toolbar-actions>[data-tab="cash"]{display:none}.premium-sidebar-company{display:flex;align-items:center;gap:9px;border:1px solid var(--line);padding:12px 9px;border-radius:10px;margin:18px 0 20px;background:var(--surface);min-width:0}.premium-sidebar-company>.company-logo{width:35px;height:35px;flex:none}.premium-sidebar-company .company-select{display:flex;align-items:center;min-width:0;flex:1;max-width:none;gap:5px;justify-content:flex-start}.premium-sidebar-company .company-select>.small{display:none}.premium-sidebar-company .select{min-width:0!important;max-width:100%;width:100%;font-size:12px!important;min-height:35px;background:transparent!important;border:0!important;padding:3px;color:var(--text)}.premium-sidebar-company .bill-tag{font-size:12px;background:none;padding:0;color:var(--text);border:0}.premium-sidebar-company #new-company{font-size:10px;padding:3px;min-height:24px}.premium-sidebar-company:not(:has(.company-select)){display:none}.top .nav-label,.top .nav>span{font-size:13px;font-weight:550;text-transform:none}.top .nav svg{width:20px;height:20px;flex-basis:20px}.top .nav.active>span{font-weight:700}.top .nav{position:relative}.top .nav.active::before{content:'';position:absolute;left:0;top:7px;bottom:7px;width:3px;border-radius:2px;background:var(--green)}.top .profile{gap:10px}.top .profile .release-card{background:transparent;border-color:var(--line)}.top .profile>.account-theme-toggle{align-self:flex-start;min-height:32px;font-size:11px}.top .profile>.text-button,.top .profile>#logout{font-size:10px;min-height:28px;padding:6px 9px}.top .profile>span{font-size:12px;color:var(--text);width:100%}.top .brand{margin-top:1px}.premium-side-link svg{width:20px!important;height:20px!important}
.premium-home,.premium-admin{max-width:1800px;margin:0 auto}.pd-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 26px}.pd-eyebrow{display:block;text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:650;color:var(--muted);margin-bottom:9px}.pd-heading h1{font-size:clamp(28px,2.4vw,39px);font-weight:750;letter-spacing:-1px;line-height:1.16;color:var(--text)}.pd-heading p{font-size:14px;color:var(--muted);margin-top:8px}.pd-heading-actions{display:flex;gap:15px;align-items:center}.pd-heading-actions .week{max-width:185px;min-width:150px;font-size:12px;min-height:42px}.pd-heading .pd-primary{min-height:44px;padding:12px 22px;font-size:13px;white-space:nowrap;border-radius:9px!important}.pd-hero-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:15px;margin-bottom:15px}.pd-panel{min-width:0;padding:21px 22px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.pd-panel-title{display:flex;align-items:center;gap:10px;min-width:0}.pd-panel-title>svg{color:var(--green);width:22px;height:22px;flex:none}.pd-panel-title h2{font-size:17px;font-weight:700;letter-spacing:.1px;line-height:1.4}.pd-panel-title .pd-icon-button{margin-left:auto}.pd-icon-button{border:0;background:transparent;color:var(--muted);padding:3px 8px;min-height:28px;border-radius:7px;cursor:pointer}.pd-icon-button:hover{background:var(--raised);color:var(--green)}.pd-balance-main{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0 21px;min-height:127px}.pd-balance{display:block;font-size:clamp(38px,3.8vw,64px);font-weight:750;letter-spacing:-1.5px;line-height:1.18;white-space:nowrap}.pd-balance-state{display:block;font-size:11px;color:var(--green);margin-top:9px}.pd-balance-spark{color:var(--green);width:38%;max-width:270px;flex:none}.pd-balance-spark svg{display:block;width:100%;height:80px}.pd-balance-spark small{display:block;font-size:9px;text-align:right;color:var(--muted)}.pd-balance-watermark{padding:5px 20px;color:var(--green);opacity:.18}.pd-balance-watermark svg{width:80px;height:80px}.pd-treasury-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);padding-top:20px;gap:15px}.pd-treasury-details>div{display:flex;align-items:flex-start;gap:13px;min-width:0}.pd-treasury-details>div+div{border-left:1px solid var(--line);padding-left:17px}.pd-treasury-details svg{width:24px;height:24px;color:var(--muted);flex:none}.pd-treasury-details>div:first-child svg{color:var(--green)}.pd-treasury-details span{font-size:12px;color:var(--muted)}.pd-treasury-details strong{display:block;font-size:22px;font-weight:700;color:var(--text);margin-top:5px;white-space:nowrap}.pd-treasury-note{display:block;color:var(--muted);font-size:9px;margin-top:14px}.pd-tasks>.pd-panel-title{margin-bottom:16px}.pd-task{display:flex;width:100%;text-align:left;align-items:center;gap:13px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);padding:14px 3px;border-radius:7px!important}.pd-task:first-of-type{border:1px solid var(--line);padding:14px 10px;background:var(--raised);border-radius:9px!important}.pd-task:last-child{border-bottom:0}.pd-task:hover{background:var(--raised)}.pd-task-icon{width:30px;flex:none}.pd-task-icon svg{width:28px;height:28px}.pd-task.violet .pd-task-icon{color:#b89bdd}.pd-task.amber .pd-task-icon{color:#e6b96d}.pd-task.blue .pd-task-icon{color:#72aee0}.pd-task>span:nth-child(2){flex:1;min-width:0}.pd-task strong{font-size:13px;display:block}.pd-task small{font-size:11px;display:block;color:var(--muted);margin-top:4px}.pd-task-arrow{font-size:25px;color:var(--text)}.pd-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 20px;gap:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin:0 0 15px}.pd-kpi-strip>div{display:flex;align-items:center;gap:15px;min-width:0}.pd-kpi-strip>div+div{border-left:1px solid var(--line);padding-left:20px}.pd-kpi-strip svg{width:29px;height:29px;flex:none;color:var(--green)}.pd-kpi-strip span{font-size:12px;color:var(--muted)}.pd-kpi-strip strong{display:block;font-size:24px;letter-spacing:-.4px;color:var(--text);line-height:1.3;margin-top:4px;white-space:nowrap}.pd-analysis-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:15px;margin-bottom:15px}.pd-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.pd-chart-legend{display:flex;gap:12px;color:var(--muted);font-size:10px;white-space:nowrap}.pd-chart-legend span{display:flex;align-items:center;gap:5px}.pd-chart-legend span::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--green)}.pd-chart-legend span:last-child::before{background:#70b7f1}.pd-chart{display:block;width:100%;height:auto;max-height:265px;margin-top:7px;overflow:visible}.pd-chart text{font:10px 'Segoe UI',Arial,sans-serif;fill:var(--muted)}.pd-chart text.pd-axis-count{fill:#70b7f1}.pd-gridline{stroke:var(--line);stroke-dasharray:3 4;stroke-width:1}.pd-chart-details{font-size:10px;color:var(--muted);margin-top:4px}.pd-chart-details summary{cursor:pointer}.pd-chart-details>div{padding:10px}.pd-chart-details p{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:5px}.pd-chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:220px;color:var(--muted);font-size:12px}.pd-chart-empty svg{width:32px;height:32px;color:var(--green)}.pd-team .pd-panel-title{margin-bottom:18px}.pd-team-list{list-style:none;padding:0;margin:0;display:grid;gap:3px}.pd-team-list li{display:flex;gap:10px;align-items:center;padding:13px 4px;border-bottom:1px solid var(--line)}.pd-team-list li:first-child{background:var(--raised);border:1px solid var(--line);border-radius:9px;padding:12px 9px}.pd-team-list li:last-child{border-bottom:0}.pd-team-list li>div{min-width:0;flex:1}.pd-team-list li>span:last-child{text-align:right;white-space:nowrap}.pd-team-list strong{font-size:14px}.pd-team-list small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.pd-team-list .text-button{padding:0!important;border:0!important;background:transparent!important;color:var(--text)!important;text-align:left;font-size:12px;font-weight:700;min-height:0}.pd-avatar{display:grid;place-items:center;flex:none;background:var(--bg);border:1px solid var(--line);width:30px;height:30px;border-radius:50%;font-size:10px;color:var(--muted)}.pd-rank{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;flex:none;font-size:11px;font-weight:700;background:#e6b96d;color:#342409}.pd-team-list li:nth-child(2) .pd-rank{background:#becbda;color:#243647}.pd-team-list li:nth-child(3) .pd-rank{background:#cfa070;color:#3d2711}.pd-inline-link{display:block;margin:10px 0 0 auto;padding:0;border:0;background:transparent;color:var(--green);font-size:11px;min-height:20px;cursor:pointer}.pd-panel-heading>.pd-inline-link{margin:0}.pd-recent{padding-top:15px;padding-bottom:8px}.pd-recent .table-wrap{border:0;border-radius:0;background:transparent;margin-top:12px}.pd-recent table{font-size:11px;white-space:normal}.pd-recent :is(th,td){padding:11px 9px;background:transparent!important;border-color:var(--line);color:var(--text)}.pd-recent th{font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)!important}.pd-recent tbody tr{background:transparent!important}.pd-recent tbody tr:hover{background:var(--raised)!important}.pd-recent td:first-child{white-space:nowrap;color:var(--muted)}.pd-status{font-size:10px;padding:4px 9px;border-radius:6px;white-space:nowrap;display:inline-block}.pd-status.paid{background:#daf4e6;color:#0a6042}.pd-status.pending{background:#fff0d6;color:#795016}html[data-theme="dark"] .pd-status.paid{background:#1b4b39;color:#acf0cc}html[data-theme="dark"] .pd-status.pending{background:#493b24;color:#ffe0a3}.pd-secondary-summary{display:flex;gap:20px;flex-wrap:wrap;justify-content:space-between;padding:14px 4px;font-size:11px;color:var(--muted)}.pd-secondary-summary strong{color:var(--text);margin-left:8px}.premium-home>.home-panel{margin-top:18px}.pd-empty-inline,.pd-personal-summary{font-size:12px;color:var(--muted);padding:20px 5px}.premium-home .overview-company-info{font-size:11px;color:var(--muted);margin:15px 0}.premium-home .overview-company-info summary{cursor:pointer}
.premium-admin-nav{display:flex;gap:8px;overflow:auto;padding-bottom:7px;margin-bottom:23px;border-bottom:1px solid var(--line)}.premium-admin-nav button{display:flex;align-items:center;gap:9px;flex:none;padding:12px 16px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);font-size:12px}.premium-admin-nav button.active{color:var(--green);background:var(--surface);border-color:var(--line)}.premium-admin-nav svg{width:17px;height:17px}.pd-account-health{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:22px}.pd-account-health button{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:12px;padding:17px;text-align:left}.pd-account-health button[aria-pressed="true"]{border-color:var(--green)}.pd-account-health svg{width:24px;height:24px;color:var(--green);flex:none}.pd-account-health span{font-size:11px;color:var(--muted)}.pd-account-health strong{display:block;font-size:27px;line-height:1.25;color:var(--text);margin-top:5px}.premium-admin .registry-filters{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:18px;margin-bottom:22px;gap:14px}.premium-admin .registry-filters label{font-size:11px;color:var(--muted)}.premium-admin .table-wrap{border-radius:12px;border-color:var(--line)}.premium-admin table{font-size:12px}.premium-admin th{font-size:10px;text-transform:uppercase;letter-spacing:.5px}.premium-admin td{padding:15px}.premium-admin td .actions{gap:5px}.premium-admin td button{font-size:10px;min-height:30px;padding:5px 8px}.premium-admin .admin-control-stats{gap:12px;margin:20px 0}.premium-admin .admin-control-stat{border-radius:12px;background:var(--surface);border:1px solid var(--line);padding:18px;border-top:3px solid var(--green)}.premium-admin .admin-control-stat.blue{border-top-color:#72aee0}.premium-admin .admin-control-stat.amber{border-top-color:#e6b96d}.premium-admin .admin-control-stat.red{border-top-color:#dd94ab}.premium-admin .admin-control-grid{gap:15px}.premium-admin .admin-control-grid .home-panel{padding:20px;background:var(--surface);border-color:var(--line);border-radius:12px}.premium-admin .admin-task{padding:13px 0;border-color:var(--line)}.premium-admin .admin-task strong{font-size:13px}.premium-admin .admin-task small{font-size:11px;color:var(--muted)}.premium-admin .admin-task button{font-size:11px}.premium-admin .section-head h2{font-size:20px}.pd-loading{padding:40px;text-align:center;color:var(--muted)}.premium-search{display:grid;gap:13px}.premium-search-result{width:100%;display:flex;align-items:center;gap:12px;padding:12px;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--text);text-align:left}.premium-search-result:hover{background:var(--raised)}.premium-search-result>span:first-child{width:25px;color:var(--green)}.premium-search-result>span:nth-child(2){flex:1}.premium-search-result strong{display:block;font-size:13px}.premium-search-result small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.premium-search-result svg{width:20px;height:20px}
@media(min-width:961px){html body .top{width:248px;background:#f9fbfd;border-right:1px solid var(--line)}html[data-theme="dark"] body .top{background:#11181e}html body .top .top-inner{padding:23px 16px 18px;gap:0}.top .brand{width:210px!important;height:52px!important;margin-left:2px}.top .mobile-navigation{display:flex;flex-direction:column;flex:1;min-height:0;width:100%}.topnav{gap:5px}html body .topnav .nav{display:flex;gap:13px;min-height:46px;padding:12px 15px;color:var(--muted);background:transparent;border:1px solid transparent;border-radius:8px!important}html body .topnav .nav.active{background:var(--raised);color:var(--green);border-color:transparent}html body .topnav .nav:hover:not(.active){background:var(--surface);color:var(--text)}.top .profile{margin-top:auto;padding-top:20px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center}.top .profile .release-card{width:100%;margin:0;font-size:10px;min-height:0}.top .profile>.account-theme-toggle{width:auto!important;margin-bottom:0}.top .profile>.notification-bell{display:none}.top .nav .nav-status{font-size:9px;padding:2px 6px}.top .nav .nav-label:has(.nav-status){gap:4px}.page,.page.cash-workspace,body:has(.top) .page{margin-left:248px;width:calc(100% - 248px);max-width:none;padding:0 32px 30px}.premium-toolbar .toolbar-tools>summary{font-size:10px}.company-location{font-size:11px}.company-group-nav{margin-top:16px}.site-credits{font-size:10px}.premium-admin .admin-control-stat strong{font-size:30px}}
@media(min-width:961px) and (max-width:1260px){html body .top{width:218px}.page,.page.cash-workspace,body:has(.top) .page{margin-left:218px;width:calc(100% - 218px);padding:0 22px 24px}.top .brand{width:180px!important}.pd-hero-grid{grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr)}.pd-balance{font-size:44px}.pd-treasury-details strong{font-size:18px}.pd-kpi-strip strong{font-size:20px}.pd-analysis-grid{grid-template-columns:minmax(0,1.3fr) minmax(255px,1fr)}.pd-chart-legend{font-size:8px;gap:7px}.pd-panel-title h2{font-size:15px}.premium-user{display:none}.premium-toolbar .toolbar-identity{min-width:165px}}
@media(max-width:960px){body:has(.top) .page,.page,.page.cash-workspace{margin-left:0;width:100%;padding:0 18px 24px}.premium-toolbar{gap:12px;margin-bottom:20px;min-height:60px}.premium-toolbar .toolbar-identity{min-width:0;flex:1}.premium-toolbar .toolbar-identity>span:last-child{display:grid;gap:2px}.premium-toolbar .toolbar-identity strong{font-size:12px}.premium-toolbar .toolbar-identity small{font-size:11px}.premium-toolbar .toolbar-actions{display:none}.premium-user{display:none}.premium-search-trigger{flex:none;min-width:40px;width:40px;height:38px;padding:10px}.premium-search-trigger>span,.premium-search-trigger kbd{display:none}.premium-sidebar-company{margin:10px 0 15px}.top .mobile-navigation .profile{border-color:var(--line);padding-top:15px;margin-top:15px}.pd-heading{gap:14px;align-items:flex-start}.pd-heading h1{font-size:30px}.pd-eyebrow{font-size:10px;letter-spacing:1.3px}.pd-heading-actions{gap:8px;flex-direction:column;align-items:stretch}.pd-heading-actions .week{min-width:145px}.pd-heading .pd-primary{font-size:11px;padding:10px 12px;min-height:38px}.pd-hero-grid{grid-template-columns:1fr}.pd-balance{font-size:52px}.pd-tasks{padding-bottom:10px}.pd-tasks .pd-task{min-height:64px}.pd-analysis-grid{grid-template-columns:1fr}.pd-chart{max-height:300px}.pd-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.pd-kpi-strip>div:nth-child(3){border:0;padding-left:0}.pd-team-list li>div{flex:1}.pd-account-health{grid-template-columns:repeat(3,minmax(0,1fr))}.premium-admin .registry-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-admin .table-wrap{max-width:100%}.pd-recent table{min-width:650px}.pd-recent .table-wrap{overflow:auto}.pd-hero-grid,.pd-analysis-grid,.pd-kpi-strip{gap:12px;margin-bottom:12px}}
@media(max-width:520px){.pd-heading{display:block}.pd-heading h1{font-size:29px;max-width:330px;line-height:1.18}.pd-heading p{font-size:12px}.pd-heading-actions{flex-direction:row;margin-top:17px;align-items:center;justify-content:space-between}.pd-heading-actions .week{min-width:0;max-width:170px;width:100%}.pd-heading .pd-primary{white-space:normal}.pd-panel{padding:17px}.pd-balance{font-size:44px}.pd-balance-main{min-height:120px}.pd-balance-watermark{display:none}.pd-balance-spark{width:30%}.pd-balance-spark small{font-size:8px}.pd-treasury-details{gap:8px;padding-top:16px}.pd-treasury-details>div{gap:6px;display:block}.pd-treasury-details>div+div{padding-left:10px}.pd-treasury-details svg{width:19px;height:19px;margin-bottom:6px}.pd-treasury-details span{font-size:10px}.pd-treasury-details strong{font-size:17px;white-space:normal}.pd-treasury-note{font-size:8px;line-height:1.5}.pd-kpi-strip{padding:16px;gap:17px 10px}.pd-kpi-strip>div{gap:10px}.pd-kpi-strip>div+div{padding-left:12px}.pd-kpi-strip svg{width:22px;height:22px}.pd-kpi-strip strong{font-size:20px;white-space:normal}.pd-kpi-strip span{font-size:10px}.pd-panel-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}.pd-chart-legend{font-size:9px}.pd-panel-title h2{font-size:16px}.pd-chart{margin-left:-7px;width:calc(100% + 10px)}.pd-team-list .pd-avatar{display:none}.pd-team-list strong{font-size:13px}.pd-secondary-summary{display:grid;gap:10px}.pd-account-health{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pd-account-health button{padding:13px;gap:8px}.pd-account-health strong{font-size:25px}.pd-account-health svg{width:20px;height:20px}.premium-admin .registry-filters{grid-template-columns:1fr}.premium-admin .pd-heading h1{font-size:28px}.premium-admin-nav{margin-bottom:16px}.premium-admin-nav button{font-size:11px;padding:10px}.premium-admin .table-wrap td{white-space:normal}.premium-admin .admin-control-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.premium-home *,.premium-admin *{animation:none!important;transition:none!important}}
}

@media screen{.premium-brand{display:flex!important;align-items:center;justify-content:flex-start;gap:9px;overflow:visible!important;background:transparent!important}.premium-brand>svg{width:32px;height:32px;flex:none;color:var(--green)}.premium-brand>span{font-size:18px;font-weight:750;letter-spacing:-.4px;white-space:nowrap;color:var(--text)}.premium-toolbar .toolbar-identity strong::after{content:' /';color:var(--muted);font-weight:400;margin-left:8px}.premium-toolbar .toolbar-identity strong{font-weight:500}.premium-toolbar .toolbar-identity small{color:var(--text)}html[data-theme="dark"] body .topnav .nav{background:transparent;color:var(--muted);border-color:transparent}html[data-theme="dark"] body .topnav .nav.active{background:#24313a;color:#a3f3c7;border-color:transparent}html[data-theme="dark"] body .topnav .nav:hover:not(.active){background:#1c252d;color:var(--text)}.premium-home .pd-secondary-summary .pd-summary-tax{display:flex;gap:6px;align-items:center}.premium-home .pd-summary-tax small{display:block;color:var(--muted);font-size:9px}@media(min-width:961px){html{--pd-sidebar:clamp(218px,17.3vw,275px)}html body .top{width:var(--pd-sidebar);overflow:hidden}html body .top .top-inner{height:100dvh;min-height:0;overflow:hidden}.top .mobile-navigation{overflow:hidden}.top .topnav{flex:1;min-height:0;overflow-y:auto;padding-right:3px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.top .profile{flex:none;margin-top:auto;max-height:195px}.top .brand{width:100%!important;max-width:240px}.page,.page.cash-workspace,body:has(.top) .page{margin-left:var(--pd-sidebar);width:calc(100% - var(--pd-sidebar))}}@media(max-width:520px){.premium-toolbar .toolbar-identity strong::after{content:''}.premium-brand>span{font-size:16px}}}

@media screen{html body .app-toolbar.premium-toolbar{display:flex;flex-wrap:nowrap;align-items:center}html body .premium-toolbar .premium-search-trigger{flex:1 1 150px}html body .premium-toolbar .toolbar-actions{display:flex;flex-wrap:nowrap;width:auto}html body .premium-toolbar .toolbar-actions>[data-tab="cash"]{display:none}html body:has(.premium-home),html body:has(.premium-admin){background:var(--bg)}@media(max-width:960px){html body .app-toolbar.premium-toolbar{display:flex;justify-content:flex-end;gap:10px;min-height:58px}html body .premium-toolbar .toolbar-identity{display:none}html body .premium-toolbar .premium-search-trigger{flex:0 0 40px;width:40px;min-width:40px;padding:10px;margin-right:auto}html body .premium-toolbar .toolbar-actions{display:flex;gap:8px}html body .premium-toolbar .notification-bell{flex:0 0 38px}html body .premium-toolbar .toolbar-tools{margin:0}html body .premium-toolbar .toolbar-tools>summary{min-width:72px}}}

@media screen{html body .app-toolbar.premium-toolbar{display:flex!important;flex-wrap:nowrap!important}html body .premium-toolbar .toolbar-actions{display:flex!important;width:auto!important;grid-template-columns:none!important}html body .premium-toolbar .toolbar-actions>[data-tab="cash"]{display:none!important}html body .premium-toolbar .premium-search-trigger{flex:1 1 150px!important}html body .top{background:#f9fbfd!important}html[data-theme="dark"] body .top{background:#11181e!important}html body .top .premium-brand>span{color:var(--text)!important}@media(max-width:960px){html body .premium-toolbar .toolbar-identity{display:none!important}html body .premium-toolbar .premium-search-trigger{flex:0 0 40px!important;width:40px!important;max-width:40px!important;min-width:40px!important}html body .premium-toolbar .toolbar-actions{display:flex!important;flex:0 0 auto!important}html body .premium-toolbar .toolbar-tools{width:auto!important}html body .premium-toolbar #important-notifications{margin:0!important}}}

@media screen and (min-width:961px){html body .top .profile{max-height:none;height:auto;flex:0 0 auto;padding-top:12px;gap:8px}}

@media screen{.restored-company-nav{margin:0 0 24px!important}html body .topnav .nav{border-radius:24px!important}html body .topnav .nav.active{background:#e1f4eb;color:#08734f}html[data-theme="dark"] body .topnav .nav.active{background:#244734;color:#b6f2d0}.top .nav.active::before{display:none}}

@media screen{
html body .exchange-v3{--ex-bg:var(--bg);--ex-surface:var(--surface);--ex-text:var(--text);--ex-muted:var(--muted);--ex-line:var(--line);max-width:1800px;margin:auto;background:transparent;padding:0;border:0;box-shadow:none}
html body .exchange-v3 .exchange-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 27px;padding:0;border:0;background:none;box-shadow:none}
.exchange-v3 .exchange-heading h1{font-size:clamp(27px,2.3vw,38px);line-height:1.2;letter-spacing:-.8px;color:var(--text);margin:0 0 9px}.exchange-v3 .exchange-heading p{font-size:14px;color:var(--muted);margin:0}.exchange-v3 .exchange-heading .actions{display:flex;gap:10px;flex:none}.exchange-v3 .exchange-heading button{padding:12px 17px;min-height:44px;font-size:12px;white-space:nowrap}
.ex-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.ex-kpi{display:flex;align-items:center;gap:15px;text-align:left;padding:19px 17px;min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:9px;color:var(--text);cursor:pointer}.ex-kpi>span{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:50%;background:color-mix(in srgb,currentColor 13%,transparent)}.ex-kpi svg{width:25px;height:25px}.ex-kpi>div{flex:1;min-width:0}.ex-kpi strong{display:block;font-size:26px;line-height:1.3;white-space:nowrap}.ex-kpi small{display:block;font-size:12px;margin-top:3px}.ex-kpi>b{font-size:22px;color:var(--muted);font-weight:400}.ex-kpi.amber{color:#966211}.ex-kpi.blue{color:#226b9f}.ex-kpi.violet{color:#71509c}.ex-kpi.mint{color:#08734f}html[data-theme="dark"] .ex-kpi.amber{color:#edc06b}html[data-theme="dark"] .ex-kpi.blue{color:#83bdf2}html[data-theme="dark"] .ex-kpi.violet{color:#c2a4ee}html[data-theme="dark"] .ex-kpi.mint{color:#a3f3c7}.ex-kpi.mint strong{color:var(--text)}.ex-kpi:hover{border-color:var(--green)}
html body .exchange-v3 .exchange-tabs{display:flex;gap:24px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:0;margin-bottom:20px;overflow-x:auto}html body .exchange-v3 .exchange-tabs>button{border:0;border-radius:0!important;border-bottom:2px solid transparent;background:none;color:var(--muted);padding:12px 15px;font-size:13px;white-space:nowrap}html body .exchange-v3 .exchange-tabs>button.active{color:var(--green);border-bottom-color:var(--green);background:none;box-shadow:none}
.ex-explorer{position:relative;--ex-detail-width:36%}.ex-list-controls{width:calc(64% - 9px);min-height:132px;padding:21px 20px 13px;border:1px solid var(--line);border-bottom:0;border-radius:9px 9px 0 0;background:var(--surface)}.ex-list-controls h2,.ex-detail-panel h2{font-size:20px;font-weight:650;color:var(--text);margin:0}.ex-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.ex-direction{display:flex;border:1px solid var(--line);border-radius:7px;overflow:hidden;flex:none}.ex-direction button{border:0;border-radius:0;color:var(--muted);background:var(--raised);padding:9px 12px;font-size:12px}.ex-direction button.active{background:color-mix(in srgb,var(--green) 14%,var(--surface));color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.ex-search{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:var(--raised);min-width:0;max-width:265px}.ex-search svg{width:16px;height:16px;color:var(--muted);flex:none}.ex-search input{width:100%;min-width:0;background:transparent;border:0;outline:none;color:var(--text);font:12px inherit}.ex-search:focus-within{outline:2px solid var(--green);outline-offset:2px}.ex-stage-label{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);margin-top:12px}.ex-stage-label select{font-size:10px;background:var(--raised);color:var(--text);border:1px solid var(--line);padding:4px 7px;border-radius:5px}
#exchange-deal-results{display:grid;grid-template-columns:minmax(0,1.78fr) minmax(0,1fr);gap:18px;align-items:stretch}.ex-list-panel{background:var(--surface);border:1px solid var(--line);border-top:0;border-radius:0 0 9px 9px;padding:0 12px 14px;min-height:330px}.exchange-v3 .ex-list-panel .table-wrap,.exchange-v3 .ex-detail-panel .table-wrap{background:transparent!important;border:0!important;border-radius:0!important;overflow:auto}.exchange-v3 .ex-deals{width:100%;font-size:12px;min-width:0}.exchange-v3 .ex-deals th{font-size:10px;text-transform:none;font-weight:550;background:transparent!important;padding:12px 9px}.exchange-v3 .ex-deals td{padding:15px 9px;background:transparent!important;border-bottom:1px solid var(--line);font-size:11px;vertical-align:middle}.exchange-v3 .ex-deals tr{background:transparent!important}.exchange-v3 .ex-deals tr.selected{background:color-mix(in srgb,var(--green) 9%,var(--surface))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--green) 40%,transparent)}.ex-row-select{display:flex;align-items:center;gap:10px;text-align:left;border:0;background:transparent;color:var(--text);padding:0;cursor:pointer;font-size:12px;min-height:36px}.ex-company-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#365b72;color:#e8f6ff;font-size:12px}.ex-deals tr:nth-child(3n+2) .ex-company-avatar{background:#5d4583}.ex-deals tr:nth-child(3n) .ex-company-avatar{background:#226649}.ex-deals td:nth-child(2)>strong{font-size:11px;font-weight:400;display:block;max-width:220px}.ex-deals td small{display:block;font-size:9px;margin-top:5px;color:var(--muted)}.ex-row-arrow{font-size:22px;color:var(--muted);border:0;background:none;padding:7px;cursor:pointer}.ex-list-count{font-size:10px;color:var(--muted);padding:14px 9px 0}.exchange-v3 .exchange-pill{font-size:10px;white-space:nowrap;padding:5px 9px;border-radius:16px;border:1px solid var(--line)}
.ex-detail-panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:20px;min-width:0;margin-top:-174px;position:relative}.ex-detail-panel header{display:flex;align-items:center;justify-content:space-between;gap:10px}.ex-detail-panel h2{font-size:19px}.ex-detail-date{font-size:11px;color:var(--muted);padding-bottom:15px;border-bottom:1px solid var(--line);margin:7px 0 16px}.ex-detail-panel h3{font-size:13px;color:var(--text);margin:16px 0 11px}.exchange-v3 .ex-detail-panel th{font-size:10px;background:var(--raised)!important;text-transform:none;padding:10px}.exchange-v3 .ex-detail-panel td{font-size:11px;padding:10px;background:transparent!important;border-bottom:1px solid var(--line)}.ex-detail-total{display:flex;align-items:center;justify-content:space-between;margin-top:17px;font-size:14px}.ex-detail-total b{font-size:24px}.ex-detail-note{font-size:10px;color:var(--muted);margin-top:12px;line-height:1.6}.ex-progress{display:flex;list-style:none;padding:0;margin:20px 0 30px}.ex-progress li{position:relative;flex:1;text-align:center;color:var(--muted);font-size:10px}.ex-progress li:before{content:'';position:absolute;top:7px;left:0;right:0;height:2px;background:var(--line)}.ex-progress li:first-child:before{left:50%}.ex-progress li:last-child:before{right:50%}.ex-progress li>span{display:block;position:relative;margin:0 auto 13px;width:16px;height:16px;border:2px solid var(--muted);border-radius:50%;background:var(--surface)}.ex-progress li.done>span{border-color:var(--green);box-shadow:inset 0 0 0 3px var(--surface);background:var(--green)}.ex-progress li.done:before{background:var(--green)}.ex-progress strong{font-weight:500}.ex-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.ex-detail-actions button{font-size:11px;min-height:40px;padding:10px 13px;flex:1;white-space:normal}.ex-contract-note{display:flex;align-items:center;gap:15px;margin-top:17px;padding:17px 20px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text)}.ex-contract-note>svg{width:28px;height:28px;flex:none;color:#83bdf2}.ex-contract-note strong{font-size:13px}.ex-contract-note p{font-size:11px;color:var(--muted);margin-top:5px}.ex-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:10px;padding:40px 20px;color:var(--muted)}.ex-empty>svg{width:32px;height:32px;color:var(--green)}.ex-empty h3{font-size:17px;color:var(--text)}.ex-empty p{font-size:12px;line-height:1.7;max-width:320px}
@media(max-width:1250px){.exchange-v3 .exchange-heading{align-items:flex-start!important;flex-direction:column}.ex-list-toolbar{align-items:stretch;flex-direction:column}.ex-search{max-width:none}.ex-detail-panel{margin-top:-211px}.ex-list-controls{min-height:211px}.ex-kpi{padding:15px 12px;gap:10px}.ex-kpi>span{width:34px;height:34px}.ex-kpi strong{font-size:21px}.ex-deals .ex-company-avatar{display:none}.exchange-v3 .ex-deals td{padding:12px 6px}.ex-detail-panel header{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.ex-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.exchange-v3 .exchange-heading h1{font-size:28px}.exchange-v3 .exchange-heading .actions{flex-wrap:wrap}.ex-list-controls{width:100%;min-height:0;border-bottom:1px solid var(--line);border-radius:9px;padding:17px}.ex-list-toolbar{flex-direction:row;flex-wrap:wrap}.ex-search{flex:1;min-width:145px}#exchange-deal-results{display:flex;flex-direction:column;gap:12px}.ex-list-panel{margin-top:10px;border-top:1px solid var(--line);border-radius:9px;min-height:0;max-height:440px;overflow:auto}.ex-detail-panel{margin-top:0}.exchange-v3 .ex-deals{min-width:530px}.ex-detail-panel header{flex-direction:row}.exchange-v3 .exchange-tabs{gap:5px}.ex-detail-actions button{min-height:44px}.ex-contract-note{padding:15px}.ex-kpi strong{font-size:21px}}
}

@media screen{.exchange-v3 .ex-explorer{display:grid;grid-template-columns:minmax(0,1.78fr) minmax(0,1fr);gap:0 18px}.exchange-v3 .ex-list-controls{width:auto;grid-column:1;grid-row:1;min-height:0}.exchange-v3 #exchange-deal-results{display:contents}.exchange-v3 .ex-list-panel{grid-column:1;grid-row:2}.exchange-v3 .ex-detail-panel{grid-column:2;grid-row:1/span 2;margin:0}@media(max-width:760px){.exchange-v3 .ex-explorer{grid-template-columns:minmax(0,1fr);gap:12px}.exchange-v3 .ex-list-panel{grid-column:1;grid-row:2;margin:0}.exchange-v3 .ex-detail-panel{grid-column:1;grid-row:3}}}

@media screen{html body .premium-brand>img{display:block;width:190px;max-width:100%;height:auto;object-fit:contain}html[data-theme="light"] body .premium-brand>img{filter:drop-shadow(0 0 1px #345)}}

@media screen{html[data-theme="light"] body .premium-brand{background:#11181e!important;border-radius:9px;padding:5px 8px}}

@media screen{html[data-theme="dark"] body:has(.top){background:#151b20!important}html body .exchange-v3 .exchange-tabs{flex-wrap:nowrap!important}@media(max-width:760px){html body .exchange-v3 .ex-deals{min-width:0;width:100%}.ex-deals thead{display:none}.exchange-v3 .ex-deals tbody{display:block}.exchange-v3 .ex-deals tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;position:relative;padding:13px 9px;border-bottom:1px solid var(--line)}.exchange-v3 .ex-deals td{display:block;padding:0;border:0!important;white-space:normal}.ex-deals td:first-child{grid-column:1/-1;padding-right:26px!important}.ex-deals td:nth-child(2){grid-column:1/-1}.ex-deals td:nth-child(3){grid-column:1;text-align:left!important;font-size:14px;font-weight:650}.ex-deals td:nth-child(4){grid-column:2}.ex-deals td:nth-child(5){position:absolute;right:6px;top:10px}.exchange-v3 .ex-deals td:nth-child(2)>strong{max-width:none}.exchange-v3 .ex-company-avatar{display:grid;width:28px;height:28px}.exchange-v3 .ex-row-select{min-height:32px}.ex-detail-panel header{flex-wrap:wrap}.ex-list-count{padding-top:10px}}}

@media screen{.sheet-sync-panel>p{font-size:13px;line-height:1.8;margin:14px 0}.sheet-sync-panel .sheet-sync-time{font-size:15px;white-space:normal}.sheet-sync-help{margin:23px 0;padding:17px;background:var(--raised);border:1px solid var(--line);border-radius:10px;font-size:13px;line-height:1.8}.sheet-sync-help li{margin:9px 0}.sheet-sync-help ol{padding-left:22px}.sheet-sync-panel a{color:var(--green)}#sheet-sync-code{font-family:monospace;font-size:11px;resize:vertical;min-height:230px}}

@media screen{.sheet-mapping-table td small{display:block;font-size:11px;line-height:1.6}.sheet-mapping-table td:nth-child(2){min-width:220px}.sheet-mapping-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--green)}.sheet-source-health details{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8}@media(max-width:620px){.sheet-mapping-table,.sheet-mapping-table tbody{display:block;min-width:0}.sheet-mapping-table thead{display:none}.sheet-mapping-table tr{display:grid;grid-template-columns:1fr auto;padding:13px 7px;gap:12px}.sheet-mapping-table td{display:block;border:0!important;padding:0}.sheet-mapping-table td:first-child{grid-column:1/-1}.sheet-mapping-table td:nth-child(2){grid-column:1;min-width:0}.sheet-mapping-table td:nth-child(3){grid-column:2;align-self:center}.sheet-mapping-table td:nth-child(4){grid-column:1/-1}}}


@media screen {
.sheet-verification {border-inline-start:4px solid #58abce;}
.sheet-verification details {margin-top:14px;}
.sheet-verification summary {cursor:pointer;font-weight:700;padding-block:8px;}
.sheet-garage-comparison {display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-block:20px;}
.sheet-garage-comparison article {display:grid;gap:10px;padding:18px;border:1px solid var(--border);border-radius:18px;background:var(--surface);min-width:0;}
.sheet-garage-comparison b {font-size:1.35rem;}
.sheet-garage-comparison progress {width:100%;height:9px;accent-color:#62bca8;}
.sheet-garage-comparison article:nth-child(2) progress {accent-color:#68aaca;}
.sheet-garage-comparison article:nth-child(3) progress {accent-color:#a58ad8;}
.sheet-garage-comparison article:nth-child(4) progress {accent-color:#d8ac64;}
.sheet-garage-comparison article:nth-child(5) progress {accent-color:#86b765;}
.sheet-garage-comparison small {line-height:1.5;}
}

@media screen { .staff-sort{max-width:320px;margin-block:8px 20px}.pawn-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}.pawn-item{display:grid;gap:10px;align-content:start}.pawn-item .actions{margin-top:10px}#pawn-trade-form,#pawn-item-form,#pawn-void-form{display:grid;gap:14px}.pawn-item small{line-height:1.5} }
@media screen {
 #farm-workshop .farm-cart-quantity{width:100px;min-height:44px;font-weight:700;margin-right:8px}
 #farm-workshop .farm-cart-line .actions{flex-wrap:wrap}
 #farm-workshop .farm-history{padding:16px;border:1px solid var(--studio-line);border-left:4px solid #369575;border-radius:14px;margin-top:12px;background:var(--studio-panel)}
 #farm-workshop .farm-history[data-kind=transform]{border-left-color:#a478d5}
 #farm-workshop .farm-history[data-kind=buy]{border-left-color:#cf9c39}
 #farm-workshop .farm-history.is-changed{border-left-color:var(--muted)}
 #farm-workshop .farm-history .actions{margin-left:auto;flex-wrap:wrap}
 .salary-overpayment{display:block;color:#805400;white-space:normal;margin-top:5px;line-height:1.5}
 html[data-theme=dark] .salary-overpayment{color:#f5cd7a}
 @media(max-width:600px){#farm-workshop .farm-history .actions{width:100%;margin:0}#farm-workshop .farm-history .actions button{flex:1;min-height:44px}#farm-workshop .farm-cart{position:static}}
}

@media screen{
.staff-feed-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;margin:22px 0;min-width:0}
.staff-feed-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.staff-feed-head h2{margin:8px 0;font-size:22px}.staff-feed-head p{color:var(--muted);margin:5px 0}.staff-feed-head .actions{flex-wrap:wrap}.staff-unread{font-size:12px;color:var(--green);background:var(--raised);border:1px solid var(--line);border-radius:30px;padding:5px 9px;display:inline-block;vertical-align:middle}
.staff-feed-list{max-height:440px;overflow:auto;scrollbar-gutter:stable}.staff-feed-event{display:flex;align-items:center;gap:16px;padding:17px 12px;border-bottom:1px solid var(--line)}.staff-feed-event:last-child{border:0}.staff-feed-event>div{flex:1;min-width:0}.staff-feed-event p{margin:8px 0 4px}.staff-feed-event small{color:var(--muted)}.staff-feed-title{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.staff-feed-title strong{overflow-wrap:anywhere}.staff-feed-symbol{display:grid;place-items:center;border:1px solid var(--line);background:var(--raised);font-size:24px;width:42px;height:42px;border-radius:12px;flex:0 0 42px;color:var(--green)}.staff-feed-event.closure .staff-feed-symbol{color:#c54d46}.staff-feed-event.returned .staff-feed-symbol{color:#8a6200}html[data-theme=dark] .staff-feed-event.closure .staff-feed-symbol{color:#ffb3ad}html[data-theme=dark] .staff-feed-event.returned .staff-feed-symbol{color:#f2c66d}.staff-feed-dot{width:7px;height:7px;border-radius:50%;background:var(--green)}.staff-feed-event.unread{border-left:3px solid var(--green)}
.staff-notes-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.staff-notes-filters .field{flex:1 1 180px}.staff-notes-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:20px;align-items:start}.staff-note-list,.staff-note-editor{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px}.staff-note-list h2{font-size:16px}.staff-note-card{width:100%;display:flex;flex-direction:column;gap:9px;padding:16px;text-align:left;background:var(--raised);border:1px solid var(--line);border-radius:12px;color:var(--text);margin-bottom:12px;overflow-wrap:anywhere}.staff-note-card.selected{border-color:var(--green);box-shadow:inset 3px 0 var(--green)}.staff-note-card>span:not(.staff-note-category){font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.staff-note-card small{font-size:12px;color:var(--muted);line-height:1.6}.staff-note-category{color:var(--green);font-size:12px;font-weight:700}.staff-note-editor h2{font-size:26px;overflow-wrap:anywhere}.staff-document{max-width:850px;line-height:1.85;padding:24px 0;overflow-wrap:anywhere}.staff-document p{margin-bottom:20px}.staff-document h3{margin:28px 0 12px;font-size:21px}.staff-note-options{display:grid;grid-template-columns:1fr 1fr;gap:15px}.staff-note-content{min-height:430px;line-height:1.7;resize:vertical;font-family:inherit}.staff-note-editor form>.field{margin:18px 0}.staff-save-state{color:var(--muted);font-size:13px}.staff-notes-page{max-width:1600px}
@media(max-width:900px){.staff-feed-head{flex-direction:column}.staff-notes-layout{grid-template-columns:minmax(220px,30%) minmax(0,1fr)}.staff-note-list,.staff-note-editor{padding:15px}.staff-feed-event{align-items:start;flex-wrap:wrap}.staff-feed-event>button{margin-left:58px}}
@media(max-width:640px){.staff-notes-layout{grid-template-columns:minmax(0,1fr)}.staff-note-list{max-height:360px;overflow:auto}.staff-feed-panel{padding:16px}.staff-note-options{grid-template-columns:1fr}.staff-feed-head h2{font-size:20px}.staff-feed-symbol{width:32px;height:32px;flex-basis:32px}.staff-feed-event{gap:10px}.staff-feed-event>button{margin-left:42px}.staff-note-editor h2{font-size:23px}}
}

@media screen{.fishing-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px;margin:20px 0}.fishing-card{min-width:0;border-top:3px solid var(--green)}.fishing-card.is-inactive{border-top-color:var(--muted)}.fishing-card header{display:flex;justify-content:space-between;gap:12px}.fishing-card h2{font-size:21px;overflow-wrap:anywhere}.fishing-figures{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:15px 0}.fishing-figures>div{display:flex;flex-direction:column;gap:8px}.fishing-figures span{font-size:13px;color:var(--muted)}.fishing-figures strong{font-size:25px}.fishing-quota{display:flex;flex-direction:column;gap:10px}.fishing-quota progress{width:100%;accent-color:var(--green);height:9px}.fishing-card>p{overflow-wrap:anywhere}.fishing-item-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;max-height:300px;overflow:auto;margin:18px 0}#fishing-workspace .intro .actions{flex-wrap:wrap}#fisher-history{margin-top:25px}}
