:root{color-scheme:light;--bg:#f3f5f7;--surface:#fff;--raised:#f7f9fa;--green:#047857;--text:#172b26;--muted:#53675f;--line:#dce4e0;font:16px/1.5 'Segoe UI',Arial,sans-serif;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--green)}button,input,select,textarea,a{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #0a9669;outline-offset:3px}button svg{width:18px;height:18px}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;font-weight:700}h2{font-size:20px;line-height:1.4;font-weight:700}h3{font-size:18px;font-weight:700}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:14px}.number,.money,.price,.stat strong,.company-metrics dd{font-variant-numeric:tabular-nums}.money{text-align:right;white-space:nowrap}
.top{background:#102a22;color:#fff;border-bottom:3px solid #12bd83}.top-inner{max-width:1520px;margin:auto;display:flex;align-items:center;gap:28px;padding:8px 32px;min-height:88px}.brand{position:relative;overflow:hidden;width:217px;height:58px;flex-shrink:0;background:#080a09;border-radius:7px}.brand img{position:absolute;width:1095px;max-width:none;left:-468px;top:0}.topnav{display:flex;gap:8px;align-self:center}.nav{border:1px solid transparent;border-radius:8px;background:transparent;color:#dbe9e3;font-weight:700;padding:13px 18px;font-size:14px;letter-spacing:.3px;min-height:48px}.nav.active{background:#fff;color:#07593f}.nav:hover:not(.active){background:#244339;color:#fff}.profile{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:14px;flex-wrap:wrap}.profile>span{color:#e1eee7;font-weight:600}.profile .text-button{color:#daeee3}.profile .secondary{border-color:#587569;background:#244338;color:#fff}.demo-line{display:none}.page{max-width:1520px;margin:auto;padding:32px 32px 44px}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.4px;color:var(--green);margin-bottom:9px}.intro p{color:var(--muted);font-size:16px;margin-top:10px}.company-select{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;max-width:420px}.company-select>.small{font-size:14px;font-weight:600}.company-select .select{min-width:210px}.company-select .text-button{padding:8px 12px}.bill-tag{font-size:14px;font-weight:600;background:#e7f3ed;color:#075b40;padding:10px 14px;border:1px solid #b7d8c8;border-radius:8px}
.workspace{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start}.workspace-nav{position:sticky;top:20px;display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}.workspace-nav::before{content:'VOTRE ENTREPRISE';font-size:11px;font-weight:700;letter-spacing:1.1px;color:#63776b;padding:10px 12px}.workspace-nav button{text-align:left;border:0;border-left:3px solid transparent;border-radius:7px;padding:13px 12px;background:transparent;font-size:15px;font-weight:600;min-height:48px;color:#42574d}.workspace-nav button.active{background:#e5f4ec;border-left-color:var(--green);color:#075b40}.workspace-nav button:hover{background:#f0f5f2}.workspace-content{min-width:0}.view-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}.view-nav button{border:1px solid #cddad2;background:white;color:#435b4d;padding:11px 18px;min-height:46px;border-radius:8px;font-size:15px;font-weight:600}.view-nav button.active{background:#e3f3eb;border-color:#8bc4a7;color:#075a3f}
.section-head,.catalog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.section-head:not(:first-child){margin-top:24px}.catalog-head span{font-size:14px;color:var(--muted)}.actions,.employee-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 17px;border:1px solid transparent;border-radius:8px;font-size:15px;font-weight:650;line-height:1.4}.primary{background:#047857;color:white}.primary:hover:not(:disabled){background:#065f46}.secondary{background:#fff;border-color:#c6d5cd;color:#304f3e}.secondary:hover:not(:disabled){background:#edf4f0}.danger{background:#fff1f0;color:#a22b24;border-color:#e8b5af}.danger:hover{background:#ffe4e1}.text-button{background:none;border:0;color:#08714f;font-size:14px;font-weight:650;min-height:40px;padding:9px 12px;border-radius:7px}.text-button:hover{background:#e6f2eb}.employee-actions .text-button{background:#f5f9f6;border:1px solid #cbded2;white-space:nowrap}.table-wrap td>button+button{margin-left:10px}
.input,.select,.week{color:var(--text);background:#fff;border:1px solid #b9cbc0;border-radius:8px;min-height:46px;padding:11px 13px;line-height:1.4;font-size:15px}.input{width:100%}.select{width:100%;max-width:260px}.week{max-width:100%;font-weight:600}.input::placeholder{color:#6b7a71}.label{display:block;font-size:14px;font-weight:650;color:#344d40;margin-bottom:8px}.field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;color:#344d40}.field .label{margin:0}.field small{font-size:13px;font-weight:400;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.full{grid-column:1/-1}.form-check,.pay-check{display:flex;align-items:center;gap:10px;font-size:15px;color:#3c5445;min-height:40px;font-weight:500}.form-check input,.pay-check input{width:18px;height:18px;accent-color:var(--green);flex-shrink:0}.form-error{font-size:14px;color:#b22c25;line-height:1.5;margin-top:10px}.help-line{font-size:14px;line-height:1.7;color:#4a6454;margin:20px 0 0;padding:16px 18px;border:1px solid #dce6e0;background:#edf3ef;border-radius:9px;text-align:left}.form-grid>p{font-weight:400}.recipe-row{padding:16px;background:#f5f8f6;border:1px solid var(--line);border-radius:9px;margin-bottom:12px}.recipe-row .text-button{justify-self:start}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 26px}.stat{padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 4px #18362804;min-width:0}.stat>span{display:block;font-size:14px;font-weight:600;color:#52695c;margin-bottom:14px}.stat>strong{display:block;font-size:30px;line-height:1.2;letter-spacing:-.8px;font-weight:700;overflow-wrap:anywhere}.stat>small{display:block;margin-top:10px;font-size:13px;color:#63796b;line-height:1.5}.stat:last-child{background:#e9f6ef;border-color:#b9deca}.stat:last-child>strong{color:#08623f}.salary-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-breakdown{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 24px;margin-bottom:28px}.finance-breakdown h2{margin-bottom:8px}.finance-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #e5ebe7;font-size:15px;color:#405d4c}.finance-row strong{font-size:16px;font-weight:650;color:#203e2d;white-space:nowrap;font-variant-numeric:tabular-nums}.finance-row.final{border:0;background:#edf8f1;border-radius:8px;padding:17px;margin:12px -8px -6px;color:#075e3e;font-weight:650}.finance-row.final strong{font-size:24px;color:#075e3e}.columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.table-wrap{width:100%;overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:11px;margin-bottom:6px}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;white-space:nowrap}th{padding:15px 18px;background:#edf2ef;color:#46614f;font-size:12px;line-height:1.4;font-weight:700;letter-spacing:.3px;border-bottom:1px solid #d5e0d9}td{padding:17px 18px;border-bottom:1px solid #e4ebe6;color:#344e3e;vertical-align:middle;line-height:1.55}td strong{font-weight:700;color:#173d28}tbody tr:nth-child(even){background:#f8faf9}tbody tr:hover{background:#eef7f1}tr:last-child td{border-bottom:0}.status{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.4;font-weight:650;padding:6px 9px;border-radius:6px;background:#e0f3e7;color:#12633b;white-space:nowrap}.status::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.status.unpaid{background:#fff1d8;color:#8b5408}.status.void{background:#edf0ee;color:#59685e}.recent{margin-top:30px}.recent>h2{margin-bottom:16px}.empty{padding:42px 24px;text-align:center;color:var(--muted);font-size:15px;background:#fff;border:1px dashed #c8d9ce;border-radius:10px;line-height:1.8}.empty strong{display:block;color:#264b35;margin-bottom:8px;font-size:17px}.admin-card{padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px;margin:18px 0}.admin-card h2{margin-bottom:10px}.admin-card .primary{margin-top:16px}.audit-info{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.worker{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:11px;padding:16px 20px;margin-bottom:26px}.worker .label{margin:0}.worker-note{font-size:14px;color:var(--muted)}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#0c9a60;margin-right:8px}.cash-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,1fr);gap:28px;align-items:start}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product{display:flex;flex-direction:column;text-align:left;gap:16px;justify-content:space-between;background:#fff;border:1px solid #cfddd4;border-radius:12px;padding:22px;min-height:180px}.product:hover{border-color:#0b9462;background:#f2fbf5}.product.selected{background:#e7f7ec;border:2px solid #149c68;padding:21px}.product-symbol{font-size:32px;line-height:1.2}.product-name{color:#183f2a;font-size:17px;font-weight:700;line-height:1.4}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.price{color:#076640;font-size:22px;font-weight:700}.add-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#ecf7ef;color:#08744b;font-size:22px;border:1px solid #c3dfce}.selected .add-symbol{background:#08794e;color:#fff;border-color:#08794e}.order{position:sticky;top:20px;background:#fff;border:1px solid #cbded2;border-radius:13px;overflow:hidden;box-shadow:0 8px 24px #183c2610}.order-head{padding:20px 22px;background:#edf6f0;border-bottom:1px solid #d4e5da;display:flex;align-items:center;justify-content:space-between;gap:12px}.order-head>span{font-size:14px;color:#506d59}.order-list{padding:0 22px;min-height:100px}.order-row{padding:18px 0;border-bottom:1px solid #e1eae4}.order-row:last-child{border:0}.order-row-top{display:flex;justify-content:space-between;gap:12px;font-size:15px;margin-bottom:14px}.order-row-top strong{font-weight:650}.order-row-controls{display:flex;align-items:center;justify-content:space-between}.qty{display:flex;align-items:center;border:1px solid #c8d9cf;border-radius:8px;background:#f7faf8}.qty button{min-width:40px;min-height:40px;background:none;border:0;font-size:21px;color:#08714a}.qty input{width:48px;border:0;text-align:center;background:transparent;color:#183b29;font-size:15px;appearance:textfield}.qty input::-webkit-inner-spin-button{display:none}.remove{width:40px;height:40px;color:#805349;background:none;border:0;font-size:24px}.order-empty{display:grid;place-items:center;text-align:center;min-height:150px;color:#657d6d;font-size:15px;line-height:1.8}.order-bottom{padding:22px;background:#f8fbf9;border-top:1px solid #dce8df}.total{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;color:#425e4b;margin-bottom:20px}.total strong{font-size:34px;letter-spacing:-1px;font-weight:700;color:#153c26;white-space:nowrap}.pay-check{margin-bottom:18px}.submit-sale{width:100%;min-height:54px;font-size:16px}.options{font-size:14px;color:#4e6857;margin-top:16px}.options summary{cursor:pointer;padding:11px 0;font-weight:600}.options-body{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:14px 0}.order .help-line{font-size:13px;padding:12px;border:0;background:#edf4ef}
.modal{background:#fff;color:var(--text);border:1px solid #c4d5ca;border-radius:15px;width:min(640px,calc(100vw - 32px));padding:28px;max-height:90vh;overflow-y:auto;box-shadow:0 24px 100px #05231830}.modal::backdrop{background:#10291f99}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.modal-head h2{font-size:23px}.modal-close{border:0;background:#eef3ef;color:#496250;font-size:26px;width:40px;height:40px;border-radius:9px}.modal-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:flex;justify-content:flex-end;gap:10px}.modal p+p{margin-top:12px}.auth-page{max-width:500px;margin:6vh auto;padding:32px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 50px #1739270c}.auth-page .brand{margin:0 auto 28px}.auth-page h1{margin-bottom:10px}.auth-page form{display:grid;gap:18px;margin-top:26px}.auth-page .small{font-size:13px}.auth-page form>button{min-height:50px}.notice{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding:16px 20px;border:1px solid #afd6bc;background:#e9f7ed;color:#205c35;border-radius:10px;font-size:15px}.notice button{background:none;border:0;color:#075f3c;font-size:14px;font-weight:700}.toast{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;background:#173e29;border:1px solid #3f7956;border-radius:10px;color:#fff;padding:15px 22px;font-size:15px;box-shadow:0 8px 30px #0003;max-width:90vw}.toast.show{display:block}.loading{padding:50px;text-align:center;color:var(--muted)}.footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #dae4de;margin-top:36px;padding-top:20px;color:#62786b;font-size:12px;line-height:1.6}
@media(max-width:1180px){.top-inner{gap:18px;padding:10px 24px;flex-wrap:wrap}.profile{font-size:13px}.nav{padding:12px}.workspace{grid-template-columns:180px minmax(0,1fr);gap:20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.salary-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.cash-grid{grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr)}.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.page{padding:24px 20px}.topnav{order:3;width:100%;justify-content:center}.nav{flex:1}.top-inner{padding:10px 20px}.workspace{grid-template-columns:1fr}.workspace-nav{position:static;flex-direction:row;flex-wrap:wrap;padding:8px;gap:5px}.workspace-nav::before{display:none}.workspace-nav button{flex:1 0 auto;padding:10px 12px;min-height:44px;border-left:0;border-bottom:2px solid transparent;font-size:14px}.workspace-nav button.active{border-bottom-color:var(--green)}.intro{gap:16px}.intro h1{font-size:28px}.company-select{max-width:280px}.company-select .select{min-width:170px}.cash-grid{grid-template-columns:1fr}.order{position:static}.products{grid-template-columns:repeat(3,minmax(0,1fr))}.columns{grid-template-columns:1fr}.footer{font-size:12px}.stat strong{font-size:28px}}
@media(max-width:560px){.page{padding:22px 14px 32px}.top-inner{padding:10px 14px}.brand{width:190px}.brand img{left:-478px}.profile{gap:4px;margin-left:0;width:100%;justify-content:space-between}.profile>span{margin-right:auto}.profile .secondary,.profile .text-button{padding:8px;font-size:12px;min-height:40px}.topnav{gap:4px}.nav{font-size:12px;min-height:44px;padding:10px 7px}.intro{display:block;margin-bottom:24px}.intro h1{font-size:27px}.intro p{font-size:15px}.company-select{margin-top:20px;max-width:none;justify-content:flex-start;padding:14px;background:#fff;border:1px solid var(--line);border-radius:10px}.company-select .select{flex:1;max-width:none;min-width:0}.company-select .text-button{padding-left:0}.eyebrow{font-size:11px}.workspace-nav button{font-size:13px;padding:9px 10px}.stats,.salary-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:17px 14px}.stat strong{font-size:25px}.stat span{font-size:13px}.stat small{font-size:12px}.section-head h2{font-size:19px}.section-head{align-items:flex-start}.section-head .actions{width:100%}.section-head .week{flex:1;min-width:0}.primary,.secondary,.danger{font-size:14px;padding:11px 13px}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{padding:17px;min-height:165px}.product.selected{padding:16px}.product-name{font-size:16px}.price{font-size:20px}.worker{padding:14px}.worker-note{display:none}.worker .select{flex:1;max-width:none}.form-grid,.options-body{grid-template-columns:1fr}.modal{padding:22px}.finance-breakdown{padding:18px}.finance-row{font-size:14px}.finance-row strong{font-size:15px}.finance-row.final strong{font-size:21px}.footer{display:block}.footer span{display:block;margin-bottom:8px}th,td{padding:14px}table{font-size:14px}.auth-page{margin:24px 14px;padding:24px}.help-line{font-size:13px}.catalog-head span{font-size:13px}.view-nav button{flex:1;padding:10px;font-size:14px}.notice{align-items:flex-start;flex-direction:column}}

#login-hint:empty,#login-error:empty{display:none}

/* Keep every account action readable on the dark header, including hover/focus. */
.top{background:#080a09}.brand{background:transparent;border-radius:0}.profile .text-button{background:#244338;color:#fff;border:1px solid #587569}.profile .text-button:hover,.profile .text-button:focus-visible,.profile .secondary:hover:not(:disabled),.profile .secondary:focus-visible{background:#e6f2eb;color:#123b2b;border-color:#9cc8b2}.profile button{font-weight:600;line-height:1.4}.top-inner{row-gap:14px}

/* Login: one clear form, paired with a lightweight brand welcome. */
.login-shell{display:grid;grid-template-columns:1.05fr 1fr;max-width:1080px;min-height:660px;margin:clamp(24px,7vh,100px) auto;border:1px solid #d7e2dc;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 24px 80px #18382b0d;font-family:'Segoe UI',Arial,sans-serif}.login-welcome{display:flex;flex-direction:column;padding:44px;background:radial-gradient(ellipse at 0% 100%,#155b40 0%,transparent 65%),#080a09;color:#fff}.login-brand .brand{margin:0}.welcome-copy{margin:auto 0;padding:50px 0}.login-welcome .eyebrow{color:#62dfaa;font-size:11px;letter-spacing:2px;margin-bottom:22px}.welcome-copy h1{font-size:42px;line-height:1.18;letter-spacing:-1.4px;font-weight:700;color:#fff}.welcome-copy>p{font-size:16px;line-height:1.8;color:#b5cbbf;margin-top:24px;max-width:360px}.welcome-features{display:grid;gap:14px;margin-top:34px;font-size:14px;color:#e6f3eb}.welcome-features span{display:flex;align-items:center;gap:12px}.welcome-features b{display:grid;place-items:center;width:28px;height:28px;border:1px solid #37634c;border-radius:8px;background:#16392b;color:#8ae8b6;font-size:16px;font-weight:600}.welcome-footer{display:flex;align-items:center;gap:9px;color:#92b09f;font-size:10px;letter-spacing:1px}.welcome-dot{width:6px;height:6px;border-radius:50%;background:#40d994}.login-panel{padding:60px 52px 30px;display:flex;flex-direction:column;justify-content:center}.login-kicker{font-size:11px;letter-spacing:1.8px;font-weight:700;color:#087553}.login-heading h2{font-size:32px;line-height:1.2;letter-spacing:-.8px;margin-top:13px;color:#172b26}.login-heading p{font-size:15px;line-height:1.6;color:#607068;margin-top:12px}.login-panel form{display:grid;gap:20px;margin-top:32px}.login-panel .label{font-size:14px;font-weight:600;margin-bottom:9px}.login-panel .input{min-height:50px;border-radius:9px;background:#f8faf9;border-color:#c5d4cb;font-size:16px;box-shadow:0 1px 2px #18352803}.login-panel .input:focus{background:#fff}.login-panel .form-check{font-size:14px;min-height:24px;margin-top:-2px}.login-panel .primary{min-height:52px;border-radius:9px;font-size:15px;font-weight:700;box-shadow:0 4px 12px #08775018}.login-help{border-top:1px solid #e6ece8;padding-top:22px;margin-top:5px;font-size:13px;line-height:1.8;color:#304f3e}.login-help span{color:#62756a}.login-footnote{margin-top:32px;color:#7b8a81;font-size:12px}.login-panel #login-hint:not(:empty){padding:10px 12px;background:#fff6e5;color:#805111;border-radius:7px;font-size:13px}.login-panel #login-error:not(:empty){margin:0;padding:12px 14px;border:1px solid #efd0cb;border-radius:8px;background:#fff5f3;color:#a12f26;font-size:14px}
@media(max-width:1120px){.login-shell{margin:32px 24px}.login-welcome{padding:36px}.login-panel{padding:44px 36px}.welcome-copy h1{font-size:36px}}
@media(max-width:720px){.login-shell{grid-template-columns:1fr;max-width:500px;min-height:0;margin:20px auto;border-radius:18px}.login-welcome{padding:24px 28px}.welcome-copy{padding:24px 0 4px}.welcome-copy h1{font-size:28px;letter-spacing:-.6px}.login-welcome .eyebrow{margin-bottom:12px}.welcome-copy>p,.welcome-features,.welcome-footer{display:none}.login-panel{padding:30px 28px}.login-heading h2{font-size:28px}.login-panel form{margin-top:26px;gap:18px}.login-footnote{margin-top:24px}}
@media(max-width:540px){.login-shell{margin:16px 12px}.login-welcome{padding:22px 24px}.login-panel{padding:28px 24px}.login-brand .brand{width:217px}.login-brand .brand img{left:-468px}}

[hidden]{display:none!important}

.garage-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.garage-grid .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.garage-grid .stat{padding:18px 14px}.garage-grid .stat strong{font-size:25px;white-space:nowrap}.garage-grid .field{margin-bottom:18px}.garage-grid .order{position:static}@media(max-width:850px){.garage-grid{grid-template-columns:1fr}}@media(max-width:450px){.garage-grid .stats{grid-template-columns:1fr}.garage-grid .stat{display:flex;align-items:center;justify-content:space-between;gap:16px}.garage-grid .stat>span{margin:0}}

.billing-fields{padding:16px;margin:16px 0;background:#f4f8f5;border:1px solid var(--line);border-radius:10px}.billing-fields .field{margin-bottom:14px}.billing-fields .field:last-child{margin-bottom:0}.billing-fields p{margin:10px 0 0}.garage-services{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.garage-service{display:grid;grid-template-columns:20px 1fr;gap:8px;padding:14px;border:1px solid var(--line);border-radius:10px;background:white;font-size:14px;cursor:pointer}.garage-service:has(input:checked){border-color:#087653;background:#e8f6ee}.garage-service strong{grid-column:2}.garage-service input{width:18px;height:18px;accent-color:#087653}.garage-summary{position:sticky;top:24px}.garage-summary #garage-lines{padding:14px}.invoice-payer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.invoice-payer p{margin:5px 0;font-size:14px}.invoice-modal{width:min(1000px,95vw);max-width:1000px}.invoice-document>p{line-height:1.8}.invoice-document th,.invoice-document td{padding:12px;font-size:13px}@media(max-width:850px){.garage-summary{position:static}}@media(max-width:560px){.garage-services{grid-template-columns:1fr}.invoice-payer{align-items:flex-start;flex-direction:column}.billing-fields{padding:12px}}
@media print{body:has(.invoice-modal[open])>*:not(#modal){display:none!important}#modal.invoice-modal[open]{display:block;position:static;inset:auto;max-height:none;width:100%;max-width:none;margin:0;padding:0;border:0;overflow:visible;color:#000;background:#fff;box-shadow:none}#modal.invoice-modal .modal-head,#modal.invoice-modal .modal-actions{display:none!important}.invoice-document .table-wrap{overflow:visible}.invoice-document table{min-width:0;width:100%}.invoice-document tr{break-inside:avoid}.invoice-document th{background:#eee!important;color:#000!important}#modal::backdrop{background:none}}

.government-ledger-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.government-tax-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.government-ledger-stats .stat{padding:18px 14px}.government-ledger-stats .stat strong{font-size:26px}@media(max-width:1000px){.government-ledger-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.government-ledger-stats,.government-tax-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Chamber of commerce: spacious, readable controls and mobile forms. */
.chamber-card{padding:24px;border:1px solid var(--line,#d5e3de);border-radius:16px;background:#fff;margin:20px 0}
.chamber-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:16px;align-items:end;margin:24px 0}
.chamber-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.chamber-stats .stat strong{font-size:clamp(20px,2vw,30px)}
.chamber-alert{font-size:13px;color:#875000;background:#fff5dd;border-radius:6px;padding:5px 9px;margin:4px 0;width:fit-content}
.chamber-modal{width:min(900px,94vw);max-width:900px}
.chamber-section{grid-column:1/-1;background:#f5f9f7;border:1px solid #d5e3de;border-radius:12px;padding:18px}
.chamber-section summary{font-weight:700;cursor:pointer;padding:4px 0;line-height:1.5}
.chamber-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}
.chamber-fields .form-check{align-items:flex-start;margin:0;padding:10px;background:#fff;border-radius:8px}
.chamber-fields small{display:block;color:#52665e;margin-top:4px}
.chamber-estimate{background:#e8f6ef;border:1px solid #aed9c2;border-radius:12px;padding:18px;display:flex;gap:24px;flex-wrap:wrap}
.chamber-estimate span{flex:1;min-width:130px}.chamber-estimate strong{display:block;font-size:21px;margin-top:6px;color:#075a41}
.chamber-notes{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1000px){.chamber-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.chamber-filters{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.chamber-stats{grid-template-columns:1fr 1fr}.chamber-filters,.chamber-fields{grid-template-columns:1fr}.chamber-modal{padding:18px}.chamber-section{padding:14px}.chamber-estimate{gap:16px}.chamber-estimate span:last-child{flex-basis:100%}}
/* Legacy World: clear administration + fast RP cashier. No external fonts or libraries. */
:root{--bg:#f5f7fa;--green:#00875f;--text:#142821;--muted:#5b6d66;--line:#dfe7e3}
.top{position:fixed;inset:0 auto 0 0;width:252px;z-index:30;border:0;background:#08271e;color:white;overflow-y:auto}
.top-inner{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;min-height:100%;padding:28px 16px 22px;gap:36px}
.top .brand{margin:0 auto;flex-shrink:0}.topnav{display:flex;flex-direction:column;align-self:stretch;gap:10px;width:100%;order:0}
.topnav .nav{display:flex;align-items:center;gap:14px;min-height:54px;width:100%;text-align:left;font-size:14px;letter-spacing:0;padding:14px;border-radius:12px;font-weight:600;color:#e1eee8;flex:none}
.topnav .nav svg{width:22px;height:22px;flex:0 0 22px}.topnav .nav.active{background:#00d391;color:#052b1e}.topnav .nav:hover:not(.active){background:#174535}
.profile{margin:auto 0 0;padding-top:22px;border-top:1px solid #355449;gap:10px;display:flex;flex-wrap:wrap;font-size:13px}.profile>span{display:block;width:100%;font-size:15px;margin-bottom:4px;overflow-wrap:anywhere}.profile .secondary,.profile .text-button{font-size:12px;padding:10px 11px;border-radius:9px;min-height:40px}
body:has(.top) .page{margin:0 0 0 252px;width:calc(100% - 252px);max-width:none;padding:0 36px 40px;min-height:100vh}
.app-toolbar{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);margin-bottom:32px;font-size:14px;color:var(--muted)}.app-toolbar b{margin-left:12px;color:#143f30;font-weight:650}.app-toolbar .primary{min-height:44px}
h1{font-size:34px;letter-spacing:-1px}h2{font-size:21px}.intro{margin-bottom:28px}.intro p{font-size:15px;max-width:700px}.primary{background:#00875f;border-color:#00875f;color:#fff;border-radius:10px;font-weight:700}.primary:hover:not(:disabled){background:#006c4c}.secondary{border-radius:10px}.input,.select{border-radius:10px;min-height:46px}
.stats{gap:18px}.stat{border-radius:16px;padding:24px;background:#fff;box-shadow:0 3px 15px #10281c03}.stat strong{font-size:32px;color:#142b22}.stat>span{font-size:14px;margin-bottom:12px}.stat .growth{font-size:12px;font-weight:600;letter-spacing:0}
.category-nav{gap:12px}.category-tile{border-radius:14px}.category-tile.selected{background:#e7f8ef;border-color:#00a874}.company-card{border-radius:17px;padding:24px;box-shadow:0 3px 15px #10281c03}.company-card-head{align-items:center}.company-metrics{gap:12px;margin:22px 0}.company-metrics>div{background:#f7faf8;border:1px solid #e7eee9;border-radius:10px;padding:13px}.company-metrics dd{font-size:24px}.company-card-actions{gap:10px}.company-card-actions .primary{flex-basis:100%;min-height:46px}.company-card-actions .text-button{flex:1;font-size:12px}
.growth{display:block!important;margin:8px 0!important;line-height:1.5;font-weight:650;font-size:13px!important}.growth.positive{color:#007b51!important}.growth.negative{color:#b23a32!important}.growth.neutral{color:#64736b!important}.growth span{font-weight:400;color:#65746c;font-size:12px}.growth:not(.neutral){white-space:normal}
.cash-grid{grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr);gap:26px;align-items:start}.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product{min-height:185px;padding:22px 18px;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;border:1px solid #dce6df;background:#fff;transition:background .12s,border-color .12s}.product:hover{border-color:#009765;background:#f1fcf6}.product.selected{background:#e8fbf1;border:2px solid #00a970;padding:21px 17px}.product-symbol{display:grid;place-items:center;min-height:64px;font-size:48px;line-height:1.2;background:transparent;width:auto;height:auto}.product-name{font-size:16px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.product-bottom{width:100%;justify-content:center;gap:12px}.product .price{font-size:24px;font-weight:750;color:#00865e}.add-symbol{display:grid;place-items:center;width:26px;height:26px;background:#e3f5eb;border-radius:8px;font-size:20px}
.order{border-radius:18px;overflow:hidden;box-shadow:0 4px 18px #183d2905;position:sticky;top:20px;background:#fff}.order-head{padding:22px}.order-head h2{font-size:23px}.order-bottom{padding:22px;background:#fff}.total{padding:18px;background:#eaf8f0;border-radius:12px;margin-bottom:18px}.total strong{font-size:36px;color:#007c54}.submit-sale{min-height:64px;background:#00875f;font-size:17px;border-radius:12px}.qty button{width:44px;height:44px;border-radius:9px}.qty button:last-child{background:#00c98b;color:#063e28}.qty input{min-height:44px}.order-row{padding:20px 22px}.order-row-top strong{font-size:16px}.billing-options{border:1px solid #e0e9e3;border-radius:10px;padding:0 12px;margin:0 0 18px}.billing-options .billing-fields{padding:10px;margin:0 0 14px}.worker{background:#fff;border:1px solid var(--line);padding:16px 20px;border-radius:12px;margin-bottom:24px}.worker-note{font-size:12px}
.workspace{grid-template-columns:170px minmax(0,1fr);gap:22px}.workspace-nav{background:#fff;border:1px solid var(--line);border-radius:13px;padding:10px}.workspace-nav button{font-size:13px;min-height:44px}.table-wrap{border-radius:12px;border:1px solid #e0e8e2;background:#fff}th{font-size:12px;text-transform:none;letter-spacing:.2px;background:#f5f9f7}td{font-size:14px;padding:16px}td .actions{gap:10px}.employee-actions{display:flex;gap:10px;flex-wrap:wrap}
.identity-card,.price-policy{padding:18px;border:1px solid #b8ddcc;background:#edf9f2;border-radius:12px;margin-bottom:16px}.identity-card span,.identity-card strong,.price-policy small{display:block}.identity-card strong{font-size:21px;margin-top:8px;overflow-wrap:anywhere}.price-policy p{margin:8px 0}.price-policy small{margin-top:10px;color:#526e60}.price-policy .actions{display:flex;gap:10px;flex-wrap:wrap}.price-policy button{min-height:42px}.price-flag{display:inline-block;padding:5px 9px;border-radius:7px;background:#e8f7ee;color:#006540;font-size:12px;font-weight:650}.price-flag.invalid{background:#fff0e6;color:#9c3e0b}
.overview-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.overview-count{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid #d8e8df;border-radius:14px;background:#edf8f1}.overview-count strong{font-size:30px;color:#007b53}.overview-count span{font-size:14px;color:#315545}.overview-followup{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0 30px}.overview-followup>section{padding:24px;border-radius:16px;background:#fff;border:1px solid var(--line)}.overview-followup h2{margin-bottom:16px}.overview-ranking{margin-top:32px}.overview-amount{font-size:32px;line-height:1.4}.overview-ranking .company-card p{margin:14px 0 20px}.company-monogram{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;background:#123b2d;color:#fff;border-radius:13px;font-size:23px;font-weight:700}
@media(min-width:1600px){body:has(.top) .page{padding-left:46px;padding-right:46px}.company-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1400px){.cash-grid{grid-template-columns:minmax(0,1fr) minmax(330px,.9fr)}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.company-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.category-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-counts{grid-template-columns:1fr 1fr}.workspace{grid-template-columns:1fr}.workspace-nav{position:static;display:flex;flex-direction:row;flex-wrap:wrap}.workspace-nav::before{display:none}.workspace-nav button{flex:1 0 auto;border-left:0}}
@media(max-width:1100px){.top{width:218px}.top-inner{padding:22px 12px}.top .brand{transform:scale(.86);transform-origin:left center;margin-left:0;margin-right:-10px}.topnav .nav{font-size:13px;padding:12px;gap:10px}.topnav .nav svg{width:20px;flex-basis:20px}body:has(.top) .page{margin-left:218px;width:calc(100% - 218px);padding-left:22px;padding-right:22px}.cash-grid,.garage-grid{grid-template-columns:1fr}.products{grid-template-columns:repeat(3,minmax(0,1fr))}.order{position:static}.overview-followup{grid-template-columns:1fr}.company-cards{grid-template-columns:1fr}.app-toolbar b{display:none}}
@media(max-width:760px){.top{position:static;width:100%;overflow:visible}.top-inner{padding:12px 16px;gap:14px;display:grid;grid-template-columns:1fr auto;min-height:0}.top .brand{transform:scale(.8);height:48px;width:217px}.profile{border:0;padding:0;margin:0;justify-content:flex-end;max-width:190px}.profile>span{font-size:12px;text-align:right;margin:0}.profile button{font-size:11px;padding:7px;min-height:34px}.topnav{grid-column:1/-1;display:flex;flex-direction:row;overflow-x:auto;gap:8px;width:100%;padding-bottom:2px}.topnav .nav{flex:0 0 auto;width:auto;min-height:44px;font-size:12px;padding:10px 12px;gap:8px}.topnav .nav svg{width:18px;height:18px;flex-basis:18px}body:has(.top) .page{margin:0;width:100%;padding:0 16px 30px}.app-toolbar{min-height:74px;margin-bottom:24px;font-size:12px}.app-toolbar .primary{font-size:12px;padding:10px 12px;min-height:40px}h1,.intro h1{font-size:28px}.intro{align-items:flex-start;flex-wrap:wrap;gap:16px}.intro p{font-size:14px}.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product{min-height:155px;padding:16px 10px}.product.selected{padding:15px 9px}.product-symbol{font-size:38px;min-height:46px}.product-name{font-size:14px}.product .price{font-size:21px}.add-symbol{display:none}.cash-grid{gap:22px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:20px 16px}.stat strong{font-size:27px}.overview-count{padding:16px;gap:12px}.overview-count span{font-size:12px}.overview-count strong{font-size:26px}.legal-controls{grid-template-columns:1fr 1fr}.company-cards{grid-template-columns:1fr}.worker{padding:14px;flex-wrap:wrap}.worker-note{width:100%}}
@media(max-width:440px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}.top-inner{grid-template-columns:1fr}.profile{display:flex;max-width:none;justify-content:flex-end;border-top:1px solid #355449;padding-top:10px}.profile>span{width:auto;margin-right:auto}.topnav{grid-column:1}.top .brand{margin:auto;transform-origin:center}.legal-controls{grid-template-columns:1fr}.overview-counts{gap:10px}.overview-count{display:block}.overview-count span{display:block}.category-nav{grid-template-columns:1fr 1fr}.app-toolbar>span{max-width:110px}.total strong{font-size:30px}.order-head h2{font-size:21px}}
@media print{.app-toolbar{display:none!important}}
/* Proportional original logo, never stretched or offset with crop hacks. */
.brand,.top .brand,.login-brand .brand{width:208px!important;height:60px!important;transform:none!important;overflow:visible;background:transparent;border-radius:0;display:flex;align-items:center;justify-content:center;margin-left:auto!important;margin-right:auto!important}
.brand img,.login-brand .brand img{display:block;position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain;transform:none!important}
.primary,.secondary,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.3;text-align:center;vertical-align:middle}.primary{background:linear-gradient(120deg,#008e63,#007d56);border:1px solid #00835b;box-shadow:0 3px 8px #00815b14;transition:background .14s,box-shadow .14s,transform .14s;min-height:46px}.primary:hover:not(:disabled){background:linear-gradient(120deg,#009f70,#00865d);box-shadow:0 5px 15px #00815b22}.primary:active:not(:disabled){transform:translateY(1px)}.secondary{background:#fff;border:1px solid #d8e4dd;font-weight:600;box-shadow:0 1px 3px #0c332207}.secondary:hover:not(:disabled){background:#f0faf5;border-color:#a3cfb9}
.metric-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#e3faf0;color:#00996b;vertical-align:middle}.metric-icon svg{width:22px;height:22px}.metric-icon.tax{background:#fff0f1;color:#db4363}.metric-icon.sales{background:#eaf5ff;color:#168ddb}.metric-icon.margin{background:#e3faf1;color:#00a778}.stat>span{display:flex;align-items:center;gap:12px;min-height:38px}.stat strong{letter-spacing:-.7px}.company-metrics dt{display:flex;align-items:center;gap:8px}.company-metrics .metric-icon{width:28px;height:28px;flex-basis:28px;border-radius:8px}.company-metrics .metric-icon svg{width:17px;height:17px}.company-card-actions .primary{min-height:50px;border-radius:12px;font-size:15px}
.category-nav{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #dae5df;padding:0 0 16px;background:transparent}.category-tile{display:flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:999px;padding:12px 17px;background:transparent;text-align:center}.category-tile strong{font-size:14px}.category-tile span{font-size:11px;border-radius:20px;padding:3px 6px;background:#e9efec}.category-tile small{display:none}.category-tile.selected{padding:12px 17px;border:1px solid #009768;background:#00865d;color:#fff}.category-tile.selected strong{color:#fff}.category-tile.selected span{background:#ffffff24;color:#fff}.category-tile:hover:not(.selected){background:#edf6f1}
.catalog-tools{display:flex;align-items:end;gap:10px;margin-bottom:14px;flex-wrap:wrap}.catalog-tools label{display:grid;gap:5px;font-size:12px;color:#52675b;font-weight:600}.catalog-search{flex:1;min-width:120px}.catalog-tools .input{min-height:38px;font-size:13px;padding:8px 11px}.catalog-tools .secondary{min-height:38px;padding:8px 12px;font-size:12px}.catalog-tools select{max-width:230px}.product-catalog{min-width:0}.catalog-head{margin-bottom:10px}.catalog-head h2{font-size:19px}.catalog-head span{font-size:12px}
#cash-products{display:grid;grid-template-columns:repeat(var(--catalog-cols,3),minmax(0,1fr));gap:var(--catalog-gap,14px);align-content:stretch;overflow-y:auto;overflow-x:hidden;padding:2px 4px 4px 2px;scrollbar-width:thin;scrollbar-color:#a0cbb6 #edf5f0;overscroll-behavior:contain}
#cash-products .product{width:100%;height:100%;min-height:0;padding:14px 8px;gap:8px;overflow:hidden;justify-content:center;align-items:center;border-radius:14px;box-shadow:0 2px 5px #1a352004}
#cash-products .product.selected{padding:13px 7px}#cash-products .product-symbol{min-height:0;height:auto;font-size:40px;line-height:1.05;width:auto;flex:none}#cash-products .product-name{width:100%;font-size:14px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#cash-products .product-bottom{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin:0}#cash-products .price{font-size:22px;line-height:1.1;white-space:nowrap}
#cash-products .add-symbol{display:inline-flex!important;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;padding:0;margin:0;border:1px solid #b6dfcd;border-radius:7px;background:#e9f8f1;color:#007c55;line-height:1;position:static;transform:none}#cash-products .add-symbol svg{display:block;width:15px;height:15px;margin:0;padding:0}
#cash-products.is-dense .product{padding:8px 6px;gap:5px;border-radius:11px}#cash-products.is-dense .product-symbol{font-size:27px}#cash-products.is-dense .product-name{font-size:12px}#cash-products.is-dense .price{font-size:17px}#cash-products.is-dense .add-symbol{width:20px;height:20px;flex-basis:20px}#cash-products.is-dense .add-symbol svg{width:13px;height:13px}
#cash-products.is-very-dense .product{display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 22px;text-align:left;padding:7px;gap:3px 6px}#cash-products.is-very-dense .product-symbol{grid-column:1;grid-row:1;font-size:22px}#cash-products.is-very-dense .product-name{grid-column:2;grid-row:1;font-size:12px;line-height:1.15}#cash-products.is-very-dense .product-bottom{grid-column:1/-1;grid-row:2;justify-content:space-between}#cash-products.is-very-dense .price{font-size:16px}#cash-products.is-very-dense .price-flag{display:none}.catalog-no-results{grid-column:1/-1;display:grid;place-items:center;min-height:100px;color:#61766b;background:#fff;border:1px dashed #bfd3c7;border-radius:12px}
.cash-workspace .app-toolbar{min-height:58px;margin-bottom:14px}.cash-workspace>.view-nav{margin-bottom:14px}.cash-workspace .intro{margin-bottom:14px;align-items:center}.cash-workspace .intro h1{font-size:27px}.cash-workspace .intro p{margin-top:4px;font-size:14px}.cash-workspace .eyebrow{font-size:10px;margin-bottom:4px}.cash-workspace .worker{padding:10px 14px;margin-bottom:14px;gap:12px}.cash-workspace .worker .select{min-height:38px;padding-top:7px;padding-bottom:7px}.cash-workspace .worker-note{font-size:11px}.cash-workspace .order-head{padding:15px 18px}.cash-workspace .order-head h2{font-size:20px}.cash-workspace .order-empty{min-height:90px;font-size:14px}.cash-workspace .order-bottom{padding:16px}.cash-workspace .total{padding:13px;margin-bottom:12px}.cash-workspace .total strong{font-size:29px}.cash-workspace .submit-sale{min-height:52px;font-size:15px}.cash-workspace .billing-options{margin-bottom:12px}.cash-workspace .help-line{margin-bottom:0}.cash-workspace .recent{margin-top:22px}
.reorder-list{display:grid;gap:7px;max-height:50vh;overflow-y:auto;padding:2px}.reorder-row{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #dce8df;border-radius:9px;background:#fff}.reorder-row strong{flex:1;font-size:14px}.reorder-number{width:24px;color:#647c6b;font-size:12px}.reorder-row .secondary{width:34px;min-height:34px;padding:4px;font-size:18px}
@media(max-width:1100px){.brand,.top .brand{width:184px!important;height:54px!important}.catalog-tools{gap:8px}.catalog-tools select{max-width:200px}}
@media(max-width:760px){.brand,.top .brand{width:180px!important;height:51px!important}.cash-workspace .intro h1{font-size:23px}.cash-workspace .intro .company-select{max-width:none;width:100%;justify-content:flex-start}.cash-workspace .worker-note{display:none}.catalog-tools .catalog-search{flex-basis:45%}.catalog-tools select{max-width:none;width:100%}.catalog-tools>label:not(.catalog-search){flex:1}.cash-workspace .order{position:static}.category-nav{gap:5px}.category-tile,.category-tile.selected{padding:10px 12px}.category-tile span{display:none}.metric-icon{width:30px;height:30px;flex-basis:30px}.metric-icon svg{width:18px;height:18px}.stat>span{gap:8px;font-size:12px}}

/* Leave room for 25 products on a standard 768px-high PC display. */
.cash-workspace:has(#cash-products.is-very-dense) .intro p{display:none}.cash-workspace:has(#cash-products.is-very-dense) .worker{padding-top:8px;padding-bottom:8px}

/* Search placeholder and selected sort label remain visible in compact mode. */
.cash-workspace:has(#cash-products.is-very-dense) .catalog-tools label{font-size:0;gap:0}.cash-workspace:has(#cash-products.is-very-dense) .catalog-tools .input{font-size:13px}

.company-group-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:24px 0}.company-group-nav button{display:flex;align-items:center;justify-content:center;min-height:64px;border:1px solid #d8e5dd;background:#fff;border-radius:13px;font-size:14px;font-weight:650;color:#345747;line-height:1.4;padding:12px}.company-group-nav button.active{background:#e5f7ed;border:2px solid #00885d;color:#075b3f;padding:11px}.company-group-nav button:hover:not(.active){background:#f0faf4;border-color:#a6d4bb}.company-subnav{margin-bottom:24px}.company-content{min-width:0}.company-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:26px}.home-panel{padding:24px;border:1px solid var(--line);background:#fff;border-radius:16px}.home-panel h2{margin-bottom:20px}.home-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-actions button{min-height:48px}.home-actions .primary{grid-column:1/-1}.setup-task{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;text-align:left;padding:16px 0;background:transparent;border:0;border-bottom:1px solid #e1ebe5;color:#204c36}.setup-task strong,.setup-task small{display:block}.setup-task strong{font-size:15px}.setup-task small{color:#627b6a;font-size:13px;line-height:1.5;margin-top:6px}.setup-task:hover strong{color:#008354}.company-home-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.registry-filters{display:grid;grid-template-columns:1.6fr 1fr 1.4fr 1fr auto;gap:12px;align-items:end;padding:18px;margin:0 0 22px;background:#fff;border:1px solid var(--line);border-radius:13px}.registry-filters label{display:grid;gap:7px;font-size:13px;color:#476554;font-weight:600}.registry-filters .input{width:100%;font-size:14px;min-width:0}.registry-filters .secondary{min-height:46px;font-size:13px}.audit-filters{grid-template-columns:2fr 1fr}.audit-reason{display:block;margin-top:6px;font-size:12px;color:#687c70}.audit-detail-head{margin-bottom:18px}.audit-detail-head>strong{font-size:20px}.audit-detail-head p{margin-top:10px;font-size:14px;color:#526d5c}.audit-details>div{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:18px;padding:12px 0;border-bottom:1px solid var(--line)}.audit-details dt{color:#55715f}.audit-details dd{margin:0;overflow-wrap:anywhere}.directory-modal{width:min(1000px,95vw);max-width:1000px}.directory-search{display:flex;align-items:end;gap:12px;margin-bottom:18px}.directory-search .field{flex:1}.overview-count{cursor:pointer;font:inherit;color:inherit;text-align:left}.overview-count:hover{background:#e0f5e9;border-color:#91c8aa}.overview-arrow{margin-left:auto;color:#00865b}.overview-follow-link{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:18px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;font-size:14px}.overview-follow-link strong{white-space:nowrap;color:#076a48}.overview-follow-link:hover{background:#f0faf5}.overview-follow-link:last-child{border-bottom:0}
.weekly-download{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:20px 24px;margin:24px 0;background:#eaf7ef;border:1px solid #bddccb;border-radius:14px}.weekly-download label{display:grid;gap:8px;font-size:13px;font-weight:650;color:#2d5941}.weekly-download a{min-height:46px;text-decoration:none;font-size:14px;padding:13px 20px}.settlement-section{margin:28px 0}.settlement-section h2{margin-bottom:18px}.settlement-section p{margin-top:12px}.settlement-section .stat{padding:18px}.settlement-section .stat strong{font-size:27px}.settlement-section .stat>span{font-size:13px;min-height:36px}
.table-wrap{max-height:72vh;overflow:auto}.table-wrap thead th{position:sticky;top:0;z-index:2}.modal .table-wrap{max-height:52vh}.audit-details,.modal td{overflow-wrap:anywhere}.legal-controls{grid-template-columns:1fr 1.5fr 1.5fr 1fr 1fr}.category-tile.selected,.category-tile.selected:hover{background:#00865d!important;color:#fff!important;border-color:#00794f!important}.category-tile.selected strong{color:#fff!important}.category-tile.selected span,.category-tile.selected small{background:#ffffff25!important;color:#fff!important;font-weight:600}.company-ranking-label{margin:22px 0 16px;color:#526d5b;font-size:14px}.company-category-label{font-size:12px;color:#587460;margin:4px 0 10px}
@media(max-width:1250px){.registry-filters{grid-template-columns:1fr 1fr}.registry-filters>label:first-child{grid-column:1/-1}.company-group-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.company-home-stats{grid-template-columns:1fr 1fr}.legal-controls{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.company-home-grid{grid-template-columns:1fr}.weekly-download{align-items:stretch;flex-direction:column}.weekly-download a{justify-content:center}.company-group-nav button{min-height:54px;font-size:13px}}
@media(max-width:600px){.registry-filters,.audit-filters{grid-template-columns:1fr}.company-group-nav{grid-template-columns:1fr 1fr;gap:8px}.home-panel{padding:18px}.home-actions{grid-template-columns:1fr}.home-actions .primary{grid-column:1}.weekly-download{padding:18px}.weekly-download select{max-width:100%;font-size:13px}.directory-search{align-items:stretch;flex-direction:column}.legal-controls{grid-template-columns:1fr}.overview-count{gap:10px}.overview-arrow{display:none}}

.employee-iban{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.employee-iban>span{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:220px}

.company-direction{padding:10px 12px;background:#e7f6ef;border-radius:10px;color:#075b45;font-weight:700}.company-direction small{display:block;font-size:12px;font-weight:400;margin-top:4px}.company-direction.is-vacant{background:#fff2d7;color:#734900}.legal-controls{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.legal-controls{grid-template-columns:1fr}}

.company-group-nav{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}@media(max-width:1000px){.company-group-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.company-group-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

.company-registry-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f5f8f7;padding:12px;border-radius:10px;margin:0}.company-registry-details dt{font-size:12px;color:#536b61;margin-bottom:4px}.company-registry-details dd{font-size:14px;font-weight:650;margin:0;overflow-wrap:anywhere}

.payment-alert-panel{padding:22px;margin:22px 0;border:1px solid #e7c67c;background:#fffaf0;border-radius:16px}.payment-alert-panel.has-overdue{border-color:#e6ab9d;background:#fff5f2}.payment-alert-panel h3{margin:18px 0 12px;font-size:16px}.payment-alert-panel .table-wrap{background:white;max-height:360px}.payment-alert-panel p{line-height:1.5}

.profile{flex-wrap:wrap}.employee-documents{display:grid;gap:8px;min-width:145px}.employee-control-documents{margin:26px 0}.reports-modal{width:min(1100px,96vw);max-width:1100px}.bug-report-text p{white-space:pre-wrap;overflow-wrap:anywhere}.bug-report-text h3{margin:16px 0 8px}

.municipal-budget-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.municipal-budget-card{padding:24px;border:1px solid #d6e5dd;border-radius:16px;background:white}.municipal-budget-card dl>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e6ede9}.municipal-budget-card dt{color:#52695f}.municipal-budget-card dd{margin:0;font-weight:750;white-space:nowrap}.funding-filters{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}.funding-filters .field{min-width:210px}.funding-modal{width:min(1000px,96vw);max-width:1000px}.funding-dossier p{white-space:pre-wrap;overflow-wrap:anywhere}.funding-dossier h3{margin:20px 0 8px}.funding-dossier li{margin:10px 0;color:#53695f}@media(max-width:800px){.municipal-budget-grid{grid-template-columns:1fr}.municipal-budget-card{padding:18px}}
.planning-modal{width:min(1500px,96vw);max-width:1500px}
.planning-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:20px 0}.planning-toolbar h2{margin:0 0 5px}.planning-toolbar p{margin:0;color:#58716b}.planning-toolbar>div:first-child{margin-right:auto}.planning-toolbar label{font-size:12px;font-weight:600;display:grid;gap:5px}.planning-week-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.planning-week-controls input{width:155px}.planning-scroll{overflow:auto;max-height:650px;border:1px solid #d7e5df;border-radius:14px;background:white;isolation:isolate}.weekly-planning{width:100%;min-width:950px;border-collapse:separate;border-spacing:0;table-layout:fixed}.weekly-planning th,.weekly-planning td{border-right:1px solid #e0eae6;border-bottom:1px solid #e0eae6;padding:4px;vertical-align:top;text-align:left}.weekly-planning thead th{position:sticky;top:0;background:#eff7f3;z-index:3;height:58px;text-align:center;color:#16483b;font-size:14px;padding:10px 4px}.weekly-planning thead small{display:block;margin-top:5px;color:#55756a}.weekly-planning tr>th:first-child{width:64px}.weekly-planning tbody th{font-size:11px;color:#627970;font-variant-numeric:tabular-nums;padding-top:12px;background:#f7faf8;position:sticky;left:0;z-index:2}.weekly-planning td{height:51px;position:relative;background:#fff}.weekly-planning .planning-today{background:#eefbf5}.weekly-planning thead .planning-today{background:#d9f5e7;color:#007c54}.planning-slot{position:absolute;inset:0;border:0!important;background:transparent!important;color:transparent!important;border-radius:0!important;box-shadow:none!important;width:100%;padding:0!important;cursor:pointer}.planning-slot:hover,.planning-slot:focus-visible{background:#dff6eb!important;color:#07805d!important;outline:2px solid #0a976e;outline-offset:-2px}.planning-event{position:relative;display:grid;gap:3px;width:100%;text-align:left;border:1px solid #81cdb0!important;border-left:4px solid #008e62!important;border-radius:6px!important;padding:7px!important;background:#dcf6e9!important;color:#164f3d!important;font-size:12px;box-shadow:none!important;z-index:1;margin:1px 0;white-space:normal!important;overflow-wrap:anywhere}.planning-event span,.planning-event small{font-size:10px}.planning-event.status-requested{background:#fff4d9!important;border-color:#dbb76c!important;color:#735213!important}.planning-event.status-completed{background:#edf1f5!important;border-color:#abb8bf!important;color:#425661!important}.planning-event:hover{filter:brightness(.97)}
@media(max-width:700px){.planning-toolbar{gap:10px}.planning-toolbar>div:first-child{width:100%}.planning-toolbar>label{flex:1}.planning-scroll{max-height:65vh}.planning-modal{padding:16px}.planning-week-controls{width:100%}.planning-toolbar .primary{width:100%}}
.weekly-planning td{height:60px;box-sizing:border-box}.planning-event{position:absolute;left:3px;right:3px;width:calc(100% - 6px);overflow:hidden;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;margin:0;line-height:1.2}.weekly-planning tbody th{height:60px;box-sizing:border-box}.planning-toolbar .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
/* Full-screen service timetable: seven days and all 24 hours stay in view. */
#modal.planning-modal[open]{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important;padding:16px 24px!important;box-sizing:border-box;overflow:hidden!important;display:flex;flex-direction:column;background:#f5f9f7}
.planning-modal .modal-head{flex:none;margin:0;padding-bottom:8px}.planning-modal .modal-head h2{font-size:20px}.planning-modal #shared-planning{flex:1;min-height:0;display:flex;flex-direction:column}.planning-toolbar{margin:6px 0 10px;gap:12px}.planning-toolbar h2{font-size:20px}.planning-toolbar>label{min-width:180px}.planning-toolbar .input{min-height:38px;padding:7px 10px}.planning-toolbar button{min-height:38px;padding:7px 12px}.planning-modal .help-line{font-size:11px;margin:6px 0 0;flex:none}.planning-legend{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:11px;color:#536b62;margin-bottom:10px}.planning-legend span:not(:last-child):before{content:'';display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:3px}.legend-free:before{background:#e3eee8}.legend-requested:before{background:#f4b43d}.legend-confirmed:before{background:#19ab76}.legend-completed:before{background:#7a93ba}
.planning-scroll{height:min(650px,75vh);max-height:none;overflow:hidden;min-height:0}.planning-modal .planning-scroll{flex:1;height:auto;min-height:0;border-radius:10px}.weekly-planning{min-width:0;width:100%;height:100%;table-layout:fixed}.weekly-planning thead{height:40px}.weekly-planning thead th{position:static;height:40px;padding:4px;font-size:12px}.weekly-planning thead small{margin-top:1px;font-size:10px}.weekly-planning tr>th:first-child{width:42px}.weekly-planning tbody tr{height:calc((100% - 40px)/24)}.weekly-planning tbody th,.weekly-planning td{height:auto!important;padding:0!important;position:relative;box-sizing:border-box}.weekly-planning tbody th{font-size:10px;text-align:center;vertical-align:middle;position:static}.weekly-planning .planning-slot{display:block!important;min-height:0!important;font-size:12px!important;line-height:1;opacity:1}.planning-free:hover .planning-slot{color:#16845c!important;background:#e1f3e9!important}.planning-busy{background:#f0f5f2!important}.planning-event{position:absolute!important;inset:1px 2px!important;width:calc(100% - 4px)!important;height:calc(100% - 2px)!important;min-height:0!important;margin:0!important;padding:0 4px!important;display:flex;flex-direction:row;align-items:center;gap:5px;border-radius:3px!important;border-width:0 0 0 3px!important;line-height:1!important;font-size:10px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.planning-event strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.planning-event span{font-size:9px;flex-shrink:0}.planning-event.status-completed{background:#e2eaf6!important;border-color:#6b88b2!important}.planning-modal .planning-toolbar>div:first-child{margin-right:auto}
@media(max-width:700px){#modal.planning-modal[open]{padding:8px!important}.planning-modal .modal-head h2{font-size:16px}.planning-toolbar{gap:6px;margin:2px 0 6px}.planning-toolbar>div:first-child{width:auto!important}.planning-toolbar h2{font-size:15px}.planning-toolbar p{font-size:10px}.planning-toolbar>label{min-width:110px}.planning-toolbar .input{font-size:11px;min-height:32px}.planning-week-controls{width:auto!important;gap:4px}.planning-week-controls input{width:112px}.planning-toolbar button{font-size:11px;padding:5px 8px;min-height:30px}.planning-toolbar .primary{width:auto!important}.planning-legend{gap:6px;font-size:9px;margin:3px 0 6px}.planning-legend span:last-child{display:none}.weekly-planning thead th{font-size:8px;padding:2px}.weekly-planning thead small{font-size:8px}.weekly-planning tr>th:first-child{width:29px}.weekly-planning tbody th{font-size:8px}.planning-event{font-size:8px!important;padding:0 1px!important}.planning-event span{display:none}.planning-modal .help-line{font-size:9px}}
.planning-closed{background:repeating-linear-gradient(135deg,#eef0f1,#eef0f1 4px,#e6e9ea 4px,#e6e9ea 5px)!important}.legend-closed:before{background:#a5afb3}.availability-days{display:grid;gap:8px}.availability-day{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:center;padding:8px;background:#f2f7f4;border-radius:8px}.availability-day label{font-size:12px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.availability-day .input{width:100%;min-width:0}

#modal:not([open]){display:none!important}
.booking-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:260px;overflow-y:auto;padding:3px}.booking-slots>p{grid-column:1/-1}.booking-slot{background:#f1f9f5;color:#07553d;border:1px solid #c4e5d6;border-radius:9px;padding:10px;display:grid;gap:4px;text-align:center;font-size:15px;font-weight:700}.booking-slot small{font-size:11px;font-weight:400}.booking-slot.selected{background:#087c55;color:#fff;border-color:#075a40;box-shadow:0 0 0 2px #96ddbe}.booking-slot:focus-visible{outline:3px solid #3bba89;outline-offset:1px}@media(max-width:500px){.booking-slots{grid-template-columns:repeat(3,minmax(0,1fr))}}
.public-booking-page{background:#f0f6f3;color:#14382d;min-height:100vh}.public-booking-shell{max-width:850px;margin:auto;padding:32px 20px}.booking-brand{display:inline-flex;background:#103e2b;border-radius:12px;padding:12px 20px;margin-bottom:28px}.booking-brand img{width:170px;height:auto}.public-booking-shell h1{font-size:clamp(28px,5vw,43px);line-height:1.1;margin:12px 0}.public-booking-shell>header{margin-bottom:26px}.public-booking-card{background:#fff;border:1px solid #d6e5dd;border-radius:18px;padding:28px;box-shadow:0 8px 35px #224e3510;margin-bottom:24px}.public-booking-card>p{color:#5a7368;font-size:12px;line-height:1.5}.public-booking-shell footer{font-size:11px;color:#6d857a}.public-booking-card button[type=submit]{width:100%;margin-top:12px}.company-contact-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d6e5de;background:#fff;border-radius:12px;padding:18px;margin:15px 0}.company-contact-card p{margin:5px 0 0}.government-home-actions{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.government-appointments{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.agenda-card{display:flex;flex-direction:column;gap:7px;background:white;border:1px solid #dde6e1;border-left:4px solid var(--service-color,#16765b);border-radius:10px;padding:12px;text-align:left;min-height:100px;position:static;box-shadow:0 2px 5px #132b1e06;overflow-wrap:anywhere;color:#213d32}.agenda-card span{font-size:11px;color:#4d6b5e}.agenda-card small{font-size:10px;font-weight:400}.agenda-card strong{font-size:13px}.agenda-card.status-requested{background:#fff8e7;border-right:3px solid #e5ae3f}.agenda-card.status-confirmed{background:#f1faf5}.agenda-card.status-completed{background:#f0f3f8}.agenda-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));flex:1;min-height:0;gap:8px;overflow:auto}.agenda-day{background:#eef4f0;border:1px solid #dce6e0;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-height:180px}.agenda-day>header{padding:12px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;background:#fff;border-bottom:1px solid #dce6e0;font-size:12px}.agenda-day.is-today>header{background:#d6f1e3;color:#075c3e}.agenda-day-body{padding:8px;display:flex;flex-direction:column;gap:8px;overflow-y:auto;flex:1}.agenda-day .agenda-card{width:100%;min-height:105px;flex-shrink:0}.agenda-free{border:1px dashed #a4c5b3;background:#f9fffb;color:#2c7051;border-radius:8px;padding:10px;font-size:11px;text-align:left;flex-shrink:0}.agenda-empty{font-size:11px;color:#7d9387;text-align:center;padding:18px 4px}.planning-modal .agenda-week{height:100%;max-height:none}.planning-toolbar{flex-shrink:0}.public-booking-card[hidden]{display:none!important}
@media(max-width:1000px){.agenda-week{grid-template-columns:repeat(7,minmax(145px,1fr));overflow:auto}.public-booking-card{padding:20px}}@media(max-width:600px){.company-contact-card{align-items:flex-start;flex-direction:column}.public-booking-shell{padding:20px 12px}.public-booking-card .form-grid{grid-template-columns:1fr}.agenda-week{grid-template-columns:repeat(7,minmax(190px,1fr))}}
.availability-day{grid-template-columns:minmax(90px,1fr) minmax(90px,1fr) minmax(125px,1.2fr)}.availability-hint{grid-column:2/4;color:#946423;font-size:11px}.availability-day select{min-width:0;width:100%;font-size:12px}.availability-day label{display:block}.availability-day label:first-child{display:flex;align-items:center}
.invoice-source-list{max-height:320px;overflow:auto;border:1px solid #d9e6df;border-radius:10px}.invoice-source{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #e4ece7;cursor:pointer}.invoice-source>span{flex:1}.invoice-source small{display:block;color:#698175;margin-top:4px}.invoice-source input{width:18px;height:18px}.invoice-document{display:grid;gap:8px}.invoice-document p{margin:3px 0}.ledger-evidence{display:flex;flex-direction:column;gap:4px;font-size:11px;margin-top:5px}.ledger-evidence a{color:#087b55;text-decoration:underline}.budget-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px;margin-top:20px}.public-budget-card{background:#fff;border:1px solid #d6e4db;border-radius:14px;padding:20px}.public-budget-card h3{margin:0}.public-budget-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.public-budget-card dt{font-size:11px;color:#678071}.public-budget-card dd{margin:5px 0 0;font-weight:700;font-size:18px;font-variant-numeric:tabular-nums}.public-budget-card progress{width:100%;height:10px;accent-color:#0d9467}.public-budget-card>p{font-size:12px;color:#5e786b}.public-budget-card .section-head{align-items:flex-start;gap:8px}

/* Weekly revenue and company warnings */
.comparison-values{display:block;font-size:.72rem;font-weight:400;line-height:1.5;margin-top:4px}.revenue-spark{display:flex;align-items:end;gap:4px;height:42px;margin-top:10px}.revenue-spark i{width:9px;border-radius:3px 3px 0 0;background:#a3dec8}.revenue-spark i:last-child{background:#009669}.revenue-history{background:white;border:1px solid #dce8e2;border-radius:18px;padding:22px;margin:22px 0}.revenue-bars{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin:26px 0 16px}.revenue-bar-column{min-width:0;text-align:center;font-size:.8rem}.revenue-bar-column strong{display:block;font-size:clamp(.62rem,1.1vw,.94rem);white-space:nowrap}.revenue-bar-track{height:140px;display:flex;align-items:end;justify-content:center;margin:10px 0}.revenue-bar-track i{display:block;background:#a3dec8;width:65%;border-radius:7px 7px 0 0}.revenue-bar-column.current i{background:#009669}.revenue-history details{margin-top:16px}.company-warning-badge{display:inline-block;font-size:.8rem;padding:7px 11px;background:#edf3f0;color:#496457;border-radius:8px;margin:8px 0}.company-warning-badge.attention{background:#fff1d3;color:#805300}.company-warning-badge.recovery{background:#fbe2e0;color:#a12a25}.company-warning-panel{padding:18px;border:1px solid #efd09b;background:#fffcf3;border-radius:14px;margin-bottom:20px}.company-warning-panel.recovery{border-color:#e6b0aa;background:#fff5f4}.warning-row{border-bottom:1px solid #dce8e2;padding:14px 0}.warning-row p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.revenue-history{padding:14px}.revenue-bars{gap:5px}.revenue-bar-track{height:100px}.revenue-bar-column{font-size:.65rem}.revenue-bar-track i{width:78%}}

/* Government: one navigation, a readable daily agenda and one requests inbox. */
.government-home-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 26px}.government-home-summary>div,.government-home-summary>button{display:flex;flex-direction:column;gap:8px;border:1px solid #dce7e1;border-radius:14px;padding:19px;background:#fff;text-align:left;color:#17392d;font:inherit}.government-home-summary strong{font-size:1.7rem}.government-home-summary span,.government-home-summary small{color:#5a7266;font-size:.85rem}.government-home-summary>button{cursor:pointer;background:#e9f7ef;border-color:#b5dbc7}.government-home-tabs{display:flex;gap:24px;border-bottom:1px solid #cfdfd5;margin-bottom:24px}.government-home-tabs button{border:0;background:transparent;padding:14px 3px;color:#587064;font:inherit;font-weight:700;cursor:pointer;border-bottom:3px solid transparent}.government-home-tabs button.active{color:#007e58;border-bottom-color:#008b62}.government-home-tabs span,.home-count{display:inline-block;background:#e3f1e9;color:#146247;border-radius:12px;padding:2px 8px;font-size:.85rem;margin-left:5px}.government-day-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.government-day-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.government-day-controls input{width:155px}.government-service-filter{display:flex;gap:8px;align-items:center}.government-day-title{text-transform:capitalize}.government-day-list{display:grid;gap:10px}.government-day-row{display:grid;grid-template-columns:100px minmax(0,1fr) auto 20px;align-items:center;gap:20px;background:#fff;border:1px solid #dae6df;border-left:5px solid var(--service-color);border-radius:12px;padding:19px 22px;color:#19392e;text-align:left;font:inherit;cursor:pointer;width:100%}.government-day-row:hover,.government-funding-row:hover{border-color:#62ac88;box-shadow:0 3px 10px #173d2810}.government-event-time{display:flex;flex-direction:column;gap:5px;font-size:.85rem;color:#5e7569}.government-event-time strong{font-size:1.3rem;color:#153c2c}.government-event-info{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.government-event-info>strong{font-size:1.06rem}.government-event-service{font-size:.8rem;font-weight:700;color:var(--service-color)}.government-event-info>span:last-child{font-size:.9rem}.government-home-empty{padding:36px 20px;border:1px dashed #cbded2;border-radius:14px;text-align:center;color:#61766a;background:#fff}.government-home-inbox>.section-head:not(:first-child){margin-top:34px}.government-funding-list{display:grid;gap:10px}.government-funding-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto 20px;gap:20px;align-items:center;background:white;border:1px solid #d9e6dd;border-radius:12px;padding:18px 22px;text-align:left;font:inherit;color:#193d2d;cursor:pointer}.government-funding-row>span{display:flex;flex-direction:column;gap:7px;overflow-wrap:anywhere}.government-funding-row>span:nth-child(2){text-align:right;align-items:end}.government-request-type{font-size:.78rem;font-weight:700;color:#5d7768}.government-inbox-pager{display:flex;justify-content:end;align-items:center;gap:14px;margin-top:15px}.government-appointment-detail p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:700px){.government-home-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.government-home-summary>div,.government-home-summary>button{padding:14px}.government-day-row{grid-template-columns:70px minmax(0,1fr);gap:12px;padding:16px 12px}.government-day-row>.status{grid-column:2;justify-self:start}.government-open-arrow{display:none}.government-funding-row{grid-template-columns:minmax(0,1fr);gap:12px}.government-funding-row>span:nth-child(2){text-align:left;align-items:start}.government-funding-row>span:last-child{display:none}.government-service-filter{width:100%}.government-service-filter select{flex:1}.government-day-title{font-size:1.15rem}}

/* Compact weekly revenue: no empty chart and no oversized bars. */
.revenue-history{width:100%;max-width:1080px;box-sizing:border-box;padding:18px 20px;margin:18px 0;border-radius:14px}.revenue-history .section-head{margin-bottom:6px;gap:12px;align-items:center}.revenue-history h2{font-size:1.05rem;margin:0}.revenue-chart-note{font-size:.78rem;color:#6b7d73;margin:0 0 10px;line-height:1.4}.revenue-bars{gap:12px;margin:16px 0 10px}.revenue-bar-track{height:78px;margin:6px 0;border-bottom:1px solid #e1eae5}.revenue-bar-track i{width:24px;max-width:65%;border-radius:4px 4px 0 0}.revenue-bar-column strong{font-size:.78rem}.revenue-bar-column>span{font-size:.72rem;color:#61796b}.revenue-history>.growth{font-size:.8rem}.revenue-history .comparison-values{font-size:.7rem}.revenue-history details{margin-top:10px;font-size:.8rem}.revenue-empty-state{display:flex;align-items:center;gap:12px;padding:16px 0;color:#60776a}.revenue-empty-state>span{display:flex;width:40px;height:40px;align-items:center;justify-content:center;background:#ecf5ef;border-radius:10px;flex-shrink:0}.revenue-empty-state svg{width:22px;height:22px}.revenue-empty-state strong{font-size:.9rem;color:#355b47}.revenue-empty-state p{margin:5px 0 0;font-size:.8rem}.revenue-history.is-empty{max-width:760px}.company-home-stats .stat{padding-top:18px;padding-bottom:18px}@media(max-width:600px){.revenue-history{padding:14px}.revenue-history .section-head{align-items:start;flex-direction:column;gap:4px}.revenue-bars{gap:4px}.revenue-bar-column strong{font-size:.62rem}.revenue-bar-track{height:65px}.revenue-bar-track i{width:16px}.revenue-bar-column>span{font-size:.61rem}}

.category-select-row{display:flex;gap:10px;align-items:center}.category-select-row select{flex:1;min-width:0}.category-select-row button{white-space:nowrap}.category-inline-create:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.category-inline-create input{flex:1;min-width:180px}.category-inline-create .form-error{width:100%}.category-directory{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.category-directory span{padding:7px 10px;background:#edf5f0;border-radius:7px;color:#315e48;font-size:.85rem}.category-spending{max-width:1000px;margin:24px 0}.category-spending h2{font-size:1.1rem}@media(max-width:600px){.category-select-row{flex-direction:column;align-items:stretch}}

.closure-alert{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin:12px 0;border:1px solid #a6dac7;border-radius:14px;background:#edf9f3;color:#163d31}.closure-alert p{margin:6px 0;overflow-wrap:anywhere}.closure-alert button{flex-shrink:0}@media(max-width:640px){.closure-alert{align-items:flex-start;flex-direction:column}}

.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:16px 0}.permission-grid .form-check{align-items:flex-start;padding:12px;background:#f4f8f6;border-radius:9px}

.attendance-day{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px;color:#94a49d;background:#f1f5f3}.attendance-day.yes{color:#007b55;background:#dcf6e9;font-weight:800}.public-pointage-week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:20px 0}.public-pointage-week div{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 4px;border-radius:9px;background:#f3f7f5}.public-pointage-week .yes{background:#dcf6e9;color:#007b55}

.pointage-week-fields{border:0;padding:0;margin:0;min-width:0}.pointage-week-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.pointage-week-navigation div{text-align:center}.pointage-week-navigation small{display:block;margin-top:4px;color:#60736c}.pointage-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:20px 0}.pointage-day{display:flex;align-items:center;flex-direction:column;gap:9px;padding:14px 5px;border:1px solid #d7e3de;border-radius:12px;background:#f7f9f8;cursor:pointer;font-size:12px}.pointage-day.selected{background:#e1f6ed;border-color:#009a6c;color:#006c4a}.pointage-day input{width:20px;height:20px;accent-color:#00885e}.pointage-week-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pointage-week-summary>div{padding:16px;background:#f2f7f4;border-radius:12px}.pointage-week-summary span{display:block;font-size:13px;color:#52685e}.pointage-week-summary strong{display:block;font-size:23px;margin-top:7px}.pointage-week-fields:disabled .pointage-day{cursor:default}@media(max-width:540px){.pointage-day-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pointage-week-summary strong{font-size:20px}}

/* Service personnel register, following the LSPD reference sheet. */
.service-personnel-wrap{background:#c9daf8;border:1px solid #adc3e7;border-radius:10px;padding:12px;max-width:100%;overflow:auto;max-height:75vh;isolation:isolate}.service-personnel-table{border-collapse:collapse;min-width:2250px;width:100%;font-size:14px;table-layout:fixed}.service-personnel-table th,.service-personnel-table td{border:2px solid #171717;text-align:center;padding:0;height:42px;line-height:1.3;white-space:normal;color:#171717}.service-personnel-table thead th{position:sticky;top:-12px;background:#434343;color:#fff;font-size:13px;padding:10px 6px;z-index:4;text-transform:uppercase}.service-personnel-table thead th:first-child{width:200px;left:-12px;z-index:6}.service-personnel-table thead th:nth-child(2){width:180px}.service-personnel-table thead th:nth-child(3){width:86px}.service-personnel-table tbody th{background:#999!important;color:#111!important;font-weight:700;position:sticky;left:-12px;z-index:3;padding:6px 8px}.service-personnel-table td select{width:100%;min-width:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;font-weight:600;padding:10px 3px;min-height:42px;cursor:pointer;outline-offset:-3px}.service-personnel-table td select:focus-visible{outline:3px solid #00d69d}.service-personnel-table td select option{background:#fff;color:#172a22}.service-personnel-table .personnel-matricule{background:#fff2cc;font-weight:700}.service-personnel-table .personnel-separator,.service-personnel-table td:nth-child(4),.service-personnel-table td:nth-child(7),.service-personnel-table td:nth-child(10),.service-personnel-table td:nth-child(13),.service-personnel-table td:nth-child(18){border-left:12px solid #c9daf8}.personnel-yes{background:#107554!important;color:#fff!important}.personnel-no{background:#b90000!important;color:#fff!important}.personnel-blank{background:#999!important;color:#111!important}.personnel-chief{background:#430b78!important;color:#fff!important}.personnel-deputy,.personnel-purple{background:#5b3282!important;color:#fff!important}.personnel-captain{background:#215b6c!important;color:#fff!important}.personnel-lieutenant{background:#577f8d!important;color:#fff!important}.personnel-sergeant{background:#344f69!important;color:#fff!important}.personnel-senior,.personnel-blue{background:#0d57a3!important;color:#fff!important}.personnel-officer{background:#789ed5!important;color:#102133!important}.personnel-light-blue{background:#bee4f4!important;color:#164b76!important}.personnel-lilac{background:#e2c5f0!important;color:#59337e!important}.personnel-charcoal{background:#434343!important;color:#fff!important}.personnel-brown{background:#783f00!important;color:#fff!important}.personnel-asd{background:#b4d6df!important;color:#1d5062!important}.personnel-legend{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.personnel-legend span{padding:7px 12px;border-radius:6px;font-size:13px;font-weight:600}.service-personnel-table .employee-documents{padding:3px;font-size:11px}.service-personnel-table .employee-documents a{color:inherit;text-decoration:underline}.service-personnel-table .employee-documents .muted{color:inherit!important;font-size:11px}.service-personnel-table .personnel-actions{background:#fff}.personnel-actions button{display:block;margin:2px auto;padding:6px}.personnel-previous{margin-top:18px}.personnel-previous summary{padding:14px;font-weight:700;cursor:pointer}.service-personnel #personnel-feedback:empty{display:none}@media(max-width:960px){.service-personnel-wrap{max-height:70dvh;padding:8px}.service-personnel-table thead th{top:-8px}.service-personnel-table tbody th,.service-personnel-table thead th:first-child{left:-8px}.service-personnel-table td select{font-size:16px;min-height:46px}}

.service-personnel-table .personnel-medical-link{display:block;color:inherit;font-size:11px;text-decoration:underline;padding:3px}.service-personnel-table tbody td{height:44px}.service-personnel-table tbody td select{height:100%}
.service-personnel-table thead th:last-child{width:150px}.service-personnel-table .personnel-actions button{display:inline-block;min-height:30px;margin:2px;padding:4px 6px;font-size:12px;line-height:1.2}.service-personnel-table .personnel-actions{white-space:nowrap}

.custom-personnel-wrap{max-width:100%;max-height:72vh;overflow:auto;border:1px solid #d4e2da;border-radius:12px}.custom-personnel-table{width:100%;border-collapse:separate;border-spacing:0}.custom-personnel-table th,.custom-personnel-table td{padding:10px 12px;border-bottom:1px solid #d9e6df;border-right:1px solid #d9e6df;white-space:nowrap}.custom-personnel-table thead th{position:sticky;top:0;background:#133e30;color:#fff;z-index:3}.custom-personnel-table tbody th{position:sticky;left:0;background:#f4f8f5;z-index:2;min-width:160px}.custom-personnel-table .input{min-width:150px;max-width:240px;color:inherit;background:transparent;border-color:currentColor}.custom-personnel-table option{color:#132b20;background:#fff}.custom-color-blue{background:#d9eaff;color:#184b82}.custom-color-purple{background:#eee1fa;color:#60358b}.custom-color-green{background:#dcf3e7;color:#165b3b}.custom-color-orange{background:#fff0d9;color:#7b4a09}.custom-color-gray{background:#e9eeeb;color:#344d40}.custom-value-empty{background:#f5f7f6;color:#60766a}.personnel-config-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0;padding:16px;border:1px solid #d4e2da;border-radius:12px;background:#f5f9f7}.personnel-config-row label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.personnel-config-row .actions{grid-column:1/-1}.custom-personnel #custom-personnel-feedback:empty{display:none}@media(max-width:600px){.personnel-config-row{grid-template-columns:1fr}.custom-personnel-table th,.custom-personnel-table td{padding:8px}.custom-personnel-table tbody th{min-width:130px}.custom-personnel-table .input{font-size:16px;min-height:46px}}

.company-global-panel,.company-overview-details{background:#fff;border:1px solid #dce7e0;border-radius:16px;padding:22px;margin:18px 0}.company-global-panel .section-head p{font-size:13px;color:#6a7f73;margin:6px 0 0}.company-global-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px}.global-balance-card,.global-followup{display:flex;flex-direction:column;gap:9px;min-width:0;padding:20px;border-radius:12px;text-align:left;background:#f5f9f6;border:1px solid #dce7e0;color:#173d2c;font:inherit}.global-balance-card{background:linear-gradient(120deg,#0c6c50,#079e74);color:#fff;border:0}.global-balance-card strong,.global-followup strong{font-size:29px;overflow-wrap:anywhere}.global-balance-card small,.global-followup small{font-size:12px;line-height:1.5}.global-followup{cursor:pointer}.global-followup:hover{border-color:#0a9368;background:#ebf7f0}.balance-history summary{cursor:pointer;padding:12px 0;font-size:13px;font-weight:600}.overview-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.overview-detail-grid>div{border-left:3px solid #07a87b;padding:4px 12px;display:flex;flex-direction:column;gap:10px}.overview-detail-grid span{font-size:12px;color:#61796b}.overview-detail-grid strong{font-size:22px}.ems-org-filters{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin:16px 0}.ems-org-filters label{font-size:13px;font-weight:600;display:flex;flex-direction:column;gap:7px}.ems-org-levels{display:grid;gap:18px;margin:18px 0}.ems-org-level{border:1px solid #d6e5dd;border-radius:14px;background:#fff;overflow:hidden}.ems-org-level>header{display:flex;gap:12px;align-items:center;padding:16px 20px;background:#e9f5ef;border-bottom:1px solid #d6e5dd}.ems-org-level h3{margin:0 0 5px;font-size:18px}.ems-org-level header small{color:#617b6b}.ems-org-rank{display:grid;place-items:center;background:#0a8d65;color:white;font-weight:700;border-radius:10px;width:42px;height:42px}.ems-org-members{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px}.ems-org-member{display:flex;gap:12px;align-items:center;padding:15px;border:1px solid #e1eae5;border-radius:10px}.ems-org-avatar{width:40px;height:40px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#ecf3ef;color:#147653;font-weight:700}.ems-org-member>div:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:6px;overflow-wrap:anywhere}.ems-org-member strong{font-size:14px}.ems-org-member span,.ems-org-member small{font-size:12px;color:#637b6c}.ems-org-member[hidden],.ems-org-level[hidden]{display:none}@media(max-width:1100px){.ems-org-members{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.company-global-panel,.company-overview-details{padding:16px}.company-global-grid{grid-template-columns:1fr}.overview-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ems-org-members,.ems-org-filters{grid-template-columns:1fr}.global-balance-card strong,.global-followup strong{font-size:27px}.company-global-panel .section-head{align-items:stretch;flex-direction:column}}

.ems-document-models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.ems-document-model{text-align:left;font:inherit;border:1px solid #d8e5dc;cursor:pointer;display:flex;flex-direction:column;gap:16px;margin:0}.ems-document-model:hover{border-color:#008e68;background:#eff9f4}.ems-document-model strong{font-size:16px}.ems-document-model span,.medical-reference{font-size:12px;color:#5c7869}.personnel-iban{background:#fff!important;color:#173c2b!important}.ems-document-models+.table-wrap{margin-top:20px}@media(max-width:960px){.ems-document-models{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ems-document-models{grid-template-columns:1fr}}
/* Legacy World 0.2: quiet utility bar and a persistent release entry. */
.app-toolbar.refined-toolbar{min-height:86px;gap:16px;justify-content:space-between;margin-bottom:26px}.cash-workspace .refined-toolbar{min-height:72px;margin-bottom:18px}.toolbar-identity{display:flex;align-items:center;gap:11px;min-width:130px}.toolbar-identity>span:last-child{display:grid;gap:3px}.toolbar-identity strong{color:#173e30;font-size:14px;letter-spacing:-.2px}.toolbar-identity small{font-size:11px;color:#708178;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar-emblem{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#e6f4ee;color:#00835d;border:1px solid #d1e9df}.toolbar-emblem svg{width:19px;height:19px}.toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.refined-toolbar .toolbar-actions>.primary,.refined-toolbar .toolbar-actions>.secondary,.toolbar-tools>summary{font-size:12px;min-height:39px;padding:10px 13px;border-radius:11px;white-space:nowrap}.toolbar-tools{position:relative}.toolbar-tools>summary{display:flex;align-items:center;gap:13px;list-style:none;cursor:pointer;color:#415e51;border:1px solid #dce7e1;background:#fff;box-sizing:border-box;font-weight:650}.toolbar-tools>summary::-webkit-details-marker{display:none}.toolbar-tools[open]>summary{border-color:#72b59a;background:#edf7f2}.toolbar-tools-menu{position:absolute;right:0;top:calc(100% + 9px);z-index:45;display:grid;gap:4px;min-width:240px;padding:9px;background:#fff;border:1px solid #dce8e1;border-radius:15px;box-shadow:0 14px 48px #123e3020}.toolbar-tools-caption{font-size:9px;letter-spacing:1px;color:#819189;padding:9px 10px}.toolbar-tools-menu button{display:block;width:100%;border:0;border-radius:9px;background:transparent;color:#244b3a;text-align:left;padding:12px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.toolbar-tools-menu button:hover{background:#edf7f2}.release-card{display:grid;gap:9px;width:100%;padding:14px 12px;margin:0 0 16px;background:linear-gradient(130deg,#174735,#103629);color:#e0f3e9;border:1px solid #3b6653;border-radius:13px;text-align:left;cursor:pointer;font:inherit;transition:border-color .16s,background .16s}.release-card:hover{border-color:#4cdca1;background:#1a4b38}.release-card-top{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:650}.release-card-top strong{margin-left:auto;padding:3px 6px;border-radius:5px;color:#9ef2ca;background:#ffffff13;font-size:11px}.release-dot{width:6px;height:6px;border-radius:50%;background:#32d99b;box-shadow:0 0 0 3px #32d99b15}.release-card-bottom{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#adccbd}.release-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:#75887d}.release-version{display:inline-flex;border-radius:7px;padding:5px 9px;background:#e3f5eb;color:#00815b;font-weight:750}.release-notes article>h3{font-size:23px;line-height:1.25;letter-spacing:-.6px;margin:18px 0 24px}.release-notes section{border-left:2px solid #c1e9d6;padding:0 0 0 15px;margin:20px 0}.release-notes h4{margin:0 0 6px;font-size:14px;color:#214f3b}.release-notes p{margin:0;color:#63766a;line-height:1.65;font-size:13px}.operation-date{display:block;white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}.operation-time{display:block;color:#718278;font-size:11px;line-height:1.45;margin-top:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.refined-toolbar button:focus-visible,.toolbar-tools summary:focus-visible,.release-card:focus-visible{outline:3px solid #00b77d;outline-offset:3px}
@media(max-width:1200px) and (min-width:961px){.toolbar-identity small{max-width:120px}.refined-toolbar .toolbar-actions>.primary,.refined-toolbar .toolbar-actions>.secondary,.toolbar-tools>summary{font-size:11px;padding:9px 10px}.toolbar-actions{gap:6px}}
@media(max-width:960px){.app-toolbar.refined-toolbar{display:flex;align-items:center;flex-wrap:wrap;min-height:0;padding:17px 0;gap:13px;margin-bottom:20px}.toolbar-identity{flex:1}.toolbar-identity small{max-width:250px}.toolbar-actions{width:100%;display:flex;justify-content:flex-start;gap:7px}.refined-toolbar .toolbar-actions>.primary,.refined-toolbar .toolbar-actions>.secondary,.toolbar-tools>summary{font-size:12px;min-height:42px;padding:10px 12px}.toolbar-tools{margin-left:auto}.toolbar-tools-menu{max-width:calc(100vw - 40px)}.release-card{max-width:none;margin:8px 0 14px}.release-card-top{font-size:12px}.release-card-bottom{font-size:11px}}
@media(max-width:500px){.toolbar-identity small{max-width:220px}.refined-toolbar .toolbar-actions>.secondary{flex:1 1 auto;white-space:normal;text-align:center}.refined-toolbar .toolbar-actions>.primary{flex:1 1 100%}.toolbar-tools{flex:0 0 auto;margin-left:0}.release-notes article>h3{font-size:21px}.operation-time{max-width:180px;white-space:normal}}
@media print{.release-card,.toolbar-tools{display:none!important}}
.hunting-trade-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin:0 0 20px;border:1px solid #cfe5d9;border-radius:15px;background:linear-gradient(110deg,#e7f6ed,#f8fbf8)}.hunting-trade-panel strong{color:#14603e;font-size:15px}.hunting-trade-panel p{color:#65806f;font-size:12px;line-height:1.6;margin:5px 0 0}.hunting-trade-panel>button{flex-shrink:0}.hunting-purchase-line{display:grid;grid-template-columns:minmax(0,1fr) 80px 110px 32px;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid #e2eae5}.hunting-purchase-line label{font-size:11px;color:#698173;display:grid;gap:6px}.hunting-purchase-line small{display:block;color:#7a8b81;font-size:10px;margin-bottom:5px}.hunting-purchase-line strong{font-size:15px;white-space:nowrap}.hunting-purchase-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px;border-radius:12px;background:#e5f6ec;color:#156340}.hunting-purchase-total strong{font-size:24px}.hunting-purchase-total span{font-size:12px}
@media(max-width:600px){.hunting-trade-panel{flex-direction:column;align-items:stretch;gap:12px;padding:15px}.hunting-purchase-line{grid-template-columns:minmax(0,1fr) 75px 30px;gap:9px}.hunting-purchase-line>label:first-child{grid-column:1/-1}.hunting-purchase-line>label:nth-child(2){grid-column:1}.hunting-purchase-line>div{grid-column:2}.hunting-purchase-line>button{grid-column:3}.hunting-purchase-total{flex-wrap:wrap}}

/* Inactive items remain identifiable by status text as well as color. */
.product-inactive td{background:#fff1f2;color:#991b1b}.product-inactive td strong{color:#991b1b}.product-inactive .status{background:#ffe4e6;color:#991b1b}

/* Premium workspace; screen styles never alter exported or printed documents. */
@media screen{
:root{--ex-bg:#f3f5f7;--ex-surface:#ffffff;--ex-raised:#eaf0f3;--ex-text:#172635;--ex-muted:#526477;--ex-line:#cad3dd;--ex-accent:#087753;--ex-wash:#e2f3eb;--ex-focus:#087753}
body{background:var(--ex-bg);color:var(--ex-text)}
.top{background:#10171e;color:#ecf3fa;border-right-color:#35424f}.top .profile,.top .profile>span{color:#e4edf5}.topnav .nav{color:#c8d4df}.topnav .nav.active{background:#66e3b3;color:#082a20}.topnav .nav:hover:not(.active){background:#24323e;color:#fff}.top .release-card{border-color:#44525e;background:#1b2731;color:#e8f0f7}
.page h1,.page h2,.page h3{letter-spacing:-.025em}.page h1{font-size:clamp(24px,2.4vw,34px);line-height:1.2}.page .eyebrow{letter-spacing:.12em}.app-toolbar{border-bottom:1px solid var(--ex-line);padding-bottom:16px;margin-bottom:24px}
.exchange-shell{font-family:'Segoe UI',Arial,sans-serif;color:var(--ex-text);max-width:1800px;margin:0 auto}.exchange-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:6px 0 24px}.exchange-heading h1{margin:10px 0}.exchange-heading p{color:var(--ex-muted);font-size:15px;line-height:1.6;margin:0}.exchange-flow{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--ex-muted);font-size:12px;padding:12px 16px;border:1px solid var(--ex-line);border-radius:12px;background:var(--ex-surface)}.exchange-flow b{color:var(--ex-accent)}
.exchange-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 24px}.exchange-summary>div{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--ex-line);background:var(--ex-surface);padding:18px 20px;border-radius:14px}.exchange-summary span{color:var(--ex-muted);font-size:14px}.exchange-summary strong{font-size:26px;font-variant-numeric:tabular-nums;color:var(--ex-text)}
.exchange-tabs{display:flex;gap:12px;border-bottom:1px solid var(--ex-line);margin-bottom:26px;flex-wrap:wrap}.exchange-tabs button{font:inherit;font-weight:600;font-size:14px;padding:14px 12px;border:0;border-bottom:3px solid transparent;color:var(--ex-muted);background:transparent;cursor:pointer}.exchange-tabs button.active{border-bottom-color:var(--ex-accent);color:var(--ex-accent)}.exchange-tabs button:hover{background:var(--ex-wash);color:var(--ex-text);border-radius:8px 8px 0 0}
.exchange-content .section-head{margin-bottom:22px}.exchange-content h2{font-size:21px}.exchange-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}.exchange-lane{min-width:0;border:1px solid var(--ex-line);border-radius:16px;background:var(--ex-raised);padding:12px}.exchange-lane>header{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:6px 4px 16px}.exchange-lane h3{font-size:15px;margin:0;color:var(--ex-text)}.exchange-lane>header>span{font-size:12px;font-weight:700;border:1px solid var(--ex-line);background:var(--ex-surface);border-radius:20px;padding:3px 8px}.exchange-lane.pending{border-top:3px solid #af6a16}.exchange-lane.preparing{border-top:3px solid #3475bc}.exchange-lane.ready{border-top:3px solid #0a855e}.exchange-lane.done{border-top:3px solid #72889d}.exchange-lane-cards{display:grid;gap:12px}
.exchange-card{background:var(--ex-surface);color:var(--ex-text);border:1px solid var(--ex-line);border-radius:12px;padding:18px;min-width:0;box-shadow:0 3px 12px #09253b05;overflow-wrap:anywhere}.exchange-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.exchange-avatar{display:grid;place-items:center;width:36px;height:36px;background:var(--ex-wash);color:var(--ex-accent);border:1px solid var(--ex-line);border-radius:11px;font-size:12px;font-weight:700;flex-shrink:0}.exchange-card h3{margin:16px 0 7px;font-size:17px;color:var(--ex-text)}.exchange-card p{font-size:14px;line-height:1.6;color:var(--ex-muted)}.exchange-card-title{min-height:40px;margin:0 0 10px}.exchange-card small{color:var(--ex-muted);font-size:11px;display:block}.exchange-amount{display:block;margin:18px 0;font-size:23px;line-height:1.2;color:var(--ex-text);font-variant-numeric:tabular-nums}.exchange-card .exchange-delivery{font-size:12px;border-top:1px solid var(--ex-line);padding-top:14px}.exchange-delivery b{font-size:13px;font-weight:600;color:var(--ex-text)}.exchange-card>.secondary{width:100%;margin-top:8px;font-size:13px;min-height:42px;white-space:normal;line-height:1.5}.exchange-empty{color:var(--ex-muted);font-size:13px;line-height:1.7;padding:28px 10px;text-align:center;margin:0}
.exchange-pill{display:inline-flex;align-items:center;max-width:100%;padding:5px 9px;border-radius:20px;font-size:11px;line-height:1.4;font-weight:600;background:var(--ex-raised);color:var(--ex-text);border:1px solid var(--ex-line);white-space:normal}.exchange-pill.requested,.exchange-pill.proposed{color:#784b0f;background:#fff0d8;border-color:#d8b981}.exchange-pill.confirmed,.exchange-pill.ready,.exchange-pill.delivered{color:#0a6347;background:#e0f4e9;border-color:#96c4ad}.exchange-pill.preparing,.exchange-pill.invoiced{color:#205886;background:#e3f0fc;border-color:#9abbd9}.exchange-pill.rejected,.exchange-pill.cancelled{color:#91382f;background:#fce8e6;border-color:#d8a29d}
.exchange-approval-list{margin-bottom:28px}.exchange-approval{background:var(--ex-surface);border:1px solid var(--ex-line);padding:18px 20px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:12px}.exchange-approval strong{font-size:16px}.exchange-approval p{font-size:14px;color:var(--ex-muted)}.exchange-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.exchange-directory .exchange-card{display:flex;flex-direction:column;gap:4px}.exchange-directory .exchange-card>.secondary{margin-top:auto}
.exchange-line{display:grid;grid-template-columns:minmax(160px,2fr) minmax(70px,.6fr) minmax(100px,1fr) auto;gap:10px;align-items:end;margin:0 0 16px;padding:14px;border:1px solid var(--ex-line);border-radius:10px;background:var(--ex-raised)}.exchange-line label{font-size:13px;color:var(--ex-text);min-width:0}.exchange-line .input{width:100%;margin-top:6px;min-width:0}.exchange-line button{min-height:44px}.exchange-preview{padding:14px;background:var(--ex-wash);color:var(--ex-text);border-radius:10px;font-weight:600}.exchange-detail p{line-height:1.7;overflow-wrap:anywhere}.exchange-timeline{list-style:none;margin:18px 0;padding-left:18px;border-left:2px solid var(--ex-line)}.exchange-timeline li{padding:0 0 20px 14px}.exchange-timeline time{display:block;font-size:12px;color:var(--ex-muted);margin-bottom:6px}.exchange-timeline strong{font-size:14px}
.exchange-shell button:focus-visible,.exchange-shell a:focus-visible{outline:3px solid var(--ex-focus);outline-offset:3px}.exchange-shell button:disabled{cursor:not-allowed}.modal .exchange-line input{font-size:14px}
@media(max-width:1350px){.exchange-board{gap:10px}.exchange-lane{padding:9px}.exchange-card{padding:14px}.exchange-heading{align-items:flex-start}.exchange-flow{max-width:260px}.exchange-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.exchange-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.exchange-heading{flex-direction:column}.exchange-flow{max-width:none}.exchange-summary>div{padding:14px}.exchange-summary span{font-size:12px}}
@media(max-width:650px){.exchange-summary{gap:8px}.exchange-summary>div{display:block;padding:12px 10px}.exchange-summary strong{display:block;margin-top:8px;font-size:23px}.exchange-summary span{font-size:11px;line-height:1.5;display:block}.exchange-tabs{gap:2px;justify-content:space-between;margin-bottom:20px}.exchange-tabs button{font-size:12px;padding:12px 7px}.exchange-board,.exchange-directory{grid-template-columns:1fr}.exchange-approval{align-items:flex-start;flex-direction:column}.exchange-line{grid-template-columns:1fr 1fr}.exchange-line label:first-child{grid-column:1/-1}.exchange-heading h1{font-size:27px}.exchange-card-title{min-height:0}.exchange-lane-cards{gap:12px}}
}

@media screen{.notification-bell{display:flex;align-items:center;gap:9px;border:1px solid #536372;border-radius:10px;padding:11px 12px;color:#edf4fa;background:#1a2834;font:inherit;font-size:12px;font-weight:600;cursor:pointer;width:100%;margin:8px 0}.notification-bell svg{width:18px;height:18px;flex-shrink:0}.notification-bell b{margin-left:auto;background:#66e3b3;color:#082b20;border-radius:12px;min-width:23px;padding:3px 5px}.notification-bell b[hidden]{display:none}.notification-list{display:grid;gap:10px}.notification-item{display:flex;gap:14px;text-align:left;align-items:center;padding:17px;background:var(--ex-surface);color:var(--ex-text);border:1px solid var(--ex-line);border-radius:12px;width:100%;font:inherit;cursor:pointer}.notification-item.unread{background:var(--ex-wash);border-color:var(--ex-accent)}.notification-item>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.notification-item small,.notification-item time{display:block;color:var(--ex-muted);line-height:1.6;margin-top:5px}.notification-item time{font-size:11px}.notification-marker{width:8px;height:8px;border:1px solid var(--ex-muted);border-radius:50%;flex-shrink:0}.unread .notification-marker{background:var(--ex-accent);border-color:var(--ex-accent)}}

@media screen{.company-logo{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;flex-shrink:0;padding:4px;border-radius:12px;background:#fff;border:1px solid #b8c6d0;overflow:hidden;vertical-align:middle}.company-logo img{display:block;object-fit:contain;max-width:100%;max-height:100%;width:100%;height:100%}.company-logo.brand-dark{background:#16212c}.company-monogram{background:#e4f3ed;color:#12553e;font-size:13px;font-weight:700;letter-spacing:.04em}.company-card-head h3{display:flex;align-items:center;gap:10px}.company-logo-preview{display:grid;place-items:center;padding:20px;background:#e6edf2;border:1px solid #8fa3b3;border-radius:12px}.company-logo-preview>img{max-width:160px;max-height:160px}.notification-item:focus-visible,.notification-bell:focus-visible{outline:3px solid #75e5bb;outline-offset:3px}}

@media screen{.ledger-summary,.employee-money-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 24px}.ledger-summary{border:1px solid var(--ex-line);border-radius:14px;background:var(--ex-surface);padding:20px}.ledger-summary>div,.employee-money-grid>div{display:flex;flex-direction:column;gap:9px;min-width:0}.ledger-summary span,.employee-money-grid span{color:var(--ex-muted);font-size:13px;line-height:1.5}.ledger-summary strong{font-size:24px;color:var(--ex-text)}.employee-money-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.employee-money-grid>div{padding:14px;border:1px solid var(--ex-line);border-radius:10px;background:var(--ex-raised);overflow-wrap:anywhere}.employee-money-grid strong{font-size:15px;color:var(--ex-text);line-height:1.6}.ranking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.ranking-panel{background:var(--ex-surface);border:1px solid var(--ex-line);border-radius:14px;padding:20px;min-width:0}.ranking-panel h2{font-size:19px}.ranking-list{list-style:none;padding:0;margin:0}.ranking-list li{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--ex-line)}.ranking-number{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:1px solid var(--ex-line);border-radius:9px;font-size:12px;font-weight:700;color:var(--ex-muted);background:var(--ex-raised)}.ranking-list li>div{flex:1;min-width:0;overflow-wrap:anywhere}.ranking-list strong{font-size:14px}.ranking-list small{display:block;color:var(--ex-muted);font-size:12px;line-height:1.6;margin-top:5px}.ranking-list b{font-size:15px;white-space:nowrap}.ranking-list .text-button{text-align:left;white-space:normal;padding:0;background:transparent;border:0;font-size:14px}.operation-timeline{list-style:none;padding:0 0 0 18px;border-left:2px solid var(--ex-line)}.operation-timeline li{padding:0 0 20px 12px;overflow-wrap:anywhere}.operation-timeline time{display:block;font-size:12px;color:var(--ex-muted);margin-bottom:7px}.operation-timeline strong{font-size:14px;line-height:1.7}.operation-timeline p{font-size:13px;line-height:1.7}.employee-activity .table-wrap,.operation-detail .table-wrap{margin-top:18px}@media(max-width:1000px){.ranking-grid{grid-template-columns:1fr}.ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-money-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.ranking-panel,.ledger-summary{padding:15px}.ranking-list b{font-size:13px}.employee-money-grid{gap:9px}.employee-money-grid>div{padding:10px}}}

@media screen{.site-credits{display:flex;flex-direction:column;align-items:flex-start;gap:7px;line-height:1.7}.site-credits strong{font-size:12px;font-weight:650}.site-credits p{font-size:11px;max-width:110ch;line-height:1.8;margin:0}.site-public-credit{text-align:center;padding:22px 18px;color:var(--muted);font-size:11px;line-height:1.7}}

@media screen{
.directory-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) auto;gap:16px;align-items:end;margin:24px 0 14px}.directory-filters>label{display:grid;gap:7px;font-size:13px}.directory-filters>.form-check{display:flex;padding-bottom:10px}.directory-v2{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}.directory-card{display:flex;flex-direction:column;gap:16px;padding:24px;background:var(--ex-surface);color:var(--ex-text);border:1px solid var(--ex-line);border-radius:22px;min-width:0}.directory-card header{display:flex;align-items:center;gap:14px}.directory-card h3{font-size:21px;overflow-wrap:anywhere}.directory-card .eyebrow{font-size:11px}.directory-description{font-size:14px;color:var(--ex-muted);overflow-wrap:anywhere}.directory-card dl{margin:0;display:grid;gap:10px;font-size:13px}.directory-card dl>div{display:flex;justify-content:space-between;gap:16px}.directory-card dt{color:var(--ex-muted)}.directory-card dd{margin:0;text-align:right;overflow-wrap:anywhere}.directory-card .exchange-pill{align-self:flex-start;white-space:normal}.directory-next{margin-top:auto;display:grid;gap:5px;padding:14px;border-left:3px solid var(--green);border-radius:0 12px 12px 0;background:var(--ex-raised);font-size:13px}.directory-next>span,.directory-next small{color:var(--ex-muted)}.directory-card footer{display:flex;gap:8px;flex-wrap:wrap}.directory-card footer button{flex:1;font-size:12px}.availability-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:20px}.availability-week>section{border:1px solid var(--ex-line);background:var(--ex-raised);border-radius:13px;overflow:hidden;min-width:0}.availability-week header{display:grid;gap:4px;padding:12px 8px;border-bottom:1px solid var(--ex-line);text-align:center;color:var(--ex-text)}.availability-week header span{font-size:12px;text-transform:uppercase;color:var(--ex-muted)}.availability-week section>p{padding:12px 6px;font-size:11px;text-align:center;color:var(--ex-muted)}.availability-slot{display:grid;gap:5px;margin:8px 4px;padding:10px 5px;border-left:3px solid var(--green);border-radius:8px;background:var(--ex-surface);color:var(--ex-text);font-size:11px;overflow-wrap:anywhere}.availability-slot span{color:var(--ex-muted)}.availability-edit-row{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:10px;padding:14px;border:1px solid var(--ex-line);background:var(--ex-raised);border-radius:14px;margin:12px 0}.availability-edit-row label{display:grid;gap:5px;font-size:12px;min-width:0}.availability-edit-row label:nth-child(4){grid-column:span 2}.availability-edit-row input{width:100%;min-width:0}.availability-editor h3{margin-top:8px}.modal:has(#directory-agenda){width:min(1000px,calc(100vw - 24px))}@media(max-width:750px){.directory-filters{grid-template-columns:1fr 1fr}.directory-filters>label:first-child{grid-column:1/-1}.directory-filters>.form-check{font-size:12px}.availability-week{grid-template-columns:repeat(2,minmax(0,1fr))}.availability-slot{font-size:13px;padding:12px}.directory-card{padding:18px}.directory-card dl>div{flex-direction:column;gap:2px}.directory-card dd{text-align:left}}@media(max-width:450px){.directory-filters{grid-template-columns:1fr}.directory-filters>label{grid-column:1}.availability-edit-row{grid-template-columns:1fr 1fr}.availability-edit-row label:first-child{grid-column:1/-1}.availability-week{grid-template-columns:1fr}.availability-week>section{display:grid;grid-template-columns:65px 1fr}.availability-week header{border-bottom:0;border-right:1px solid var(--ex-line)}.availability-week section>p{text-align:left;padding:18px}}
}
.requirements-heading { padding: 1.5rem; border: 1px solid currentColor; border-radius: 1rem; }
.requirements-filters { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.requirements-filters label:first-child { flex: 1 1 15rem; }
.requirements-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; align-items: start; }
.requirement-column { padding: .8rem; border-radius: .85rem; border-top: 3px solid var(--requirement-accent); background: color-mix(in srgb,var(--requirement-accent) 10%,transparent); }
.requirement-new { --requirement-accent: #a47ad7; }
.requirement-progress { --requirement-accent: #368f9e; }
.requirement-done { --requirement-accent: #4e9f73; }
.requirement-column h2 { display: flex; justify-content: space-between; gap: .5rem; }
.requirement-card { border: 1px solid color-mix(in srgb,currentColor 23%,transparent); border-radius: .75rem; padding: .85rem; margin-bottom: .65rem; overflow-wrap: anywhere; }
.requirement-card .actions { margin-top: .75rem; flex-wrap: wrap; }
@media (max-width: 760px) { .requirements-board { grid-template-columns: 1fr; } }
.requirement-counter { text-align: start; cursor: pointer; }
.requirement-counter[aria-pressed="true"] { outline: 2px solid currentColor; outline-offset: -3px; }
.requirement-column h2 { font-size: 1rem; align-items: center; padding: .15rem .25rem; }
.requirement-column h2 small { font-variant-numeric: tabular-nums; border-radius: .45rem; padding: .12rem .42rem; background: color-mix(in srgb,currentColor 10%,transparent); }
.requirement-card { padding: .7rem .75rem; border-inline-start: 3px solid var(--requirement-accent, #788692); background: var(--surface, Canvas); }
.requirement-card[data-priority="urgent"] { border-inline-start-color: #d86c82; }
.requirement-card[data-priority="high"] { border-inline-start-color: #bd883b; }
.requirement-card h3 { margin: .25rem 0; font-size: .95rem; }
.requirement-card p { margin: .25rem 0 .45rem; }
.requirement-card .actions { margin-top: .5rem; gap: .4rem; }
.requirement-add { width: 100%; text-align: start; border-style: dashed; }
.requirement-company-status { display: inline-block; padding: .2rem .48rem; border-radius: .4rem; border: 1px solid currentColor; background: #e9edf1; color: #374151; font-weight: 700; }
.requirement-company-status[data-tone="active"] { background: #d9f4e3; color: #145534; }
.requirement-company-status[data-tone="warning"] { background: #ffedb8; color: #6a4103; }
.requirement-company-status[data-tone="vacant"] { background: #ebe1ff; color: #542d85; }
.requirement-company-status[data-tone="danger"] { background: #ffe0e2; color: #8a2436; }
.requirement-company-alert { border-inline-start: 3px solid #c88925; }
.requirement-sales-alert { font-weight: 700; }
.cash-movement-amount { white-space: nowrap; }
.cash-movement-amount[data-direction="in"] { color: #14643d; }
.cash-movement-amount[data-direction="out"] { color: #922b3c; }
[data-theme="dark"] .cash-movement-amount[data-direction="in"] { color: #92e7b3; }
[data-theme="dark"] .cash-movement-amount[data-direction="out"] { color: #ffabb6; }
.dynasty-zones { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:start; }
.dynasty-zones img { display:block;width:100%;border-radius:.8rem; }
@media(max-width:760px){.dynasty-zones{grid-template-columns:1fr;}}
.dynasty-reference-map { display:block;width:100%;max-height:75vh;aspect-ratio:733/1210;background:#071c2c;border-radius:.8rem;touch-action:none;user-select:none; }
.dynasty-reference-map polygon { fill:transparent;stroke:none;cursor:pointer; }
.dynasty-reference-map g:hover polygon,.dynasty-reference-map g:focus-visible polygon,.dynasty-reference-map g[aria-pressed="true"] polygon { fill:#fff2;stroke:white;stroke-width:1.5;vector-effect:non-scaling-stroke; }
.dynasty-zones { grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); }
.dynasty-reference-map { max-height:92vh; }
@media(max-width:850px){.dynasty-zones{grid-template-columns:1fr;}}
