@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin.52d04440a9fa.woff2") format("woff2");
}

:root {
  --ink: #17242a;
  --ink-soft: #26363d;
  --muted: #68757b;
  --line: #e3e0d8;
  --paper: #ffffff;
  --warm: #f7f5f0;
  --teal: #164a52;
  --teal-deep: #103941;
  --teal-bright: #1c5d66;
  --gold: #c9972e;
  --gold-soft: #f4e9cc;
  --orange: #c96b32;
  --orange-deep: #a95329;
  --amber: #d1a33f;
  --success: #18815b;
  --danger: #b83f37;
  --shadow: 0 22px 70px rgba(24, 38, 43, .11);
  --font: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); font-family: var(--font); font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; background: var(--warm); }
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; }

.auth-body { min-height: 100vh; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); }
.auth-story { min-width: 0; min-height: 100vh; padding: clamp(32px, 4.5vw, 68px) clamp(34px, 6vw, 92px); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 42px; color: white; background: linear-gradient(145deg, #12151a 0%, #1d2026 55%, #23262b 100%); }
.auth-story::before { content: ""; position: absolute; inset: 0; z-index: -3; opacity: .18; background-image: radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(120deg, transparent 5%, black 40%, transparent 93%); }
.auth-story::after { content: ""; position: absolute; width: 680px; height: 680px; right: -340px; top: 8%; z-index: -2; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 62px rgba(255,255,255,.02), 0 0 0 124px rgba(255,255,255,.014); }
.ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(12px); }
.ambient-one { width: 380px; height: 380px; left: -180px; bottom: 4%; background: radial-gradient(circle, rgba(239,118,34,.32), transparent 68%); }
.ambient-two { width: 420px; height: 420px; right: -160px; top: 18%; background: radial-gradient(circle, rgba(243,179,47,.22), transparent 70%); }

.auth-brand { width: max-content; max-width: 100%; display: flex; align-items: center; gap: 13px; color: white; text-decoration: none; }
.auth-brand-mark { width: 52px; height: 52px; padding: 5px; display: grid; place-items: center; overflow: hidden; border-radius: 15px; background: white; box-shadow: 0 9px 28px rgba(0,0,0,.2); }
.auth-brand-mark img { width: 100%; display: block; }
.auth-brand span:last-child { min-width: 0; }
.auth-brand strong, .auth-brand small { display: block; }
.auth-brand strong { font-size: 16px; letter-spacing: -.02em; }
.auth-brand small { margin-top: 3px; color: #9da4ae; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.auth-story-content { width: min(690px, 100%); }
.eyebrow, .overline { margin: 0 0 12px; color: var(--orange); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.auth-story h1 { max-width: 650px; margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1; letter-spacing: -.045em; }
.story-lead { max-width: 630px; margin: 22px 0 0; color: #b5bbc4; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.7; }
.flow-grid { margin-top: clamp(28px, 4vh, 42px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.flow-card { min-width: 0; min-height: 88px; padding: 15px; display: grid; grid-template-columns: 39px minmax(0, 1fr); align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.045); backdrop-filter: blur(12px); }
.flow-icon { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(209,163,63,.36); border-radius: 11px; color: #d9ad4c; font-size: 10px; font-weight: 700; }
.flow-card strong, .flow-card small { display: block; }
.flow-card strong { margin-bottom: 4px; font-size: 13px; }
.flow-card small { color: #9da6b1; font-size: 10.5px; line-height: 1.45; }
.security-note { display: flex; align-items: center; gap: 12px; color: #a9b0ba; }
.security-shield { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(243,179,47,.32); border-radius: 50%; color: #f3b32f; }
.security-note strong, .security-note small { display: block; }
.security-note strong { margin-bottom: 2px; color: #e9ebee; font-size: 11.5px; }
.security-note small { font-size: 10px; }

.auth-panel { min-width: 0; padding: clamp(24px, 4.5vw, 68px); display: grid; place-items: center; background: radial-gradient(circle at 10% 0, rgba(243,179,47,.08), transparent 35%), var(--warm); }
.auth-card { width: 100%; max-width: 460px; padding: clamp(30px, 3.8vw, 46px); border: 1px solid rgba(24,27,34,.09); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.panel-logo { margin-bottom: 34px; }
.brand-lockup { width: max-content; max-width: 100%; display: flex; align-items: center; gap: 10px; }
.brand-lockup-mark { width: 41px; height: 41px; padding: 4px; display: grid; place-items: center; overflow: hidden; border: 1px solid #ece7df; border-radius: 11px; background: white; box-shadow: 0 7px 18px rgba(22,26,31,.08); }
.brand-lockup-mark img { width: 100%; display: block; }
.brand-lockup-copy strong, .brand-lockup-copy small { display: block; }
.brand-lockup-copy strong { font-size: 18px; line-height: 1; letter-spacing: -.04em; }
.brand-lockup-copy small { margin-top: 5px; color: #7d736a; font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.auth-card h2 { margin: 0; font-size: clamp(30px, 3vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.auth-intro { margin: 10px 0 27px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-card label { margin: 17px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #414956; font-size: 12px; font-weight: 600; }
.field-required { color: #a06b2a; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.auth-card input { width: 100%; height: 49px; padding: 0 14px; border: 1px solid #cfd4dc; border-radius: 11px; outline: none; color: var(--ink); background: white; transition: border-color .15s ease, box-shadow .15s ease; }
.auth-card input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22,74,82,.11); }
.password-field { position: relative; }
.password-field input { padding-right: 76px; }
.password-toggle { position: absolute; right: 6px; top: 6px; height: 37px; padding: 0 9px; border: 0; border-radius: 8px; color: var(--teal); background: #edf4f3; font-size: 10px; font-weight: 700; cursor: pointer; }
.auth-help { margin-top: 12px; text-align: right; }
.auth-help a, .back-link { color: var(--teal); font-size: 11px; font-weight: 600; text-decoration: none; }
.auth-help a:hover, .back-link:hover { text-decoration: underline; }
.form-alert { margin-bottom: 17px; padding: 11px 12px; border: 1px solid #efc5c2; border-radius: 10px; color: #88342f; background: #fff3f2; font-size: 11px; }
.field-error, .errorlist { margin: 6px 0 0; padding: 0; color: var(--danger); font-size: 10px; list-style: none; }
.primary-button { width: 100%; min-height: 50px; margin-top: 23px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 0; border-radius: 11px; color: white; background: var(--teal); box-shadow: 0 13px 28px rgba(16,57,65,.2); font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.primary-button:hover { transform: translateY(-1px); background: var(--teal-bright); box-shadow: 0 16px 31px rgba(16,57,65,.24); }
.primary-button:focus-visible { outline: 3px solid rgba(22,74,82,.24); outline-offset: 3px; }
.button-link { text-decoration: none; }
.auth-footnote { margin: 18px 0 0; color: #9299a4; font-size: 9.5px; text-align: center; }
.auth-simple-page { min-height: 100vh; padding: 24px; display: grid; place-items: center; background: radial-gradient(circle at 20% 12%, rgba(243,179,47,.14), transparent 28%), linear-gradient(145deg, #f8f6f1, #f0f1f3); }
.compact-card { max-width: 480px; }
.compact-card .back-link { display: block; margin-top: 20px; text-align: center; }

.workspace-body { min-height: 100vh; overflow-x: hidden; overflow-x: clip; background: var(--warm); }
.workspace-shell { min-height: 100vh; display: grid; grid-template-columns: 296px minmax(0, 1fr); transition: grid-template-columns .2s ease; }
.workspace-sidebar { width: 100%; min-width: 0; height: 100vh; padding: 28px 22px 24px; position: sticky; top: 0; overflow-y: auto; display: flex; flex-direction: column; color: white; background: radial-gradient(circle at 11% 0, rgba(211,151,38,.18), transparent 25%), linear-gradient(180deg, #10262a 0%, #13272b 50%, #0e2024 100%); border-right: 1px solid rgba(255,255,255,.04); opacity: 1; visibility: visible; transform: translateX(0); scrollbar-color: #46575c transparent; scrollbar-width: thin; transition: opacity .16s ease, transform .2s ease, visibility .2s ease, padding .2s ease; }
.workspace-shell.sidebar-hidden { grid-template-columns: 0 minmax(0, 1fr); }
.workspace-shell.sidebar-hidden .workspace-sidebar { padding-right: 0; padding-left: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: translateX(-24px); pointer-events: none; }
.workspace-brand { padding: 0 3px 24px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.075); color: white; text-decoration: none; }
.workspace-brand-mark { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; }
.workspace-brand-mark img { width: 56px; height: 56px; display: block; object-fit: contain; }
.workspace-brand strong, .workspace-brand small { display: block; }
.workspace-brand strong { font-size: 16px; font-weight: 700; letter-spacing: -.035em; }
.workspace-brand small { margin-top: 4px; color: #91a0a2; font-size: 8px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.business-switcher { margin-top: 18px; padding: 10px 4px 12px; display: grid; grid-template-columns: 32px minmax(0,1fr) 12px; align-items: center; gap: 10px; border: 0; border-radius: 9px; color: white; background: transparent; text-decoration: none; transition: background .15s ease; }
.business-switcher:hover { background: rgba(255,255,255,.035); }
.business-monogram { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: -.01em; }
.business-switcher small, .business-switcher strong { display: block; }
.business-switcher small { margin-bottom: 4px; color: #c7a85f; font-size: 7.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.business-switcher strong { overflow: hidden; font-size: 11.5px; font-weight: 650; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.switcher-indicator { color: #7c838c; font-size: 11px; }
.workspace-sidebar nav { margin-top: 29px; display: grid; gap: 3px; }
.business-switcher + nav { margin-top: 24px; }
.nav-item { min-height: 48px; padding: 11px 10px; display: flex; align-items: center; gap: 13px; border: 0; border-radius: 9px; color: #b8c2c4; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: color .15s ease, background .15s ease, box-shadow .15s ease; }
.nav-item:hover { color: white; background: rgba(255,255,255,.045); }
.nav-item.active { color: white; background: rgba(30,91,98,.26); box-shadow: inset 3px 0 #c9972e; }
.nav-line-icon { width: 21px; height: 21px; flex: 0 0 auto; color: #8c949f; }
.nav-line-icon svg, .nav-group-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.nav-item.active .nav-line-icon { color: var(--amber); }
.nav-section-label { margin: 23px 10px 9px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #748488; font-size: 7.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.nav-group { min-width: 0; }
.nav-group > summary { min-height: 58px; padding: 10px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 12px; border: 0; border-radius: 10px; color: #b8c2c4; background: transparent; cursor: pointer; list-style: none; transition: color .16s ease, background .16s ease, box-shadow .16s ease; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover { color: white; background: rgba(255,255,255,.04); }
.nav-group-icon { width: 22px; height: 22px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 0; color: #7f9093; background: transparent; }
.nav-group-copy { min-width: 0; }
.nav-group-copy small, .nav-group-copy strong { display: block; }
.nav-group-copy small { margin-bottom: 4px; overflow: hidden; color: #718185; font-size: 7.2px; font-weight: 650; letter-spacing: .11em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.nav-group-copy strong { font-size: 13px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.nav-group-meta { display: flex; align-items: center; gap: 8px; color: #7d8c90; font-size: 8px; font-weight: 600; }
.nav-group-meta b { padding: 0; border: 0; color: #c7a85f; background: transparent; font-size: 6.8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-group-meta i { color: #68777b; font-size: 15px; font-style: normal; transition: transform .16s ease; }
.nav-group[open] .nav-group-meta i { transform: rotate(90deg); }
.nav-group.active > summary { color: white; background: rgba(30,91,98,.34); box-shadow: inset 3px 0 #c9972e; }
.nav-group.active .nav-group-icon { color: #dfb75a; }
.nav-group.active .nav-group-copy small { color: #a5c0c2; }
.nav-group.active .nav-group-meta { color: #b7d0d5; }
.nav-children { margin: 3px 0 9px 33px; padding: 3px 0 3px 12px; display: grid; gap: 1px; border-left: 1px solid rgba(201,151,46,.2); }
.nav-subitem { min-height: 38px; padding: 9px 10px; position: relative; display: flex; align-items: center; gap: 9px; border-radius: 7px; color: #99a7aa; font-size: 11.25px; font-weight: 550; line-height: 1.35; text-decoration: none; }
.nav-subitem:hover { color: white; background: rgba(255,255,255,.04); }
.nav-subitem > span:first-child { width: 3px; height: 3px; flex: 0 0 auto; border-radius: 50%; background: #536468; }
.nav-subitem.active { color: white; background: transparent; }
.nav-subitem.active::before { content: ""; width: 2px; position: absolute; inset: 8px auto 8px -14px; border-radius: 99px; background: #c9972e; }
.nav-subitem.active > span:first-child { background: #d8ad50; box-shadow: none; }
.nav-subitem small { margin-left: auto; color: #6f7b80; font-size: 7px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nav-subitem.disabled { opacity: .47; cursor: not-allowed; }
.sidebar-footnote { margin-top: auto; padding: 18px 8px 0; display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid rgba(255,255,255,.06); }
.sidebar-copyright { align-items: center; }
.sidebar-copyright-mark { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(201,151,46,.24); border-radius: 50%; color: #c9a34b; background: rgba(201,151,46,.06); font-size: 10px; font-weight: 700; }
.sidebar-footnote strong, .sidebar-footnote small { display: block; }
.sidebar-footnote strong { color: #c7ced0; font-size: 8.5px; font-weight: 600; line-height: 1.45; }
.sidebar-footnote small { margin-top: 4px; color: #748085; font-size: 8px; line-height: 1.4; }
.workspace-main { min-width: 0; }
.workspace-topbar { min-height: 72px; padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: white; }
.topbar-leading { min-width: 0; display: flex; align-items: center; gap: 12px; }
.topbar-company { min-width: 0; }
.topbar-company strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-toggle { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--teal); background: white; cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.sidebar-toggle:hover { color: white; border-color: var(--teal); background: var(--teal); }
.sidebar-toggle:focus-visible { outline: 3px solid rgba(22,74,82,.18); outline-offset: 2px; }
.sidebar-toggle-icon { width: 18px; height: 18px; display: block; transition: transform .2s ease; }
.sidebar-toggle-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.workspace-shell.sidebar-hidden .sidebar-toggle-icon { transform: rotate(180deg); }
.sidebar-toggle-label { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.workspace-topbar .overline { margin-bottom: 3px; font-size: 8.5px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.install-app-button { min-height: 34px; padding: 7px 11px; border: 1px solid rgba(22,74,82,.2); border-radius: 9px; color: var(--teal); background: #edf4f3; font-size: 9.5px; font-weight: 700; cursor: pointer; }
.install-app-button:hover { color: white; border-color: var(--teal); background: var(--teal); }
.install-app-button[hidden] { display: none !important; }
.user-chip { display: flex; align-items: center; gap: 9px; }
.user-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 11px; font-weight: 700; }
.user-chip strong, .user-chip small { display: block; }
.user-chip strong { font-size: 11.5px; font-weight: 700; }
.user-chip small { color: var(--muted); font-size: 9.5px; }
.user-chip form { margin-left: 10px; }
.user-chip button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); font-size: 9.5px; font-weight: 600; cursor: pointer; }
.workspace-content { min-width: 0; padding: clamp(24px, 4vw, 52px); }
.welcome-panel { padding: clamp(30px, 4vw, 48px); display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-radius: 20px; color: white; background: radial-gradient(circle at 92% 20%, rgba(243,179,47,.3), transparent 28%), linear-gradient(135deg, #191c21, #2a2d33); box-shadow: 0 18px 45px rgba(19,22,27,.14); }
.welcome-panel h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
.welcome-copy > p:last-child { max-width: 730px; margin: 14px 0 0; color: #bfc4cc; line-height: 1.7; }
.welcome-state { flex: 0 0 auto; padding: 8px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: #aeb5bf; background: rgba(255,255,255,.05); font-size: 8.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.welcome-state span { width: 6px; height: 6px; border-radius: 50%; background: #4fc08d; }
.section-heading { margin: 34px 2px 15px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading .overline { margin-bottom: 5px; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.section-heading > span { color: var(--muted); font-size: 9px; font-weight: 700; }
.dashboard-section-link { color: var(--teal); font-size: 9.5px; font-weight: 700; text-decoration: none; }
.dashboard-priority-heading { margin-top: 28px; }
.dashboard-priority-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dashboard-priority-grid > a { min-height: 142px; padding: 18px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; color: inherit; background: white; box-shadow: 0 10px 28px rgba(24,38,43,.04); text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.dashboard-priority-grid > a:hover { transform: translateY(-2px); border-color: rgba(22,74,82,.25); box-shadow: 0 14px 32px rgba(24,38,43,.08); }
.priority-card-icon { width: 34px; height: 34px; padding: 8px; display: grid; place-items: center; border: 1px solid #ece3d2; border-radius: 10px; color: #a6701d; background: #fbf5e8; }
.priority-card-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.priority-card-label { margin-top: 13px; color: var(--orange); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dashboard-priority-grid strong { margin-top: 8px; font-size: 30px; letter-spacing: -.04em; }
.dashboard-priority-grid small { margin-top: auto; color: var(--muted); font-size: 8.5px; line-height: 1.45; }
.dashboard-recent-invoices { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.dashboard-recent-invoices > a { min-height: 78px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.dashboard-recent-invoices > a:first-child { border-top: 0; }
.dashboard-recent-invoices > a:hover { background: #fafaf7; }
.dashboard-recent-invoices > a > span:last-child { text-align: right; }
.dashboard-recent-invoices small, .dashboard-recent-invoices strong, .dashboard-recent-invoices em { display: block; }
.dashboard-recent-invoices small { color: var(--muted); font-size: 8px; }
.dashboard-recent-invoices strong { margin-top: 4px; font-size: 11px; }
.dashboard-recent-invoices em { margin-top: 4px; color: var(--muted); font-size: 8.5px; font-style: normal; }
.business-unit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.business-unit-card { padding: 24px; overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(24,28,34,.045); }
.business-unit-card::after { content: ""; width: 170px; height: 170px; position: absolute; right: -82px; top: -92px; border-radius: 50%; background: radial-gradient(circle, rgba(243,179,47,.14), transparent 70%); }
.unit-card-top { margin-bottom: 25px; display: flex; align-items: center; justify-content: space-between; }
.unit-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--orange); box-shadow: 0 9px 20px rgba(169,83,41,.16); font-size: 12px; font-weight: 700; }
.unit-status { display: flex; align-items: center; gap: 6px; color: var(--success); font-size: 8.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.unit-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.business-unit-card .overline { margin-bottom: 7px; }
.business-unit-card h3 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.business-unit-card > p:not(.overline) { max-width: 510px; margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.unit-meta { margin-top: 22px; padding: 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.unit-meta small, .unit-meta strong { display: block; }
.unit-meta small { margin-bottom: 4px; color: #879197; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.unit-meta strong { font-size: 10px; font-weight: 600; overflow-wrap: anywhere; }
.unit-actions { min-height: 25px; margin-top: 15px; display: flex; flex-wrap: wrap; gap: 6px; }
.unit-actions span { padding: 5px 8px; border-radius: 999px; color: #765126; background: #f9efd9; font-size: 7.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.unit-button { width: 100%; min-height: 42px; margin-top: 16px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; color: #758087; background: #f7f6f3; font-size: 9.5px; font-weight: 700; }
.unit-button-active { color: white; background: var(--teal); text-decoration: none; }
.unit-button-disabled { justify-content: center; cursor: default; }
.empty-state { padding: 28px; border: 1px dashed #ccd0d6; border-radius: 16px; background: white; }
.empty-state p { color: var(--muted); font-size: 11px; }
.foundation-strip { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.foundation-strip article { min-width: 0; padding: 18px; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 11px; background: white; }
.foundation-icon { width: 32px; height: 32px; padding: 7px; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: #edf4f3; }
.foundation-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.foundation-strip strong, .foundation-strip p { display: block; }
.foundation-strip strong { font-size: 10.5px; font-weight: 700; }
.foundation-strip p { margin: 4px 0 0; color: var(--muted); font-size: 8.5px; line-height: 1.45; }
.foundation-strip b { padding: 5px 7px; border-radius: 999px; color: var(--success); background: #eaf7f1; font-size: 7px; text-transform: uppercase; }
.foundation-strip b.pending { color: #956013; background: #fff4d9; }
.workspace-mobile-dock, .workspace-navigation-dialog { display: none; }
.workspace-notification-dialog { width: min(460px, calc(100vw - 32px)); max-width: none; margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 21px; color: var(--ink); background: white; box-shadow: 0 28px 90px rgba(8,25,31,.28); }
.workspace-notification-dialog::backdrop { background: rgba(7,20,25,.56); backdrop-filter: blur(4px); }
.notification-modal-accent { height: 5px; background: var(--teal); }
.notification-modal-content { padding: 28px 28px 23px; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: start; gap: 17px; }
.notification-modal-symbol { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); box-shadow: 0 9px 24px rgba(22,74,82,.2); font-size: 18px; font-weight: 700; }
.notification-modal-copy { min-width: 0; }
.notification-modal-copy .overline { margin: 2px 0 7px; color: var(--teal); }
.notification-modal-copy h2 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.notification-modal-copy > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; overflow-wrap: anywhere; }
.notification-modal-actions { padding: 14px 28px 22px; display: flex; justify-content: flex-end; }
.notification-modal-actions button { min-width: 112px; min-height: 42px; padding: 9px 16px; border: 0; border-radius: 10px; color: white; background: var(--teal); font-size: 10.5px; font-weight: 700; cursor: pointer; }
.notification-modal-actions button:hover { filter: brightness(1.06); }
.notification-modal-actions button:focus-visible { outline: 3px solid rgba(201,151,46,.28); outline-offset: 3px; }
.workspace-notification-dialog[data-level="success"] .notification-modal-accent, .workspace-notification-dialog[data-level="success"] .notification-modal-symbol, .workspace-notification-dialog[data-level="success"] .notification-modal-actions button { background: var(--success); }
.workspace-notification-dialog[data-level="success"] .notification-modal-copy .overline { color: var(--success); }
.workspace-notification-dialog[data-level="error"] .notification-modal-accent, .workspace-notification-dialog[data-level="error"] .notification-modal-symbol, .workspace-notification-dialog[data-level="error"] .notification-modal-actions button { background: var(--danger); }
.workspace-notification-dialog[data-level="error"] .notification-modal-copy .overline { color: var(--danger); }
.workspace-notification-dialog[data-level="warning"] .notification-modal-accent, .workspace-notification-dialog[data-level="warning"] .notification-modal-symbol, .workspace-notification-dialog[data-level="warning"] .notification-modal-actions button { background: var(--gold); }
.workspace-notification-dialog[data-level="warning"] .notification-modal-copy .overline { color: #956b17; }
.workspace-confirm-dialog { width: min(500px, calc(100vw - 32px)); max-width: none; margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 21px; color: var(--ink); background: white; box-shadow: 0 28px 90px rgba(8,25,31,.3); }
.workspace-confirm-dialog::backdrop { background: rgba(7,20,25,.6); backdrop-filter: blur(4px); }
.confirm-modal-accent { height: 5px; background: var(--gold); }
.confirm-modal-content { padding: 29px 29px 22px; display: grid; grid-template-columns: 50px minmax(0,1fr); align-items: start; gap: 18px; }
.confirm-modal-symbol { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(201,151,46,.3); border-radius: 15px; color: #7e5a17; background: #fbf2dd; box-shadow: 0 9px 24px rgba(155,112,27,.11); font-size: 20px; font-weight: 700; }
.confirm-modal-copy { min-width: 0; }
.confirm-modal-copy .overline { margin: 2px 0 7px; color: #956b17; }
.confirm-modal-copy h2 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.confirm-modal-copy > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; overflow-wrap: anywhere; }
.confirm-modal-actions { padding: 14px 29px 23px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid #eeeae2; background: #fcfbf8; }
.confirm-modal-actions button { min-width: 114px; min-height: 42px; padding: 9px 16px; border-radius: 10px; font-size: 10.5px; font-weight: 700; cursor: pointer; }
.confirm-modal-cancel { border: 1px solid #d9d8d3; color: #59656a; background: white; }
.confirm-modal-accept { border: 1px solid var(--teal); color: white; background: var(--teal); }
.confirm-modal-actions button:hover { filter: brightness(1.04); }
.confirm-modal-actions button:focus-visible { outline: 3px solid rgba(201,151,46,.28); outline-offset: 3px; }
.workspace-confirm-dialog[data-level="danger"] .confirm-modal-accent { background: var(--danger); }
.workspace-confirm-dialog[data-level="danger"] .confirm-modal-symbol { border-color: rgba(164,59,50,.25); color: var(--danger); background: #fff0ee; }
.workspace-confirm-dialog[data-level="danger"] .confirm-modal-copy .overline { color: var(--danger); }
.workspace-confirm-dialog[data-level="danger"] .confirm-modal-accept { border-color: var(--danger); background: var(--danger); }
.workspace-confirm-dialog[data-level="info"] .confirm-modal-accent { background: var(--teal); }
.workspace-confirm-dialog[data-level="info"] .confirm-modal-symbol { border-color: rgba(22,74,82,.22); color: var(--teal); background: #edf5f4; }
.workspace-confirm-dialog[data-level="info"] .confirm-modal-copy .overline { color: var(--teal); }
.workspace-main form[data-submitting="true"] { cursor: progress; }
.submit-spinner { width: 15px; height: 15px; flex: 0 0 auto; display: inline-block; border: 2px solid rgba(255,255,255,.42); border-top-color: currentColor; border-radius: 50%; animation: submit-spinner-rotate .7s linear infinite; }
.secondary-action .submit-spinner { border-color: rgba(22,74,82,.22); border-top-color: currentColor; }
@keyframes submit-spinner-rotate { to { transform: rotate(360deg); } }
.form-error-summary { margin: 0 0 20px; padding: 15px 17px; border: 1px solid #ecc8c4; border-left: 4px solid var(--danger); border-radius: 11px; color: #75342f; background: #fff6f4; }
.form-error-summary strong { display: block; font-size: 11px; }
.form-error-summary p { margin: 5px 0 0; color: #95615c; font-size: 9.5px; line-height: 1.5; }
.data-panel [aria-invalid="true"], .business-form [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(164,59,50,.1); }
.data-panel [aria-invalid="true"]:focus, .business-form [aria-invalid="true"]:focus { outline: none; border-color: var(--danger); box-shadow: 0 0 0 4px rgba(164,59,50,.14); }

/* Business operations */
.business-page { width: 100%; min-width: 0; max-width: 1480px; }
.business-hero { min-height: 300px; padding: clamp(32px, 4vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 35px; border-radius: 22px; color: white; background: radial-gradient(circle at 88% 25%, rgba(243,179,47,.28), transparent 24%), linear-gradient(135deg, #18362f, #23473e); box-shadow: 0 18px 45px rgba(18,48,40,.14); }
.business-hero h1 { margin: 0; font-size: clamp(34px, 4.7vw, 58px); line-height: 1; letter-spacing: -.04em; }
.business-hero p:last-child { max-width: 700px; color: #afc0b9; line-height: 1.7; }
.business-hero-mark { width: 115px; height: 115px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 28px; color: white; background: var(--orange); box-shadow: 0 20px 45px rgba(0,0,0,.2); font-size: 30px; font-weight: 700; }
.metric-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric-grid article { min-height: 146px; padding: 20px; position: relative; border: 1px solid var(--line); border-radius: 14px; background: white; }
.metric-grid small, .metric-grid strong, .metric-caption { display: block; }
.metric-grid small { color: var(--muted); font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.metric-grid strong { margin: 24px 0 5px; font-size: 30px; }
.metric-caption { color: #879198; font-size: 9.5px; }
.metric-icon { width: 38px; height: 38px; padding: 9px; position: absolute; top: 16px; right: 16px; display: grid; place-items: center; border: 1px solid #e7ded0; border-radius: 11px; color: #a56b22; background: #fbf5e8; }
.metric-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.workflow-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.workflow-cards a { min-height: 190px; padding: 23px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; background: white; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.workflow-cards a:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20,24,29,.08); }
.workflow-card-top { min-height: 58px; position: relative; display: grid; place-items: start center; }
.workflow-card-top b { position: absolute; top: 2px; left: 0; color: var(--orange); font-size: 8.5px; font-weight: 700; }
.workflow-card-top i { width: 48px; height: 48px; padding: 12px; display: grid; place-items: center; border: 1px solid #e8dfd1; border-radius: 14px; color: var(--teal); background: #f2f7f6; box-shadow: 0 8px 20px rgba(16,57,65,.055); }
.workflow-card-top svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.workflow-cards strong { margin-top: auto; font-size: 16px; }
.workflow-cards p { margin: 7px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.page-heading { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-heading h1 { margin: 0; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.04; letter-spacing: -.035em; }
.invoice-page-heading > div:first-child { min-width: 0; }
.invoice-page-heading h1 { font-size: clamp(27px, 2.65vw, 38px); overflow-wrap: anywhere; }
.page-heading p:last-child { max-width: 680px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.invoice-context-line { margin: 0 0 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.invoice-status-pill { padding: 6px 9px; border: 1px solid #d8ddd9; border-radius: 999px; color: #526069; background: #f4f5f2; font-size: 8px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.invoice-status-sent, .invoice-status-paid { color: #236147; border-color: #cce2d6; background: #eaf6f0; }
.invoice-origin { color: var(--orange); font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.page-action { min-height: 43px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; border-radius: 10px; color: white; background: var(--teal); box-shadow: 0 8px 18px rgba(16,57,65,.14); font-size: 10px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.page-action:hover { background: var(--teal-bright); transform: translateY(-1px); }
.page-action:disabled { opacity: .42; cursor: not-allowed; }
.page-heading-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.page-heading-actions form { margin: 0; }
.secondary-action { color: var(--teal); border: 1px solid var(--line); background: white; box-shadow: none; }
.secondary-action:hover { color: var(--teal-deep); background: #f2f6f5; }
.summary-pill { padding: 9px 12px; border-radius: 999px; color: #715023; background: var(--gold-soft); font-size: 9.5px; font-weight: 700; }
.data-panel { min-width: 0; max-width: 100%; margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.panel-heading { min-height: 57px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-size: 14.5px; letter-spacing: -.01em; }
.panel-heading span { color: var(--muted); font-size: 9px; }
.panel-heading-title { min-width: 0; display: flex; align-items: center; gap: 10px; }
.panel-heading-title > span { width: 30px; height: 30px; padding: 7px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: var(--teal); background: #edf4f3; }
.panel-heading-title svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.table-wrap { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; contain: inline-size; }
.data-panel table { width: 100%; border-collapse: collapse; }
.data-panel th { padding: 12px 16px; color: #748087; background: #f8f7f4; font-size: 8.5px; font-weight: 700; letter-spacing: .07em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-panel td { padding: 14px 16px; border-top: 1px solid var(--line); color: #59666c; font-size: 11px; line-height: 1.45; white-space: nowrap; }
.data-panel td strong { color: var(--ink); }
.data-panel td small { display: block; max-width: 290px; margin-top: 4px; color: #818c92; font-size: 9.5px; line-height: 1.5; white-space: normal; }
.contact-line { display: block; }
.contact-line + .contact-line { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); }
.muted { color: #a2a8b0; }
.data-panel td a { color: var(--ink); text-decoration: none; }
.esign-heading { align-items: flex-start; }
.esign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.esign-card { min-height: 315px; margin-top: 0; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.esign-preview { min-height: 145px; padding: 14px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(145deg, #f8fafc, #eef3f9); }
.esign-preview img { display: block; width: 100%; max-width: 290px; height: 118px; object-fit: contain; }
.esign-card-copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.esign-card h2, .esign-card p { margin: 0; }
.esign-card h2 { color: var(--ink); font-size: 17px; }
.esign-card-copy p, .esign-note { margin-top: 4px; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.esign-statuses, .stamp-document-status { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.esign-card .row-action { align-self: flex-start; margin-top: auto; color: var(--teal); font-size: 10.5px; font-weight: 700; text-decoration: none; }
.esign-empty { min-height: 340px; padding: 36px; display: grid; place-content: center; justify-items: center; text-align: center; }
.esign-empty h2 { margin: 4px 0 8px; color: var(--ink); font-size: 24px; }
.esign-empty > p:not(.overline) { max-width: 520px; margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.stamp-preview img { max-width: 210px; max-height: 138px; }
.stamp-placeholder { display: grid; justify-items: center; gap: 8px; color: var(--muted); text-align: center; }
.stamp-placeholder strong { color: var(--ink); }
.stamp-document-status { justify-content: flex-start; }
.source-document-table td:first-child { min-width: 250px; white-space: normal; overflow-wrap: anywhere; }
.source-document-table a { display: block; white-space: normal; overflow-wrap: anywhere; }
.data-panel input, .data-panel select, .data-panel textarea, .business-form input, .business-form select, .business-form textarea { width: 100%; min-height: 41px; padding: 8px 10px; border: 1px solid #d7d9d6; border-radius: 8px; color: var(--ink); background: white; font-size: 11px; }
.data-panel input[type="checkbox"], .business-form input[type="checkbox"] { width: 17px; min-height: 17px; }
.table-status { padding: 5px 7px; border-radius: 999px; color: #76511f; background: #f9efd9; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.table-status.active { color: var(--success); background: #eaf7f1; }
.empty-cell { padding: 35px !important; color: #9198a1 !important; text-align: center; }
.panel-actions { padding: 15px 18px; display: flex; justify-content: flex-end; border-top: 1px solid var(--line); }
.compact-action { width: auto; min-width: 190px; margin: 0; }
.checkbox-cell { text-align: center; }
.business-form { max-width: 680px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.form-group + .form-group { margin-top: 17px; }
.form-group label { margin-bottom: 7px; display: block; font-size: 10.5px; font-weight: 700; }
.form-group small { margin-top: 6px; display: block; color: var(--muted); font-size: 9px; line-height: 1.45; }
.form-submit { max-width: 260px; }
.business-form .errorlist { margin: 7px 0 0; padding: 0; color: #a43b32; font-size: 9px; list-style: none; }
.checkbox-form-group { padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafb; }
.checkbox-label { margin: 0 !important; display: flex !important; align-items: flex-start; gap: 10px; line-height: 1.45; cursor: pointer; }
.checkbox-label input { margin-top: 1px; flex: 0 0 auto; }
.delivery-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 16px; align-items: start; }
.delivery-form { max-width: none; }
.delivery-summary { margin-top: 0; padding: 24px; }
.delivery-summary h2 { margin: 4px 0 20px; font-size: 19px; }
.delivery-summary dl { margin: 0; }
.delivery-summary dl div { padding: 12px 0; display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 12px; border-top: 1px solid var(--line); }
.delivery-summary dt { color: var(--muted); font-size: 8.5px; font-weight: 700; text-transform: uppercase; }
.delivery-summary dd { margin: 0; color: var(--ink); font-size: 10.5px; font-weight: 600; overflow-wrap: anywhere; }
.delivery-summary > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.page-action:disabled, .primary-button:disabled { opacity: .5; cursor: not-allowed; }
.invoice-readiness { margin-top: 18px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.invoice-readiness h2 { margin: 0; font-size: 18px; }
.invoice-readiness p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.locked-notice { margin-bottom: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 13px; border: 1px solid #cfe6da; border-radius: 13px; background: #eef8f3; }
.locked-notice > span { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--success); font-size: 11px; font-weight: 700; }
.locked-notice strong, .locked-notice p { display: block; }
.locked-notice strong { color: #205c43; font-size: 11.5px; }
.locked-notice p { margin: 4px 0 0; color: #537064; font-size: 9.5px; line-height: 1.5; }
.warning-notice { margin-top: 16px; margin-bottom: 0; border-color: #eedca7; background: #fff8e5; }
.warning-notice > span { background: #c78a1c; }
.warning-notice strong { color: #80590f; }
.warning-notice p { color: #7c6b4a; }
.data-panel.is-locked input:disabled, .data-panel.is-locked select:disabled, .data-panel.is-locked textarea:disabled { color: #59616c; background: #f5f6f7; opacity: 1; cursor: not-allowed; }
.realization-form textarea.realization-note { min-width: 240px; min-height: 58px; line-height: 1.45; resize: vertical; }
.realization-form.is-locked textarea.realization-note { resize: none; }
.realization-note-cell { min-width: 240px; white-space: normal !important; }
.realization-note-display { min-height: 41px; padding: 10px 11px; display: flex; align-items: center; border: 1px solid #d7d9d6; border-radius: 8px; color: #59616c; background: #f5f6f7; line-height: 1.5; overflow-wrap: anywhere; }
.invoice-summary-card { display: grid; grid-template-columns: 1.2fr 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.invoice-list-summary { grid-template-columns: repeat(4, minmax(0,1fr)); }
.invoice-summary-card > div { min-width: 0; padding: 20px 22px 22px; border-right: 1px solid var(--line); }
.invoice-summary-card > div:last-child { border: 0; }
.invoice-summary-card small, .invoice-summary-card strong, .invoice-summary-icon { display: block; }
.invoice-summary-icon { width: 32px; height: 32px; margin-bottom: 14px; padding: 7px; border-radius: 9px; color: #9b6a1b; background: #faf2df; }
.invoice-summary-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.invoice-summary-card small { margin-bottom: 9px; color: var(--muted); font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.invoice-summary-card strong { font-size: 17px; font-weight: 700; }
.tax-report-table td small, .tax-detail-grid small { margin-top: 4px; display: block; color: var(--muted); font-size: 8px; line-height: 1.4; }
.tax-detail-grid { padding: 4px 20px 20px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.tax-detail-grid > div { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fbfaf7; }
.tax-detail-grid strong { display: block; overflow-wrap: anywhere; font-size: 11px; }
.tax-reconciliation-form { max-width: 820px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px 15px; }
.tax-reconciliation-form .form-group { margin: 0; }
.tax-reconciliation-form .form-group:has(textarea), .tax-reconciliation-form .form-submit, .tax-reconciliation-form > .errorlist { grid-column: 1 / -1; }
.invoice-review-strip { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.invoice-review-strip article { min-width: 0; padding: 18px; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px; background: white; }
.invoice-review-strip article > span { color: var(--orange); font-size: 8.5px; font-weight: 700; }
.invoice-review-strip small, .invoice-review-strip strong { display: block; }
.invoice-review-strip small { margin-bottom: 5px; color: #828d93; font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.invoice-review-strip strong { overflow-wrap: anywhere; font-size: 11.5px; font-weight: 700; }
.invoice-review-strip p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.foundation-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.foundation-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.foundation-grid span { color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: .09em; }
.foundation-grid strong { display: block; margin-top: 18px; font-size: 14px; }
.foundation-grid p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

/* Operational lists: premium density, filtering and scale */
.sr-only { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.operation-summary-grid { margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.operation-summary-grid.four-columns { grid-template-columns: repeat(4, minmax(0,1fr)); }
.operation-summary-grid article { min-width: 0; min-height: 118px; padding: 18px 19px; display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: start; gap: 14px; position: relative; overflow: hidden; border: 1px solid #e0ddd5; border-radius: 15px; background: linear-gradient(145deg, #fff, #fbfaf7); box-shadow: 0 10px 28px rgba(21,43,45,.045); }
.operation-summary-grid article::after { content: ""; width: 82px; height: 82px; position: absolute; right: -32px; bottom: -44px; border-radius: 50%; background: rgba(22,74,82,.045); }
.operation-summary-icon { width: 42px; height: 42px; padding: 10px; display: grid; place-items: center; border-radius: 12px; color: var(--teal); background: #edf4f3; }
.operation-summary-icon.gold { color: #94681b; background: #faf1dd; }
.operation-summary-icon.green { color: #2c704e; background: #eaf6f0; }
.operation-summary-icon.amber { color: #a46423; background: #fff0df; }
.operation-summary-icon svg, .filter-heading-icon svg, .rich-empty-state > span svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.operation-summary-grid small, .operation-summary-grid strong, .operation-summary-grid p { display: block; }
.operation-summary-grid small { margin: 1px 0 8px; color: #77848a; font-size: 8px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.operation-summary-grid strong { color: var(--ink); font-size: 22px; line-height: 1; letter-spacing: -.03em; }
.operation-summary-grid p { margin: 7px 0 0; color: #8b9498; font-size: 9px; line-height: 1.45; }

.list-filter-panel { margin: 0 0 16px; overflow: hidden; border: 1px solid #d9d8d2; border-radius: 16px; background: white; box-shadow: 0 12px 32px rgba(21,43,45,.045); }
.filter-panel-heading { min-height: 68px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: white; background: radial-gradient(circle at 82% -80%, rgba(215,167,56,.26), transparent 48%), linear-gradient(132deg, #123034, #173d3e); }
.filter-panel-heading > div:first-child { min-width: 0; flex: 1 1 auto; display: flex; align-items: center; gap: 12px; }
.filter-heading-icon { width: 35px; height: 35px; padding: 8px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; color: #e3bd62; background: rgba(255,255,255,.055); }
.filter-panel-heading h2, .filter-panel-heading p { margin: 0; }
.filter-panel-heading h2 { font-size: 13px; letter-spacing: -.01em; }
.filter-panel-heading p { margin-top: 4px; color: #adc0be; font-size: 9px; line-height: 1.45; }
.active-filter-badge { padding: 6px 9px; flex: 0 0 auto; border: 1px solid rgba(226,188,97,.35); border-radius: 999px; color: #f1cf80; background: rgba(215,167,56,.1); font-size: 7.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.filter-panel-controls { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; }
.filter-mobile-toggle { display: none; }
.list-filter-form { padding: 17px 18px 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(145px,1fr)); align-items: end; gap: 12px; }
.list-filter-form.invoice-filter-form { grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); }
.filter-search { grid-column: span 2; }
.filter-field { min-width: 0; }
.filter-field > span { margin: 0 0 7px; display: block; color: #637076; font-size: 8px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.filter-field input, .filter-field select { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #d8dad7; border-radius: 9px; color: var(--ink); background: #fff; font: inherit; font-size: 10.5px; outline: none; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.filter-field input::placeholder { color: #a0a8ab; }
.filter-field input:hover, .filter-field select:hover { border-color: #bfc8c4; background: #fdfdfc; }
.filter-field input:focus, .filter-field select:focus { border-color: #7aa09b; box-shadow: 0 0 0 3px rgba(22,74,82,.1); }
.filter-actions { grid-column: 1 / -1; padding-top: 3px; display: flex; justify-content: flex-end; gap: 8px; }
.filter-apply, .filter-reset { min-height: 39px; padding: 9px 15px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 9.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
.filter-apply { border: 1px solid var(--teal); color: white; background: var(--teal); box-shadow: 0 7px 16px rgba(16,57,65,.12); }
.filter-apply:hover { background: var(--teal-bright); }
.filter-reset { border: 1px solid #d8dad7; color: #68757a; background: white; }
.filter-reset:hover { color: var(--teal); background: #f2f6f5; }

.elevated-data-panel { margin-top: 0; box-shadow: 0 12px 34px rgba(21,43,45,.045); }
.panel-heading-title h2 + p { margin: 4px 0 0; color: #879196; font-size: 8.5px; }
.panel-heading .panel-result-range { padding: 6px 9px; border: 1px solid #e0ded8; border-radius: 999px; color: #788488; background: #faf9f6; font-size: 8px; font-weight: 700; }
.sort-link { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.sort-link:hover { color: var(--teal); }
.operational-table tbody tr { transition: background .14s ease, box-shadow .14s ease; }
.operational-table tbody tr:hover { background: #fbfcfa; box-shadow: inset 3px 0 0 #d3a737; }
.operational-table td { font-size: 10.75px; }
.operational-table td strong { font-weight: 700; }
.invoice-list-table { min-width: 1080px; }
.plan-list-table, .period-list-table { table-layout: fixed; }
.plan-list-table th, .plan-list-table td, .period-list-table th, .period-list-table td { padding-right: 11px; padding-left: 11px; white-space: normal; overflow-wrap: anywhere; }
.plan-list-table th:nth-child(1) { width: 16%; }
.plan-list-table th:nth-child(2) { width: 23%; }
.plan-list-table th:nth-child(3) { width: 21%; }
.plan-list-table th:nth-child(4) { width: 16%; }
.plan-list-table th:nth-child(5) { width: 12%; }
.plan-list-table th:nth-child(6) { width: 12%; }
.period-list-table th:nth-child(1) { width: 19%; }
.period-list-table th:nth-child(2) { width: 20%; }
.period-list-table th:nth-child(3) { width: 8%; }
.period-list-table th:nth-child(4) { width: 10%; }
.period-list-table th:nth-child(5) { width: 14%; }
.period-list-table th:nth-child(6) { width: 19%; }
.period-list-table th:nth-child(7) { width: 10%; }
.row-action-cell { width: 88px; text-align: right; }
.row-review-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal) !important; font-size: 9px; font-weight: 700; white-space: nowrap; }
.row-review-link span { color: #bd8a2e; font-size: 12px; }
.pending-count, .complete-count { font-size: 9.5px; font-weight: 700; }
.pending-count { color: #a15d24; }
.complete-count { color: var(--success); }
.rich-empty-state { min-height: 150px; display: grid; place-content: center; justify-items: center; }
.rich-empty-state > span { width: 39px; height: 39px; margin-bottom: 12px; padding: 9px; display: grid; place-items: center; border-radius: 12px; color: var(--teal); background: #edf4f3; }
.rich-empty-state strong { color: var(--ink); font-size: 13px; }
.rich-empty-state p { margin: 5px 0 0; color: #8a9498; font-size: 9.5px; }
.list-pagination { min-height: 64px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); background: #fcfbf8; }
.list-pagination p { margin: 0; color: #7c888d; font-size: 9px; }
.list-pagination p strong { color: var(--ink); }
.pagination-actions { display: flex; align-items: center; gap: 8px; }
.pagination-actions a, .pagination-actions span, .pagination-actions b { min-height: 34px; padding: 8px 10px; display: inline-flex; align-items: center; border: 1px solid #dddeda; border-radius: 8px; color: #667378; background: white; font-size: 8.5px; font-weight: 700; text-decoration: none; }
.pagination-actions a:hover { color: var(--teal); border-color: #aebfbb; background: #f2f6f5; }
.pagination-actions span { color: #adb3b5; background: #f5f5f3; }
.pagination-actions b { border-color: transparent; color: #7c888d; background: transparent; }

/* Executive dashboard — data-first, premium Adamara presentation. */
.dashboard-page { background: radial-gradient(circle at 92% 2%, rgba(201,151,46,.08), transparent 24%); }
.dashboard-command-hero { min-height: 286px; padding: clamp(32px, 4vw, 50px); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 38px; border: 1px solid rgba(255,255,255,.05); border-radius: 22px; color: white; background: radial-gradient(circle at 89% 20%, rgba(224,165,47,.25), transparent 24%), radial-gradient(circle at 82% 110%, rgba(45,113,101,.42), transparent 36%), linear-gradient(130deg, #0d2628 0%, #173c37 63%, #224a3f 100%); box-shadow: 0 22px 55px rgba(15,43,39,.18); }
.dashboard-command-hero::after { content: ""; width: 280px; height: 280px; position: absolute; right: -100px; top: -122px; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; box-shadow: 0 0 0 54px rgba(255,255,255,.018), 0 0 0 105px rgba(255,255,255,.014); pointer-events: none; }
.dashboard-command-copy { min-width: 0; position: relative; z-index: 1; }
.dashboard-command-copy h1 { max-width: 770px; margin: 0; font-size: clamp(34px, 4.5vw, 58px); line-height: 1; letter-spacing: -.05em; }
.dashboard-command-copy > p:last-of-type { max-width: 760px; margin: 17px 0 0; color: #b8cbc5; font-size: 12px; line-height: 1.7; }
.dashboard-command-actions { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 9px; }
.dashboard-action { min-height: 42px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: #e3ece8; background: rgba(255,255,255,.055); backdrop-filter: blur(8px); font-size: 9.5px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.dashboard-action:hover { transform: translateY(-1px); background: rgba(255,255,255,.1); }
.dashboard-action.primary { border-color: #d4a74a; color: #152b29; background: linear-gradient(135deg, #e4bb5d, #c8932c); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.dashboard-action > span { width: 17px; height: 17px; display: block; }
.dashboard-action svg, .command-state-icon svg, .attention-strip-icon svg, .finance-card > span svg, .focus-item-icon svg, .dashboard-workflow-steps i svg, .recent-document-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.dashboard-command-state { width: 210px; flex: 0 0 auto; position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.command-state-icon { width: 69px; height: 69px; margin-bottom: 16px; padding: 18px; display: grid; place-items: center; border: 1px solid rgba(221,175,75,.34); border-radius: 20px; color: #e7bb59; background: rgba(255,255,255,.06); box-shadow: inset 0 1px rgba(255,255,255,.07), 0 16px 30px rgba(0,0,0,.14); }
.dashboard-command-state strong { font-size: 12.5px; }
.dashboard-command-state small { margin-top: 6px; color: #9eb5af; font-size: 8.5px; }
.command-state-live { margin-top: 17px; padding: 6px 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; color: #b9ddce; background: rgba(43,123,88,.2); font-size: 7.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.command-state-live i { width: 6px; height: 6px; border-radius: 50%; background: #61d09e; box-shadow: 0 0 0 4px rgba(97,208,158,.11); }

.dashboard-attention-strip { margin-top: 15px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); box-shadow: 0 12px 32px rgba(22,42,39,.055); }
.dashboard-attention-strip > a { min-width: 0; min-height: 91px; padding: 17px 16px; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 11px; color: inherit; background: white; text-decoration: none; transition: background .15s ease; }
.dashboard-attention-strip > a:hover { background: #fbfaf6; }
.attention-strip-icon { width: 34px; height: 34px; padding: 8px; display: grid; place-items: center; border-radius: 10px; color: #35675f; background: #edf5f2; }
.attention-strip-icon.danger { color: #a75348; background: #fff0ed; }
.attention-strip-icon.warning { color: #ad6a2c; background: #fff3e5; }
.attention-strip-icon.gold { color: #987024; background: #fbf2df; }
.dashboard-attention-strip small, .dashboard-attention-strip strong, .dashboard-attention-strip em { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-attention-strip small { color: #8a9599; font-size: 7.3px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.dashboard-attention-strip strong { margin-top: 5px; font-size: 11px; }
.dashboard-attention-strip em { margin-top: 4px; color: #8c969a; font-size: 8px; font-style: normal; }

.dashboard-finance-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 11px; }
.finance-card { min-width: 0; min-height: 133px; padding: 18px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 10px 28px rgba(22,42,39,.04); }
.finance-card::after { content: ""; width: 92px; height: 92px; position: absolute; right: -42px; bottom: -48px; border-radius: 50%; background: currentColor; opacity: .035; }
.finance-card > span { width: 28px; height: 28px; padding: 6px; position: absolute; right: 15px; top: 15px; border-radius: 8px; color: #3e756a; background: #edf5f2; }
.finance-card small, .finance-card strong { display: block; }
.finance-card small { max-width: calc(100% - 34px); color: #7d898e; font-size: 7.6px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.finance-card strong { margin-top: 24px; overflow-wrap: anywhere; font-size: clamp(17px, 1.55vw, 24px); letter-spacing: -.04em; }
.finance-card p { margin: 7px 0 0; color: #8b9599; font-size: 8px; line-height: 1.45; }
.finance-card-dark { color: white; border-color: #173b38; background: linear-gradient(145deg, #153532, #1c4640); }
.finance-card-dark small, .finance-card-dark p { color: #aec2bc; }
.finance-card-dark > span { color: #e0b651; background: rgba(255,255,255,.08); }
.finance-card-green { color: #28674b; background: linear-gradient(145deg, #fff, #f0f8f3); }
.finance-card-gold { color: #966723; background: linear-gradient(145deg, #fff, #fff8eb); }
.finance-card-gold > span { color: #a16d20; background: #fbefda; }
.finance-card-blue { color: #315f72; background: linear-gradient(145deg, #fff, #f1f7f9); }
.finance-card-blue > span { color: #396f82; background: #e9f2f5; }

.dashboard-analytics-grid { margin-top: 14px; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(310px,.75fr); gap: 14px; }
.analytics-panel, .dashboard-status-panel, .dashboard-workflow-panel, .dashboard-recent-panel { min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 12px 34px rgba(22,42,39,.045); }
.analytics-panel { min-height: 330px; padding: 22px; }
.analytics-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.analytics-panel-heading h2 { margin: 4px 0 0; font-size: 17px; letter-spacing: -.035em; }
.analytics-panel-heading > span, .analytics-panel-heading > a { color: #899498; font-size: 8px; font-weight: 700; text-decoration: none; }
.analytics-panel-heading > a { color: var(--teal); }
.revenue-chart { height: 236px; margin-top: 19px; padding-top: 25px; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); align-items: end; gap: clamp(8px, 1.4vw, 16px); border-bottom: 1px solid #e5e3dc; background: repeating-linear-gradient(to bottom, transparent 0, transparent 52px, #efede7 53px); }
.revenue-column { height: 100%; min-width: 0; display: grid; grid-template-rows: 20px minmax(0,1fr) 17px 12px; align-items: end; text-align: center; }
.revenue-value { overflow: hidden; color: #7f8a8f; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.revenue-track { width: min(43px, 80%); height: 100%; margin: 0 auto; position: relative; display: flex; align-items: end; border-radius: 9px 9px 2px 2px; background: #f2f0e9; }
.revenue-track span { width: 100%; height: var(--bar-height); min-height: 3px; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, #d6ad51, #b77a31 64%, #245e55); box-shadow: 0 8px 17px rgba(35,88,79,.12); }
.revenue-column strong { color: #526166; font-size: 8px; text-transform: uppercase; }
.revenue-column small { color: #9ba3a6; font-size: 7px; }
.invoice-donut-layout { min-height: 245px; padding-top: 24px; display: grid; grid-template-columns: minmax(140px,1fr) minmax(120px,.85fr); align-items: center; gap: 17px; }
.invoice-donut { width: min(180px, 100%); aspect-ratio: 1; margin: auto; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#3f8865 0 var(--paid-end), #587ca2 var(--paid-end) var(--sent-end), #d2a23f var(--sent-end) var(--ready-end), #b5bec1 var(--ready-end) var(--draft-end), #b85b51 var(--draft-end) var(--void-end)); box-shadow: inset 0 0 0 1px rgba(20,45,41,.04), 0 16px 35px rgba(27,64,58,.11); }
.invoice-donut::before { content: ""; width: 61%; aspect-ratio: 1; position: absolute; border: 1px solid #ece8de; border-radius: 50%; background: white; box-shadow: inset 0 7px 17px rgba(20,45,41,.035); }
.invoice-donut > span { position: relative; z-index: 1; display: grid; text-align: center; }
.invoice-donut strong { font-size: 31px; line-height: 1; letter-spacing: -.05em; }
.invoice-donut small { margin-top: 5px; color: #8a9599; font-size: 7.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.invoice-donut-legend { display: grid; }
.invoice-donut-legend a { min-height: 36px; display: grid; grid-template-columns: 8px minmax(0,1fr) auto; align-items: center; gap: 8px; border-top: 1px solid #efede7; color: inherit; font-size: 8.5px; text-decoration: none; }
.invoice-donut-legend a:first-child { border-top: 0; }
.invoice-donut-legend i { width: 7px; height: 7px; border-radius: 50%; background: #b5bec1; }
.invoice-donut-legend i.paid { background: #3f8865; }.invoice-donut-legend i.sent { background: #587ca2; }.invoice-donut-legend i.ready { background: #d2a23f; }.invoice-donut-legend i.void { background: #b85b51; }
.invoice-donut-legend strong { font-size: 11px; }

.dashboard-status-grid { margin-top: 14px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 14px; }
.dashboard-status-panel { padding: 21px; }
.status-panel-heading { display: flex; justify-content: space-between; gap: 16px; }
.status-panel-heading h2 { margin: 4px 0 0; font-size: 16px; }
.status-panel-heading span { display: block; margin-top: 5px; color: #8a9599; font-size: 8px; }
.status-panel-heading > strong { font-size: 23px; line-height: 1; letter-spacing: -.04em; }
.status-panel-heading > strong small { color: #9aa3a6; font-size: 7px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.status-cell-grid { margin-top: 17px; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 7px; }
.status-cell-grid a { min-height: 77px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #e2e2dc; border-radius: 11px; color: #657277; background: #f8f8f5; text-decoration: none; }
.status-cell-grid a:nth-child(2) { color: #9a6c1e; border-color: #eadcbc; background: #fff9eb; }
.status-cell-grid a:nth-child(3) { color: #466b91; border-color: #dce4ed; background: #f3f7fb; }
.status-cell-grid a.success { color: #2e7353; border-color: #d4e7dd; background: #eff8f3; }
.status-cell-grid a.danger { color: #a5534b; border-color: #ead7d4; background: #fff4f2; }
.status-cell-grid span { font-size: 7.5px; font-weight: 700; }
.status-cell-grid strong { align-self: flex-end; font-size: 20px; }
.realization-status-list { margin-top: 14px; display: grid; }
.realization-status-list a { min-height: 58px; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #eeece6; color: inherit; text-decoration: none; }
.realization-status-list a:first-child { border-top: 0; }
.realization-status-list a > span { display: grid; grid-template-columns: 8px minmax(0,1fr); align-items: center; column-gap: 9px; }
.realization-status-list i { width: 7px; height: 7px; grid-row: span 2; border-radius: 50%; background: #d2a23f; }.realization-status-list i.ready { background: #5681a0; }.realization-status-list i.success { background: #3f8865; }
.realization-status-list b { font-size: 9px; }.realization-status-list small { color: #8c969a; font-size: 7.5px; }.realization-status-list > a > strong { font-size: 18px; }

.dashboard-focus-list { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 12px 33px rgba(22,42,39,.04); }
.focus-item { min-height: 82px; padding: 14px 18px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto 20px; align-items: center; gap: 14px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.focus-item:first-child { border-top: 0; }
.focus-item:hover { background: #fbfaf7; }
.focus-item-icon { width: 38px; height: 38px; padding: 9px; display: grid; place-items: center; border-radius: 11px; color: #a26b25; background: #fff1df; }
.focus-info .focus-item-icon { color: #346f80; background: #ebf4f6; }.focus-danger .focus-item-icon { color: #a55048; background: #fff0ed; }
.focus-item-copy small, .focus-item-copy strong, .focus-item-copy em { display: block; }
.focus-item-copy small { color: #aa6e28; font-size: 7px; font-weight: 700; letter-spacing: .07em; }
.focus-item-copy strong { margin-top: 5px; font-size: 10.5px; }
.focus-item-copy em { margin-top: 4px; color: #879196; font-size: 8px; font-style: normal; line-height: 1.4; }
.focus-item-badge { padding: 6px 8px; border-radius: 999px; color: #7d622e; background: #f8f0df; font-size: 7px; font-weight: 700; }
.focus-item-arrow { color: #a0a8aa; font-size: 14px; }
.dashboard-empty-focus { min-height: 90px; padding: 19px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #45675f; text-align: left; }
.dashboard-empty-focus > span { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #eaf6f0; }
.dashboard-empty-focus strong { font-size: 10px; }.dashboard-empty-focus p { margin: 4px 0 0; color: #899397; font-size: 8px; }

.dashboard-lower-grid { margin-top: 14px; display: grid; grid-template-columns: minmax(300px,.75fr) minmax(0,1.25fr); gap: 14px; }
.dashboard-workflow-panel, .dashboard-recent-panel { padding: 21px; }
.dashboard-workflow-steps { margin-top: 14px; display: grid; }
.dashboard-workflow-steps a { min-height: 62px; display: grid; grid-template-columns: 23px 34px minmax(0,1fr); align-items: center; gap: 10px; border-top: 1px solid #edeae3; color: inherit; text-decoration: none; }
.dashboard-workflow-steps a:first-child { border-top: 0; }
.dashboard-workflow-steps a > span { color: #bd7b30; font-size: 7.5px; font-weight: 700; }
.dashboard-workflow-steps i { width: 34px; height: 34px; padding: 8px; display: grid; place-items: center; border-radius: 10px; color: var(--teal); background: #edf4f3; }
.dashboard-workflow-steps strong, .dashboard-workflow-steps small { display: block; }
.dashboard-workflow-steps strong { font-size: 9.5px; }.dashboard-workflow-steps small { margin-top: 3px; color: #8a9498; font-size: 7.5px; }
.dashboard-recent-list { margin-top: 12px; display: grid; }
.dashboard-recent-list > a { min-height: 67px; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 11px; border-top: 1px solid #edeae3; color: inherit; text-decoration: none; }
.dashboard-recent-list > a:first-child { border-top: 0; }
.recent-document-icon { width: 32px; height: 32px; padding: 7px; display: grid; place-items: center; border-radius: 9px; color: #a66b23; background: #fbf1df; }
.dashboard-recent-list small, .dashboard-recent-list strong, .dashboard-recent-list em { display: block; }
.dashboard-recent-list small { color: #8a9599; font-size: 7px; }.dashboard-recent-list strong { margin-top: 4px; font-size: 9px; }.dashboard-recent-list em { margin-top: 3px; color: #7f8b8f; font-size: 7.5px; font-style: normal; }
.dashboard-recent-list > a > span:last-child { text-align: right; }.dashboard-recent-list > a > span:last-child strong { font-size: 9.5px; }

.public-body { min-height: 100vh; }
.public-placeholder { min-height: 100vh; padding: 36px; display: grid; place-items: center; align-content: center; text-align: center; background: radial-gradient(circle at 50% 20%, rgba(243,179,47,.14), transparent 30%), var(--warm); }
.public-placeholder img { width: min(420px, 80vw); margin-bottom: 42px; }
.public-placeholder h1 { max-width: 780px; margin: 0; font-size: clamp(42px, 7vw, 80px); line-height: 1; letter-spacing: -.045em; }
.public-placeholder > p:not(.eyebrow) { max-width: 620px; margin: 22px 0 0; color: var(--muted); line-height: 1.7; }
.public-placeholder .primary-button { width: auto; min-width: 235px; margin-top: 30px; }

@media (max-width: 980px) {
  body.workspace-body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-story { display: none; }
  .auth-panel { min-height: 100vh; }
  .workspace-shell { grid-template-columns: 1fr; }
  .workspace-sidebar { height: auto; padding: 13px 18px; position: sticky; top: 0; z-index: 35; overflow: visible; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .workspace-shell.sidebar-hidden { grid-template-columns: 1fr; }
  .workspace-shell.sidebar-hidden .workspace-sidebar { padding: 15px 18px; overflow: visible; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .sidebar-toggle { display: none; }
  .workspace-brand { padding: 0; border-bottom: 0; }
  .workspace-brand-mark { width: 44px; height: 44px; }
  .workspace-brand-mark img { width: 42px; height: 42px; }
  .business-switcher { margin: 0 0 0 auto; padding: 7px 9px; }
  .business-monogram { width: 29px; height: 29px; }
  .workspace-sidebar nav, .sidebar-footnote { display: none; }
  .workspace-mobile-dock { min-height: 70px; padding: 7px max(9px, env(safe-area-inset-right, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)) max(9px, env(safe-area-inset-left, 0px)); position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; border-top: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: 0 -10px 30px rgba(24,38,43,.08); }
  .mobile-dock-item { min-width: 0; min-height: 56px; padding: 6px 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 11px; color: #77848a; background: transparent; font-size: 8.5px; font-weight: 700; line-height: 1.15; text-decoration: none; cursor: pointer; }
  .mobile-dock-item:hover { color: var(--teal); background: #f2f6f5; }
  .mobile-dock-item.active { color: var(--teal); background: #edf4f3; }
  .mobile-dock-icon { width: 21px; height: 21px; display: block; }
  .mobile-dock-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
  .workspace-navigation-dialog { width: min(390px, calc(100vw - 18px)); height: 100dvh; max-width: none; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid #d8d3c9; border-radius: 20px 0 0 20px; color: var(--ink); background: #fbfaf7; box-shadow: -16px 0 60px rgba(15,31,37,.24); }
  .workspace-navigation-dialog[open] { display: flex; flex-direction: column; }
  .workspace-navigation-dialog::backdrop { background: rgba(8,21,26,.5); backdrop-filter: blur(3px); }
  .navigation-dialog-head { padding: 26px 22px 21px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: white; background: radial-gradient(circle at 12% 0, rgba(201,151,46,.17), transparent 38%), linear-gradient(145deg, #10262a, #15353a); }
  .navigation-dialog-head .overline { margin-bottom: 6px; color: #d6ae52; }
  .navigation-dialog-head h2 { margin: 0; font-size: 24px; letter-spacing: -.045em; }
  .navigation-dialog-close { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #dbe4e4; background: rgba(255,255,255,.055); font-size: 23px; cursor: pointer; }
  .navigation-dialog-scroll { min-height: 0; padding: 8px 20px 18px; overflow-y: auto; overscroll-behavior: contain; }
  .navigation-dialog-home { min-height: 59px; padding: 14px 5px; display: flex; align-items: center; gap: 13px; border: 0; border-bottom: 1px solid #e2ded5; border-radius: 0; text-decoration: none; }
  .navigation-dialog-home > span { width: 22px; height: 22px; color: var(--teal); }
  .navigation-dialog-home svg, .navigation-dialog-group-title > span svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
  .navigation-dialog-home.active { color: var(--teal); background: transparent; }
  .navigation-dialog-group { margin: 0; padding: 20px 4px 18px; border: 0; border-bottom: 1px solid #e2ded5; border-radius: 0; background: transparent; }
  .navigation-dialog-group-title { display: flex; align-items: center; gap: 11px; }
  .navigation-dialog-group-title > span { width: 27px; height: 27px; padding: 2px; flex: 0 0 auto; border-radius: 0; color: var(--teal); background: transparent; }
  .navigation-dialog-group-title small, .navigation-dialog-group-title strong { display: block; }
  .navigation-dialog-group-title small { margin-bottom: 4px; color: #a97926; font-size: 7.5px; font-weight: 700; letter-spacing: .11em; }
  .navigation-dialog-group-title strong { font-size: 13px; letter-spacing: -.015em; }
  .navigation-dialog-links { margin: 13px 0 0 38px; padding-left: 12px; display: grid; border-left: 1px solid #e2d6bc; }
  .navigation-dialog-links > a, .navigation-dialog-links > span { min-height: 43px; padding: 10px 4px; display: flex; align-items: center; gap: 8px; border-top: 1px solid #ebe7de; color: #59676c; font-size: 10.75px; font-weight: 600; text-decoration: none; }
  .navigation-dialog-links > :first-child { border-top: 0; }
  .navigation-dialog-links > a > span { margin-left: auto; color: #9ba5a9; }
  .navigation-dialog-links > a.active { color: var(--teal); font-weight: 700; }
  .navigation-dialog-links small { margin-left: auto; color: #9a8370; font-size: 7px; text-transform: uppercase; }
  .navigation-dialog-links .disabled { color: #9ba2a4; }
  .navigation-dialog-footer { padding: 15px 20px calc(15px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #ded8cc; background: #f4f0e8; }
  .navigation-dialog-footer > div:last-child { display: flex; align-items: center; gap: 7px; }
  .navigation-dialog-footer form { margin: 0; }
  .navigation-logout { min-height: 36px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: white; font-size: 9.5px; font-weight: 700; cursor: pointer; }
  .business-unit-grid { grid-template-columns: 1fr; }
  .dashboard-priority-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foundation-strip { grid-template-columns: 1fr; }
  .workflow-cards { grid-template-columns: 1fr; }
  .esign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-layout { grid-template-columns: 1fr; }
  .operation-summary-grid, .operation-summary-grid.four-columns { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .list-filter-form, .list-filter-form.invoice-filter-form { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .dashboard-attention-strip { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; }
  .dashboard-finance-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-analytics-grid, .dashboard-status-grid, .dashboard-lower-grid { grid-template-columns: 1fr; }
  .analytics-panel { min-height: 310px; }
}

@media (max-width: 700px) {
  .workspace-notification-dialog, .workspace-confirm-dialog { width: calc(100vw - 24px); border-radius: 18px; }
  .notification-modal-content { padding: 24px 21px 18px; grid-template-columns: 42px minmax(0,1fr); gap: 14px; }
  .notification-modal-symbol { width: 42px; height: 42px; font-size: 16px; }
  .notification-modal-copy h2 { font-size: 21px; }
  .notification-modal-actions { padding: 12px 21px 20px; }
  .notification-modal-actions button { width: 100%; }
  .confirm-modal-content { padding: 24px 21px 18px; grid-template-columns: 42px minmax(0,1fr); gap: 14px; }
  .confirm-modal-symbol { width: 42px; height: 42px; border-radius: 12px; font-size: 17px; }
  .confirm-modal-copy h2 { font-size: 21px; }
  .confirm-modal-actions { padding: 12px 21px 20px; display: grid; grid-template-columns: 1fr 1fr; }
  .confirm-modal-actions button { width: 100%; min-width: 0; }
  .auth-panel { padding: 17px; }
  .auth-card { padding: 28px 22px; border-radius: 17px; }
  .panel-logo { margin-bottom: 28px; }
  .workspace-topbar { display: none; }
  .workspace-content { padding: 18px; }
  .dashboard-command-hero { min-height: 0; padding: 29px 24px; align-items: flex-start; flex-direction: column; }
  .dashboard-command-copy h1 { font-size: clamp(34px, 10vw, 46px); }
  .dashboard-command-state { width: 100%; padding-top: 18px; grid-template-columns: 47px minmax(0,1fr); justify-items: start; align-items: center; column-gap: 12px; border-top: 1px solid rgba(255,255,255,.1); text-align: left; }
  .command-state-icon { width: 47px; height: 47px; margin: 0; padding: 12px; grid-row: span 3; border-radius: 14px; }
  .dashboard-command-state small { margin-top: 3px; }
  .command-state-live { margin-top: 7px; }
  .dashboard-attention-strip { grid-template-columns: 1fr; }
  .dashboard-attention-strip > a { min-height: 78px; }
  .dashboard-finance-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .finance-card { min-height: 128px; padding: 16px; }
  .finance-card strong { font-size: clamp(16px, 5vw, 21px); }
  .revenue-chart { height: 215px; gap: 6px; }
  .revenue-value { display: none; }
  .revenue-column { grid-template-rows: minmax(0,1fr) 17px 12px; }
  .invoice-donut-layout { grid-template-columns: 1fr; }
  .invoice-donut { width: 158px; }
  .invoice-donut-legend { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 14px; }
  .status-cell-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .status-cell-grid a:last-child { grid-column: 1 / -1; }
  .focus-item { padding: 13px 14px; grid-template-columns: 35px minmax(0,1fr) 17px; gap: 11px; }
  .focus-item-icon { width: 35px; height: 35px; }
  .focus-item-badge { display: none; }
  .dashboard-recent-list > a { grid-template-columns: 31px minmax(0,1fr); padding: 9px 0; }
  .dashboard-recent-list > a > span:last-child { grid-column: 2; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .dashboard-recent-list > a > span:last-child strong { margin: 0; }
  .welcome-panel { display: block; }
  .welcome-state { width: max-content; margin-top: 24px; }
  .section-heading { margin-top: 26px; }
  .dashboard-priority-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-priority-grid > a { min-height: 132px; padding: 15px; }
  .dashboard-recent-invoices > a { align-items: flex-start; }
  .business-switcher span:nth-child(2), .switcher-indicator { display: none; }
  .business-switcher { grid-template-columns: 29px; }
  .workspace-brand small { display: none; }
  .business-unit-card { padding: 20px; }
  .business-hero { align-items: flex-start; flex-direction: column-reverse; }
  .business-hero-mark { width: 64px; height: 64px; border-radius: 17px; font-size: 17px; }
  .metric-grid { grid-template-columns: 1fr; }
  .page-heading { align-items: stretch; flex-direction: column; }
  .page-action { width: 100%; }
  .page-heading-actions { align-items: stretch; flex-direction: column; }
  .invoice-readiness { align-items: stretch; flex-direction: column; }
  .invoice-summary-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invoice-summary-card > div { min-width: 0; padding: 18px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .invoice-summary-card > div:nth-child(2n) { border-right: 0; }
  .invoice-summary-card > div:nth-last-child(-n+2) { border-bottom: 0; }
  .invoice-summary-card strong { overflow-wrap: anywhere; font-size: 15px; }
  .tax-detail-grid { grid-template-columns: 1fr; }
  .tax-reconciliation-form { grid-template-columns: 1fr; }
  .tax-reconciliation-form .form-group:has(textarea), .tax-reconciliation-form .form-submit, .tax-reconciliation-form > .errorlist { grid-column: auto; }
  .invoice-review-strip { grid-template-columns: 1fr; }
  .source-document-table thead { display: none; }
  .source-document-table, .source-document-table tbody, .source-document-table tr, .source-document-table td { display: block; width: 100%; }
  .source-document-table td { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .source-document-table td + td { padding-top: 5px; border-top: 0; }
  .source-document-table tr { padding: 7px 0 12px; border-top: 1px solid var(--line); }
  .table-wrap:has(.realization-table) { overflow: visible; contain: none; }
  .realization-table, .realization-table tbody, .realization-table tr, .realization-table td { display: block; width: 100%; }
  .realization-table thead { display: none; }
  .realization-table tbody { padding: 5px 11px 12px; }
  .realization-table tr { margin-top: 10px; padding: 8px 14px 10px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 8px 22px rgba(24,38,43,.045); }
  .realization-table td { min-width: 0; padding: 9px 0; display: grid; grid-template-columns: minmax(88px,.42fr) minmax(0,1fr); align-items: center; gap: 13px; border-top: 1px solid #eeece7; white-space: normal; overflow-wrap: anywhere; }
  .realization-table td:first-child { border-top: 0; }
  .realization-table td::before { content: attr(data-label); color: #879196; font-size: 7.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .realization-table .checkbox-cell { text-align: left; }
  .realization-table input[type="checkbox"] { justify-self: start; }
  .realization-table textarea.realization-note, .realization-table .realization-note-cell { min-width: 0; }
  .realization-note-display { min-height: 0; }
  .table-wrap:has(.responsive-data-table) { overflow: visible; }
  .responsive-data-table, .responsive-data-table tbody, .responsive-data-table tr, .responsive-data-table td { display: block; width: 100%; }
  .invoice-list-table { min-width: 0; }
  .responsive-data-table thead { display: none; }
  .responsive-data-table tbody { padding: 6px 14px 14px; }
  .responsive-data-table tr { margin-top: 10px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 7px 20px rgba(24,38,43,.035); }
  .responsive-data-table td { min-width: 0; padding: 9px 0; display: grid; grid-template-columns: minmax(88px, .42fr) minmax(0, 1fr); gap: 13px; border-top: 1px solid #eeece7; white-space: normal; overflow-wrap: anywhere; }
  .responsive-data-table td:first-child { border-top: 0; }
  .responsive-data-table td::before { content: attr(data-label); color: #879196; font-size: 7.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .responsive-data-table td.empty-cell { display: block; padding: 20px 4px; text-align: center; }
  .responsive-data-table td.empty-cell::before { content: none; }
  .operation-summary-grid, .operation-summary-grid.four-columns { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .operation-summary-grid article { min-height: 116px; padding: 15px; grid-template-columns: 35px minmax(0,1fr); gap: 11px; }
  .operation-summary-icon { width: 35px; height: 35px; padding: 8px; border-radius: 10px; }
  .operation-summary-grid small { min-height: 20px; margin-bottom: 5px; font-size: 7.2px; }
  .operation-summary-grid strong { font-size: 19px; }
  .operation-summary-grid p { font-size: 8px; }
  .filter-panel-heading { min-height: 65px; padding: 13px 15px; }
  .filter-panel-heading p { display: none; }
  .filter-mobile-toggle { min-height: 34px; padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: white; background: rgba(255,255,255,.07); font-size: 8.5px; font-weight: 700; cursor: pointer; }
  .filter-mobile-toggle span { color: #e5bf65; font-size: 12px; transition: transform .15s ease; }
  .filter-mobile-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
  .list-filter-form:not(.mobile-expanded) { display: none; }
  .list-filter-form, .list-filter-form.invoice-filter-form { padding: 15px; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px 9px; }
  .filter-search { grid-column: 1 / -1; }
  .filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-apply, .filter-reset { width: 100%; }
  .elevated-data-panel .panel-heading { align-items: flex-start; }
  .panel-result-range { margin-top: 2px; }
  .operational-table tbody { padding: 5px 11px 12px; }
  .operational-table tr { padding: 8px 14px 10px; box-shadow: 0 8px 22px rgba(24,38,43,.045); }
  .operational-table td { font-size: 10.5px; }
  .operational-table .row-action-cell { width: 100%; padding-top: 11px; display: block; text-align: right; }
  .operational-table .row-action-cell::before { content: none; }
  .row-review-link { min-height: 34px; padding: 8px 11px; border: 1px solid #d8dfdc; border-radius: 8px; background: #f2f6f5; }
  .list-pagination { align-items: stretch; flex-direction: column; }
  .pagination-actions { justify-content: space-between; }
  .pagination-actions a, .pagination-actions span { flex: 1; justify-content: center; }
  .foundation-grid { grid-template-columns: 1fr; }
  .esign-grid { grid-template-columns: 1fr; }
  .public-placeholder { padding: 24px; }
}

@media (max-width: 390px) {
  .workspace-sidebar { padding-right: 13px; padding-left: 13px; }
  .workspace-brand strong { font-size: 13px; }
  .dashboard-priority-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .mobile-dock-item { font-size: 7.8px; }
  .navigation-dialog-footer { align-items: flex-start; flex-direction: column; }
  .navigation-dialog-footer > div:last-child { width: 100%; justify-content: flex-end; }
  .operation-summary-grid, .operation-summary-grid.four-columns { grid-template-columns: 1fr; }
  .operation-summary-grid article { min-height: 92px; }
  .operation-summary-grid small { min-height: 0; }
  .list-filter-form, .list-filter-form.invoice-filter-form { grid-template-columns: 1fr; }
  .filter-search, .filter-actions { grid-column: auto; }
  .filter-actions { grid-template-columns: 1fr; }
  .pagination-actions b { display: none; }
  .dashboard-command-actions { display: grid; grid-template-columns: 1fr; }
  .dashboard-action { width: 100%; justify-content: center; }
  .dashboard-finance-grid { grid-template-columns: 1fr; }
  .finance-card { min-height: 112px; }
  .invoice-donut-legend { grid-template-columns: 1fr; }
  .status-cell-grid { grid-template-columns: 1fr; }
  .status-cell-grid a:last-child { grid-column: auto; }
  .status-panel-heading { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .submit-spinner { animation-duration: 1.5s; }
}

