.tool-open{font-size:12px;color:#795e32;margin-top:auto;border-top:1px solid #ded7ca;padding-top:14px}.tool-open:hover{text-decoration:underline}.calc-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.calc-heading>a{font-size:12px;white-space:nowrap}.calc-heading h2{font-size:34px}.calc-tabs{display:flex;gap:12px;margin:30px 0 20px;border-bottom:1px solid #d6dbd8;overflow-x:auto}.calc-tabs a{padding:12px 18px;font-size:13px;white-space:nowrap;border-bottom:3px solid transparent}.calc-tabs a[aria-current=page]{border-color:#b19561;color:#795e32;font-weight:650}.calc-form{background:#f6f5f0;border:1px solid #e1e2da;padding:28px;max-width:950px}.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.calc-form fieldset{border:1px solid #d9ded7;padding:22px;margin:18px 0}.calc-form legend{font-size:12px;padding:0 10px;color:#6b644e}.calc-form select{width:100%;padding:14px;font:14px system-ui;border:1px solid #c9cfce;background:#fbfcfa;color:#233540;border-radius:3px}.calc-form select:focus{outline:2px solid #9b8258;outline-offset:2px}.calc-form .hint{margin:4px 0 0}.calc-form button{width:auto;min-width:260px}.calc-result{margin:35px 0;border-top:1px solid #d5dcd6;padding-top:25px}.fee-result{border:1px solid #d9dedb;padding:28px;margin:20px 0}.fee-result h3{font-size:24px;margin:0 0 14px}.fee-total{font:400 42px Georgia,serif;color:#18382d;display:block;margin-bottom:25px}.table-scroll{overflow-x:auto}.aaut table{border-collapse:collapse;width:100%;font-size:12px}.aaut th,.aaut td{text-align:right;padding:12px;border-bottom:1px solid #e0e4dd;white-space:nowrap}.aaut th:first-child,.aaut td:first-child{text-align:left}.aaut th{background:#f3f3ed;color:#5f6a63;font-weight:600}.aaut dl{display:grid;grid-template-columns:1fr auto;gap:8px 25px;padding:15px 0;border-bottom:1px solid #e0e4dd;font-size:13px}.aaut dt{color:#657169}.aaut dd{margin:0;font-variant-numeric:tabular-nums;text-align:right}.rule-list{font-size:12px;color:#6c766f;padding-left:18px}.calc-sources{margin-top:30px;border-top:1px solid #ddd;padding-top:20px}.calc-sources summary{cursor:pointer;font-size:13px}.calc-sources p,.calc-sources li{font-size:12px;color:#68726d}.calc-sources a{text-decoration:underline}.aaut .hint{font-size:12px}.aaut>p{color:#6d777c}.aaut{scroll-margin-top:25px}@media(max-width:720px){.calc-heading{display:block}.calc-heading h2{font-size:28px}.calc-grid{grid-template-columns:1fr}.calc-form{padding:18px}.calc-form fieldset{padding:16px 12px}.calc-tabs{gap:0}.calc-tabs a{padding:10px;font-size:11px}.fee-result{padding:18px}.fee-total{font-size:34px}.calc-form button{width:100%;min-width:0}}

/* Compact office layout */
body:has(.dashboard) header{height:72px}
.dashboard{margin:16px auto}.dashboard .panel{padding:24px 30px}
.dashboard .welcome{gap:12px;margin-bottom:18px}.dashboard .welcome h1{font-size:30px;margin:5px 0}.dashboard .welcome .eyebrow{font-size:9px}
.dashboard .logout{padding:11px 18px}.dashboard .section-title{font-size:25px;margin:12px 0 6px}.dashboard .panel>p{margin:6px 0}
.dashboard .tools{gap:14px;margin:16px 0 22px}.dashboard .tools article{padding:18px;min-height:174px}.dashboard .tools h3{font-size:21px;margin:12px 0 18px}.dashboard .tool-num{font-size:23px}
.dashboard .settings{padding-top:12px}.dashboard .settings summary{font-size:12px}
body:has(.dashboard) footer{padding:10px}
.calc-heading h2{font-size:29px;margin:6px 0}.aaut>.hint{margin:6px 0 12px}
.calc-tabs{gap:10px;margin:14px 0;border:0;flex-wrap:wrap;overflow:visible}
.calc-tabs a{border:1px solid #c8ceca;border-radius:5px;background:#f5f4ef;padding:10px 20px;font-size:14px;font-weight:600}
.calc-tabs a[aria-current=page]{background:#18382d;color:white;border-color:#18382d}
.calc-form{margin-top:12px;padding:16px;max-width:none}.calc-form fieldset{padding:12px 16px;margin:0 0 12px}.calc-form label{margin-bottom:10px;gap:5px}.calc-form input,.calc-form select{padding:10px}.calc-form button{padding:12px 20px}
.calc-sources{margin-top:16px;padding-top:12px}.calc-result{margin:20px 0;padding-top:16px}
@media(max-width:900px){.dashboard{margin:14px}.dashboard .panel{padding:20px}.dashboard .tools article{min-height:150px}}
@media(max-width:620px){.dashboard .welcome{flex-direction:row;align-items:center}.dashboard .welcome h1{font-size:24px}.dashboard .welcome form{width:auto}.dashboard .panel{padding:16px}.dashboard .tools{grid-template-columns:1fr 1fr;gap:10px}.dashboard .tools article{padding:13px;min-height:160px}.dashboard .tools h3{font-size:18px}.calc-tabs{gap:6px}.calc-tabs a{padding:9px 11px;font-size:12px}.calc-heading h2{font-size:25px}}

.fixed-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.fixed-groups a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border:1px solid #d7ddd6;border-radius:5px;background:#fafaf7;font-size:12px;line-height:1.4}
.fixed-groups small{white-space:nowrap;font-size:10px;color:#77837b}.fixed-groups a:hover{border-color:#a68b5f}.fixed-groups a[aria-current=page]{background:#edf3ed;border-color:#63816b;color:#18382d;font-weight:650}
#maktu-list{scroll-margin-top:15px}
@media(max-width:720px){.fixed-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.fixed-groups{grid-template-columns:1fr}}

.fixed-options{margin:18px 0}.fixed-options h3{font-size:22px;margin:12px 0}.fixed-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.fixed-items a{padding:15px;border:1px solid #cbd4cd;border-radius:5px;background:#fff;font-size:13px;line-height:1.5}.fixed-items a:hover{border-color:#947845;background:#faf8f0}.fixed-items a[aria-current=page]{background:#18382d;color:#fff;border-color:#18382d}#fixed-detail{scroll-margin-top:18px}
.aaut h2,.aaut h3,.aaut label,.aaut legend,.aaut option,.aaut summary,.aaut button,.aaut th,.aaut dt,.aaut .calc-heading>a,.aaut .fixed-groups small{text-transform:capitalize}
@media(max-width:720px){.fixed-items{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.fixed-items{grid-template-columns:1fr}}

#calc-result{scroll-margin-top:16px}.calc-result>.hint{margin:5px 0;line-height:1.55}.calc-result .fee-total{margin-bottom:12px}.calc-result .rule-list{margin:8px 0 0}.calc-result .fee-result{margin-bottom:14px}

[hidden]{display:none!important}.fixed-search{margin:16px 0}.fixed-search label{margin-bottom:7px}.search-row{display:flex;gap:8px}.search-row input{padding:11px 13px}.search-row button{width:auto;padding:10px 16px;background:#e9ede7;color:#233540}.fixed-search .hint{margin:6px 0}.fixed-items [data-search-item]{display:flex;flex-direction:column;gap:6px}.fixed-items [data-search-item] small{font-size:10px;color:#77837b}#fixed-search-results h3{font-size:22px;margin:12px 0}

.rate-inputs,.rate-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.reference-strip{display:flex;flex-wrap:wrap;gap:14px 32px;background:#f3f3ed;padding:15px}.reference-strip span{font-size:12px}.reference-strip strong{display:block;font-size:21px;color:#233540}.rate-card{border:1px solid;border-top-width:5px;border-radius:6px;padding:20px}.rate-card.low{background:#fff4f2;border-color:#c36c60;color:#873f34}.rate-card.mid{background:#fffbef;border-color:#c6a04d;color:#7c6024}.rate-card.ok{background:#eff7f1;border-color:#619875;color:#265a3b}.rate-card h3{font-size:23px;margin:0 0 16px}.rate-card>span{font-size:12px}.rate-total{display:block;font:30px Georgia;margin:5px 0 14px}.rate-state{font-size:12px;font-weight:650;margin-bottom:0}.rate-card dl{grid-template-columns:1fr;gap:4px;margin:0;padding:12px 0}.rate-card dd{text-align:left;font-size:19px;margin-bottom:8px;color:inherit}.oran label small{font-size:10px;color:#77837b}.oran h3,.oran select{text-transform:capitalize}#oran-result{scroll-margin-top:16px}@media(max-width:850px){.rate-results{grid-template-columns:1fr}.rate-total{font-size:32px}}@media(max-width:480px){.rate-inputs{gap:8px}}
.rate-adjust{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.rate-adjust button{width:auto;padding:10px 14px;font-size:12px;background:#e7ece6;color:#233540}

.oran .oran-clear{background:#e7ece6;color:#233540;margin-left:8px;min-width:100px}

.rate-card .payment-share{display:block;font:500 12px/1.5 system-ui;color:inherit;margin-top:4px}

.calc-heading>.office-back{display:inline-flex;align-items:center;justify-content:center;gap:11px;flex-shrink:0;min-height:44px;padding:10px 18px;border:1px solid #c2b18d;border-radius:8px;background:#faf8f2;color:#263b45;font:600 13px/1.3 system-ui;box-shadow:0 2px 5px #101e2908;transition:background .16s,color .16s,border-color .16s,box-shadow .16s}
.office-back .back-arrow{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#eae3d4;color:#7b6238;font-size:18px;line-height:1}
.calc-heading>.office-back:hover{background:#172d38;border-color:#172d38;color:#fff;box-shadow:0 3px 9px #101e2918}.office-back:hover .back-arrow{background:#334b56;color:#e3cca2}.calc-heading>.office-back:focus-visible{outline:3px solid #a88c59;outline-offset:3px}
@media(max-width:720px){.calc-heading>.office-back{margin:8px 0 5px;padding:9px 14px;min-height:42px}}
@media(prefers-reduced-motion:reduce){.calc-heading>.office-back{transition:none}}

.icra-clear{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;margin-left:8px;border-radius:4px;background:#e7ece6;color:#233540;font-size:13px;font-weight:600}.icra-options{border-top:1px solid #d9ded7;padding-top:12px;margin:12px 0 18px}.icra-options summary{cursor:pointer;font-size:13px;margin-bottom:14px}.icra .table-scroll td:nth-child(2){color:#77837b;font-size:11px}.icra .calc-result>.hint{margin:5px 0}.icra tfoot th{background:#edf2ec;font-size:14px}#icra-result{scroll-margin-top:16px}

.office-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.office-toolbar>form{margin:0 0 0 auto}.office-toolbar .logout{width:auto;padding:12px 18px;min-height:44px}
.office-toolbar>.office-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;border:1px solid #c2b18d;border-radius:8px;background:#faf8f2;color:#263b45;font:600 13px/1.3 system-ui}.office-toolbar>.office-back:hover{background:#172d38;color:#fff;border-color:#172d38}.office-toolbar .back-arrow{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#eae3d4;color:#7b6238;font-size:18px}
.tools>.tool-card{border:1px solid #d9dedb;padding:18px;min-height:174px;display:flex;flex-direction:column;color:inherit}.tools>a.tool-card{transition:background .15s,border-color .15s,box-shadow .15s}.tools>a.tool-card:hover{background:#faf8f2;border-color:#b59c70;box-shadow:0 3px 12px #101e290b}.tools>.tool-card h3{font-size:21px;margin:12px 0 18px}
.calc-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:760px}.calc-tabs a{display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;min-height:48px;padding:10px 12px;line-height:1.35}
.form-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:680px;margin-top:14px;align-items:stretch}.calc-form .form-actions>button,.calc-form .form-actions>a,.form-actions.maktu-reset>a{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;width:100%;min-height:48px;margin:0;padding:12px 16px;border-radius:4px;font:600 13px/1.4 system-ui;white-space:normal}.form-actions>a,.calc-form .form-actions>.oran-clear{background:#e7ece6;color:#233540}.form-actions>a:hover,.calc-form .form-actions>.oran-clear:hover{background:#d9e2d8}.maktu-reset{margin:14px 0;max-width:340px;grid-template-columns:1fr}
@media(max-width:620px){.office-toolbar{gap:8px;margin-bottom:14px}.office-toolbar>.office-back,.office-toolbar .logout{font-size:12px;padding:9px 12px;min-height:44px}.tools>.tool-card{padding:13px;min-height:160px}.tools>.tool-card h3{font-size:18px}.calc-tabs{gap:6px;width:100%;max-width:none}.calc-tabs a{font-size:11px;padding:9px 5px;min-height:56px}.form-actions{gap:8px;max-width:none;width:100%}.calc-form .form-actions>button,.calc-form .form-actions>a{padding:12px 8px;font-size:12px;min-height:50px}}

.aaut label[data-accepted][hidden]{display:none!important}

.calc-tabs.fee-tabs{grid-template-columns:repeat(4,minmax(0,1fr));max-width:100%}@media(max-width:620px){.calc-tabs.fee-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.calc-tabs.fee-tabs a{font-size:12px;min-height:48px}}

/* Keep the two VAT-choice actions on one shared baseline. */
.marka .marka-vat-options .marka-totals{align-items:stretch}
.marka .marka-vat-options .marka-totals>article{display:flex!important;flex-direction:column!important;align-self:stretch;gap:12px}
.marka .marka-vat-options .marka-totals>article>form{display:block;flex:0 0 auto;margin:0!important;margin-top:auto!important;padding-top:24px;width:100%}
.marka .marka-vat-options .marka-totals>article>form>button{display:block;width:100%;height:50px;min-height:50px;margin:0!important;padding:12px 16px;line-height:24px;box-sizing:border-box}
