:root {
    --ink: #162126;
    --muted: #4f5f66;
    --line: #dce6e4;
    --paper: #f5f8f7;
    --panel: #ffffff;
    --nav: #0e2025;
    --nav-soft: #18343b;
    --green: #0b7a65;
    --green-dark: #064f43;
    --mint: #dff1ec;
    --gold: #b6842d;
    --red: #ad4e46;
    --blue: #315a78;
    --shadow: 0 22px 55px rgba(18, 32, 38, 0.09);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 8%, rgba(11, 122, 101, 0.13), transparent 28%),
        linear-gradient(180deg, #f8fbfa 0%, var(--paper) 48%, #eef4f2 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #f2c66f;
    outline-offset: 3px;
}

button,
input {
    font: inherit;
}

textarea,
select {
    font: inherit;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 282px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 28px 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 38%),
        var(--nav);
    color: #f9fbfb;
}

.sidebar .brand strong,
.sidebar-panel strong {
    color: #ffffff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: #f7fbfa;
    color: var(--green-dark);
    font-weight: 900;
    letter-spacing: 0;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    margin-top: 2px;
    color: #d7e4e6;
}

.nav-list {
    display: grid;
    gap: 6px;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 8px;
    color: #eef6f7;
}

.nav-list span {
    color: #b8cbd0;
    font-size: 0.75rem;
    font-weight: 800;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--nav-soft);
    color: #ffffff;
}

.sidebar-panel {
    margin-top: auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

.sidebar-panel p,
.eyebrow {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sidebar-panel p {
    color: #b7e3da;
}

.sidebar-panel strong,
.sidebar-panel small {
    display: block;
}

.sidebar-panel small {
    margin-top: 8px;
    color: #d7e4e6;
    line-height: 1.45;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.workspace {
    margin-left: 282px;
    padding: 30px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.topbar h1,
.hero-copy h2,
.section-heading h2,
.roadmap-card h2,
.login-card h2,
.login-hero h1 {
    margin: 0;
    letter-spacing: 0;
}

.topbar h1 {
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1;
}

.topbar-actions,
.hero-actions,
.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading {
    justify-content: space-between;
}

.ghost-button,
.solid-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 850;
}

.ghost-button {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
}

.ghost-button.dark {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.solid-button {
    background: var(--green);
    color: #fff;
}

.solid-button.full {
    width: 100%;
}

.hero-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 28px;
    overflow: hidden;
    min-height: 330px;
    margin-bottom: 18px;
    padding: 30px;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(6, 79, 67, 0.97), rgba(16, 32, 37, 0.96)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 68px);
    box-shadow: var(--shadow);
}

.hero-copy {
    align-self: center;
    max-width: 660px;
}

.hero-copy .eyebrow {
    color: #c7eee7;
}

.hero-copy h2 {
    max-width: 760px;
    font-size: clamp(2.3rem, 4.6vw, 5.3rem);
    line-height: 0.96;
}

.hero-text {
    max-width: 590px;
    margin: 18px 0 24px;
    color: #eef8f6;
    font-size: 1.04rem;
    line-height: 1.65;
}

.finance-visual {
    position: relative;
    align-self: stretch;
    min-height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.visual-card {
    position: absolute;
    z-index: 2;
    width: min(265px, 70%);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.visual-card.top {
    top: 24px;
    left: 24px;
}

.visual-card.bottom {
    right: 24px;
    bottom: 24px;
}

.visual-card span,
.visual-card strong {
    display: block;
}

.visual-card span {
    color: var(--muted);
}

.visual-card strong {
    margin-top: 7px;
    font-size: 1.35rem;
}

.bar-chart {
    position: absolute;
    inset: 96px 36px 82px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 16px;
}

.bar-chart span {
    width: 34px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #f2c66f, #0b7a65);
}

.bar-height-46 {
    height: 46%;
}

.bar-height-54 {
    height: 54%;
}

.bar-height-64 {
    height: 64%;
}

.bar-height-72 {
    height: 72%;
}

.bar-height-78 {
    height: 78%;
}

.bar-height-88 {
    height: 88%;
}

.summary-grid,
.module-grid,
.workflow-summary,
.content-grid {
    display: grid;
    gap: 18px;
}

.summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.workflow-summary {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 18px;
}

.accounts-flow-panel {
    margin-bottom: 18px;
}

.production-switcher {
    margin-bottom: 18px;
}

.production-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    margin-bottom: 18px;
    padding: 26px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #064f43, #17343a);
    box-shadow: var(--shadow);
}

.production-hero h2 {
    margin: 0;
    font-size: 2.2rem;
}

.production-hero p:not(.eyebrow) {
    max-width: 680px;
    margin: 12px 0 0;
    color: #d9eeea;
    line-height: 1.55;
}

.company-facts {
    display: grid;
    gap: 10px;
    margin: 0;
}

.company-facts div {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.company-facts dt { color: #bfe1da; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; }
.company-facts dd { margin: 5px 0 0; font-weight: 850; overflow-wrap: anywhere; }
.production-register { margin-bottom: 18px; }
.production-table { display: grid; gap: 8px; margin-top: 16px; overflow-x: auto; }
.production-row { display: grid; grid-template-columns: 0.8fr 1.35fr 1fr 1fr 1fr 1fr; gap: 12px; min-width: 920px; align-items: center; padding: 12px; border: 1px solid #e4eeeb; border-radius: 8px; background: #fff; }
.production-row > span, .production-row > strong { min-width: 0; overflow-wrap: anywhere; }
.production-row small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.35; }
.production-head { border-color: transparent; background: #f2f8f6; color: var(--muted); font-size: 0.76rem; font-weight: 900; text-transform: uppercase; }
.management-row { grid-template-columns: 1.2fr 0.9fr 1.4fr 0.9fr 1fr 0.9fr; }
.production-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }

.accounts-flow-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.accounts-flow-step {
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    gap: 8px;
    min-height: 164px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(19, 45, 43, 0.07);
}

.accounts-flow-step span {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 900;
}

.accounts-flow-step strong {
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.25;
}

.accounts-flow-step em {
    width: fit-content;
    padding: 5px 8px;
    border-radius: 999px;
    background: #edf7f3;
    color: var(--green-dark);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.accounts-flow-step small {
    color: var(--muted);
    line-height: 1.4;
}

.accounts-flow-step.attention {
    border-color: #f3d29b;
    background: #fffaf0;
}

.accounts-flow-step.attention em {
    background: #f9e8c7;
    color: #7a4b00;
}

.accounts-flow-step.ready {
    background: linear-gradient(180deg, #ffffff, #f2faf6);
}

.launch-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.launch-section {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfefd;
}

.launch-section h3 {
    margin: 0 0 12px;
    color: var(--green-dark);
    font-size: 1rem;
}

.content-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.75fr);
    align-items: start;
}

.activity-surface {
    grid-column: 1 / -1;
}

.workbench-surface {
    grid-column: 1 / -1;
}

.metric,
.surface,
.module-tile,
.workflow-card,
.client-action-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.metric,
.surface {
    padding: 20px;
}

.metric span,
.metric small {
    color: var(--muted);
}

.metric strong {
    display: block;
    margin: 12px 0 6px;
    font-size: clamp(1.4rem, 2vw, 2rem);
    letter-spacing: 0;
}

.module-tile {
    min-height: 152px;
    padding: 18px;
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.module-tile:hover {
    transform: translateY(-2px);
    border-color: #b8d4cd;
}

.module-tile span,
.module-tile strong,
.module-tile small {
    display: block;
}

.module-tile span {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.module-tile strong {
    margin: 20px 0 8px;
    font-size: 1.08rem;
}

.module-tile small {
    color: var(--muted);
    line-height: 1.45;
}

.module-tile.ready {
    background: linear-gradient(180deg, #ffffff, #f0f8f5);
}

.workflow-card {
    display: grid;
    gap: 8px;
    min-height: 134px;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff, #f7fbfa);
}

.workflow-card span,
.workflow-card small,
.client-action-card span,
.client-action-card small {
    color: var(--muted);
}

.workflow-card span,
.client-action-card span {
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.workflow-card strong {
    color: var(--green-dark);
    font-size: 2rem;
    line-height: 1;
}

.workflow-card small,
.client-action-card small {
    line-height: 1.4;
}

.client-list,
.stack-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.client-row,
.stack-item,
.table-row {
    display: grid;
    align-items: center;
    border: 1px solid #e8efed;
    border-radius: 8px;
    background: #fff;
}

.client-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 13px;
}

.client-avatar {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: var(--mint);
    color: var(--green-dark);
    font-weight: 900;
    text-transform: uppercase;
}

.client-main strong,
.client-main small,
.stack-item strong,
.stack-item small {
    display: block;
}

.client-main small,
.stack-item small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.35;
}

.status-pill {
    width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ecf6f2;
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.status-pill.warning {
    background: #fff4de;
    color: #8a5a12;
}

.text-link {
    color: var(--green);
    font-weight: 900;
}

.right-rail {
    display: grid;
    gap: 18px;
}

.stack-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
}

.amount {
    font-weight: 900;
    color: var(--gold);
}

.roadmap-card {
    background: linear-gradient(145deg, #ffffff, #edf5f2);
}

.roadmap-card ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.roadmap-card li {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
}

.integration-card {
    background: linear-gradient(145deg, #ffffff, #f4faf8);
}

.integration-surface {
    max-width: 1120px;
}

.integration-grid,
.config-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.integration-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.integration-grid div,
.config-item {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e3eeea;
    border-radius: 8px;
    background: #fff;
}

.integration-grid span,
.config-item span,
.integration-grid strong,
.config-item strong {
    display: block;
}

.integration-grid span,
.config-item span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.integration-grid strong,
.config-item strong {
    margin-top: 7px;
    overflow-wrap: anywhere;
}

.config-list.compact {
    gap: 8px;
}

.config-list.compact .config-item {
    padding: 11px 12px;
}

.integration-actions {
    margin-top: 18px;
}

.page-messages {
    margin-bottom: 18px;
}

.vat-control-panel {
    margin-bottom: 18px;
}

.inline-switcher {
    max-width: 420px;
    margin-top: 18px;
    color: var(--ink);
    background: #f8fbfa;
    border-color: var(--line);
}

.inline-switcher label,
.inline-switcher small {
    color: var(--muted);
}

.vat-workspace-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.vat-card {
    display: grid;
    gap: 11px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e3eeea;
    border-radius: 8px;
    background: #fff;
}

.vat-card span,
.vat-card label,
.vat-obligation-card small {
    color: var(--muted);
    font-weight: 800;
}

.vat-card input,
.date-pair input {
    min-height: 42px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 11px;
    background: #fbfdfc;
}

.date-pair {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.vat-obligation-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.vat-obligation-card {
    padding: 16px;
    border: 1px solid #e3eeea;
    border-radius: 8px;
    background: #fff;
}

.vat-obligation-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.vat-obligation-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.vat-box-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.vat-box-grid div {
    min-height: 112px;
    padding: 12px;
    border: 1px solid #e8efed;
    border-radius: 8px;
    background: #f8fbfa;
}

.vat-box-grid span,
.vat-box-grid strong,
.vat-box-grid small {
    display: block;
}

.vat-box-grid span {
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 900;
}

.vat-box-grid strong {
    margin: 14px 0 6px;
    font-size: 1.25rem;
}

.vat-submit-row {
    margin-top: 14px;
}

.vat-review-checklist {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #e3eeea;
    border-radius: 8px;
    background: #f8fbfa;
}

.checklist-heading,
.approval-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vat-review-checklist label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    color: var(--ink);
    font-weight: 800;
}

.vat-review-checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.approval-strip {
    flex-wrap: wrap;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
}

.approval-strip span {
    color: var(--muted);
    font-weight: 850;
}

.client-approval {
    margin-top: 14px;
}

.response-block {
    overflow: auto;
    padding: 14px;
    border: 1px solid #e3eeea;
    border-radius: 8px;
    background: #0e2025;
    color: #eef8f5;
}

.solid-button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.activity-table {
    margin-top: 18px;
    min-width: 0;
}

.table-head,
.table-row {
    grid-template-columns: 100px minmax(120px, 0.7fr) minmax(140px, 1.3fr) minmax(0, 190px);
    gap: 14px;
    padding: 12px 14px;
}

.table-head {
    display: grid;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.table-row {
    margin-top: 8px;
}

.table-row > * {
    min-width: 0;
    overflow-wrap: anywhere;
}

.empty-state {
    padding: 16px;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 8px;
}

.login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(14, 32, 37, 0.94), rgba(6, 79, 67, 0.92)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 76px);
}

.login-shell {
    display: grid;
    width: min(1080px, 100%);
    min-height: 650px;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.75fr);
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
}

.login-visual {
    position: relative;
    padding: 34px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(14, 32, 37, 0.96), rgba(11, 122, 101, 0.86)),
        #0e2025;
}

.login-brand {
    color: #fff;
}

.login-hero {
    display: grid;
    align-content: center;
    min-height: 520px;
}

.login-hero .eyebrow {
    color: #a9ddd4;
}

.login-hero h1 {
    max-width: 620px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.98;
}

.preview-window {
    width: min(520px, 100%);
    margin-top: 34px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.preview-toolbar {
    display: flex;
    gap: 7px;
}

.preview-toolbar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.preview-grid div {
    height: 72px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
}

.preview-lines {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.preview-lines span {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}

.preview-lines span:nth-child(2) {
    width: 82%;
}

.preview-lines span:nth-child(3) {
    width: 66%;
}

.preview-lines span:nth-child(4) {
    width: 74%;
}

.login-card {
    display: grid;
    align-content: center;
    gap: 20px;
    padding: 42px;
}

.login-card h2 {
    font-size: 2rem;
}

.login-form {
    display: grid;
    gap: 10px;
}

.login-form label {
    color: var(--muted);
    font-weight: 800;
}

.login-form input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdfc;
}

.form-error {
    margin: 0;
    padding: 12px;
    border-radius: 8px;
    background: #fff1ef;
    color: var(--red);
    font-weight: 800;
}

.login-note {
    margin: 0;
    color: var(--muted);
}

.client-page {
    background:
        radial-gradient(circle at 86% 12%, rgba(49, 90, 120, 0.12), transparent 26%),
        linear-gradient(180deg, #fbfcfb 0%, #f3f7f5 58%, #edf4f1 100%);
}

.client-sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
        #10242b;
}

.client-workspace {
    max-width: 1680px;
}

.client-topbar h1 {
    max-width: 920px;
}

.client-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    margin-bottom: 18px;
    padding: 30px;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 43, 53, 0.98), rgba(11, 122, 101, 0.88)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 72px);
    box-shadow: var(--shadow);
}

.client-hero-copy {
    max-width: 840px;
}

.client-hero .eyebrow {
    color: #d3f2ec;
}

.client-hero h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.3rem, 4.7vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.client-hero p {
    max-width: 690px;
    color: #f2fbf9;
    font-size: 1.05rem;
    line-height: 1.65;
}

.company-switcher {
    align-self: end;
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.company-switcher label {
    color: #f2fbf9;
    font-weight: 850;
}

.company-switcher select {
    min-height: 44px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.company-switcher small {
    color: #edf8f6;
    line-height: 1.45;
}

.client-status-grid,
.client-action-strip,
.client-grid {
    display: grid;
    gap: 18px;
}

.client-status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.client-action-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.client-status-card,
.client-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.client-status-card {
    min-height: 145px;
    padding: 20px;
}

.client-status-card span,
.client-status-card small {
    color: var(--muted);
}

.client-status-card strong {
    display: block;
    margin: 13px 0 6px;
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    letter-spacing: 0;
}

.client-status-card.ready {
    background: linear-gradient(180deg, #ffffff, #edf8f4);
}

.client-status-card.attention strong {
    color: var(--gold);
}

.client-action-card {
    display: grid;
    gap: 8px;
    min-height: 142px;
    padding: 18px;
    background: #fff;
}

.client-action-card strong {
    font-size: 1.08rem;
}

.client-action-card.ready {
    background: linear-gradient(180deg, #ffffff, #edf8f4);
}

.client-action-card.attention {
    border-color: #e5c98c;
    background: linear-gradient(180deg, #ffffff, #fff7e8);
}

.client-action-card.attention span {
    color: #8a5a12;
}

.client-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: start;
}

.client-grid > * {
    min-width: 0;
}

.client-panel {
    padding: 20px;
}

.upload-panel,
.business-health {
    grid-column: span 1;
}

.dropzone {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 265px;
    margin-top: 18px;
    padding: 26px;
    border: 1px dashed #91bdb3;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(223, 241, 236, 0.8), rgba(255, 255, 255, 0.94));
    text-align: center;
}

.dropzone strong {
    max-width: 560px;
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
    line-height: 1.1;
    letter-spacing: 0;
}

.dropzone span {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.55;
}

.upload-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.file-input {
    width: min(520px, 100%);
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.message-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.message {
    padding: 11px 12px;
    border-radius: 8px;
    background: #eef6f3;
    color: var(--green-dark);
    font-weight: 800;
}

.message.error {
    background: #fff1ef;
    color: var(--red);
}

.upload-types span {
    padding: 8px 10px;
    border-radius: 999px;
    background: #eef6f3;
    color: var(--green-dark);
    font-size: 0.84rem;
    font-weight: 850;
}

.request-list,
.report-list,
.client-activity {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.document-list,
.queue-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.document-item,
.queue-item {
    display: grid;
    align-items: center;
    gap: 12px;
    border: 1px solid #e8efed;
    border-radius: 8px;
    background: #fff;
}

.document-item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    padding: 13px;
}

.document-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    background: #edf7f4;
    color: var(--green-dark);
    font-size: 0.74rem;
    font-weight: 900;
}

.document-item strong,
.document-item small,
.queue-item strong,
.queue-item small {
    display: block;
}

.document-item small,
.queue-item small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.4;
}

.document-item em,
.queue-item em {
    min-width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef6f3;
    color: var(--green-dark);
    font-style: normal;
    font-weight: 850;
}

.workbench-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.queue-panel {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e3eeea;
    border-radius: 8px;
    background: #f8fbfa;
}

.queue-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.queue-heading span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: var(--green-dark);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}

.queue-heading strong {
    font-size: 1.02rem;
}

.queue-item {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 76px;
    padding: 12px;
}

.request-triage-item {
    align-items: start;
}

.request-triage-form {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.request-triage-form select {
    min-width: 0;
    flex: 1 1 110px;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
    background: #fff;
    color: var(--ink);
}

.request-triage-form .ghost-button {
    min-height: 38px;
    padding: 0 12px;
}

.inline-form-grid,
.evidence-triage-form {
    display: grid;
    gap: 10px;
}

.inline-form-grid {
    grid-template-columns: minmax(220px, 1fr) 180px auto;
    align-items: end;
    margin-top: 18px;
}

.inline-form-grid label,
.evidence-triage-form label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-weight: 850;
}

.inline-form-grid input,
.inline-form-grid select,
.evidence-triage-form input,
.evidence-triage-form select {
    min-height: 38px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
    background: #fff;
    color: var(--ink);
}

.evidence-review-row {
    grid-template-columns: 120px minmax(140px, 0.7fr) minmax(180px, 0.9fr) minmax(360px, 1.45fr);
}

.evidence-review-row small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.evidence-triage-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.evidence-triage-form .wide {
    grid-column: span 2;
}

.evidence-viewer iframe {
    width: 100%;
    min-height: 720px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.evidence-viewer img {
    display: block;
    max-width: 100%;
    max-height: 760px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.request-item,
.report-item,
.activity-item {
    border: 1px solid #e8efed;
    border-radius: 8px;
    background: #fff;
}

.request-item {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
}

.request-item.muted {
    opacity: 0.78;
}

.request-dot {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--red);
}

.request-dot.gold {
    background: var(--gold);
}

.request-dot.green {
    background: var(--green);
}

.request-item strong,
.request-item small,
.activity-item strong,
.activity-item small {
    display: block;
}

.request-item small,
.activity-item small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.4;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.health-grid div {
    min-height: 130px;
    padding: 16px;
    border-radius: 8px;
    background: #f6faf8;
    border: 1px solid #e3eeea;
}

.health-grid span,
.health-grid strong {
    display: block;
}

.health-grid span {
    color: var(--muted);
}

.health-grid strong {
    margin-top: 20px;
    font-size: 1.35rem;
}

.accounts-health-plan {
    grid-column: 1 / -1;
}

.health-plan-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.health-plan-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px 14px;
    align-content: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.health-plan-item strong,
.health-plan-item small {
    display: block;
}

.health-plan-item small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.45;
}

.health-plan-item em {
    width: max-content;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eef6f3;
    color: var(--green-dark);
    font-style: normal;
    font-weight: 850;
}

.health-plan-item.attention em {
    background: #fff3d6;
    color: #8a5a00;
}

.health-plan-item .next-action {
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-weight: 800;
}

.operating-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.operating-card {
    min-height: 118px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #dbe9e5;
    background: #f9fcfb;
}

.operating-card span,
.operating-card strong,
.operating-card small {
    display: block;
}

.operating-card span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.operating-card strong {
    margin-top: 12px;
    color: var(--ink);
    font-size: 1.45rem;
}

.operating-card small {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.45;
}

.suite-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid #dbe8e4;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 247, 243, 0.88)),
        #f8fbfa;
}

.suite-hero h2 {
    margin: 4px 0 10px;
    font-size: 2rem;
}

.suite-hero p {
    max-width: 780px;
    color: var(--muted);
    line-height: 1.6;
}

.suite-score {
    display: grid;
    align-content: center;
    min-height: 150px;
    padding: 20px;
    border-radius: 8px;
    background: #0d3b38;
    color: #fff;
}

.suite-score span,
.suite-score small {
    color: #cde8e2;
    font-weight: 800;
}

.suite-score strong {
    margin: 8px 0;
    font-size: 2.4rem;
}

.suite-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}

.suite-panel {
    min-height: 0;
}

.suite-table {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.suite-row {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 0.8fr 0.8fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e2ece8;
    border-radius: 8px;
    background: #fbfdfc;
    font-size: 0.92rem;
}

.suite-row.action-row {
    grid-template-columns: 0.85fr 1.15fr 0.75fr 0.8fr auto auto;
}

.suite-row strong,
.suite-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.suite-head {
    background: #edf7f4;
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mini-stack {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.mini-stack > div {
    padding: 12px;
    border: 1px solid #e2ece8;
    border-radius: 8px;
    background: #fbfdfc;
}

.mini-stack strong,
.mini-stack small {
    display: block;
}

.mini-stack small {
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.45;
}

.inline-action-form {
    margin: 8px 0 0;
}

.suite-row .inline-action-form {
    margin: 0;
}

.mini-button {
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid #cfe2dc;
    border-radius: 8px;
    background: #0f876f;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.mini-button:hover {
    background: #0b6f5d;
}

.mini-button.secondary {
    background: #f4f7f6;
    color: var(--ink);
}

.mini-button.secondary:hover {
    background: #e5eeeb;
}

.approval-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.approval-actions input {
    min-height: 34px;
    min-width: 190px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
}

.quiet-label {
    color: var(--muted);
    font-style: normal;
    font-weight: 800;
}

.compact-flow {
    margin-top: 14px;
}

.compact-flow .accounts-flow-step {
    min-height: 150px;
}

.report-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
}

.report-item strong,
.report-item small {
    display: block;
}

.report-item > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.report-item small {
    margin-top: 4px;
    color: var(--muted);
}

.report-item em {
    min-width: max-content;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eef6f3;
    color: var(--green-dark);
    font-style: normal;
    font-weight: 850;
}

.report-actions {
    display: flex;
    gap: 8px;
}

.report-actions a {
    min-width: 48px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef6f3;
    color: var(--green-dark);
    font-weight: 900;
    text-align: center;
}

.activity-item {
    padding: 14px;
}

.activity-item span {
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 850;
}

.support-panel {
    color: #fff;
    background:
        linear-gradient(145deg, rgba(16, 36, 43, 0.97), rgba(49, 90, 120, 0.9)),
        #10242b;
}

.support-panel .eyebrow {
    color: #aad9d1;
}

.support-panel p {
    color: #f2fbf9;
    line-height: 1.6;
}

.support-panel .solid-button {
    background: #fff;
    color: var(--green-dark);
}

.support-form {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.support-form label {
    color: #f2fbf9;
    font-weight: 850;
}

.support-form input,
.support-form select,
.support-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
}

.support-form textarea {
    min-height: 126px;
    resize: vertical;
}

.support-form.light label {
    color: var(--muted);
}

.support-form.light input,
.support-form.light select,
.support-form.light textarea {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.billing-actions,
.evidence-quick-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.billing-actions form,
.evidence-quick-actions form {
    margin: 0;
}

.evidence-actions-panel {
    margin-bottom: 18px;
}

.support-history {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.support-history-item {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.support-history-item strong,
.support-history-item small {
    display: block;
}

.support-history-item small {
    margin-top: 4px;
    color: #d9e8e7;
}

@media (max-width: 1180px) {
    .summary-grid,
    .module-grid,
    .workflow-summary,
    .accounts-flow-grid,
    .operating-grid,
    .health-plan-list,
    .client-action-strip,
    .client-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-panel,
    .content-grid,
    .suite-grid,
    .suite-hero,
    .client-hero,
    .client-grid,
    .integration-grid,
    .launch-section-grid,
    .workbench-grid,
    .vat-workspace-grid,
    .vat-box-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .sidebar {
        position: static;
        width: auto;
        gap: 14px;
        padding: 16px;
    }

    .nav-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .nav-list a {
        min-height: 40px;
        padding: 0 10px;
        font-size: 0.88rem;
    }

    .sidebar-panel {
        display: none;
    }

    .workspace {
        margin-left: 0;
        padding: 18px;
    }

    .topbar,
    .topbar-actions,
    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .summary-grid,
    .module-grid,
    .workflow-summary,
    .accounts-flow-grid,
    .operating-grid,
    .health-plan-list,
    .client-action-strip,
    .client-status-grid,
    .health-grid,
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-visual {
        min-height: auto;
    }

    .client-row,
    .stack-item,
    .document-item,
    .queue-item,
    .health-plan-item,
    .suite-row,
    .inline-form-grid,
    .evidence-review-row,
    .evidence-triage-form,
    .table-row {
        grid-template-columns: 1fr;
    }

    .report-item {
        align-items: stretch;
        flex-direction: column;
    }

    .report-item em {
        align-self: flex-start;
    }

    .report-actions {
        flex-wrap: wrap;
    }

    .table-head {
        display: none;
    }

    .finance-visual {
        min-height: 310px;
    }
}

/* Operational UI refinement: a compact, scan-first interface for daily accounting work. */
:root {
    --shadow: 0 3px 12px rgba(18, 32, 38, 0.06);
    --paper: #f6f8f8;
}

body {
    background: var(--paper);
    font-size: 15px;
    line-height: 1.45;
}

.sidebar {
    width: 244px;
    gap: 22px;
    padding: 20px 14px;
    background: var(--nav);
}

.brand {
    gap: 10px;
    padding: 0 8px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
}

.brand strong { font-size: 0.96rem; }
.brand small { font-size: 0.76rem; }

.nav-list { gap: 2px; }
.nav-list a {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 650;
}
.nav-list span { display: none; }
.sidebar-panel {
    padding: 13px;
    border-radius: 6px;
    font-size: 0.82rem;
}

.workspace {
    max-width: 1780px;
    margin-left: 244px;
    padding: 24px 28px 36px;
}

.topbar { margin-bottom: 20px; }
.topbar h1 { font-size: 1.7rem; line-height: 1.2; }
.eyebrow { margin-bottom: 5px; font-size: 0.68rem; letter-spacing: 0.06em; }
.topbar-actions, .hero-actions, .section-heading { gap: 8px; }

.ghost-button, .solid-button {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 0.86rem;
    font-weight: 750;
}

.workday-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    padding: 18px 20px;
    border: 1px solid #cfe0dc;
    border-left: 4px solid var(--green);
    border-radius: 6px;
    background: #fff;
}
.workday-header h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.workday-header p:not(.eyebrow) { max-width: 720px; margin: 5px 0 0; color: var(--muted); }
.workday-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }

.summary-grid, .module-grid, .content-grid, .production-grid { gap: 14px; }
.summary-grid { margin-bottom: 14px; }
.module-grid { margin-bottom: 14px; }
.metric, .surface, .module-tile, .workflow-card, .client-action-card, .client-status-card, .client-panel {
    border-radius: 6px;
    box-shadow: none;
}
.metric, .surface { padding: 16px; }
.metric strong { margin: 6px 0 3px; font-size: 1.4rem; line-height: 1.25; }
.metric small, .metric span { font-size: 0.8rem; }

.priority-surface { margin-bottom: 14px; }
.section-heading h2 { font-size: 1.12rem; line-height: 1.3; }
.priority-list { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.priority-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 9px 4px;
    border-bottom: 1px solid var(--line);
}
.priority-row:hover { background: #f4f9f7; }
.priority-count {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--green-dark);
    font-size: 0.86rem;
    font-weight: 800;
}
.priority-row strong, .priority-row small { display: block; }
.priority-row strong { font-size: 0.92rem; }
.priority-row small { margin-top: 2px; color: var(--muted); font-size: 0.82rem; }
.priority-action { color: var(--green); font-size: 0.82rem; font-weight: 750; }

.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.module-tile { min-height: 118px; padding: 15px; }
.module-tile span { font-size: 0.68rem; }
.module-tile strong { margin: 12px 0 5px; font-size: 0.96rem; }
.module-tile small { font-size: 0.82rem; line-height: 1.4; }
.module-tile.ready, .workflow-card, .roadmap-card, .integration-card, .client-status-card.ready, .client-action-card.ready {
    background: #fff;
}

.content-grid { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr); }
.client-list, .stack-list { gap: 6px; margin-top: 12px; }
.client-row, .stack-item, .table-row { border-radius: 5px; }
.client-row { padding: 10px; }
.client-avatar { width: 38px; height: 38px; border-radius: 5px; font-size: 0.78rem; }
.client-main strong { font-size: 0.9rem; }
.client-main small, .stack-item small { font-size: 0.79rem; }
.status-pill { padding: 4px 7px; border-radius: 999px; font-size: 0.7rem; }

.production-hero, .client-hero {
    gap: 18px;
    margin-bottom: 14px;
    padding: 20px;
    border: 1px solid #cfe0dc;
    border-radius: 6px;
    box-shadow: none;
    background: #0e3d3b;
}
.production-hero h2, .client-hero h2 { font-size: 1.5rem; line-height: 1.25; }
.production-hero p:not(.eyebrow), .client-hero p { margin: 8px 0 0; font-size: 0.9rem; line-height: 1.5; }
.company-facts div, .company-switcher { padding: 11px; border-radius: 5px; }
.company-facts dt { font-size: 0.68rem; }
.company-facts dd { font-size: 0.88rem; }

.client-status-grid, .client-action-strip { gap: 14px; margin-bottom: 14px; }
.client-status-card { min-height: 112px; padding: 15px; }
.client-status-card strong { margin: 7px 0 3px; font-size: 1.35rem; }
.client-status-card span, .client-status-card small { font-size: 0.8rem; }
.client-action-card { min-height: 112px; padding: 15px; }
.client-action-card strong { font-size: 0.92rem; }
.client-action-card small { font-size: 0.8rem; }

.accounts-flow-grid { gap: 10px; margin-top: 12px; }
.accounts-flow-step { min-height: 130px; padding: 13px; border-radius: 6px; box-shadow: none; }
.accounts-flow-step strong { font-size: 0.88rem; }
.accounts-flow-step small { font-size: 0.78rem; }
.accounts-flow-step em { padding: 4px 6px; font-size: 0.65rem; }
.production-row { padding: 10px; border-radius: 5px; font-size: 0.82rem; }
.production-head { font-size: 0.66rem; }

@media (max-width: 1180px) {
    .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .sidebar { position: static; width: auto; padding: 12px; }
    .nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .workspace { margin-left: 0; padding: 16px; }
    .topbar { align-items: flex-start; }
    .topbar h1 { font-size: 1.45rem; }
    .topbar-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
    .workday-header { align-items: flex-start; flex-direction: column; padding: 15px; }
    .workday-actions { width: 100%; }
    .workday-actions a { flex: 1 1 150px; }
    .priority-row { grid-template-columns: 36px minmax(0, 1fr); }
    .priority-action { display: none; }
    .production-hero, .client-hero { padding: 16px; }
    .production-hero h2, .client-hero h2 { font-size: 1.3rem; }
}
