:root {
    color-scheme: light;
    --background: #ede8de;
    --surface: #faf7ef;
    --surface-soft: #eef4ec;
    --surface-strong: #1b3029;
    --surface-warm: #f6eddf;
    --accent-pale: #e2efe4;
    --border-pale: #d8dfd4;
    --tan: #d4a373;
    --tan-soft: #ffecd2;
    --text: #244235;
    --heading: #182a24;
    --muted: #657468;
    --border: #d8dfd4;
    --accent: #2f7d3a;
    --accent-hover: #245f2d;
    --accent-strong: #1f6f35;
    --accent-soft: #e8f4ea;
    --warning: #2f7d3a;
    --shadow: 0 18px 45px rgba(25, 44, 39, 0.08);
    --font-body: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: Unna, Georgia, serif;
    font-family: var(--font-body);
}

/* Syncfusion design review refresh */
.syncfusion-review {
    --sync-bg: #f5f4ef;
    --sync-surface: #ffffff;
    --sync-surface-soft: #f2f5f6;
    --sync-ink: #17202a;
    --sync-muted: #63717d;
    --sync-line: #dce3e7;
    --sync-blue: #466a7f;
    --sync-amber: #9a6b3f;
    --sync-rose: #8a4d5c;
    --sync-teal: #527a64;
    --sync-shadow: 0 18px 44px rgba(38, 47, 58, 0.1);
    color: var(--sync-ink);
}

.syncfusion-review.app-page {
    width: min(1920px, calc(100% - clamp(24px, 4vw, 80px)));
}

body:has(.syncfusion-review) {
    background: var(--sync-bg);
}

.syncfusion-review .app-topbar {
    border-bottom: 1px solid rgba(23, 32, 42, 0.09);
}

.sync-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    gap: 22px;
    align-items: stretch;
    margin: 18px 0;
}

.sync-hero-compact {
    grid-template-columns: minmax(0, 1fr);
}

.sync-hero > div,
.research-stance,
.syncfusion-frame,
.research-grid article {
    background: var(--sync-surface);
    border: 1px solid var(--sync-line);
    border-radius: 8px;
    box-shadow: var(--sync-shadow);
}

.sync-hero > div {
    padding: clamp(24px, 4vw, 42px);
}

.sync-hero h1 {
    max-width: 960px;
    margin-top: 8px;
    color: var(--sync-ink);
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.02;
    font-weight: 760;
}

.sync-hero p {
    max-width: 820px;
    margin-top: 16px;
    color: var(--sync-muted);
    font-size: 1rem;
}

.recommendation-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
    gap: 18px;
    align-items: stretch;
    margin: 18px 0 22px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--sync-line);
    border-radius: 8px;
    box-shadow: var(--sync-shadow);
}

.recommendation-panel h2 {
    max-width: 820px;
    margin-top: 6px;
    color: var(--sync-ink);
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 2.4vw, 1.9rem);
    line-height: 1.15;
}

.recommendation-panel p:not(.section-label) {
    max-width: 980px;
    margin-top: 10px;
    color: var(--sync-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.recommendation-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: start;
    padding: 2px;
}

.recommendation-points span {
    width: fit-content;
    padding: 7px 10px;
    color: var(--sync-blue);
    background: #edf4f7;
    border: 1px solid #d8e5eb;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 760;
}

.recommendation-points span:nth-child(2) {
    color: var(--sync-amber);
    background: #f7f1e8;
    border-color: #eadbc8;
}

.recommendation-points span:nth-child(3) {
    color: #6a5f8f;
    background: #f0eef8;
    border-color: #ddd8f0;
}

.recommendation-points span:nth-child(4) {
    color: var(--sync-rose);
    background: #f7edf0;
    border-color: #ead4dc;
}

.recommendation-points span:nth-child(5) {
    color: var(--sync-teal);
    background: #edf5f0;
    border-color: #d8e8dd;
}

.style-options {
    margin: 20px 0 28px;
}

.style-options .studio-header {
    padding: 20px 0 4px;
    border-top: 1px solid var(--sync-line);
}

.style-options .studio-header h2 {
    max-width: 860px;
    color: var(--sync-ink);
    font-family: var(--font-body);
}

.style-options .studio-header p:not(.section-label) {
    max-width: 720px;
    color: var(--sync-muted);
    font-size: 0.93rem;
}

.research-stance {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 22px;
}

.research-stance strong,
.research-grid strong,
.concept-copy h2,
.panel-heading,
.focus-panel strong,
.question-rail h3,
.binder-workspace header strong {
    color: var(--sync-ink);
}

.research-stance span {
    display: block;
    padding: 12px;
    background: var(--sync-surface-soft);
    border-left: 4px solid var(--sync-blue);
    border-radius: 6px;
    color: var(--sync-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.research-stance span:nth-of-type(2) {
    border-left-color: var(--sync-rose);
}

.research-stance span:nth-of-type(3) {
    border-left-color: var(--sync-amber);
}

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

.research-grid article {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.research-grid span {
    color: var(--sync-blue);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0;
    text-transform: uppercase;
}

.research-grid p {
    color: var(--sync-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.sync-concept {
    display: grid;
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: 24px 0;
}

.concept-copy {
    position: sticky;
    top: 14px;
    display: grid;
    gap: 14px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--sync-line);
    border-radius: 8px;
}

.concept-copy h2 {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.15;
    font-weight: 760;
}

.concept-copy p {
    color: var(--sync-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.syncfusion-frame {
    min-width: 0;
    max-width: 100%;
    padding: 16px;
    overflow: hidden;
}

.syncfusion-frame .e-control,
.syncfusion-frame .e-control * {
    font-family: var(--font-body);
}

.syncfusion-frame .e-dashboardlayout {
    min-height: 610px;
}

.syncfusion-frame .e-dashboardlayout .e-panel {
    min-width: 0;
    background: var(--sync-surface);
    border: 1px solid var(--sync-line);
    border-radius: 8px;
    box-shadow: none;
}

.syncfusion-frame .e-dashboardlayout .e-panel-header {
    height: auto;
    min-height: 42px;
    padding: 12px 14px;
    background: #f8fafb;
    border-bottom: 1px solid var(--sync-line);
}

.syncfusion-frame .e-dashboardlayout .e-panel-container .e-panel-content {
    min-width: 0;
    padding: 14px;
    overflow: hidden;
}

.panel-heading {
    font-size: 0.82rem;
    font-weight: 760;
}

.command-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(280px, 0.85fr);
    gap: 16px;
    align-items: stretch;
}

.command-main,
.command-side {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.command-side {
    grid-template-rows: auto minmax(0, 1fr);
}

.command-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.command-panel {
    min-width: 0;
    overflow: hidden;
    background: var(--sync-surface);
    border: 1px solid var(--sync-line);
    border-radius: 8px;
}

.command-panel > .panel-heading {
    display: block;
    padding: 12px 14px;
    background: var(--sync-surface-soft);
    border-bottom: 1px solid var(--sync-line);
}

.command-panel > .progress-stack,
.command-panel > .decision-stack,
.command-panel > .e-control,
.command-tracker > .e-grid,
.command-focus .focus-panel {
    padding: 14px;
}

.command-focus {
    min-height: 100%;
}

.workload-chart {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
    min-height: 210px;
    padding: 22px 18px 14px;
    background:
        linear-gradient(to top, color-mix(in srgb, var(--sync-line) 72%, transparent) 1px, transparent 1px) 0 22px / 100% 42px,
        var(--sync-surface);
}

.workload-bar {
    display: grid;
    grid-template-rows: minmax(110px, 1fr) auto;
    gap: 10px;
    min-width: 0;
    color: var(--sync-muted);
    font-size: 0.72rem;
    font-weight: 650;
    text-align: center;
}

.workload-bar span {
    align-self: end;
    width: min(76px, 78%);
    height: var(--bar-height);
    min-height: 18px;
    margin: 0 auto;
    background: var(--bar-color);
    border-radius: 4px 4px 0 0;
    box-shadow: inset 0 1px 0 color-mix(in srgb, white 34%, transparent);
}

.workload-bar strong {
    overflow: hidden;
    color: var(--sync-muted);
    font-size: inherit;
    font-weight: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.progress-stack,
.decision-stack,
.focus-panel {
    display: grid;
    gap: 12px;
}

.metric-line {
    display: grid;
    gap: 4px;
}

.metric-line div {
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: space-between;
}

.metric-line strong {
    font-size: 0.83rem;
}

.metric-line span {
    color: var(--sync-muted);
    font-size: 0.72rem;
}

.decision-chip {
    display: grid;
    gap: 4px;
    padding: 11px;
    background: #f6f8f8;
    border: 1px solid var(--sync-line);
    border-left: 4px solid var(--sync-blue);
    border-radius: 6px;
}

.decision-high {
    border-left-color: var(--sync-rose);
}

.decision-medium {
    border-left-color: var(--sync-amber);
}

.decision-chip strong {
    font-size: 0.82rem;
}

.decision-chip span,
.decision-chip em,
.focus-panel p {
    color: var(--sync-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.decision-chip em {
    width: fit-content;
    padding: 3px 8px;
    background: white;
    border: 1px solid var(--sync-line);
    border-radius: 999px;
    font-style: normal;
    font-weight: 700;
}

.focus-panel {
    align-content: start;
}

.focus-panel .e-btn {
    justify-content: center;
    border-radius: 6px;
}

.syncfusion-frame .e-grid {
    width: 100%;
    max-width: 100%;
    border-color: var(--sync-line);
    border-radius: 8px;
    overflow: hidden;
}

.syncfusion-frame .e-grid .e-headercell {
    background: #f8fafb;
}

.board-frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.36fr);
    gap: 14px;
}

.board-shell {
    min-width: 0;
}

.syncfusion-frame .e-kanban {
    border-color: var(--sync-line);
    border-radius: 8px;
}

.syncfusion-frame .e-kanban .e-kanban-header .e-header-cells {
    background: #f8fafb;
}

.syncfusion-frame .e-kanban .e-card {
    border-radius: 8px;
}

.close-card-template {
    display: grid;
    gap: 7px;
    padding: 2px 0;
}

.close-card-template strong {
    color: var(--sync-ink);
    font-size: 0.85rem;
}

.close-card-template span {
    color: var(--sync-muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

.close-card-template footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: space-between;
}

.close-card-template em,
.close-card-template small {
    color: var(--sync-muted);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 700;
}

.close-card-template small {
    padding: 3px 7px;
    background: #f3efe7;
    border-radius: 999px;
}

.question-rail {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background: #fbfbf8;
    border: 1px solid var(--sync-line);
    border-radius: 8px;
}

.question-rail h3 {
    margin: 0;
    font-size: 1rem;
}

.calendar-frame .e-schedule {
    border-color: var(--sync-line);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-frame .e-schedule .e-schedule-toolbar,
.calendar-frame .e-schedule .e-timeline-view .e-date-header-wrap table td {
    background: #f8fafb;
}

.calendar-frame .e-schedule .event-docs,
.calendar-frame .e-schedule .event-docs .e-appointment-details {
    background: var(--sync-amber);
}

.calendar-frame .e-schedule .event-review,
.calendar-frame .e-schedule .event-review .e-appointment-details {
    background: var(--sync-rose);
}

.calendar-frame .e-schedule .event-question,
.calendar-frame .e-schedule .event-question .e-appointment-details {
    background: var(--sync-blue);
}

.calendar-frame .e-schedule .event-ready,
.calendar-frame .e-schedule .event-ready .e-appointment-details {
    background: var(--sync-teal);
}

.calendar-frame .e-schedule .event-grant,
.calendar-frame .e-schedule .event-grant .e-appointment-details {
    background: #6a5f8f;
}

.binder-frame {
    display: grid;
    grid-template-columns: minmax(250px, 0.32fr) minmax(0, 1fr);
    gap: 14px;
}

.binder-client-list,
.binder-workspace {
    min-width: 0;
    background: #fbfbf8;
    border: 1px solid var(--sync-line);
    border-radius: 8px;
}

.binder-client-list {
    overflow: hidden;
}

.client-stack-list {
    border: 0;
}

.client-stack-list .e-list-header {
    background: #f8fafb;
    color: var(--sync-ink);
    font-weight: 760;
}

.client-stack-list .e-list-item {
    min-height: 78px;
}

.client-pill {
    display: inline-flex;
    width: fit-content;
    margin-top: 6px;
    padding: 3px 8px;
    color: var(--sync-blue);
    background: #edf4f7;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 760;
}

.client-pill.owner {
    color: var(--sync-rose);
    background: #f7edf0;
}

.client-pill.fix {
    color: var(--sync-amber);
    background: #f7f1e8;
}

.client-pill.ready {
    color: var(--sync-teal);
    background: #edf5f0;
}

.binder-workspace {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.binder-workspace header {
    display: grid;
    gap: 4px;
}

.binder-workspace header span {
    color: var(--sync-blue);
    font-size: 0.72rem;
    font-weight: 760;
    text-transform: uppercase;
}

.binder-workspace header p,
.binder-note-grid p {
    color: var(--sync-muted);
    font-size: 0.83rem;
    line-height: 1.5;
}

.binder-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.binder-note-grid article {
    display: grid;
    gap: 6px;
    padding: 12px;
    background: white;
    border: 1px solid var(--sync-line);
    border-radius: 8px;
}

.syncfusion-review .design-anchor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.syncfusion-review .design-anchor-list span {
    padding: 5px 9px;
    color: var(--sync-blue);
    background: #edf4f7;
    border: 1px solid #d8e5eb;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 760;
}

@media (max-width: 1080px) {
    .sync-hero,
    .recommendation-panel,
    .sync-concept,
    .board-frame,
    .binder-frame,
    .research-grid {
        grid-template-columns: 1fr;
    }

    .concept-copy {
        position: static;
    }
}

@media (max-width: 760px) {
    .syncfusion-frame {
        padding: 10px;
    }

    .sync-hero > div,
    .research-stance,
    .recommendation-panel,
    .concept-copy {
        padding: 16px;
    }

    .syncfusion-frame .e-dashboardlayout {
        min-height: 980px;
    }

    .command-dashboard,
    .command-metric-grid {
        grid-template-columns: 1fr;
    }

    .binder-note-grid {
        grid-template-columns: 1fr;
    }
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --background: #111411;
    --surface: #17211b;
    --surface-soft: #1d2b22;
    --surface-strong: #0e140f;
    --surface-warm: #f2f7f6;
    --accent-pale: #e8f4ea;
    --border-pale: #e3ece6;
    --tan: #d4a373;
    --tan-soft: #ffecd2;
    --text: #e1e6dd;
    --heading: #f5f1e8;
    --muted: #aeb8aa;
    --border: #314635;
    --accent: #78c77c;
    --accent-hover: #93d794;
    --accent-strong: #2f7d3a;
    --accent-soft: #193b20;
    --warning: #d4a373;
    --shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --background: #111411;
        --surface: #17211b;
        --surface-soft: #1d2b22;
        --surface-strong: #0e140f;
        --surface-warm: #f2f7f6;
        --accent-pale: #e8f4ea;
        --border-pale: #e3ece6;
        --tan: #d4a373;
        --tan-soft: #ffecd2;
        --text: #e1e6dd;
        --heading: #f5f1e8;
        --muted: #aeb8aa;
        --border: #314635;
        --accent: #78c77c;
        --accent-hover: #93d794;
        --accent-strong: #2f7d3a;
        --accent-soft: #193b20;
        --warning: #d4a373;
        --shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--background);
    color: var(--text);
}

body {
    font-size: 16px;
    line-height: 1.65;
}

h1,
h2,
p,
dl,
dd,
ul {
    margin: 0;
}

h1 {
    max-width: 720px;
    color: var(--heading);
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 7vw, 5.35rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
}

.hero-section h1 {
    color: white;
}

h2 {
    color: var(--heading);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0;
}

.app-page {
    width: min(1240px, calc(100% - 32px));
    padding: 24px 0 40px;
}

.app-page h1 {
    max-width: none;
    color: var(--heading);
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 760;
}

.app-page h2 {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 760;
}

.app-topbar {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 10px 0 18px;
}

.topbar-brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--heading);
    font-size: 0.96rem;
    font-weight: 760;
    text-decoration: none;
}

.topbar-brand img {
    width: 38px;
    height: 38px;
    padding: 2px;
    background: white;
    border-radius: 50%;
    object-fit: contain;
}

.topbar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}

.topbar-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 680;
    text-decoration: none;
}

.theme-toggle {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    color: var(--muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 680;
    cursor: pointer;
}

.theme-toggle:hover {
    color: var(--heading);
    background: var(--surface);
    border-color: var(--border);
}

.account-pill {
    display: inline-grid;
    align-content: center;
    min-height: 38px;
    padding: 6px 10px;
    color: var(--heading);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    line-height: 1.1;
}

.account-pill span,
.account-pill small {
    display: block;
}

.account-pill span {
    font-size: 0.78rem;
    font-weight: 760;
}

.account-pill small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
}

.theme-toggle-mark {
    width: 10px;
    height: 10px;
    background: var(--heading);
    border-radius: 999px;
    box-shadow: inset -4px 0 0 var(--surface);
}

:root[data-theme="dark"] .theme-toggle-mark {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(120, 199, 124, 0.22);
}

.topbar-nav a:hover,
.topbar-nav a.active {
    color: var(--heading);
    background: var(--surface);
    border-color: var(--border);
}

:root[data-theme="dark"] .topbar-nav a:hover,
:root[data-theme="dark"] .topbar-nav a.active,
:root[data-theme="dark"] .theme-toggle:hover {
    color: var(--heading);
    background: rgba(232, 244, 234, 0.06);
    border-color: rgba(212, 163, 115, 0.24);
}

:root[data-theme="dark"] .account-pill {
    background: rgba(245, 248, 246, 0.045);
    border-color: rgba(232, 244, 234, 0.12);
}

:root[data-theme="dark"] .workspace-overview {
    border-color: rgba(212, 163, 115, 0.18);
}

.workspace-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 28px;
    align-items: end;
    padding: 26px 0 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.workspace-heading p {
    max-width: 620px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 1rem;
}

.intent-overview .section-label {
    margin-bottom: 10px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 680;
    text-decoration-color: var(--border);
    text-underline-offset: 4px;
}

.back-link:hover {
    color: var(--heading);
}

.summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.summary-strip div {
    position: relative;
    min-height: 78px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.summary-strip dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 760;
    text-transform: uppercase;
}

.summary-strip dd {
    margin-top: 8px;
    color: var(--heading);
    font-size: 0.98rem;
    font-weight: 760;
    line-height: 1.25;
}

.summary-strip dd span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.25;
}

.work-signals .signal-card-primary {
    border-color: rgba(47, 125, 58, 0.25);
}

.work-signals .signal-card-primary::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    content: "";
    background: var(--accent);
}

:root[data-theme="dark"] .work-signals .signal-card-primary {
    border-color: rgba(212, 163, 115, 0.32);
}

:root[data-theme="dark"] .work-signals .signal-card-primary::before {
    background: var(--tan);
}

.workspace-grid {
    align-items: start;
    margin-top: 24px;
}

.app-page .workspace-panel {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(25, 44, 39, 0.05);
}

:root[data-theme="dark"] .app-page .workspace-panel,
:root[data-theme="dark"] .summary-strip div {
    border-color: rgba(232, 244, 234, 0.13);
    box-shadow:
        inset 0 1px 0 rgba(255, 236, 210, 0.1),
        0 18px 38px rgba(0, 0, 0, 0.36);
}

:root[data-theme="dark"] .summary-strip div {
    background:
        linear-gradient(145deg, rgba(255, 236, 210, 0.085), rgba(120, 199, 124, 0.07) 44%, rgba(23, 33, 27, 0.98) 76%),
        var(--surface);
}

:root[data-theme="dark"] .summary-strip dt {
    color: rgba(232, 244, 234, 0.74);
}

:root[data-theme="dark"] .summary-strip dd span {
    color: rgba(225, 230, 221, 0.72);
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: stretch;
    min-height: 410px;
    padding: 42px;
    color: white;
    background: var(--surface-strong);
    border: 1px solid rgba(235, 246, 235, 0.14);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.compact-hero {
    min-height: 300px;
}

.hero-copy {
    max-width: 650px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.brand-lockup {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
    padding: 8px 16px 8px 10px;
    color: var(--surface-strong);
    background: white;
    border-radius: 60px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.brand-lockup img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-lockup span {
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}

.section-label {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 760;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-section .section-label {
    color: var(--accent-hover);
}

.status-panel {
    display: grid;
    gap: 12px;
    align-self: stretch;
}

.compact-hero .status-panel {
    align-self: start;
}

.status-panel div {
    display: grid;
    align-content: center;
    gap: 6px;
    min-height: 78px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.status-panel dt {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-panel dd {
    color: white;
    font-size: 1rem;
    font-weight: 680;
    word-break: break-word;
}

.status-panel a {
    color: white;
    font-weight: 760;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 4px;
}

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

.workspace-panel {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 18px -6px rgba(34, 56, 101, 0.04);
}

:root[data-theme="dark"] .workspace-panel {
    background:
        linear-gradient(150deg, rgba(212, 163, 115, 0.075), rgba(212, 163, 115, 0) 26%),
        linear-gradient(155deg, rgba(245, 248, 246, 0.04), rgba(120, 199, 124, 0.065) 38%, rgba(23, 33, 27, 0.98) 68%),
        var(--surface);
}

.span-two {
    grid-column: span 2;
}

.panel-header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
}

.status-chip {
    flex: 0 0 auto;
    padding: 5px 8px;
    color: var(--text);
    background: var(--accent-soft);
    border: 1px solid rgba(22, 81, 23, 0.08);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 760;
}

:root[data-theme="dark"] .status-chip {
    color: var(--accent-pale);
    background:
        linear-gradient(145deg, rgba(245, 248, 246, 0.1), rgba(47, 125, 58, 0.74)),
        rgba(47, 125, 58, 0.64);
    border-color: rgba(120, 199, 124, 0.3);
    box-shadow: inset 0 1px 0 rgba(232, 244, 234, 0.14);
}

:root[data-theme="dark"] .panel-header .status-chip {
    border-color: rgba(120, 199, 124, 0.3);
}

.muted-line {
    margin-top: 10px;
    color: var(--muted);
}

.task-list,
.role-list,
.boundary-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

.client-list {
    display: grid;
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

:root[data-theme="dark"] .client-list {
    border-color: rgba(232, 244, 234, 0.12);
}

.client-card {
    display: grid;
    grid-template-areas:
        "title assignee metrics"
        "title tags metrics";
    grid-template-columns: minmax(180px, 1.15fr) minmax(160px, 1fr) minmax(150px, 0.72fr);
    gap: 8px 18px;
    align-items: center;
    min-height: 86px;
    padding: 16px 18px;
    color: inherit;
    background: var(--surface-soft);
    border-top: 1px solid var(--border);
    text-decoration: none;
}

.client-card:first-child {
    border-top: 0;
}

.client-card:hover {
    background: var(--surface);
}

:root[data-theme="dark"] .client-card {
    background:
        linear-gradient(90deg, rgba(245, 248, 246, 0.035), rgba(29, 43, 34, 0.96) 42%),
        rgba(29, 43, 34, 0.96);
}

:root[data-theme="dark"] .client-card:hover {
    background:
        linear-gradient(90deg, rgba(255, 236, 210, 0.055), rgba(34, 58, 42, 0.96) 42%),
        rgba(34, 58, 42, 0.96);
}

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

.client-card small,
.client-meta {
    color: var(--muted);
    font-size: 0.88rem;
}

.client-title {
    grid-area: title;
}

.client-meta {
    grid-area: assignee;
    align-self: center;
}

.client-title strong {
    color: var(--heading);
}

.client-title small {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 760;
    text-transform: uppercase;
}

.tag-list,
.metric-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.client-card .tag-list {
    grid-area: tags;
}

.tag-pill {
    padding: 4px 7px;
    color: var(--text);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

:root[data-theme="dark"] .brand-lockup,
:root[data-theme="dark"] .tag-pill {
    background: var(--surface);
}

:root[data-theme="dark"] .tag-pill {
    color: var(--tan-soft);
    background: rgba(212, 163, 115, 0.115);
    border-color: rgba(212, 163, 115, 0.34);
}

.metric-list {
    grid-area: metrics;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: end;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.metric-list .status-chip {
    grid-column: 1 / -1;
    justify-self: end;
    margin-right: 0;
}

.task-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 74px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.deadline-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 78px;
}

.date-badge {
    display: grid;
    place-items: center;
    width: 50px;
    min-height: 50px;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    line-height: 1;
}

.date-badge span,
.date-badge strong {
    display: block;
}

.date-badge span {
    font-size: 0.62rem;
    font-weight: 760;
    text-transform: uppercase;
}

.date-badge strong {
    margin-top: 4px;
    font-size: 1rem;
}

.lane-dot {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 5px;
    padding: 2px 7px;
    color: var(--text);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 760;
}

.lane-dot::before {
    width: 6px;
    height: 6px;
    margin-right: 5px;
    content: "";
    background: var(--accent);
    border-radius: 999px;
}

.lane-dot.lane-grants::before {
    background: var(--tan);
}

.compact-task-row {
    min-height: 64px;
}

.task-row div,
.role-list div {
    display: grid;
    gap: 4px;
}

.task-row strong,
.role-list strong {
    font-size: 0.98rem;
}

.task-row span,
.role-list span,
.boundary-list li {
    color: var(--muted);
    font-size: 0.92rem;
}

.task-row time {
    color: var(--warning);
    font-size: 0.9rem;
    font-weight: 740;
}

.task-row-actions {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.task-action-form {
    margin: 0;
}

.task-action-form button {
    min-height: 34px;
    padding: 0 12px;
    color: var(--heading);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 760;
    cursor: pointer;
}

.task-action-form button:hover {
    color: #f8fff7;
    background: var(--accent-strong);
    border-color: color-mix(in srgb, var(--accent-strong) 70%, #000);
}

.inline-task-action {
    margin-top: 4px;
}

:root[data-theme="dark"] .task-row time {
    color: var(--tan);
    text-shadow: 0 0 16px rgba(212, 163, 115, 0.2);
}

:root[data-theme="dark"] .date-badge {
    color: var(--tan-soft);
    background: rgba(212, 163, 115, 0.105);
    border-color: rgba(212, 163, 115, 0.26);
}

:root[data-theme="dark"] .lane-dot {
    color: var(--accent-pale);
    background: rgba(245, 248, 246, 0.055);
    border-color: rgba(232, 244, 234, 0.14);
}

:root[data-theme="dark"] .lane-dot.lane-grants {
    color: var(--tan-soft);
    border-color: rgba(212, 163, 115, 0.24);
}

.lane-map {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.lane-card {
    padding: 14px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.lane-card span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 760;
    text-transform: uppercase;
}

.lane-card strong {
    display: block;
    margin-top: 6px;
    color: var(--heading);
}

.lane-card p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

:root[data-theme="dark"] .lane-card {
    background: rgba(245, 248, 246, 0.045);
    border-color: rgba(232, 244, 234, 0.12);
}

:root[data-theme="dark"] .lane-card-bookkeeping {
    box-shadow: inset 4px 0 0 rgba(120, 199, 124, 0.42);
}

:root[data-theme="dark"] .lane-card-grants {
    box-shadow: inset 4px 0 0 rgba(212, 163, 115, 0.5);
}

.role-list div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.role-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.engagement-list,
.document-list,
.note-list,
.activity-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.engagement-list div,
.document-list a,
.note-list div,
.activity-list div {
    display: grid;
    gap: 5px;
    padding: 14px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.document-list a {
    color: inherit;
    text-decoration: none;
}

.document-list a:hover {
    border-color: var(--accent);
}

.engagement-list span,
.document-list span,
.note-list span,
.activity-list span,
.activity-list time {
    color: var(--muted);
    font-size: 0.88rem;
}

.note-list p,
.activity-list p {
    color: var(--text);
    font-size: 0.92rem;
}

.note-composer {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    background: color-mix(in srgb, var(--surface-soft) 82%, var(--accent));
    border: 1px solid var(--border);
    border-radius: 8px;
}

.compact-composer {
    margin-bottom: 18px;
    padding: 12px;
}

.field-grid {
    display: grid;
    gap: 12px;
}

.field-grid label {
    display: grid;
    gap: 7px;
}

.field-grid label span {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 760;
    text-transform: uppercase;
}

.field-grid select,
.field-grid input,
.field-grid textarea {
    width: 100%;
    color: var(--heading);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
}

.field-grid select {
    min-height: 42px;
    padding: 0 12px;
}

.field-grid input {
    min-height: 42px;
    padding: 0 12px;
}

.field-grid textarea {
    min-height: 118px;
    padding: 12px;
    resize: vertical;
}

.field-grid select:focus,
.field-grid input:focus,
.field-grid textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
    outline-offset: 2px;
    border-color: var(--accent);
}

.composer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.composer-actions button {
    min-height: 42px;
    padding: 0 16px;
    color: #f8fff7;
    background: var(--accent-strong);
    border: 1px solid color-mix(in srgb, var(--accent-strong) 70%, #000);
    border-radius: 8px;
    font: inherit;
    font-weight: 760;
    cursor: pointer;
}

.composer-actions button:hover {
    filter: brightness(1.05);
}

.form-message {
    color: var(--tan);
    font-size: 0.88rem;
    font-weight: 700;
}

.form-message.success {
    color: var(--accent);
}

.workspace-grid .side-panel {
    grid-column: 3;
}

.access-table {
    display: grid;
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.access-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(110px, 0.45fr);
    gap: 14px;
    align-items: center;
    min-height: 70px;
    padding: 14px 16px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.access-row:first-child {
    border-top: 0;
}

.access-row-header {
    min-height: 48px;
    color: var(--muted);
    background: var(--surface-soft);
    font-size: 0.75rem;
    font-weight: 760;
    text-transform: uppercase;
}

.access-row strong,
.access-row small {
    display: block;
}

.access-row small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.82rem;
    word-break: break-word;
}

.boundary-list li {
    position: relative;
    padding-left: 18px;
}

.boundary-list li::before {
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    content: "";
    background: var(--accent);
    border-radius: 999px;
}

.action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 18px;
    margin-right: 10px;
    padding: 10px 14px;
    color: white;
    background: var(--accent);
    border-radius: 60px;
    font-size: 0.92rem;
    font-weight: 760;
    text-decoration: none;
}

.action-link:hover {
    background: var(--accent-hover);
}

.action-link.secondary {
    color: var(--text);
    background: var(--accent-soft);
}

.action-link.secondary:hover {
    color: white;
    background: var(--text);
}

.mockup-overview {
    align-items: center;
}

.mockup-storyboard {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 18px;
    margin-top: 24px;
}

.mockup-panel {
    overflow: hidden;
}

.mockup-panel-full {
    grid-column: 1 / -1;
}

.mockup-panel-wide,
.mockup-side-panel {
    min-width: 0;
}

.mockup-syncfusion-shell {
    margin-top: 18px;
    padding: 10px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 76%, transparent), transparent 48%),
        var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.mockup-kanban-shell {
    min-height: 430px;
}

.mockup-schedule-shell {
    padding: 0;
}

.mockup-document-stack {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.mockup-document-stack div {
    display: grid;
    gap: 5px;
    padding: 14px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--tan-soft) 72%, transparent), transparent),
        var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.mockup-document-stack span {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 760;
    text-transform: uppercase;
}

.mockup-document-stack p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.mockup-page .e-control,
.mockup-page .e-lib {
    font-family: var(--font-body);
}

.mockup-page .e-grid,
.mockup-page .e-kanban,
.mockup-page .e-schedule {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border);
    border-radius: 8px;
}

.mockup-page .e-grid .e-gridheader,
.mockup-page .e-grid .e-headercontent,
.mockup-page .e-grid .e-pager,
.mockup-page .e-kanban .e-kanban-header,
.mockup-page .e-schedule .e-schedule-toolbar,
.mockup-page .e-schedule .e-month-view .e-date-header-wrap {
    background: var(--surface-soft);
    border-color: var(--border);
}

.mockup-page .e-grid .e-headercell,
.mockup-page .e-grid .e-rowcell,
.mockup-page .e-grid .e-pager,
.mockup-page .e-kanban .e-header-cells,
.mockup-page .e-kanban .e-content-cells,
.mockup-page .e-schedule .e-month-view .e-work-cells,
.mockup-page .e-schedule .e-month-view .e-date-header {
    border-color: var(--border);
}

.mockup-page .e-grid .e-headertext,
.mockup-page .e-kanban .e-header-text,
.mockup-page .e-schedule .e-toolbar-item .e-tbar-btn-text,
.mockup-page .e-schedule .e-header-day,
.mockup-page .e-schedule .e-date-header {
    color: var(--heading);
    font-weight: 760;
}

.mockup-page .e-grid .e-rowcell,
.mockup-page .e-kanban .e-card-content,
.mockup-page .e-schedule .e-subject {
    color: var(--text);
}

.mockup-page .e-kanban .e-card {
    background: var(--surface);
    border-color: var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(25, 44, 39, 0.08);
}

.mockup-page .e-kanban .e-card-header-title {
    color: var(--heading);
    font-weight: 760;
}

.mockup-page .e-schedule .e-appointment {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 6px;
}

:root[data-theme="dark"] .mockup-syncfusion-shell {
    background:
        linear-gradient(135deg, rgba(120, 199, 124, 0.1), transparent 46%),
        rgba(245, 248, 246, 0.035);
    border-color: rgba(232, 244, 234, 0.12);
}

:root[data-theme="dark"] .mockup-document-stack div {
    background:
        linear-gradient(135deg, rgba(212, 163, 115, 0.16), transparent 58%),
        rgba(245, 248, 246, 0.045);
    border-color: rgba(212, 163, 115, 0.22);
}

:root[data-theme="dark"] .mockup-document-stack span {
    color: var(--tan);
}

:root[data-theme="dark"] .mockup-page .e-grid,
:root[data-theme="dark"] .mockup-page .e-kanban,
:root[data-theme="dark"] .mockup-page .e-schedule {
    color: var(--text);
    background: #17211b;
    border-color: rgba(232, 244, 234, 0.12);
}

:root[data-theme="dark"] .mockup-page .e-grid .e-gridheader,
:root[data-theme="dark"] .mockup-page .e-grid .e-headercontent,
:root[data-theme="dark"] .mockup-page .e-grid .e-pager,
:root[data-theme="dark"] .mockup-page .e-kanban .e-kanban-header,
:root[data-theme="dark"] .mockup-page .e-schedule .e-schedule-toolbar,
:root[data-theme="dark"] .mockup-page .e-schedule .e-month-view .e-date-header-wrap {
    background: #1d2b22;
    border-color: rgba(232, 244, 234, 0.12);
}

:root[data-theme="dark"] .mockup-page .e-grid .e-headercell,
:root[data-theme="dark"] .mockup-page .e-grid .e-rowcell,
:root[data-theme="dark"] .mockup-page .e-grid .e-pager,
:root[data-theme="dark"] .mockup-page .e-kanban .e-header-cells,
:root[data-theme="dark"] .mockup-page .e-kanban .e-content-cells,
:root[data-theme="dark"] .mockup-page .e-schedule .e-month-view .e-work-cells,
:root[data-theme="dark"] .mockup-page .e-schedule .e-month-view .e-date-header {
    border-color: rgba(232, 244, 234, 0.12);
}

:root[data-theme="dark"] .mockup-page .e-grid .e-headertext,
:root[data-theme="dark"] .mockup-page .e-kanban .e-header-text,
:root[data-theme="dark"] .mockup-page .e-schedule .e-toolbar-item .e-tbar-btn-text,
:root[data-theme="dark"] .mockup-page .e-schedule .e-header-day,
:root[data-theme="dark"] .mockup-page .e-schedule .e-date-header {
    color: var(--heading);
}

:root[data-theme="dark"] .mockup-page .e-grid .e-rowcell,
:root[data-theme="dark"] .mockup-page .e-kanban .e-card-content,
:root[data-theme="dark"] .mockup-page .e-schedule .e-work-cells,
:root[data-theme="dark"] .mockup-page .e-schedule .e-subject {
    color: var(--text);
}

:root[data-theme="dark"] .mockup-page .e-kanban .e-card {
    background: rgba(245, 248, 246, 0.055);
    border-color: rgba(232, 244, 234, 0.13);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.32);
}

:root[data-theme="dark"] .mockup-page .e-kanban .e-card-header-title {
    color: var(--tan-soft);
}

:root[data-theme="dark"] .mockup-page .e-schedule .e-appointment {
    color: #0e140f;
    background: var(--tan);
    border-color: var(--tan);
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #c62828;
}

.validation-message {
    color: #c62828;
}

.blazor-error-boundary {
    padding: 1rem;
    color: white;
    background: #9f2f2f;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

body:has(.review-page) {
    background: #f4f1ea;
}

.review-page {
    --review-surface: #fffdf8;
    --review-surface-soft: #eef2f3;
    --review-border: #d8dddc;
    --review-ink: #223039;
    --review-muted: #657179;
    --review-accent: #466b85;
    --review-accent-soft: #e7edf2;
    color: var(--review-ink);
}

.review-page .app-topbar {
    border-bottom: 1px solid var(--review-border);
}

.review-page .topbar-brand,
.review-page .topbar-nav a {
    color: var(--review-ink);
}

.review-page .topbar-nav a {
    background: transparent;
}

.review-page .topbar-nav a:hover,
.review-page .topbar-nav a.active,
.review-page .theme-toggle:hover {
    color: var(--review-ink);
    background: var(--review-surface);
    border-color: var(--review-border);
}

.review-page .theme-toggle {
    color: var(--review-muted);
}

.review-page h1 {
    max-width: 780px;
    color: var(--review-ink);
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.review-overview {
    align-items: center;
    border-color: var(--review-border);
}

.review-page .workspace-heading p {
    color: var(--review-muted);
}

.review-page .section-label {
    color: var(--review-accent);
}

.review-page .summary-strip div {
    background: var(--review-surface);
    border-color: var(--review-border);
    box-shadow: none;
}

.review-page .summary-strip dt,
.review-page .summary-strip dd span {
    color: var(--review-muted);
}

.review-page .summary-strip dd {
    color: var(--review-ink);
}

.review-page .work-signals .signal-card-primary {
    border-color: color-mix(in srgb, var(--review-accent) 36%, var(--review-border));
}

.review-page .work-signals .signal-card-primary::before {
    background: var(--review-accent);
}

.review-roadmap {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.phase-tile {
    min-height: 152px;
    padding: 16px;
    background: var(--review-surface);
    border: 1px solid var(--review-border);
    border-radius: 8px;
}

.phase-tile span {
    display: block;
    color: var(--review-muted);
    font-size: 0.68rem;
    font-weight: 760;
    text-transform: uppercase;
}

.phase-tile strong {
    display: block;
    margin-top: 8px;
    color: var(--review-ink);
    font-size: 0.95rem;
    line-height: 1.2;
}

.phase-tile p {
    margin-top: 8px;
    color: var(--review-muted);
    font-size: 0.82rem;
    line-height: 1.42;
}

.phase-current {
    background: color-mix(in srgb, var(--review-accent-soft) 76%, var(--review-surface));
    border-color: color-mix(in srgb, var(--review-accent) 32%, var(--review-border));
    box-shadow: inset 4px 0 0 var(--review-accent);
}

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

.style-microsoft {
    --style-bg: #f6f8fb;
    --style-surface: #ffffff;
    --style-soft: #edf3fb;
    --style-ink: #182436;
    --style-muted: #647086;
    --style-border: #d7deeb;
    --style-accent: #2f5ea8;
    --style-accent-2: #687991;
    --style-bar: #12233f;
}

.style-editorial {
    --style-bg: #fff8f5;
    --style-surface: #fffdfb;
    --style-soft: #f7ece8;
    --style-ink: #312429;
    --style-muted: #735f65;
    --style-border: #e5d4cf;
    --style-accent: #9b3653;
    --style-accent-2: #bc7545;
    --style-bar: #2b1d24;
}

.style-muted-green {
    --style-bg: #f7f9f6;
    --style-surface: #ffffff;
    --style-soft: #edf1ea;
    --style-ink: #26342e;
    --style-muted: #657067;
    --style-border: #d9dfd5;
    --style-accent: #547261;
    --style-accent-2: #9b8256;
    --style-bar: #20302a;
}

.palette-card {
    display: grid;
    align-content: start;
    min-height: 222px;
    padding: 16px;
    color: var(--style-ink);
    background: var(--style-surface);
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.palette-card .section-label {
    margin-top: 14px;
    color: var(--style-accent);
}

.palette-card h2 {
    color: var(--style-ink);
    font-family: var(--font-body);
    font-size: 1.04rem;
    line-height: 1.18;
}

.palette-card p {
    margin-top: 10px;
    color: var(--style-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.palette-card strong {
    display: block;
    margin-top: 14px;
    color: var(--style-accent);
    font-size: 0.78rem;
    line-height: 1.35;
}

.palette-swatch-row {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 6px;
}

.palette-swatch-row span {
    min-height: 38px;
    border: 1px solid var(--style-border);
    border-radius: 6px;
}

.palette-swatch-row span:nth-child(1) {
    background: var(--style-bg);
}

.palette-swatch-row span:nth-child(2) {
    background: var(--style-accent);
}

.palette-swatch-row span:nth-child(3) {
    background: var(--style-accent-2);
}

.palette-swatch-row span:nth-child(4) {
    background: var(--style-bar);
}

.review-concepts {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.design-board {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    padding: 20px;
    color: var(--style-ink);
    background: var(--style-bg);
    border: 1px solid var(--style-border);
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(25, 44, 39, 0.05);
}

.design-board h2,
.review-notes h2 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.22;
}

.design-board h2 {
    color: var(--style-ink);
}

.design-board-copy {
    display: grid;
    align-content: start;
    gap: 12px;
}

.design-board .section-label {
    color: var(--style-accent);
}

.design-board-copy p:not(.section-label),
.review-notes p:not(.section-label) {
    color: var(--style-muted, var(--review-muted));
    font-size: 0.94rem;
    line-height: 1.52;
}

.design-anchor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.design-anchor-list span,
.mock-future-rail span {
    padding: 5px 8px;
    color: var(--style-ink);
    background: var(--style-soft);
    border: 1px solid var(--style-border);
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 720;
}

.mock-browser {
    min-width: 0;
    background: var(--style-bar);
    border: 1px solid color-mix(in srgb, var(--style-bar) 70%, var(--style-border));
    border-radius: 8px;
    overflow: hidden;
}

.mock-browser-bar {
    display: flex;
    gap: 7px;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mock-browser-bar span {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.44);
    border-radius: 999px;
}

.mock-browser-bar strong {
    margin-left: 8px;
    font-size: 0.76rem;
    font-weight: 760;
}

.mock-screen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.32fr);
    gap: 12px;
    padding: 14px;
    background: var(--style-surface);
}

.mock-screen-header {
    grid-column: 1 / -1;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--style-border);
}

.mock-screen-header span,
.mock-lane-header span,
.mock-metrics dt,
.mock-future-rail strong {
    display: block;
    color: var(--style-muted);
    font-size: 0.68rem;
    font-weight: 760;
    text-transform: uppercase;
}

.mock-screen-header strong {
    display: block;
    margin-top: 4px;
    color: var(--style-ink);
    font-size: 1.18rem;
    line-height: 1.2;
}

.mock-screen-header em {
    flex: 0 0 auto;
    padding: 5px 8px;
    color: white;
    background: var(--style-accent);
    border: 1px solid color-mix(in srgb, var(--style-accent) 70%, var(--style-border));
    border-radius: 6px;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 760;
}

.mock-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mock-metrics div {
    min-height: 82px;
    padding: 12px;
    background: var(--style-soft);
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.mock-metrics dd {
    margin-top: 7px;
    color: var(--style-ink);
    font-size: 0.94rem;
    font-weight: 760;
    line-height: 1.25;
}

.mock-metrics span {
    display: block;
    margin-top: 5px;
    color: var(--style-muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.mock-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mock-lane {
    min-width: 0;
    border: 1px solid var(--style-border);
    border-radius: 8px;
    overflow: hidden;
}

.mock-lane-header {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 12px;
    background: var(--style-soft);
    border-bottom: 1px solid var(--style-border);
}

.mock-lane-header strong {
    color: var(--style-ink);
    font-size: 0.78rem;
}

.mock-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 66px;
    padding: 12px;
    border-top: 1px solid var(--style-border);
}

.mock-row:first-of-type {
    border-top: 0;
}

.mock-row strong,
.mock-row span {
    display: block;
}

.mock-row strong {
    color: var(--style-ink);
    font-size: 0.88rem;
    line-height: 1.25;
}

.mock-row span {
    margin-top: 3px;
    color: var(--style-muted);
    font-size: 0.74rem;
    line-height: 1.35;
}

.mock-row time {
    color: var(--style-accent-2);
    font-size: 0.74rem;
    font-weight: 760;
    white-space: nowrap;
}

.mock-future-rail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    background: color-mix(in srgb, var(--style-accent-2) 12%, var(--style-surface));
    border: 1px solid color-mix(in srgb, var(--style-accent-2) 30%, var(--style-border));
    border-radius: 8px;
}

.mock-future-rail strong {
    color: color-mix(in srgb, var(--style-ink) 82%, var(--style-accent-2));
}

.mock-future-rail span {
    background: color-mix(in srgb, var(--style-accent-2) 12%, var(--style-surface));
    border-color: color-mix(in srgb, var(--style-accent-2) 28%, var(--style-border));
}

.review-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.review-notes article {
    padding: 20px;
    background: var(--review-surface);
    border: 1px solid var(--review-border);
    border-radius: 8px;
}

.review-notes h2 {
    color: var(--review-ink);
}

.screen-studio {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.studio-header {
    padding: 22px 0 6px;
    border-top: 1px solid var(--review-border);
}

.studio-header h2 {
    max-width: 860px;
    color: var(--review-ink);
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.22;
}

.studio-header p:not(.section-label) {
    max-width: 700px;
    margin-top: 8px;
    color: var(--review-muted);
}

.screen-grid {
    display: grid;
    gap: 18px;
}

.dashboard-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.bookkeeping-grid {
    grid-template-columns: 1fr;
}

.screen-concept {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 20px;
    color: var(--style-ink);
    background: var(--style-bg);
    border: 1px solid var(--style-border);
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(25, 44, 39, 0.05);
}

.dashboard-command {
    grid-template-rows: auto 1fr;
}

.dashboard-grid .screen-concept {
    min-height: 690px;
}

.bookkeeping-grid .screen-concept {
    grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
    min-height: 0;
}

.concept-copy {
    display: grid;
    gap: 10px;
}

.concept-copy .section-label {
    color: var(--style-accent);
}

.concept-copy h3 {
    margin: 0;
    color: var(--style-ink);
    font-size: 1.18rem;
    line-height: 1.2;
}

.concept-copy p:not(.section-label) {
    color: var(--style-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.dashboard-shell,
.calendar-shell,
.close-board-shell,
.tracker-shell,
.binder-shell {
    min-width: 0;
    color: var(--style-ink);
    background: var(--style-surface);
    border: 1px solid var(--style-border);
    border-radius: 8px;
    overflow: hidden;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.38fr);
    gap: 12px;
    padding: 14px;
}

.dashboard-titlebar {
    grid-column: 1 / -1;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--style-border);
}

.dashboard-titlebar span,
.screen-section-title span {
    display: block;
    color: var(--style-muted);
    font-size: 0.68rem;
    font-weight: 760;
    text-transform: uppercase;
}

.dashboard-titlebar strong {
    display: block;
    margin-top: 5px;
    color: var(--style-ink);
    font-size: 1.3rem;
    line-height: 1.15;
}

.dashboard-titlebar em {
    flex: 0 0 auto;
    padding: 6px 9px;
    color: white;
    background: var(--style-accent);
    border-radius: 6px;
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 760;
}

.command-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.command-metrics div {
    min-height: 92px;
    padding: 12px;
    background: var(--style-soft);
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.command-metrics dt {
    color: var(--style-muted);
    font-size: 0.68rem;
    font-weight: 760;
    text-transform: uppercase;
}

.command-metrics dd {
    margin-top: 7px;
    color: var(--style-accent);
    font-size: 1.35rem;
    font-weight: 780;
    line-height: 1;
}

.command-metrics span {
    display: block;
    margin-top: 7px;
    color: var(--style-muted);
    font-size: 0.73rem;
    line-height: 1.35;
}

.decision-queue,
.workload-panel,
.deadline-feed,
.filter-rail,
.client-index,
.binder-side {
    display: grid;
    align-content: start;
    gap: 10px;
}

.screen-section-title strong {
    display: block;
    margin-top: 4px;
    color: var(--style-ink);
    font-size: 0.92rem;
}

.decision-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: center;
    min-height: 76px;
    padding: 12px;
    background: var(--style-surface);
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.decision-item strong,
.decision-item span {
    display: block;
}

.decision-item strong {
    color: var(--style-ink);
    font-size: 0.92rem;
    line-height: 1.25;
}

.decision-item span {
    margin-top: 4px;
    color: var(--style-muted);
    font-size: 0.76rem;
}

.decision-item em {
    grid-row: span 2;
    padding: 5px 8px;
    color: var(--style-accent);
    background: var(--style-soft);
    border: 1px solid var(--style-border);
    border-radius: 6px;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 760;
}

.decision-item.urgent {
    border-color: color-mix(in srgb, var(--style-accent-2) 45%, var(--style-border));
    box-shadow: inset 4px 0 0 var(--style-accent-2);
}

.workload-panel {
    padding: 12px;
    background: color-mix(in srgb, var(--style-soft) 58%, var(--style-surface));
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.load-row {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    color: var(--style-muted);
    font-size: 0.76rem;
}

.load-row strong {
    position: relative;
    height: 8px;
    background: color-mix(in srgb, var(--style-border) 70%, var(--style-surface));
    border-radius: 999px;
    overflow: hidden;
}

.load-row strong::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--load);
    content: "";
    background: var(--style-accent);
    border-radius: inherit;
}

.load-row em {
    color: var(--style-ink);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 760;
}

.calendar-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
}

.compact-app-header,
.tracker-toolbar {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 12px 14px;
    background: var(--style-bar);
    color: white;
}

.compact-app-header strong,
.tracker-toolbar strong {
    font-size: 0.92rem;
}

.compact-app-header nav,
.tracker-toolbar div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.compact-app-header nav span,
.tracker-toolbar div span {
    padding: 4px 7px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 730;
}

.calendar-main {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.week-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.week-strip div {
    display: grid;
    place-items: center;
    min-height: 86px;
    background: var(--style-soft);
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.week-strip span {
    color: var(--style-muted);
    font-size: 0.68rem;
    font-weight: 760;
    text-transform: uppercase;
}

.week-strip strong {
    margin-top: 4px;
    color: var(--style-ink);
    font-size: 1.3rem;
}

.week-strip em {
    width: 20px;
    height: 4px;
    margin-top: 8px;
    background: var(--style-accent);
    border-radius: 999px;
}

.week-strip .hot {
    background: color-mix(in srgb, var(--style-accent) 16%, var(--style-surface));
    border-color: color-mix(in srgb, var(--style-accent) 36%, var(--style-border));
}

.week-strip .soft em {
    background: var(--style-border);
}

.deadline-feed {
    padding: 12px;
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.deadline-feed div:not(.screen-section-title) {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 4px 10px;
    min-height: 58px;
    padding: 10px 0;
    border-top: 1px solid var(--style-border);
}

.deadline-feed time {
    grid-row: span 2;
    color: var(--style-accent);
    font-size: 0.72rem;
    font-weight: 760;
}

.deadline-feed strong {
    color: var(--style-ink);
    font-size: 0.86rem;
}

.deadline-feed span {
    color: var(--style-muted);
    font-size: 0.72rem;
}

.filter-rail {
    padding: 14px 12px;
    background: var(--style-soft);
    border-left: 1px solid var(--style-border);
}

.filter-rail strong,
.client-index strong,
.binder-side strong {
    color: var(--style-ink);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.filter-rail span,
.client-index span,
.binder-side span {
    padding: 7px 8px;
    color: var(--style-ink);
    background: var(--style-surface);
    border: 1px solid var(--style-border);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 720;
}

.close-board-shell {
    display: grid;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
}

.kanban-board section {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 420px;
    padding: 10px;
    background: var(--style-soft);
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.kanban-board h4 {
    margin: 0;
    color: var(--style-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.kanban-card {
    display: grid;
    gap: 6px;
    min-height: 100px;
    padding: 12px;
    background: var(--style-surface);
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.kanban-card strong {
    color: var(--style-ink);
    font-size: 0.88rem;
    line-height: 1.25;
}

.kanban-card span {
    color: var(--style-muted);
    font-size: 0.75rem;
    line-height: 1.35;
}

.kanban-card em {
    align-self: end;
    color: var(--style-accent-2);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 760;
}

.kanban-card.hot {
    border-color: color-mix(in srgb, var(--style-accent) 42%, var(--style-border));
    box-shadow: inset 4px 0 0 var(--style-accent);
}

.kanban-card.done {
    opacity: 0.76;
}

.tracker-shell {
    display: grid;
}

.tracker-table {
    display: grid;
    padding: 10px;
}

.tracker-row {
    display: grid;
    grid-template-columns: minmax(150px, 1.25fr) minmax(70px, 0.55fr) minmax(80px, 0.65fr) minmax(92px, 0.7fr) minmax(60px, 0.5fr) minmax(150px, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 760px;
    min-height: 58px;
    padding: 10px 12px;
    border-top: 1px solid var(--style-border);
}

.tracker-table {
    overflow-x: auto;
}

.tracker-head {
    min-height: 44px;
    color: var(--style-muted);
    background: var(--style-soft);
    border-top: 0;
    border-radius: 8px 8px 0 0;
    font-size: 0.68rem;
    font-weight: 760;
    text-transform: uppercase;
}

.tracker-row strong {
    color: var(--style-ink);
    font-size: 0.86rem;
}

.tracker-row span,
.tracker-row time {
    color: var(--style-muted);
    font-size: 0.76rem;
}

.chip {
    width: fit-content;
    padding: 4px 7px;
    color: var(--style-accent);
    background: var(--style-soft);
    border: 1px solid var(--style-border);
    border-radius: 999px;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 760;
    white-space: nowrap;
}

.chip.warning {
    color: var(--style-accent-2);
    border-color: color-mix(in srgb, var(--style-accent-2) 34%, var(--style-border));
}

.chip.good {
    color: var(--style-accent);
}

.binder-shell {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 156px;
    min-height: 500px;
}

.client-index,
.binder-side {
    padding: 12px;
    background: var(--style-soft);
}

.client-index {
    border-right: 1px solid var(--style-border);
}

.client-index span.active {
    color: white;
    background: var(--style-accent);
    border-color: var(--style-accent);
}

.binder-main {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 14px;
}

.binder-main header {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--style-border);
}

.binder-main header span {
    color: var(--style-muted);
    font-size: 0.68rem;
    font-weight: 760;
    text-transform: uppercase;
}

.binder-main header strong {
    display: block;
    margin-top: 6px;
    color: var(--style-ink);
    font-size: 1.18rem;
}

.binder-checklist {
    display: grid;
    gap: 8px;
}

.binder-checklist div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 48px;
    padding: 10px;
    border: 1px solid var(--style-border);
    border-radius: 8px;
}

.binder-checklist input {
    width: 16px;
    height: 16px;
    accent-color: var(--style-accent);
}

.binder-checklist span {
    color: var(--style-ink);
    font-size: 0.82rem;
}

.binder-checklist em {
    color: var(--style-accent-2);
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 760;
}

.binder-side {
    border-left: 1px solid var(--style-border);
}

.binder-side div {
    display: grid;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--style-border);
}

.binder-side div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.binder-side p {
    color: var(--style-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

:root[data-theme="dark"] .phase-tile,
:root[data-theme="dark"] .design-board,
:root[data-theme="dark"] .review-notes article,
:root[data-theme="dark"] .mock-screen,
:root[data-theme="dark"] .mock-metrics div {
    border-color: rgba(232, 244, 234, 0.13);
}

:root[data-theme="dark"] .design-anchor-list span,
:root[data-theme="dark"] .mock-future-rail span {
    color: var(--tan-soft);
    background: rgba(212, 163, 115, 0.115);
    border-color: rgba(212, 163, 115, 0.32);
}

:root[data-theme="dark"] .phase-current {
    background: rgba(120, 199, 124, 0.1);
    border-color: rgba(120, 199, 124, 0.28);
}

:root[data-theme="dark"] .mock-screen-header em {
    color: var(--accent-pale);
    background: rgba(47, 125, 58, 0.52);
    border-color: rgba(120, 199, 124, 0.28);
}

:root[data-theme="dark"] .mock-future-rail {
    background: rgba(212, 163, 115, 0.08);
    border-color: rgba(212, 163, 115, 0.24);
}

:root[data-theme="dark"] body:has(.review-page) {
    background: #f4f1ea;
}

:root[data-theme="dark"] .review-page .topbar-brand,
:root[data-theme="dark"] .review-page .topbar-nav a,
:root[data-theme="dark"] .review-page .theme-toggle,
:root[data-theme="dark"] .review-page h1,
:root[data-theme="dark"] .review-page .summary-strip dd,
:root[data-theme="dark"] .review-notes h2 {
    color: var(--review-ink);
}

:root[data-theme="dark"] .review-page .section-label {
    color: var(--review-accent);
}

:root[data-theme="dark"] .review-page .workspace-heading p,
:root[data-theme="dark"] .review-page .summary-strip dt,
:root[data-theme="dark"] .review-page .summary-strip dd span {
    color: var(--review-muted);
}

:root[data-theme="dark"] .review-page .app-topbar,
:root[data-theme="dark"] .review-page .workspace-overview,
:root[data-theme="dark"] .review-page .summary-strip div,
:root[data-theme="dark"] .review-notes article,
:root[data-theme="dark"] .phase-tile,
:root[data-theme="dark"] .mock-screen,
:root[data-theme="dark"] .mock-metrics div {
    border-color: var(--review-border);
    box-shadow: none;
}

:root[data-theme="dark"] .review-page .summary-strip div {
    background: var(--review-surface);
}

:root[data-theme="dark"] .review-page .phase-current {
    background: color-mix(in srgb, var(--review-accent-soft) 76%, var(--review-surface));
    border-color: color-mix(in srgb, var(--review-accent) 32%, var(--review-border));
    box-shadow: inset 4px 0 0 var(--review-accent);
}

:root[data-theme="dark"] .design-board {
    background: var(--style-bg);
    border-color: var(--style-border);
}

:root[data-theme="dark"] .design-board h2,
:root[data-theme="dark"] .mock-screen-header strong,
:root[data-theme="dark"] .mock-metrics dd,
:root[data-theme="dark"] .mock-lane-header strong,
:root[data-theme="dark"] .mock-row strong,
:root[data-theme="dark"] .design-anchor-list span,
:root[data-theme="dark"] .mock-future-rail span,
:root[data-theme="dark"] .palette-card h2,
:root[data-theme="dark"] .palette-card {
    color: var(--style-ink);
}

:root[data-theme="dark"] .design-board-copy p:not(.section-label),
:root[data-theme="dark"] .mock-screen-header span,
:root[data-theme="dark"] .mock-lane-header span,
:root[data-theme="dark"] .mock-metrics dt,
:root[data-theme="dark"] .mock-metrics span,
:root[data-theme="dark"] .mock-row span,
:root[data-theme="dark"] .palette-card p {
    color: var(--style-muted);
}

:root[data-theme="dark"] .design-anchor-list span,
:root[data-theme="dark"] .mock-future-rail span {
    background: var(--style-soft);
    border-color: var(--style-border);
}

:root[data-theme="dark"] .mock-browser {
    background: var(--style-bar);
    border-color: color-mix(in srgb, var(--style-bar) 70%, var(--style-border));
}

:root[data-theme="dark"] .mock-screen,
:root[data-theme="dark"] .palette-card {
    background: var(--style-surface);
}

:root[data-theme="dark"] .mock-metrics div,
:root[data-theme="dark"] .mock-lane-header {
    background: var(--style-soft);
    border-color: var(--style-border);
}

:root[data-theme="dark"] .mock-lane,
:root[data-theme="dark"] .mock-row {
    border-color: var(--style-border);
}

:root[data-theme="dark"] .mock-screen-header em {
    color: white;
    background: var(--style-accent);
    border-color: color-mix(in srgb, var(--style-accent) 70%, var(--style-border));
}

@media (max-width: 900px) {
    .hero-section,
    .content-grid,
    .workspace-overview {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 30px;
    }

    .span-two {
        grid-column: auto;
    }

    .access-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .client-card {
        grid-template-areas:
            "title metrics"
            "assignee metrics"
            "tags tags";
        grid-template-columns: minmax(0, 1fr) minmax(140px, auto);
    }

    .client-card .tag-list,
    .client-card .metric-list {
        grid-column: 1 / -1;
    }

    .metric-list {
        justify-content: flex-start;
    }

    .summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workspace-grid .side-panel {
        grid-column: auto;
    }

    .mockup-storyboard {
        grid-template-columns: 1fr;
    }

    .mockup-panel-full,
    .mockup-panel-wide,
    .mockup-side-panel {
        grid-column: auto;
    }

    .access-row-header {
        display: none;
    }

    .review-roadmap,
    .palette-grid,
    .dashboard-grid,
    .bookkeeping-grid,
    .design-board,
    .review-notes,
    .mock-screen,
    .dashboard-shell,
    .calendar-shell,
    .binder-shell {
        grid-template-columns: 1fr;
    }

    .mock-work-grid {
        grid-template-columns: 1fr;
    }

    .mock-future-rail {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dashboard-grid .screen-concept,
    .bookkeeping-grid .screen-concept {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .filter-rail,
    .client-index,
    .binder-side {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid var(--style-border);
    }

    .client-index,
    .binder-side {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .kanban-board {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
    }
}

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 24px, 1180px);
        padding: 24px 0;
    }

    .hero-section,
    .workspace-panel {
        padding: 22px;
    }

    .app-page {
        width: min(100% - 24px, 1180px);
        padding: 18px 0 32px;
    }

    .app-topbar {
        display: grid;
        gap: 12px;
    }

    .topbar-nav {
        justify-content: flex-start;
    }

    .account-pill {
        display: none;
    }

    .workspace-overview {
        gap: 18px;
        padding: 20px 0;
    }

    .summary-strip,
    .client-card {
        grid-template-columns: 1fr;
    }

    .client-card {
        grid-template-areas:
            "title"
            "assignee"
            "tags"
            "metrics";
    }

    .metric-list,
    .metric-list .status-chip {
        justify-content: flex-start;
        justify-self: start;
    }

    .brand-lockup {
        max-width: 100%;
    }

    .brand-lockup span {
        white-space: normal;
    }

    .panel-header {
        display: grid;
    }

    .task-row {
        grid-template-columns: 1fr;
    }

    .deadline-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .review-roadmap,
    .mock-metrics,
    .command-metrics,
    .week-strip {
        grid-template-columns: 1fr;
    }

    .mock-row,
    .mock-screen-header,
    .dashboard-titlebar,
    .compact-app-header,
    .tracker-toolbar {
        grid-template-columns: 1fr;
    }

    .mock-screen-header {
        display: grid;
        justify-items: start;
    }

    .dashboard-titlebar,
    .compact-app-header,
    .tracker-toolbar {
        display: grid;
        justify-items: start;
    }

    .mock-row time {
        white-space: normal;
    }

    .screen-concept,
    .dashboard-shell,
    .calendar-main,
    .close-board-shell,
    .tracker-shell,
    .binder-main {
        padding: 12px;
    }

    .load-row {
        grid-template-columns: 1fr;
    }

    .decision-item {
        grid-template-columns: 1fr;
    }

    .decision-item em {
        grid-row: auto;
        width: fit-content;
    }
}

/* Design review live theme preview */
.syncfusion-review {
    position: relative;
    isolation: isolate;
    color: var(--review-text);
    background: transparent;
    transition: color 180ms ease;
}

.syncfusion-review.app-page {
    width: min(1920px, calc(100% - clamp(24px, 4vw, 80px)));
}

.syncfusion-review::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background: var(--review-bg);
    transition: background 180ms ease;
}

.syncfusion-review .app-topbar {
    border-color: var(--review-border);
}

.syncfusion-review .topbar-brand,
.syncfusion-review .topbar-nav a,
.syncfusion-review h1,
.syncfusion-review h2,
.syncfusion-review h3,
.syncfusion-review strong,
.syncfusion-review .panel-heading {
    color: var(--review-heading);
}

.syncfusion-review .topbar-nav a:hover,
.syncfusion-review .topbar-nav a.active {
    color: var(--review-heading);
    background: color-mix(in srgb, var(--review-surface) 90%, transparent);
    border-color: var(--review-border);
}

.syncfusion-review p,
.syncfusion-review .workspace-heading p,
.syncfusion-review .concept-copy p,
.syncfusion-review .research-grid p,
.syncfusion-review .metric-line span,
.syncfusion-review .decision-chip span,
.syncfusion-review .decision-chip em,
.syncfusion-review .focus-panel p,
.syncfusion-review .close-card-template span,
.syncfusion-review .close-card-template em,
.syncfusion-review .close-card-template small,
.syncfusion-review .binder-workspace header p,
.syncfusion-review .binder-note-grid p,
.syncfusion-review .phase-tile p,
.syncfusion-review .phase-tile span {
    color: var(--review-muted);
}

.syncfusion-review .section-label,
.syncfusion-review .research-grid span,
.syncfusion-review .binder-workspace header span,
.syncfusion-review .design-anchor-list span {
    color: var(--review-accent);
}

.syncfusion-review .sync-hero > div,
.syncfusion-review .recommendation-panel,
.syncfusion-review .concept-copy,
.syncfusion-review .syncfusion-frame,
.syncfusion-review .research-grid article,
.syncfusion-review .phase-tile,
.syncfusion-review .command-panel,
.syncfusion-review .question-rail,
.syncfusion-review .binder-client-list,
.syncfusion-review .binder-workspace,
.syncfusion-review .binder-note-grid article {
    color: var(--review-text);
    background: var(--review-surface);
    border-color: var(--review-border);
    box-shadow: var(--review-shadow);
}

.syncfusion-review .sync-concept {
    grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
    gap: clamp(14px, 1.4vw, 24px);
}

.syncfusion-review .syncfusion-frame {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.syncfusion-review .command-frame .e-dashboardlayout,
.syncfusion-review .command-frame .e-dashboardlayout .e-panel,
.syncfusion-review .command-frame .e-dashboardlayout .e-panel-container,
.syncfusion-review .command-frame .e-dashboardlayout .e-panel-content {
    max-width: 100%;
}

.syncfusion-review .command-frame .e-dashboardlayout .e-panel,
.syncfusion-review .command-frame .e-dashboardlayout .e-panel-container,
.syncfusion-review .command-frame .e-dashboardlayout .e-panel-content {
    min-width: 0;
    overflow: hidden;
}

.syncfusion-review .progress-stack,
.syncfusion-review .metric-line,
.syncfusion-review .metric-line .e-control,
.syncfusion-review .metric-line .e-progressbar,
.syncfusion-review .metric-line svg {
    max-width: 100%;
}

.syncfusion-review .sync-hero > div {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--review-accent-soft) 72%, transparent), transparent 48%),
        var(--review-surface);
}

.review-preview-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.35fr);
    gap: 16px;
    align-items: center;
    margin: 18px 0 22px;
    padding: 18px;
    color: var(--review-text);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--review-accent-soft) 70%, transparent), transparent 54%),
        var(--review-surface);
    border: 1px solid var(--review-border);
    border-radius: 8px;
    box-shadow: var(--review-shadow);
}

.review-preview-controls h2 {
    margin-top: 4px;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    line-height: 1.18;
}

.review-preview-controls p:not(.section-label) {
    max-width: 760px;
    margin-top: 8px;
    color: var(--review-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.review-control-stack {
    display: grid;
    gap: 10px;
}

.preview-control-group {
    display: grid;
    gap: 8px;
    padding: 12px;
    background: var(--review-surface-soft);
    border: 1px solid var(--review-border);
    border-radius: 8px;
}

.preview-control-group > span {
    color: var(--review-muted);
    font-size: 0.68rem;
    font-weight: 760;
    text-transform: uppercase;
}

.preview-control-group > strong {
    color: var(--review-heading);
    font-size: 0.92rem;
}

.preview-mode-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.preview-mode-button {
    min-height: 38px;
    padding: 8px 12px;
    color: var(--review-text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 760;
    background: var(--review-surface);
    border: 1px solid var(--review-border);
    border-radius: 6px;
    cursor: pointer;
}

.preview-mode-button:hover,
.preview-mode-button.selected {
    color: var(--review-heading);
    background: var(--review-accent-soft);
    border-color: color-mix(in srgb, var(--review-accent) 56%, var(--review-border));
}

.review-mode-dark .preview-mode-button.selected {
    color: var(--review-heading);
    background: color-mix(in srgb, var(--review-accent) 24%, var(--review-surface));
}

.syncfusion-review .recommendation-points span,
.syncfusion-review .design-anchor-list span,
.syncfusion-review .client-pill {
    color: var(--review-accent);
    background: var(--review-accent-soft);
    border-color: color-mix(in srgb, var(--review-accent) 28%, var(--review-border));
}

.syncfusion-review .recommendation-points span:nth-child(2),
.syncfusion-review .client-pill.fix {
    color: var(--review-accent-2);
    background: var(--review-accent-2-soft);
    border-color: color-mix(in srgb, var(--review-accent-2) 28%, var(--review-border));
}

.syncfusion-review .recommendation-points span:nth-child(3),
.syncfusion-review .client-pill.owner {
    color: var(--review-accent-3);
    background: var(--review-accent-3-soft);
    border-color: color-mix(in srgb, var(--review-accent-3) 28%, var(--review-border));
}

.syncfusion-review .recommendation-points span:nth-child(4) {
    color: var(--review-accent-4);
    background: var(--review-accent-4-soft);
    border-color: color-mix(in srgb, var(--review-accent-4) 28%, var(--review-border));
}

.syncfusion-review .recommendation-points span:nth-child(5),
.syncfusion-review .client-pill.ready {
    color: var(--review-accent);
    background: var(--review-accent-soft);
}

.syncfusion-review .phase-current {
    background: color-mix(in srgb, var(--review-accent-soft) 76%, var(--review-surface));
    border-color: color-mix(in srgb, var(--review-accent) 40%, var(--review-border));
    box-shadow: inset 4px 0 0 var(--review-accent), var(--review-shadow);
}

.syncfusion-review .decision-chip {
    background: var(--review-surface-soft);
    border-color: var(--review-border);
    border-left-color: var(--review-accent);
}

.syncfusion-review .decision-high {
    border-left-color: var(--review-accent-3);
}

.syncfusion-review .decision-medium {
    border-left-color: var(--review-accent-2);
}

.syncfusion-review .decision-chip em,
.syncfusion-review .close-card-template small {
    background: var(--review-surface);
    border-color: var(--review-border);
}

.syncfusion-review .palette-card {
    appearance: none;
    width: 100%;
    min-height: 242px;
    padding: 16px;
    text-align: left;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(24, 36, 31, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.syncfusion-review .palette-card:hover,
.syncfusion-review .palette-card.selected {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--style-accent) 58%, var(--style-border));
    box-shadow: 0 18px 38px rgba(24, 36, 31, 0.13);
}

.syncfusion-review .palette-card.selected {
    outline: 2px solid color-mix(in srgb, var(--style-accent) 34%, transparent);
    outline-offset: 3px;
}

.syncfusion-review .palette-card em {
    display: inline-flex;
    width: fit-content;
    margin-top: 14px;
    padding: 4px 8px;
    color: var(--style-accent);
    background: var(--style-soft);
    border: 1px solid var(--style-border);
    border-radius: 999px;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 760;
}

.review-mode-dark .style-microsoft {
    --style-bg: #10151d;
    --style-surface: #18202b;
    --style-soft: #1e2b3a;
    --style-ink: #f3f7fb;
    --style-muted: #a8b6c8;
    --style-border: #304054;
    --style-accent: #7ea7f2;
    --style-accent-2: #92bdcf;
    --style-bar: #0c1220;
}

.review-mode-dark .style-editorial {
    --style-bg: #171311;
    --style-surface: #241c1a;
    --style-soft: #2d2521;
    --style-ink: #fff2e8;
    --style-muted: #c5aba0;
    --style-border: #4b3b35;
    --style-accent: #d8748d;
    --style-accent-2: #e0a26f;
    --style-bar: #120d0c;
}

.review-mode-dark .style-muted-green {
    --style-bg: #101510;
    --style-surface: #18211b;
    --style-soft: #202b23;
    --style-ink: #f5f1e8;
    --style-muted: #a8b4a9;
    --style-border: #334337;
    --style-accent: #82b88f;
    --style-accent-2: #d4b17f;
    --style-bar: #0c120d;
}

.syncfusion-review .e-control,
.syncfusion-review .e-control *,
.syncfusion-review .e-grid,
.syncfusion-review .e-kanban,
.syncfusion-review .e-schedule,
.syncfusion-review .e-listview,
.syncfusion-review .e-accordion {
    font-family: var(--font-body);
}

.syncfusion-review .e-grid,
.syncfusion-review .e-kanban,
.syncfusion-review .e-schedule,
.syncfusion-review .e-listview,
.syncfusion-review .e-accordion,
.syncfusion-review .e-card,
.syncfusion-review .e-dashboardlayout .e-panel {
    color: var(--review-text);
    background: var(--review-surface);
    border-color: var(--review-border);
}

.syncfusion-review .e-grid .e-gridheader,
.syncfusion-review .e-grid .e-headercontent,
.syncfusion-review .e-grid .e-gridcontent,
.syncfusion-review .e-grid .e-content,
.syncfusion-review .e-grid .e-table {
    max-width: 100%;
}

.syncfusion-review .e-grid .e-headercell,
.syncfusion-review .e-grid .e-rowcell,
.syncfusion-review .e-grid .e-filterbarcell {
    font-size: 0.78rem;
    line-height: 1.35;
}

.syncfusion-review .e-grid .e-filterbar,
.syncfusion-review .e-grid .e-filterbarcell,
.syncfusion-review .e-grid .e-filterdiv,
.syncfusion-review .e-grid .e-input-group,
.syncfusion-review .e-grid .e-input-group.e-control-wrapper,
.syncfusion-review .e-grid .e-input-group input,
.syncfusion-review .e-grid .e-filtertext {
    color: var(--review-text) !important;
    background: var(--review-surface) !important;
    border-color: var(--review-border) !important;
}

.syncfusion-review .e-grid .e-filtertext::placeholder,
.syncfusion-review .e-grid .e-input-group input::placeholder {
    color: var(--review-muted) !important;
    opacity: 0.72;
}

.syncfusion-review .e-dashboardlayout .e-panel-header,
.syncfusion-review .command-panel > .panel-heading,
.syncfusion-review .e-grid .e-headercell,
.syncfusion-review .e-grid .e-columnheader,
.syncfusion-review .e-kanban .e-kanban-header .e-header-cells,
.syncfusion-review .e-kanban .e-content-cells,
.syncfusion-review .e-schedule .e-schedule-toolbar,
.syncfusion-review .e-schedule .e-timeline-view .e-date-header-wrap table td,
.syncfusion-review .e-schedule .e-timeline-view .e-resource-left-td,
.syncfusion-review .client-stack-list .e-list-header,
.syncfusion-review .e-accordion .e-acrdn-item .e-acrdn-header {
    color: var(--review-heading);
    background: var(--review-surface-soft);
    border-color: var(--review-border);
}

.syncfusion-review .e-grid .e-rowcell,
.syncfusion-review .e-grid .e-altrow,
.syncfusion-review .e-grid .e-content,
.syncfusion-review .e-kanban .e-card,
.syncfusion-review .e-kanban .e-card-content,
.syncfusion-review .e-kanban .e-swimlane-row,
.syncfusion-review .e-schedule .e-work-cells,
.syncfusion-review .e-schedule .e-date-header,
.syncfusion-review .e-listview .e-list-item,
.syncfusion-review .e-accordion .e-acrdn-item .e-acrdn-panel,
.syncfusion-review .e-accordion .e-acrdn-item .e-acrdn-content {
    color: var(--review-text);
    background: var(--review-surface);
    border-color: var(--review-border);
}

.syncfusion-review .e-grid .e-headertext,
.syncfusion-review .e-kanban .e-header-text,
.syncfusion-review .e-kanban .e-card-header-title,
.syncfusion-review .e-schedule .e-toolbar-item .e-tbar-btn-text,
.syncfusion-review .e-schedule .e-header-day,
.syncfusion-review .e-schedule .e-date-header,
.syncfusion-review .e-listview .e-list-item-header,
.syncfusion-review .e-accordion .e-acrdn-header-content {
    color: var(--review-heading);
}

.syncfusion-review .e-listview .e-list-content,
.syncfusion-review .e-schedule .e-work-cells,
.syncfusion-review .e-grid .e-rowcell,
.syncfusion-review .e-kanban .e-card-content {
    color: var(--review-muted);
}

.syncfusion-review .board-frame .e-kanban .e-content-table,
.syncfusion-review .board-frame .e-kanban .e-kanban-content,
.syncfusion-review .board-frame .e-kanban .e-card-wrapper,
.syncfusion-review .board-frame .e-kanban .e-card-container {
    background: var(--review-surface-soft) !important;
}

.syncfusion-review .board-frame .e-kanban .e-content-cells.e-drag,
.syncfusion-review .board-frame .e-kanban .e-content-cells.e-drop,
.syncfusion-review .board-frame .e-kanban .e-content-cells.e-droppable {
    background: color-mix(in srgb, var(--review-surface-soft) 78%, var(--review-surface)) !important;
    border-color: var(--review-border) !important;
}

.syncfusion-review .board-frame .e-kanban .e-card {
    color: var(--review-text) !important;
    background: color-mix(in srgb, var(--review-surface) 88%, var(--review-accent-soft)) !important;
    border-top: 1px solid var(--review-border) !important;
    border-right: 1px solid var(--review-border) !important;
    border-bottom: 1px solid var(--review-border) !important;
    box-shadow: 0 10px 24px rgba(13, 19, 15, 0.14) !important;
}

.syncfusion-review .board-frame .e-kanban .e-empty-card {
    display: inline-grid;
    min-height: auto;
    margin: 8px;
    padding: 8px 10px;
    color: var(--review-muted) !important;
    background: color-mix(in srgb, var(--review-surface) 72%, transparent) !important;
    border: 1px dashed color-mix(in srgb, var(--review-muted) 30%, var(--review-border)) !important;
    border-radius: 6px;
    font-weight: 650;
    line-height: 1.25;
}

.review-mode-dark .board-frame .e-kanban .e-content-table,
.review-mode-dark .board-frame .e-kanban .e-kanban-content,
.review-mode-dark .board-frame .e-kanban .e-card-wrapper,
.review-mode-dark .board-frame .e-kanban .e-card-container {
    background: color-mix(in srgb, var(--review-surface-soft) 82%, var(--review-bg)) !important;
}

.review-mode-dark .board-frame .e-kanban .e-content-cells.e-drag,
.review-mode-dark .board-frame .e-kanban .e-content-cells.e-drop,
.review-mode-dark .board-frame .e-kanban .e-content-cells.e-droppable {
    background: color-mix(in srgb, var(--review-surface-soft) 72%, var(--review-bg)) !important;
}

.review-mode-dark .board-frame .e-kanban .e-card {
    background: color-mix(in srgb, var(--review-surface) 84%, var(--review-accent-soft)) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
}

.review-mode-dark .board-frame .e-kanban .e-empty-card {
    background: color-mix(in srgb, var(--review-surface) 62%, transparent) !important;
}

.syncfusion-review .calendar-frame .e-schedule .e-toolbar-items,
.syncfusion-review .calendar-frame .e-schedule .e-toolbar-item,
.syncfusion-review .calendar-frame .e-schedule .e-tbar-btn,
.syncfusion-review .calendar-frame .e-schedule .e-tbar-btn:hover,
.syncfusion-review .calendar-frame .e-schedule .e-tbar-btn:focus {
    color: var(--review-heading) !important;
    background: var(--review-surface-soft) !important;
    border-color: var(--review-border) !important;
}

.syncfusion-review .calendar-frame .e-schedule .e-tbar-btn-text,
.syncfusion-review .calendar-frame .e-schedule .e-icons,
.syncfusion-review .calendar-frame .e-schedule .e-date-range,
.syncfusion-review .calendar-frame .e-schedule .e-date-range .e-tbar-btn-text {
    color: var(--review-heading) !important;
}

.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-date-header-wrap,
.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-date-header-container,
.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-time-cells-wrap,
.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-content-wrap,
.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-time-slots,
.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-time-cells {
    color: var(--review-heading) !important;
    background: var(--review-surface-soft) !important;
    border-color: var(--review-border) !important;
}

.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-date-header,
.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-header-cells,
.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-time-slots span {
    color: var(--review-heading) !important;
}

.syncfusion-review .calendar-frame .e-schedule .e-timeline-view .e-work-cells {
    color: var(--review-muted) !important;
    background: color-mix(in srgb, var(--review-surface) 86%, var(--review-bg)) !important;
    border-color: var(--review-border) !important;
}

.review-mode-dark .calendar-frame .e-schedule .e-timeline-view .e-work-cells {
    background: color-mix(in srgb, var(--review-surface) 78%, var(--review-bg)) !important;
}

.syncfusion-review .calendar-frame .e-schedule .e-appointment,
.syncfusion-review .calendar-frame .e-schedule .e-appointment .e-appointment-details,
.syncfusion-review .calendar-frame .e-schedule .e-subject,
.syncfusion-review .calendar-frame .e-schedule .e-time {
    font-weight: 760;
}

.syncfusion-review .e-btn.e-primary,
.syncfusion-review .e-primary.e-outline:hover {
    color: white;
    background: var(--review-accent);
    border-color: var(--review-accent);
}

.syncfusion-review .e-primary.e-outline {
    color: var(--review-accent);
    background: transparent;
    border-color: var(--review-accent);
}

.syncfusion-review .e-btn.e-flat {
    color: var(--review-heading);
}

.calendar-frame .e-schedule .event-docs,
.calendar-frame .e-schedule .event-docs .e-appointment-details {
    color: var(--review-bar) !important;
    background: var(--review-accent-2) !important;
}

.calendar-frame .e-schedule .event-review,
.calendar-frame .e-schedule .event-review .e-appointment-details {
    color: white !important;
    background: var(--review-accent-3) !important;
}

.calendar-frame .e-schedule .event-question,
.calendar-frame .e-schedule .event-question .e-appointment-details {
    color: white !important;
    background: var(--review-accent) !important;
}

.calendar-frame .e-schedule .event-ready,
.calendar-frame .e-schedule .event-ready .e-appointment-details {
    color: white !important;
    background: var(--review-accent-4) !important;
}

.calendar-frame .e-schedule .event-grant,
.calendar-frame .e-schedule .event-grant .e-appointment-details {
    color: white !important;
    background: var(--review-bar) !important;
}

.calendar-frame .e-schedule .event-docs .e-subject,
.calendar-frame .e-schedule .event-docs .e-time {
    color: var(--review-bar) !important;
}

.calendar-frame .e-schedule .event-review .e-subject,
.calendar-frame .e-schedule .event-review .e-time,
.calendar-frame .e-schedule .event-question .e-subject,
.calendar-frame .e-schedule .event-question .e-time,
.calendar-frame .e-schedule .event-ready .e-subject,
.calendar-frame .e-schedule .event-ready .e-time,
.calendar-frame .e-schedule .event-grant .e-subject,
.calendar-frame .e-schedule .event-grant .e-time {
    color: white !important;
}

@media (max-width: 760px) {
    .review-preview-controls {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1480px) {
    .syncfusion-review .sync-concept {
        grid-template-columns: 1fr;
    }

    .syncfusion-review .concept-copy {
        position: static;
    }

    .syncfusion-review .concept-copy p {
        max-width: 900px;
    }
}

@media (max-width: 1100px) {
    .command-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .syncfusion-review.app-page {
        width: calc(100% - 24px);
    }

    .syncfusion-review .syncfusion-frame {
        padding: 10px;
    }
}
