﻿:root {
    --bg: #0b1220;
    --bg-alt: #111b31;
    --panel: rgba(18, 29, 49, 0.78);
    --panel-strong: rgba(24, 38, 63, 0.95);
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f5efe3;
    --muted: #b8c2d6;
    --accent: #ff8d6b;
    --accent-strong: #ff6a45;
    --accent-soft: rgba(255, 141, 107, 0.18);
    --teal: #74d7c4;
    --teal-soft: rgba(116, 215, 196, 0.18);
    --gold: #ffd289;
    --shadow: 0 24px 70px rgba(3, 7, 18, 0.34);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --content-width: min(1160px, calc(100vw - 32px));
    --font-display: "Sora", "Trebuchet MS", sans-serif;
    --font-body: "Instrument Sans", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top left, rgba(255, 141, 107, 0.18), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(116, 215, 196, 0.18), transparent 30%),
        linear-gradient(160deg, #09111d 0%, #0c1525 45%, #13203a 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    width: var(--content-width);
    margin: 0 auto;
    padding: 24px 0 48px;
    position: relative;
    z-index: 1;
}

body.access-modal-open {
    overflow: hidden;
}

body.access-pending .page-shell,
body.access-locked .page-shell {
    filter: blur(18px) saturate(0.78);
    transform: scale(0.995);
    pointer-events: none;
    user-select: none;
}

body.copy-locked .page-shell,
body.copy-locked .page-shell * {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body.copy-locked .page-shell img,
body.copy-locked .page-shell canvas,
body.copy-locked .page-shell svg {
    -webkit-user-drag: none;
    user-drag: none;
}

.access-gate {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.access-gate[hidden] {
    display: none;
}

.access-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 23, 0.72);
    backdrop-filter: blur(8px);
}

.access-gate__panel {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 32px));
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(151, 162, 177, 0.22);
    background:
        linear-gradient(135deg, rgba(23, 175, 230, 0.1), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 252, 0.97));
    box-shadow: 0 32px 80px rgba(3, 7, 18, 0.34);
    color: #18283d;
}

.access-gate__eyebrow {
    margin: 0 0 10px;
    color: #148fdd;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.access-gate__title {
    margin: 0;
    color: #10233a;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.05;
}

.access-gate__copy,
.access-gate__hint,
.access-gate__status {
    color: #5d7088;
}

.access-gate__copy {
    margin: 14px 0 0;
    font-size: 1rem;
    line-height: 1.65;
}

.access-gate__form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.access-gate__label {
    color: #10233a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.access-gate__input {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(23, 175, 230, 0.24);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #10233a;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.access-gate__input:focus {
    outline: none;
    border-color: rgba(20, 143, 221, 0.58);
    box-shadow:
        0 0 0 4px rgba(20, 143, 221, 0.14),
        inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.access-gate__button {
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #17afe6, #148fdd);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(23, 175, 230, 0.22);
}

.access-gate__button:disabled,
.access-gate.is-busy .access-gate__button {
    opacity: 0.72;
    cursor: progress;
}

.access-gate__status {
    min-height: 24px;
    margin: 16px 0 0;
    font-size: 0.96rem;
    font-weight: 700;
}

.access-gate__status[data-state="error"] {
    color: #d94b4b;
}

.access-gate__status[data-state="success"] {
    color: #11845d;
}

.access-gate__hint {
    margin: 12px 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(20px);
    background: rgba(10, 16, 28, 0.76);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(145deg, var(--accent), var(--accent-strong)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent);
    color: #1a0b07;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 18px 28px rgba(255, 106, 69, 0.3);
}

.brand-copy {
    min-width: 0;
}

.brand-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    max-width: 620px;
    font-size: 0.88rem;
    line-height: 1.35;
}

.brand-mark-photo {
    padding: 0;
    background: rgba(255, 255, 255, 0.92);
}

.brand-avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 12%;
    transform: scale(1.22);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--muted);
    font-size: 0.95rem;
    transition: 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    outline: none;
}

.nav-link.is-active {
    color: #120903;
    border-color: transparent;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    box-shadow: 0 14px 26px rgba(255, 141, 107, 0.2);
}

.page-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 24px;
    padding: 34px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(116, 215, 196, 0.2), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255, 141, 107, 0.22), transparent 36%),
        linear-gradient(145deg, rgba(14, 22, 38, 0.98), rgba(17, 27, 49, 0.95));
    box-shadow: var(--shadow);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: calc(var(--radius-xl) - 10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(116, 215, 196, 0.12);
}

.hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-title .accent-text {
    display: inline-block;
    color: transparent;
    background: linear-gradient(90deg, var(--gold), #fff3dd 42%, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-lead {
    max-width: 42rem;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button-primary {
    color: #190902;
    border-color: transparent;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    box-shadow: 0 18px 28px rgba(255, 141, 107, 0.18);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.hero-side {
    display: grid;
    align-content: start;
    gap: 16px;
}

.glass-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel);
    backdrop-filter: blur(18px);
}

.glass-card h2,
.glass-card h3,
.section-heading h2,
.section-heading h3 {
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: -0.04em;
}

.glass-card p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.hero-side .stat-value {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.08em;
}

.hero-side .stat-label {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.95rem;
}

.badge-row,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.92rem;
}

.pill strong {
    color: var(--gold);
}

.section {
    margin-top: 24px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(14, 22, 38, 0.84), rgba(14, 22, 38, 0.68));
    box-shadow: var(--shadow);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 22px;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
    max-width: 42rem;
}

.section-kicker {
    margin: 0;
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 18px;
}

.stack {
    display: grid;
    gap: 18px;
}

.card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card,
.story-card,
.feedback-card,
.contact-card,
.model-card,
.proof-card,
.style-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
        linear-gradient(180deg, rgba(18, 29, 49, 0.82), rgba(14, 22, 38, 0.92));
}

.metric-card::before,
.story-card::before,
.feedback-card::before,
.contact-card::before,
.model-card::before,
.proof-card::before,
.style-card::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 141, 107, 0.12), transparent 70%);
}

.metric-card .metric-value {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.08em;
}

.metric-card h3,
.story-card h3,
.feedback-card h3,
.contact-card h3,
.model-card h3,
.proof-card h3,
.style-card h3 {
    margin-top: 14px;
    font-size: 1.14rem;
}

.card-note,
.card-copy {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.62;
}

.text-block {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--panel);
}

.text-block p {
    margin: 0;
    color: var(--muted);
    line-height: 1.82;
    font-size: 1.03rem;
}

.text-block p + p {
    margin-top: 16px;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-item {
    display: flex;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}

.check-item::before {
    content: "01";
    flex: 0 0 auto;
    min-width: 2.2rem;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
}

.check-item[data-step="2"]::before {
    content: "02";
}

.check-item[data-step="3"]::before {
    content: "03";
}

.check-item[data-step="4"]::before {
    content: "04";
}

.check-item[data-step="5"]::before {
    content: "05";
}

.check-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.check-copy {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.image-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.proof-media-shell {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.proof-media-shell-pdf {
    background: #14161b;
}

.image-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.image-card .image-copy {
    padding: 18px;
}

.image-card h3 {
    margin: 0;
    font-size: 1rem;
}

.image-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.note-banner {
    padding: 16px 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 210, 137, 0.14);
    border-radius: var(--radius-md);
    background: rgba(255, 210, 137, 0.08);
    color: #ffe8bf;
    line-height: 1.6;
}

.timesheet-panel,
.chart-shell,
.dashboard-item,
.data-table-shell {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
}

.timesheet-panel {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.timesheet-panel-copy h3 {
    margin: 0;
    font-size: 1.2rem;
}

.timesheet-panel-copy p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.chart-shell {
    padding: 18px;
}

.chart-shell-wide {
    min-height: 320px;
}

.bar-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
    gap: 12px;
    align-items: end;
    min-height: 250px;
}

.bar-card {
    display: grid;
    gap: 10px;
    align-content: end;
}

.bar-card-value {
    margin: 0;
    color: var(--gold);
    font-size: 0.84rem;
    line-height: 1.3;
    text-align: center;
}

.bar-track {
    height: 180px;
    display: flex;
    align-items: end;
    padding: 6px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.bar-fill {
    width: 100%;
    min-height: 4px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--gold), var(--accent));
    box-shadow: 0 14px 24px rgba(255, 141, 107, 0.18);
}

.bar-card-label {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}

.dashboard-list {
    display: grid;
    gap: 14px;
}

.dashboard-item {
    overflow: hidden;
}

.dashboard-item summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}

.dashboard-item summary::-webkit-details-marker {
    display: none;
}

.dashboard-head {
    min-width: 0;
}

.dashboard-title {
    margin: 0;
    font-size: 1.14rem;
}

.dashboard-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.dashboard-body {
    display: grid;
    gap: 18px;
    padding: 0 22px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-stat-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-stat {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-stat strong {
    display: block;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}

.dashboard-stat-label,
.dashboard-stat-note {
    display: block;
}

.dashboard-stat-label {
    color: var(--muted);
    font-size: 0.85rem;
}

.dashboard-stat-note {
    margin-top: 6px;
    color: var(--gold);
    font-size: 0.84rem;
}

.dashboard-item[open] .proof-chevron,
.period-item[open] .proof-chevron {
    transform: rotate(180deg);
}

.period-list {
    display: grid;
    gap: 12px;
}

.period-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
}

.period-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

.period-item summary::-webkit-details-marker {
    display: none;
}

.period-item-day {
    background: rgba(255, 255, 255, 0.025);
}

.period-head {
    min-width: 0;
}

.period-title {
    margin: 0;
    font-size: 1rem;
}

.period-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.period-body {
    display: grid;
    gap: 14px;
    padding: 0 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nested-note {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.data-table-shell {
    overflow: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    white-space: nowrap;
}

.data-table th {
    color: var(--gold);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.data-table td {
    color: var(--muted);
    font-size: 0.94rem;
}

.transaction-description {
    min-width: 340px;
    white-space: normal;
}

.data-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.empty-state {
    margin: 0;
    padding: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    color: var(--muted);
    line-height: 1.6;
}

.proof-list {
    display: grid;
    gap: 14px;
}

.proof-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.proof-item[open] {
    background: rgba(255, 255, 255, 0.05);
}

.proof-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}

.proof-item summary::-webkit-details-marker {
    display: none;
}

.proof-head {
    min-width: 0;
}

.proof-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.proof-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 9px;
}

.proof-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-size: 0.86rem;
}

.proof-chevron {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--gold);
    font-size: 1.2rem;
    transition: transform 180ms ease;
}

.proof-item[open] .proof-chevron {
    transform: rotate(180deg);
}

.proof-body {
    padding: 0 22px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-description {
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.62;
}

.proof-viewer {
    position: relative;
    margin-top: 18px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: #09111d;
}

.proof-viewer-inline {
    margin-top: 0;
    border: 0;
    border-radius: 0;
}

.proof-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 18px;
}

.mini-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.92rem;
    font-weight: 700;
}

.mini-button:hover,
.mini-button:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.pdf-frame {
    width: 100%;
    min-height: clamp(760px, 88vh, 1180px);
    display: block;
    position: relative;
    z-index: 1;
    border: 0;
    border-radius: 0;
    background: #09111d;
}

.proof-gallery-frame {
    width: 100%;
    min-height: clamp(840px, 88vh, 1240px);
    display: block;
    position: relative;
    z-index: 1;
    border: 0;
    background: #09111d;
}

.drive-pdf-fallback {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #2f3137;
}

.drive-pdf-surface {
    position: relative;
    flex: 1;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    isolation: isolate;
    background: #2f3137;
}

.drive-pdf-preview {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain !important;
    object-position: center top;
    border-radius: 18px;
    background: #2f3137;
}

.drive-pdf-preview-vault {
    max-height: 720px;
}

.drive-pdf-placeholder {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(8, 13, 20, 0.72);
    color: #eef4ff;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.drive-pdf-placeholder p {
    margin: 12px 0 0;
    color: rgba(231, 238, 247, 0.82);
    line-height: 1.6;
}

.drive-pdf-placeholder__label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fd9ff;
    background: rgba(23, 175, 230, 0.12);
    border: 1px solid rgba(23, 175, 230, 0.24);
}

.drive-pdf-actions {
    display: flex;
    justify-content: center;
    padding: 18px 20px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    position: relative;
    z-index: 3;
}

.proof-watermark {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 14px;
    pointer-events: none;
}

.proof-watermark__item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(218, 239, 255, 0.19);
    font-family: var(--font-display);
    font-size: clamp(0.78rem, 1vw, 0.94rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    transform: rotate(-24deg);
    text-shadow: 0 1px 0 rgba(10, 22, 38, 0.22);
}

.quote-mark {
    margin: 0;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
}

.quote-text {
    margin: 12px 0 0;
    line-height: 1.8;
    color: var(--text);
}

.quote-meta {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.96rem;
}

.quote-meta strong {
    color: var(--gold);
}

.placeholder-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-top: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-size: 0.84rem;
}

.contact-link {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-weight: 700;
}

.contact-link-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--accent-strong);
}

.contact-link-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-link span {
    color: var(--text);
    font-weight: 600;
}

.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 24px;
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at right, rgba(255, 141, 107, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(24, 38, 63, 0.94), rgba(14, 22, 38, 0.94));
}

.cta-panel p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 20px 6px 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-footer strong {
    color: var(--text);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .site-header,
    .page-hero,
    .split-grid,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: static;
        border-radius: 28px;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100vw - 20px, 100%);
        padding: 10px 0 28px;
    }

    .site-header,
    .page-hero,
    .section {
        padding: 18px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
    }

    .card-grid,
    .image-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-item summary,
    .dashboard-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dashboard-stat-grid {
        grid-template-columns: 1fr;
    }

    .proof-item summary,
    .proof-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .period-item summary,
    .period-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .transaction-description {
        min-width: 220px;
    }

    .pdf-frame {
        min-height: 560px;
    }

    .proof-gallery-frame {
        min-height: 540px;
    }

    .drive-pdf-surface {
        min-height: 280px;
        padding: 18px;
    }

    .drive-pdf-actions {
        padding: 16px;
    }

    .proof-watermark {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .proof-watermark__item {
        font-size: 0.7rem;
    }
}

:root {
    --bg: #f4fbff;
    --bg-alt: #dbf2ff;
    --panel: rgba(255, 255, 255, 0.92);
    --panel-strong: rgba(255, 255, 255, 0.98);
    --surface: rgba(0, 175, 240, 0.08);
    --surface-strong: rgba(0, 175, 240, 0.14);
    --border: rgba(0, 175, 240, 0.18);
    --text: #102536;
    --muted: #5c7b93;
    --accent: #00aff0;
    --accent-strong: #008fdd;
    --accent-soft: rgba(0, 175, 240, 0.14);
    --teal: #57dafc;
    --teal-soft: rgba(87, 218, 252, 0.16);
    --gold: #007bb8;
    --shadow: 0 26px 70px rgba(0, 111, 163, 0.14);
    --font-display: "Outfit", "Segoe UI", sans-serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;
}

html {
    background: var(--bg);
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(0, 175, 240, 0.16), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(87, 218, 252, 0.22), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(0, 143, 221, 0.1), transparent 34%),
        linear-gradient(180deg, #f7fdff 0%, #edf9ff 42%, #dff4ff 100%);
}

body::before {
    background-image:
        linear-gradient(rgba(0, 175, 240, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 175, 240, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.36), transparent);
}

.page-shell {
    width: min(1240px, calc(100vw - 36px));
    padding: 18px 0 54px;
}

.site-header {
    top: 18px;
    border: 1px solid rgba(0, 175, 240, 0.16);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 44px rgba(0, 111, 163, 0.12);
}

.brand-mark {
    background: linear-gradient(135deg, var(--accent), #59dbff);
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(0, 175, 240, 0.28);
}

.brand-title,
.hero-title,
.glass-card h2,
.glass-card h3,
.section-heading h2,
.section-heading h3,
.metric-card h3,
.story-card h3,
.feedback-card h3,
.contact-card h3,
.model-card h3,
.proof-card h3,
.style-card h3,
.proof-title,
.check-title,
.dashboard-title,
.period-title,
.cta-panel h2 {
    color: var(--text);
}

.brand-subtitle,
.hero-lead,
.glass-card p,
.section-heading p,
.card-note,
.card-copy,
.text-block p,
.quote-meta,
.cta-panel p,
.site-footer,
.empty-state,
.dashboard-stat-note,
.data-table td,
.note-banner,
.timesheet-panel-copy p {
    color: var(--muted);
}

.nav-link {
    color: #4c6f88;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--accent-strong);
    border-color: rgba(0, 175, 240, 0.18);
    background: rgba(0, 175, 240, 0.08);
}

.nav-link.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 16px 30px rgba(0, 175, 240, 0.22);
}

.page-hero,
.section,
.glass-card,
.text-block,
.metric-card,
.story-card,
.feedback-card,
.contact-card,
.model-card,
.proof-card,
.style-card,
.timesheet-panel,
.dashboard-item,
.period-item,
.proof-item,
.data-table-shell,
.chart-shell,
.note-banner,
.cta-panel {
    border-color: rgba(0, 175, 240, 0.16);
    box-shadow: var(--shadow);
}

.page-hero {
    background:
        radial-gradient(circle at 82% 16%, rgba(87, 218, 252, 0.24), transparent 24%),
        radial-gradient(circle at 8% 100%, rgba(0, 175, 240, 0.16), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(233, 248, 255, 0.96));
}

.page-hero::after {
    border-color: rgba(0, 175, 240, 0.08);
}

.section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 252, 255, 0.94));
}

.glass-card,
.text-block,
.metric-card,
.story-card,
.feedback-card,
.contact-card,
.model-card,
.proof-card,
.style-card,
.timesheet-panel,
.dashboard-item,
.period-item,
.proof-item,
.data-table-shell,
.chart-shell,
.cta-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 251, 255, 0.96));
}

.metric-card::before,
.story-card::before,
.feedback-card::before,
.contact-card::before,
.model-card::before,
.proof-card::before,
.style-card::before {
    background: radial-gradient(circle, rgba(0, 175, 240, 0.14), transparent 72%);
}

.eyebrow,
.pill,
.proof-tag,
.protected-badge {
    border: 1px solid rgba(0, 175, 240, 0.16);
    background: rgba(0, 175, 240, 0.08);
    color: var(--accent-strong);
}

.eyebrow::before {
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(0, 175, 240, 0.12);
}

.pill strong,
.quote-meta strong,
.contact-link,
.section-kicker,
.data-table th,
.proof-chevron,
.quote-mark {
    color: var(--accent-strong);
}

.hero-title .accent-text {
    background: linear-gradient(90deg, #008bd6, #00aff0 48%, #59dbff);
    -webkit-background-clip: text;
    background-clip: text;
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 18px 34px rgba(0, 175, 240, 0.24);
}

.button-secondary,
.mini-button {
    color: var(--text);
    border-color: rgba(0, 175, 240, 0.16);
    background: rgba(255, 255, 255, 0.88);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.mini-button:hover,
.mini-button:focus-visible {
    border-color: rgba(0, 175, 240, 0.28);
    background: rgba(0, 175, 240, 0.08);
}

.check-item {
    background: rgba(246, 252, 255, 0.96);
    border-color: rgba(0, 175, 240, 0.14);
}

.check-item::before {
    display: grid;
    place-items: center;
    min-width: 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #ffffff;
}

.hero-side .stat-value,
.metric-card .metric-value {
    color: var(--accent-strong);
}

.timesheet-panel,
.note-banner,
.cta-panel {
    background:
        radial-gradient(circle at top right, rgba(87, 218, 252, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 250, 255, 0.96));
}

.note-banner {
    border-style: solid;
}

.bar-card-value {
    color: var(--text);
}

.bar-track {
    background: rgba(0, 175, 240, 0.1);
}

.bar-fill {
    background: linear-gradient(180deg, var(--accent), var(--accent-strong));
    box-shadow: 0 10px 18px rgba(0, 175, 240, 0.18);
}

.dashboard-item summary,
.proof-item summary,
.period-summary {
    background: linear-gradient(180deg, rgba(0, 175, 240, 0.08), rgba(255, 255, 255, 0.92));
}

.dashboard-body,
.proof-body,
.period-body {
    background: rgba(255, 255, 255, 0.8);
}

.dashboard-stat {
    border: 1px solid rgba(0, 175, 240, 0.14);
    border-radius: var(--radius-md);
    background: rgba(244, 252, 255, 0.98);
}

.dashboard-stat strong,
.period-head,
.proof-title,
.quote-text,
.contact-link span {
    color: var(--text);
}

.proof-chevron {
    background: rgba(0, 175, 240, 0.1);
}

.data-table th,
.data-table td {
    border-color: rgba(0, 175, 240, 0.12);
}

.data-table tbody tr:hover {
    background-color: rgba(0, 175, 240, 0.06);
}

.transaction-ledger {
    min-width: 1200px;
}

.transaction-ledger-row {
    display: grid;
    grid-template-columns: 110px 110px 250px 120px 100px 100px minmax(320px, 1fr);
    align-items: center;
}

.transaction-ledger-row-head {
    border-bottom: 1px solid rgba(0, 175, 240, 0.14);
}

.transaction-ledger-row-body {
    position: relative;
    min-height: 58px;
    border-bottom: 1px solid rgba(0, 175, 240, 0.12);
    align-items: center;
    overflow: hidden;
}

.transaction-ledger-row-body:hover {
    background-color: rgba(0, 175, 240, 0.04);
}

.transaction-ledger-watermarks {
    position: absolute;
    inset: 0 10px;
    pointer-events: none;
    z-index: 0;
}

.transaction-ledger-watermark {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: rgba(0, 143, 221, var(--wm-opacity, 0.15));
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

.transaction-ledger-watermark-top {
    top: 7px;
    transform: translateX(var(--wm-top-shift, 0));
}

.transaction-ledger-watermark-middle {
    top: 50%;
    transform: translateY(-50%) translateX(var(--wm-middle-shift, 0));
}

.transaction-ledger-watermark-bottom {
    bottom: 7px;
    transform: translateX(var(--wm-bottom-shift, 0));
}

.transaction-ledger-cell {
    position: relative;
    z-index: 1;
    padding: 14px 16px;
    color: var(--muted);
    font-size: 0.94rem;
    text-align: left;
    white-space: nowrap;
}

.transaction-ledger-row-head .transaction-ledger-cell {
    color: var(--accent-strong);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.transaction-ledger-cell-description {
    white-space: normal;
    min-width: 340px;
}

.image-card {
    overflow: hidden;
    border: 1px solid rgba(0, 175, 240, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.performance-summary-card {
    align-content: start;
}

.proof-performance-kicker {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 175, 240, 0.08);
    border: 1px solid rgba(0, 175, 240, 0.16);
}

.performance-proof-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 251, 0.97));
}

.performance-proof-summary {
    align-items: flex-start !important;
    gap: 22px;
}

.performance-proof-head {
    display: grid;
    gap: 12px;
}

.performance-proof-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.performance-proof-context {
    color: #6e7d90;
    font-size: 0.92rem;
    font-weight: 600;
}

.performance-proof-title {
    font-size: clamp(1.08rem, 1.35vw, 1.34rem);
    line-height: 1.24;
}

.performance-proof-description {
    margin: 0;
    max-width: 74ch;
    color: #64758a;
    line-height: 1.74;
}

.performance-proof-pills {
    margin-top: 2px;
}

.performance-proof-toggle {
    flex: 0 0 auto;
    min-width: 154px;
    display: grid;
    justify-items: end;
    gap: 10px;
}

.performance-proof-hint {
    color: #6e7d90;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.performance-proof-body {
    display: grid;
    gap: 18px;
    padding-top: 20px;
}

.performance-proof-viewer {
    margin-top: 0;
    border-radius: 22px;
}

.performance-proof-frame {
    min-height: clamp(760px, 88vh, 1160px);
}

.performance-proof-media {
    margin-top: 0;
    padding: 12px;
    border-radius: 22px;
    background: #11151c;
    max-height: 760px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable both-edges;
}

.performance-proof-media-document {
    max-height: 720px;
}

.performance-proof-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 16px;
    background: #11151c;
}

.performance-proof-media .proof-watermark,
.performance-proof-viewer .proof-watermark {
    inset: 0;
}

.image-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.image-copy {
    padding: 18px 20px 20px;
}

.protected-placeholder {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 14px;
    min-height: 220px;
    padding: 28px;
    border: 1px solid rgba(0, 175, 240, 0.18);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(87, 218, 252, 0.2), transparent 26%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 249, 255, 0.96));
    box-shadow: var(--shadow);
}

.protected-placeholder h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    letter-spacing: -0.04em;
}

.protected-placeholder p {
    max-width: 40rem;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.protected-badge {
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media print {
    body {
        background: #ffffff !important;
    }

    body * {
        visibility: hidden !important;
    }

    body::after {
        content: "Private portfolio | Contact @IrlanML on Telegram";
        position: fixed;
        inset: 0;
        display: grid;
        place-items: center;
        visibility: visible !important;
        color: #0b4f73;
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        background: #ffffff;
    }
}

@media (max-width: 720px) {
    .protected-placeholder {
        padding: 20px;
        min-height: 200px;
    }
}

:root {
    --bg: #eef4f8;
    --bg-alt: #dce5ee;
    --panel: rgba(255, 255, 255, 0.96);
    --panel-strong: #ffffff;
    --surface: rgba(23, 175, 230, 0.08);
    --surface-strong: rgba(29, 143, 227, 0.14);
    --border: rgba(151, 162, 177, 0.22);
    --text: #2f3137;
    --muted: #73808f;
    --accent: #17afe6;
    --accent-strong: #1d8fe3;
    --accent-soft: rgba(23, 175, 230, 0.14);
    --teal: #17afe6;
    --teal-soft: rgba(23, 175, 230, 0.12);
    --gold: #2f3137;
    --shadow: 0 24px 60px rgba(28, 53, 79, 0.08);
    --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
    background: #f3f7fb;
}

body {
    color: var(--text);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top left, rgba(23, 175, 230, 0.14), transparent 22%),
        radial-gradient(circle at 100% 0%, rgba(29, 143, 227, 0.12), transparent 20%),
        linear-gradient(180deg, #f8fafc 0%, #edf3f8 48%, #e3ecf3 100%);
}

body::before {
    background-image:
        linear-gradient(rgba(151, 162, 177, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(151, 162, 177, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent 75%);
}

.page-shell {
    width: min(1240px, calc(100vw - 36px));
}

.site-header {
    border: 1px solid rgba(151, 162, 177, 0.2);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(31, 58, 89, 0.1);
}

.brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 16px 28px rgba(23, 175, 230, 0.24);
}

.brand-title,
.hero-title,
.glass-card h2,
.glass-card h3,
.section-heading h2,
.section-heading h3,
.metric-card h3,
.story-card h3,
.feedback-card h3,
.contact-card h3,
.model-card h3,
.proof-card h3,
.style-card h3,
.proof-title,
.check-title,
.dashboard-title,
.period-title,
.cta-panel h2,
.platform-banner-copy h2 {
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.brand-subtitle,
.hero-lead,
.glass-card p,
.section-heading p,
.card-note,
.card-copy,
.text-block p,
.quote-meta,
.cta-panel p,
.site-footer,
.empty-state,
.dashboard-stat-note,
.data-table td,
.note-banner,
.timesheet-panel-copy p,
.platform-banner-copy p {
    color: var(--muted);
}

.nav-link {
    color: #5f6d7c;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--accent-strong);
    border-color: rgba(23, 175, 230, 0.16);
    background: rgba(23, 175, 230, 0.08);
}

.nav-link.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 26px rgba(23, 175, 230, 0.22);
}

.page-hero,
.section,
.glass-card,
.text-block,
.metric-card,
.story-card,
.feedback-card,
.contact-card,
.model-card,
.proof-card,
.style-card,
.timesheet-panel,
.dashboard-item,
.period-item,
.proof-item,
.data-table-shell,
.chart-shell,
.note-banner,
.cta-panel,
.image-card {
    border: 1px solid rgba(151, 162, 177, 0.2);
    box-shadow: var(--shadow);
}

.page-hero {
    background:
        linear-gradient(135deg, rgba(23, 175, 230, 0.09), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
}

.page-hero::after {
    border-color: rgba(151, 162, 177, 0.14);
}

.section,
.glass-card,
.text-block,
.metric-card,
.story-card,
.feedback-card,
.contact-card,
.model-card,
.proof-card,
.style-card,
.timesheet-panel,
.dashboard-item,
.period-item,
.proof-item,
.data-table-shell,
.chart-shell,
.cta-panel,
.image-card,
.protected-placeholder {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 251, 0.97));
}

.eyebrow,
.pill,
.proof-tag,
.protected-badge {
    border-color: rgba(23, 175, 230, 0.16);
    background: rgba(23, 175, 230, 0.08);
    color: var(--accent-strong);
}

.eyebrow::before {
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(23, 175, 230, 0.12);
}

.section-kicker,
.pill strong,
.quote-meta strong,
.contact-link,
.data-table th,
.proof-chevron,
.quote-mark,
.platform-label {
    color: var(--accent-strong);
}

.hero-title .accent-text {
    background: linear-gradient(90deg, #1299e4 0%, #17afe6 55%, #1d8fe3 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 18px 34px rgba(23, 175, 230, 0.22);
}

.button-secondary {
    color: var(--text);
    border-color: rgba(151, 162, 177, 0.24);
    background: rgba(255, 255, 255, 0.94);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(23, 175, 230, 0.22);
    background: rgba(23, 175, 230, 0.08);
}

.platform-banner {
    display: grid;
    grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-top: 26px;
    padding: 24px 26px;
    border: 1px solid rgba(151, 162, 177, 0.2);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(23, 175, 230, 0.09), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 251, 0.96));
    box-shadow: var(--shadow);
}

.platform-banner-media {
    display: grid;
    place-items: center;
    min-height: 148px;
    padding: 18px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.95));
    box-shadow:
        inset 0 0 0 1px rgba(151, 162, 177, 0.14),
        0 18px 36px rgba(23, 175, 230, 0.09);
    overflow: hidden;
}

.platform-banner-logo {
    width: 100%;
    max-width: 100%;
    max-height: 122px;
    height: auto;
    object-fit: contain;
    transform: scale(1.08);
    filter: drop-shadow(0 14px 24px rgba(23, 175, 230, 0.16));
}

.platform-banner-copy {
    display: grid;
    gap: 8px;
}

.platform-specialization-grid {
    gap: 18px;
    align-items: stretch;
}

.platform-specialization-card {
    display: grid;
    align-content: start;
    background:
        linear-gradient(135deg, rgba(23, 175, 230, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 251, 0.97));
    border: 1px solid rgba(151, 162, 177, 0.2);
    box-shadow: var(--shadow);
}

.platform-specialization-card::before {
    background: radial-gradient(circle, rgba(23, 175, 230, 0.14), transparent 70%);
}

.platform-logo-shell {
    display: grid;
    place-items: center;
    min-height: 178px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96));
    box-shadow:
        inset 0 0 0 1px rgba(151, 162, 177, 0.14),
        0 16px 32px rgba(23, 175, 230, 0.08);
    overflow: hidden;
}

.platform-logo-shell-onlymonster {
    background: linear-gradient(180deg, rgba(253, 254, 255, 0.99), rgba(244, 248, 252, 0.97));
}

.platform-logo-shell-infloww {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.96));
}

.platform-logo-shell-fansly {
    place-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 252, 0.96));
}

.platform-specialization-logo {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 118px;
    height: 118px;
    object-fit: contain;
    transform-origin: center center;
}

.platform-specialization-logo-onlymonster {
    height: 132px;
    max-height: 132px;
    transform: scale(1.18);
}

.platform-specialization-logo-infloww {
    height: 106px;
    max-height: 106px;
    transform: scale(1.34);
}

.platform-specialization-logo-fansly {
    height: 120px;
    max-height: 120px;
    transform: scale(1.22);
}

.platform-specialization-card h3 {
    margin-top: 20px;
}

.platform-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.platform-banner-copy h2 {
    margin: 0;
    font-size: clamp(1.15rem, 1.6vw, 1.5rem);
}

.platform-banner-copy p {
    margin: 0;
    line-height: 1.65;
}

.page-shell {
    width: min(1328px, calc(100vw - 32px));
}

.page-hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.82fr);
    gap: 28px;
    padding: 38px;
}

.page-hero > *,
.hero-side,
.section-heading > div {
    min-width: 0;
}

.hero-lead {
    max-width: 50rem;
    font-size: clamp(1rem, 1.1vw, 1.12rem);
    line-height: 1.72;
}

.glass-card,
.text-block,
.metric-card,
.story-card,
.feedback-card,
.contact-card,
.model-card,
.proof-card,
.style-card,
.timesheet-panel,
.cta-panel {
    display: grid;
    align-content: start;
    gap: 12px;
}

.glass-card p,
.card-note,
.card-copy,
.text-block p,
.image-card p,
.timesheet-panel-copy p,
.platform-banner-copy p,
.cta-panel p {
    margin: 0;
    max-width: 72ch;
}

.metric-card h3,
.story-card h3,
.feedback-card h3,
.contact-card h3,
.model-card h3,
.proof-card h3,
.style-card h3,
.glass-card h2,
.glass-card h3 {
    margin-top: 0;
}

.section {
    padding: 34px;
}

.section-heading {
    align-items: flex-start;
    gap: 16px;
}

.section-heading p {
    max-width: 50rem;
}

.card-grid {
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
}

.image-grid {
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: start;
}

.note-banner {
    padding: 18px 20px;
    line-height: 1.7;
}

.timesheet-panel {
    padding: 24px;
}

.sales-proof-copy {
    padding: 28px 28px 22px;
}

.sales-proof-card p {
    max-width: 78ch;
}

.platform-banner {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 32px;
    padding: 28px;
}

.platform-banner-media {
    min-height: 164px;
}

.platform-specialization-card {
    align-content: start;
}

.check-item > div {
    display: grid;
    gap: 6px;
}

.sales-proof-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.sales-proof-card {
    overflow: hidden;
}

.sales-proof-copy {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 28px 28px 22px;
}

.sales-proof-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.sales-proof-note {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
}

.sales-proof-card h3 {
    margin: 0;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.sales-proof-card p {
    margin: 0;
    line-height: 1.7;
}

.sales-proof-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sales-proof-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(23, 175, 230, 0.16);
    border-radius: 999px;
    background: rgba(23, 175, 230, 0.08);
    color: var(--accent-strong);
    font-size: 0.9rem;
    font-weight: 700;
}

.sales-proof-media {
    padding: 0;
    background: #2f3137;
    border-top: 1px solid rgba(151, 162, 177, 0.14);
}

.sales-proof-card .proof-media-shell,
.sales-proof-card .proof-media-shell-pdf {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    box-shadow: none;
}

.sales-proof-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    max-height: 760px;
    object-fit: contain !important;
    object-position: center top;
    background: #2f3137;
}

.sales-proof-image-pdf {
    max-height: 680px;
}

.sales-proof-card .proof-viewer-inline,
.sales-proof-frame {
    min-height: clamp(840px, 90vh, 1240px);
    background: #2f3137;
    border-radius: 0 0 24px 24px;
}

.sales-proof-frame-embed {
    min-height: clamp(920px, 94vh, 1380px);
    background: #11151c;
}

.sales-proof-card-document .proof-media-shell,
.sales-proof-card-document .sales-proof-media {
    max-height: none;
}

.sales-proof-card-document .proof-media-shell {
    max-height: 600px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-gutter: stable both-edges;
    display: block;
    padding: 10px;
    border-radius: 12px;
    background: #111;
}

.sales-proof-card-document .sales-proof-image {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    max-height: none;
    height: auto;
    object-fit: contain !important;
    object-position: center top;
    margin: 0;
    display: block;
    border-radius: 8px;
    background: transparent;
    image-rendering: auto;
}

.sales-proof-card-document .proof-watermark {
    inset: 10px;
}

.model-share-shell {
    display: grid;
    gap: 20px;
}

.model-share-copy {
    display: grid;
    gap: 8px;
}

.model-share-title {
    margin: 0;
    font-size: 1.08rem;
}

.model-share-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.model-share-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.model-share-ring {
    width: min(100%, 300px);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(151, 162, 177, 0.14);
}

.model-share-hole {
    width: 60%;
    aspect-ratio: 1;
    padding: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 251, 0.97));
    box-shadow: inset 0 0 0 1px rgba(151, 162, 177, 0.18);
}

.model-share-total-label,
.model-share-total-note {
    display: block;
    color: var(--muted);
}

.model-share-total-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.model-share-hole strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.14rem;
    letter-spacing: -0.03em;
}

.model-share-total-note {
    margin-top: 6px;
    font-size: 0.84rem;
}

.model-share-legend {
    display: grid;
    gap: 12px;
    max-height: 420px;
    overflow: auto;
    padding-right: 6px;
}

.model-share-legend-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid rgba(151, 162, 177, 0.18);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.86);
}

.model-share-swatch {
    width: 14px;
    height: 14px;
    margin-top: 4px;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(23, 175, 230, 0.08);
}

.model-share-legend-label,
.model-share-legend-note {
    display: block;
}

.model-share-legend-label {
    color: var(--text);
    font-weight: 700;
}

.model-share-legend-item strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
}

.model-share-legend-note {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.84rem;
}

.performance-proof-gallery {
    max-height: 520px;
}

.performance-proof-gallery-track {
    display: grid;
    gap: 18px;
    position: relative;
    min-height: 100%;
}

.performance-proof-gallery-item {
    width: 100%;
}

.drive-pdf-actions {
    align-items: center;
}

.drive-pdf-note {
    color: rgba(231, 238, 247, 0.82);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.protected-page .page-shell {
    overflow-x: clip;
}

.admin-controls-shell {
    display: grid;
    gap: 0;
}

.admin-summary-grid {
    display: grid;
    gap: 18px;
}

.metric-card-loading {
    display: grid;
    gap: 14px;
    min-height: 166px;
}

.loading-bar {
    position: relative;
    overflow: hidden;
    height: 14px;
    border-radius: 999px;
    background: rgba(173, 188, 206, 0.2);
}

.loading-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    animation: loadingShimmer 1.35s ease-in-out infinite;
}

.loading-bar-short {
    width: 36%;
}

.loading-bar-medium {
    width: 72%;
}

.loading-bar-long {
    width: 88%;
}

.models-loading-state {
    display: grid;
    place-items: center;
    gap: 18px;
    min-height: 260px;
    padding: 28px;
    text-align: center;
    border: 1px dashed rgba(20, 143, 221, 0.24);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(87, 218, 252, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 252, 0.98));
}

.models-loading-state-compact {
    min-height: 240px;
}

.models-loading-copy {
    display: grid;
    gap: 10px;
    max-width: 640px;
}

.models-loading-copy h3 {
    margin: 0;
}

.models-loading-copy p {
    margin: 0;
    color: var(--muted);
}

.models-loading-spinner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.models-loading-spinner span {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #17afe6, #148fdd);
    box-shadow: 0 10px 24px rgba(20, 143, 221, 0.24);
    animation: loadingPulse 1.15s ease-in-out infinite;
}

.models-loading-spinner span:nth-child(2) {
    animation-delay: 0.14s;
}

.models-loading-spinner span:nth-child(3) {
    animation-delay: 0.28s;
}

.models-floating-loader {
    position: fixed;
    inset: 50% auto auto 50%;
    z-index: 2600;
    width: min(560px, calc(100vw - 28px));
    transform: translate(-50%, -46%) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 180ms ease,
        transform 220ms ease;
}

.models-floating-loader.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.models-floating-loader__inner {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 20px 22px;
    border: 1px solid rgba(20, 143, 221, 0.22);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(87, 218, 252, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 252, 0.97));
    box-shadow:
        0 24px 60px rgba(16, 35, 58, 0.18),
        0 10px 28px rgba(20, 143, 221, 0.12);
    text-align: center;
}

.models-floating-loader__copy {
    display: grid;
    gap: 6px;
}

.models-floating-loader__copy strong {
    color: #10233a;
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.models-floating-loader__copy span {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.admin-summary-card {
    min-height: 148px;
    justify-content: center;
}

.admin-panel-stack {
    display: grid;
    gap: 16px;
}

.admin-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-card-kicker {
    margin-bottom: 10px;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-status-pill-active {
    color: #0d7b4d;
    background: rgba(17, 132, 93, 0.12);
}

.admin-status-pill-expired,
.admin-status-pill-revoked {
    color: #a73d3d;
    background: rgba(217, 75, 75, 0.12);
}

.admin-status-pill-admin {
    color: #0f67b3;
    background: rgba(20, 143, 221, 0.12);
}

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

.admin-meta-item {
    padding: 16px 18px;
    border: 1px solid rgba(151, 162, 177, 0.18);
    border-radius: 18px;
    background: rgba(248, 252, 255, 0.88);
}

.admin-meta-label {
    display: block;
    margin-bottom: 8px;
    color: #6d7f96;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-log-actions,
.admin-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.admin-log-detail,
.admin-inline-status {
    margin: 0;
    color: #6d7f96;
    font-size: 0.95rem;
    line-height: 1.5;
}

.admin-code-list {
    display: grid;
    gap: 12px;
}

.admin-code-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.admin-code-list-main {
    min-width: 0;
}

.admin-code-value {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.38rem;
    letter-spacing: 0.04em;
}

.admin-code-list-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-copy-button,
.admin-revoke-button {
    min-width: 120px;
}

.admin-form-card {
    padding: 28px;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.admin-field {
    display: grid;
    gap: 10px;
}

.admin-label {
    color: #10233a;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-textarea,
.admin-input,
.admin-select {
    width: 100%;
    border: 1px solid rgba(20, 143, 221, 0.2);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: #10233a;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.admin-textarea {
    min-height: 220px;
    padding: 18px 20px;
    resize: vertical;
}

.admin-input,
.admin-select {
    min-height: 56px;
    padding: 0 18px;
}

.admin-textarea:focus,
.admin-input:focus,
.admin-select:focus {
    outline: none;
    border-color: rgba(20, 143, 221, 0.54);
    box-shadow:
        0 0 0 4px rgba(20, 143, 221, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.admin-settings-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 14px;
}

.admin-empty-card {
    text-align: center;
}

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

@media (max-width: 720px) {
    .admin-card-header,
    .admin-log-actions,
    .admin-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-meta-grid,
    .admin-settings-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-status-pill {
        justify-content: flex-start;
        width: fit-content;
    }

    .models-floating-loader {
        width: min(calc(100vw - 20px), 100%);
    }

    .models-floating-loader__inner {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .admin-code-list-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-code-list-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 14px 14px 12px;
        gap: 14px;
    }

    .brand {
        width: 100%;
        min-width: 0;
    }

    .brand-copy {
        min-width: 0;
    }

    .brand-title,
    .brand-subtitle {
        overflow-wrap: anywhere;
    }

    .site-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        flex: 0 0 auto;
        white-space: nowrap;
    }

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

    .button {
        width: 100%;
        justify-content: center;
    }

    .timesheet-panel,
    .chart-shell,
    .dashboard-body,
    .proof-item__body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .models-loading-state {
        min-height: 220px;
        padding: 22px 18px;
    }

    .models-floating-loader {
        inset: auto 10px 18px 10px;
        width: auto;
        transform: translateY(18px) scale(0.98);
    }

    .models-floating-loader.is-visible {
        transform: translateY(0) scale(1);
    }

    .models-floating-loader__copy strong {
        font-size: 1rem;
    }

    .models-floating-loader__copy span {
        font-size: 0.9rem;
    }
}

@keyframes loadingPulse {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    40% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@keyframes loadingShimmer {
    100% {
        transform: translateX(100%);
    }
}

.protected-content {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.protected-stage {
    position: relative;
    z-index: 1;
    width: 100%;
}

.protected-stage-scroll {
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable both-edges;
}

.protected-content .proof-watermark {
    z-index: 3;
}

.protected-stage,
.protected-content .proof-watermark,
.guard-layer {
    border-radius: inherit;
}

.guard-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: transparent;
}

.protected-content[data-guard-passive="true"] .guard-layer {
    pointer-events: none;
}

.protected-content:not([data-guard-passive="true"]) .guard-layer {
    pointer-events: auto;
}

.protected-page .protected-content,
.protected-page .protected-content * {
    -webkit-user-select: none;
    user-select: none;
}

.protected-page .protected-content,
.protected-page .protected-content canvas,
.protected-page .protected-content img,
.protected-page .protected-content svg {
    -webkit-user-drag: none;
    user-drag: none;
}

.protected-canvas {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    background: #11151c;
    border-radius: 16px;
}

.protected-live-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    background: #11151c;
    border-radius: 16px;
}

.protected-fallback {
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 28px;
    border: 1px solid rgba(151, 162, 177, 0.22);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 251, 0.96));
    color: var(--muted);
    font-weight: 700;
    text-align: center;
}

.protected-model-share {
    max-height: 520px;
}

.protected-ledger-shell {
    min-width: 100%;
}
.note-banner,
.timesheet-panel,
.cta-panel {
    background:
        linear-gradient(135deg, rgba(23, 175, 230, 0.08), transparent 45%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 251, 0.97));
}

.dashboard-item summary,
.proof-item summary,
.period-summary {
    background: linear-gradient(180deg, rgba(23, 175, 230, 0.08), rgba(255, 255, 255, 0.96));
}

.dashboard-body,
.proof-body,
.period-body {
    background: rgba(255, 255, 255, 0.82);
}

.dashboard-stat {
    border-color: rgba(151, 162, 177, 0.22);
    background: rgba(255, 255, 255, 0.98);
}

.proof-watermark__item {
    color: rgba(255, 255, 255, 0.3);
    mix-blend-mode: difference;
    text-shadow:
        -1px -1px 0 rgba(33, 36, 42, 0.34),
        1px -1px 0 rgba(33, 36, 42, 0.34),
        -1px 1px 0 rgba(33, 36, 42, 0.34),
        1px 1px 0 rgba(33, 36, 42, 0.34),
        0 0 10px rgba(33, 36, 42, 0.18);
}

.sales-proof-card .proof-watermark__item {
    color: rgba(255, 255, 255, 0.32);
}

.transaction-ledger-watermark {
    color: rgba(23, 175, 230, var(--wm-opacity, 0.14));
}

.site-footer {
    color: #7c8896;
}

@media (max-width: 900px) {
    .page-hero {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .section {
        padding: 26px;
    }

    .platform-banner {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .platform-banner img {
        max-width: 200px;
    }

    .sales-proof-copy {
        padding: 18px 18px 14px;
    }

    .sales-proof-media {
        padding: 0;
    }

    .sales-proof-card .proof-media-shell-pdf,
    .sales-proof-card .proof-viewer-inline,
    .sales-proof-frame {
        min-height: 560px;
    }

    .sales-proof-frame-embed {
        min-height: 680px;
    }

    .sales-proof-card-document .proof-media-shell,
    .sales-proof-card-document .sales-proof-media {
        max-height: none;
    }

    .sales-proof-card-document .sales-proof-image {
        width: 100% !important;
        min-width: 0 !important;
    }

    .sales-proof-card-document .proof-media-shell {
        max-height: 520px;
    }

    .sales-proof-image {
        max-width: 100%;
        max-height: 560px;
    }

    .performance-proof-summary {
        flex-direction: column;
    }

    .performance-proof-toggle {
        width: 100%;
        grid-template-columns: 1fr auto;
        align-items: center;
        justify-items: start;
    }

    .performance-proof-frame {
        min-height: 560px;
    }

    .performance-proof-media,
    .performance-proof-media-document {
        max-height: 520px;
    }

    .model-share-layout {
        grid-template-columns: 1fr;
    }

    .model-share-legend {
        max-height: none;
    }
}

