/*
Red Sector

Industrial red/black technical-grid interface.
The theme changes presentation only; it does not invent installation data.
*/

@font-face {
    font-family: "Red Sector Display";
    src: url("../../fonts/red-sector/Teko-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Red Sector Display";
    src: url("../../fonts/red-sector/Teko-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
}

@font-face {
    font-family: "Red Sector Interface";
    src: url("../../fonts/red-sector/Rajdhani-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
}

@font-face {
    font-family: "Red Sector Interface";
    src: url("../../fonts/red-sector/Rajdhani-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
}

html[data-design-theme="red-sector"] {
    color-scheme: dark;

    --bg: #090506;
    --surface: #160708;
    --surface-soft: #1d090a;
    --surface-subtle: #230a0c;
    --surface-strong: #2c0a0d;
    --topbar: #0d0506;

    --ink: #efe7d6;
    --ink-soft: #d2c8b8;
    --muted: #947e79;

    --line: #8b141b;
    --line-strong: #ed1b27;

    --primary: #e31824;
    --primary-hover: #f12a34;
    --primary-soft: #3a090d;
    --on-primary: #fff2df;

    --accent: #e31824;
    --accent-hover: #f12a34;
    --accent-soft: #3a090d;

    --danger: #ff3842;
    --warning: #e6b85c;
    --success: #d9dfcf;

    --red-sector-black: #090506;
    --red-sector-panel: #160708;
    --red-sector-panel-strong: #23090b;
    --red-sector-red: #e31824;
    --red-sector-red-soft: #8b141b;
    --red-sector-ivory: #efe7d6;
    --red-sector-muted: #947e79;

    --radius: 0;
    --shadow: none;

    --font-display:
        "Red Sector Display",
        "Teko",
        "Bahnschrift Condensed",
        "Arial Narrow",
        sans-serif;

    --font-numeric:
        "Red Sector Display",
        "Teko",
        "Bahnschrift Condensed",
        "Arial Narrow",
        sans-serif;

    --font-sans:
        "Red Sector Interface",
        "Rajdhani",
        "Bahnschrift",
        Arial,
        sans-serif;
}

html[data-design-theme="red-sector"][data-theme="light"],
html[data-design-theme="red-sector"][data-theme="dark"] {
    color-scheme: dark;

    --bg: #090506;
    --surface: #160708;
    --surface-soft: #1d090a;
    --surface-subtle: #230a0c;
    --surface-strong: #2c0a0d;
    --topbar: #0d0506;

    --ink: #efe7d6;
    --ink-soft: #d2c8b8;
    --muted: #947e79;

    --line: #8b141b;
    --line-strong: #ed1b27;

    --primary: #e31824;
    --primary-hover: #f12a34;
    --primary-soft: #3a090d;
    --on-primary: #fff2df;

    --accent: #e31824;
    --accent-hover: #f12a34;
    --accent-soft: #3a090d;
}

/* Canvas */

html[data-design-theme="red-sector"] body,
html[data-design-theme="red-sector"] .app-shell,
html[data-design-theme="red-sector"] .main-column,
html[data-design-theme="red-sector"] .main-content {
    color: var(--red-sector-ivory);
    background: var(--red-sector-black);
}

html[data-design-theme="red-sector"] body {
    background-image:
        repeating-linear-gradient(
            0deg,
            rgb(255 255 255 / 1.5%) 0,
            rgb(255 255 255 / 1.5%) 1px,
            transparent 1px,
            transparent 4px
        );
}

html[data-design-theme="red-sector"] .main-content {
    padding: 14px 20px 24px;
}

/* Sidebar */

html[data-design-theme="red-sector"] .sidebar {
    color: var(--red-sector-ivory);
    background:
        repeating-linear-gradient(
            0deg,
            rgb(255 255 255 / 1.2%) 0,
            rgb(255 255 255 / 1.2%) 1px,
            transparent 1px,
            transparent 4px
        ),
        #0b0607;
    border-inline-end: 1px solid var(--red-sector-red);
    box-shadow: none;
}

html[data-design-theme="red-sector"] .brand {
    border-bottom: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"] .brand-mark {
    color: var(--red-sector-red);
    background: transparent;
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    font-family: var(--font-display);
    font-weight: 700;
}

html[data-design-theme="red-sector"] .brand-lockup strong {
    color: var(--red-sector-red);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"] .brand-lockup small,
html[data-design-theme="red-sector"] .nav-label {
    color: var(--red-sector-muted);
    font-family: var(--font-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"] .nav-link {
    color: #cfc4b5;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"] .nav-link:hover {
    color: var(--red-sector-ivory);
    background: var(--red-sector-panel-strong);
    border-color: var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"] .nav-link.is-active {
    color: var(--red-sector-ivory);
    background: var(--red-sector-red);
    border-color: var(--red-sector-red);
}

html[data-design-theme="red-sector"] .nav-link.is-active svg {
    color: var(--red-sector-ivory);
}

html[data-design-theme="red-sector"] .sidebar-footer {
    color: var(--red-sector-muted);
    border-top-color: var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"] .environment-dot {
    width: 7px;
    height: 7px;
    background: var(--red-sector-red);
    border-radius: 0;
    box-shadow: none;
}

/* Top bar */

html[data-design-theme="red-sector"] .topbar {
    min-height: 52px;
    color: var(--red-sector-ivory);
    background:
        repeating-linear-gradient(
            0deg,
            rgb(255 255 255 / 1.2%) 0,
            rgb(255 255 255 / 1.2%) 1px,
            transparent 1px,
            transparent 4px
        ),
        #0d0607;
    border-bottom: 1px solid var(--red-sector-red);
    box-shadow: none;
}

html[data-design-theme="red-sector"] .global-search {
    color: var(--red-sector-ivory);
    background: #0b0607;
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    box-shadow: none;
}

html[data-design-theme="red-sector"] .global-search:focus-within {
    border-color: #ff3942;
    box-shadow: inset 0 0 0 1px #ff3942;
}

html[data-design-theme="red-sector"] .global-search input {
    color: var(--red-sector-ivory);
    background: transparent;
    font-family: var(--font-display);
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .global-search input::placeholder {
    color: #86706c;
}

html[data-design-theme="red-sector"] .global-search kbd {
    color: var(--red-sector-red);
    background: transparent;
    border-color: var(--red-sector-red-soft);
    border-radius: 0;
}

html[data-design-theme="red-sector"] .profile-menu-trigger {
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"] .profile-avatar {
    color: var(--red-sector-ivory);
    background: var(--red-sector-red);
    border: 0;
    border-radius: 0;
}

html[data-design-theme="red-sector"] .profile-menu {
    color: var(--red-sector-ivory);
    background: #150708;
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    box-shadow: 8px 8px 0 rgb(0 0 0 / 30%);
}

/* Buttons */

html[data-design-theme="red-sector"] .button {
    min-height: 40px;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"] .button--primary {
    color: var(--red-sector-ivory);
    background: var(--red-sector-red);
    border: 1px solid var(--red-sector-red);
}

html[data-design-theme="red-sector"] .button--primary:hover {
    color: #ffffff;
    background: #f0242f;
    border-color: #f0242f;
    box-shadow: none;
}

html[data-design-theme="red-sector"] .button--secondary {
    color: var(--red-sector-ivory);
    background: transparent;
    border: 1px solid var(--red-sector-red);
}

html[data-design-theme="red-sector"] .button--secondary:hover {
    color: var(--red-sector-ivory);
    background: var(--red-sector-panel-strong);
    border-color: #ff303a;
}

/* Inputs and forms */

html[data-design-theme="red-sector"] input,
html[data-design-theme="red-sector"] select,
html[data-design-theme="red-sector"] textarea {
    color: var(--red-sector-ivory);
    background: #0d0607;
    border: 1px solid var(--red-sector-red-soft);
    border-radius: 0;
    box-shadow: none;
}

html[data-design-theme="red-sector"] input::placeholder,
html[data-design-theme="red-sector"] textarea::placeholder {
    color: #806d68;
}

html[data-design-theme="red-sector"] input:focus,
html[data-design-theme="red-sector"] select:focus,
html[data-design-theme="red-sector"] textarea:focus {
    border-color: var(--red-sector-red);
    box-shadow: inset 0 0 0 1px var(--red-sector-red);
}

/* Project header */

html[data-design-theme="red-sector"] .project-overview {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    clip-path: none;
}

html[data-design-theme="red-sector"] .project-hero {
    position: relative;
    min-height: 104px;
    padding: 18px 0;
    border-bottom: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"] .project-hero::after {
    position: absolute;
    top: -34px;
    right: 72px;
    width: 150px;
    height: 150px;
    content: "";
    pointer-events: none;
    opacity: 0.22;
    border: 1px solid var(--red-sector-red);
    border-radius: 50%;
    background:
        linear-gradient(
            90deg,
            transparent 49.5%,
            var(--red-sector-red) 49.5%,
            var(--red-sector-red) 50.5%,
            transparent 50.5%
        ),
        linear-gradient(
            transparent 49.5%,
            var(--red-sector-red) 49.5%,
            var(--red-sector-red) 50.5%,
            transparent 50.5%
        );
    box-shadow:
        0 0 0 22px rgb(227 24 36 / 18%),
        0 0 0 44px rgb(227 24 36 / 10%);
}

html[data-design-theme="red-sector"] .project-hero h1 {
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"] .project-hero .page-summary {
    color: var(--red-sector-muted);
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"] .back-link,
html[data-design-theme="red-sector"] .eyebrow,
html[data-design-theme="red-sector"] .section-kicker {
    color: var(--red-sector-muted);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

/* Project summary */

html[data-design-theme="red-sector"] .project-finance-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 12px 0;
    padding: 0;
    overflow: hidden;
    background: var(--red-sector-panel);
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    box-shadow: none;
}

html[data-design-theme="red-sector"]
    .project-finance-band > div {
    min-height: 84px;
    padding: 18px;
    background: transparent;
    border: 0;
    border-inline-end: 1px solid var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .project-finance-band > div:last-child {
    border-inline-end: 0;
}

html[data-design-theme="red-sector"]
    .project-finance-band span {
    color: var(--red-sector-muted);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .project-finance-band strong {
    display: block;
    margin-top: 7px;
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: 29px;
    font-weight: 700;
}

html[data-design-theme="red-sector"]
    .project-finance-band small {
    color: var(--red-sector-muted);
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Project tabs */

html[data-design-theme="red-sector"] .detail-nav {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 1px solid var(--red-sector-red);
}

html[data-design-theme="red-sector"] .detail-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 8px 10px;
    color: #ac9690;
    border: 0;
    border-inline-end: 1px solid var(--red-sector-red-soft);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .detail-nav a:last-child {
    border-inline-end: 0;
}

html[data-design-theme="red-sector"] .detail-nav a:hover {
    color: var(--red-sector-ivory);
    background: var(--red-sector-panel-strong);
}

html[data-design-theme="red-sector"]
    .detail-nav a.is-active {
    color: var(--red-sector-ivory);
    background: var(--red-sector-red);
    border-bottom: 0;
}

/* Installation section */

html[data-design-theme="red-sector"] .installation-section {
    padding: 12px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

html[data-design-theme="red-sector"]
    .installation-section
    > .detail-section__heading {
    display: none;
}

html[data-design-theme="red-sector"] .installation-dashboard {
    display: grid;
    gap: 12px;
}

html[data-design-theme="red-sector"] .installation-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    background: var(--red-sector-panel);
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    box-shadow: none;
}

html[data-design-theme="red-sector"]
    .installation-summary::before {
    grid-column: 1 / -1;
    padding: 7px 12px;
    content: "INSTALLATION";
    color: var(--red-sector-red);
    border-bottom: 1px solid var(--red-sector-red);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

html[data-design-theme="red-sector"]
    .installation-summary__item {
    min-height: 84px;
    padding: 15px;
    border: 0;
    border-inline-end: 1px solid var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .installation-summary__item:last-child {
    border-inline-end: 0;
}

html[data-design-theme="red-sector"]
    .installation-summary__icon {
    display: none;
}

html[data-design-theme="red-sector"]
    .installation-summary__copy {
    gap: 8px;
}

html[data-design-theme="red-sector"]
    .installation-summary__copy small {
    color: var(--red-sector-muted);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-summary__copy strong {
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

html[data-design-theme="red-sector"] .installation-status {
    gap: 10px;
    padding: 0;
    color: var(--red-sector-ivory);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-status::before {
    width: 18px;
    height: 18px;
    content: "";
    background: var(--red-sector-red);
}

/* Installation layout */

html[data-design-theme="red-sector"]
    .installation-dashboard__layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 2.2fr);
    gap: 12px;
}

html[data-design-theme="red-sector"]
    .installation-dashboard__sidebar,
html[data-design-theme="red-sector"]
    .installation-dashboard__main {
    display: grid;
    align-content: start;
    gap: 12px;
}

html[data-design-theme="red-sector"] .installation-panel,
html[data-design-theme="red-sector"] .installation-day-card,
html[data-design-theme="red-sector"] .installation-ledger {
    color: var(--red-sector-ivory);
    background: var(--red-sector-panel);
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    box-shadow: none;
}

html[data-design-theme="red-sector"]
    .installation-panel__header,
html[data-design-theme="red-sector"]
    .installation-ledger__heading {
    min-height: 34px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .installation-day-card__header {
    min-height: 48px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .installation-panel__header h3,
html[data-design-theme="red-sector"]
    .installation-ledger__heading h4 {
    margin: 0;
    color: var(--red-sector-red);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-day-card__header h3 {
    margin: 0;
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: clamp(27px, 2.6vw, 40px);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Inline installation actions */

html[data-design-theme="red-sector"]
    .installation-action > summary {
    min-height: 28px;
    padding: 5px 10px;
    color: var(--red-sector-ivory);
    background: transparent;
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-action > summary:hover {
    color: #ffffff;
    background: var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .installation-popover-form {
    color: var(--red-sector-ivory);
    background: #120708;
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    box-shadow: 8px 8px 0 rgb(0 0 0 / 28%);
}

/* Team */

html[data-design-theme="red-sector"]
    .installation-team-list {
    gap: 0;
    padding: 8px;
}

html[data-design-theme="red-sector"]
    .installation-team-member {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 34px;
    padding: 0;
    border: 1px solid var(--red-sector-red-soft);
    border-bottom: 0;
    border-radius: 0;
}

html[data-design-theme="red-sector"]
    .installation-team-member:last-child {
    border-bottom: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"]
    .installation-team-member__icon {
    display: flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    border-inline-end: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"]
    .installation-team-member__icon svg {
    width: 14px;
    height: 14px;
}

html[data-design-theme="red-sector"]
    .installation-team-member__name {
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-role-badge,
html[data-design-theme="red-sector"]
    .installation-member-detail-button {
    color: var(--red-sector-ivory);
    background: transparent;
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* Working days */

html[data-design-theme="red-sector"]
    .installation-day-list {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 132px), 1fr)
    );
    gap: 8px;
    padding: 9px;
}

html[data-design-theme="red-sector"]
    .installation-day-link {
    display: flex;
    min-width: 0;
    min-height: 72px;
    padding: 14px 10px;
    align-items: center;
    justify-content: center;
    color: var(--red-sector-ivory);
    background:
        linear-gradient(
            180deg,
            rgb(255 28 47 / 3%),
            transparent 70%
        ),
        #0e0607;
    border: 1px solid var(--red-sector-red-soft);
    border-radius: 0;
    font-family: var(--font-numeric);
    font-size: 17px;
    font-weight: 600;
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 1;
    letter-spacing: 0.025em;
    text-align: center;
}

html[data-design-theme="red-sector"]
    .installation-day-link:hover {
    color: #ffffff;
    background: #190709;
    border-color: var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .installation-day-link.is-active {
    color: #ffffff;
    background:
        linear-gradient(
            180deg,
            rgb(255 255 255 / 6%),
            transparent 65%
        ),
        var(--red-sector-red);
    border-color: var(--red-sector-red);
    box-shadow:
        inset 0 0 18px rgb(255 255 255 / 5%),
        0 0 16px rgb(255 22 42 / 10%);
}

html[data-design-theme="red-sector"]
    .installation-day-link svg {
    display: none;
}

html[data-design-theme="red-sector"]
    .installation-day-link:hover {
    border-color: var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .installation-day-link.is-active {
    color: #ffffff;
    background: var(--red-sector-red);
    border-color: var(--red-sector-red);
    box-shadow: none;
}

/* Main working-day card */

html[data-design-theme="red-sector"]
    .installation-day-card {
    overflow: visible;
}

html[data-design-theme="red-sector"]
    .installation-day-card__header h3 {
    color: var(--red-sector-ivory);
    font-size: clamp(22px, 2.4vw, 35px);
    letter-spacing: 0.04em;
}

html[data-design-theme="red-sector"]
    .installation-work-completed {
    padding: 12px;
    border-bottom: 1px solid var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .installation-work-completed h4 {
    margin-bottom: 8px;
    color: var(--red-sector-muted);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-work-completed p {
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.025em;
}

html[data-design-theme="red-sector"]
    .installation-table-wrap {
    overflow-x: auto;
}

html[data-design-theme="red-sector"]
    .installation-table {
    color: var(--red-sector-ivory);
    background: transparent;
    border-collapse: collapse;
}

html[data-design-theme="red-sector"]
    .installation-table th,
html[data-design-theme="red-sector"]
    .installation-table td {
    padding: 9px 11px;
    border: 1px solid var(--red-sector-red-soft);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.04em;
}

html[data-design-theme="red-sector"]
    .installation-table th {
    color: var(--red-sector-muted);
    background: #100607;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-table tfoot th,
html[data-design-theme="red-sector"]
    .installation-table tfoot td {
    color: var(--red-sector-ivory);
    background: var(--red-sector-panel-strong);
    font-weight: 700;
}

/* Meals and transport */

html[data-design-theme="red-sector"]
    .installation-cost-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 12px;
}

html[data-design-theme="red-sector"]
    .installation-cost-panel {
    overflow: visible;
}

html[data-design-theme="red-sector"]
    .installation-cost-table {
    background: transparent;
    border: 0;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__header,
html[data-design-theme="red-sector"]
    .installation-cost-table__row {
    display: grid;
    border-bottom: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"]
    .installation-cost-table__header {
    color: var(--red-sector-muted);
    background: #100607;
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__row {
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.03em;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__header > *,
html[data-design-theme="red-sector"]
    .installation-cost-table__row > * {
    padding: 8px 10px;
    border-inline-end: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"]
    .installation-cost-table__header > *:last-child,
html[data-design-theme="red-sector"]
    .installation-cost-table__row > *:last-child {
    border-inline-end: 0;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__total {
    min-height: 34px;
    padding: 8px 10px;
    color: var(--red-sector-ivory);
    background: var(--red-sector-panel-strong);
    border-top: 1px solid var(--red-sector-red);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-cost-panel__action {
    display: block;
    margin: 9px;
}

html[data-design-theme="red-sector"]
    .installation-cost-panel__action > summary {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Daily total */

html[data-design-theme="red-sector"]
    .installation-day-total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, auto);
    width: 100%;
    min-height: 76px;
    height: auto;
    margin: 12px 0 0;
    padding: 0;
    align-items: stretch;
    color: var(--red-sector-ivory);
    background:
        linear-gradient(
            90deg,
            rgb(255 21 43 / 3%),
            transparent 55%
        ),
        var(--red-sector-panel);
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
}

html[data-design-theme="red-sector"]
    .installation-day-total > strong {
    display: flex;
    min-width: 0;
    min-height: 74px;
    padding: 14px 18px;
    align-items: center;
    color: var(--red-sector-ivory);
    border-inline-end: 1px solid var(--red-sector-red);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-day-total > span {
    display: flex;
    min-width: 310px;
    min-height: 74px;
    padding: 9px 18px;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-align: end;
    white-space: nowrap;
}

html[data-design-theme="red-sector"]
    .installation-day-total bdi {
    color: var(--red-sector-ivory);
    font-family: var(--font-numeric);
    font-size: clamp(46px, 4.4vw, 68px);
    font-weight: 600;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings:
        "tnum" 1,
        "lnum" 1;
    line-height: 0.82;
    letter-spacing: 0.035em;
}

html[data-design-theme="red-sector"]
    .installation-day-total small {
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Red Sector installation typography */

html[data-design-theme="red-sector"] .installation-section {
    font-family: var(--font-sans);
    font-kerning: normal;
    font-synthesis: none;
}

html[data-design-theme="red-sector"]
    :is(
        .installation-summary::before,
        .installation-panel__header h3,
        .installation-day-card__header h3,
        .installation-ledger__heading h4,
        .installation-action > summary,
        .installation-role-badge,
        .installation-member-detail-button,
        .installation-status,
        .installation-work-completed h4,
        .installation-table th,
        .installation-cost-table__header,
        .installation-cost-table__total,
        .installation-day-total > strong,
        .installation-day-total small
    ) {
    font-family: var(--font-display);
    font-weight: 600;
    font-stretch: condensed;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    :is(
        .installation-summary__copy strong,
        .installation-day-link,
        .installation-table bdi,
        .installation-cost-table bdi,
        .installation-day-total bdi
    ) {
    font-family: var(--font-numeric);
    font-weight: 600;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings:
        "tnum" 1,
        "lnum" 1;
}

html[data-design-theme="red-sector"]
    :is(
        .installation-team-member__name,
        .installation-work-completed p,
        .installation-table td,
        .installation-cost-table__row
    ) {
    font-family: var(--font-sans);
    font-weight: 500;
}

html[data-design-theme="red-sector"]
    :is(
        .installation-summary::before,
        .installation-panel__header h3,
        .installation-ledger__heading h4
    ) {
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.16em;
}

html[data-design-theme="red-sector"]
    .installation-summary__copy small {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-summary__copy strong {
    font-size: clamp(25px, 2vw, 32px);
    line-height: 0.9;
    letter-spacing: 0.035em;
}

html[data-design-theme="red-sector"]
    .installation-status {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-day-card__header h3 {
    font-size: clamp(27px, 2.6vw, 40px);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: 0.025em;
}

html[data-design-theme="red-sector"]
    .installation-day-link {
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0.025em;
}

html[data-design-theme="red-sector"]
    .installation-team-member__name {
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.055em;
}

html[data-design-theme="red-sector"]
    :is(
        .installation-role-badge,
        .installation-member-detail-button,
        .installation-action > summary
    ) {
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.09em;
}

html[data-design-theme="red-sector"]
    .installation-work-completed p {
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

html[data-design-theme="red-sector"]
    .installation-table th,
html[data-design-theme="red-sector"]
    .installation-cost-table__header {
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.1em;
}

html[data-design-theme="red-sector"]
    .installation-table td,
html[data-design-theme="red-sector"]
    .installation-cost-table__row {
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: 0.015em;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__total {
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.075em;
}

html[data-design-theme="red-sector"]
    .installation-day-total > strong {
    font-size: 21px;
    line-height: 1;
    letter-spacing: 0.2em;
}

html[data-design-theme="red-sector"]
    .installation-day-total bdi {
    font-size: clamp(46px, 4.4vw, 68px);
    font-weight: 600;
    line-height: 0.82;
    letter-spacing: 0.035em;
}

html[data-design-theme="red-sector"]
    .installation-day-total small {
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.15em;
}

/* Empty content */

html[data-design-theme="red-sector"]
    .installation-empty-copy {
    color: var(--red-sector-muted);
    font-family: var(--font-display);
    letter-spacing: 0.04em;
}

html[data-design-theme="red-sector"]
    .installation-no-day {
    padding: 38px;
}

/* Responsive behavior */

@media (max-width: 1180px) {
    html[data-design-theme="red-sector"] .detail-nav {
        display: flex;
        overflow-x: auto;
    }

    html[data-design-theme="red-sector"] .detail-nav a {
        flex: 0 0 150px;
    }

    html[data-design-theme="red-sector"]
        .installation-dashboard__layout {
        grid-template-columns: 1fr;
    }

    html[data-design-theme="red-sector"]
        .installation-dashboard__sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    html[data-design-theme="red-sector"] .main-content {
        padding-inline: 12px;
    }

    html[data-design-theme="red-sector"]
        .project-finance-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html[data-design-theme="red-sector"]
        .project-finance-band > div:nth-child(2) {
        border-inline-end: 0;
    }

    html[data-design-theme="red-sector"]
        .project-finance-band > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--red-sector-red);
    }

    html[data-design-theme="red-sector"]
        .installation-summary {
        grid-template-columns: 1fr;
    }

    html[data-design-theme="red-sector"]
        .installation-summary__item {
        border-inline-end: 0;
        border-bottom: 1px solid var(--red-sector-red);
    }

    html[data-design-theme="red-sector"]
        .installation-summary__item:last-child {
        border-bottom: 0;
    }

    html[data-design-theme="red-sector"]
        .installation-dashboard__sidebar {
        grid-template-columns: 1fr;
    }

    html[data-design-theme="red-sector"]
        .installation-cost-grid {
        grid-template-columns: 1fr;
    }

    html[data-design-theme="red-sector"]
        .installation-day-total {
        grid-template-columns: 1fr;
    }

    html[data-design-theme="red-sector"]
        .installation-day-total > strong {
        min-height: 52px;
        border-inline-end: 0;
        border-bottom: 1px solid var(--red-sector-red);
    }

    html[data-design-theme="red-sector"]
        .installation-day-total > span {
        min-width: 0;
        min-height: 68px;
        justify-content: flex-start;
        text-align: start;
    }

    html[data-design-theme="red-sector"]
        .installation-day-total bdi {
        font-size: clamp(40px, 12vw, 56px);
    }
}

/* ==========================================================
   Red Sector installation reference layout
   ========================================================== */

html[data-design-theme="red-sector"]
    .installation-dashboard__layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.92fr)
        minmax(320px, 1.02fr)
        minmax(440px, 1.42fr);
    grid-template-areas:
        "team days main"
        "attendance meals transport"
        "total total total";
    gap: 10px;
    align-items: stretch;
}

html[data-design-theme="red-sector"]
    .installation-dashboard__sidebar,
html[data-design-theme="red-sector"]
    .installation-dashboard__main,
html[data-design-theme="red-sector"]
    .installation-day-card,
html[data-design-theme="red-sector"]
    .installation-cost-grid {
    display: contents;
}

html[data-design-theme="red-sector"]
    .installation-team-panel {
    grid-area: team;
}

html[data-design-theme="red-sector"]
    .installation-days-panel {
    grid-area: days;
}

html[data-design-theme="red-sector"]
    .installation-main-day {
    grid-area: main;
}

html[data-design-theme="red-sector"]
    .installation-attendance-panel {
    grid-area: attendance;
}

html[data-design-theme="red-sector"]
    .installation-cost-grid
    > .installation-cost-panel:first-child {
    grid-area: meals;
}

html[data-design-theme="red-sector"]
    .installation-cost-grid
    > .installation-cost-panel:last-child {
    grid-area: transport;
}

html[data-design-theme="red-sector"]
    .installation-day-total {
    grid-area: total;
}

/* Shared module shell */

html[data-design-theme="red-sector"]
    :is(
        .installation-team-panel,
        .installation-days-panel,
        .installation-main-day,
        .installation-attendance-panel,
        .installation-cost-panel
    ) {
    min-width: 0;
    margin: 0;
    overflow: visible;
    color: var(--red-sector-ivory);
    background:
        linear-gradient(
            135deg,
            rgb(239 18 38 / 2%),
            transparent 54%
        ),
        var(--red-sector-panel);
    border: 1px solid var(--red-sector-red);
    border-radius: 0;
    box-shadow: none;
}

/* Exact thin module headers */

html[data-design-theme="red-sector"]
    :is(
        .installation-team-panel,
        .installation-days-panel,
        .installation-attendance-panel,
        .installation-cost-panel
    )
    > :is(
        .installation-panel__header,
        .installation-ledger__heading
    ) {
    display: flex;
    min-height: 35px;
    padding: 5px 10px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    :is(
        .installation-team-panel,
        .installation-days-panel,
        .installation-attendance-panel,
        .installation-cost-panel
    )
    > :is(
        .installation-panel__header,
        .installation-ledger__heading
    )
    :is(h3, h4) {
    margin: 0;
    color: var(--red-sector-red);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

/* Main Day module */

html[data-design-theme="red-sector"]
    .installation-main-day {
    min-height: 128px;
}

html[data-design-theme="red-sector"]
    .installation-main-day
    .installation-day-card__header {
    display: block;
    min-height: 0;
    padding: 0;
    border-bottom: 0;
}

html[data-design-theme="red-sector"]
    .installation-module-label {
    display: block;
    min-height: 35px;
    padding: 9px 10px 6px;
    color: var(--red-sector-red);
    border-bottom: 1px solid var(--red-sector-red);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-main-day__title-row {
    display: flex;
    min-height: 48px;
    padding: 7px 10px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"]
    .installation-main-day__title-row h3 {
    min-width: 0;
    margin: 0;
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: clamp(27px, 2.35vw, 39px);
    font-weight: 600;
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-main-day
    .installation-work-completed {
    min-height: 58px;
    padding: 9px 10px;
    border: 0;
}

html[data-design-theme="red-sector"]
    .installation-main-day
    .installation-work-completed h4 {
    margin: 0 0 6px;
    color: var(--red-sector-muted);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-main-day
    .installation-work-completed p {
    margin: 0;
    color: var(--red-sector-ivory);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

/* Team module */

html[data-design-theme="red-sector"]
    .installation-team-list {
    display: grid;
    gap: 0;
    padding: 8px;
}

html[data-design-theme="red-sector"]
    .installation-team-member {
    display: grid;
    grid-template-columns:
        32px
        minmax(0, 1fr)
        auto;
    gap: 6px;
    min-height: 34px;
    padding: 0;
    align-items: center;
    background: transparent;
    border: 1px solid var(--red-sector-red-soft);
    border-bottom: 0;
    border-radius: 0;
}

html[data-design-theme="red-sector"]
    .installation-team-member:last-child {
    border-bottom: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"]
    .installation-team-member__icon {
    display: flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    border-inline-end: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"]
    .installation-team-member__icon svg {
    width: 13px;
    height: 13px;
}

html[data-design-theme="red-sector"]
    .installation-team-member__name {
    overflow: hidden;
    color: var(--red-sector-ivory);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

html[data-design-theme="red-sector"]
    .installation-team-member__name--link {
    color: var(--red-sector-ivory);
    text-decoration-color: var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .installation-team-member__name--link:hover,
html[data-design-theme="red-sector"]
    .installation-team-member__name--link:focus-visible {
    color: #ffffff;
    text-decoration-line: underline;
    text-decoration-color: var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    :is(
        .installation-role-badge,
        .installation-member-detail-button
    ) {
    min-height: 21px;
    padding: 3px 6px;
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* Working Days module */

html[data-design-theme="red-sector"]
    .installation-day-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 9px;
}

html[data-design-theme="red-sector"]
    .installation-day-link {
    display: flex;
    min-width: 0;
    min-height: 68px;
    padding: 12px 7px;
    align-items: center;
    justify-content: center;
    color: var(--red-sector-ivory);
    background: #0e0607;
    border: 1px solid var(--red-sector-red-soft);
    border-radius: 0;
    font-family: var(--font-numeric);
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 1;
    letter-spacing: 0.02em;
    text-align: center;
}

html[data-design-theme="red-sector"]
    .installation-day-link.is-active {
    color: #ffffff;
    background:
        linear-gradient(
            180deg,
            rgb(255 255 255 / 7%),
            transparent 68%
        ),
        var(--red-sector-red);
    border-color: var(--red-sector-red);
}

html[data-design-theme="red-sector"]
    .installation-action--day {
    display: block;
    margin: 0 9px 9px;
}

html[data-design-theme="red-sector"]
    .installation-action--day > summary {
    width: max-content;
    margin-inline-start: auto;
}

/* Attendance module */

html[data-design-theme="red-sector"]
    .installation-attendance-list {
    display: grid;
    gap: 0;
    padding: 8px;
}

html[data-design-theme="red-sector"]
    .installation-attendance-row {
    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr)
        minmax(94px, auto);
    min-height: 42px;
    align-items: center;
    border: 1px solid var(--red-sector-red-soft);
    border-bottom: 0;
}

html[data-design-theme="red-sector"]
    .installation-attendance-row:last-child {
    border-bottom: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"]
    .installation-attendance-row__icon {
    display: flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    border-inline-end: 1px solid var(--red-sector-red-soft);
}

html[data-design-theme="red-sector"]
    .installation-attendance-row__icon svg {
    width: 14px;
    height: 14px;
}

html[data-design-theme="red-sector"]
    .installation-attendance-row__name {
    min-width: 0;
    padding: 7px 9px;
    overflow: hidden;
    color: var(--red-sector-ivory);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.05em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

html[data-design-theme="red-sector"]
    .installation-attendance-row__status {
    display: flex;
    align-self: stretch;
    padding: 7px 9px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--red-sector-ivory);
    border-inline-start: 1px solid var(--red-sector-red-soft);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-attendance-row__indicator {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    background: var(--red-sector-red);
}

/* Meals and Transport modules */

html[data-design-theme="red-sector"]
    .installation-cost-panel {
    display: flex;
    min-height: 185px;
    flex-direction: column;
}

html[data-design-theme="red-sector"]
    .installation-cost-table {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__body {
    flex: 1;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__header,
html[data-design-theme="red-sector"]
    .installation-cost-table__row {
    min-height: 30px;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__header > *,
html[data-design-theme="red-sector"]
    .installation-cost-table__row > * {
    display: flex;
    min-width: 0;
    padding: 7px 9px;
    align-items: center;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__row strong {
    overflow-wrap: anywhere;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__row bdi:last-child {
    justify-content: flex-end;
    font-family: var(--font-numeric);
    font-variant-numeric: tabular-nums lining-nums;
    font-weight: 600;
    text-align: end;
}

html[data-design-theme="red-sector"]
    .installation-cost-table__total {
    margin-top: auto;
}

html[data-design-theme="red-sector"]
    .installation-cost-panel__action {
    display: block;
    margin: 8px;
}

html[data-design-theme="red-sector"]
    .installation-cost-panel__action > summary {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Full-width Daily Total */

html[data-design-theme="red-sector"]
    .installation-day-total {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(350px, auto);
    min-height: 76px;
    height: auto;
    margin: 0;
    align-items: stretch;
    background:
        linear-gradient(
            90deg,
            rgb(239 18 38 / 4%),
            transparent 56%
        ),
        var(--red-sector-panel);
}

html[data-design-theme="red-sector"]
    .installation-day-total > strong {
    display: flex;
    min-width: 0;
    min-height: 74px;
    padding: 14px 18px;
    align-items: center;
    border-inline-end: 1px solid var(--red-sector-red);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

html[data-design-theme="red-sector"]
    .installation-day-total > span {
    display: flex;
    min-width: 350px;
    min-height: 74px;
    padding: 9px 18px;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
    white-space: nowrap;
}

html[data-design-theme="red-sector"]
    .installation-day-total bdi {
    color: var(--red-sector-ivory);
    font-family: var(--font-numeric);
    font-size: clamp(46px, 4vw, 66px);
    font-weight: 600;
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 0.82;
    letter-spacing: 0.035em;
}

html[data-design-theme="red-sector"]
    .installation-day-total small {
    color: var(--red-sector-ivory);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Red Sector installation responsiveness */

@media (max-width: 1260px) {
    html[data-design-theme="red-sector"]
        .installation-dashboard__layout {
        grid-template-columns:
            minmax(240px, 0.9fr)
            minmax(280px, 1fr)
            minmax(360px, 1.25fr);
    }
}

@media (max-width: 1040px) {
    html[data-design-theme="red-sector"]
        .installation-dashboard__layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "team days"
            "main main"
            "attendance attendance"
            "meals transport"
            "total total";
    }
}

@media (max-width: 760px) {
    html[data-design-theme="red-sector"]
        .installation-dashboard__layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "team"
            "days"
            "main"
            "attendance"
            "meals"
            "transport"
            "total";
    }

    html[data-design-theme="red-sector"]
        .installation-day-list {
        grid-template-columns: repeat(
            auto-fit,
            minmax(118px, 1fr)
        );
    }

    html[data-design-theme="red-sector"]
        .installation-day-total {
        grid-template-columns: minmax(0, 1fr);
    }

    html[data-design-theme="red-sector"]
        .installation-day-total > strong {
        min-height: 52px;
        border-inline-end: 0;
        border-bottom: 1px solid var(--red-sector-red);
    }

    html[data-design-theme="red-sector"]
        .installation-day-total > span {
        min-width: 0;
        min-height: 68px;
        justify-content: flex-start;
    }

    html[data-design-theme="red-sector"]
        .installation-day-total bdi {
        font-size: clamp(40px, 12vw, 56px);
    }
}