:root{
  --bg:#f3f7fb;--surface:#fff;--surface-soft:#f8fafc;--ink:#061733;--muted:#64748b;--line:#e2e8f0;
  --primary:#0f3b7a;--primary-2:#1556a8;--accent:#0ea5e9;--success:#16a34a;--warning:#d97706;--danger:#dc2626;
  --shadow:0 20px 50px rgba(15,23,42,.10);--shadow-soft:0 12px 28px rgba(15,23,42,.08);--radius:24px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:radial-gradient(circle at top left,#dff2ff 0,transparent 28%),linear-gradient(135deg,#eef4fb 0%,#f8fafc 52%,#edf2f7 100%)}a{color:inherit;text-decoration:none}
.mobile-bar{display:none}.app-shell{display:flex;min-height:100vh}.sidebar{width:304px;background:linear-gradient(180deg,#0b1628 0%,#101f37 100%);color:#fff;padding:26px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;box-shadow:14px 0 42px rgba(15,23,42,.22);z-index:20}
.brand,.auth-brand{display:flex;align-items:center;gap:14px}.brand:where(:not(#sonar-duplicate-selector-1)){margin-bottom:22px}.brand-mark{width:46px;height:46px;border-radius:17px;display:grid;place-items:center;color:#fff;font-weight:900;background:linear-gradient(135deg,var(--primary),var(--accent));box-shadow:0 12px 28px rgba(14,165,233,.28)}.brand strong,.auth-brand strong{font-size:20px;display:block;letter-spacing:.2px}.brand small,.auth-brand small{display:block;color:#a8bdd8;margin-top:3px;font-size:12px}
.workspace-card,.security-card{display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);border-radius:18px;padding:13px;margin-bottom:22px}.workspace-card small,.security-card small{display:block;color:#b9c7db}.workspace-dot{width:11px;height:11px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 6px rgba(34,197,94,.12)}.workspace-card strong,.security-card strong{display:block;color:#fff;font-size:13px}
.nav{display:flex;flex-direction:column;gap:6px;overflow:auto;padding-right:2px}.nav-section{margin:15px 10px 5px;color:#8fb3d9;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:900}.nav-link{padding:13px 14px;border-radius:16px;color:#dbeafe;display:flex;gap:10px;align-items:center;transition:.18s ease;background:transparent;position:relative}.nav-link b{font-size:14px}.nav-link:hover{background:rgba(255,255,255,.09);transform:translateX(3px)}.nav-link.active{background:linear-gradient(135deg,rgba(14,165,233,.24),rgba(21,86,168,.24));color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.nav-link.active:before{content:"";position:absolute;left:-8px;width:4px;height:24px;border-radius:99px;background:#38bdf8}
.sidebar-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding-top:18px}.security-card:where(:not(#sonar-duplicate-selector-2)){margin-bottom:14px}.security-card span{font-size:22px}.user-pill{display:flex;gap:10px;align-items:center;margin-bottom:14px}.avatar{width:40px;height:40px;border-radius:14px;background:#172554;display:grid;place-items:center;font-weight:800}.user-pill small{display:block;color:#93c5fd;font-size:12px}.logout-link{display:block;padding:12px 14px;border-radius:14px;background:rgba(220,38,38,.12);color:#fecaca;text-align:center;font-weight:800}.logout-link:hover{background:rgba(220,38,38,.2)}
.content{margin-left:304px;width:calc(100% - 304px);padding:34px}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.glass{background:rgba(255,255,255,.55);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.75);box-shadow:var(--shadow-soft);border-radius:28px;padding:22px}.eyebrow{margin:0 0 6px;color:var(--primary-2);font-weight:900;text-transform:uppercase;letter-spacing:.09em;font-size:12px}h1{font-size:34px;line-height:1.1;margin:0;color:var(--ink)}h2{font-size:31px;line-height:1.12;margin:12px 0 10px}h3{font-size:20px;margin:0;color:var(--ink)}p{line-height:1.6}.page-subtitle{margin:8px 0 0;color:var(--muted)}.top-actions,.hero-actions,.form-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{border:0;border-radius:15px;padding:12px 18px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-height:44px;transition:.18s ease}.btn:hover{transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;box-shadow:0 12px 25px rgba(15,59,122,.22)}.btn-secondary{background:#e0f2fe;color:#075985}.btn-light{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn-mini{padding:9px 12px;min-height:36px;background:#eef6ff;color:#075985;border:1px solid #dbeafe}.full{width:100%}
.executive-hero,.hero-card,.panel,.kpi-card,.quick-card,.help-card,.auth-card,.auth-panel,.auth-side,.upload-hero{background:rgba(255,255,255,.93);border:1px solid rgba(226,232,240,.92);border-radius:var(--radius);box-shadow:var(--shadow)}
.executive-hero:where(:not(#sonar-duplicate-selector-3)){padding:30px;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:center;margin-bottom:24px;position:relative;overflow:hidden}.executive-hero:after{content:"";position:absolute;right:-90px;top:-90px;width:240px;height:240px;border-radius:50%;background:rgba(14,165,233,.12)}.hero-copy{position:relative;z-index:1}.hero-copy p{max-width:850px;color:var(--muted);margin:0 0 18px}.hero-summary,.process-card{position:relative;z-index:1;background:linear-gradient(180deg,#f8fbff,#fff);border:1px solid var(--line);border-radius:24px;padding:20px}.summary-ring{width:150px;height:150px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;text-align:center;background:radial-gradient(circle,#fff 48%,transparent 50%),conic-gradient(var(--accent) 0 65%,#dbeafe 65% 100%)}.summary-ring strong{font-size:36px}.summary-ring span{display:block;color:var(--muted);font-size:12px;font-weight:800}.summary-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.summary-list div{background:#f8fafc;border:1px solid var(--line);border-radius:15px;padding:12px;text-align:center}.summary-list span{display:block;color:var(--muted);font-size:12px}.summary-list strong{display:block;font-size:20px;margin-top:3px}
.process-card:where(:not(#sonar-duplicate-selector-4)){display:flex;align-items:center;gap:12px}.process-step{display:grid;gap:5px;justify-items:center;text-align:center}.process-step span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#dbeafe;color:#1d4ed8;font-weight:900}.process-step.done span{background:#dcfce7;color:#166534}.process-step small{color:var(--muted)}.process-line{height:2px;background:#dbeafe;flex:1}
.hero-card:where(:not(#sonar-duplicate-selector-5)){padding:30px;display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:24px}.hero-card.compact{padding:26px}.badge{display:inline-flex;border-radius:999px;padding:7px 11px;background:#e0f2fe;color:#075985;font-weight:900;font-size:12px}.badge.success{background:#dcfce7;color:#166534}
.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;margin-bottom:24px}.kpi-card:where(:not(#sonar-duplicate-selector-6)){padding:22px;min-height:140px;position:relative;overflow:hidden}.kpi-card:after{content:"";position:absolute;right:-30px;bottom:-30px;width:90px;height:90px;border-radius:50%;background:rgba(14,165,233,.08)}.kpi-card span{display:block;color:var(--muted);font-size:13px;font-weight:900}.kpi-card strong{display:block;font-size:31px;margin:14px 0 8px}.kpi-card small{color:var(--muted)}.kpi-card.success{border-color:#bbf7d0}.kpi-card.warning{border-color:#fed7aa}.kpi-card.danger{border-color:#fecaca}.gradient-blue{background:linear-gradient(135deg,#0f3b7a,#0ea5e9);color:#fff}.gradient-blue span,.gradient-blue small{color:#dbeafe}
.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.quick-card:where(:not(#sonar-duplicate-selector-7)){padding:22px;transition:.18s ease}.quick-card:hover{transform:translateY(-4px);box-shadow:0 22px 55px rgba(15,23,42,.13)}.quick-icon{font-size:30px;width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:#eef6ff}.quick-card strong{display:block;margin:14px 0 5px}.quick-card small,.muted{color:var(--muted)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:24px}.panel:where(:not(#sonar-duplicate-selector-8)){padding:24px;margin-bottom:24px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px}.table-wrap.wide{max-height:580px}table{width:100%;border-collapse:collapse;background:#fff}th,td{padding:14px 15px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:14px}th:where(:not(#sonar-duplicate-selector-9)){background:#f8fafc;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#475569}tr:hover td{background:#f8fbff}.table-link{color:#1556a8;font-weight:800}.status{display:inline-flex;border-radius:999px;padding:5px 9px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:900}.progress{height:8px;border-radius:99px;background:#e2e8f0;overflow:hidden;margin-bottom:5px}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--accent),var(--primary-2));border-radius:99px}
.empty-state{padding:24px;border:1px dashed #cbd5e1;border-radius:20px;background:#f8fafc;color:var(--muted)}.empty-state.illustrated{text-align:center}.empty-state.illustrated>span{font-size:42px;display:block;margin-bottom:10px}.empty-state strong{color:var(--ink)}.timeline{display:flex;flex-direction:column;gap:12px}.timeline-item{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:16px;background:#f8fafc;border:1px solid var(--line);transition:.18s}.timeline-item:hover{background:#eef6ff;transform:translateX(2px)}.timeline-item em{margin-left:auto;color:#1556a8;font-style:normal;font-weight:900}.dot{width:12px;height:12px;border-radius:50%;background:var(--accent);margin-top:5px;box-shadow:0 0 0 5px #e0f2fe}.timeline-item p{margin:4px 0 0;color:var(--muted)}
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:22px}.form-panel{margin-bottom:0}.card-form{background:#f8fafc;border:1px solid var(--line);border-radius:22px;padding:20px}.styled-form p{margin:0 0 16px}.styled-form label{display:block;margin-bottom:7px;color:#334155;font-weight:900}.styled-form input,.styled-form select,.styled-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:12px 13px;font:inherit;background:#fff;outline:none}.styled-form input:focus,.styled-form select:focus,.styled-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(14,165,233,.12)}.form-badge{background:#eef6ff;border:1px solid #dbeafe;color:#075985;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900}.sticky-actions{position:sticky;bottom:0;background:#f8fafc;padding-top:14px}.help-card:where(:not(#sonar-duplicate-selector-10)){padding:24px;height:max-content}.help-card ul{padding-left:20px;color:var(--muted);line-height:1.8}.note-card{margin-top:18px;background:#fff7ed;border:1px solid #fed7aa;border-radius:18px;padding:16px}.note-card p{margin:6px 0 0;color:#9a3412}.check-list{display:grid;gap:10px}.check-list p{margin:0;padding:12px;border-radius:14px;background:#f8fafc;border:1px solid var(--line);color:#475569}
.upload-hero:where(:not(#sonar-duplicate-selector-11)){padding:24px;margin-bottom:22px;display:flex;justify-content:space-between;gap:20px;align-items:center}.upload-hero p{color:var(--muted);margin:0}.upload-mini-steps{display:flex;gap:10px;flex-wrap:wrap}.upload-mini-steps span{background:#eef6ff;border:1px solid #dbeafe;color:#075985;border-radius:999px;padding:9px 12px;font-weight:900;font-size:12px}
.filter-form{display:flex;gap:10px}.filter-form select{border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:#fff}.mini-issue{display:block;color:#b45309;font-size:12px;margin-bottom:4px}.messages{margin-bottom:18px}.alert{padding:14px 16px;border-radius:16px;margin-bottom:10px;border:1px solid var(--line);background:#fff;display:flex;gap:10px;align-items:flex-start}.alert p{margin:0}.alert-success{border-color:#bbf7d0;background:#f0fdf4}.alert-error,.alert-danger{border-color:#fecaca;background:#fef2f2}.alert-warning{border-color:#fed7aa;background:#fff7ed}.audit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.audit-item{padding:16px;border:1px solid var(--line);border-radius:16px;background:#f8fafc;display:flex;gap:12px}.audit-icon{font-size:24px}.audit-item span,.audit-item small{display:block;color:var(--muted);margin-top:4px}
.auth-body{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 10% 20%,rgba(14,165,233,.16),transparent 28%),radial-gradient(circle at 90% 10%,rgba(15,59,122,.18),transparent 30%),linear-gradient(135deg,#071936,#0b1628)}.auth-layout{width:min(980px,100%);display:grid;grid-template-columns:1fr 1fr;gap:22px}.auth-card:where(:not(#sonar-duplicate-selector-12)),.auth-panel:where(:not(#sonar-duplicate-selector-13)),.auth-side:where(:not(#sonar-duplicate-selector-14)){padding:34px}.auth-card:where(:not(#sonar-duplicate-selector-15)){width:min(470px,100%)}.wide-auth{width:min(820px,100%)}.auth-card h1,.auth-panel h1{margin:24px 0 8px}.auth-brand small:where(:not(#sonar-duplicate-selector-16)){color:#64748b}.auth-side:where(:not(#sonar-duplicate-selector-17)){background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(224,242,254,.92));display:flex;flex-direction:column;justify-content:center}.auth-benefits{display:grid;gap:12px;margin-top:20px}.auth-benefits div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px}.auth-benefits small{display:block;color:var(--muted);margin-top:4px}.qr-box{display:grid;place-items:center;background:#f8fafc;border:1px solid var(--line);border-radius:24px;padding:22px}.qr-box img{max-width:240px;width:100%;height:auto}.qr-box small{color:var(--muted);font-weight:800;margin-top:10px}.mfa-grid{display:grid;grid-template-columns:300px 1fr;gap:22px;align-items:start}.secret{display:block;white-space:normal;word-break:break-all;margin:14px 0;padding:14px;border-radius:14px;background:#0f172a;color:#e0f2fe}.link{font-weight:900;color:var(--primary-2)}
@media(max-width:1200px){.kpi-grid:where(:not(#sonar-duplicate-selector-18)){grid-template-columns:repeat(3,minmax(0,1fr))}.quick-grid:where(:not(#sonar-duplicate-selector-19)){grid-template-columns:repeat(2,minmax(0,1fr))}.executive-hero:where(:not(#sonar-duplicate-selector-20)){grid-template-columns:1fr}.summary-list:where(:not(#sonar-duplicate-selector-21)){grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.mobile-bar:where(:not(#sonar-duplicate-selector-22)){display:block;padding:14px 18px;background:#0b1628;color:#fff}.sidebar:where(:not(#sonar-duplicate-selector-23)){position:relative;width:100%;inset:auto;border-radius:0}.app-shell:where(:not(#sonar-duplicate-selector-24)){display:block}.content:where(:not(#sonar-duplicate-selector-25)){margin-left:0;width:100%;padding:20px}.topbar:where(:not(#sonar-duplicate-selector-26)),.hero-card:where(:not(#sonar-duplicate-selector-27)),.upload-hero:where(:not(#sonar-duplicate-selector-28)){flex-direction:column;align-items:stretch}.two-col:where(:not(#sonar-duplicate-selector-29)),.form-layout:where(:not(#sonar-duplicate-selector-30)),.mfa-grid:where(:not(#sonar-duplicate-selector-31)),.auth-layout:where(:not(#sonar-duplicate-selector-32)){grid-template-columns:1fr}.kpi-grid:where(:not(#sonar-duplicate-selector-33)){grid-template-columns:repeat(2,minmax(0,1fr))}.audit-grid:where(:not(#sonar-duplicate-selector-34)){grid-template-columns:1fr}.compact-brand{margin:0}.sidebar>.brand{display:none}}@media(max-width:560px){.kpi-grid:where(:not(#sonar-duplicate-selector-35)),.quick-grid:where(:not(#sonar-duplicate-selector-36)),.summary-list:where(:not(#sonar-duplicate-selector-37)){grid-template-columns:1fr}h1:where(:not(#sonar-duplicate-selector-38)){font-size:28px}h2:where(:not(#sonar-duplicate-selector-39)){font-size:25px}.content:where(:not(#sonar-duplicate-selector-40)){padding:14px}.executive-hero:where(:not(#sonar-duplicate-selector-41)),.panel:where(:not(#sonar-duplicate-selector-42)),.glass:where(:not(#sonar-duplicate-selector-43)){border-radius:20px;padding:18px}}

/* V12 Administration UI */
.admin-hero .admin-command-card{
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  position:relative;
  z-index:1;
}
.admin-command-card span{font-size:48px;display:block;margin-bottom:12px}
.admin-command-card strong{display:block;font-size:22px;margin-bottom:8px}
.admin-command-card p{color:var(--muted);margin:0}
.admin-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.card-actions .btn{font-size:13px;padding:10px 12px;min-height:38px}
@media(max-width:1200px){.admin-grid:where(:not(#sonar-duplicate-selector-44)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.admin-grid:where(:not(#sonar-duplicate-selector-45)){grid-template-columns:1fr}.card-actions:where(:not(#sonar-duplicate-selector-46)){flex-direction:column}.card-actions .btn:where(:not(#sonar-duplicate-selector-47)){width:100%}}


/* V13 UI polish */
.ops-hero{
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(238,246,255,.94));
  border:1px solid rgba(226,232,240,.92);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:28px;
  margin-bottom:22px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  overflow:hidden;
  position:relative;
}
.ops-hero:after{content:"";position:absolute;right:-70px;top:-70px;width:180px;height:180px;border-radius:50%;background:rgba(14,165,233,.12)}
.ops-hero h2{margin-bottom:8px}.ops-hero p{color:var(--muted);margin:0}.ops-actions{position:relative;z-index:1;display:flex;gap:10px;flex-wrap:wrap}
.metric-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:22px}
.metric-strip article{background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:var(--shadow-soft)}
.metric-strip span{display:block;color:var(--muted);font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.metric-strip strong{display:block;font-size:28px;margin-top:8px}.metric-strip .warn{border-color:#fed7aa;background:#fff7ed}.metric-strip .ok{border-color:#bbf7d0;background:#f0fdf4}
.toolbar-form,.search-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.toolbar-form label{display:grid;gap:7px;color:#334155;font-weight:900;min-width:220px}
.toolbar-form select,.search-form input{border:1px solid #cbd5e1;border-radius:14px;padding:12px 13px;font:inherit;background:#fff;outline:none}
.search-form input:where(:not(#sonar-duplicate-selector-48)){min-width:min(520px,100%);flex:1}
.wide-left{grid-template-columns:1.4fr .6fr}
.block-muted{display:block;color:var(--muted);margin-top:4px;font-size:12px}
.status-processed{background:#dcfce7;color:#166534}.status-failed{background:#fee2e2;color:#991b1b}.status-uploaded{background:#e0f2fe;color:#075985}
.classification-stack{display:grid;gap:12px}
.classification-stack div{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#f8fafc}
.classification-stack span{color:var(--muted);font-weight:900}.classification-stack strong{margin-left:auto;font-size:24px}
.classification-stack em{width:12px;height:12px;border-radius:50%;background:#38bdf8;box-shadow:0 0 0 5px #e0f2fe}.classification-stack .warn-dot{background:#f59e0b;box-shadow:0 0 0 5px #ffedd5}.classification-stack .ok-dot{background:#22c55e;box-shadow:0 0 0 5px #dcfce7}
.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.mini-list{display:grid;gap:10px;max-height:560px;overflow:auto;padding-right:4px}
.mini-list-item{border:1px solid var(--line);background:#f8fafc;border-radius:17px;padding:14px;transition:.18s}
.mini-list-item:hover{background:#eef6ff;transform:translateY(-1px)}
.mini-list-item strong{display:block;margin-bottom:5px}.mini-list-item span{display:block;color:var(--muted);font-size:13px;line-height:1.45}
.roadmap-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.roadmap-grid div{border:1px solid var(--line);background:#f8fafc;border-radius:20px;padding:18px}
.roadmap-grid span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#0f3b7a;color:white;font-weight:900;margin-bottom:12px}
.roadmap-grid strong{display:block;margin-bottom:6px}.roadmap-grid small{color:var(--muted);line-height:1.5}
@media(max-width:1200px){.metric-strip:where(:not(#sonar-duplicate-selector-49)){grid-template-columns:repeat(3,minmax(0,1fr))}.three-col:where(:not(#sonar-duplicate-selector-50)),.roadmap-grid:where(:not(#sonar-duplicate-selector-51)){grid-template-columns:repeat(2,minmax(0,1fr))}.wide-left:where(:not(#sonar-duplicate-selector-52)){grid-template-columns:1fr}}
@media(max-width:700px){.ops-hero{flex-direction:column;align-items:stretch}.metric-strip:where(:not(#sonar-duplicate-selector-53)),.three-col:where(:not(#sonar-duplicate-selector-54)),.roadmap-grid:where(:not(#sonar-duplicate-selector-55)){grid-template-columns:1fr}.toolbar-form label:where(:not(#sonar-duplicate-selector-56)),.search-form input:where(:not(#sonar-duplicate-selector-57)){min-width:100%}}


/* V14 CRUD + Line Review */
.review-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:22px;margin-bottom:22px}.line-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.line-summary-grid div{background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:15px}.line-summary-grid span{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;margin-bottom:6px}.line-summary-grid strong{display:block;line-height:1.4;word-break:break-word}.success-badge{background:#dcfce7!important;color:#166534!important;border-color:#bbf7d0!important}.review-layout .card-form textarea{min-height:120px}@media(max-width:1000px){.review-layout{grid-template-columns:1fr}.line-summary-grid:where(:not(#sonar-duplicate-selector-58)){grid-template-columns:1fr}}


/* V15 fixes: clean collapsible sidebar and migration UI */
.sidebar{
  overflow:hidden;
}
.nav:where(:not(#sonar-duplicate-selector-59)){
  overflow-y:auto;
  overflow-x:hidden;
  max-height:calc(100vh - 335px);
  padding-right:0;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.nav::-webkit-scrollbar{
  width:0;
  height:0;
  display:none;
}
.nav-group{
  margin:0 0 8px;
}
.nav-group summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
  margin:14px 10px 6px;
  color:#8fb3d9;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  font-weight:900;
  user-select:none;
}
.nav-group summary::-webkit-details-marker{
  display:none;
}
.nav-group summary span{
  transition:.18s ease;
  font-size:10px;
}
.nav-group:not([open]) summary span{
  transform:rotate(-90deg);
}
.nav-link:where(:not(#sonar-duplicate-selector-60)){
  width:100%;
  min-width:0;
}
.nav-link b:where(:not(#sonar-duplicate-selector-61)){
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sidebar-footer:where(:not(#sonar-duplicate-selector-62)){
  flex-shrink:0;
}
.review-layout:where(:not(#sonar-duplicate-selector-63)){display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:22px;margin-bottom:22px}
.line-summary-grid:where(:not(#sonar-duplicate-selector-64)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.line-summary-grid div:where(:not(#sonar-duplicate-selector-65)){background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:15px}
.line-summary-grid span:where(:not(#sonar-duplicate-selector-66)){display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;margin-bottom:6px}
.line-summary-grid strong:where(:not(#sonar-duplicate-selector-67)){display:block;line-height:1.4;word-break:break-word}
.success-badge:where(:not(#sonar-duplicate-selector-68)){background:#dcfce7!important;color:#166534!important;border-color:#bbf7d0!important}
.review-layout .card-form textarea:where(:not(#sonar-duplicate-selector-69)){min-height:120px}
@media(max-width:1000px){.review-layout:where(:not(#sonar-duplicate-selector-70)){grid-template-columns:1fr}.line-summary-grid:where(:not(#sonar-duplicate-selector-71)){grid-template-columns:1fr}.nav:where(:not(#sonar-duplicate-selector-72)){max-height:none}}


/* V16 form fixes and Spanish UX */
.improved-form-layout{
  align-items:start;
}
.improved-form{
  padding:24px;
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.form-field{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.form-field label{
  margin:0!important;
}
.form-field small{
  color:var(--muted);
  line-height:1.4;
}
.field-error{
  color:#b91c1c!important;
  font-weight:800;
}
.checkbox-field{
  flex-direction:row;
  align-items:center;
  gap:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
}
.checkbox-field label{
  order:2;
}
.checkbox-field input{
  order:1;
  width:auto!important;
  min-width:18px;
  height:18px;
}
.current-user-card{
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:18px;
  padding:14px 16px;
  margin-top:8px;
}
.current-user-card span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#eef6ff;
  font-size:22px;
}
.current-user-card strong{display:block}
.current-user-card p{margin:2px 0 0;color:var(--muted)}
input[type="date"]{
  min-height:48px;
}
select{
  min-height:48px;
}
@media(max-width:900px){
  .form-grid:where(:not(#sonar-duplicate-selector-73)){grid-template-columns:1fr}
}


/* V17 territorial structure */
.territory-code{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight:900;
  letter-spacing:.02em;
}


/* V25 period lock and multi-company security */
.danger-badge{background:#fee2e2!important;color:#991b1b!important}
.lock-panel{border-color:#fecaca;background:#fff7f7}
.lock-panel p{color:#7f1d1d}


/* V26 upload prevalidation */
.tag-cloud{display:flex;flex-wrap:wrap;gap:10px}
.tag-cloud span{background:#eef6ff;border:1px solid #dbeafe;color:#075985;border-radius:999px;padding:8px 12px;font-weight:800;font-size:12px}
button[disabled]{opacity:.55;cursor:not-allowed;transform:none!important}


/* V27/V28 */
.form-field select{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:12px 13px;background:#fff}


/* V32 fiscal form polish */
.metric-list{display:grid;gap:12px}
.metric-list div{border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:14px}
.metric-list span{display:block;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}
.metric-list strong{display:block;margin-top:6px;font-size:20px}


/* V34 limpieza visual de formularios y paneles */
.single-panel{grid-template-columns:minmax(0,1fr)!important;max-width:1180px;margin-inline:auto}.single-panel .form-panel{width:100%}.panel-head .form-badge:empty,.badge:empty{display:none!important}.form-actions.sticky-actions{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,255,255,.78),#fff 45%);padding-top:14px;border-top:1px solid var(--line);z-index:5}.styled-form input:where(:not(#sonar-duplicate-selector-74)),.styled-form select:where(:not(#sonar-duplicate-selector-75)),.styled-form textarea:where(:not(#sonar-duplicate-selector-76)){width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:12px 13px;font:inherit;background:#fff;outline:none;transition:.16s ease}.styled-form input:focus:where(:not(#sonar-duplicate-selector-77)),.styled-form select:focus:where(:not(#sonar-duplicate-selector-78)),.styled-form textarea:focus:where(:not(#sonar-duplicate-selector-79)){border-color:var(--primary-2);box-shadow:0 0 0 4px rgba(14,165,233,.12)}.hero-card.compact:where(:not(#sonar-duplicate-selector-80)){align-items:center}.hero-card.compact p:empty{display:none}.table-wrap.wide:where(:not(#sonar-duplicate-selector-81)){overflow:auto}.modern-table td,.modern-table th{vertical-align:top}.muted:where(:not(#sonar-duplicate-selector-82)){color:var(--muted)}

/* v35 - ajuste de Centro Administrativo */
.compact-hero{padding:24px 26px;margin-bottom:18px;grid-template-columns:minmax(0,1fr) 300px}.compact-hero h2{margin-bottom:8px}.compact-hero .hero-copy p{margin-bottom:14px}.admin-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.admin-roadmap{margin-top:18px}.admin-roadmap .panel-head{margin-bottom:14px}.admin-roadmap .roadmap-grid div{min-height:124px}.top-actions:where(:not(#sonar-duplicate-selector-83)){display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.page-subtitle:where(:not(#sonar-duplicate-selector-84)){max-width:900px}
@media(max-width:1400px){.admin-kpi-grid:where(:not(#sonar-duplicate-selector-85)){grid-template-columns:repeat(3,minmax(0,1fr))}.compact-hero{grid-template-columns:1fr}}
@media(max-width:700px){.admin-kpi-grid:where(:not(#sonar-duplicate-selector-86)){grid-template-columns:1fr}.compact-hero:where(:not(#sonar-duplicate-selector-87)){padding:18px}.top-actions:where(:not(#sonar-duplicate-selector-88)){justify-content:flex-start}}

.alert-card {
  border-radius: 20px;
  padding: 18px 22px;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(15, 59, 122, .12);
  background: #f8fafc;
  color: #0f2344;
  box-shadow: 0 12px 32px rgba(15, 59, 122, .08);
}
.alert-card strong { font-size: 1rem; }
.alert-card span { color: #64748b; }
.alert-card.success { background: #f0fdf4; border-color: #bbf7d0; }
.alert-card.warning { background: #fffbeb; border-color: #fde68a; }
.alert-card.danger { background: #fef2f2; border-color: #fecaca; }
.compact-roadmap { grid-template-columns: repeat(4, minmax(160px, 1fr)); }
.row-danger { background: #fff1f2; }
.row-warning { background: #fffbeb; }
.mini-issue:where(:not(#sonar-duplicate-selector-89)) { display: block; margin: 2px 0; font-size: .78rem; color: #64748b; }
.mini-issue.error { color: #b91c1c; font-weight: 700; }
.mini-issue.warning { color: #92400e; font-weight: 700; }
.badge.success:where(:not(#sonar-duplicate-selector-90)) { background: #dcfce7; color: #166534; }
.badge.danger { background: #fee2e2; color: #991b1b; }
.assurance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.assurance-card{border:1px solid var(--line);background:#f8fafc;border-radius:18px;padding:16px}
.assurance-card span{display:block;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.assurance-card strong{display:block;font-size:28px;margin:8px 0 4px}
.assurance-card small{color:var(--muted)}
.assurance-card.ok{border-color:#bbf7d0;background:#f0fdf4}
.assurance-card.warning{border-color:#fde68a;background:#fffbeb}
.assurance-card.danger{border-color:#fecaca;background:#fef2f2}
.inline-form{margin:0;display:inline-flex}
.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}
.scenario-card{display:flex;flex-direction:column;gap:14px;margin-bottom:0}
.scenario-card.success{border-color:#bbf7d0}
.scenario-card.warning{border-color:#fde68a}
.scenario-card.danger{border-color:#fecaca}
.scenario-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.scenario-metrics div{border:1px solid var(--line);background:#f8fafc;border-radius:15px;padding:12px}
.scenario-metrics span{display:block;color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.scenario-metrics strong{display:block;margin-top:5px;font-size:18px}
.scenario-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}
.scenario-links .btn{min-height:38px;padding:9px 12px;font-size:13px}
.compact-alert{padding:14px 16px;margin:0}
@media (max-width: 1100px) { .compact-roadmap:where(:not(#sonar-duplicate-selector-91)) { grid-template-columns: repeat(2, minmax(160px, 1fr)); } }
@media (max-width: 1100px) { .scenario-grid:where(:not(#sonar-duplicate-selector-92)) { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .compact-roadmap:where(:not(#sonar-duplicate-selector-93)),.assurance-grid:where(:not(#sonar-duplicate-selector-94)),.scenario-metrics:where(:not(#sonar-duplicate-selector-95)) { grid-template-columns: 1fr; } }

/* V43 responsive standard layout and full-width forms */
.sidebar-toggle{position:absolute;opacity:0;pointer-events:none}
.sidebar-backdrop{display:none}
.menu-toggle{display:none;width:42px;height:42px;border:1px solid rgba(15,59,122,.14);border-radius:14px;background:#fff;color:var(--primary);align-items:center;justify-content:center;font-size:22px;font-weight:900;box-shadow:var(--shadow-soft);cursor:pointer}
.content:where(:not(#sonar-duplicate-selector-96)){max-width:none}.topbar:where(:not(#sonar-duplicate-selector-97)){position:relative;overflow:hidden}.topbar:before{content:"";position:absolute;right:-60px;top:-90px;width:190px;height:190px;border-radius:999px;background:rgba(14,165,233,.10);pointer-events:none}.topbar>div{position:relative;z-index:1}.top-actions:where(:not(#sonar-duplicate-selector-98)){display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.page-subtitle:where(:not(#sonar-duplicate-selector-99)){max-width:980px}
.panel:where(:not(#sonar-duplicate-selector-100)),.hero-card:where(:not(#sonar-duplicate-selector-101)),.ops-hero:where(:not(#sonar-duplicate-selector-102)),.executive-hero:where(:not(#sonar-duplicate-selector-103)){width:100%}.form-panel:where(:not(#sonar-duplicate-selector-104)){padding:22px}.form-panel form,.card-form:where(:not(#sonar-duplicate-selector-105)),.form-grid:where(:not(#sonar-duplicate-selector-106)),.admin-form{width:100%}
.form-grid:where(:not(#sonar-duplicate-selector-107)){display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:end}.form-grid>p,.form-grid>.form-field{grid-column:span 4;display:flex;flex-direction:column;gap:8px;margin:0}.form-grid>p label,.form-field label:where(:not(#sonar-duplicate-selector-108)){font-size:12px;color:#334155;font-weight:900;text-transform:uppercase;letter-spacing:.045em}.form-grid>p input,.form-grid>p select,.form-grid>p textarea,.form-field input,.form-field select,.form-field textarea{width:100%;min-height:48px;border:1px solid #cbd5e1;border-radius:15px;padding:12px 14px;background:#fff;color:var(--ink);font:inherit;outline:none;transition:border-color .18s,box-shadow .18s}.form-grid>p input:focus,.form-grid>p select:focus,.form-grid>p textarea:focus,.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 4px rgba(96,165,250,.18)}.form-grid>p input[type="file"]{padding:10px;background:#f8fafc}.form-grid>p .helptext,.form-field small:where(:not(#sonar-duplicate-selector-109)){color:var(--muted);font-size:12px;line-height:1.45}.form-actions:where(:not(#sonar-duplicate-selector-110)){grid-column:1 / -1;display:flex;gap:12px;align-items:center;justify-content:flex-start;flex-wrap:wrap;padding-top:4px}.btn:where(:not(#sonar-duplicate-selector-111)){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;white-space:nowrap}.table-wrap:where(:not(#sonar-duplicate-selector-112)){overflow:auto;border-radius:18px}.table-wrap table{min-width:760px}.compact-table table{min-width:640px}
.two-panel-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:22px;align-items:start}.upload-drop-card{border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#fff,#f8fbff);padding:20px}.upload-drop-card .upload-icon{width:54px;height:54px;border-radius:18px;background:#eef6ff;display:grid;place-items:center;font-size:26px;margin-bottom:12px}.info-list{display:grid;gap:10px}.info-list div{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:13px}.info-list span{width:28px;height:28px;border-radius:10px;background:#e0f2fe;display:grid;place-items:center;flex:0 0 auto}.section-muted{color:var(--muted);margin:4px 0 0;line-height:1.5}.expected-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.expected-item{border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:14px}.expected-item strong{display:block;margin-bottom:5px}.expected-item small{color:var(--muted);line-height:1.4}
@media(max-width:1180px){.form-grid>p:where(:not(#sonar-duplicate-selector-113)),.form-grid>.form-field:where(:not(#sonar-duplicate-selector-114)){grid-column:span 6}.two-panel-layout:where(:not(#sonar-duplicate-selector-115)){grid-template-columns:1fr}.expected-grid:where(:not(#sonar-duplicate-selector-116)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){body:where(:not(#sonar-duplicate-selector-117)){background:#f3f7fb}.mobile-bar:where(:not(#sonar-duplicate-selector-118)){display:flex;position:sticky;top:0;z-index:40;align-items:center;justify-content:space-between;padding:12px 16px;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);box-shadow:0 8px 24px rgba(15,23,42,.08)}.menu-toggle:where(:not(#sonar-duplicate-selector-119)){display:flex}.app-shell:where(:not(#sonar-duplicate-selector-120)){display:block;min-height:auto}.sidebar:where(:not(#sonar-duplicate-selector-121)){transform:translateX(-105%);transition:transform .22s ease;width:min(320px,88vw);padding-top:18px;z-index:60}.sidebar-toggle:checked~.app-shell .sidebar{transform:translateX(0)}.sidebar-toggle:checked~.sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(2px);z-index:50}.content:where(:not(#sonar-duplicate-selector-122)){margin-left:0;width:100%;padding:18px}.topbar:where(:not(#sonar-duplicate-selector-123)){flex-direction:column;gap:16px;border-radius:22px;padding:20px}.topbar h1{font-size:26px}.top-actions:where(:not(#sonar-duplicate-selector-124)){width:100%;justify-content:stretch}.top-actions .btn{flex:1 1 180px}.nav:where(:not(#sonar-duplicate-selector-125)){max-height:calc(100vh - 260px)}.sidebar-footer:where(:not(#sonar-duplicate-selector-126)){padding-bottom:12px}.form-grid:where(:not(#sonar-duplicate-selector-127)){grid-template-columns:1fr!important}.form-grid>p:where(:not(#sonar-duplicate-selector-128)),.form-grid>.form-field:where(:not(#sonar-duplicate-selector-129)){grid-column:1 / -1}.form-actions:where(:not(#sonar-duplicate-selector-130)){flex-direction:column;align-items:stretch}.form-actions .btn,.form-actions button{width:100%}.expected-grid:where(:not(#sonar-duplicate-selector-131)){grid-template-columns:1fr}.panel:where(:not(#sonar-duplicate-selector-132)){border-radius:20px;padding:18px}.table-wrap table:where(:not(#sonar-duplicate-selector-133)){min-width:720px}}
@media(min-width:861px){.sidebar:where(:not(#sonar-duplicate-selector-134)){transform:none!important}}
@media(max-width:520px){.content:where(:not(#sonar-duplicate-selector-135)){padding:14px}.brand strong:where(:not(#sonar-duplicate-selector-136)){font-size:16px}.brand-mark:where(:not(#sonar-duplicate-selector-137)){width:40px;height:40px;border-radius:14px}.topbar h1:where(:not(#sonar-duplicate-selector-138)){font-size:23px}.kpi-grid:where(:not(#sonar-duplicate-selector-139)),.quick-grid:where(:not(#sonar-duplicate-selector-140)),.metric-strip:where(:not(#sonar-duplicate-selector-141)){grid-template-columns:1fr!important}.btn:where(:not(#sonar-duplicate-selector-142)){width:100%}}

/* V44 UI review: responsive menu, standard forms and dense enterprise screens */
.sidebar-mobile-head{display:none}
.panel:where(:not(#sonar-duplicate-selector-143)),.form-panel:where(:not(#sonar-duplicate-selector-144)),.upload-drop-card:where(:not(#sonar-duplicate-selector-145)),.quick-card:where(:not(#sonar-duplicate-selector-146)),.kpi-card:where(:not(#sonar-duplicate-selector-147)),.hero-summary:where(:not(#sonar-duplicate-selector-148)),.admin-command-card{border:1px solid rgba(148,163,184,.24)}
.panel:where(:not(#sonar-duplicate-selector-149)){padding:24px;margin-bottom:22px;box-shadow:0 16px 42px rgba(15,23,42,.075)}
.panel-head:where(:not(#sonar-duplicate-selector-150)){gap:16px;align-items:flex-start}.panel-head h3{margin:.15rem 0 .25rem}.stacked-on-mobile{align-items:flex-start}.section-muted:where(:not(#sonar-duplicate-selector-151)){font-size:14px}
.standard-form-panel{padding:0;overflow:hidden}.standard-form-panel>.panel-head{padding:24px 24px 0}.standard-form{padding:22px 24px 24px}
.standard-form .form-grid,.styled-form .form-grid{grid-template-columns:repeat(12,minmax(0,1fr))!important}.standard-form .form-field,.styled-form .form-field{grid-column:span 4}.standard-form .form-field.full-span,.styled-form .form-field.full-span,.full-span{grid-column:1 / -1!important}
.standard-form .upload-control{background:linear-gradient(135deg,#f8fbff,#fff);border:1px dashed #9cc7f1;border-radius:20px;padding:18px}.standard-form .upload-control input[type=file]{border:0;background:#eef6ff;border-radius:14px;cursor:pointer}.selected-file-name{display:block;margin-top:8px;color:#0f3b7a!important;font-weight:800}.form-errors{grid-column:1 / -1;background:#fef2f2;border:1px solid #fecaca;border-radius:16px;padding:12px}
.form-actions.sticky-actions:where(:not(#sonar-duplicate-selector-152)){margin-top:20px;margin-left:-24px;margin-right:-24px;margin-bottom:-24px;padding:16px 24px;background:linear-gradient(180deg,rgba(255,255,255,.88),#fff 40%)}
.page-grid{margin-bottom:22px}.provision-layout{grid-template-columns:minmax(0,1.55fr) minmax(340px,.45fr)}.side-stack{display:grid;gap:18px}.compact-side-card{height:100%}.compact-side-card h3{margin:0 0 8px}.info-list p{margin:0}.info-list small{color:var(--muted)}
.expected-grid:where(:not(#sonar-duplicate-selector-153)){grid-template-columns:repeat(6,minmax(0,1fr))}.expected-item:where(:not(#sonar-duplicate-selector-154)){min-height:112px}.expected-item strong:where(:not(#sonar-duplicate-selector-155)){color:#0f3b7a}.expected-item small:where(:not(#sonar-duplicate-selector-156)){display:block}
.modern-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff}.modern-table th:where(:not(#sonar-duplicate-selector-157)){position:sticky;top:0;background:#f8fafc;z-index:2;color:#334155;text-transform:uppercase;letter-spacing:.055em;font-size:11px;border-bottom:1px solid var(--line)}.modern-table th:where(:not(#sonar-duplicate-selector-158)),.modern-table td:where(:not(#sonar-duplicate-selector-159)){padding:12px 14px;border-bottom:1px solid var(--line);text-align:left}.modern-table tbody tr:hover{background:#f8fbff}.table-wrap.wide:where(:not(#sonar-duplicate-selector-160)),.table-wrap:where(:not(#sonar-duplicate-selector-161)){box-shadow:inset 0 0 0 1px var(--line);background:#fff}.table-wrap.wide table{min-width:1080px}
.filter-form:where(:not(#sonar-duplicate-selector-162)),.filter-bar,.toolbar-form:where(:not(#sonar-duplicate-selector-163)),.search-form:where(:not(#sonar-duplicate-selector-164)){background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:18px}.filter-form label,.filter-bar label,.toolbar-form label:where(:not(#sonar-duplicate-selector-165)){font-size:12px;text-transform:uppercase;letter-spacing:.045em;color:#334155;font-weight:900}.filter-form input,.filter-form select:where(:not(#sonar-duplicate-selector-166)),.filter-bar input,.filter-bar select,.toolbar-form input,.toolbar-form select:where(:not(#sonar-duplicate-selector-167)),.search-form input:where(:not(#sonar-duplicate-selector-168)){min-height:44px;border:1px solid #cbd5e1;border-radius:14px;padding:10px 12px;background:#fff;font:inherit}
.topbar.glass{border:1px solid rgba(148,163,184,.24);box-shadow:0 16px 42px rgba(15,23,42,.075)}.topbar h1:where(:not(#sonar-duplicate-selector-169)){line-height:1.05}.top-actions .btn:where(:not(#sonar-duplicate-selector-170)){box-shadow:0 10px 22px rgba(15,59,122,.10)}
.btn:where(:not(#sonar-duplicate-selector-171)){border:0;cursor:pointer;font-weight:900}.btn-light:where(:not(#sonar-duplicate-selector-172)){border:1px solid var(--line)}
@media(max-width:1440px){.expected-grid:where(:not(#sonar-duplicate-selector-173)){grid-template-columns:repeat(3,minmax(0,1fr))}.provision-layout:where(:not(#sonar-duplicate-selector-174)){grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)}}
@media(max-width:1180px){.standard-form .form-field:where(:not(#sonar-duplicate-selector-175)),.styled-form .form-field:where(:not(#sonar-duplicate-selector-176)){grid-column:span 6}.provision-layout:where(:not(#sonar-duplicate-selector-177)){grid-template-columns:1fr}.expected-grid:where(:not(#sonar-duplicate-selector-178)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){
  .mobile-bar:where(:not(#sonar-duplicate-selector-179)){display:flex!important;position:sticky;top:0;z-index:70;align-items:center;justify-content:space-between;padding:12px 16px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);box-shadow:0 8px 24px rgba(15,23,42,.08);color:var(--ink)}
  .menu-toggle:where(:not(#sonar-duplicate-selector-180)){display:flex!important}.app-shell:where(:not(#sonar-duplicate-selector-181)){display:block}.content:where(:not(#sonar-duplicate-selector-182)){margin-left:0!important;width:100%!important;padding:18px}.sidebar:where(:not(#sonar-duplicate-selector-183)){position:fixed!important;inset:0 auto 0 0!important;width:min(330px,88vw)!important;border-radius:0!important;transform:translateX(-105%);transition:transform .22s ease;z-index:80;overflow:hidden}.sidebar-toggle:checked~.app-shell .sidebar:where(:not(#sonar-duplicate-selector-184)){transform:translateX(0)}.sidebar-toggle:checked~.sidebar-backdrop:where(:not(#sonar-duplicate-selector-185)){display:block;position:fixed;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(2px);z-index:75}.sidebar-mobile-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:#fff}.sidebar-close{width:38px;height:38px;border-radius:13px;background:rgba(255,255,255,.10);display:grid;place-items:center;font-size:26px;cursor:pointer}.sidebar>.brand:where(:not(#sonar-duplicate-selector-186)){display:flex!important}.nav:where(:not(#sonar-duplicate-selector-187)){max-height:calc(100vh - 360px)!important}.topbar:where(:not(#sonar-duplicate-selector-188)){flex-direction:column;align-items:stretch}.top-actions:where(:not(#sonar-duplicate-selector-189)){width:100%;justify-content:stretch}.top-actions .btn:where(:not(#sonar-duplicate-selector-190)){flex:1 1 160px}.panel:where(:not(#sonar-duplicate-selector-191)){padding:18px}.standard-form-panel>.panel-head:where(:not(#sonar-duplicate-selector-192)){padding:20px 20px 0}.standard-form:where(:not(#sonar-duplicate-selector-193)){padding:18px 20px 20px}.form-actions.sticky-actions:where(:not(#sonar-duplicate-selector-194)){margin-left:-20px;margin-right:-20px;margin-bottom:-20px;padding:14px 20px}.standard-form .form-field:where(:not(#sonar-duplicate-selector-195)),.styled-form .form-field:where(:not(#sonar-duplicate-selector-196)){grid-column:1 / -1}.form-actions:where(:not(#sonar-duplicate-selector-197)){flex-direction:column;align-items:stretch}.form-actions .btn:where(:not(#sonar-duplicate-selector-198)),.form-actions button:where(:not(#sonar-duplicate-selector-199)){width:100%}.stacked-on-mobile:where(:not(#sonar-duplicate-selector-200)){flex-direction:column}.expected-grid:where(:not(#sonar-duplicate-selector-201)){grid-template-columns:1fr}.table-wrap table:where(:not(#sonar-duplicate-selector-202)),.table-wrap.wide table:where(:not(#sonar-duplicate-selector-203)){min-width:820px}}
@media(min-width:981px){.sidebar:where(:not(#sonar-duplicate-selector-204)){transform:none!important}.mobile-bar:where(:not(#sonar-duplicate-selector-205)){display:none!important}.sidebar-backdrop:where(:not(#sonar-duplicate-selector-206)){display:none!important}}
@media(max-width:560px){.content:where(:not(#sonar-duplicate-selector-207)){padding:12px}.panel:where(:not(#sonar-duplicate-selector-208)){padding:16px;border-radius:18px}.topbar.glass:where(:not(#sonar-duplicate-selector-209)){padding:18px;border-radius:18px}.topbar h1:where(:not(#sonar-duplicate-selector-210)){font-size:24px}.page-subtitle:where(:not(#sonar-duplicate-selector-211)){font-size:13px}.expected-item:where(:not(#sonar-duplicate-selector-212)){min-height:auto}.modern-table th:where(:not(#sonar-duplicate-selector-213)),.modern-table td:where(:not(#sonar-duplicate-selector-214)){padding:10px 12px}.btn:where(:not(#sonar-duplicate-selector-215)){width:100%}}

/* V46 UI polish: sidebar scrollbar + balanced enterprise forms */
body{min-width:0;}
.app-shell:where(:not(#sonar-duplicate-selector-216)){align-items:stretch;}
.sidebar:where(:not(#sonar-duplicate-selector-217)){
  height:100vh;
  overflow:hidden!important;
  display:flex;
  flex-direction:column;
}
.sidebar .brand,.workspace-card:where(:not(#sonar-duplicate-selector-218)),.sidebar-mobile-head:where(:not(#sonar-duplicate-selector-219)){flex-shrink:0;}
.nav:where(:not(#sonar-duplicate-selector-220)){
  flex:1 1 auto;
  min-height:0;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-right:8px!important;
  margin-right:-6px;
  scrollbar-width:thin!important;
  scrollbar-color:#38bdf8 rgba(255,255,255,.10)!important;
}
.nav:where(:not(#sonar-duplicate-selector-221))::-webkit-scrollbar{width:8px!important;display:block!important;}
.nav::-webkit-scrollbar-track{background:rgba(255,255,255,.08);border-radius:99px;}
.nav::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#38bdf8,#1556a8);border-radius:99px;}
.nav::-webkit-scrollbar-thumb:hover{background:#7dd3fc;}
.sidebar-footer:where(:not(#sonar-duplicate-selector-222)){flex-shrink:0;background:linear-gradient(180deg,rgba(11,22,40,0),rgba(11,22,40,.96) 18%);padding-top:16px;}
.content:where(:not(#sonar-duplicate-selector-223)){min-width:0;}
.topbar:where(:not(#sonar-duplicate-selector-224)){margin-bottom:26px;}
.topbar.glass:where(:not(#sonar-duplicate-selector-225)){padding:26px 30px;border-radius:0 0 26px 26px;}
.topbar h1:where(:not(#sonar-duplicate-selector-226)){font-size:clamp(28px,2.4vw,42px);line-height:1.05;}
.top-actions:where(:not(#sonar-duplicate-selector-227)){display:flex;gap:12px;align-items:center;flex-wrap:wrap;}

.form-layout:where(:not(#sonar-duplicate-selector-228)),.single-panel,.improved-form-layout{
  width:min(100%,1320px);
  margin:0 auto 24px;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:22px;
}
.form-layout:not(.single-panel):has(.help-card){grid-template-columns:minmax(0,1fr) minmax(300px,360px);}
.form-panel:where(:not(#sonar-duplicate-selector-229)),.standard-form-panel:where(:not(#sonar-duplicate-selector-230)){
  width:100%;
  max-width:none!important;
  overflow:hidden;
}
.panel.form-panel{padding:0;}
.panel-head:where(:not(#sonar-duplicate-selector-231)){padding:24px 28px 0;}
.panel-head .section-muted{max-width:900px;}
.styled-form,.card-form:where(:not(#sonar-duplicate-selector-232)),.standard-form:where(:not(#sonar-duplicate-selector-233)),.improved-form:where(:not(#sonar-duplicate-selector-234)){padding:0!important;}
.form-grid:where(:not(#sonar-duplicate-selector-235)){
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:18px!important;
  padding:26px 28px 22px!important;
  background:linear-gradient(135deg,#f8fbff,#f7faff);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.form-field:where(:not(#sonar-duplicate-selector-236)){grid-column:span 4;min-width:0;}
.form-field label:where(:not(#sonar-duplicate-selector-237)){font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;color:#10264b;font-weight:900!important;}
.form-field input:where(:not(#sonar-duplicate-selector-238)),.form-field select:where(:not(#sonar-duplicate-selector-239)),.form-field textarea:where(:not(#sonar-duplicate-selector-240)){
  width:100%!important;
  min-height:52px;
  border:1px solid #cbd8e8!important;
  border-radius:14px!important;
  background:#fff!important;
  padding:12px 14px!important;
  font-size:15px!important;
  box-shadow:0 1px 0 rgba(15,23,42,.03);
}
.form-field input:focus:where(:not(#sonar-duplicate-selector-241)),.form-field select:focus:where(:not(#sonar-duplicate-selector-242)),.form-field textarea:focus:where(:not(#sonar-duplicate-selector-243)){outline:none;border-color:#1556a8!important;box-shadow:0 0 0 4px rgba(21,86,168,.10);}
.form-field textarea:where(:not(#sonar-duplicate-selector-244)){min-height:124px;resize:vertical;}
.form-field.full-span,.full-span:where(:not(#sonar-duplicate-selector-245)){grid-column:1/-1!important;}
.form-field.wide,.wide-field{grid-column:span 8!important;}
.checkbox-field:where(:not(#sonar-duplicate-selector-246)){
  grid-column:span 4;
  min-height:78px;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center;
  align-items:center!important;
  gap:10px!important;
  border:1px solid #d7e2ef!important;
  background:#fff!important;
  border-radius:16px!important;
  padding:16px!important;
}
.checkbox-field label:where(:not(#sonar-duplicate-selector-247)){order:2;text-align:center;line-height:1.25;margin:0!important;}
.checkbox-field input:where(:not(#sonar-duplicate-selector-248)){order:1;width:18px!important;min-height:auto!important;height:18px!important;padding:0!important;}
.form-actions:where(:not(#sonar-duplicate-selector-249)),.sticky-actions:where(:not(#sonar-duplicate-selector-250)){
  position:static!important;
  display:flex!important;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:20px 28px 26px!important;
  background:#fff;
  border-top:0!important;
}
.form-actions .btn:where(:not(#sonar-duplicate-selector-251)){min-height:48px;padding:12px 20px;}
.help-card:where(:not(#sonar-duplicate-selector-252)),.side-stack:where(:not(#sonar-duplicate-selector-253)){align-self:start;position:sticky;top:24px;}

/* Specific pages */
.single-panel .form-panel{max-width:1180px!important;margin:0 auto;}
.provision-layout:where(:not(#sonar-duplicate-selector-254)),.page-grid.two-panel-layout{width:min(100%,1380px);margin:0 auto 24px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.45fr);gap:22px;align-items:start;}
.upload-control{padding:20px!important;border:1px dashed #b8cbe2!important;background:#fff!important;border-radius:18px!important;}
.upload-control input[type=file]{border:0!important;background:#f8fafc!important;padding:12px!important;}
.expected-grid:where(:not(#sonar-duplicate-selector-255)){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.expected-item:where(:not(#sonar-duplicate-selector-256)){border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:16px;}
.expected-item strong:where(:not(#sonar-duplicate-selector-257)){display:block;margin-bottom:6px}.expected-item small:where(:not(#sonar-duplicate-selector-258)){color:var(--muted);line-height:1.4}

/* Make long forms easier to scan */
.form-section-title{grid-column:1/-1;margin:2px 0 -2px;padding:10px 12px;border-radius:14px;background:#eaf4ff;color:#0f3b7a;font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:12px;}

/* Tables */
.table-wrap{width:100%;overflow:auto;border-radius:18px;border:1px solid var(--line);}
.modern-table:where(:not(#sonar-duplicate-selector-259)){min-width:900px;}
.modern-table th:where(:not(#sonar-duplicate-selector-260)){position:sticky;top:0;background:#f8fafc;z-index:1;}

@media(max-width:1200px){
  .form-layout:not(.single-panel):has(.help-card):where(:not(#sonar-duplicate-selector-261)),.provision-layout:where(:not(#sonar-duplicate-selector-262)),.page-grid.two-panel-layout:where(:not(#sonar-duplicate-selector-263)){grid-template-columns:1fr;}
  .help-card:where(:not(#sonar-duplicate-selector-264)),.side-stack:where(:not(#sonar-duplicate-selector-265)){position:static;}
  .form-field:where(:not(#sonar-duplicate-selector-266)),.checkbox-field:where(:not(#sonar-duplicate-selector-267)){grid-column:span 6;}
  .expected-grid:where(:not(#sonar-duplicate-selector-268)){grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:900px){
  .sidebar:where(:not(#sonar-duplicate-selector-269)){position:fixed;transform:translateX(-105%);transition:.2s ease;width:min(86vw,340px);}
  .sidebar-toggle:checked ~ .app-shell .sidebar{transform:translateX(0);}
  .sidebar-toggle:checked ~ .sidebar-backdrop{display:block;}
  .sidebar-backdrop:where(:not(#sonar-duplicate-selector-270)){display:none;position:fixed;inset:0;background:rgba(15,23,42,.52);z-index:15;}
  .mobile-bar:where(:not(#sonar-duplicate-selector-271)){display:flex!important;align-items:center;gap:14px;position:sticky;top:0;z-index:14;}
  .content:where(:not(#sonar-duplicate-selector-272)){margin-left:0!important;width:100%!important;padding:18px!important;}
  .topbar.glass:where(:not(#sonar-duplicate-selector-273)){border-radius:22px;padding:22px;}
  .top-actions .btn:where(:not(#sonar-duplicate-selector-274)){flex:1 1 160px;justify-content:center;}
  .form-grid:where(:not(#sonar-duplicate-selector-275)){grid-template-columns:1fr!important;padding:20px!important;}
  .form-field:where(:not(#sonar-duplicate-selector-276)),.checkbox-field:where(:not(#sonar-duplicate-selector-277)),.form-field.wide:where(:not(#sonar-duplicate-selector-278)),.wide-field:where(:not(#sonar-duplicate-selector-279)){grid-column:1/-1!important;}
  .form-actions:where(:not(#sonar-duplicate-selector-280)){padding:18px 20px 22px!important;}
  .form-actions .btn:where(:not(#sonar-duplicate-selector-281)){flex:1 1 150px;justify-content:center;}
  .expected-grid:where(:not(#sonar-duplicate-selector-282)){grid-template-columns:1fr;}
}
@media(max-width:560px){
  .content:where(:not(#sonar-duplicate-selector-283)){padding:12px!important;}
  .topbar h1:where(:not(#sonar-duplicate-selector-284)){font-size:26px;}
  .panel-head:where(:not(#sonar-duplicate-selector-285)){padding:20px 18px 0;}
  .form-grid:where(:not(#sonar-duplicate-selector-286)){padding:18px!important;gap:14px!important;}
  .form-actions:where(:not(#sonar-duplicate-selector-287)){padding:16px 18px 20px!important;}
}

/* V47 layout density and distribution polish */
:root{
  --sidebar-w:282px;
  --content-pad:26px;
}
.sidebar:where(:not(#sonar-duplicate-selector-288)){width:var(--sidebar-w)!important;padding:22px 16px!important;}
.content:where(:not(#sonar-duplicate-selector-289)){margin-left:var(--sidebar-w)!important;width:calc(100% - var(--sidebar-w))!important;padding:var(--content-pad)!important;}
.brand:where(:not(#sonar-duplicate-selector-290)){gap:12px;margin-bottom:18px}.brand-mark:where(:not(#sonar-duplicate-selector-291)){width:42px;height:42px;border-radius:15px}.brand strong:where(:not(#sonar-duplicate-selector-292)){font-size:18px}.workspace-card:where(:not(#sonar-duplicate-selector-293)){padding:11px;margin-bottom:18px}.nav-link:where(:not(#sonar-duplicate-selector-294)){padding:11px 12px;border-radius:14px}.nav-link b:where(:not(#sonar-duplicate-selector-295)){font-size:13px}.nav-group summary:where(:not(#sonar-duplicate-selector-296)){margin:11px 8px 5px}.sidebar-footer:where(:not(#sonar-duplicate-selector-297)){padding-top:12px}.security-card:where(:not(#sonar-duplicate-selector-298)){padding:11px;margin-bottom:10px}.logout-link:where(:not(#sonar-duplicate-selector-299)){padding:11px 12px}.avatar:where(:not(#sonar-duplicate-selector-300)){width:36px;height:36px;border-radius:12px}
.topbar.glass:where(:not(#sonar-duplicate-selector-301)){padding:22px 26px!important;border-radius:24px!important;margin-bottom:22px!important;min-height:116px;align-items:center;}
.topbar h1:where(:not(#sonar-duplicate-selector-302)){font-size:clamp(28px,2vw,36px)!important}.page-subtitle:where(:not(#sonar-duplicate-selector-303)){font-size:15px;margin-top:6px}.eyebrow:where(:not(#sonar-duplicate-selector-304)){font-size:11px;letter-spacing:.10em}.top-actions .btn:where(:not(#sonar-duplicate-selector-305)){min-height:44px;padding:10px 16px}
.form-layout:where(:not(#sonar-duplicate-selector-306)),.single-panel:where(:not(#sonar-duplicate-selector-307)),.improved-form-layout:where(:not(#sonar-duplicate-selector-308)){width:100%!important;max-width:1540px!important;margin:0 auto 22px!important;}
.single-panel .form-panel:where(:not(#sonar-duplicate-selector-309)){max-width:1360px!important;margin:0 auto!important;}
.form-panel:where(:not(#sonar-duplicate-selector-310)),.panel:where(:not(#sonar-duplicate-selector-311)){border-radius:22px!important;box-shadow:0 14px 38px rgba(15,23,42,.075)!important;}
.panel-head:where(:not(#sonar-duplicate-selector-312)){padding:22px 26px 0!important;margin-bottom:14px!important}.panel-head h3:where(:not(#sonar-duplicate-selector-313)){font-size:20px}.form-badge:where(:not(#sonar-duplicate-selector-314)){font-size:12px;padding:9px 13px;border-radius:999px;background:#eef6ff;border:1px solid #cfe3fb;color:#0f3b7a;font-weight:900;}
.form-grid.enterprise-form-grid,.form-grid:where(:not(#sonar-duplicate-selector-315)){grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:16px!important;padding:22px 26px 20px!important;align-items:start;}
.form-field:where(:not(#sonar-duplicate-selector-316)){grid-column:span 4!important;gap:7px!important;}
.form-field label:where(:not(#sonar-duplicate-selector-317)){font-size:11px!important;letter-spacing:.075em!important;line-height:1.2;min-height:14px;}
.form-field input:where(:not(#sonar-duplicate-selector-318)),.form-field select:where(:not(#sonar-duplicate-selector-319)),.form-field textarea:where(:not(#sonar-duplicate-selector-320)){min-height:46px!important;border-radius:13px!important;padding:10px 13px!important;font-size:14px!important;}
.form-field textarea:where(:not(#sonar-duplicate-selector-321)){min-height:104px!important;}
.checkbox-field:where(:not(#sonar-duplicate-selector-322)){min-height:70px!important;padding:12px!important;gap:8px!important;}
.checkbox-field input:where(:not(#sonar-duplicate-selector-323)){width:17px!important;height:17px!important}.checkbox-field label:where(:not(#sonar-duplicate-selector-324)){font-size:11px!important;min-height:0!important;}
.form-actions:where(:not(#sonar-duplicate-selector-325)),.sticky-actions:where(:not(#sonar-duplicate-selector-326)){padding:16px 26px 20px!important}.form-actions .btn:where(:not(#sonar-duplicate-selector-327)){min-height:44px;padding:10px 18px}.btn:where(:not(#sonar-duplicate-selector-328)){border-radius:13px!important;}
.form-section-title{grid-column:1/-1!important;margin:2px 0 0!important;padding:9px 12px!important;border-radius:12px!important;background:linear-gradient(90deg,#eaf4ff,#f8fbff);border:1px solid #dbeafe;color:#0f3b7a;font-size:11px!important;}
.profile-form-page .field-company,.profile-form-page .field-municipality,.profile-form-page .field-default_tariff,.profile-form-page .field-periodicity,.profile-form-page .field-municipal_registration_number,.profile-form-page .field-local_withholding_agent_type,.profile-form-page .field-minimum_withholding_base,.profile-form-page .field-official_form_code,.profile-form-page .field-due_day_rule,.profile-form-page .field-notice_board_rate,.profile-form-page .field-firefighter_rate,.profile-form-page .field-valid_from,.profile-form-page .field-valid_to,.profile-form-page .field-version_note{grid-column:span 4!important;}
.profile-form-page .field-calendar_notes{grid-column:span 8!important;}
.profile-form-page .field-calendar_notes textarea{min-height:112px!important;}
.profile-form-page .field-is_registered_ica,.profile-form-page .field-is_declarant,.profile-form-page .field-is_withholding_agent,.profile-form-page .field-is_self_withholder,.profile-form-page .field-has_notice_board_tax,.profile-form-page .field-has_firefighter_surcharge,.profile-form-page .field-is_active{grid-column:span 3!important;}
.field-version_note{grid-column:span 8!important;}.field-legal_reference,.field-description{grid-column:span 8!important;}.field-file,.field-source_file{grid-column:span 6!important;}
/* Better native file control */
input[type="file"]{min-height:46px!important;padding:8px!important;background:#fff!important;}
.selected-file-name:where(:not(#sonar-duplicate-selector-329)){margin-top:6px!important;font-size:12px!important;color:#1556a8!important;font-weight:800!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* More usable tables and panels */
.table-wrap{max-width:100%;}.modern-table th:where(:not(#sonar-duplicate-selector-330)),.modern-table td:where(:not(#sonar-duplicate-selector-331)){padding:11px 13px;font-size:13px}.metric-strip:where(:not(#sonar-duplicate-selector-332)){gap:12px}.kpi-grid:where(:not(#sonar-duplicate-selector-333)),.quick-grid:where(:not(#sonar-duplicate-selector-334)){gap:16px}
@media(min-width:1500px){
  .profile-form-page .form-field{grid-column:span 3!important;}
  .profile-form-page .field-calendar_notes:where(:not(#sonar-duplicate-selector-335)){grid-column:span 6!important;}
  .profile-form-page .field-version_note:where(:not(#sonar-duplicate-selector-336)){grid-column:span 6!important;}
}
@media(max-width:1280px){
  :root:where(:not(#sonar-duplicate-selector-337)){--sidebar-w:270px;--content-pad:22px;}
  .form-field:where(:not(#sonar-duplicate-selector-338)),.profile-form-page .field-company:where(:not(#sonar-duplicate-selector-339)),.profile-form-page .field-municipality:where(:not(#sonar-duplicate-selector-340)),.profile-form-page .field-default_tariff:where(:not(#sonar-duplicate-selector-341)),.profile-form-page .field-periodicity:where(:not(#sonar-duplicate-selector-342)),.profile-form-page .field-municipal_registration_number:where(:not(#sonar-duplicate-selector-343)),.profile-form-page .field-local_withholding_agent_type:where(:not(#sonar-duplicate-selector-344)),.profile-form-page .field-minimum_withholding_base:where(:not(#sonar-duplicate-selector-345)),.profile-form-page .field-official_form_code:where(:not(#sonar-duplicate-selector-346)),.profile-form-page .field-due_day_rule:where(:not(#sonar-duplicate-selector-347)),.profile-form-page .field-notice_board_rate:where(:not(#sonar-duplicate-selector-348)),.profile-form-page .field-firefighter_rate:where(:not(#sonar-duplicate-selector-349)),.profile-form-page .field-valid_from:where(:not(#sonar-duplicate-selector-350)),.profile-form-page .field-valid_to:where(:not(#sonar-duplicate-selector-351)),.profile-form-page .field-version_note:where(:not(#sonar-duplicate-selector-352)){grid-column:span 6!important;}
  .profile-form-page .field-is_registered_ica:where(:not(#sonar-duplicate-selector-353)),.profile-form-page .field-is_declarant:where(:not(#sonar-duplicate-selector-354)),.profile-form-page .field-is_withholding_agent:where(:not(#sonar-duplicate-selector-355)),.profile-form-page .field-is_self_withholder:where(:not(#sonar-duplicate-selector-356)),.profile-form-page .field-has_notice_board_tax:where(:not(#sonar-duplicate-selector-357)),.profile-form-page .field-has_firefighter_surcharge:where(:not(#sonar-duplicate-selector-358)),.profile-form-page .field-is_active:where(:not(#sonar-duplicate-selector-359)){grid-column:span 4!important;}
  .profile-form-page .field-calendar_notes:where(:not(#sonar-duplicate-selector-360)),.field-version_note:where(:not(#sonar-duplicate-selector-361)),.field-legal_reference:where(:not(#sonar-duplicate-selector-362)),.field-description:where(:not(#sonar-duplicate-selector-363)){grid-column:1/-1!important;}
}
@media(max-width:980px){
  .content:where(:not(#sonar-duplicate-selector-364)){margin-left:0!important;width:100%!important;padding:18px!important;}
  .sidebar:where(:not(#sonar-duplicate-selector-365)){width:min(330px,88vw)!important;padding:18px 16px!important;}
  .topbar.glass:where(:not(#sonar-duplicate-selector-366)){min-height:auto!important;border-radius:20px!important;}
  .form-field:where(:not(#sonar-duplicate-selector-367)),.checkbox-field:where(:not(#sonar-duplicate-selector-368)),.profile-form-page .form-field:where(:not(#sonar-duplicate-selector-369)){grid-column:1/-1!important;}
  .panel-head:where(:not(#sonar-duplicate-selector-370)){padding:20px 20px 0!important}.form-grid.enterprise-form-grid:where(:not(#sonar-duplicate-selector-371)),.form-grid:where(:not(#sonar-duplicate-selector-372)){padding:20px!important;}.form-actions:where(:not(#sonar-duplicate-selector-373)),.sticky-actions:where(:not(#sonar-duplicate-selector-374)){padding:16px 20px 20px!important;}
}

/* V48 professional UI refinement: compact, balanced and resizable sidebar */
:root{
  --sidebar-w:276px;
  --content-pad:22px;
  --field-radius:12px;
  --panel-radius:20px;
}
body:where(:not(#sonar-duplicate-selector-375)){font-size:14px;line-height:1.45;}
.app-shell:where(:not(#sonar-duplicate-selector-376)){background:linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,0));}
.sidebar:where(:not(#sonar-duplicate-selector-377)){
  width:var(--sidebar-w)!important;
  min-width:236px;
  max-width:340px;
  padding:18px 14px!important;
}
.sidebar-resizer{
  position:absolute;
  top:0;
  right:-5px;
  width:10px;
  height:100%;
  border:0;
  padding:0;
  cursor:col-resize;
  background:transparent;
  z-index:5;
}
.sidebar-resizer::after{
  content:"";
  position:absolute;
  right:3px;
  top:92px;
  width:4px;
  height:120px;
  border-radius:999px;
  background:linear-gradient(180deg,#38bdf8,#1556a8);
  opacity:.65;
}
.sidebar-resizer:hover::after{opacity:1;width:5px;}
.nav:where(:not(#sonar-duplicate-selector-378)){
  max-height:calc(100vh - 308px)!important;
  overflow-y:auto!important;
  padding-right:5px!important;
  scrollbar-width:thin!important;
  scrollbar-color:#38bdf8 rgba(255,255,255,.08)!important;
}
.nav:where(:not(#sonar-duplicate-selector-379))::-webkit-scrollbar{display:block!important;width:7px!important;height:7px!important;}
.nav:where(:not(#sonar-duplicate-selector-380))::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:999px;}
.nav:where(:not(#sonar-duplicate-selector-381))::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#38bdf8,#1556a8);border-radius:999px;}
.brand:where(:not(#sonar-duplicate-selector-382)){margin-bottom:14px!important}.workspace-card:where(:not(#sonar-duplicate-selector-383)){margin-bottom:14px!important}.nav-group summary:where(:not(#sonar-duplicate-selector-384)){margin:10px 8px 4px!important}.nav-link:where(:not(#sonar-duplicate-selector-385)){padding:10px 11px!important}.sidebar-footer:where(:not(#sonar-duplicate-selector-386)){padding-top:10px!important}.security-card:where(:not(#sonar-duplicate-selector-387)){display:none!important}.user-pill:where(:not(#sonar-duplicate-selector-388)){margin-bottom:10px!important}.logout-link:where(:not(#sonar-duplicate-selector-389)){padding:10px 12px!important}
.content:where(:not(#sonar-duplicate-selector-390)){
  margin-left:var(--sidebar-w)!important;
  width:calc(100% - var(--sidebar-w))!important;
  padding:var(--content-pad)!important;
}
.topbar.glass:where(:not(#sonar-duplicate-selector-391)){
  min-height:96px!important;
  padding:18px 22px!important;
  border-radius:22px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center!important;
  gap:18px!important;
}
.topbar-tools{display:grid;gap:10px;justify-items:end;align-items:center}
.global-company-card{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.86);border:1px solid var(--line);border-radius:18px;padding:9px 10px;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.sidebar-collapse-btn{width:40px;height:40px;border:1px solid #dbeafe;border-radius:13px;background:#eef6ff;color:#0f3b7a;font-weight:900;cursor:pointer;display:grid;place-items:center}
.sidebar-collapse-btn:hover{background:#dbeafe}
.global-company-form{display:grid;gap:4px;min-width:250px}
.global-company-form label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#475569}
.global-company-form select{height:38px;border:1px solid #cdd9e8;border-radius:12px;background:#fff;padding:0 12px;font-weight:800;color:#0f2748;max-width:320px}
body.is-sidebar-collapsed{--sidebar-w:78px!important}
body.is-sidebar-collapsed .sidebar{min-width:78px!important;max-width:78px!important;padding:18px 10px!important}
body.is-sidebar-collapsed .sidebar-resizer,body.is-sidebar-collapsed .workspace-card,body.is-sidebar-collapsed .sidebar-footer,body.is-sidebar-collapsed .brand div,body.is-sidebar-collapsed .nav-group summary,body.is-sidebar-collapsed .nav-link b{display:none!important}
body.is-sidebar-collapsed .brand{justify-content:center;margin-bottom:20px!important}
body.is-sidebar-collapsed .brand-mark{width:44px;height:44px}
body.is-sidebar-collapsed .nav{max-height:calc(100vh - 92px)!important;padding-right:0!important}
body.is-sidebar-collapsed .nav-link{justify-content:center;padding:12px 0!important}
body.is-sidebar-collapsed .nav-link span{font-size:20px}
body.is-sidebar-collapsed .nav-link.active:before{left:-4px}
.topbar h1:where(:not(#sonar-duplicate-selector-392)){font-size:clamp(26px,1.75vw,34px)!important;letter-spacing:-.035em!important}.page-subtitle:where(:not(#sonar-duplicate-selector-393)){font-size:14px!important;max-width:860px!important}.eyebrow:where(:not(#sonar-duplicate-selector-394)){font-size:10.5px!important}.top-actions .btn:where(:not(#sonar-duplicate-selector-395)){min-height:40px!important;padding:9px 14px!important;border-radius:12px!important;font-size:13px!important}
.panel:where(:not(#sonar-duplicate-selector-396)),.form-panel:where(:not(#sonar-duplicate-selector-397)),.hero-card:where(:not(#sonar-duplicate-selector-398)),.ops-hero:where(:not(#sonar-duplicate-selector-399)),.executive-hero:where(:not(#sonar-duplicate-selector-400)){border-radius:var(--panel-radius)!important;box-shadow:0 12px 32px rgba(15,23,42,.07)!important}.panel:where(:not(#sonar-duplicate-selector-401)){padding:20px!important;margin-bottom:18px!important}.panel-head:where(:not(#sonar-duplicate-selector-402)){padding:18px 22px 0!important;margin-bottom:10px!important}.panel-head h3:where(:not(#sonar-duplicate-selector-403)){font-size:18px!important}.form-badge:where(:not(#sonar-duplicate-selector-404)){padding:7px 11px!important;font-size:11px!important}
.form-layout:where(:not(#sonar-duplicate-selector-405)),.single-panel:where(:not(#sonar-duplicate-selector-406)),.improved-form-layout:where(:not(#sonar-duplicate-selector-407)){max-width:1680px!important;margin-bottom:18px!important}.single-panel .form-panel:where(:not(#sonar-duplicate-selector-408)){max-width:1460px!important}.profile-form-page .form-panel{max-width:1560px!important}
.card-form:where(:not(#sonar-duplicate-selector-409)),.improved-form:where(:not(#sonar-duplicate-selector-410)),.standard-form:where(:not(#sonar-duplicate-selector-411)){padding:0!important;background:#fff!important;border:0!important}
.form-grid.enterprise-form-grid:where(:not(#sonar-duplicate-selector-412)),.form-grid:where(:not(#sonar-duplicate-selector-413)){
  padding:18px 22px 18px!important;
  gap:13px 16px!important;
  background:linear-gradient(180deg,#f8fbff,#f5f8fc)!important;
  border-top:1px solid var(--line)!important;
  border-bottom:1px solid var(--line)!important;
}
.form-field:where(:not(#sonar-duplicate-selector-414)){gap:6px!important;min-width:0!important}.form-field label:where(:not(#sonar-duplicate-selector-415)){font-size:10.5px!important;color:#0f2748!important}.form-field input:where(:not(#sonar-duplicate-selector-416)),.form-field select:where(:not(#sonar-duplicate-selector-417)),.form-field textarea:where(:not(#sonar-duplicate-selector-418)){
  min-height:42px!important;
  border-radius:var(--field-radius)!important;
  padding:9px 12px!important;
  font-size:13.5px!important;
  border-color:#cdd9e8!important;
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
}
.form-field textarea:where(:not(#sonar-duplicate-selector-419)){min-height:92px!important;resize:vertical}.form-field small:where(:not(#sonar-duplicate-selector-420)){font-size:11.5px!important;line-height:1.35!important}.checkbox-field:where(:not(#sonar-duplicate-selector-421)){
  min-height:64px!important;
  border-radius:var(--field-radius)!important;
  background:#fff!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
}
.checkbox-field label:where(:not(#sonar-duplicate-selector-422)){font-size:10.5px!important;text-align:center!important}.checkbox-field input:where(:not(#sonar-duplicate-selector-423)){width:16px!important;height:16px!important;min-height:auto!important}.form-section-title:where(:not(#sonar-duplicate-selector-424)){
  padding:7px 10px!important;
  font-size:10.5px!important;
  margin:3px 0 -3px!important;
  background:linear-gradient(90deg,#dff1ff,#f8fbff)!important;
}
.profile-form-page .field-company:where(:not(#sonar-duplicate-selector-425)),.profile-form-page .field-municipality:where(:not(#sonar-duplicate-selector-426)),.profile-form-page .field-default_tariff:where(:not(#sonar-duplicate-selector-427)){grid-column:span 4!important}
.profile-form-page .field-periodicity:where(:not(#sonar-duplicate-selector-428)),.profile-form-page .field-municipal_registration_number:where(:not(#sonar-duplicate-selector-429)),.profile-form-page .field-local_withholding_agent_type:where(:not(#sonar-duplicate-selector-430)),.profile-form-page .field-minimum_withholding_base:where(:not(#sonar-duplicate-selector-431)),.profile-form-page .field-official_form_code:where(:not(#sonar-duplicate-selector-432)),.profile-form-page .field-due_day_rule:where(:not(#sonar-duplicate-selector-433)),.profile-form-page .field-notice_board_rate:where(:not(#sonar-duplicate-selector-434)),.profile-form-page .field-firefighter_rate:where(:not(#sonar-duplicate-selector-435)),.profile-form-page .field-valid_from:where(:not(#sonar-duplicate-selector-436)),.profile-form-page .field-valid_to:where(:not(#sonar-duplicate-selector-437)){grid-column:span 3!important}
.profile-form-page .field-calendar_notes:where(:not(#sonar-duplicate-selector-438)){grid-column:span 6!important}.profile-form-page .field-version_note:where(:not(#sonar-duplicate-selector-439)){grid-column:span 6!important}.profile-form-page .field-is_registered_ica:where(:not(#sonar-duplicate-selector-440)),.profile-form-page .field-is_declarant:where(:not(#sonar-duplicate-selector-441)),.profile-form-page .field-is_withholding_agent:where(:not(#sonar-duplicate-selector-442)),.profile-form-page .field-is_self_withholder:where(:not(#sonar-duplicate-selector-443)),.profile-form-page .field-has_notice_board_tax:where(:not(#sonar-duplicate-selector-444)),.profile-form-page .field-has_firefighter_surcharge:where(:not(#sonar-duplicate-selector-445)),.profile-form-page .field-is_active:where(:not(#sonar-duplicate-selector-446)){grid-column:span 3!important}
.form-actions:where(:not(#sonar-duplicate-selector-447)),.sticky-actions:where(:not(#sonar-duplicate-selector-448)){
  padding:14px 22px 18px!important;
  gap:10px!important;
  background:#fff!important;
  border-top:0!important;
}
.form-actions .btn:where(:not(#sonar-duplicate-selector-449)){min-height:42px!important;padding:9px 16px!important;font-size:13px!important}.btn-primary:where(:not(#sonar-duplicate-selector-450)){box-shadow:0 9px 18px rgba(15,59,122,.18)!important}
/* File upload cards */
input[type=file]{font-size:13px!important}.field-file:where(:not(#sonar-duplicate-selector-451)),.field-source_file:where(:not(#sonar-duplicate-selector-452)){grid-column:span 5!important}.current-user-card:where(:not(#sonar-duplicate-selector-453)){margin:12px 22px 0!important;padding:12px 14px!important;border-radius:14px!important}.current-user-card span:where(:not(#sonar-duplicate-selector-454)){width:38px!important;height:38px!important;border-radius:13px!important}
/* Tables and dashboards */
.table-wrap{border-radius:16px!important}.modern-table th:where(:not(#sonar-duplicate-selector-455)),.modern-table td:where(:not(#sonar-duplicate-selector-456)),th:where(:not(#sonar-duplicate-selector-457)),td:where(:not(#sonar-duplicate-selector-458)){padding:10px 12px!important;font-size:13px!important}.kpi-card:where(:not(#sonar-duplicate-selector-459)){min-height:116px!important;padding:18px!important}.kpi-card strong:where(:not(#sonar-duplicate-selector-460)){font-size:26px!important;margin:10px 0 6px!important}.quick-card:where(:not(#sonar-duplicate-selector-461)){padding:18px!important}.quick-icon:where(:not(#sonar-duplicate-selector-462)){width:46px!important;height:46px!important;border-radius:15px!important}.metric-strip article:where(:not(#sonar-duplicate-selector-463)){padding:15px!important;border-radius:16px!important}.metric-strip strong:where(:not(#sonar-duplicate-selector-464)){font-size:24px!important}
/* Wider pages use space without feeling stretched */
@media(min-width:1600px){
  .form-field{grid-column:span 3!important}.field-description,.field-legal_reference,.field-version_note{grid-column:span 6!important}.single-panel .form-panel{max-width:1520px!important}.profile-form-page .form-panel{max-width:1620px!important}
}
@media(max-width:1360px){
  .profile-form-page .field-company:where(:not(#sonar-duplicate-selector-465)),.profile-form-page .field-municipality:where(:not(#sonar-duplicate-selector-466)),.profile-form-page .field-default_tariff:where(:not(#sonar-duplicate-selector-467)),.profile-form-page .field-periodicity:where(:not(#sonar-duplicate-selector-468)),.profile-form-page .field-municipal_registration_number:where(:not(#sonar-duplicate-selector-469)),.profile-form-page .field-local_withholding_agent_type:where(:not(#sonar-duplicate-selector-470)),.profile-form-page .field-minimum_withholding_base:where(:not(#sonar-duplicate-selector-471)),.profile-form-page .field-official_form_code:where(:not(#sonar-duplicate-selector-472)),.profile-form-page .field-due_day_rule:where(:not(#sonar-duplicate-selector-473)),.profile-form-page .field-notice_board_rate:where(:not(#sonar-duplicate-selector-474)),.profile-form-page .field-firefighter_rate:where(:not(#sonar-duplicate-selector-475)),.profile-form-page .field-valid_from:where(:not(#sonar-duplicate-selector-476)),.profile-form-page .field-valid_to:where(:not(#sonar-duplicate-selector-477)),.form-field:where(:not(#sonar-duplicate-selector-478)){grid-column:span 6!important}
  .profile-form-page .field-is_registered_ica:where(:not(#sonar-duplicate-selector-479)),.profile-form-page .field-is_declarant:where(:not(#sonar-duplicate-selector-480)),.profile-form-page .field-is_withholding_agent:where(:not(#sonar-duplicate-selector-481)),.profile-form-page .field-is_self_withholder:where(:not(#sonar-duplicate-selector-482)),.profile-form-page .field-has_notice_board_tax:where(:not(#sonar-duplicate-selector-483)),.profile-form-page .field-has_firefighter_surcharge:where(:not(#sonar-duplicate-selector-484)),.profile-form-page .field-is_active:where(:not(#sonar-duplicate-selector-485)){grid-column:span 4!important}
  .profile-form-page .field-calendar_notes:where(:not(#sonar-duplicate-selector-486)),.profile-form-page .field-version_note:where(:not(#sonar-duplicate-selector-487)){grid-column:1/-1!important}
}
@media(max-width:980px){
  body.is-sidebar-collapsed:where(:not(#sonar-duplicate-selector-488)){--sidebar-w:276px!important}
  body.is-sidebar-collapsed .sidebar:where(:not(#sonar-duplicate-selector-489)){min-width:0!important;max-width:none!important}
  body.is-sidebar-collapsed .workspace-card:where(:not(#sonar-duplicate-selector-490)),body.is-sidebar-collapsed .sidebar-footer:where(:not(#sonar-duplicate-selector-491)),body.is-sidebar-collapsed .brand div:where(:not(#sonar-duplicate-selector-492)),body.is-sidebar-collapsed .nav-group summary:where(:not(#sonar-duplicate-selector-493)),body.is-sidebar-collapsed .nav-link b:where(:not(#sonar-duplicate-selector-494)){display:revert!important}
  body.is-sidebar-collapsed .brand:where(:not(#sonar-duplicate-selector-495)){justify-content:flex-start!important}
  body.is-sidebar-collapsed .nav-link:where(:not(#sonar-duplicate-selector-496)){justify-content:flex-start!important}
  .sidebar-resizer:where(:not(#sonar-duplicate-selector-497)){display:none!important}.nav:where(:not(#sonar-duplicate-selector-498)){max-height:calc(100vh - 280px)!important}.content:where(:not(#sonar-duplicate-selector-499)){margin-left:0!important;width:100%!important}.topbar.glass:where(:not(#sonar-duplicate-selector-500)){display:flex!important;align-items:stretch!important}.topbar-tools:where(:not(#sonar-duplicate-selector-501)){justify-items:stretch}.global-company-card:where(:not(#sonar-duplicate-selector-502)){align-items:stretch}.global-company-form:where(:not(#sonar-duplicate-selector-503)){min-width:0;flex:1}.top-actions:where(:not(#sonar-duplicate-selector-504)){justify-content:stretch!important}.top-actions .btn:where(:not(#sonar-duplicate-selector-505)){flex:1 1 160px!important}.form-grid.enterprise-form-grid:where(:not(#sonar-duplicate-selector-506)),.form-grid:where(:not(#sonar-duplicate-selector-507)){padding:18px!important}.form-field:where(:not(#sonar-duplicate-selector-508)),.checkbox-field:where(:not(#sonar-duplicate-selector-509)),.profile-form-page .form-field:where(:not(#sonar-duplicate-selector-510)){grid-column:1/-1!important}.security-card:where(:not(#sonar-duplicate-selector-511)){display:flex!important}
}

/* Controlled database reset */
.quick-card.danger-card{border-color:#fecaca;background:linear-gradient(180deg,#fff7f7,#fff)}
.quick-card.danger-card .quick-icon{background:#fee2e2;color:#991b1b}
.quick-card.danger-card strong{color:#991b1b}


/* Tax calendar scheduler */
.calendar-shell{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:22px;align-items:start}.calendar-main-panel,.calendar-side-panel{margin-bottom:0}.calendar-head{align-items:center}.calendar-nav-actions{display:flex;gap:10px;flex-wrap:wrap}.tax-calendar{display:grid;gap:8px}.calendar-weekdays,.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-weekdays span{font-size:11px;font-weight:900;color:#475569;text-transform:uppercase;letter-spacing:.08em;padding:0 8px}.calendar-day{min-height:156px;border:1px solid #d7e2ef;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:18px;padding:10px;display:flex;flex-direction:column;gap:8px;transition:.15s ease}.calendar-day.is-muted{opacity:.48}.calendar-day.is-today{border-color:#0ea5e9;box-shadow:0 0 0 3px rgba(14,165,233,.12)}.calendar-day.is-drop-target{border-color:#1556a8;background:#eef6ff;transform:translateY(-1px)}.calendar-day-number{width:30px;height:30px;border-radius:10px;background:#eef6ff;color:#0f3b7a;display:grid;place-items:center;font-weight:900}.calendar-day-events{display:grid;gap:8px}.calendar-event{border:1px solid #cfe3fb;background:#fff;border-radius:14px;padding:10px;box-shadow:0 8px 18px rgba(15,23,42,.06);cursor:grab}.calendar-event.is-dragging{opacity:.55}.calendar-event strong{display:block;font-size:13px;margin-bottom:4px}.calendar-event span,.calendar-event small,.calendar-event em{display:block;color:#64748b;font-size:11px;line-height:1.35}.calendar-event em:where(:not(#sonar-duplicate-selector-512)){margin-top:5px;color:#991b1b;font-style:normal}.calendar-event form{margin-top:8px}.calendar-run{border:0;border-radius:10px;background:#e0f2fe;color:#075985;font-weight:900;font-size:11px;padding:7px 9px;cursor:pointer}.status-completed{border-color:#bbf7d0;background:#f0fdf4}.status-blocked,.status-failed:where(:not(#sonar-duplicate-selector-513)){border-color:#fecaca;background:#fff7f7}.status-running{border-color:#fed7aa;background:#fff7ed}.calendar-form p{margin:0 0 12px}.calendar-side-panel .note-card code{font-size:12px;word-break:break-word}
@media(max-width:1180px){.calendar-shell{grid-template-columns:1fr}.calendar-side-panel:where(:not(#sonar-duplicate-selector-514)){position:static}.calendar-day:where(:not(#sonar-duplicate-selector-515)){min-height:132px}}
@media(max-width:760px){.calendar-weekdays:where(:not(#sonar-duplicate-selector-516)){display:none}.calendar-week:where(:not(#sonar-duplicate-selector-517)){grid-template-columns:1fr}.calendar-day:where(:not(#sonar-duplicate-selector-518)){min-height:auto}.calendar-day.is-muted:where(:not(#sonar-duplicate-selector-519)){display:none}.calendar-nav-actions .btn{flex:1 1 90px}.calendar-shell:where(:not(#sonar-duplicate-selector-520)){gap:14px}}

/* Global company switcher + reliable sidebar collapse */
.topbar.glass{
  overflow:visible!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,auto)!important;
}
.topbar-tools:where(:not(#sonar-duplicate-selector-521)){
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.global-company-card:where(:not(#sonar-duplicate-selector-522)){
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:min(430px,100%)!important;
  padding:8px!important;
  border:1px solid rgba(15,59,122,.12)!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#ffffff,#eef6ff)!important;
  box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
}
.sidebar-collapse-btn:where(:not(#sonar-duplicate-selector-523)){
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  border:0!important;
  border-radius:15px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#0f3b7a,#0ea5e9)!important;
  box-shadow:0 10px 22px rgba(15,59,122,.22)!important;
  font-size:22px!important;
  line-height:1!important;
}
.global-company-form:where(:not(#sonar-duplicate-selector-524)){
  flex:1!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-template-areas:"icon label" "icon select"!important;
  column-gap:10px!important;
  row-gap:2px!important;
  align-items:center!important;
}
.company-switch-icon{
  grid-area:icon!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:13px!important;
  background:#dbeafe!important;
  font-size:17px!important;
}
.global-company-form label:where(:not(#sonar-duplicate-selector-525)){
  grid-area:label!important;
  margin:0!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
  line-height:1!important;
}
.global-company-form select:where(:not(#sonar-duplicate-selector-526)){
  grid-area:select!important;
  width:100%!important;
  max-width:none!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 28px 0 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#0f2748!important;
  font-size:14px!important;
  font-weight:950!important;
  box-shadow:none!important;
  outline:none!important;
}
body.is-sidebar-collapsed .sidebar:where(:not(#sonar-duplicate-selector-527)){
  width:78px!important;
  min-width:78px!important;
  max-width:78px!important;
  padding:18px 10px!important;
}
body.is-sidebar-collapsed .content{
  margin-left:78px!important;
  width:calc(100% - 78px)!important;
}
body.is-sidebar-collapsed .sidebar-resizer:where(:not(#sonar-duplicate-selector-528)),
body.is-sidebar-collapsed .workspace-card:where(:not(#sonar-duplicate-selector-529)),
body.is-sidebar-collapsed .sidebar-footer:where(:not(#sonar-duplicate-selector-530)),
body.is-sidebar-collapsed .brand div:where(:not(#sonar-duplicate-selector-531)),
body.is-sidebar-collapsed .nav-group summary:where(:not(#sonar-duplicate-selector-532)),
body.is-sidebar-collapsed .nav-link b:where(:not(#sonar-duplicate-selector-533)){
  display:none!important;
}
body.is-sidebar-collapsed .brand:where(:not(#sonar-duplicate-selector-534)){
  justify-content:center!important;
  margin-bottom:20px!important;
}
body.is-sidebar-collapsed .nav:where(:not(#sonar-duplicate-selector-535)){
  max-height:calc(100vh - 96px)!important;
  padding-right:0!important;
}
body.is-sidebar-collapsed .nav-link:where(:not(#sonar-duplicate-selector-536)){
  justify-content:center!important;
  padding:13px 0!important;
}
body.is-sidebar-collapsed .nav-link span:where(:not(#sonar-duplicate-selector-537)){
  font-size:20px!important;
}
@media(max-width:980px){
  .topbar.glass:where(:not(#sonar-duplicate-selector-538)){grid-template-columns:1fr!important}
  .topbar-tools:where(:not(#sonar-duplicate-selector-539)){justify-content:stretch!important}
  .global-company-card:where(:not(#sonar-duplicate-selector-540)){width:100%!important}
  body.is-sidebar-collapsed .content:where(:not(#sonar-duplicate-selector-541)){margin-left:0!important;width:100%!important}
}

/* V49 graphical process hardening */
.summary-ring{
  background:
    radial-gradient(circle,#fff 47%,transparent 49%),
    conic-gradient(var(--warning) 0 calc(var(--pct, 0) * 1%),#dbeafe 0 100%)!important;
}
.graphic-board{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:18px;
  margin-bottom:22px;
}
.graphic-board .panel{margin-bottom:0!important}
.compact-head{
  padding:0!important;
  margin-bottom:16px!important;
  align-items:center!important;
}
.process-rail{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  position:relative;
}
.rail-step{
  min-width:0;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fff,#f8fbff);
  border-radius:16px;
  padding:14px;
}
.rail-step>span{
  width:34px;
  height:34px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0f3b7a,#0ea5e9);
  color:#fff;
  font-weight:950;
  margin-bottom:10px;
}
.rail-step strong,.rail-step small{display:block}
.rail-step small:where(:not(#sonar-duplicate-selector-542)){color:var(--muted);margin-top:2px}
.visual-bar{
  height:9px;
  border-radius:999px;
  background:#e2e8f0;
  overflow:hidden;
  margin-top:12px;
}
.visual-bar i{
  display:block;
  height:100%;
  min-width:0;
  max-width:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#0ea5e9,#1556a8);
}
.visual-bar.warn i{background:linear-gradient(90deg,#f59e0b,#d97706)}
.donut-row{
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  gap:16px;
  align-items:center;
}
.donut{
  width:132px;
  height:132px;
  border-radius:50%;
  display:grid;
  place-items:center;
  text-align:center;
  background:
    radial-gradient(circle,#fff 48%,transparent 50%),
    conic-gradient(#16a34a 0 calc(var(--pct, 0) * 1%),#e2e8f0 0 100%);
}
.donut strong{font-size:26px;line-height:1}
.donut span{display:block;color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase;margin-top:4px}
.visual-list{display:grid;gap:10px}
.visual-list div{
  position:relative;
  overflow:hidden;
  min-height:46px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:9px 12px;
  background:#f8fafc;
}
.visual-list span,.visual-list strong{position:relative;z-index:1}
.visual-list span:where(:not(#sonar-duplicate-selector-543)){display:block;color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase}
.visual-list strong:where(:not(#sonar-duplicate-selector-544)){display:block;margin-top:2px}
.visual-list em{
  position:absolute;
  inset:auto auto 0 0;
  height:4px;
  max-width:100%;
  background:linear-gradient(90deg,#0ea5e9,#1556a8);
}
.visual-list .warn em{background:linear-gradient(90deg,#f59e0b,#d97706)}
.visual-list .danger em{background:linear-gradient(90deg,#ef4444,#991b1b)}
.stacked-meter{
  height:18px;
  display:flex;
  overflow:hidden;
  border-radius:999px;
  background:#e2e8f0;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.06);
}
.stacked-meter span{display:block;min-width:0;max-width:100%}
.meter-ok{background:#16a34a!important}
.meter-neutral{background:#38bdf8!important}
.meter-info{background:#1556a8!important}
.meter-iva{background:#7c3aed!important}
.meter-warn{background:#f59e0b!important}
.legend-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.legend-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.legend-grid div{
  min-width:0;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:10px;
}
.legend-grid i{
  display:block;
  width:22px;
  height:5px;
  border-radius:999px;
  margin-bottom:8px;
}
.legend-grid span{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.legend-grid strong{display:block;margin-top:3px}
@media(max-width:1180px){
  .graphic-board:where(:not(#sonar-duplicate-selector-545)){grid-template-columns:1fr}
  .legend-grid:where(:not(#sonar-duplicate-selector-546)){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .process-rail:where(:not(#sonar-duplicate-selector-547)),.legend-grid:where(:not(#sonar-duplicate-selector-548)),.legend-grid.compact:where(:not(#sonar-duplicate-selector-549)){grid-template-columns:1fr}
  .donut-row:where(:not(#sonar-duplicate-selector-550)){grid-template-columns:1fr}
  .donut:where(:not(#sonar-duplicate-selector-551)){margin:auto}
}

/* V50 company selector redesign */
.global-company-card.company-switcher{
  width:min(470px,100%)!important;
  min-height:68px!important;
  padding:8px 10px!important;
  gap:10px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f3f9ff 100%)!important;
  border:1px solid rgba(15,59,122,.14)!important;
  box-shadow:0 16px 34px rgba(15,23,42,.10)!important;
}
.company-switcher .sidebar-collapse-btn{
  flex:0 0 46px!important;
  width:46px!important;
  height:46px!important;
  border-radius:15px!important;
}
.company-switcher .global-company-form{
  flex:1!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 22px!important;
  grid-template-areas:"avatar copy arrow" "avatar select arrow"!important;
  column-gap:11px!important;
  row-gap:0!important;
  align-items:center!important;
  position:relative!important;
}
.company-switcher .global-company-form::after{
  content:"⌄";
  grid-area:arrow;
  color:#0f2748;
  font-size:18px;
  font-weight:950;
  pointer-events:none;
  align-self:center;
  justify-self:center;
  margin-top:5px;
}
.company-avatar{
  grid-area:avatar!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  border-radius:15px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:950!important;
  letter-spacing:.02em!important;
  line-height:1!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),0 10px 22px rgba(15,23,42,.14)!important;
  overflow:hidden!important;
  contain:paint!important;
}
.company-avatar img,
.company-avatar-img{
  width:auto!important;
  height:auto!important;
  max-width:32px!important;
  max-height:32px!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  border-radius:8px!important;
}
.company-switcher img,
.global-company-form img,
.topbar-tools img{
  max-width:32px!important;
  max-height:32px!important;
  object-fit:contain!important;
}
.company-tone-all{background:linear-gradient(135deg,#0f3b7a,#0ea5e9)!important}
.company-tone-0{background:linear-gradient(135deg,#0f766e,#14b8a6)!important}
.company-tone-1{background:linear-gradient(135deg,#1d4ed8,#38bdf8)!important}
.company-tone-2{background:linear-gradient(135deg,#7c2d12,#f97316)!important}
.company-tone-3{background:linear-gradient(135deg,#166534,#22c55e)!important}
.company-tone-4{background:linear-gradient(135deg,#6d28d9,#a78bfa)!important}
.company-tone-5{background:linear-gradient(135deg,#be123c,#fb7185)!important}
.company-tone-6{background:linear-gradient(135deg,#334155,#94a3b8)!important}
.company-tone-7{background:linear-gradient(135deg,#854d0e,#facc15)!important;color:#10264b!important}
.company-select-copy{
  grid-area:copy!important;
  min-width:0!important;
  display:flex!important;
  align-items:baseline!important;
  gap:8px!important;
}
.company-select-copy label{
  margin:0!important;
  color:#64748b!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  line-height:1!important;
  text-transform:uppercase!important;
}
.company-select-copy small{
  min-width:0!important;
  color:#7890aa!important;
  font-size:10.5px!important;
  font-weight:850!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.company-switcher .global-company-form select{
  grid-area:select!important;
  width:100%!important;
  height:25px!important;
  min-height:25px!important;
  padding:0 22px 0 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#0a1f3f!important;
  font-size:15px!important;
  font-weight:950!important;
  letter-spacing:0!important;
  line-height:1.15!important;
  box-shadow:none!important;
  outline:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  text-overflow:ellipsis!important;
}
.company-switcher .global-company-form select:focus-visible{
  box-shadow:0 0 0 3px rgba(14,165,233,.18)!important;
  border-radius:10px!important;
}
@media(max-width:980px){
  .global-company-card.company-switcher{
    width:100%!important;
  }
}
@media(max-width:560px){
  .global-company-card.company-switcher:where(:not(#sonar-duplicate-selector-552)){
    min-height:auto!important;
    align-items:stretch!important;
  }
  .company-switcher .global-company-form:where(:not(#sonar-duplicate-selector-553)){
    grid-template-columns:38px minmax(0,1fr) 18px!important;
    column-gap:9px!important;
  }
  .company-avatar:where(:not(#sonar-duplicate-selector-554)){
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    border-radius:13px!important;
    font-size:12px!important;
  }
  .company-avatar img:where(:not(#sonar-duplicate-selector-555)),
  .company-avatar-img:where(:not(#sonar-duplicate-selector-556)),
  .company-switcher img:where(:not(#sonar-duplicate-selector-557)),
  .global-company-form img:where(:not(#sonar-duplicate-selector-558)),
  .topbar-tools img:where(:not(#sonar-duplicate-selector-559)){
    max-width:28px!important;
    max-height:28px!important;
  }
  .company-select-copy:where(:not(#sonar-duplicate-selector-560)){
    display:grid!important;
    gap:3px!important;
  }
  .company-switcher .global-company-form select:where(:not(#sonar-duplicate-selector-561)){
    font-size:13.5px!important;
  }
}

/* Company logo upload */
.field-logo{
  grid-column:span 8!important;
}
.field-logo input[type="file"]{
  min-height:50px!important;
  border:1px dashed #9cc7f1!important;
  background:linear-gradient(135deg,#fff,#f8fbff)!important;
  padding:11px!important;
  cursor:pointer;
}
.logo-preview-card{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:10px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
}
.logo-preview-card img{
  width:54px;
  height:54px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid #dbeafe;
  background:#f8fafc;
}
.logo-preview-card strong,
.logo-preview-card small{
  display:block;
}
.logo-preview-card small:where(:not(#sonar-duplicate-selector-562)){
  color:var(--muted);
  margin-top:2px;
}
.company-table-logo{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#fff;
  font-size:12px;
  font-weight:950;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),0 8px 18px rgba(15,23,42,.10);
}
.company-table-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:#fff;
}
@media(max-width:1360px){
  .field-logo{grid-column:1/-1!important}
}

/* V51 client branding */
.font-system{font-family:Inter,Segoe UI,Arial,sans-serif}
.font-inter{font-family:Inter,Segoe UI,Arial,sans-serif}
.font-serif{font-family:Georgia,"Times New Roman",serif}
.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.theme-dark{
  --bg:#0f172a;
  --surface:#111827;
  --surface-soft:#172033;
  --ink:#e5eefb;
  --muted:#9fb0c8;
  --line:#263244;
}
.theme-dark .content{background:linear-gradient(180deg,#111827,#0f172a)}
.theme-dark .panel,
.theme-dark .kpi-card,
.theme-dark .quick-card,
.theme-dark .topbar.glass,
.theme-dark .executive-hero,
.theme-dark .ops-hero{
  background:rgba(17,24,39,.94)!important;
  color:var(--ink)!important;
  border-color:rgba(148,163,184,.24)!important;
}
.theme-dark h1,.theme-dark h2,.theme-dark h3{color:var(--ink)!important}
.theme-dark .page-subtitle,.theme-dark .muted,.theme-dark small{color:var(--muted)!important}
.branding-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.branding-company-card{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.branding-company-head{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.branding-company-head strong,
.branding-company-head small{
  display:block;
}
.branding-company-head small:where(:not(#sonar-duplicate-selector-563)){color:var(--muted)}
.branding-company-card p{
  color:var(--muted);
  margin:0;
}
.branding-editor{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:22px;
  align-items:start;
}
.branding-form-grid .field-company{grid-column:span 6!important}
.branding-form-grid .field-corporate_logo{grid-column:span 6!important}
.branding-form-grid .field-primary_color,
.branding-form-grid .field-secondary_color,
.branding-form-grid .field-accent_color,
.branding-form-grid .field-theme,
.branding-form-grid .field-font_family{grid-column:span 4!important}
.branding-form-grid input[type="color"]{
  width:100%!important;
  min-height:48px!important;
  padding:5px!important;
}
.branding-preview{
  position:sticky;
  top:22px;
  overflow:hidden;
}
.branding-preview-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.branding-preview-top small,
.branding-preview-top strong{display:block}
.branding-preview-top small:where(:not(#sonar-duplicate-selector-564)){
  color:var(--muted);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.branding-preview-logo{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  font-weight:950;
}
.branding-preview-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.branding-preview-card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(248,251,255,.92));
}
.theme-dark .branding-preview-card{background:#172033!important}
.branding-preview-card h3{margin:10px 0 6px}
.branding-preview-card p{color:var(--muted);margin:0 0 16px}
.branding-preview-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
@media(max-width:1180px){
  .branding-grid:where(:not(#sonar-duplicate-selector-565)){grid-template-columns:repeat(2,minmax(0,1fr))}
  .branding-editor:where(:not(#sonar-duplicate-selector-566)){grid-template-columns:1fr}
  .branding-preview:where(:not(#sonar-duplicate-selector-567)){position:static}
}
@media(max-width:760px){
  .branding-grid:where(:not(#sonar-duplicate-selector-568)){grid-template-columns:1fr}
  .branding-form-grid .form-field{grid-column:1/-1!important}
}

/* V52 world-class enterprise polish */
:root{
  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:18px;
  --focus-ring:0 0 0 4px rgba(14,165,233,.18);
  --surface-strong:#ffffff;
  --surface-muted:#f6f9fd;
}
html:where(:not(#sonar-duplicate-selector-569)){scroll-padding-top:24px}
body:where(:not(#sonar-duplicate-selector-570)){
  background:linear-gradient(180deg,#f6f9fd 0%,#eef4f9 46%,#f8fafc 100%)!important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
.skip-link{
  position:fixed;
  left:16px;
  top:12px;
  z-index:999;
  transform:translateY(-140%);
  border-radius:12px;
  background:#0f3b7a;
  color:#fff;
  padding:10px 14px;
  font-weight:900;
  box-shadow:0 12px 28px rgba(15,23,42,.22);
}
.skip-link:focus{transform:translateY(0)}
:focus-visible{
  outline:none!important;
  box-shadow:var(--focus-ring)!important;
}
.content:where(:not(#sonar-duplicate-selector-571)){
  background:linear-gradient(180deg,rgba(255,255,255,.58),rgba(255,255,255,0) 360px)!important;
}
.topbar.glass:where(:not(#sonar-duplicate-selector-572)){
  background:rgba(255,255,255,.9)!important;
  border:1px solid rgba(148,163,184,.26)!important;
  box-shadow:0 18px 46px rgba(15,23,42,.085)!important;
  backdrop-filter:blur(18px)!important;
}
.topbar.glass:before{
  display:none!important;
}
.topbar h1:where(:not(#sonar-duplicate-selector-573)){
  max-width:980px;
}
.context-strip{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.context-strip span{
  min-height:28px;
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(15,59,122,.12);
  border-radius:999px;
  background:#fff;
  color:#334155;
  padding:5px 10px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 6px 16px rgba(15,23,42,.045);
}
.sidebar:where(:not(#sonar-duplicate-selector-574)){
  background:linear-gradient(180deg,#081326 0%,#0d1b31 58%,#0a1527 100%)!important;
  border-right:1px solid rgba(255,255,255,.08);
}
.brand-mark:where(:not(#sonar-duplicate-selector-575)){
  border-radius:14px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 12px 24px rgba(14,165,233,.22)!important;
}
.workspace-card:where(:not(#sonar-duplicate-selector-576)){
  border-radius:16px!important;
  background:rgba(255,255,255,.075)!important;
}
.nav-link:where(:not(#sonar-duplicate-selector-577)){
  border:1px solid transparent;
  min-height:40px;
}
.nav-link span:first-child{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:rgba(255,255,255,.08);
  flex:0 0 auto;
  font-size:14px;
}
.nav-link:hover:where(:not(#sonar-duplicate-selector-578)){
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.10)!important;
}
.nav-link.active:where(:not(#sonar-duplicate-selector-579)){
  border-color:rgba(56,189,248,.32)!important;
  background:linear-gradient(135deg,rgba(14,165,233,.26),rgba(15,59,122,.36))!important;
}
.nav-link.active span:first-child{
  background:#e0f2fe;
  color:#075985;
}
.panel:where(:not(#sonar-duplicate-selector-580)),
.kpi-card:where(:not(#sonar-duplicate-selector-581)),
.quick-card:where(:not(#sonar-duplicate-selector-582)),
.hero-summary:where(:not(#sonar-duplicate-selector-583)),
.process-card:where(:not(#sonar-duplicate-selector-584)),
.help-card:where(:not(#sonar-duplicate-selector-585)),
.form-panel:where(:not(#sonar-duplicate-selector-586)),
.ops-hero:where(:not(#sonar-duplicate-selector-587)),
.executive-hero:where(:not(#sonar-duplicate-selector-588)){
  border-radius:18px!important;
  border-color:rgba(148,163,184,.26)!important;
}
.panel:where(:not(#sonar-duplicate-selector-589)){
  background:rgba(255,255,255,.96)!important;
}
.panel-head:where(:not(#sonar-duplicate-selector-590)){
  align-items:flex-start!important;
}
.panel-head .eyebrow{
  margin-bottom:4px;
}
.quick-card:where(:not(#sonar-duplicate-selector-591)),
.kpi-card:where(:not(#sonar-duplicate-selector-592)){
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.quick-card:hover:where(:not(#sonar-duplicate-selector-593)),
.kpi-card:hover{
  transform:translateY(-2px);
  border-color:rgba(14,165,233,.26)!important;
  box-shadow:0 18px 38px rgba(15,23,42,.10)!important;
}
.quick-icon:where(:not(#sonar-duplicate-selector-594)){
  background:linear-gradient(135deg,#eef6ff,#ffffff)!important;
  border:1px solid #dbeafe;
  color:#0f3b7a;
}
.btn:where(:not(#sonar-duplicate-selector-595)){
  border-radius:12px!important;
  letter-spacing:0!important;
}
.btn-primary:where(:not(#sonar-duplicate-selector-596)){
  background:linear-gradient(135deg,var(--primary),var(--primary-2))!important;
}
.btn-light:where(:not(#sonar-duplicate-selector-597)){
  background:#fff!important;
  border-color:rgba(148,163,184,.35)!important;
}
.btn:hover:where(:not(#sonar-duplicate-selector-598)){
  box-shadow:0 12px 24px rgba(15,23,42,.10);
}
.modern-table:where(:not(#sonar-duplicate-selector-599)){
  border-collapse:separate!important;
  border-spacing:0!important;
}
.modern-table th:where(:not(#sonar-duplicate-selector-600)){
  background:#f6f9fd!important;
  color:#334155!important;
}
.modern-table tbody tr:nth-child(even) td{
  background:#fbfdff;
}
.modern-table tbody tr:hover td{
  background:#eef6ff!important;
}
.modern-table td:first-child,
.modern-table th:first-child{
  padding-left:16px!important;
}
.table-wrap:where(:not(#sonar-duplicate-selector-601)){
  background:#fff;
  border-color:rgba(148,163,184,.30)!important;
}
.status:where(:not(#sonar-duplicate-selector-602)){
  border:1px solid rgba(29,78,216,.12);
}
.empty-state:where(:not(#sonar-duplicate-selector-603)){
  background:linear-gradient(180deg,#fbfdff,#f6f9fd)!important;
  border-color:#cbd8e8!important;
}
.form-field input:where(:not(#sonar-duplicate-selector-604)),
.form-field select:where(:not(#sonar-duplicate-selector-605)),
.form-field textarea:where(:not(#sonar-duplicate-selector-606)),
.toolbar-form select:where(:not(#sonar-duplicate-selector-607)),
.search-form input:where(:not(#sonar-duplicate-selector-608)){
  border-color:#cbd8e8!important;
}
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover,
.toolbar-form select:hover,
.search-form input:hover{
  border-color:#94b9e7!important;
}
.form-badge:where(:not(#sonar-duplicate-selector-609)),
.badge:where(:not(#sonar-duplicate-selector-610)){
  border:1px solid rgba(14,165,233,.16);
}
.alert:where(:not(#sonar-duplicate-selector-611)){
  box-shadow:0 12px 28px rgba(15,23,42,.055);
}
.company-switcher{
  isolation:isolate;
}
.company-avatar:where(:not(#sonar-duplicate-selector-612)){
  background:#fff!important;
  border:1px solid rgba(15,59,122,.12)!important;
}
.theme-dark body,
body.theme-dark{
  background:#0f172a!important;
}
.theme-dark .context-strip span{
  background:#172033;
  color:#d7e4f7;
  border-color:#263244;
}
.theme-dark .modern-table th,
.theme-dark .modern-table td,
.theme-dark table{
  background:#111827!important;
  color:#e5eefb!important;
  border-color:#263244!important;
}
.theme-dark .modern-table tbody tr:nth-child(even) td{background:#142033!important}
.theme-dark .modern-table tbody tr:hover td{background:#172b45!important}
.theme-dark .btn-light{
  background:#172033!important;
  color:#e5eefb!important;
  border-color:#263244!important;
}
@media(max-width:980px){
  .context-strip:where(:not(#sonar-duplicate-selector-613)){margin-top:10px}
  .context-strip span:where(:not(#sonar-duplicate-selector-614)){flex:1 1 auto;justify-content:center}
}
@media(max-width:560px){
  .context-strip:where(:not(#sonar-duplicate-selector-615)){display:grid;grid-template-columns:1fr}
  .topbar-tools:where(:not(#sonar-duplicate-selector-616)){gap:10px!important}
}
@media(prefers-reduced-motion:reduce){
  *:where(:not(#sonar-duplicate-selector-617)),
  *::before,
  *::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.001ms!important;
  }
}

/* V53 menu-owned sidebar toggle */
.sidebar-brand-row{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin-bottom:14px!important;
  min-width:0!important;
}
.sidebar-brand-row .brand{
  flex:1 1 auto!important;
  min-width:0!important;
  margin-bottom:0!important;
}
.sidebar-brand-row .brand > div:last-child{
  min-width:0!important;
}
.sidebar-menu-collapse{
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.08)!important;
  color:#e0f2fe!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.sidebar-menu-collapse:hover{
  background:rgba(56,189,248,.18)!important;
  border-color:rgba(125,211,252,.32)!important;
  color:#fff!important;
}
.sidebar-menu-collapse:focus-visible{
  outline:3px solid rgba(56,189,248,.36)!important;
  outline-offset:2px!important;
}
.global-company-card.company-switcher:where(:not(#sonar-duplicate-selector-618)){
  width:min(410px,100%)!important;
  min-height:60px!important;
}
.company-switcher .global-company-form:where(:not(#sonar-duplicate-selector-619)){
  grid-template-columns:42px minmax(0,1fr) 22px!important;
}
body.is-sidebar-collapsed .sidebar-brand-row{
  display:grid!important;
  justify-items:center!important;
  gap:9px!important;
  margin-bottom:16px!important;
}
body.is-sidebar-collapsed .sidebar-brand-row .brand{
  justify-content:center!important;
  margin-bottom:0!important;
}
body.is-sidebar-collapsed .sidebar-brand-row .brand-mark{
  display:grid!important;
}
body.is-sidebar-collapsed .sidebar-brand-row .brand > div:last-child{
  display:none!important;
}
body.is-sidebar-collapsed .sidebar-menu-collapse{
  width:44px!important;
  height:44px!important;
  flex-basis:44px!important;
}
body.is-sidebar-collapsed .sidebar-menu-collapse [data-collapse-icon]{
  transform:translateX(1px);
}
@media(max-width:980px){
  .sidebar-brand-row{
    margin-bottom:14px!important;
  }
  .sidebar-menu-collapse:where(:not(#sonar-duplicate-selector-620)){
    display:none!important;
  }
  .global-company-card.company-switcher:where(:not(#sonar-duplicate-selector-621)){
    width:100%!important;
  }
}

/* V54 language switcher */
.language-switcher{
  display:grid;
  grid-template-columns:auto 62px;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:7px 9px;
  border:1px solid rgba(15,59,122,.14);
  border-radius:14px;
  background:linear-gradient(135deg,#fff,#f6f9fd);
  box-shadow:0 10px 22px rgba(15,23,42,.07);
}
.language-switcher label{
  color:#64748b;
  font-size:10px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.language-switcher select{
  height:30px;
  border:1px solid #cbd8e8;
  border-radius:10px;
  background:#fff;
  color:#0f2748;
  font-weight:950;
  text-align:center;
}
.theme-dark .language-switcher{
  background:#172033;
  border-color:#263244;
}
.theme-dark .language-switcher select{
  background:#111827;
  color:#e5eefb;
  border-color:#334155;
}
.auth-language-switcher{
  width:fit-content;
  margin:16px 0 8px;
}
@media(max-width:980px){
  .language-switcher{
    grid-template-columns:1fr 72px;
    width:100%;
  }
}

/* V55 information architecture refresh */
.sidebar{width:292px!important;padding:20px 16px!important}
.content:where(:not(#sonar-duplicate-selector-622)){margin-left:292px!important;width:calc(100% - 292px)!important;padding:26px!important}
.nav-redesigned{gap:8px!important;padding-right:4px!important}
.nav-redesigned .nav-group{
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.035);
  overflow:hidden;
}
.nav-redesigned .nav-group[open]{background:rgba(255,255,255,.055)}
.nav-redesigned summary{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  cursor:pointer;
  color:#dbeafe;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  list-style:none;
}
.nav-redesigned summary::-webkit-details-marker{display:none}
.nav-redesigned summary>span,
.nav-redesigned .nav-link>span:first-child{
  width:30px!important;
  height:26px!important;
  min-width:30px!important;
  border-radius:9px!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(224,242,254,.10)!important;
  color:#bae6fd!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:0!important;
}
.nav-redesigned .nav-link{
  min-height:38px!important;
  margin:0 7px 7px!important;
  padding:8px 9px!important;
  border-radius:12px!important;
  gap:9px!important;
}
.nav-redesigned .nav-link b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px!important;
}
.nav-redesigned .nav-link.active>span:first-child{
  background:#e0f2fe!important;
  color:#075985!important;
}
.sidebar-footer:where(:not(#sonar-duplicate-selector-623)){padding-top:14px!important}
.security-card:where(:not(#sonar-duplicate-selector-624)),.user-pill:where(:not(#sonar-duplicate-selector-625)){min-width:0}
.security-card:where(:not(#sonar-duplicate-selector-626)){padding:10px!important;border-radius:14px!important}
.security-card span:where(:not(#sonar-duplicate-selector-627)){width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:rgba(34,197,94,.14);font-size:11px!important;font-weight:950;color:#bbf7d0}
.topbar.glass:where(:not(#sonar-duplicate-selector-628)){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,auto)!important;
  align-items:start!important;
  gap:20px!important;
  margin-bottom:16px!important;
}
.topbar-tools:where(:not(#sonar-duplicate-selector-629)){display:grid;gap:12px;justify-items:end;min-width:0}
.top-actions:where(:not(#sonar-duplicate-selector-630)){justify-content:flex-end}
.workbench-nav{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(128px,1fr))!important;
  gap:12px!important;
  margin:0 0 18px!important;
  clear:both!important;
}
.workbench-nav a{
  min-width:0;
  min-height:58px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:15px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 24px rgba(15,23,42,.055);
  padding:11px 13px;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
  transition:.16s ease;
}
.workbench-nav a:hover{transform:translateY(-1px);border-color:rgba(14,165,233,.36);box-shadow:0 14px 30px rgba(15,23,42,.09)}
.workbench-nav a.active{border-color:rgba(14,165,233,.55);background:linear-gradient(135deg,#eef6ff,#fff)}
.workbench-nav span{
  display:block;
  color:#64748b;
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.workbench-nav strong{
  display:block;
  margin-top:4px;
  color:#0f2748;
  font-size:14px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.panel:where(:not(#sonar-duplicate-selector-631)),.ops-hero:where(:not(#sonar-duplicate-selector-632)),.hero-card:where(:not(#sonar-duplicate-selector-633)),.executive-hero:where(:not(#sonar-duplicate-selector-634)){max-width:100%!important}
.kpi-grid:where(:not(#sonar-duplicate-selector-635)),.quick-grid:where(:not(#sonar-duplicate-selector-636)),.metric-strip:where(:not(#sonar-duplicate-selector-637)),.three-col:where(:not(#sonar-duplicate-selector-638)),.two-col:where(:not(#sonar-duplicate-selector-639)),.two-panel-layout:where(:not(#sonar-duplicate-selector-640)),.form-layout:where(:not(#sonar-duplicate-selector-641)),.calendar-shell:where(:not(#sonar-duplicate-selector-642)),.branding-editor:where(:not(#sonar-duplicate-selector-643)),.provision-layout:where(:not(#sonar-duplicate-selector-644)),.page-grid.two-panel-layout:where(:not(#sonar-duplicate-selector-645)){
  width:100%!important;
  max-width:1680px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.panel:where(:not(#sonar-duplicate-selector-646)){max-width:1680px!important;margin-left:auto!important;margin-right:auto!important}
.table-wrap.wide:where(:not(#sonar-duplicate-selector-647)){max-height:calc(100vh - 310px)!important}
.toolbar-form:where(:not(#sonar-duplicate-selector-648)){
  padding:12px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:16px;
  background:#f8fbff;
  margin-bottom:14px;
}
.toolbar-form label:where(:not(#sonar-duplicate-selector-649)){min-width:190px!important}
.report-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.report-card{
  min-width:0;
  border:1px solid rgba(148,163,184,.28);
  border-radius:18px;
  background:linear-gradient(135deg,#fff,#f8fbff);
  padding:16px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  box-shadow:0 10px 24px rgba(15,23,42,.055);
}
.report-card span{
  display:block;
  color:#64748b;
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.report-card strong{
  display:block;
  margin-top:3px;
  color:#0f2748;
  font-size:16px;
}
.report-card small{
  display:block;
  margin-top:5px;
  color:var(--muted);
  line-height:1.4;
}
.report-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
}
body.is-sidebar-collapsed .content:where(:not(#sonar-duplicate-selector-650)){margin-left:82px!important;width:calc(100% - 82px)!important}
body.is-sidebar-collapsed .nav-redesigned summary{justify-content:center;padding:9px 4px}
body.is-sidebar-collapsed .nav-redesigned summary:where(:not(#sonar-duplicate-selector-651)){font-size:0}
body.is-sidebar-collapsed .nav-redesigned summary>span{font-size:10px!important}
body.is-sidebar-collapsed .nav-redesigned .nav-link{justify-content:center;margin:0 6px 7px!important;padding:8px 4px!important}
body.is-sidebar-collapsed .nav-redesigned .nav-link b{display:none!important}
body.is-sidebar-collapsed .workspace-card div,
body.is-sidebar-collapsed .security-card div,
body.is-sidebar-collapsed .user-pill div,
body.is-sidebar-collapsed .logout-link{display:none!important}
@media(max-width:1200px){
  .topbar.glass:where(:not(#sonar-duplicate-selector-652)){grid-template-columns:1fr!important}
  .topbar-tools:where(:not(#sonar-duplicate-selector-653)){justify-items:stretch}
  .workbench-nav:where(:not(#sonar-duplicate-selector-654)){grid-template-columns:repeat(3,minmax(128px,1fr))!important}
  .report-card-grid:where(:not(#sonar-duplicate-selector-655)){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  .sidebar:where(:not(#sonar-duplicate-selector-656)){width:min(330px,88vw)!important;padding:18px 16px!important}
  .content:where(:not(#sonar-duplicate-selector-657)){margin-left:0!important;width:100%!important;padding:18px!important}
  body.is-sidebar-collapsed .content:where(:not(#sonar-duplicate-selector-658)){margin-left:0!important;width:100%!important}
  .workbench-nav:where(:not(#sonar-duplicate-selector-659)){grid-template-columns:repeat(2,minmax(128px,1fr))!important}
}
@media(max-width:560px){
  .workbench-nav:where(:not(#sonar-duplicate-selector-660)){grid-template-columns:1fr!important}
  .workbench-nav a:where(:not(#sonar-duplicate-selector-661)){min-height:50px}
  .topbar.glass:where(:not(#sonar-duplicate-selector-662)){padding:16px!important}
  .report-card-grid:where(:not(#sonar-duplicate-selector-663)){grid-template-columns:1fr}
  .report-card:where(:not(#sonar-duplicate-selector-664)),.report-row:where(:not(#sonar-duplicate-selector-665)){grid-template-columns:1fr}
}

/* V56 interface polish and stronger layout ownership */
main.content > nav.workbench-nav{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(138px,1fr))!important;
  gap:12px!important;
  width:100%!important;
  max-width:1680px!important;
  margin:0 auto 20px!important;
  padding:0!important;
  list-style:none!important;
  align-items:stretch!important;
}
main.content > nav.workbench-nav .workbench-link{
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  row-gap:2px!important;
  align-items:center!important;
  min-width:0!important;
  min-height:64px!important;
  padding:12px 14px!important;
  border:1px solid rgba(148,163,184,.30)!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#0f2748!important;
  text-decoration:none!important;
  box-shadow:0 12px 28px rgba(15,23,42,.065)!important;
  overflow:hidden!important;
}
main.content > nav.workbench-nav .workbench-link::before{
  content:""!important;
  grid-row:1 / span 2!important;
  width:34px!important;
  height:34px!important;
  border-radius:12px!important;
  background:#eaf4ff!important;
  box-shadow:inset 0 0 0 1px rgba(14,165,233,.16)!important;
}
main.content > nav.workbench-nav .workbench-link::after{
  position:absolute!important;
  left:23px!important;
  top:23px!important;
  width:12px!important;
  height:12px!important;
  border:2px solid #0f6db6!important;
  border-radius:4px!important;
  content:""!important;
  z-index:1!important;
}
main.content > nav.workbench-nav .wb-excel::after{border-radius:2px!important;border-color:#15803d!important}
main.content > nav.workbench-nav .wb-odoo::after{border-radius:50%!important;border-color:#7c3aed!important}
main.content > nav.workbench-nav .wb-calendar::after{border-radius:3px!important;border-color:#c2410c!important}
main.content > nav.workbench-nav .wb-reports::after{border-radius:2px!important;border-color:#0369a1!important}
main.content > nav.workbench-nav .workbench-link span,
main.content > nav.workbench-nav .workbench-link strong{
  grid-column:2!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
main.content > nav.workbench-nav .workbench-link span:where(:not(#sonar-duplicate-selector-666)){
  color:#64748b!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  line-height:1.1!important;
  text-transform:uppercase!important;
}
main.content > nav.workbench-nav .workbench-link strong:where(:not(#sonar-duplicate-selector-667)){
  margin:0!important;
  color:#0f2748!important;
  font-size:14px!important;
  font-weight:950!important;
  line-height:1.2!important;
}
main.content > nav.workbench-nav .workbench-link.active{
  border-color:rgba(14,165,233,.58)!important;
  background:linear-gradient(135deg,#eef7ff,#fff)!important;
}
main.content > nav.workbench-nav .workbench-link:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(14,165,233,.45)!important;
  box-shadow:0 16px 34px rgba(15,23,42,.10)!important;
}
#main-content .reports-section .download-grid,
#main-content .report-card-grid.download-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(260px,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  width:100%!important;
}
#main-content .report-card-grid.download-grid > .report-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:16px!important;
  align-items:center!important;
  min-width:0!important;
  min-height:132px!important;
  padding:18px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#fff 0%,#f8fbff 100%)!important;
  box-shadow:0 12px 28px rgba(15,23,42,.07)!important;
}
#main-content .report-card-copy{
  min-width:0!important;
  display:grid!important;
  gap:5px!important;
}
#main-content .report-card-copy::before{
  content:"";
  width:38px;
  height:38px;
  margin-bottom:5px;
  border-radius:13px;
  background:linear-gradient(135deg,#e0f2fe,#eef2ff);
  box-shadow:inset 0 0 0 1px rgba(14,165,233,.18);
}
#main-content .report-card-copy span,
#main-content .report-card-copy strong,
#main-content .report-card-copy small{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#main-content .report-card-copy strong:where(:not(#sonar-duplicate-selector-668)){
  font-size:17px!important;
  line-height:1.2!important;
}
#main-content .report-card-copy small:where(:not(#sonar-duplicate-selector-669)){
  color:#64748b!important;
  line-height:1.45!important;
}
.tax-form-page{
  max-width:1420px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.tax-form-page .form-panel{
  overflow:hidden!important;
}
.tax-form-page .improved-form{
  padding-top:4px!important;
}
.segmented-form-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(220px,1fr))!important;
  gap:14px!important;
  align-items:start!important;
}
.form-section-title:where(:not(#sonar-duplicate-selector-670)){
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:8px 0 0!important;
  padding:12px 14px!important;
  border:1px solid rgba(15,59,122,.12)!important;
  border-radius:14px!important;
  background:#f8fbff!important;
}
.form-section-title span{
  width:30px!important;
  height:26px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:#e0f2fe!important;
  color:#075985!important;
  font-size:10px!important;
  font-weight:950!important;
}
.form-section-title strong{
  color:#0f2748!important;
  font-size:13px!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.tax-form-page .form-field{
  min-width:0!important;
  border:1px solid rgba(148,163,184,.20)!important;
  border-radius:14px!important;
  background:#fff!important;
  padding:12px!important;
}
.tax-form-page .form-field label{
  margin-bottom:7px!important;
  color:#334155!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.tax-form-page .form-field input,
.tax-form-page .form-field select,
.tax-form-page .form-field textarea{
  width:100%!important;
  min-width:0!important;
}
.tax-form-page .checkbox-field{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:8px 10px!important;
  align-items:center!important;
}
.tax-form-page .checkbox-field label{
  grid-column:2!important;
  grid-row:1!important;
  margin:0!important;
}
.tax-form-page .checkbox-field input[type="checkbox"]{
  grid-column:1!important;
  grid-row:1!important;
  width:18px!important;
  height:18px!important;
}
.tax-form-page .checkbox-field small{
  grid-column:1 / -1!important;
}
.toolbar-form:where(:not(#sonar-duplicate-selector-671)){
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:end!important;
  gap:12px!important;
}
.toolbar-form label:where(:not(#sonar-duplicate-selector-672)){
  display:grid!important;
  gap:6px!important;
  flex:1 1 220px!important;
  min-width:220px!important;
}
.toolbar-form .btn{
  flex:0 0 auto!important;
}
@media(max-width:1200px){
  main.content > nav.workbench-nav{grid-template-columns:repeat(3,minmax(150px,1fr))!important}
  #main-content .reports-section .download-grid:where(:not(#sonar-duplicate-selector-673)),
  #main-content .report-card-grid.download-grid:where(:not(#sonar-duplicate-selector-674)){grid-template-columns:repeat(2,minmax(250px,1fr))!important}
  .segmented-form-grid:where(:not(#sonar-duplicate-selector-675)){grid-template-columns:repeat(2,minmax(220px,1fr))!important}
}
@media(max-width:720px){
  main.content > nav.workbench-nav:where(:not(#sonar-duplicate-selector-676)){grid-template-columns:1fr!important}
  #main-content .reports-section .download-grid:where(:not(#sonar-duplicate-selector-677)),
  #main-content .report-card-grid.download-grid:where(:not(#sonar-duplicate-selector-678)),
  #main-content .report-card-grid.download-grid > .report-card:where(:not(#sonar-duplicate-selector-679)),
  .segmented-form-grid:where(:not(#sonar-duplicate-selector-680)){grid-template-columns:1fr!important}
  .toolbar-form label:where(:not(#sonar-duplicate-selector-681)){min-width:100%!important}
}

/* V57 corporate application finish */
:root{
  --corp-ink:#07152f;
  --corp-text:#10213f;
  --corp-muted:#5b6b85;
  --corp-line:#d9e3f0;
  --corp-soft:#f5f8fc;
  --corp-card:#ffffff;
  --corp-blue:#1556a8;
  --corp-blue-2:#0b7dc2;
  --corp-green:#2f7d45;
  --corp-shadow:0 18px 48px rgba(15,23,42,.08);
  --corp-shadow-sm:0 10px 26px rgba(15,23,42,.06);
}
body:where(:not(#sonar-duplicate-selector-682)){
  color:var(--corp-text)!important;
  background:
    linear-gradient(180deg,#f8fafc 0,#eef3f8 44%,#f6f8fb 100%)!important;
}
.content:where(:not(#sonar-duplicate-selector-683)){
  padding:24px 28px 34px!important;
}
.topbar.glass:where(:not(#sonar-duplicate-selector-684)){
  min-height:0!important;
  padding:24px 28px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  border-radius:24px!important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,251,255,.96))!important;
  box-shadow:var(--corp-shadow)!important;
}
.topbar.glass::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:5px!important;
  border-radius:24px 0 0 24px!important;
  background:linear-gradient(180deg,var(--corp-blue),var(--corp-green))!important;
}
.topbar .eyebrow,
.panel .eyebrow,
.ops-hero .badge,
.form-badge:where(:not(#sonar-duplicate-selector-685)){
  color:var(--corp-green)!important;
  letter-spacing:.10em!important;
}
.topbar h1:where(:not(#sonar-duplicate-selector-686)){
  color:var(--corp-ink)!important;
  font-size:clamp(27px,1.8vw,36px)!important;
  line-height:1.08!important;
  letter-spacing:0!important;
}
.page-subtitle:where(:not(#sonar-duplicate-selector-687)){
  max-width:860px!important;
  color:var(--corp-muted)!important;
  font-size:14px!important;
}
.context-strip span:where(:not(#sonar-duplicate-selector-688)){
  min-height:28px!important;
  padding:7px 11px!important;
  border:1px solid rgba(148,163,184,.30)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#1f3354!important;
  box-shadow:0 6px 14px rgba(15,23,42,.04)!important;
}
.global-company-card.company-switcher:where(:not(#sonar-duplicate-selector-689)){
  border-radius:20px!important;
  border-color:#cbd8e8!important;
  background:linear-gradient(135deg,#f8fbff,#eef5fd)!important;
  box-shadow:0 14px 36px rgba(15,23,42,.09)!important;
}
.company-select-copy label:where(:not(#sonar-duplicate-selector-690)),
.company-select-copy small:where(:not(#sonar-duplicate-selector-691)){
  letter-spacing:.09em!important;
}
.top-actions .btn:where(:not(#sonar-duplicate-selector-692)),
.btn:where(:not(#sonar-duplicate-selector-693)){
  min-height:40px!important;
  border-radius:12px!important;
  font-weight:950!important;
  letter-spacing:0!important;
}
.btn-primary:where(:not(#sonar-duplicate-selector-694)){
  background:linear-gradient(135deg,#164a7a,#328542)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(21,86,168,.18)!important;
}
.btn-light:where(:not(#sonar-duplicate-selector-695)){
  background:#fff!important;
  border:1px solid #d7e2ef!important;
  color:#10213f!important;
}
.btn-mini:where(:not(#sonar-duplicate-selector-696)){
  min-height:34px!important;
  padding:8px 12px!important;
  border-radius:11px!important;
}
.sidebar:where(:not(#sonar-duplicate-selector-697)){
  background:
    linear-gradient(180deg,#102039 0%,#12233c 52%,#071428 100%)!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
}
.brand-mark:where(:not(#sonar-duplicate-selector-698)){
  background:linear-gradient(135deg,#0b7dc2,#2f7d45)!important;
  box-shadow:0 12px 28px rgba(14,125,194,.22)!important;
}
.workspace-card:where(:not(#sonar-duplicate-selector-699)),
.nav-redesigned .nav-group:where(:not(#sonar-duplicate-selector-700)),
.security-card:where(:not(#sonar-duplicate-selector-701)),
.user-pill:where(:not(#sonar-duplicate-selector-702)){
  border-color:rgba(203,216,232,.16)!important;
  background:rgba(255,255,255,.055)!important;
}
.nav-redesigned .nav-link:where(:not(#sonar-duplicate-selector-703)){
  color:#d9e7f7!important;
}
.nav-redesigned .nav-link.active{
  background:linear-gradient(90deg,rgba(14,125,194,.34),rgba(47,125,69,.20))!important;
  box-shadow:inset 3px 0 0 #38bdf8!important;
}
main.content > nav.workbench-nav:where(:not(#sonar-duplicate-selector-704)){
  margin-bottom:22px!important;
}
main.content > nav.workbench-nav .workbench-link:where(:not(#sonar-duplicate-selector-705)){
  min-height:68px!important;
  border-color:#d7e2ef!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#fff,#fbfdff)!important;
  box-shadow:var(--corp-shadow-sm)!important;
}
main.content > nav.workbench-nav .workbench-link:where(:not(#sonar-duplicate-selector-706))::before{
  background:linear-gradient(135deg,#edf7ff,#e6f5ec)!important;
}
main.content > nav.workbench-nav .workbench-link.active:where(:not(#sonar-duplicate-selector-707)){
  border-color:#35a7e8!important;
  background:linear-gradient(135deg,#eef8ff,#fff)!important;
  box-shadow:0 16px 34px rgba(14,125,194,.14)!important;
}
.panel:where(:not(#sonar-duplicate-selector-708)),
.real-calendar,
.calendar-side .panel,
.upload-drop-card:where(:not(#sonar-duplicate-selector-709)),
.expected-item:where(:not(#sonar-duplicate-selector-710)),
.report-card:where(:not(#sonar-duplicate-selector-711)){
  border:1px solid var(--corp-line)!important;
  border-radius:20px!important;
  background:var(--corp-card)!important;
  box-shadow:var(--corp-shadow-sm)!important;
}
.panel:where(:not(#sonar-duplicate-selector-712)){
  padding:22px!important;
}
.panel-head:where(:not(#sonar-duplicate-selector-713)){
  padding-bottom:12px!important;
  border-bottom:1px solid rgba(217,227,240,.82)!important;
  margin-bottom:16px!important;
}
.panel-head h3:where(:not(#sonar-duplicate-selector-714)),
.ops-hero h2:where(:not(#sonar-duplicate-selector-715)){
  color:var(--corp-ink)!important;
  letter-spacing:0!important;
}
.ops-hero:where(:not(#sonar-duplicate-selector-716)){
  min-height:142px!important;
  border:1px solid #d2e4f3!important;
  border-radius:22px!important;
  background:
    linear-gradient(135deg,#fff 0%,#f4f9ff 72%,#e7f5ff 100%)!important;
  box-shadow:var(--corp-shadow-sm)!important;
  padding:26px 28px!important;
}
.ops-hero:where(:not(#sonar-duplicate-selector-717)):after{
  display:none!important;
}
.ops-actions:where(:not(#sonar-duplicate-selector-718)){
  gap:10px!important;
}
.metric-strip:where(:not(#sonar-duplicate-selector-719)){
  gap:12px!important;
}
.metric-strip article:where(:not(#sonar-duplicate-selector-720)){
  min-height:86px!important;
  border:1px solid var(--corp-line)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:var(--corp-shadow-sm)!important;
  padding:16px!important;
}
.metric-strip span:where(:not(#sonar-duplicate-selector-721)){
  color:#60718d!important;
  font-size:11px!important;
  letter-spacing:.08em!important;
}
.metric-strip strong:where(:not(#sonar-duplicate-selector-722)){
  color:#07152f!important;
  font-size:26px!important;
}
#main-content .report-card-grid.download-grid > .report-card:where(:not(#sonar-duplicate-selector-723)){
  min-height:150px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:var(--corp-shadow-sm)!important;
}
#main-content .report-card-copy:where(:not(#sonar-duplicate-selector-724))::before{
  background:#eaf5ff!important;
  border-radius:12px!important;
  box-shadow:inset 0 0 0 1px #b8ddfb!important;
}
#main-content .report-card-copy::after{
  content:"";
  width:16px;
  height:16px;
  margin-top:-32px;
  margin-left:11px;
  border:2px solid #1556a8;
  border-top-width:4px;
  border-radius:3px;
}
#main-content .report-card-copy strong:where(:not(#sonar-duplicate-selector-725)){
  color:#07152f!important;
}
.table-wrap:where(:not(#sonar-duplicate-selector-726)){
  border:1px solid var(--corp-line)!important;
  border-radius:16px!important;
  background:#fff!important;
}
.modern-table th:where(:not(#sonar-duplicate-selector-727)){
  background:#f4f7fb!important;
  color:#263a59!important;
  letter-spacing:.06em!important;
}
.modern-table td:where(:not(#sonar-duplicate-selector-728)){
  border-color:#edf2f7!important;
}
.standard-form-panel:where(:not(#sonar-duplicate-selector-729)),
.tax-form-page .form-panel:where(:not(#sonar-duplicate-selector-730)){
  border-radius:22px!important;
}
.standard-form .form-grid:where(:not(#sonar-duplicate-selector-731)),
.segmented-form-grid:where(:not(#sonar-duplicate-selector-732)){
  padding:16px!important;
  border:1px solid #dfe8f3!important;
  border-radius:16px!important;
  background:#f8fbff!important;
}
.tax-form-page .form-field:where(:not(#sonar-duplicate-selector-733)),
.standard-form .form-field:where(:not(#sonar-duplicate-selector-734)),
.styled-form .form-field:where(:not(#sonar-duplicate-selector-735)){
  background:#fff!important;
  border-color:#d9e3f0!important;
}
.upload-control:where(:not(#sonar-duplicate-selector-736)){
  border-style:solid!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
}
.upload-icon{
  width:48px!important;
  height:48px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#e8f5ff,#eaf7ef)!important;
  color:#1556a8!important;
  font-size:13px!important;
  font-weight:950!important;
}
.info-list div:where(:not(#sonar-duplicate-selector-737)){
  border:1px solid #dfe8f3!important;
  border-radius:14px!important;
  background:#fbfdff!important;
}
.expected-grid:where(:not(#sonar-duplicate-selector-738)){
  gap:14px!important;
}
.expected-item:where(:not(#sonar-duplicate-selector-739)){
  min-height:104px!important;
  padding:18px!important;
  box-shadow:none!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
}
.expected-item strong:where(:not(#sonar-duplicate-selector-740)){
  color:#0b3769!important;
}
.calendar-toolbar{
  padding:22px 24px!important;
  background:linear-gradient(135deg,#fff,#f3f8ff)!important;
  border-bottom:1px solid var(--corp-line)!important;
}
.calendar-icon{
  width:46px!important;
  height:46px!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#1556a8,#2f7d45)!important;
  font-size:0!important;
  position:relative!important;
}
.calendar-icon::before{
  content:"";
  width:22px;
  height:20px;
  border:2px solid #fff;
  border-top-width:6px;
  border-radius:5px;
}
.calendar-title h2{
  color:#07152f!important;
  font-size:26px!important;
  letter-spacing:0!important;
}
.calendar-title p{
  color:#60718d!important;
}
.calendar-stats{
  padding:14px 18px!important;
  background:#fff!important;
}
.calendar-stat{
  border-color:var(--corp-line)!important;
  background:#f8fbff!important;
}
.calendar-weekdays:where(:not(#sonar-duplicate-selector-741)){
  border-color:#dbe5f0!important;
  background:#dbe5f0!important;
}
.calendar-weekdays span:where(:not(#sonar-duplicate-selector-742)){
  background:#f3f6fa!important;
  color:#253955!important;
}
.calendar-weeks,
.calendar-week:where(:not(#sonar-duplicate-selector-743)){
  background:#dbe5f0!important;
}
.calendar-day:where(:not(#sonar-duplicate-selector-744)){
  min-height:128px!important;
  background:#fff!important;
}
.calendar-day-number:where(:not(#sonar-duplicate-selector-745)){
  background:#eef5fc!important;
  color:#183252!important;
}
.calendar-day.is-today:where(:not(#sonar-duplicate-selector-746)){
  box-shadow:inset 0 0 0 2px #1556a8!important;
}
.calendar-day.is-today .calendar-day-number{
  background:#1556a8!important;
}
.calendar-empty-hint{
  color:#c4cfdd!important;
  font-weight:800!important;
}
.calendar-event:where(:not(#sonar-duplicate-selector-747)){
  border-left-color:#1556a8!important;
  background:#f1f7ff!important;
  border-radius:12px!important;
  box-shadow:0 8px 18px rgba(15,23,42,.07)!important;
}
.calendar-event strong:where(:not(#sonar-duplicate-selector-748)){
  color:#07152f!important;
}
.calendar-side .panel:where(:not(#sonar-duplicate-selector-749)){
  padding:20px!important;
}
.calendar-form p:where(:not(#sonar-duplicate-selector-750)){
  display:grid!important;
  gap:7px!important;
}
.calendar-form input,
.calendar-form select,
.calendar-form textarea{
  border-radius:12px!important;
  border:1px solid #cfdceb!important;
  background:#fff!important;
}
.calendar-help{
  border:1px solid #d2e4f3!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#f8fbff,#fff)!important;
  box-shadow:var(--corp-shadow-sm)!important;
}
.logout-link:where(:not(#sonar-duplicate-selector-751)){
  background:linear-gradient(135deg,#3b1225,#6b1830)!important;
}
@media(max-width:1500px){
  .tax-calendar-page{grid-template-columns:minmax(0,1fr) 340px!important}
  .calendar-day:where(:not(#sonar-duplicate-selector-752)){min-height:118px!important}
}
@media(max-width:1180px){
  .content:where(:not(#sonar-duplicate-selector-753)){padding:18px!important}
  .tax-calendar-page:where(:not(#sonar-duplicate-selector-754)){grid-template-columns:1fr!important}
  .topbar.glass:where(:not(#sonar-duplicate-selector-755)){grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .topbar.glass:where(:not(#sonar-duplicate-selector-756)),
  .ops-hero:where(:not(#sonar-duplicate-selector-757)),
  .panel:where(:not(#sonar-duplicate-selector-758)){border-radius:18px!important;padding:18px!important}
  .metric-strip:where(:not(#sonar-duplicate-selector-759)){grid-template-columns:1fr!important}
  .calendar-toolbar:where(:not(#sonar-duplicate-selector-760)){padding:18px!important}
}

/* V58 zoom-safe corporate shell and cleaner navigation */
*,*:where(:not(#sonar-duplicate-selector-761))::before,*:where(:not(#sonar-duplicate-selector-762))::after{box-sizing:border-box!important}
html:where(:not(#sonar-duplicate-selector-763)){
  font-size:clamp(13px,.78vw,16px)!important;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body:where(:not(#sonar-duplicate-selector-764)){
  overflow-x:hidden!important;
}
:root:where(:not(#sonar-duplicate-selector-765)){
  --sidebar-w:clamp(14.5rem,15.2vw,17.5rem);
  --content-gap:clamp(1rem,1.45vw,1.75rem);
  --radius-lg:1.25rem;
  --radius-md:.875rem;
}
.app-shell:where(:not(#sonar-duplicate-selector-766)){
  display:block!important;
  min-width:0!important;
}
.sidebar:where(:not(#sonar-duplicate-selector-767)){
  width:var(--sidebar-w)!important;
  min-width:var(--sidebar-w)!important;
  max-width:var(--sidebar-w)!important;
  padding:1rem .85rem!important;
}
.content:where(:not(#sonar-duplicate-selector-768)){
  margin-left:var(--sidebar-w)!important;
  width:calc(100% - var(--sidebar-w))!important;
  min-width:0!important;
  padding:var(--content-gap)!important;
  overflow-x:hidden!important;
}
.sidebar-brand-row:where(:not(#sonar-duplicate-selector-769)){
  margin-bottom:.9rem!important;
}
.brand:where(:not(#sonar-duplicate-selector-770)){
  gap:.65rem!important;
  margin-bottom:0!important;
}
.brand-mark:where(:not(#sonar-duplicate-selector-771)){
  width:2.45rem!important;
  height:2.45rem!important;
  min-width:2.45rem!important;
  border-radius:.85rem!important;
  font-size:.8rem!important;
}
.brand strong:where(:not(#sonar-duplicate-selector-772)){
  font-size:.92rem!important;
  line-height:1.12!important;
}
.brand small:where(:not(#sonar-duplicate-selector-773)),
.workspace-card small:where(:not(#sonar-duplicate-selector-774)),
.security-card small:where(:not(#sonar-duplicate-selector-775)),
.user-pill small:where(:not(#sonar-duplicate-selector-776)){
  font-size:.68rem!important;
}
.workspace-card:where(:not(#sonar-duplicate-selector-777)){
  min-height:auto!important;
  margin:.65rem 0 1rem!important;
  padding:.75rem!important;
  border-radius:.9rem!important;
}
.nav-redesigned:where(:not(#sonar-duplicate-selector-778)){
  gap:.25rem!important;
  padding-right:.2rem!important;
}
.nav-redesigned .nav-group:where(:not(#sonar-duplicate-selector-779)),
.nav-redesigned .nav-group[open]:where(:not(#sonar-duplicate-selector-780)){
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:visible!important;
  margin:0 0 .8rem!important;
}
.nav-redesigned summary:where(:not(#sonar-duplicate-selector-781)){
  min-height:1.7rem!important;
  padding:.25rem .55rem .35rem!important;
  color:#94a9c7!important;
  font-size:.68rem!important;
  letter-spacing:.07em!important;
}
.nav-redesigned summary>span:where(:not(#sonar-duplicate-selector-782)){
  width:1.35rem!important;
  height:1.35rem!important;
  min-width:1.35rem!important;
  border-radius:.45rem!important;
  background:rgba(148,169,199,.14)!important;
  color:#d8e6f8!important;
  font-size:.58rem!important;
}
.nav-redesigned .nav-link:where(:not(#sonar-duplicate-selector-783)){
  position:relative!important;
  min-height:2.35rem!important;
  margin:.12rem 0!important;
  padding:.44rem .58rem!important;
  border-radius:.72rem!important;
  gap:.58rem!important;
  color:#dce8f7!important;
  background:transparent!important;
  box-shadow:none!important;
}
.nav-redesigned .nav-link:hover{
  background:rgba(255,255,255,.075)!important;
}
.nav-redesigned .nav-link.active:where(:not(#sonar-duplicate-selector-784)){
  background:rgba(21,86,168,.28)!important;
  box-shadow:inset .2rem 0 0 #38bdf8!important;
}
.nav-redesigned .nav-link>span:first-child:where(:not(#sonar-duplicate-selector-785)){
  position:relative!important;
  width:1.68rem!important;
  height:1.68rem!important;
  min-width:1.68rem!important;
  border-radius:.6rem!important;
  background:rgba(219,234,254,.12)!important;
  color:transparent!important;
  font-size:0!important;
  overflow:hidden!important;
}
.nav-redesigned .nav-link>span:first-child::before{
  content:""!important;
  position:absolute!important;
  inset:.45rem!important;
  border:2px solid #b9d7f8!important;
  border-radius:.25rem!important;
}
.nav-redesigned .nav-link>span:first-child::after{
  content:""!important;
  position:absolute!important;
  left:.48rem!important;
  right:.48rem!important;
  top:.78rem!important;
  height:2px!important;
  background:#b9d7f8!important;
  border-radius:999px!important;
}
.nav-redesigned .nav-link.active>span:first-child:where(:not(#sonar-duplicate-selector-786)){
  background:#eaf5ff!important;
}
.nav-redesigned .nav-link.active>span:first-child::before{
  border-color:#1556a8!important;
}
.nav-redesigned .nav-link.active>span:first-child::after{
  background:#1556a8!important;
}
.nav-redesigned .nav-link b:where(:not(#sonar-duplicate-selector-787)){
  font-size:.78rem!important;
  line-height:1.16!important;
  white-space:normal!important;
}
.sidebar-footer:where(:not(#sonar-duplicate-selector-788)){
  padding-top:.75rem!important;
}
.security-card:where(:not(#sonar-duplicate-selector-789)),
.user-pill:where(:not(#sonar-duplicate-selector-790)){
  padding:.62rem!important;
  border-radius:.85rem!important;
}
.logout-link:where(:not(#sonar-duplicate-selector-791)){
  min-height:2.35rem!important;
  border-radius:.8rem!important;
}
.topbar.glass:where(:not(#sonar-duplicate-selector-792)){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(18rem,auto)!important;
  gap:clamp(.85rem,1.4vw,1.4rem)!important;
  padding:clamp(1rem,1.45vw,1.55rem)!important;
  border-radius:var(--radius-lg)!important;
}
.topbar h1:where(:not(#sonar-duplicate-selector-793)){
  font-size:clamp(1.55rem,1.75vw,2.2rem)!important;
}
.page-subtitle:where(:not(#sonar-duplicate-selector-794)){
  font-size:clamp(.82rem,.9vw,.95rem)!important;
  line-height:1.42!important;
}
.topbar-tools:where(:not(#sonar-duplicate-selector-795)){
  min-width:0!important;
  width:100%!important;
  max-width:26rem!important;
}
.global-company-card.company-switcher:where(:not(#sonar-duplicate-selector-796)){
  width:100%!important;
  min-width:0!important;
}
.company-switcher .global-company-form:where(:not(#sonar-duplicate-selector-797)){
  grid-template-columns:2.5rem minmax(0,1fr) 1.25rem!important;
}
.top-actions:where(:not(#sonar-duplicate-selector-798)){
  width:100%!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  gap:.55rem!important;
}
.top-actions .btn:where(:not(#sonar-duplicate-selector-799)){
  flex:0 1 auto!important;
}
.btn:where(:not(#sonar-duplicate-selector-800)){
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  font-size:.78rem!important;
  padding:.62rem .9rem!important;
}
main.content > nav.workbench-nav:where(:not(#sonar-duplicate-selector-801)){
  grid-template-columns:repeat(auto-fit,minmax(min(11.5rem,100%),1fr))!important;
  gap:.7rem!important;
  margin-bottom:1rem!important;
}
main.content > nav.workbench-nav .workbench-link:where(:not(#sonar-duplicate-selector-802)){
  min-height:3.65rem!important;
  border-radius:var(--radius-md)!important;
  grid-template-columns:2rem minmax(0,1fr)!important;
  padding:.7rem .78rem!important;
}
main.content > nav.workbench-nav .workbench-link:where(:not(#sonar-duplicate-selector-803))::before{
  width:2rem!important;
  height:2rem!important;
  border-radius:.7rem!important;
}
main.content > nav.workbench-nav .workbench-link:where(:not(#sonar-duplicate-selector-804))::after{
  left:1.38rem!important;
  top:1.36rem!important;
  width:.72rem!important;
  height:.72rem!important;
}
main.content > nav.workbench-nav .workbench-link span:where(:not(#sonar-duplicate-selector-805)){
  font-size:.62rem!important;
}
main.content > nav.workbench-nav .workbench-link strong:where(:not(#sonar-duplicate-selector-806)){
  font-size:.84rem!important;
}
.panel:where(:not(#sonar-duplicate-selector-807)),
.ops-hero:where(:not(#sonar-duplicate-selector-808)),
.real-calendar:where(:not(#sonar-duplicate-selector-809)),
.upload-drop-card:where(:not(#sonar-duplicate-selector-810)),
.calendar-side .panel:where(:not(#sonar-duplicate-selector-811)){
  max-width:100%!important;
  overflow:hidden!important;
}
.panel:where(:not(#sonar-duplicate-selector-812)),
.ops-hero:where(:not(#sonar-duplicate-selector-813)){
  padding:clamp(1rem,1.35vw,1.4rem)!important;
  border-radius:var(--radius-lg)!important;
}
.metric-strip:where(:not(#sonar-duplicate-selector-814)),
.kpi-grid:where(:not(#sonar-duplicate-selector-815)),
.quick-grid:where(:not(#sonar-duplicate-selector-816)){
  grid-template-columns:repeat(auto-fit,minmax(min(11rem,100%),1fr))!important;
}
.two-col:where(:not(#sonar-duplicate-selector-817)),
.three-col:where(:not(#sonar-duplicate-selector-818)),
.page-grid.two-panel-layout:where(:not(#sonar-duplicate-selector-819)),
.two-panel-layout:where(:not(#sonar-duplicate-selector-820)),
.form-layout:where(:not(#sonar-duplicate-selector-821)),
.provision-layout:where(:not(#sonar-duplicate-selector-822)){
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(24rem,100%),1fr))!important;
  gap:clamp(.9rem,1.25vw,1.35rem)!important;
}
.wide-left:where(:not(#sonar-duplicate-selector-823)){
  grid-template-columns:minmax(min(38rem,100%),1.55fr) minmax(min(18rem,100%),.8fr)!important;
}
.expected-grid:where(:not(#sonar-duplicate-selector-824)),
#main-content .reports-section .download-grid:where(:not(#sonar-duplicate-selector-825)),
#main-content .report-card-grid.download-grid:where(:not(#sonar-duplicate-selector-826)){
  grid-template-columns:repeat(auto-fit,minmax(min(18rem,100%),1fr))!important;
}
#main-content .report-card-grid.download-grid > .report-card:where(:not(#sonar-duplicate-selector-827)){
  grid-template-columns:minmax(0,1fr) auto!important;
}
.segmented-form-grid:where(:not(#sonar-duplicate-selector-828)),
.standard-form .form-grid:where(:not(#sonar-duplicate-selector-829)),
.styled-form .form-grid:where(:not(#sonar-duplicate-selector-830)){
  grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr))!important;
}
.form-field:where(:not(#sonar-duplicate-selector-831)),
.tax-form-page .form-field:where(:not(#sonar-duplicate-selector-832)),
.standard-form .form-field:where(:not(#sonar-duplicate-selector-833)),
.styled-form .form-field:where(:not(#sonar-duplicate-selector-834)){
  min-width:0!important;
}
input,
select:where(:not(#sonar-duplicate-selector-835)),
textarea,
button{
  max-width:100%!important;
  font:inherit;
}
.table-wrap:where(:not(#sonar-duplicate-selector-836)){
  width:100%!important;
  max-width:100%!important;
  overflow:auto!important;
}
.modern-table:where(:not(#sonar-duplicate-selector-837)){
  width:100%!important;
  min-width:min(56rem,100%)!important;
}
.modern-table th:where(:not(#sonar-duplicate-selector-838)),
.modern-table td:where(:not(#sonar-duplicate-selector-839)){
  font-size:.78rem!important;
  line-height:1.32!important;
  white-space:normal!important;
}
.tax-calendar-page:where(:not(#sonar-duplicate-selector-840)),
.calendar-shell:where(:not(#sonar-duplicate-selector-841)){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(min(21rem,100%),.28fr)!important;
  gap:clamp(.9rem,1.2vw,1.35rem)!important;
  min-width:0!important;
}
.calendar-title h2:where(:not(#sonar-duplicate-selector-842)){
  font-size:clamp(1.35rem,1.55vw,1.85rem)!important;
}
.calendar-toolbar:where(:not(#sonar-duplicate-selector-843)),
.calendar-actions,
.calendar-sync-form{
  flex-wrap:wrap!important;
}
.calendar-actions:where(:not(#sonar-duplicate-selector-844)){
  justify-content:flex-end!important;
}
.calendar-stats:where(:not(#sonar-duplicate-selector-845)){
  grid-template-columns:repeat(auto-fit,minmax(min(10rem,100%),1fr))!important;
}
.calendar-day:where(:not(#sonar-duplicate-selector-846)){
  min-width:0!important;
  min-height:clamp(6.5rem,8vw,8rem)!important;
  padding:.55rem!important;
}
.calendar-event:where(:not(#sonar-duplicate-selector-847)){
  min-width:0!important;
  overflow:hidden!important;
}
.calendar-event strong:where(:not(#sonar-duplicate-selector-848)),
.calendar-event span:where(:not(#sonar-duplicate-selector-849)),
.calendar-event small:where(:not(#sonar-duplicate-selector-850)),
.calendar-event em:where(:not(#sonar-duplicate-selector-851)){
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.calendar-side{
  min-width:0!important;
}
.calendar-form p:where(:not(#sonar-duplicate-selector-852)){
  min-width:0!important;
}
body.is-sidebar-collapsed:where(:not(#sonar-duplicate-selector-853)){
  --sidebar-w:4.9rem!important;
}
body.is-sidebar-collapsed .sidebar:where(:not(#sonar-duplicate-selector-854)){
  min-width:var(--sidebar-w)!important;
  max-width:var(--sidebar-w)!important;
}
body.is-sidebar-collapsed .content:where(:not(#sonar-duplicate-selector-855)){
  margin-left:var(--sidebar-w)!important;
  width:calc(100% - var(--sidebar-w))!important;
}
body.is-sidebar-collapsed .nav-redesigned .nav-group{
  margin-bottom:.45rem!important;
}
body.is-sidebar-collapsed .nav-redesigned summary:where(:not(#sonar-duplicate-selector-856)){
  justify-content:center!important;
  padding:.3rem 0!important;
}
body.is-sidebar-collapsed .nav-redesigned .nav-link:where(:not(#sonar-duplicate-selector-857)){
  justify-content:center!important;
  padding:.45rem 0!important;
}
body.is-sidebar-collapsed .nav-redesigned .nav-link b:where(:not(#sonar-duplicate-selector-858)){
  display:none!important;
}
@media(max-width:1380px){
  :root:where(:not(#sonar-duplicate-selector-859)){--sidebar-w:15.25rem}
  .topbar.glass:where(:not(#sonar-duplicate-selector-860)){grid-template-columns:1fr!important}
  .topbar-tools:where(:not(#sonar-duplicate-selector-861)){max-width:100%!important;justify-items:stretch!important}
  .top-actions:where(:not(#sonar-duplicate-selector-862)){justify-content:flex-start!important}
  .tax-calendar-page:where(:not(#sonar-duplicate-selector-863)),
  .calendar-shell:where(:not(#sonar-duplicate-selector-864)){grid-template-columns:1fr!important}
}
@media(max-width:1120px){
  .mobile-bar:where(:not(#sonar-duplicate-selector-865)){display:flex!important}
  .sidebar:where(:not(#sonar-duplicate-selector-866)){
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    z-index:50!important;
    width:min(19rem,88vw)!important;
    min-width:0!important;
    max-width:min(19rem,88vw)!important;
    transform:translateX(-105%)!important;
    transition:transform .2s ease!important;
  }
  .sidebar-toggle:checked ~ .app-shell .sidebar:where(:not(#sonar-duplicate-selector-867)){
    transform:translateX(0)!important;
  }
  .sidebar-toggle:checked ~ .sidebar-backdrop:where(:not(#sonar-duplicate-selector-868)){
    display:block!important;
  }
  .sidebar-backdrop:where(:not(#sonar-duplicate-selector-869)){
    position:fixed!important;
    inset:0!important;
    z-index:45!important;
    background:rgba(7,21,47,.55)!important;
  }
  .content:where(:not(#sonar-duplicate-selector-870)),
  body.is-sidebar-collapsed .content:where(:not(#sonar-duplicate-selector-871)){
    margin-left:0!important;
    width:100%!important;
    padding:1rem!important;
  }
  body.is-sidebar-collapsed .sidebar:where(:not(#sonar-duplicate-selector-872)){
    width:min(19rem,88vw)!important;
    max-width:min(19rem,88vw)!important;
  }
  body.is-sidebar-collapsed .nav-redesigned .nav-link b:where(:not(#sonar-duplicate-selector-873)),
  body.is-sidebar-collapsed .workspace-card div:where(:not(#sonar-duplicate-selector-874)),
  body.is-sidebar-collapsed .security-card div:where(:not(#sonar-duplicate-selector-875)),
  body.is-sidebar-collapsed .user-pill div:where(:not(#sonar-duplicate-selector-876)),
  body.is-sidebar-collapsed .logout-link:where(:not(#sonar-duplicate-selector-877)){
    display:block!important;
  }
}
@media(max-width:720px){
  html:where(:not(#sonar-duplicate-selector-878)){font-size:14px!important}
  .content:where(:not(#sonar-duplicate-selector-879)),
  body.is-sidebar-collapsed .content:where(:not(#sonar-duplicate-selector-880)){padding:.75rem!important}
  .topbar.glass:where(:not(#sonar-duplicate-selector-881)),
  .panel:where(:not(#sonar-duplicate-selector-882)),
  .ops-hero:where(:not(#sonar-duplicate-selector-883)){border-radius:1rem!important}
  .context-strip:where(:not(#sonar-duplicate-selector-884)),
  .top-actions:where(:not(#sonar-duplicate-selector-885)),
  .ops-actions:where(:not(#sonar-duplicate-selector-886)),
  .calendar-actions:where(:not(#sonar-duplicate-selector-887)){
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
  }
  .global-company-form:where(:not(#sonar-duplicate-selector-888)){
    grid-template-columns:2.35rem minmax(0,1fr) 1.1rem!important;
  }
  #main-content .report-card-grid.download-grid > .report-card:where(:not(#sonar-duplicate-selector-889)){
    grid-template-columns:1fr!important;
  }
  .modern-table:where(:not(#sonar-duplicate-selector-890)){
    min-width:46rem!important;
  }
}

/* V59 visual refinement pass */
.topbar.glass{
  margin-bottom:.95rem!important;
}
.topbar.glass:where(:not(#sonar-duplicate-selector-891))::before{
  width:0!important;
}
.topbar .eyebrow:where(:not(#sonar-duplicate-selector-892)){
  font-size:.68rem!important;
  margin-bottom:.38rem!important;
}
.topbar h1:where(:not(#sonar-duplicate-selector-893)){
  font-weight:950!important;
}
.context-strip:where(:not(#sonar-duplicate-selector-894)){
  margin-top:.75rem!important;
  gap:.45rem!important;
}
.context-strip span:where(:not(#sonar-duplicate-selector-895)){
  min-height:2rem!important;
  padding:.42rem .72rem!important;
  font-size:.72rem!important;
}
.top-actions .btn:where(:not(#sonar-duplicate-selector-896)){
  min-width:7.2rem!important;
}
main.content > nav.workbench-nav:where(:not(#sonar-duplicate-selector-897)){
  gap:.6rem!important;
}
main.content > nav.workbench-nav .workbench-link:where(:not(#sonar-duplicate-selector-898)){
  min-height:3.35rem!important;
  border-radius:.9rem!important;
  box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
}
main.content > nav.workbench-nav .workbench-link:hover:where(:not(#sonar-duplicate-selector-899)){
  transform:none!important;
}
.nav-redesigned .nav-link>span:first-child:where(:not(#sonar-duplicate-selector-900))::before,
.nav-redesigned .nav-link>span:first-child:where(:not(#sonar-duplicate-selector-901))::after{
  border-color:#b9d7f8!important;
  background:transparent!important;
}
.nav-redesigned .nav-dashboard>span:first-child::before,
.nav-redesigned .nav-tax-home>span:first-child::before{
  inset:.42rem!important;
  border-radius:50%!important;
}
.nav-redesigned .nav-analytics>span:first-child::before{
  inset:auto .42rem .42rem .42rem!important;
  height:.75rem!important;
  border-radius:.18rem!important;
}
.nav-redesigned .nav-analytics>span:first-child::after{
  left:.55rem!important;
  top:.48rem!important;
  width:.22rem!important;
  height:.95rem!important;
  box-shadow:.42rem .2rem 0 #b9d7f8,.84rem -.1rem 0 #b9d7f8!important;
}
.nav-redesigned .nav-reports>span:first-child::before,
.nav-redesigned .nav-upload>span:first-child::before,
.nav-redesigned .nav-bulk>span:first-child::before{
  inset:.38rem .48rem!important;
  border-radius:.18rem!important;
}
.nav-redesigned .nav-calendar>span:first-child::before,
.nav-redesigned .nav-periods>span:first-child::before{
  inset:.38rem!important;
  border-top-width:.34rem!important;
  border-radius:.24rem!important;
}
.nav-redesigned .nav-odoo>span:first-child::before,
.nav-redesigned .nav-operation>span:first-child::before{
  inset:.43rem!important;
  border-radius:50%!important;
}
.nav-redesigned .nav-mapping>span:first-child::before,
.nav-redesigned .nav-reconcile>span:first-child::before{
  inset:.48rem .35rem!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
}
.nav-redesigned .nav-city>span:first-child::before,
.nav-redesigned .nav-companies>span:first-child::before{
  inset:.36rem .48rem!important;
  border-radius:.16rem!important;
  box-shadow:inset .28rem 0 0 rgba(185,215,248,.25),inset -.28rem 0 0 rgba(185,215,248,.25)!important;
}
.nav-redesigned .nav-tariff>span:first-child::before,
.nav-redesigned .nav-parameters>span:first-child::before,
.nav-redesigned .nav-admin-params>span:first-child::before{
  inset:.42rem!important;
  border-radius:.2rem!important;
  transform:rotate(45deg)!important;
}
.nav-redesigned .nav-profile>span:first-child::before,
.nav-redesigned .nav-users>span:first-child::before{
  inset:.34rem .48rem .62rem!important;
  border-radius:50% 50% .2rem .2rem!important;
}
.nav-redesigned .nav-security>span:first-child::before{
  inset:.34rem .5rem!important;
  border-radius:.55rem .55rem .25rem .25rem!important;
}
.nav-redesigned .nav-branding>span:first-child::before{
  inset:.42rem!important;
  border-radius:50%!important;
  border-style:dashed!important;
}
.nav-redesigned .nav-tech>span:first-child::before,
.nav-redesigned .nav-admin>span:first-child::before{
  inset:.4rem!important;
  border-radius:.22rem!important;
}
.nav-redesigned .nav-link.active>span:first-child:where(:not(#sonar-duplicate-selector-902))::before{
  border-color:#1556a8!important;
}
.nav-redesigned .nav-link.active>span:first-child:where(:not(#sonar-duplicate-selector-903))::after{
  background:#1556a8!important;
}
.tax-form-page:where(:not(#sonar-duplicate-selector-904)){
  max-width:min(74rem,100%)!important;
}
.tax-form-page .form-panel:where(:not(#sonar-duplicate-selector-905)){
  padding:1.25rem!important;
}
.tax-form-page .panel-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  margin-bottom:1rem!important;
}
.tax-form-page .panel-head h3{
  font-size:1.18rem!important;
}
.form-badge:where(:not(#sonar-duplicate-selector-906)){
  min-height:2rem!important;
  padding:.45rem .8rem!important;
  border-radius:999px!important;
}
.segmented-form-grid:where(:not(#sonar-duplicate-selector-907)),
.standard-form .form-grid:where(:not(#sonar-duplicate-selector-908)),
.styled-form .form-grid:where(:not(#sonar-duplicate-selector-909)){
  gap:.78rem!important;
  padding:1rem!important;
  background:#f7faff!important;
}
.tax-form-page .form-field:where(:not(#sonar-duplicate-selector-910)),
.standard-form .form-field:where(:not(#sonar-duplicate-selector-911)),
.styled-form .form-field:where(:not(#sonar-duplicate-selector-912)){
  grid-column:auto!important;
  padding:.82rem!important;
  border-radius:.9rem!important;
  box-shadow:0 1px 0 rgba(15,23,42,.025)!important;
}
.tax-form-page .field-calendar_notes,
.tax-form-page .field-special_rules,
.tax-form-page .field-version_note,
.tax-form-page .field-legal_reference,
.tax-form-page .field-description{
  grid-column:1/-1!important;
}
.form-section-title:where(:not(#sonar-duplicate-selector-913)){
  min-height:3rem!important;
  margin:.2rem 0!important;
  padding:.65rem .8rem!important;
  border-radius:.85rem!important;
  background:linear-gradient(135deg,#f8fbff,#eef6ff)!important;
}
.form-section-title span:where(:not(#sonar-duplicate-selector-914)){
  width:1.85rem!important;
  height:1.6rem!important;
  border-radius:.55rem!important;
}
.form-section-title strong:where(:not(#sonar-duplicate-selector-915)){
  font-size:.78rem!important;
}
.tax-form-page input,
.tax-form-page select,
.tax-form-page textarea,
.standard-form input,
.standard-form select,
.standard-form textarea{
  min-height:2.55rem!important;
  border-radius:.72rem!important;
}
.tax-form-page textarea:where(:not(#sonar-duplicate-selector-916)),
.standard-form textarea:where(:not(#sonar-duplicate-selector-917)){
  min-height:6.5rem!important;
}
.form-actions.sticky-actions:where(:not(#sonar-duplicate-selector-918)){
  position:sticky!important;
  bottom:.75rem!important;
  z-index:5!important;
  width:fit-content!important;
  max-width:100%!important;
  margin-top:1rem!important;
  padding:.45rem!important;
  border:1px solid rgba(217,227,240,.9)!important;
  border-radius:1rem!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.10)!important;
  backdrop-filter:blur(10px)!important;
}
.form-actions.sticky-actions .btn{
  min-width:7rem!important;
}
.page-grid.two-panel-layout.provision-layout{
  grid-template-columns:minmax(min(36rem,100%),1.45fr) minmax(min(20rem,100%),.65fr)!important;
  align-items:start!important;
}
.standard-form-panel .panel-head{
  align-items:center!important;
}
.upload-drop-card.compact-side-card{
  padding:1.25rem!important;
}
.info-list div:where(:not(#sonar-duplicate-selector-919)){
  padding:.8rem!important;
}
.expected-item:where(:not(#sonar-duplicate-selector-920)){
  min-height:5.7rem!important;
}
.ops-hero:where(:not(#sonar-duplicate-selector-921)){
  min-height:auto!important;
}
.metric-strip article:where(:not(#sonar-duplicate-selector-922)){
  min-height:4.9rem!important;
}
.metric-strip strong:where(:not(#sonar-duplicate-selector-923)){
  font-size:1.45rem!important;
}
.calendar-day:where(:not(#sonar-duplicate-selector-924)){
  min-height:7.25rem!important;
}
@media(max-width:1380px){
  .tax-form-page:where(:not(#sonar-duplicate-selector-925)){max-width:100%!important}
  .page-grid.two-panel-layout.provision-layout:where(:not(#sonar-duplicate-selector-926)){grid-template-columns:1fr!important}
}
@media(max-width:820px){
  .tax-form-page .panel-head:where(:not(#sonar-duplicate-selector-927)){
    grid-template-columns:1fr!important;
  }
  .form-actions.sticky-actions:where(:not(#sonar-duplicate-selector-928)){
    width:100%!important;
  }
  .form-actions.sticky-actions .btn:where(:not(#sonar-duplicate-selector-929)){
    width:100%!important;
  }
}

/* V60 real SVG icons and final form balance */
.icon-sprite{
  position:absolute!important;
  width:0!important;
  height:0!important;
  overflow:hidden!important;
}
.nav-redesigned .nav-link .nav-icon,
.nav-redesigned .nav-link>span.nav-icon{
  width:1.75rem!important;
  height:1.75rem!important;
  min-width:1.75rem!important;
  display:grid!important;
  place-items:center!important;
  border-radius:.62rem!important;
  background:rgba(219,234,254,.12)!important;
  color:#b9d7f8!important;
  overflow:hidden!important;
}
.nav-redesigned .nav-link .nav-icon::before,
.nav-redesigned .nav-link .nav-icon::after{
  display:none!important;
  content:none!important;
}
.nav-redesigned .nav-link .nav-icon svg{
  width:1rem!important;
  height:1rem!important;
  display:block!important;
  fill:currentColor!important;
}
.nav-redesigned .nav-link.active .nav-icon{
  background:#eaf5ff!important;
  color:#1556a8!important;
}
.nav-redesigned .nav-link:hover .nav-icon{
  background:rgba(234,245,255,.18)!important;
  color:#dbeafe!important;
}
main.content > nav.workbench-nav .workbench-link:where(:not(#sonar-duplicate-selector-930)){
  grid-template-columns:2.15rem minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
}
main.content > nav.workbench-nav .workbench-link:where(:not(#sonar-duplicate-selector-931))::before,
main.content > nav.workbench-nav .workbench-link:where(:not(#sonar-duplicate-selector-932))::after{
  display:none!important;
  content:none!important;
}
main.content > nav.workbench-nav .workbench-link em{
  grid-row:1 / span 2!important;
  width:2.15rem!important;
  height:2.15rem!important;
  display:grid!important;
  place-items:center!important;
  border-radius:.75rem!important;
  background:linear-gradient(135deg,#edf7ff,#e7f6ee)!important;
  color:#1556a8!important;
  font-style:normal!important;
  box-shadow:inset 0 0 0 1px rgba(21,86,168,.12)!important;
}
main.content > nav.workbench-nav .workbench-link em svg{
  width:1.08rem!important;
  height:1.08rem!important;
  display:block!important;
  fill:currentColor!important;
}
main.content > nav.workbench-nav .workbench-link span:where(:not(#sonar-duplicate-selector-933)),
main.content > nav.workbench-nav .workbench-link strong:where(:not(#sonar-duplicate-selector-934)){
  grid-column:2!important;
}
main.content > nav.workbench-nav .workbench-link.active em{
  background:#eaf5ff!important;
  color:#0b6ca8!important;
}
.tax-form-page .form-panel:where(:not(#sonar-duplicate-selector-935)){
  max-width:72rem!important;
  margin-inline:auto!important;
}
.tax-form-page .form-field:where(:not(#sonar-duplicate-selector-936)){
  min-height:auto!important;
}
.tax-form-page .field-company input[type="hidden"]{
  display:none!important;
}
.tax-form-page .segmented-form-grid .form-section-title + .form-section-title{
  display:none!important;
}
.tax-form-page .field-municipality,
.tax-form-page .field-default_tariff,
.tax-form-page .field-ciiu_code,
.tax-form-page .field-activity_name,
.tax-form-page .field-rate_per_thousand,
.tax-form-page .field-department_code,
.tax-form-page .field-department,
.tax-form-page .field-dane_code,
.tax-form-page .field-name{
  grid-column:span 1!important;
}
.tax-form-page .checkbox-field:where(:not(#sonar-duplicate-selector-937)){
  min-height:3.8rem!important;
}
.tax-form-page .checkbox-field label:where(:not(#sonar-duplicate-selector-938)){
  font-weight:900!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.tax-form-page .checkbox-field input[type="checkbox"]:where(:not(#sonar-duplicate-selector-939)){
  accent-color:#1556a8!important;
}
.tax-form-page .form-section-title{
  grid-column:1/-1!important;
}
.tax-form-page .form-section-title span{
  color:#0b6ca8!important;
}
@media(min-width:1181px){
  .tax-form-page .segmented-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .tax-form-page .field-calendar_notes:where(:not(#sonar-duplicate-selector-940)),
  .tax-form-page .field-special_rules:where(:not(#sonar-duplicate-selector-941)),
  .tax-form-page .field-version_note:where(:not(#sonar-duplicate-selector-942)){
    grid-column:1/-1!important;
  }
}

/* V61 global visual polish */
.sidebar-brand-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 2.55rem!important;
  align-items:center!important;
  gap:.7rem!important;
}
.sidebar-menu-collapse{
  width:2.55rem!important;
  height:2.55rem!important;
  min-width:2.55rem!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:.85rem!important;
  border:1px solid rgba(203,216,232,.18)!important;
  background:rgba(255,255,255,.08)!important;
  color:#dbeafe!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.sidebar-menu-collapse:hover{
  background:rgba(56,189,248,.18)!important;
  transform:none!important;
}
.sidebar-menu-collapse [data-collapse-icon]{
  width:1.25rem!important;
  height:.9rem!important;
  display:block!important;
  position:relative!important;
  font-size:0!important;
  line-height:0!important;
}
.sidebar-menu-collapse [data-collapse-icon]::before,
.sidebar-menu-collapse [data-collapse-icon]::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  width:100%!important;
  height:2px!important;
  border-radius:999px!important;
  background:currentColor!important;
  box-shadow:0 .39rem 0 currentColor!important;
}
.sidebar-menu-collapse [data-collapse-icon]::before{top:0!important}
.sidebar-menu-collapse [data-collapse-icon]::after{
  top:.78rem!important;
  box-shadow:none!important;
}
body.is-sidebar-collapsed .sidebar-brand-row{
  grid-template-columns:1fr!important;
  justify-items:center!important;
}
body.is-sidebar-collapsed .sidebar-menu-collapse{
  width:2.75rem!important;
  height:2.75rem!important;
}
body.is-sidebar-collapsed .sidebar-menu-collapse [data-collapse-icon]{
  width:1rem!important;
  height:1rem!important;
}
body.is-sidebar-collapsed .sidebar-menu-collapse [data-collapse-icon]::before{
  content:">"!important;
  inset:auto!important;
  width:auto!important;
  height:auto!important;
  position:static!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:1.35rem!important;
  line-height:1!important;
  font-weight:900!important;
}
body.is-sidebar-collapsed .sidebar-menu-collapse [data-collapse-icon]::after{
  display:none!important;
}

.quick-grid{
  align-items:stretch!important;
}
.quick-card{
  display:grid!important;
  grid-template-columns:3.15rem minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:1rem!important;
  row-gap:.25rem!important;
  align-items:center!important;
  min-height:8.25rem!important;
  padding:1.15rem!important;
}
.quick-card .quick-icon{
  grid-row:1 / span 2!important;
  width:3.05rem!important;
  height:3.05rem!important;
  min-width:3.05rem!important;
  border-radius:1rem!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#eaf5ff,#e7f6ee)!important;
  border:1px solid #c8ddf2!important;
  color:#0f4f83!important;
  font-size:.78rem!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 8px 18px rgba(15,23,42,.06)!important;
}
.quick-card strong{
  margin:0!important;
  color:#07152f!important;
  font-size:.98rem!important;
  line-height:1.22!important;
}
.quick-card small{
  display:block!important;
  color:#5b6b85!important;
  line-height:1.35!important;
}
.empty-state.illustrated>span,
.audit-icon{
  width:2.5rem!important;
  height:2.5rem!important;
  display:grid!important;
  place-items:center!important;
  border-radius:.85rem!important;
  background:#eef6ff!important;
  color:#1556a8!important;
  font-size:.72rem!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
}

.form-actions.sticky-actions{
  position:static!important;
  bottom:auto!important;
  z-index:auto!important;
  width:100%!important;
  max-width:none!important;
  margin:1.25rem 0 0!important;
  padding:1rem 0 0!important;
  border:0!important;
  border-top:1px solid #d9e3f0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:.75rem!important;
}
.form-actions.sticky-actions .btn{
  min-width:8.25rem!important;
  box-shadow:none!important;
}
.form-actions.sticky-actions .btn-primary{
  box-shadow:0 10px 20px rgba(21,86,168,.14)!important;
}
.standard-form .form-actions.sticky-actions,
.styled-form .form-actions.sticky-actions,
.tax-form-page .form-actions.sticky-actions,
.standard-form-panel .form-actions.sticky-actions{
  margin:1.25rem 0 0!important;
  margin-left:0!important;
  margin-right:0!important;
  margin-bottom:0!important;
  padding:1rem 0 0!important;
  position:static!important;
  background:transparent!important;
  border-top:1px solid #d9e3f0!important;
  box-shadow:none!important;
}
.standard-form .upload-control{
  grid-column:1/-1!important;
  border-radius:1rem!important;
  padding:1rem!important;
}
.standard-form .upload-control input[type="file"]{
  width:100%!important;
  min-height:2.55rem!important;
  padding:.55rem!important;
  border-radius:.72rem!important;
  border:1px dashed #bfd1e6!important;
  background:#fff!important;
}

@media(max-width:720px){
  .quick-card{
    grid-template-columns:2.9rem minmax(0,1fr)!important;
    min-height:auto!important;
  }
  .quick-card .quick-icon{
    width:2.75rem!important;
    height:2.75rem!important;
    min-width:2.75rem!important;
  }
  .form-actions.sticky-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .form-actions.sticky-actions .btn{
    width:100%!important;
  }
}

/* Search lives inside the dropdown, keeping forms and filter bars compact. */
.searchable-select-container{display:block;position:relative;min-width:0}
.native-searchable-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.searchable-select{display:block;position:relative;width:100%}
.searchable-select-trigger{width:100%;min-height:42px;padding:9px 38px 9px 12px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:var(--ink);font:inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;position:relative}
.searchable-select-trigger::after{content:"⌄";position:absolute;right:13px;top:50%;transform:translateY(-55%);font-weight:900;color:#64748b}
.searchable-select.is-open .searchable-select-trigger{border-color:var(--primary);box-shadow:0 0 0 3px rgba(21,86,168,.12)}
.searchable-select-popup{display:none;position:absolute;z-index:80;top:calc(100% + 6px);left:0;width:max(100%,280px);max-width:min(430px,calc(100vw - 36px));padding:8px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.18)}
.searchable-select.is-open .searchable-select-popup{display:block}
.searchable-select-search{width:100%;height:40px;margin:0 0 7px;padding:8px 11px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc}
.searchable-select-options{display:grid;max-height:260px;overflow:auto;gap:2px}
.searchable-select-option{border:0;border-radius:9px;background:transparent;padding:9px 10px;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.searchable-select-option:hover,.searchable-select-option[aria-selected="true"]{background:#eaf4ff;color:#0f3b7a}
.searchable-select-empty{padding:12px;color:var(--muted);text-align:center;font-size:12px}

/* Repeated actions use compact icons; accessible names remain in the markup. */
.btn.icon-btn,.calendar-action.icon-btn{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:12px!important;font-size:20px!important;line-height:1!important}
.btn.btn-mini.icon-btn,.calendar-action.icon-btn{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;border-radius:10px!important;font-size:17px!important}
.icon-btn span[aria-hidden="true"]{display:block;line-height:1;transform:translateY(-1px)}
.icon-btn-danger{border-color:#fecaca!important;background:#fff7f7!important;color:#b91c1c!important}
.icon-btn-danger:hover{background:#fee2e2!important}
.btn-with-icon{display:inline-flex!important;align-items:center!important;gap:8px!important}
.icon-download::before,.icon-execute::before,.icon-cancel::before{content:"";display:inline-block;flex:0 0 18px;width:18px;height:18px;background:currentColor;mask-position:center;mask-repeat:no-repeat;mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain}
.icon-download::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E")}
.icon-execute::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l12-7.5z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l12-7.5z'/%3E%3C/svg%3E")}
.icon-cancel::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E")}
.icon-btn.icon-download::before,.icon-btn.icon-execute::before,.icon-btn.icon-cancel::before{flex-basis:19px;width:19px;height:19px}

/* Account-position matrix and bulk review workspace. */
.rule-search-panel{padding:12px 14px!important}
.rule-search-form{display:grid!important;grid-template-columns:minmax(260px,1fr) auto auto!important;gap:8px!important;max-width:none!important}
.rule-search-form input{min-height:42px!important}
.rule-list-panel{padding:18px!important}
.rule-matrix-table th{white-space:nowrap}
.rule-matrix-table td:nth-child(2){min-width:180px}
.rule-matrix-table td:nth-child(4){min-width:210px}
.rule-matrix-table td:nth-child(9){min-width:220px;color:var(--muted);font-size:12px;line-height:1.45}
.rule-form-page{max-width:1120px!important}
.rule-form-panel{padding:0!important;overflow:visible!important}
.rule-form-section{padding:20px 22px;border-bottom:1px solid #e5edf6}
.rule-section-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:16px}
.rule-section-heading>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:#eaf4ff;color:#0f3b7a;font-size:11px;font-weight:950}
.rule-section-heading strong,.rule-section-heading small{display:block}
.rule-section-heading strong{color:var(--ink);font-size:15px}
.rule-section-heading small{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.4}
.rule-form-grid{display:grid;gap:14px;align-items:start}
.rule-form-grid.two-columns{grid-template-columns:1.25fr 1fr}
.rule-form-grid.three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
.rule-form-grid .form-field{display:grid!important;grid-column:auto!important;gap:7px!important;min-width:0}
.rule-form-grid .form-field>label{font-size:11px!important;font-weight:900!important;letter-spacing:.035em!important;text-transform:uppercase!important;color:#475569!important}
.rule-form-grid input:not([type="checkbox"]),.rule-form-grid select,.rule-form-grid textarea{width:100%!important;min-height:44px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;padding:9px 11px!important;background:#fff!important;font:inherit!important}
.rule-form-grid textarea{min-height:92px!important;resize:vertical}
.rule-form-grid .is-locked input{background:#f1f5f9!important;color:#64748b!important}
.rule-form-grid .rule-active{display:flex!important;width:max-content!important;min-height:44px!important;padding:10px 12px!important;background:#f8fafc!important}
.rule-form-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px;background:#f8fafc;border-radius:0 0 18px 18px}
.bulk-review-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 13px;border:1px solid #dbe7f3;border-bottom:0;border-radius:14px 14px 0 0;background:#eef6ff}
.bulk-review-head strong,.bulk-review-head small{display:block}.bulk-review-head small{margin-top:2px;color:var(--muted);font-size:11px}
.selection-counter{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#fff;color:#0f3b7a;font-size:11px;font-weight:900;border:1px solid #cfe3fb}
.bulk-review-toolbar{border-radius:0 0 14px 14px!important;grid-template-columns:1fr 1.15fr 1fr 1.4fr auto auto!important}
.bulk-review-toolbar .btn:disabled{opacity:.48;cursor:not-allowed}
.bulk-review-form .modern-table th:first-child,.bulk-review-form .modern-table td:first-child{width:44px;min-width:44px;text-align:center;position:sticky;left:0;z-index:2;background:inherit}
@media(max-width:1000px){.rule-form-grid.two-columns,.rule-form-grid.three-columns{grid-template-columns:1fr 1fr}.bulk-review-toolbar{grid-template-columns:1fr 1fr!important}.bulk-review-toolbar .bulk-note{grid-column:1/-1}}
@media(max-width:680px){.rule-search-form,.rule-form-grid.two-columns,.rule-form-grid.three-columns,.bulk-review-toolbar{grid-template-columns:1fr!important}.rule-search-form .icon-btn{width:100%!important}.rule-form-section{padding:17px}.rule-form-actions{position:sticky;bottom:0;z-index:12}.bulk-review-head{align-items:flex-start}.bulk-review-head small{display:none}.bulk-review-toolbar .bulk-note{grid-column:auto}}
.bulk-review-form{display:grid;gap:12px}
.bulk-review-toolbar{display:grid;gap:10px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:0 0 14px 14px;background:#f8fafc}
.bulk-review-toolbar label{display:grid;gap:5px;font-size:11px;font-weight:850;color:#475569}
.bulk-review-toolbar input:not([type="checkbox"]),.bulk-review-toolbar select{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:10px;padding:7px 10px;background:#fff}
.bulk-review-toolbar .bulk-confirm{display:flex!important;min-height:40px;padding:9px;border:1px solid #dbe7f3;border-radius:10px;background:#fff;color:var(--ink)}
#main-content .checkbox-field{align-items:center!important}
#main-content .checkbox-field input[type="checkbox"]{grid-column:1!important;grid-row:1!important}
#main-content .checkbox-field label{grid-column:2!important;grid-row:1!important;text-align:left!important}

/* Searchable tax profiles and large relational selectors. */
.profile-filter-form{display:grid!important;grid-template-columns:minmax(16rem,2fr) repeat(3,minmax(10rem,1fr)) auto auto;align-items:end!important}
.profile-filter-form label{min-width:0!important}
.profile-filter-form input,.profile-filter-form select{width:100%!important;min-width:0!important}
.profile-table .compact-tags{display:flex;gap:.3rem;flex-wrap:wrap}
.profile-table .compact-tags em{padding:.25rem .45rem;border-radius:999px;background:#eef6ff;color:#1556a8;font-size:.68rem;font-style:normal;font-weight:800;white-space:nowrap}
.pagination{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:1rem}
.pagination span{color:var(--muted);font-size:.8rem;font-weight:800}
.select-text-filter{min-height:2.2rem!important;margin-bottom:.35rem!important;border-style:dashed!important;background:#fbfdff!important;font-size:.78rem!important}
@media(max-width:1180px){.profile-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-filter-form .filter-search{grid-column:1/-1}}
@media(max-width:720px){.profile-filter-form{grid-template-columns:1fr!important}.profile-filter-form .filter-search{grid-column:auto}.pagination{justify-content:space-between}.pagination .btn{width:auto!important}}

#main-content .report-card-grid.download-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(16.5rem,100%),1fr))!important;
  gap:1rem!important;
}
#main-content .report-card-grid.download-grid > .report-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-content:space-between!important;
  gap:1.1rem!important;
  min-height:13.5rem!important;
  padding:1.2rem!important;
  overflow:hidden!important;
}
#main-content .report-card-copy{
  display:grid!important;
  grid-template-columns:2.7rem minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  column-gap:.85rem!important;
  row-gap:.25rem!important;
  align-items:start!important;
}
#main-content .report-card-copy::before{
  grid-row:1 / span 3!important;
  width:2.35rem!important;
  height:2.35rem!important;
  border-radius:.82rem!important;
  background:linear-gradient(135deg,#eaf5ff,#e7f6ee)!important;
  border:1px solid #b8ddfb!important;
  box-shadow:none!important;
}
#main-content .report-card-copy::after{
  display:none!important;
  content:none!important;
}
#main-content .report-card-copy span,
#main-content .report-card-copy strong,
#main-content .report-card-copy small{
  grid-column:2!important;
  min-width:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
#main-content .report-card-copy span{
  color:#667894!important;
  font-size:.68rem!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
#main-content .report-card-copy strong{
  font-size:1rem!important;
  line-height:1.18!important;
}
#main-content .report-card-copy small{
  font-size:.82rem!important;
  line-height:1.4!important;
}
#main-content .report-card-grid.download-grid > .report-card .btn{
  width:fit-content!important;
  justify-self:end!important;
  min-width:7rem!important;
}

#main-content .quick-card{
  display:grid!important;
  grid-template-columns:3.15rem minmax(0,1fr)!important;
}
#main-content .quick-card .quick-icon{
  font-size:.78rem!important;
}
#main-content .empty-state.illustrated>span{
  margin:0 auto .85rem!important;
}
#main-content .audit-item .audit-icon{
  flex:0 0 2.5rem!important;
  margin:0!important;
}

/* V62 full-width forms and admin action cards */
.single-panel,
.tax-form-page,
.profile-form-page,
.municipality-form-page,
.tariff-form-page{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.single-panel .form-panel,
.tax-form-page .form-panel,
.profile-form-page .form-panel,
.municipality-form-page .form-panel,
.tariff-form-page .form-panel,
.tax-form-page .standard-form-panel{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.tax-form-page .segmented-form-grid,
.profile-form-page .segmented-form-grid,
.municipality-form-page .segmented-form-grid,
.tariff-form-page .segmented-form-grid{
  width:100%!important;
  grid-template-columns:repeat(4,minmax(13rem,1fr))!important;
  gap:1rem!important;
}
.tax-form-page .form-field,
.profile-form-page .form-field,
.municipality-form-page .form-field,
.tariff-form-page .form-field{
  grid-column:span 2!important;
}
.tax-form-page .field-company,
.tax-form-page .field-municipality,
.tax-form-page .field-default_tariff,
.tax-form-page .field-periodicity{
  grid-column:span 2!important;
}
.tax-form-page .field-calendar_notes,
.tax-form-page .field-special_rules,
.tax-form-page .field-version_note,
.tax-form-page .field-legal_reference,
.tax-form-page .field-description,
.tax-form-page .field-activity_name{
  grid-column:1/-1!important;
}
.tax-form-page .checkbox-field{
  grid-column:span 1!important;
}
.tax-form-page .form-section-title{
  grid-column:1/-1!important;
}

.admin-grid.quick-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(18rem,100%),1fr))!important;
}
#main-content .admin-grid .quick-card{
  display:grid!important;
  grid-template-columns:3rem minmax(0,1fr)!important;
  grid-template-rows:auto auto 1fr auto!important;
  align-items:start!important;
  gap:.7rem 1rem!important;
  min-height:13rem!important;
}
#main-content .admin-grid .quick-card .quick-icon{
  grid-row:1 / span 2!important;
}
#main-content .admin-grid .quick-card strong,
#main-content .admin-grid .quick-card small{
  grid-column:2!important;
}
#main-content .admin-grid .quick-card .card-actions{
  grid-column:1/-1!important;
  align-self:end!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:.65rem!important;
  width:100%!important;
  margin-top:1rem!important;
}
#main-content .admin-grid .quick-card .card-actions .btn{
  width:auto!important;
  min-width:6.5rem!important;
  max-width:none!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  padding:.65rem .85rem!important;
  line-height:1.2!important;
}
#main-content .admin-grid .quick-card .card-actions .btn-light{
  justify-self:stretch!important;
}
#main-content .admin-grid .quick-card .card-actions .btn-primary{
  justify-self:end!important;
}

@media(max-width:1280px){
  .tax-form-page .segmented-form-grid,
  .profile-form-page .segmented-form-grid,
  .municipality-form-page .segmented-form-grid,
  .tariff-form-page .segmented-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .tax-form-page .checkbox-field{
    grid-column:span 1!important;
  }
}
@media(max-width:720px){
  .tax-form-page .segmented-form-grid,
  .profile-form-page .segmented-form-grid,
  .municipality-form-page .segmented-form-grid,
  .tariff-form-page .segmented-form-grid,
  #main-content .admin-grid .quick-card .card-actions{
    grid-template-columns:1fr!important;
  }
  .tax-form-page .form-field,
  .profile-form-page .form-field,
  .municipality-form-page .form-field,
  .tariff-form-page .form-field,
  .tax-form-page .checkbox-field{
    grid-column:1/-1!important;
  }
  #main-content .admin-grid .quick-card .card-actions .btn{
    width:100%!important;
    justify-self:stretch!important;
  }
}

/* V63 stronger form distribution fixes */
#main-content .form-layout.single-panel,
#main-content .form-layout.improved-form-layout,
#main-content .form-layout.single-panel.tax-form-page{
  width:100%!important;
  max-width:none!important;
  margin:0 0 1.35rem!important;
  padding:0!important;
  justify-items:stretch!important;
}
#main-content .form-layout.single-panel > .form-panel,
#main-content .form-layout.single-panel.tax-form-page > .form-panel,
#main-content .tax-form-page > .form-panel,
#main-content .tax-form-page .form-panel{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
#main-content .tax-form-page .improved-form,
#main-content .tax-form-page .card-form{
  width:100%!important;
}
#main-content .tax-form-page .segmented-form-grid{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:1rem!important;
  padding:1rem!important;
}
#main-content .tax-form-page .form-section-title{
  grid-column:1/-1!important;
}
#main-content .tax-form-page .form-field{
  grid-column:span 2!important;
}
#main-content .tax-form-page .field-company,
#main-content .tax-form-page .field-municipality,
#main-content .tax-form-page .field-default_tariff,
#main-content .tax-form-page .field-periodicity,
#main-content .tax-form-page .field-year,
#main-content .tax-form-page .field-period,
#main-content .tax-form-page .field-department_code,
#main-content .tax-form-page .field-department,
#main-content .tax-form-page .field-dane_code,
#main-content .tax-form-page .field-name,
#main-content .tax-form-page .field-ciiu_code,
#main-content .tax-form-page .field-rate_per_thousand,
#main-content .tax-form-page .field-valid_from,
#main-content .tax-form-page .field-valid_to{
  grid-column:span 2!important;
}
#main-content .tax-form-page .field-activity_name,
#main-content .tax-form-page .field-description,
#main-content .tax-form-page .field-calendar_notes,
#main-content .tax-form-page .field-special_rules,
#main-content .tax-form-page .field-version_note,
#main-content .tax-form-page .field-legal_reference{
  grid-column:1/-1!important;
}
#main-content .tax-form-page .checkbox-field{
  grid-column:span 1!important;
  min-height:3.25rem!important;
  align-content:center!important;
}
#main-content .tax-form-page .form-actions.sticky-actions{
  width:100%!important;
  margin:1.25rem 0 0!important;
  padding:1rem 0 0!important;
}

#main-content .calendar-side-panel .styled-form,
#main-content .calendar-side .styled-form,
#main-content .calendar-side-panel form{
  width:100%!important;
}
#main-content .calendar-side-panel .btn,
#main-content .calendar-side .btn{
  width:100%!important;
  min-width:0!important;
}
#main-content .calendar-side-panel input,
#main-content .calendar-side-panel select,
#main-content .calendar-side-panel textarea,
#main-content .calendar-side input,
#main-content .calendar-side select,
#main-content .calendar-side textarea{
  width:100%!important;
  max-width:none!important;
}

@media(min-width:1500px){
  #main-content .tax-form-page .segmented-form-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
  #main-content .tax-form-page .form-field,
  #main-content .tax-form-page .field-company,
  #main-content .tax-form-page .field-municipality,
  #main-content .tax-form-page .field-default_tariff,
  #main-content .tax-form-page .field-periodicity,
  #main-content .tax-form-page .field-year,
  #main-content .tax-form-page .field-period,
  #main-content .tax-form-page .field-department_code,
  #main-content .tax-form-page .field-department,
  #main-content .tax-form-page .field-dane_code,
  #main-content .tax-form-page .field-name,
  #main-content .tax-form-page .field-ciiu_code,
  #main-content .tax-form-page .field-rate_per_thousand,
  #main-content .tax-form-page .field-valid_from,
  #main-content .tax-form-page .field-valid_to{
    grid-column:span 2!important;
  }
  #main-content .tax-form-page .checkbox-field{
    grid-column:span 1!important;
  }
}
@media(max-width:1100px){
  #main-content .tax-form-page .segmented-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #main-content .tax-form-page .form-field,
  #main-content .tax-form-page .checkbox-field{
    grid-column:span 1!important;
  }
  #main-content .tax-form-page .field-activity_name,
  #main-content .tax-form-page .field-description,
  #main-content .tax-form-page .field-calendar_notes,
  #main-content .tax-form-page .field-special_rules,
  #main-content .tax-form-page .field-version_note,
  #main-content .tax-form-page .field-legal_reference{
    grid-column:1/-1!important;
  }
}
@media(max-width:720px){
  #main-content .tax-form-page .segmented-form-grid{
    grid-template-columns:1fr!important;
  }
  #main-content .tax-form-page .form-field,
  #main-content .tax-form-page .checkbox-field{
    grid-column:1/-1!important;
  }
}
.municipality-search {
  margin-bottom: 0.55rem;
}
.account-multicheck-field{
  grid-column:1/-1!important;
}
.account-multicheck-field>div[id^="id_selected_accounts"]{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:10px;
  max-height:380px;
  overflow:auto;
  padding:14px;
  border:1px solid #cbd5e1;
  border-radius:16px;
  background:#f8fbff;
}
.account-selection-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:2px 0 8px;
}
.account-selection-toolbar span{
  color:#52657c;
  font-size:12px;
  font-weight:800;
}
.account-multicheck-field>div[id^="id_selected_accounts"]>div label{
  display:flex!important;
  align-items:center;
  gap:10px;
  min-height:44px!important;
  padding:9px 11px;
  border:1px solid #dbe7f3;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  font-size:12px!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.account-multicheck-field input[type="checkbox"]{
  width:18px!important;
  height:18px!important;
  min-height:18px!important;
  padding:0!important;
  flex:0 0 auto;
}
.account-multicheck-field>div[id^="id_selected_accounts"]>div label:has(input:checked){
  border-color:#1556a8;
  background:#eaf3ff;
  box-shadow:0 0 0 2px rgba(21,86,168,.08);
}

/* Compact Odoo account multicheck. Kept at the end to override generic forms. */
.standard-form .account-multicheck-field>div[id^="id_selected_accounts"]{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(185px,1fr))!important;
  gap:6px!important;
  max-height:300px!important;
  padding:10px!important;
}
.standard-form .account-multicheck-field>div[id^="id_selected_accounts"]>div{
  min-width:0!important;
}
.standard-form .account-multicheck-field>div[id^="id_selected_accounts"] label{
  display:flex!important;
  flex-direction:row!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:7px!important;
  min-height:32px!important;
  height:auto!important;
  margin:0!important;
  padding:5px 7px!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  text-align:left!important;
}
.standard-form .account-multicheck-field input[type="checkbox"]{
  appearance:auto!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
  margin:0!important;
  padding:0!important;
}

.nested-form-card{
  margin:16px 0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f8fafc;
}
.nested-form-card + .nested-form-card{margin-top:18px}

/* Stable utilities retained without overriding the corporate V63 layout. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.table-details{margin-top:6px;max-width:420px}.table-details summary{cursor:pointer;color:var(--primary);font-weight:800;font-size:12px}.table-details span{display:block;margin-top:6px;max-height:110px;overflow:auto;overflow-wrap:anywhere;color:var(--muted);font-size:11px;line-height:1.45}
.context-help{max-width:1180px;margin:16px auto 24px;border:1px solid var(--line);border-radius:14px;background:#fff}.context-help summary{cursor:pointer;padding:13px 16px;font-weight:800;color:var(--ink)}.context-help p{margin:0;padding:0 16px 15px;color:var(--muted)}
.hero-actions form{margin:0}
.table-wrap{scrollbar-width:thin;overscroll-behavior-inline:contain}
.modern-table td,.modern-table th{vertical-align:top}

/* Final checkbox override: no later form rule may resize confirmation controls. */
#main-content input[type="checkbox"]:not(.sidebar-toggle),
#main-content input[type="radio"]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  box-sizing:border-box!important;
  flex:0 0 18px!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  margin:0!important;
  padding:0!important;
  accent-color:#1556a8!important;
  box-shadow:none!important;
  vertical-align:middle!important;
}
#main-content input[type="radio"]{border-radius:50%!important}
#main-content label:has(> input[type="checkbox"]),
#main-content label:has(> input[type="radio"]){display:flex!important;align-items:center!important;gap:8px!important;line-height:1.3!important}

/* Screenshot-led visual stabilization: compact headers, proportional cards and actions. */
#main-content .topbar.glass{
  min-height:0!important;
  height:auto!important;
  padding:16px 18px!important;
  margin-bottom:16px!important;
  border-radius:20px!important;
  align-items:center!important;
  gap:18px!important;
}
#main-content .topbar h1{font-size:clamp(25px,2vw,32px)!important;line-height:1.1!important}
#main-content .topbar-tools{gap:10px!important;width:min(760px,100%)!important;justify-self:end!important;justify-items:end!important}
#main-content .top-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:9px!important;width:auto!important;max-width:760px!important}
#main-content .top-actions .btn{flex:0 0 auto!important;min-width:0!important;min-height:40px!important;height:40px!important;padding:8px 14px!important;font-size:13px!important;border-radius:12px!important}
#main-content .global-company-card{margin:0!important}

#main-content .report-card-grid.download-grid{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))!important;gap:14px!important}
#main-content .report-card-grid.download-grid>.report-card{
  grid-template-columns:minmax(0,1fr) 40px!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  min-height:136px!important;
  padding:16px!important;
  gap:12px!important;
}
#main-content .report-card-grid.download-grid>.report-card .report-card-copy{grid-column:1!important}
#main-content .report-card-grid.download-grid>.report-card .report-card-copy::before{
  content:""!important;
  background-color:#edf8f2!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316784b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5M9 12h6M9 16h6M12 10v8'/%3E%3C/svg%3E")!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:21px!important;
}
#main-content .report-card-grid.download-grid>.report-card .btn.icon-btn{
  grid-column:2!important;
  align-self:center!important;
  justify-self:end!important;
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  border-radius:12px!important;
}

#main-content .admin-grid.quick-grid{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))!important;gap:14px!important}
#main-content .admin-grid .quick-card{
  grid-template-columns:44px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-content:center!important;
  min-height:112px!important;
  padding:16px!important;
  gap:4px 12px!important;
}
#main-content .admin-grid .quick-card .quick-icon{grid-row:1/span 2!important;width:44px!important;height:44px!important;font-size:20px!important;border-radius:14px!important}
#main-content .admin-grid .quick-card strong{margin:0!important;font-size:15px!important;line-height:1.25!important}
#main-content .admin-grid .quick-card small{font-size:12px!important;line-height:1.35!important}

#main-content .hero-actions,#main-content .ops-actions,#main-content .button-row{gap:9px!important}
#main-content .hero-actions .btn,#main-content .ops-actions .btn{min-height:40px!important;padding:8px 13px!important;font-size:12.5px!important}

@media(max-width:980px){
  #main-content .topbar.glass{align-items:stretch!important}
  #main-content .topbar-tools{width:100%!important;justify-self:stretch!important;justify-items:stretch!important}
  #main-content .top-actions{width:100%!important;justify-content:flex-start!important}
  #main-content .report-card-grid.download-grid>.report-card{min-height:124px!important}
}
@media(max-width:600px){
  #main-content .topbar.glass{padding:14px!important}
  #main-content .top-actions .btn{flex:1 1 auto!important}
  #main-content .report-card-grid.download-grid>.report-card{grid-template-columns:minmax(0,1fr) 40px!important}
}

/* Screenshot review: fluid BI values and compact operational summaries. */
#main-content .bi-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
#main-content .bi-kpi-grid .kpi-card{min-width:0!important;overflow:hidden!important}
#main-content .bi-kpi-grid .kpi-card strong{display:block!important;max-width:100%!important;font-size:clamp(21px,1.7vw,28px)!important;line-height:1.08!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important;letter-spacing:-.025em!important}
#main-content .dashboard-recent-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
#main-content .dashboard-recent-table th:nth-child(1),#main-content .dashboard-recent-table td:nth-child(1){width:25%!important}
#main-content .dashboard-recent-table th:nth-child(3),#main-content .dashboard-recent-table td:nth-child(3){width:112px!important}
#main-content .dashboard-recent-table .table-link{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

/* Secondary header destinations remain available without forcing multi-row headers. */
#main-content .header-action-menu{position:relative!important;margin:0!important}
#main-content .header-action-menu>summary{list-style:none!important;cursor:pointer!important;user-select:none!important}
#main-content .header-action-menu>summary::-webkit-details-marker{display:none!important}
#main-content .header-action-menu>summary::after{content:"⌄";margin-left:8px;font-size:12px}
#main-content .header-action-menu[open]>summary{border-color:#8fb4df!important;background:#eef6ff!important}
#main-content .header-action-menu>nav{position:absolute!important;z-index:120!important;top:calc(100% + 7px)!important;right:0!important;display:grid!important;width:210px!important;padding:7px!important;border:1px solid #d4e1ef!important;border-radius:13px!important;background:#fff!important;box-shadow:0 16px 36px rgba(15,23,42,.16)!important}
#main-content .header-action-menu>nav a{padding:10px 11px!important;border-radius:9px!important;color:#10213d!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important}
#main-content .header-action-menu>nav a:hover{background:#edf5fd!important;color:#1556a8!important}
@media(max-width:720px){
  #main-content .dashboard-recent-table th:nth-child(1),#main-content .dashboard-recent-table td:nth-child(1){width:34%!important}
  #main-content .dashboard-recent-table th:nth-child(3),#main-content .dashboard-recent-table td:nth-child(3){width:92px!important}
}
@media(max-width:1100px){#main-content .bi-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){#main-content .bi-kpi-grid{grid-template-columns:1fr!important}}

/* The fixed sidebar must not leave an unused column on wide screens. */
@media(min-width:981px){
  #main-content{width:calc(100vw - var(--sidebar-w))!important;max-width:none!important;margin-right:0!important}
  body.is-sidebar-collapsed #main-content{width:calc(100vw - var(--sidebar-w))!important}
  #main-content .tax-calendar-page,#main-content .real-calendar{width:100%!important;max-width:none!important}
}

/* V93: fluid overview grids; no fixed column count can clip a card. */
.page-dashboard #main-content,
.page-tax-home #main-content,
.page-admin-home #main-content{--overview-gap:clamp(12px,1.15vw,18px)}
.page-dashboard #main-content .graphic-board{grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr)!important;gap:var(--overview-gap)!important}
.page-dashboard #main-content .process-rail{gap:12px!important}
.page-dashboard #main-content .rail-step{min-width:0!important;padding:16px!important}
.page-dashboard #main-content .compact-kpis{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))!important}
.page-tax-home #main-content .kpi-grid,
.page-admin-home #main-content .admin-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))!important;gap:var(--overview-gap)!important}
.page-dashboard #main-content .quick-grid,
.page-tax-home #main-content .quick-grid,
.page-admin-home #main-content .quick-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))!important;gap:var(--overview-gap)!important}
.page-tax-home #main-content .kpi-card,
.page-admin-home #main-content .kpi-card{min-width:0!important;min-height:118px!important;padding:16px!important;overflow:hidden!important}
.page-tax-home #main-content .kpi-card strong,
.page-admin-home #main-content .kpi-card strong{max-width:100%!important;white-space:nowrap!important}
.page-tax-home #main-content .quick-card,
.page-admin-home #main-content .admin-grid .quick-card,
.page-dashboard #main-content .quick-card{min-height:96px!important;padding:15px!important}
.page-dashboard #main-content .quick-icon svg{width:22px;height:22px;fill:currentColor}
@media(max-width:900px){.page-dashboard #main-content .graphic-board{grid-template-columns:1fr!important}}
@media(max-width:620px){.page-dashboard #main-content .process-rail{grid-template-columns:1fr!important}}

/* V91: scalable dashboard activity center. */
.page-dashboard #main-content .dashboard-activity{
  margin:0 0 18px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--shadow-soft);
}
.page-dashboard #main-content .dashboard-activity-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding:0 2px 16px;
}
.page-dashboard #main-content .dashboard-activity-head h2{margin:3px 0 4px;font-size:clamp(20px,1.6vw,25px)}
.page-dashboard #main-content .dashboard-activity-head p:last-child{margin:0;color:var(--muted);font-size:13px}
.page-dashboard #main-content .activity-totals{display:flex;flex:0 0 auto;gap:8px}
.page-dashboard #main-content .activity-totals span{padding:8px 12px;border:1px solid #d7e5f2;border-radius:999px;background:#f5f9fd;color:var(--muted);font-size:12px;font-weight:800}
.page-dashboard #main-content .activity-totals strong{color:var(--ink);font-size:14px}
.page-dashboard #main-content .dashboard-activity-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:14px;align-items:start}
.page-dashboard #main-content .activity-panel{min-width:0;margin:0!important;padding:0 0 12px!important;border-radius:17px!important;box-shadow:none!important;overflow:hidden}
.page-dashboard #main-content .activity-panel .panel-head{min-height:64px;margin:0!important;padding:14px 16px 10px!important;border-bottom:1px solid var(--line)}
.page-dashboard #main-content .activity-panel .panel-head h3{font-size:16px!important}
.page-dashboard #main-content .activity-panel .table-wrap{border:0!important;border-radius:0!important}
.page-dashboard #main-content .activity-panel .modern-table th{padding:9px 14px!important;font-size:10px!important}
.page-dashboard #main-content .activity-panel .modern-table td{padding:10px 14px!important;font-size:12px!important;vertical-align:middle!important}
.page-dashboard #main-content .activity-panel .timeline{gap:0;padding:0}
.page-dashboard #main-content .activity-panel .timeline-item{min-height:48px;padding:10px 14px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff}
.page-dashboard #main-content .activity-panel .timeline-item:hover{transform:none;background:#f3f8fd}
.page-dashboard #main-content .activity-panel .timeline-item strong{font-size:12px}
.page-dashboard #main-content .activity-panel .timeline-item p{margin-top:2px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-dashboard #main-content .activity-panel .dot{width:8px;height:8px;margin:6px 2px 0;box-shadow:0 0 0 4px #e0f2fe}
.page-dashboard #main-content .dashboard-activity-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:14px}
.page-dashboard #main-content .dashboard-activity-actions .btn{min-height:36px;padding:7px 11px;font-size:12px}
@media(max-width:900px){
  .page-dashboard #main-content .dashboard-activity-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .page-dashboard #main-content .dashboard-activity{padding:14px}
  .page-dashboard #main-content .dashboard-activity-head{align-items:flex-start;flex-direction:column}
  .page-dashboard #main-content .activity-totals{width:100%}
  .page-dashboard #main-content .activity-totals span{flex:1;text-align:center}
  .page-dashboard #main-content .dashboard-activity-actions{align-items:stretch;flex-direction:column}
  .page-dashboard #main-content .dashboard-activity-actions .btn{width:100%}
}
.auth-alternate{display:grid;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid #dbe4ee;text-align:center}
.auth-alternate>span{color:#60728a;font-size:12px;font-weight:800}
.auth-alternate .btn{min-height:40px}

/* V92: high-volume layouts are page-scoped to preserve established screens. */
.page-tax-home #main-content>.two-col{
  grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr)!important;
  gap:16px!important;
  align-items:start!important;
}
.page-tax-home #main-content>.two-col>.panel{min-width:0!important;margin-bottom:0!important}
.page-tax-home #main-content>.two-col .table-wrap{max-height:430px;overflow:auto!important;scrollbar-width:thin}
.page-tax-home #main-content>.two-col .table-wrap thead{position:sticky;top:0;z-index:3}
.page-tax-home #main-content>.two-col .modern-table th{white-space:nowrap!important}
.page-tax-home #main-content>.two-col .modern-table th:first-child,
.page-tax-home #main-content>.two-col .modern-table td:first-child{width:132px!important;white-space:nowrap!important}
.page-tax-home #main-content>.two-col .timeline{max-height:430px;overflow:auto;padding-right:4px;scrollbar-width:thin}
.page-tax-home #main-content>.two-col .timeline-item{min-width:0!important}
.page-tax-home #main-content>.two-col .timeline-item div{min-width:0!important}
.page-tax-home #main-content>.two-col .timeline-item p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1050px){
  .page-tax-home #main-content>.two-col{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  .page-tax-home #main-content>.two-col .table-wrap{max-height:60vh}
  .page-tax-home #main-content>.two-col .timeline{max-height:none;overflow:visible}
}
