:root {
    color-scheme: dark;

    --hs-color-bg: #1b1c1e;
    --hs-color-bg-deep: #0b0f12;
    --hs-color-workspace-bg: var(--hs-color-bg);
    /* Reviewed report preparation palette: neutral blue-gray evidence surfaces and bright action honey. */
    --hs-color-report-bg: #171f24;
    --hs-color-report-panel: #1c262d;
    --hs-color-report-border: #34424d;
    --hs-color-report-action: #ffca38;
    --hs-color-report-action-bright: #ffda62;
    --hs-color-report-selection: #20374a;
    --hs-color-report-link: #43b4ff;
    --hs-color-media-stage: #07090b;
    --hs-color-surface: #2b2d31;
    --hs-color-surface-deep: #202226;
    --hs-color-surface-raised: rgba(32, 34, 38, 0.92);
    --hs-color-surface-panel: rgba(25, 34, 41, 0.82);
    --hs-color-surface-panel-deep: rgba(18, 25, 31, 0.92);
    --hs-color-surface-navy-overlay: rgba(17, 24, 39, 0.82);
    /* Shared navy workspace tones preserve the reviewed Action Hub palette. */
    --hs-color-workspace-text: #f3f6fc;
    --hs-color-workspace-text-muted: #b8c9df;
    --hs-color-workspace-focus: #b8dcff;
    --hs-color-workspace-link: #86bdff;
    --hs-color-workspace-bg-navy: #0d1720;
    --hs-color-text: #ffffff;
    --hs-color-text-muted: #9ca3af;
    --hs-color-text-neutral: #c4c8cf;
    --hs-color-text-neutral-strong: #e5e7eb;
    --hs-color-border: rgba(156, 163, 175, 0.28);
    --hs-color-border-strong: #4b4e54;
    --hs-color-on-blueprint: #07111f;
    --hs-color-ink-on-accent: #111820;
    --hs-color-provider-accent: #0f766e;
    --hs-color-shell-header-surface: rgba(27, 28, 30, 0.94);
    --hs-color-shell-navigation-surface: rgba(11, 15, 18, 0.97);
    --hs-color-shell-drawer-surface: rgba(11, 15, 18, 0.99);
    --hs-color-action-rail-surface: rgba(27, 28, 30, 0.96);
    --hs-color-blueprint-interactive-surface: rgba(96, 165, 250, 0.08);
    --hs-color-blueprint-interactive-surface-hover: rgba(96, 165, 250, 0.16);
    --hs-color-blueprint-border-soft: rgba(96, 165, 250, 0.45);
    --hs-color-action-primary: #173f73;
    --hs-color-action-primary-hover: #1d4f91;
    --hs-color-action-primary-vivid: #2563eb;
    --hs-color-action-primary-vivid-hover: #1d4ed8;
    --hs-color-action-primary-bright: #0073e8;
    --hs-color-action-primary-bright-hover: #006ad8;
    --hs-color-action-primary-border: #60a5fa;
    --hs-color-on-action-primary: #ffffff;
    --hs-color-workflow-step-strip-surface: rgba(15, 23, 42, 0.38);
    --hs-color-workflow-step-active-surface: rgba(37, 99, 235, 0.28);
    --hs-color-workflow-step-target-outline: rgba(147, 197, 253, 0.78);
    --hs-color-overlay-scrim: rgba(0, 0, 0, 0.68);

    --hs-color-honey: #f0bd45;
    --hs-color-honey-muted: #d09a36;
    --hs-color-blueprint: #60a5fa;
    --hs-color-blueprint-strong: var(--hs-color-action-primary);
    --hs-color-prep: #60a5fa;
    --hs-color-prep-border: rgba(96, 165, 250, 0.5);
    --hs-color-prep-surface: rgba(96, 165, 250, 0.08);
    --hs-color-prep-text: #bfdbfe;
    --hs-color-execute: #24a865;
    --hs-color-on-execute: #07140d;
    --hs-color-execute-border: rgba(36, 168, 101, 0.56);
    --hs-color-execute-border-soft: rgba(36, 168, 101, 0.46);
    --hs-color-execute-surface: #10281d;
    --hs-color-execute-surface-soft: rgba(36, 168, 101, 0.09);
    --hs-color-execute-text: #d9fbe7;
    --hs-color-execute-text-soft: #b7f7d1;
    --hs-color-wrap: #ffa500;
    --hs-color-wrap-border: rgba(255, 165, 0, 0.56);
    --hs-color-wrap-surface: rgba(74, 45, 8, 0.36);
    --hs-color-wrap-text: #fed7aa;
    --hs-color-context: #ab47bc;
    --hs-color-context-text: #d28cdf;
    --hs-color-danger: #d98286;
    --hs-color-danger-border: rgba(217, 130, 134, 0.62);
    --hs-color-danger-fill: #8f3f46;
    --hs-color-danger-text: #fecdd3;
    --hs-color-honey-border: rgba(240, 189, 69, 0.56);
    --hs-color-honey-text: #fde68a;
    --hs-color-text-strong: #f8fafc;
    --hs-color-text-emphasis: #e2e8f0;
    --hs-color-text-soft: #cbd5e1;
    --hs-color-text-subtle: #94a3b8;
    --hs-color-blueprint-highlight: #93c5fd;
    --hs-color-blueprint-text-soft: #dbeafe;
    --hs-color-border-slate: rgba(148, 163, 184, 0.28);
    --hs-color-border-slate-soft: rgba(148, 163, 184, 0.2);
    --hs-color-border-slate-quiet: rgba(148, 163, 184, 0.14);
    --hs-color-surface-slate-quiet: rgba(148, 163, 184, 0.1);

    --hs-font-family-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --hs-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --hs-font-size-caption: 0.7rem;
    --hs-font-size-label: 0.78rem;
    --hs-font-size-body: 1rem;
    --hs-font-size-title: clamp(1.75rem, 3vw, 2.5rem);
    --hs-line-height-tight: 1.15;
    --hs-line-height-body: 1.5;

    --hs-space-1: 0.25rem;
    --hs-space-2: 0.5rem;
    --hs-space-3: 0.75rem;
    --hs-space-4: 1rem;
    --hs-space-5: 1.5rem;
    --hs-space-6: 2rem;
    --hs-space-7: 3rem;

    --hs-radius-sm: 0.5rem;
    --hs-radius-md: 0.75rem;
    --hs-radius-lg: 1rem;
    --hs-shadow-raised: 0 20px 55px rgba(0, 0, 0, 0.34);
    --hs-shadow-overlay: 0 24px 80px rgba(0, 0, 0, 0.55);
    --hs-color-shadow-base: #000000;
    --hs-focus-ring: 0 0 0 3px rgba(96, 165, 250, 0.42);

    --hs-content-width: 52rem;
    --hs-wide-width: 84rem;
    --hs-shell-nav-width: 17.25rem;
    --hs-shell-header-height: 4.5rem;
    --hs-shell-footer-min-height: 4.5rem;
    --hs-action-rail-height: 4.5rem;
    --hs-hit-target: 44px;

    --hs-motion-fast: 140ms;
    --hs-motion-calm: 180ms;
    --hs-z-sticky: 20;
    --hs-z-overlay: 100;
    --hs-z-dialog: 1200;

    --hs-brand-quiet-effective-opacity: 0.37;
    --hs-brand-standard-effective-opacity: 0.52;
    --hs-brand-expressive-effective-opacity: 0.72;
    --hs-brand-navigation-rail-blueprint-opacity: 0.78;
    /* Additional 15% relative reduction from the previous 0.609408 navigation treatment. */
    --hs-brand-navigation-rail-honeycomb-opacity: 0.5179968;
    --hs-brand-blueprint-emphasis-filter: saturate(1.08) contrast(1.12) brightness(1.08);

    /*
       External background-image SVGs cannot inherit document custom properties.
       These tokens publish the canonical intrinsic-stroke contract for source
       governance; the canonical SVG assets remain the rendering owners.
    */
    --hs-brand-blueprint-minor-stroke-width: 0.7;
    --hs-brand-blueprint-minor-stroke-opacity: 0.075;
    --hs-brand-blueprint-major-stroke-width: 0.85;
    --hs-brand-blueprint-major-stroke-opacity: 0.115;
    --hs-brand-honeycomb-stroke-width: 0.9;
    --hs-brand-honeycomb-stroke-opacity: 0.64;
    --hs-brand-drafting-stroke-width: 1;
    --hs-brand-drafting-stroke-opacity: 0.14;
    --hs-brand-drafting-accent-stroke-opacity: 0.12;
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --hs-motion-fast: 0ms;
        --hs-motion-calm: 0ms;
    }
}

@media (forced-colors: active) {
    :root {
        --hs-color-border: CanvasText;
    }
}

/* Shared focused Blueprint review palette, selected in the persona review shell. */
:root {
    --hs-review-bg: #0b202e;
    --hs-review-panel: #102838;
    --hs-review-navigation: #0d2332;
    --hs-review-navigation-border: #294559;
    --hs-review-border: #2e4b60;
    --hs-review-text: #edf4ff;
    --hs-review-muted: #b9cede;
    --hs-review-heading: #f0f5ff;
    --hs-review-icon: #b9cfe5;
    --hs-review-accent: #ffcf53;
    --hs-review-on-accent: #14202b;
    --hs-review-success: #55d996;
    --hs-review-selected: #1b3549;
    --hs-review-hover: #183145;
    --hs-review-scrollbar: #395970;
    --hs-review-status-border: #66572d;
    --hs-review-panel-finish: linear-gradient(135deg, color-mix(in srgb, var(--hs-review-icon) 5%, transparent), transparent 65%);
    --hs-review-panel-shadow: inset 0 1px 0 color-mix(in srgb, var(--hs-review-icon) 8%, transparent), 0 3px 10px color-mix(in srgb, var(--hs-review-bg) 45%, transparent);
    --hs-review-accent-finish: linear-gradient(to bottom, color-mix(in srgb, var(--hs-review-accent) 88%, var(--hs-review-heading)), var(--hs-review-accent));
}

/* Opt-in report face: the existing bundled Inter asset keeps this reviewed surface consistent across hosts. */
@font-face {
    font-family: "HiveSync Report Inter";
    src: url("/fonts/inter/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* Shared activation and completion palettes preserve the reviewed surface colors. */
:root {
    --hs-color-activation-success-ink: #102019;
    --hs-color-activation-panel: #12191e;
    --hs-color-activation-panel-deep: #131a20;
    --hs-color-activation-accent-ink: #15150e;
    --hs-color-activation-success-surface: #15291f;
    --hs-color-activation-marker-inset: #171f29;
    --hs-color-activation-control-surface: #19232b;
    --hs-color-activation-badge-surface: #202932;
    --hs-color-activation-document-surface: #202a33;
    --hs-color-activation-current-gradient-end: #22221f;
    --hs-color-activation-current-gradient-start: #24231b;
    --hs-color-activation-expanded-surface: #24241f;
    --hs-color-activation-document-gradient-start: #273440;
    --hs-color-activation-success-border: #2b513a;
    --hs-color-activation-border: #303944;
    --hs-color-activation-border-secondary: #303b46;
    --hs-color-activation-current-badge-surface: #36301e;
    --hs-color-activation-badge-border: #3c4752;
    --hs-color-activation-expanded-border: #424136;
    --hs-color-activation-control-border: #465367;
    --hs-color-activation-document-border: #465563;
    --hs-color-activation-border-emphasis: #4c5866;
    --hs-color-activation-disabled-text: #637383;
    --hs-color-activation-current-badge-border: #77673b;
    --hs-color-activation-breadcrumb-muted: #8491a3;
    --hs-color-activation-focus: #8ac7ff;
    --hs-color-activation-accent-border: #8b7141;
    --hs-color-activation-success-fill: #91d59a;
    --hs-color-activation-marker-border: #97a0ae;
    --hs-color-activation-success-text: #a6e2ab;
    --hs-color-activation-muted: #aeb9ca;
    --hs-color-activation-expand-icon: #b1bdce;
    --hs-color-activation-document-icon: #b9c4d3;
    --hs-color-activation-lead: #bbc2d1;
    --hs-color-activation-secondary: #bec8d9;
    --hs-color-activation-description: #c0c7d4;
    --hs-color-activation-helper: #c0cada;
    --hs-color-activation-subheading: #d2dae8;
    --hs-color-activation-marker-text: #dce1ec;
    --hs-color-activation-badge-text: #e0e5ef;
    --hs-color-activation-strong: #e1e6f1;
    --hs-color-activation-heading: #e4e9f3;
    --hs-color-activation-accent-hover: #f0c76c;
    --hs-color-activation-accent: #f1cb70;
    --hs-color-activation-text: #f1f1fa;
    --hs-color-activation-accent-bright: #f2ce75;
    --hs-color-activation-current-badge-text: #f4d076;
    --hs-color-activation-accent-highlight: #f6d47e;
    --hs-color-activation-current-marker-text: #f6f3e9;
    --hs-color-activation-bg: #101519;
    --hs-color-activation-navigation-bg: #12171c;
    --hs-color-activation-navigation-selected: #22292e;
    --hs-color-activation-navigation-hover: #242c34;
    --hs-color-activation-navigation-border: #283039;
    --hs-color-activation-avatar-surface: #2a343e;
    --hs-color-activation-account-muted: #aeb7c7;
    --hs-color-activation-account-chevron: #b6c0cf;
    --hs-color-activation-navigation-text: #bec5d2;
    --hs-color-activation-avatar-text: #d5dce6;
    --hs-color-activation-navigation-active: #f4f3fc;
    --hs-color-completion-action-hover: #076fec;
    --hs-color-completion-action-deep: #0867df;
    --hs-color-completion-link-strong: #0870f4;
    --hs-color-completion-bg: #0c1825;
    --hs-color-completion-panel: #152333;
    --hs-color-completion-action: #1676f6;
    --hs-color-completion-panel-deep: #172333;
    --hs-color-completion-disclosure-surface: #172536;
    --hs-color-completion-support-surface: #172638;
    --hs-color-completion-success-border: #245b4e;
    --hs-color-completion-step-surface: #25354c;
    --hs-color-completion-border: #314b64;
    --hs-color-completion-border-secondary: #32465f;
    --hs-color-completion-link: #5eb6ff;
    --hs-color-completion-success-text: #65ceac;
    --hs-color-completion-link-soft: #70b8ff;
    --hs-color-completion-focus: #83beff;
    --hs-color-completion-context-text: #9bb6d5;
    --hs-color-completion-muted: #afc5e1;
    --hs-color-completion-text: #f5f7fc;
    --hs-color-completion-warning: #ffbf46;
    --hs-color-completion-warning-bright: #ffc34b;
    --hs-color-plan-checkout-bg: #101419;
    --hs-color-plan-checkout-muted: #4b5563;
    --hs-color-plan-checkout-accent: #f5ce4f;
    --hs-color-mandate-handoff-link: #006cfe;
}

/* Shared agreement and schedule presentation colors. */
:root {
    --hs-color-client-hub-agreement-view-border-1: #414b55;
    --hs-color-client-hub-agreement-view-background-2: #222629;
    --hs-color-client-hub-agreement-view-color-3: #f5f6f7;
    --hs-color-client-hub-agreement-view-color-4: #b6bec9;
    --hs-color-client-hub-agreement-view-border-bottom-5: #46515a;
    --hs-color-client-hub-agreement-view-border-6: #56c37c;
    --hs-color-client-hub-agreement-view-background-7: #173b29;
    --hs-color-client-hub-agreement-view-color-8: #70de97;
    --hs-color-client-hub-agreement-view-border-left-9: #66727d;
    --hs-color-client-hub-agreement-view-color-10: #cbd3df;
    --hs-color-client-hub-agreement-view-background-11: #bdcde0;
    --hs-color-client-hub-agreement-view-color-12: #101820;
    --hs-color-client-hub-agreement-view-background-13: #8abfff;
    --hs-color-client-hub-agreement-view-color-14: #c7d0dc;
    --hs-color-client-hub-agreement-view-outline-15: #9ccaff;
    --hs-color-continuity-command-center-border-bottom-1: #3b454d;
    --hs-color-continuity-command-center-background-2: #22292f;
    --hs-color-continuity-command-center-color-3: #d5e0eb;
    --hs-color-service-agreement-workspace-color-1: #f5f6f8;
    --hs-color-service-agreement-workspace-border-2: #3d454f;
    --hs-color-service-agreement-workspace-background-3: #242a30;
    --hs-color-service-agreement-workspace-border-color-4: #274b39;
    --hs-color-service-agreement-workspace-background-5: #182b22;
    --hs-color-service-agreement-workspace-background-6: #203c2b;
    --hs-color-service-agreement-workspace-background-7: #9beb9f;
    --hs-color-service-agreement-workspace-color-8: #173f2a;
    --hs-color-service-agreement-workspace-color-9: #9bebaa;
    --hs-color-service-agreement-workspace-color-10: #afbbcc;
    --hs-color-service-agreement-workspace-border-left-11: #42504b;
    --hs-color-service-agreement-workspace-color-12: #d9e2ed;
    --hs-color-service-agreement-workspace-border-13: #393e47;
    --hs-color-service-agreement-workspace-background-14: #282b2f;
    --hs-color-service-agreement-workspace-color-15: #b4bdcb;
    --hs-color-service-agreement-workspace-color-16: #b9c5d5;
    --hs-color-service-agreement-workspace-outline-17: #9dcaff;
    --hs-color-service-agreement-workspace-border-18: #78b5fc;
    --hs-color-service-agreement-workspace-color-19: #071729;
    --hs-color-service-agreement-workspace-background-20: #81b9fc;
    --hs-color-service-agreement-workspace-border-top-21: #444a52;
    --hs-color-service-agreement-workspace-color-22: #bec9d7;
    --hs-color-service-agreement-workspace-color-23: #b8c3d3;
    --hs-color-service-agreement-workspace-color-24: #bdc8d8;
    --hs-color-service-agreement-workspace-color-25: #c5cfda;
    --hs-color-service-agreement-workspace-color-26: #b9d8ff;
    --hs-color-service-agreement-workspace-border-27: #546173;
    --hs-color-command-center-layout-border-bottom-1: #293e54;
    --hs-color-command-center-layout-background-2: #132335;
    --hs-color-command-center-layout-background-3: #101e2e;
    --hs-color-command-center-layout-color-4: #c9d9ed;
    --hs-color-command-center-layout-background-5: #506b90;
    --hs-color-command-center-layout-background-6: #334b69;
    --hs-color-command-center-layout-color-7: #e8f0fc;
    --hs-color-command-center-layout-background-8: #3a4a60;
    --hs-color-hive-sync-brand-surface-background-1: #fff;
    --hs-color-hive-sync-brand-surface-background-2: #000;
    --hs-color-hive-sync-brand-surface---hs-color-workspace-bg-3: #171e24;
    --hs-color-hive-sync-brand-surface---hs-color-surface-panel-4: #1e252d;
    --hs-color-hive-sync-brand-surface---hs-color-blueprint-5: #55bfff;
    --hs-color-hive-sync-brand-surface---hs-color-text-neutral-6: #b7c2d3;
    --hs-color-hive-sync-brand-surface---hs-color-border-7: #344451;
    --hs-color-hive-sync-brand-surface---hs-color-wrap-8: #ffbf32;
    --hs-color-hive-sync-brand-surface---hs-color-wrap-surface-9: #29281f;
    --hs-color-hive-sync-brand-surface---hs-color-execute-surface-10: #0b382d;
    --hs-color-hive-sync-shell---hs-color-bg-1: #171e23;
    --hs-color-hive-sync-shell---hs-color-surface-deep-2: #1c232a;
    --hs-color-hive-sync-shell---hs-color-border-strong-3: #40505c;
    --hs-color-hive-sync-shell---hs-color-text-4: #f5f7fa;
    --hs-color-hive-sync-shell---hs-color-text-neutral-5: #bed0e1;
    --hs-color-hive-sync-shell---hs-color-text-neutral-strong-6: #dce8f4;
    --hs-color-hive-sync-shell---hs-color-text-subtle-7: #a9bfd3;
    --hs-color-hive-sync-shell---hs-color-blueprint-8: #0b9df5;
    --hs-color-hive-sync-shell---hs-color-wrap-9: #ffc037;
    --hs-color-hive-sync-shell---hs-color-execute-10: #24964d;
    --hs-color-hive-sync-shell---hs-color-execute-text-soft-11: #72e995;
    --hs-color-hive-sync-shell-background-12: #010407;
    --hs-color-hive-sync-shell-background-13: #0b141c;
    --hs-color-hive-sync-shell-border-right-14: #293948;
    --hs-color-hive-sync-shell-color-15: #bed0e6;
    --hs-color-hive-sync-shell-background-16: #142b46;
    --hs-color-hive-sync-shell-color-17: #89bfff;
    --hs-color-hive-sync-shell-border-left-18: #3b82ff;
    --hs-color-hive-sync-shell-background-19: #0c151d;
    --hs-color-hive-sync-shell-background-20: #0d161f;
    --hs-color-hive-sync-shell-background-21: #0d151d;
    --hs-color-hive-sync-shell-background-22: #192b46;
    --hs-color-hive-sync-shell-background-23: #0e2545;
    --hs-color-hive-sync-shell-color-24: #9dccff;
    --hs-color-hive-sync-shell-background-25: #101e2c;
    --hs-color-hive-sync-shell-border-bottom-26: #333a41;
    --hs-color-hive-sync-shell-color-27: #93ceff;
    --hs-color-service-agreement-shell-color-1: #bcc7d8;
}
