:root {
    --navy: #0B1F3A;
    --steel: #6B7280;
    --gold: #C8A96A;
    --ice: #F9FAFB;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; overflow-x: hidden; }

.architectural-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 84% 8%, rgba(200,169,106,.18), transparent 28%),
        linear-gradient(120deg, rgba(11,31,58,.035), transparent 36%),
        url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230B1F3A' stroke-opacity='.055' stroke-width='1'%3E%3Cpath d='M0 70h140M70 0v140M20 20h42v42H20zM94 78a24 24 0 1 0 0 48 24 24 0 0 0 0-48z'/%3E%3C/g%3E%3C/svg%3E");
}

.site-header {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}
.site-header.brandless { justify-content: flex-end; min-height: 24px; }

.brand, .top-nav { display: flex; align-items: center; gap: 12px; }
.brand {
    width: 205px;
    min-height: 58px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 8px;
    background: rgba(255,255,255,.58);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 48px rgba(11,31,58,.07);
}
.brand img { width: 100%; height: auto; display: block; }
.top-nav {
    padding: 10px 14px;
    border: 1px solid rgba(11,31,58,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(16px);
    color: var(--steel);
    font-size: 14px;
}
.top-nav a { color: var(--navy); font-weight: 700; }

.glass-panel {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: 0 24px 80px rgba(11,31,58,.08);
    backdrop-filter: blur(20px);
    border-radius: 8px;
}

.premium-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--navy), #163B68);
    box-shadow: 0 14px 34px rgba(11,31,58,.2);
    font-weight: 800;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
}
.premium-button:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(11,31,58,.25); }
.premium-button i { font-size: .92em; line-height: 1; }

.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .7s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.login-experience {
    min-height: calc(100vh - 70px);
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: clamp(44px, 7vw, 86px);
    padding: 34px 0 72px;
}
.login-visual span, .eyebrow, .section-title span, .project-command span, .report-strip span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 800;
}
.login-visual h1 {
    max-width: 690px;
    margin: 18px 0;
    font-size: clamp(44px, 7vw, 86px);
    line-height: .94;
    letter-spacing: 0;
}
.login-logo {
    width: min(390px, 82vw);
    height: auto;
    display: block;
    margin-bottom: 28px;
    filter: drop-shadow(0 18px 32px rgba(11,31,58,.16));
}
.login-visual p { max-width: 520px; color: var(--steel); font-size: 18px; }
.login-orbit { width: min(420px, 80vw); margin-top: 30px; color: var(--gold); }
.login-orbit svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.login-orbit path { stroke: var(--navy); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.auth-card {
    width: min(100%, 470px);
    justify-self: end;
    padding: clamp(38px, 4.6vw, 58px);
}
.auth-form { display: grid; gap: 25px; }
.auth-form h2 { font-size: 36px; line-height: 1; font-weight: 800; }
label { display: grid; gap: 12px; color: var(--steel); font-size: 14px; font-weight: 800; }
input, textarea, select {
    width: 100%;
    border: 1px solid rgba(11,31,58,.12);
    background: rgba(255,255,255,.96);
    border-radius: 8px;
    min-height: 62px;
    padding: 17px 24px;
    color: var(--navy);
    outline: none;
    font-size: 15px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}
input[type="email"], input[type="password"] { padding-left: 26px; padding-right: 26px; }
input::placeholder, textarea::placeholder { color: rgba(107,114,128,.58); font-weight: 600; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(200,169,106,.9); box-shadow: 0 0 0 4px rgba(200,169,106,.12); }
.form-error { color: #B42318; background: #FFF3F0; padding: 12px; border-radius: 8px; }
.form-success { color: #075E42; background: #E9FBF3; padding: 12px; border-radius: 8px; font-weight: 800; }
.auth-form .premium-button { min-height: 60px; margin-top: 4px; font-size: 16px; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 58px; }
.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--steel);
    background: rgba(11,31,58,.04);
    cursor: pointer;
}
.password-toggle:hover { color: var(--navy); background: rgba(200,169,106,.14); }
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: -6px;
    color: var(--steel);
    font-size: 14px;
    font-weight: 800;
}
.remember-check {
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    gap: 9px;
    color: var(--steel);
    cursor: pointer;
}
.remember-check input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    accent-color: var(--gold);
}
.auth-options a, .auth-back-link { color: var(--navy); font-weight: 900; text-decoration: none; }
.auth-back-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.auth-recovery .login-orbit { display: none; }

.client-hero {
    width: min(1220px, calc(100% - 32px));
    margin: 34px auto 0;
    min-height: 610px;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--navy);
}
.hero-image { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.86), rgba(11,31,58,.25) 58%, rgba(11,31,58,.7)); }
.hero-copy { position: relative; align-self: end; padding: 0 52px 64px; max-width: 720px; color: white; }
.hero-copy h1 { margin: 16px 0; font-size: clamp(44px, 8vw, 92px); line-height: .9; letter-spacing: 0; }
.hero-copy p { color: rgba(255,255,255,.8); font-size: 18px; }
.hero-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-meta strong { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 10px 14px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.hero-progress { position: absolute; right: 52px; bottom: 58px; }

.progress-360 { width: var(--size); height: var(--size); position: relative; display: grid; place-items: center; }
.progress-360 svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.progress-360 .track { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.28); stroke-width: 8; }
.progress-360 .meter {
    fill: none;
    stroke: var(--gold);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: var(--dash) var(--circ);
    filter: url(#goldGlow);
    animation: progressDraw 1.2s ease both, shimmer 2.8s ease-in-out infinite;
}
.progress-360 .arc { fill: none; stroke: rgba(200,169,106,.42); stroke-width: 2; stroke-linecap: round; }
.progress-label { position: absolute; display: grid; place-items: center; color: white; }
.progress-label strong { font-size: 34px; line-height: 1; }
.progress-label span { color: rgba(255,255,255,.7); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.project-command .progress-label, .admin-grid .progress-label { color: var(--navy); }
.project-command .progress-label span, .admin-grid .progress-label span { color: var(--steel); }
.project-command .progress-360 .track, .admin-grid .progress-360 .track { fill: rgba(11,31,58,.03); stroke: rgba(11,31,58,.12); }
@keyframes progressDraw { from { stroke-dasharray: 0 var(--circ); } }
@keyframes shimmer { 50% { filter: drop-shadow(0 0 10px rgba(200,169,106,.7)); } }

.content-band, .split-band, .report-strip, .admin-shell, .super-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 90px auto;
}
.section-title { margin-bottom: 28px; }
.section-title h1, .section-title h2 { margin-top: 10px; font-size: clamp(30px, 4vw, 52px); line-height: 1; font-weight: 800; letter-spacing: 0; max-width: 720px; }
.stage-flow { display: grid; gap: 12px; }
.stage-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(11,31,58,.08);
    background: rgba(255,255,255,.42);
    transition: transform .22s ease, background .22s ease;
}
.stage-pill:hover { transform: translateX(6px); background: white; }
.stage-pill div { display: flex; align-items: center; gap: 14px; }
.stage-pill div span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold); }
.stage-pill.concluido div span { background: var(--gold); }
.stage-pill.em_andamento div span { box-shadow: 0 0 0 7px rgba(200,169,106,.14); }
.stage-pill small { color: var(--steel); text-transform: capitalize; }

.timeline-line { position: relative; display: grid; gap: 28px; padding-left: 34px; }
.timeline-line::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(var(--gold), rgba(200,169,106,0));
    transform-origin: top;
    animation: timelineGrow 1s ease both;
}
@keyframes timelineGrow { from { transform: scaleY(0); } }
.timeline-card {
    position: relative;
    padding: 28px;
    background: white;
    border: 1px solid rgba(11,31,58,.08);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(11,31,58,.06);
}
.timeline-card::before { content: ""; position: absolute; left: -34px; top: 34px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 8px rgba(200,169,106,.14); }
.timeline-card time { color: var(--gold); font-weight: 800; }
.timeline-card h3 { margin-top: 8px; font-size: 24px; font-weight: 800; }
.timeline-card p { margin: 10px 0 0; color: var(--steel); max-width: 760px; }
.timeline-media { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.timeline-media img, .timeline-media video { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; }

.masonry-grid { columns: 3 260px; column-gap: 16px; }
.masonry-item {
    width: 100%;
    margin: 0 0 16px;
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    cursor: zoom-in;
    background: var(--navy);
}
.masonry-item img, .masonry-item video { width: 100%; display: block; transition: transform .35s ease; }
.masonry-item:hover img, .masonry-item:hover video { transform: scale(1.04); }
.masonry-item span { position: absolute; left: 14px; bottom: 14px; color: white; font-weight: 800; text-shadow: 0 2px 18px rgba(0,0,0,.3); }

.split-band { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.official-notice { padding: 28px 0; border-top: 1px solid rgba(11,31,58,.1); }
.official-notice h3 { font-size: 24px; font-weight: 800; margin-top: 10px; }
.official-notice p { color: var(--steel); margin: 10px 0; }
.official-notice time { color: var(--steel); font-size: 13px; }
.support-thread { display: grid; gap: 12px; padding: 22px; max-height: 320px; overflow: auto; }
.support-thread p { display: grid; gap: 4px; width: 86%; padding: 14px; background: rgba(11,31,58,.06); border-radius: 8px; color: var(--steel); }
.support-thread p.admin-msg { margin-left: auto; background: rgba(200,169,106,.16); }
.support-thread strong { color: var(--navy); }
.support-thread small { font-size: 12px; }
.support-form { display: grid; gap: 12px; padding: 0 22px 22px; }
.report-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 38px;
    border-radius: 8px;
    background: var(--navy);
    color: white;
}
.report-strip h2 { margin-top: 8px; font-size: 30px; font-weight: 800; }

.admin-shell { display: grid; grid-template-columns: 210px 1fr; gap: 28px; align-items: start; }
.side-rail { position: sticky; top: 20px; display: grid; gap: 8px; padding: 18px; border-radius: 8px; background: rgba(255,255,255,.75); backdrop-filter: blur(18px); }
.side-rail strong { margin-bottom: 12px; }
.side-rail a { padding: 10px; border-radius: 8px; color: var(--steel); font-weight: 700; }
.side-rail a:hover { color: var(--navy); background: rgba(11,31,58,.05); }
.admin-main { display: grid; gap: 34px; }
.project-command { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: 24px; border-radius: 8px; background: white; box-shadow: 0 18px 50px rgba(11,31,58,.06); }
.project-command img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; }
.project-command h1 { font-size: clamp(36px, 5vw, 64px); line-height: .95; margin: 12px 0; font-weight: 800; }
.project-command p { color: var(--steel); margin-bottom: 18px; }
.admin-grid, .super-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.admin-grid .glass-panel, .editor-panel .glass-panel, .client-table .glass-panel, .super-metrics .glass-panel, .super-shell section .glass-panel { padding: 24px; }
.admin-grid h2, .editor-panel h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.compact-stages, .compact-updates { display: grid; gap: 12px; }
.compact-stages p, .compact-updates article { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(11,31,58,.08); padding-bottom: 10px; }
.compact-stages span, .compact-updates time { color: var(--gold); font-weight: 800; }
.admin-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 180px; gap: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px; border-bottom: 1px solid rgba(11,31,58,.08); }
th { color: var(--steel); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.super-shell { display: grid; gap: 34px; }
.super-metrics .glass-panel strong { display: block; margin-top: 8px; font-size: 44px; }
.super-metrics .glass-panel span { color: var(--steel); text-transform: capitalize; }

.super-admin-home {
    width: min(1240px, calc(100% - 32px));
    margin: 44px auto 92px;
    display: grid;
    gap: 24px;
}
.super-hero {
    min-height: 330px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 12px;
    color: white;
    background:
        radial-gradient(circle at 82% 18%, rgba(200,169,106,.3), transparent 28%),
        linear-gradient(120deg, rgba(11,31,58,.98), rgba(13,51,91,.82)),
        url("../img/landing-building-cover.png") center/cover;
    box-shadow: 0 32px 90px rgba(11,31,58,.18);
    overflow: hidden;
    position: relative;
}
.super-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.8), transparent);
    pointer-events: none;
}
.super-hero > * { position: relative; z-index: 1; }
.super-hero span, .super-create-card > span, .super-card-head span, .access-vault span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 900;
}
.super-hero h1 {
    max-width: 790px;
    margin: 12px 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .94;
    font-weight: 900;
}
.super-hero p { max-width: 660px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.55; }
.super-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 12px;
    font-weight: 900;
    box-shadow: 0 18px 50px rgba(11,31,58,.08);
}
.super-alert.success { color: #075E42; background: #E9FBF3; }
.super-alert.error { color: #9F1D1D; background: #FFF1F1; }
.access-vault {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 22px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid rgba(200,169,106,.28);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(249,250,251,.76));
    box-shadow: 0 26px 80px rgba(11,31,58,.1);
}
.access-vault h2 { margin-top: 8px; font-size: 34px; line-height: 1; font-weight: 900; }
.access-vault p { margin-top: 12px; color: var(--steel); line-height: 1.55; }
.access-vault dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.access-vault dl div { padding: 16px; border-radius: 10px; background: white; border: 1px solid rgba(11,31,58,.06); }
.access-vault dt { color: var(--steel); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.access-vault dd { margin-top: 7px; overflow-wrap: anywhere; font-weight: 900; }
.access-vault .mail-error { grid-column: 1 / -1; margin: 0; padding: 12px 14px; color: #9F1D1D; background: #FFF1F1; border-radius: 8px; font-size: 13px; }
.super-metrics.premium { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.super-metrics.premium article {
    display: grid;
    gap: 8px;
    padding: 24px;
    border-radius: 12px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 60px rgba(11,31,58,.07);
    border: 1px solid rgba(255,255,255,.88);
}
.super-metrics.premium i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: rgba(200,169,106,.13); }
.super-metrics.premium span { color: var(--steel); text-transform: capitalize; font-weight: 900; }
.super-metrics.premium strong { font-size: 42px; line-height: 1; }
.super-grid {
    display: grid;
    grid-template-columns: minmax(340px, .86fr) 1.14fr;
    gap: 22px;
    align-items: start;
}
.super-create-card, .super-list-card {
    padding: clamp(24px, 4vw, 36px);
    border-radius: 12px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 22px 70px rgba(11,31,58,.08);
    backdrop-filter: blur(18px);
}
.super-create-card {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 15px;
}
.super-create-card h2 { margin-top: 6px; font-size: 42px; line-height: .98; font-weight: 900; }
.super-create-card p { color: var(--steel); line-height: 1.55; }
.super-create-card label { display: grid; gap: 8px; }
.super-create-card small { color: var(--steel); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 900; }
.super-create-card input[type="text"], .super-create-card input[type="email"] { min-height: 56px; padding-inline: 18px; background: white; }
.send-toggle {
    grid-template-columns: 22px 1fr;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    background: rgba(11,31,58,.04);
    color: var(--navy);
    font-weight: 900;
}
.send-toggle input { width: 18px; height: 18px; accent-color: var(--gold); }
.send-toggle span { display: flex; gap: 10px; align-items: center; }
.send-toggle i { color: var(--gold); }
.super-side-stack { display: grid; gap: 18px; }
.super-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.super-card-head strong { padding: 8px 12px; border-radius: 999px; background: rgba(11,31,58,.05); font-size: 12px; }
.company-row, .mail-row {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(11,31,58,.07);
}
.company-row:last-child, .mail-row:last-child { border-bottom: 0; }
.company-row i, .mail-row i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(200,169,106,.12);
}
.company-row strong, .mail-row strong { display: block; font-size: 16px; }
.company-row small, .mail-row small { display: block; margin-top: 3px; color: var(--steel); font-weight: 800; }
.company-row > span, .mail-row > span { color: var(--steel); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.mail-row.sent i { color: #078052; background: #E7F8F0; }
.mail-row.failed i { color: #A92828; background: #FFF1F1; }
.empty-mail-log { display: grid; place-items: center; gap: 10px; padding: 32px; color: var(--steel); text-align: center; }
.empty-mail-log i { color: var(--gold); font-size: 32px; }
.client-access-panel { overflow-x: auto; }
.inline-invite-form { display: inline-flex; }
.inline-invite-form button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(200,169,106,.32);
    border-radius: 999px;
    color: var(--navy);
    background: rgba(200,169,106,.12);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}
.inline-invite-form button:hover { background: rgba(200,169,106,.2); }
.client-row-person { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.client-row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inline-edit-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(11,31,58,.08);
    border-radius: 999px;
    color: var(--navy);
    background: white;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.inline-edit-button:hover { background: rgba(11,31,58,.04); }
.profile-hero {
    min-height: 290px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(30px, 5vw, 54px);
    border-radius: 12px;
    color: white;
    background:
        radial-gradient(circle at 82% 14%, rgba(200,169,106,.32), transparent 28%),
        linear-gradient(120deg, rgba(11,31,58,.96), rgba(18,54,95,.82));
    box-shadow: 0 30px 90px rgba(11,31,58,.16);
}
.profile-hero span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 900;
}
.profile-hero h1 { max-width: 760px; margin: 10px 0; font-size: clamp(40px, 6vw, 72px); line-height: .94; font-weight: 900; }
.profile-hero p { max-width: 620px; color: rgba(255,255,255,.78); font-size: 18px; }
.profile-editor { padding: clamp(24px, 4vw, 40px); }
.profile-avatar-editor {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(11,31,58,.04);
}
.profile-avatar-editor.compact { margin-bottom: 6px; }
.profile-avatar-editor label { flex: 1; margin: 0; }
.company-hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.side-rail a.active { color: var(--navy); background: rgba(200,169,106,.13); }

/* Super admin premium console */
.super-console {
    width: min(1440px, calc(100% - 28px));
    margin: 18px auto 90px;
    display: grid;
    grid-template-columns: 286px 1fr;
    gap: 18px;
}
.super-console-rail {
    position: sticky;
    top: 18px;
    min-height: calc(100vh - 36px);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 28px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 16px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 26px 80px rgba(11,31,58,.08);
    backdrop-filter: blur(22px);
}
.super-console-logo {
    display: block;
    padding: 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 16px 42px rgba(11,31,58,.07);
}
.super-console-logo img { width: 100%; display: block; }
.super-console-rail nav { display: grid; align-content: start; gap: 8px; }
.super-console-rail nav a, .super-console-exit {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--steel);
    font-weight: 900;
}
.super-console-rail nav a i, .super-console-exit i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(200,169,106,.12);
}
.super-console-rail nav a:hover, .super-console-rail nav a.active {
    color: var(--navy);
    background: rgba(11,31,58,.05);
}
.super-console-exit {
    color: #9F1D1D;
    background: rgba(159,29,29,.06);
}
.super-console-main { display: grid; gap: 18px; min-width: 0; }
.super-console-top {
    min-height: 390px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(34px, 5vw, 72px);
    border-radius: 18px;
    color: white;
    background:
        radial-gradient(circle at 83% 15%, rgba(200,169,106,.32), transparent 28%),
        linear-gradient(120deg, rgba(11,31,58,.98), rgba(10,36,67,.82)),
        url("../img/landing-building-cover.png") center/cover;
    box-shadow: 0 34px 100px rgba(11,31,58,.18);
    position: relative;
    overflow: hidden;
}
.super-console-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 74px 74px;
    opacity: .55;
    pointer-events: none;
}
.super-console-top::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(200,169,106,.36);
    border-radius: 50%;
    box-shadow: inset 0 0 0 70px rgba(255,255,255,.03);
}
.super-console-top > * { position: relative; z-index: 1; }
.super-console-top span, .super-form-head span, .super-flow-card > span, .super-section-head span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 900;
}
.super-console-top h1 {
    max-width: 820px;
    margin: 12px 0;
    font-size: clamp(46px, 6.6vw, 92px);
    line-height: .9;
    font-weight: 900;
}
.super-console-top p {
    max-width: 700px;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.58;
}
.super-kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.super-kpi-strip article {
    min-height: 150px;
    display: grid;
    align-content: space-between;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.86);
    border-radius: 16px;
    background: rgba(255,255,255,.84);
    box-shadow: 0 20px 70px rgba(11,31,58,.07);
    backdrop-filter: blur(18px);
}
.super-kpi-strip i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(200,169,106,.13);
}
.super-kpi-strip span { color: var(--steel); font-weight: 900; }
.super-kpi-strip strong { font-size: 48px; line-height: .9; }
.super-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
    gap: 18px;
    align-items: stretch;
}
.super-activation-card, .super-flow-card, .super-panel-wide {
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 18px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 26px 90px rgba(11,31,58,.08);
    backdrop-filter: blur(20px);
}
.super-activation-card {
    display: grid;
    gap: 22px;
    padding: clamp(26px, 4vw, 42px);
}
.super-form-head h2, .super-section-head h2 {
    margin-top: 8px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: .98;
    font-weight: 900;
}
.super-form-head p { max-width: 660px; margin-top: 12px; color: var(--steel); line-height: 1.58; }
.super-step-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.super-step-grid label {
    gap: 9px;
    padding: 16px;
    border: 1px solid rgba(11,31,58,.06);
    border-radius: 14px;
    background: rgba(249,250,251,.75);
}
.super-step-grid small {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--steel);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 11px;
    font-weight: 900;
}
.super-step-grid small i { color: var(--gold); }
.super-step-grid input {
    min-height: 54px;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: 17px;
}
.super-step-grid input:focus { box-shadow: none; }
.super-delivery-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    color: white;
    background:
        radial-gradient(circle at 88% 10%, rgba(200,169,106,.3), transparent 28%),
        linear-gradient(135deg, #0B1F3A, #153D6B);
}
.super-delivery-box div { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: center; }
.super-delivery-box div > i {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(255,255,255,.11);
}
.super-delivery-box strong { font-size: 17px; }
.super-delivery-box span { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; }
.super-switch { display: block; position: relative; width: 62px; height: 34px; flex: 0 0 auto; }
.super-switch input { position: absolute; opacity: 0; pointer-events: none; }
.super-switch span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    cursor: pointer;
    transition: background .2s ease;
}
.super-switch span::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    transition: transform .2s ease;
}
.super-switch input:checked + span { background: rgba(200,169,106,.9); }
.super-switch input:checked + span::after { transform: translateX(28px); }
.super-submit { min-height: 60px; justify-content: center; font-size: 16px; }
.super-flow-card {
    padding: 30px;
    display: grid;
    align-content: start;
    gap: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(249,250,251,.82)),
        url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230B1F3A' stroke-opacity='.055'%3E%3Ccircle cx='60' cy='60' r='32'/%3E%3Cpath d='M20 60h80M60 20v80'/%3E%3C/g%3E%3C/svg%3E");
}
.super-flow-card h3 { font-size: 36px; line-height: .98; font-weight: 900; }
.super-flow-card ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.super-flow-card li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    align-items: center;
    padding: 15px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 14px 42px rgba(11,31,58,.05);
}
.super-flow-card li > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(200,169,106,.13);
}
.super-flow-card strong { display: block; }
.super-flow-card small { color: var(--steel); font-weight: 800; }
.super-panel-wide { padding: clamp(24px, 3.6vw, 38px); }
.super-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}
.super-section-head > strong {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(11,31,58,.05);
    font-size: 12px;
}
.super-company-list, .email-timeline { display: grid; gap: 10px; }
.super-company-list article {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 90px 90px auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(249,250,251,.9);
    border: 1px solid rgba(11,31,58,.05);
}
.company-orb {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: white;
    box-shadow: 0 12px 30px rgba(11,31,58,.06);
}
.company-main strong { display: block; font-size: 18px; }
.company-main small { color: var(--steel); font-weight: 800; }
.super-company-list article div:not(.company-orb):not(.company-main) span {
    display: block;
    color: var(--steel);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 900;
}
.super-company-list article div:not(.company-orb):not(.company-main) strong { font-size: 22px; }
.company-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    padding: 9px 12px;
    border-radius: 999px;
    color: #075E42;
    background: #E9FBF3;
    font-size: 12px;
    font-weight: 900;
}
.company-status i { font-size: 8px; }
.email-timeline article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 15px;
    border-radius: 14px;
    background: rgba(249,250,251,.9);
}
.email-timeline article > i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--steel);
    background: white;
}
.email-timeline article.sent > i { color: #078052; background: #E7F8F0; }
.email-timeline article.failed > i { color: #A92828; background: #FFF1F1; }
.email-timeline strong { display: block; }
.email-timeline small { color: var(--steel); font-weight: 800; }
.email-timeline article > span {
    padding: 8px 11px;
    border-radius: 999px;
    background: white;
    color: var(--steel);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 900;
}
.email-empty { display: grid; place-items: center; gap: 10px; padding: 34px; color: var(--steel); text-align: center; }
.email-empty i { color: var(--gold); font-size: 30px; }

.empty-state { display: grid; place-items: center; gap: 12px; padding: 42px; color: var(--steel); background: white; border-radius: 8px; }
.empty-state svg { width: 220px; max-width: 80%; }
.media-modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 24px; background: rgba(11,31,58,.78); backdrop-filter: blur(10px); }
.media-modal.open { display: grid; }
.modal-content img, .modal-content video { max-width: min(1000px, 92vw); max-height: 82vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-close { position: fixed; top: 20px; right: 24px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; color: var(--navy); font-size: 28px; cursor: pointer; }

@media (max-width: 860px) {
    .login-experience, .split-band, .admin-shell, .project-command { grid-template-columns: 1fr; }
    .login-experience { padding-top: 18px; }
    .auth-card { justify-self: stretch; }
    .client-hero { min-height: 720px; }
    .hero-copy { padding: 0 24px 230px; }
    .hero-progress { left: 24px; right: auto; bottom: 34px; }
    .side-rail { position: relative; top: 0; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
    .form-row { grid-template-columns: 1fr; }
    .report-strip { align-items: flex-start; flex-direction: column; }
    .site-header { align-items: flex-start; }
    .top-nav { max-width: 58%; flex-wrap: wrap; justify-content: flex-end; }
}

/* Public landing v2 */
.landing-body { background: #F7F9FC; }
.landing-v2 .architectural-bg { display: none; }
.landing-nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 32px));
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 18px 60px rgba(11,31,58,.08);
    backdrop-filter: blur(18px);
}
.landing-nav.full { width: min(1280px, calc(100% - 32px)); }
.landing-logo { width: 188px; display: block; }
.landing-logo img { width: 100%; display: block; }
.landing-nav nav { display: flex; align-items: center; gap: 8px; }
.landing-nav nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--steel);
    font-size: 14px;
    font-weight: 900;
}
.landing-nav nav a:hover { color: var(--navy); background: rgba(11,31,58,.05); }
.landing-eyebrow, .lp-hero-copy span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 900;
}
.landing-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.landing-ghost-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 999px;
    color: white;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    font-weight: 900;
}
.landing-ghost-button.dark { color: var(--navy); border-color: rgba(11,31,58,.1); background: rgba(255,255,255,.74); }
.lp-container { width: min(1280px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 2; }
.lp-hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 116px 0 70px;
    background:
        radial-gradient(circle at 82% 18%, rgba(200,169,106,.22), transparent 32%),
        linear-gradient(135deg, #FFFFFF 0%, #F7F9FC 44%, #EEF3F7 100%);
}
.lp-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11,31,58,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,31,58,.045) 1px, transparent 1px);
    background-size: 92px 92px;
    mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.25));
}
.lp-hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(42px, 6vw, 82px); align-items: center; }
.lp-hero-copy h1 { margin: 16px 0; font-size: clamp(56px, 8vw, 106px); line-height: .86; font-weight: 900; letter-spacing: 0; }
.lp-hero-copy p { max-width: 660px; color: var(--steel); font-size: 19px; line-height: 1.65; }
.lp-product-stage {
    position: relative;
    min-height: 650px;
    border-radius: 8px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 38px 120px rgba(11,31,58,.14);
    backdrop-filter: blur(18px);
    padding: 22px;
}
.lp-floating-tabs {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 4;
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(11,31,58,.08);
}
.lp-floating-tabs button {
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: var(--steel);
    background: transparent;
    font-weight: 900;
}
.lp-floating-tabs button.active { color: white; background: var(--navy); }
.lp-screen {
    display: none;
    height: 100%;
    min-height: 604px;
    overflow: hidden;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid rgba(11,31,58,.08);
}
.lp-screen.active { display: grid; grid-template-columns: 210px 1fr; }
.lp-screen aside { padding: 86px 16px 18px; background: white; border-right: 1px solid rgba(11,31,58,.07); display: grid; align-content: start; gap: 10px; }
.lp-screen aside img { width: 150px; margin-bottom: 16px; }
.lp-screen aside span { min-height: 38px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: rgba(11,31,58,.04); color: var(--steel); font-size: 13px; font-weight: 900; }
.lp-screen main { padding: 86px 22px 22px; display: grid; gap: 16px; align-content: start; }
.lp-client-hero { min-height: 230px; display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 26px; border-radius: 8px; color: white; background: linear-gradient(135deg, rgba(11,31,58,.94), rgba(11,31,58,.68)), url('/assets/img/landing-building-cover.png') center/cover; }
.lp-client-hero .liquid-label, .lp-client-hero .liquid-label span { color: white; }
.lp-client-hero small, .lp-builder-composer small { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.lp-client-hero h3, .lp-builder-composer h3 { margin-top: 8px; font-size: 34px; line-height: 1; font-weight: 900; }
.lp-client-hero p, .lp-builder-composer p { color: rgba(255,255,255,.76); margin-top: 8px; }
.lp-stage-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lp-stage-row span { height: 92px; border-radius: 8px; background: white; box-shadow: 0 12px 32px rgba(11,31,58,.05); }
.lp-feed-card { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 8px; background: white; box-shadow: 0 12px 32px rgba(11,31,58,.05); }
.lp-feed-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; }
.lp-feed-card strong { font-size: 19px; font-weight: 900; }
.lp-feed-card p { color: var(--steel); }
.lp-builder-composer { min-height: 250px; display: grid; grid-template-columns: 1fr 190px; gap: 18px; align-items: center; padding: 26px; border-radius: 8px; background: var(--navy); color: white; }
.lp-upload-box { height: 150px; display: grid; place-items: center; align-content: center; gap: 8px; border-radius: 8px; border: 1px dashed rgba(255,255,255,.32); background: rgba(255,255,255,.1); color: white; font-weight: 900; }
.lp-upload-box i { color: var(--gold); font-size: 32px; }
.lp-preview-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.lp-preview-split article { padding: 22px; border-radius: 8px; background: white; }
.lp-preview-split strong { font-size: 22px; font-weight: 900; }
.lp-preview-split p { color: var(--steel); margin-top: 8px; }
.lp-preview-split img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; }
.lp-band { padding: 110px 0; }
.lp-band.white { background: #FFFFFF; }
.lp-band.navy { background: var(--navy); color: white; }
.lp-band.navy p { color: rgba(255,255,255,.74); }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.lp-split.reverse { grid-template-columns: 1.05fr .95fr; }
.lp-split h2, .landing-centered-title h2, .lp-cta-full h2 { margin-top: 12px; font-size: clamp(40px, 6vw, 78px); line-height: .92; font-weight: 900; }
.lp-split p { margin-top: 18px; color: var(--steel); font-size: 18px; line-height: 1.65; }
.lp-interactive-card { padding: 24px; border-radius: 8px; background: #F8FAFC; box-shadow: 0 20px 70px rgba(11,31,58,.08); }
.lp-interactive-card > button { min-height: 42px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(11,31,58,.06); color: var(--steel); font-weight: 900; margin: 0 6px 16px 0; }
.lp-interactive-card > button.active { background: var(--navy); color: white; }
.lp-card-preview { min-height: 310px; display: grid; place-items: center; align-content: center; text-align: center; gap: 12px; border-radius: 8px; background: white; }
.lp-card-preview i { color: var(--gold); font-size: 44px; }
.lp-card-preview strong { font-size: 28px; font-weight: 900; }
.lp-card-preview p { max-width: 360px; color: var(--steel); margin: 0; }
.lp-mini-dashboard { padding: 22px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 90px rgba(0,0,0,.18); }
.lp-mini-head { height: 42px; display: flex; gap: 8px; align-items: center; }
.lp-mini-head span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); }
.lp-mini-projects { display: grid; gap: 14px; }
.lp-mini-projects article, .lp-mini-projects button { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; border: 0; border-radius: 8px; background: white; color: var(--navy); text-align: left; font-weight: 900; }
.lp-mini-projects em { color: var(--gold); font-size: 28px; font-style: normal; }
.lp-mini-projects button { justify-content: center; color: white; background: rgba(200,169,106,.22); border: 1px dashed rgba(200,169,106,.48); }
.lp-cta-full { padding: 120px 0; color: white; background: linear-gradient(135deg, var(--navy), #163B68); }
.lp-cta-full h2 { max-width: 900px; margin-bottom: 28px; }
.landing-footer.full { width: min(1280px, calc(100% - 40px)); }

/* Landing polish: fintech premium */
.landing-v2 .lp-hero {
    background:
        linear-gradient(105deg, rgba(11,31,58,.96), rgba(11,31,58,.82) 42%, rgba(11,31,58,.58)),
        url('/assets/img/landing-building-cover.png') center/cover;
}
.landing-v2 .lp-hero-bg {
    background-image:
        radial-gradient(circle at 78% 20%, rgba(200,169,106,.2), transparent 26%),
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.55));
}
.landing-v2 .lp-hero-copy h1 { color: white; }
.landing-v2 .lp-hero-copy p { color: rgba(255,255,255,.78); }
.landing-v2 .landing-ghost-button.dark { color: var(--navy); border-color: rgba(11,31,58,.1); background: rgba(255,255,255,.78); }
.landing-v2 .lp-product-stage {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.22);
    transform: translateY(16px);
}
.landing-v2 .lp-floating-tabs { background: rgba(255,255,255,.16); backdrop-filter: blur(14px); }
.landing-v2 .lp-floating-tabs button { color: rgba(255,255,255,.72); }
.landing-v2 .lp-floating-tabs button.active { color: var(--navy); background: white; }
.landing-v2 .lp-screen { background: rgba(248,250,252,.96); border-color: rgba(255,255,255,.3); }
.landing-v2 .lp-screen main { max-width: 100%; overflow: hidden; }
.landing-v2 .lp-builder-composer h3, .landing-v2 .lp-client-hero h3 { color: white; }
.landing-v2 .lp-builder-composer p, .landing-v2 .lp-client-hero p { color: rgba(255,255,255,.76); }
.landing-v2 .lp-client-hero { min-height: 218px; padding: 24px; }
.lp-mini-percent {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(200,169,106,.5);
    box-shadow: inset 0 0 0 8px rgba(200,169,106,.12), 0 18px 44px rgba(0,0,0,.18);
}
.lp-mini-percent strong { font-size: 32px; line-height: 1; }
.lp-mini-percent span { color: rgba(255,255,255,.76); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.landing-v2 .lp-stage-row span {
    height: 92px;
    display: grid;
    align-content: center;
    gap: 9px;
    padding: 14px;
}
.landing-v2 .lp-stage-row i { color: var(--gold); font-size: 20px; }
.landing-v2 .lp-stage-row strong { font-size: 13px; line-height: 1.1; }
.landing-v2 .gold-accent { position: relative; overflow: hidden; }
.landing-v2 .gold-accent::before {
    content: "";
    position: absolute;
    right: -180px;
    top: 40px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,169,106,.18), transparent 64%);
}
.lp-gold-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: 999px;
    background: rgba(200,169,106,.13);
    color: var(--navy);
    font-weight: 900;
}
.lp-gold-note i { color: var(--gold); }
.landing-v2 .landing-flow-grid article i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(200,169,106,.12);
    font-size: 20px;
}
.premium-footer {
    margin-top: -52px;
    margin-bottom: 28px;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 24px;
    align-items: center;
    padding: 22px;
    border-radius: 8px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.88);
    box-shadow: 0 24px 80px rgba(11,31,58,.1);
    backdrop-filter: blur(18px);
}
.premium-footer div { display: flex; align-items: center; gap: 16px; }
.premium-footer nav { display: flex; gap: 8px; flex-wrap: wrap; }
.premium-footer nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--steel);
    font-weight: 900;
    font-size: 13px;
}
.premium-footer nav a:hover { background: rgba(11,31,58,.05); color: var(--navy); }
.premium-footer small { color: var(--steel); font-weight: 900; }
.landing-hero-panel {
    position: absolute;
    right: clamp(24px, 5vw, 64px);
    bottom: clamp(34px, 6vw, 84px);
    width: 310px;
    display: grid;
    gap: 16px;
    justify-items: center;
    padding: 24px;
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(18px);
    color: white;
}
.landing-hero-panel .liquid-label, .landing-hero-panel .liquid-label span { color: white; }
.landing-hero-panel strong { display: block; text-align: center; font-size: 22px; }
.landing-hero-panel span { display: block; margin-top: 5px; color: rgba(255,255,255,.74); font-weight: 800; }
.landing-section, .landing-showcase, .landing-cta {
    width: min(1180px, calc(100% - 32px));
    margin: 110px auto;
}
.landing-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.landing-section h2, .landing-showcase h2, .landing-cta h2 {
    margin-top: 12px;
    font-size: clamp(36px, 5vw, 72px);
    line-height: .95;
    font-weight: 900;
}
.landing-section p, .landing-showcase p { margin-top: 18px; color: var(--steel); font-size: 18px; line-height: 1.65; }
.landing-feature-stack { display: grid; gap: 14px; }
.landing-feature-stack article, .landing-flow-grid article {
    padding: 26px;
    border-radius: 8px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 18px 60px rgba(11,31,58,.07);
}
.landing-feature-stack i { color: var(--gold); font-size: 26px; margin-bottom: 18px; }
.landing-feature-stack strong, .landing-flow-grid h3 { display: block; font-size: 24px; font-weight: 900; }
.landing-feature-stack p, .landing-flow-grid p { margin-top: 8px; font-size: 15px; }
.landing-showcase {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
    align-items: center;
}
.landing-product-frame {
    overflow: hidden;
    border-radius: 8px;
    background: #07172B;
    box-shadow: 0 34px 100px rgba(11,31,58,.18);
}
.fake-browser { height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fake-browser span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.22); }
.fake-composer { display: grid; grid-template-columns: .95fr 1.05fr; gap: 18px; align-items: center; padding: 28px; color: white; }
.fake-composer small { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.fake-composer h3 { margin-top: 12px; font-size: 42px; line-height: .96; font-weight: 900; }
.fake-composer p { color: rgba(255,255,255,.72); margin-top: 12px; }
.fake-composer img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.fake-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.fake-tags span { padding: 8px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: white; font-size: 12px; font-weight: 900; }
.landing-centered-title { text-align: center; max-width: 900px; margin: 0 auto 34px; }
.landing-flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.landing-flow-grid article span { color: var(--gold); font-size: 13px; font-weight: 900; }
.landing-flow-grid h3 { margin-top: 18px; }
.landing-cta {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding: clamp(32px, 5vw, 58px);
    border-radius: 8px;
    background: var(--navy);
    color: white;
    box-shadow: 0 30px 90px rgba(11,31,58,.16);
}
.landing-cta h2 { max-width: 760px; }
.landing-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 36px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    color: var(--steel);
    font-size: 14px;
}
.landing-footer img { width: 170px; }

@media (max-width: 960px) {
    .landing-nav nav a:not(:last-child) { display: none; }
    .landing-hero { min-height: 840px; }
    .landing-hero-panel { left: 28px; right: auto; bottom: 34px; width: min(300px, calc(100% - 56px)); }
    .landing-hero-content { bottom: 330px; right: 28px; }
    .landing-split, .landing-showcase, .fake-composer { grid-template-columns: 1fr; }
    .landing-flow-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-cta, .landing-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
    .landing-nav { top: 10px; width: calc(100% - 20px); }
    .landing-logo { width: 150px; }
    .landing-hero { width: calc(100% - 20px); min-height: 760px; margin-top: 10px; }
    .landing-hero-content { left: 22px; right: 22px; bottom: 300px; }
    .landing-hero-content h1 { font-size: 48px; }
    .landing-hero-panel { left: 22px; bottom: 24px; width: calc(100% - 44px); }
    .landing-section, .landing-showcase, .landing-cta { margin: 74px auto; }
    .landing-flow-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    .landing-v2 .lp-hero-grid { grid-template-columns: 1fr; }
    .landing-v2 .lp-product-stage { min-height: auto; }
    .landing-v2 .lp-screen.active { grid-template-columns: 1fr; }
    .landing-v2 .lp-screen aside { display: none; }
    .landing-v2 .lp-screen main { padding: 86px 16px 16px; }
    .premium-footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .landing-v2 .lp-client-hero { flex-direction: column; align-items: flex-start; }
    .landing-v2 .lp-stage-row { grid-template-columns: repeat(2, 1fr); }
}

@media print {
    .site-header, .support-form, .premium-button, .media-modal { display: none !important; }
    .client-hero { min-height: 360px; }
    .content-band, .split-band, .report-strip { margin: 36px auto; }
}

/* Client premium portal */
.client-body { background: #F7F9FC; }
.client-sidebar {
    position: fixed;
    inset: 18px auto 18px 18px;
    width: 286px;
    z-index: 40;
    padding: 22px;
    border-radius: 8px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.88);
    box-shadow: 0 24px 80px rgba(11,31,58,.10);
    backdrop-filter: blur(22px);
    display: flex;
    flex-direction: column;
}
.client-sidebar-brand { padding: 4px 4px 24px; border-bottom: 1px solid rgba(11,31,58,.08); }
.client-sidebar-brand img { width: 190px; display: block; }
.client-switch-link {
    margin-top: 14px;
    min-height: 38px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(11,31,58,.08);
    background: rgba(11,31,58,.04);
    color: var(--navy) !important;
    font-size: 12px !important;
}
.client-sidebar nav { display: grid; gap: 6px; margin-top: 22px; }
.client-sidebar a {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--steel);
    font-size: 14px;
    font-weight: 800;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.client-sidebar a:hover, .client-sidebar a.active { color: var(--navy); background: rgba(200,169,106,.13); transform: translateX(3px); }
.client-sidebar i { width: 22px; flex: 0 0 22px; text-align: center; font-size: 17px; line-height: 1; }
.client-portal { margin-left: 322px; min-height: 100vh; padding: 18px 24px 70px 0; }
.client-page-shell { width: min(100%, 1240px); margin: 0 auto; display: grid; gap: 34px; }
.client-topbar {
    width: min(100%, 1240px);
    margin: 0 auto 24px;
    min-height: 84px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 14px 16px 14px 20px;
    border-radius: 8px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.86);
    box-shadow: 0 18px 60px rgba(11,31,58,.07);
    backdrop-filter: blur(18px);
}
.client-menu-button { display: none; width: 42px; height: 42px; border: 1px solid rgba(11,31,58,.1); border-radius: 8px; background: white; place-items: center; color: var(--navy); font-size: 18px; }
.client-hello span { display: block; font-size: 20px; font-weight: 900; }
.client-hello small { color: var(--steel); font-weight: 700; }
.client-summary { display: flex; align-items: center; gap: 18px; }
.client-summary div { min-width: 138px; padding-left: 18px; border-left: 1px solid rgba(11,31,58,.08); }
.client-summary span { display: block; color: var(--steel); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.client-summary strong { display: block; margin-top: 4px; font-size: 13px; }
.client-avatar { width: var(--avatar-size); height: var(--avatar-size); border-radius: 50%; object-fit: cover; flex: 0 0 var(--avatar-size); }
.svg-avatar { position: relative; display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 28px rgba(11,31,58,.16); }
.svg-avatar svg { width: 100%; height: 100%; }
.svg-avatar span { position: absolute; color: white; opacity: 0; }
.client-work-hero {
    min-height: 580px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--navy);
    box-shadow: 0 30px 90px rgba(11,31,58,.16);
}
.client-work-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.client-work-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,31,58,.9), rgba(11,31,58,.35) 58%, rgba(11,31,58,.72)); }
.client-work-copy { position: absolute; left: clamp(28px, 5vw, 62px); bottom: clamp(34px, 6vw, 76px); max-width: 720px; color: white; }
.client-work-copy span, .client-section-title span, .report-hero span, .calendar-head span, .modal-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 900;
}
.client-work-copy h1 { margin: 14px 0; font-size: clamp(46px, 7vw, 92px); line-height: .9; font-weight: 900; letter-spacing: 0; }
.client-work-copy p { color: rgba(255,255,255,.82); font-size: 18px; }
.work-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.work-hero-meta strong { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); }
.client-work-progress { position: absolute; right: clamp(28px, 5vw, 62px); bottom: clamp(34px, 6vw, 70px); }
.liquid-progress { width: var(--size); height: var(--size); position: relative; display: grid; place-items: center; color: var(--gold); }
.liquid-progress svg { width: 100%; height: 100%; overflow: visible; }
.liquid-shell { fill: rgba(255,255,255,.1); stroke: rgba(200,169,106,.88); stroke-width: 3; filter: drop-shadow(0 0 14px rgba(200,169,106,.34)); animation: goldGlow 2.8s ease-in-out infinite; }
.liquid-base { fill: rgba(200,169,106,.28); animation: liquidPulse 4.2s ease-in-out infinite; }
.liquid-wave { fill: url(#liquidFill); opacity: .82; animation: waveMove 4.8s linear infinite; }
.wave-two { opacity: .44; animation-duration: 6.8s; animation-direction: reverse; }
.liquid-inner-line { fill: none; stroke: rgba(255,255,255,.34); stroke-width: 1.5; }
.liquid-arc { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2; stroke-linecap: round; }
.liquid-label { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; color: white; text-align: center; }
.liquid-label strong { font-size: 42px; line-height: 1; }
.liquid-label span { width: 110px; margin-top: 8px; color: rgba(255,255,255,.76); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-82px); } }
@keyframes liquidPulse { 50% { opacity: .7; transform: translateY(-2px); } }
@keyframes goldGlow { 50% { filter: drop-shadow(0 0 22px rgba(200,169,106,.62)); } }
.client-section { display: grid; gap: 24px; }
.client-section-title h1, .client-section-title h2 { margin-top: 9px; max-width: 760px; font-size: clamp(32px, 4.6vw, 58px); line-height: .98; font-weight: 900; letter-spacing: 0; }
.client-section-title.with-actions { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.stage-visual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.stage-visual-card {
    min-height: 246px;
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 24px 24px, rgba(200,169,106,.13), transparent 34%),
        rgba(255,255,255,.84);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 18px 60px rgba(11,31,58,.07);
    transition: transform .24s ease, box-shadow .24s ease;
}
.stage-visual-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -58px auto;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(200,169,106,.22);
    border-radius: 50%;
}
.stage-visual-card:hover { transform: translateY(-6px); box-shadow: 0 26px 70px rgba(11,31,58,.12); }
.stage-icon-badge {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(249,250,251,.58));
    border: 1px solid rgba(200,169,106,.32);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 38px rgba(11,31,58,.08);
    margin-bottom: 30px;
}
.stage-icon-badge i { font-size: 26px; }
.stage-visual-copy span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(11,31,58,.05);
    color: var(--steel);
    text-transform: capitalize;
    font-size: 11px;
    font-weight: 900;
}
.stage-visual-card.concluido .stage-visual-copy span { background: rgba(200,169,106,.16); color: var(--navy); }
.stage-visual-card.em_andamento .stage-visual-copy span { background: rgba(200,169,106,.11); color: #8A6A22; }
.stage-visual-copy h3 { margin-top: 12px; max-width: 170px; font-size: 21px; line-height: 1.02; font-weight: 900; }
.stage-visual-card > strong {
    position: absolute;
    top: 26px;
    right: 24px;
    font-size: 26px;
    letter-spacing: 0;
}
.mini-progress {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    height: 8px;
    border-radius: 999px;
    background: rgba(11,31,58,.07);
    overflow: hidden;
}
.mini-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #B8913D, #E7CC83);
    box-shadow: 0 0 16px rgba(200,169,106,.46);
}
.two-column-premium { grid-template-columns: 1.25fr .75fr; align-items: start; gap: 28px; }
.mini-feed, .client-feed-list, .notice-list, .support-conversation, .support-admin-list { display: grid; gap: 18px; }
.client-feed-card {
    padding: 24px;
    border-radius: 8px;
    background: white;
    border: 1px solid rgba(11,31,58,.07);
    box-shadow: 0 18px 54px rgba(11,31,58,.06);
}
.client-feed-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.client-feed-meta time, .client-feed-meta span, .client-feed-meta strong { padding: 8px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; background: rgba(11,31,58,.05); color: var(--steel); }
.client-feed-meta strong { background: rgba(200,169,106,.18); color: var(--navy); }
.client-feed-card h2 { font-size: 26px; font-weight: 900; }
.client-feed-card p { margin-top: 8px; color: var(--steel); line-height: 1.6; }
.client-feed-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.client-feed-media img, .client-feed-media video { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; background: #EEF2F6; }
.insight-panel, .support-compose, .report-hero {
    padding: clamp(24px, 4vw, 42px);
    border-radius: 8px;
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 18px 60px rgba(11,31,58,.07);
}
.insight-panel > p { color: var(--steel); font-size: 17px; line-height: 1.6; margin-bottom: 22px; }
.view-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(11,31,58,.06); }
.view-tabs button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--steel); font-weight: 900; cursor: pointer; }
.view-tabs button.active { background: var(--navy); color: white; box-shadow: 0 12px 28px rgba(11,31,58,.18); }
.timeline-view { display: none; }
.timeline-view.active { display: block; }
.route-view {
    position: relative;
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 50px 0 28px;
    scroll-snap-type: x proximity;
}
.route-view::before { content: ""; position: absolute; left: 80px; right: 80px; top: 76px; height: 3px; background: linear-gradient(90deg, var(--gold), rgba(107,114,128,.22)); }
.route-point {
    min-width: 220px;
    position: relative;
    border: 0;
    background: transparent;
    color: var(--navy);
    text-align: left;
    padding: 58px 16px 0;
    cursor: pointer;
    scroll-snap-align: start;
}
.route-point > span { position: absolute; top: 17px; left: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 9px rgba(200,169,106,.16); }
.route-point.current > span { animation: goldGlow 2s ease-in-out infinite; }
.route-point small { display: block; color: var(--gold); font-weight: 900; }
.route-point strong { display: block; margin-top: 6px; font-size: 16px; line-height: 1.2; }
.calendar-shell { display: grid; gap: 18px; }
.calendar-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.calendar-head h1 { margin-top: 8px; font-size: clamp(34px, 5vw, 62px); font-weight: 900; line-height: .95; }
.calendar-head a { display: inline-flex; min-height: 42px; align-items: center; padding: 0 14px; margin-left: 8px; border-radius: 999px; background: white; color: var(--navy); font-weight: 900; box-shadow: 0 12px 32px rgba(11,31,58,.07); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.calendar-weekdays span { color: var(--steel); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; padding: 0 4px; }
.calendar-day {
    min-height: 116px;
    position: relative;
    border: 1px solid rgba(11,31,58,.07);
    border-radius: 8px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 12px 34px rgba(11,31,58,.04);
    text-align: left;
    padding: 14px;
    cursor: default;
}
.calendar-day.has-media { cursor: pointer; background: white; }
.calendar-day strong { font-size: 18px; }
.calendar-day span { position: absolute; left: 14px; bottom: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px rgba(200,169,106,.14); }
.calendar-day.today { outline: 2px solid rgba(200,169,106,.7); }
.calendar-day.muted { visibility: hidden; }
.notice-card {
    padding: 26px;
    border-radius: 8px;
    background: white;
    border: 1px solid rgba(11,31,58,.07);
    box-shadow: 0 18px 54px rgba(11,31,58,.06);
}
.notice-card > div { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.notice-card span { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 900; }
.notice-card time { color: var(--steel); font-weight: 800; font-size: 13px; }
.notice-card h2 { margin-top: 14px; font-size: 25px; font-weight: 900; }
.notice-card p { margin-top: 10px; color: var(--steel); line-height: 1.65; }
.support-layout { grid-template-columns: 1fr 420px; align-items: start; gap: 26px; }
.support-ticket {
    padding: 24px;
    border-radius: 8px;
    background: white;
    border: 1px solid rgba(11,31,58,.07);
    box-shadow: 0 18px 54px rgba(11,31,58,.06);
}
.support-ticket > div { display: flex; justify-content: space-between; gap: 12px; }
.support-ticket span { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 900; }
.support-ticket strong { color: var(--navy); background: rgba(200,169,106,.16); padding: 6px 10px; border-radius: 999px; font-size: 12px; }
.support-ticket p { color: var(--steel); margin-top: 12px; line-height: 1.6; }
.support-ticket section { margin-top: 18px; padding: 16px; border-radius: 8px; background: rgba(11,31,58,.04); }
.support-ticket time { display: block; margin-top: 14px; color: var(--steel); font-size: 12px; }
.report-page { min-height: 520px; align-content: center; }
.report-hero { display: flex; justify-content: space-between; align-items: center; gap: 30px; background: linear-gradient(135deg, white, rgba(249,250,251,.78)); }
.report-hero h1 { max-width: 720px; margin: 12px 0; font-size: clamp(38px, 5.8vw, 74px); line-height: .94; font-weight: 900; }
.report-hero p { max-width: 560px; color: var(--steel); font-size: 17px; line-height: 1.6; margin-bottom: 22px; }
.client-modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 24px; background: rgba(11,31,58,.78); backdrop-filter: blur(14px); }
.client-modal.open { display: grid; }
.client-modal-body { width: min(920px, 94vw); max-height: 86vh; overflow: auto; padding: 30px; border-radius: 8px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.client-modal-body h2 { margin-top: 10px; font-size: 34px; font-weight: 900; }
.client-modal-body p { color: var(--steel); line-height: 1.6; margin-top: 10px; }
.client-modal-close { position: fixed; top: 20px; right: 24px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; color: var(--navy); font-size: 28px; cursor: pointer; }
.client-modal-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 22px; }
.client-modal-media img, .client-modal-media video { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; background: #EEF2F6; }
.client-modal-media figcaption, .modal-muted { color: var(--steel); font-size: 13px; margin-top: 8px; }
.support-admin-card { padding: 24px; }
.support-admin-head { display: flex; justify-content: space-between; gap: 18px; }
.support-admin-head span { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 900; }
.support-admin-head h2 { margin-top: 8px; font-size: 26px; font-weight: 900; }
.support-admin-head p, .support-admin-card > p { color: var(--steel); }
.admin-response { margin: 18px 0; padding: 16px; background: rgba(200,169,106,.12); border-radius: 8px; }
.client-overlay { display: none; }

/* Builder experience */
.modal-open { overflow: hidden; }
.admin-toast {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    color: white;
    background: var(--navy);
    box-shadow: 0 18px 54px rgba(11,31,58,.24);
    font-weight: 900;
    animation: fadeUp .35s ease both;
}
.admin-toast i { color: var(--gold); }
.builder-shell { width: min(1320px, calc(100% - 32px)); grid-template-columns: 228px 1fr; }
.builder-shell .side-rail a { display: flex; align-items: center; gap: 10px; }
.builder-shell .side-rail a i { width: 18px; text-align: center; color: var(--gold); }
.builder-hero {
    min-height: 560px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--navy);
    box-shadow: 0 30px 90px rgba(11,31,58,.16);
}
.builder-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.builder-hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,31,58,.92), rgba(11,31,58,.38) 56%, rgba(11,31,58,.72)); }
.builder-hero-content {
    position: absolute;
    inset: auto 38px 112px 42px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    color: white;
}
.builder-hero-content span, .builder-command-strip span, .builder-panel-title span, .composer-heading span, .composer-preview > span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 900;
}
.builder-hero-content h1 { max-width: 720px; margin: 14px 0; font-size: clamp(44px, 6vw, 86px); line-height: .9; font-weight: 900; }
.builder-hero-content p { color: rgba(255,255,255,.82); font-size: 18px; }
.builder-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.builder-hero-meta strong { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); }
.builder-progress .liquid-progress { filter: drop-shadow(0 18px 40px rgba(0,0,0,.22)); }
.builder-progress .liquid-label, .builder-progress .liquid-label span { color: white; }
.builder-hero-actions {
    position: absolute;
    left: 42px;
    right: 42px;
    bottom: 38px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.quick-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 999px;
    color: white;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    font-weight: 900;
    cursor: pointer;
    transition: transform .22s ease, background .22s ease;
}
.quick-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
.builder-command-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 18px 60px rgba(11,31,58,.07);
}
.builder-command-strip h2 { margin-top: 8px; font-size: clamp(28px, 4vw, 46px); line-height: 1; font-weight: 900; }
.builder-command-strip p { max-width: 680px; margin-top: 10px; color: var(--steel); line-height: 1.55; }
.builder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.builder-panel {
    padding: 26px;
    border-radius: 8px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 18px 60px rgba(11,31,58,.07);
}
.builder-panel-title h2 { margin-top: 8px; margin-bottom: 20px; font-size: 26px; font-weight: 900; }
.premium-stages p { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(11,31,58,.07); }
.premium-stages p i { color: var(--gold); }
.premium-updates article { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(11,31,58,.07); }
.premium-updates time { display: grid; place-items: center; height: 46px; border-radius: 8px; background: rgba(200,169,106,.16); color: var(--navy); font-weight: 900; }
.premium-updates strong { display: block; font-size: 16px; }
.premium-updates span { display: block; margin-top: 4px; color: var(--steel); font-size: 13px; font-weight: 800; }
.builder-composer-modal { position: fixed; inset: 0; z-index: 90; display: none; padding: 18px; }
.builder-composer-modal.open { display: grid; place-items: center; }
.builder-composer-backdrop { position: absolute; inset: 0; background: rgba(11,31,58,.72); backdrop-filter: blur(14px); }
.builder-composer {
    position: relative;
    width: min(1240px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border-radius: 8px;
    background: #F7F9FC;
    box-shadow: 0 38px 110px rgba(0,0,0,.32);
}
.composer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: var(--navy);
    background: white;
    box-shadow: 0 12px 32px rgba(11,31,58,.12);
    cursor: pointer;
}
.composer-form { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 720px; }
.composer-left { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 4vw, 46px); }
.composer-heading h2 { margin-top: 8px; font-size: clamp(34px, 4.8vw, 58px); line-height: .95; font-weight: 900; }
.composer-card, .composer-field {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.94);
    box-shadow: 0 14px 42px rgba(11,31,58,.06);
}
.composer-card label, .composer-field { color: var(--steel); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.composer-title-input {
    min-height: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    font-weight: 900;
}
.composer-title-input:focus { box-shadow: none; }
.composer-row { display: grid; grid-template-columns: 1fr 190px; gap: 14px; }
.composer-field select, .composer-field input { min-height: 54px; padding-inline: 14px; text-transform: none; letter-spacing: 0; font-size: 15px; }
.slider-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.slider-head strong { font-size: 28px; color: var(--navy); }
.progress-slider {
    appearance: none;
    width: 100%;
    height: 10px;
    min-height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold) var(--value, 67%), rgba(11,31,58,.08) var(--value, 67%));
    box-shadow: none;
}
.progress-slider::-webkit-slider-thumb {
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: 7px solid var(--gold);
    box-shadow: 0 8px 24px rgba(11,31,58,.18);
    cursor: pointer;
}
.upload-card {
    min-height: 210px;
    border: 1px dashed rgba(11,31,58,.18);
    cursor: pointer;
    transition: border .2s ease, transform .2s ease, background .2s ease;
}
.upload-card.dragging { transform: scale(.995); border-color: var(--gold); background: rgba(200,169,106,.08); }
.upload-input { display: none; }
.drop-empty { min-height: 168px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--steel); text-align: center; }
.drop-empty i { color: var(--gold); font-size: 34px; }
.drop-empty strong { color: var(--navy); font-size: 18px; }
.upload-card.has-files .drop-empty { display: none; }
.upload-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
.ai-suggestion-status {
    min-height: 0;
    display: none;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--steel);
    background: rgba(11,31,58,.04);
    font-size: 13px;
    font-weight: 800;
}
.ai-suggestion-status:not(:empty) { display: flex; }
.ai-suggestion-status i { color: var(--gold); }
.ai-suggestion-status.loading i { animation: liquidPulse 1.4s ease-in-out infinite; }
.ai-suggestion-status.done { color: var(--navy); background: rgba(200,169,106,.13); }
.upload-thumb {
    min-height: 118px;
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #EEF2F6;
    cursor: grab;
}
.upload-thumb img { width: 100%; height: 118px; object-fit: cover; display: block; }
.upload-thumb > span {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: rgba(11,31,58,.78);
    font-size: 12px;
    font-weight: 900;
}
.upload-thumb [data-remove-file] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--navy);
    background: white;
}
.upload-thumb div { height: 118px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 12px; color: var(--steel); }
.upload-thumb div i { color: var(--gold); font-size: 24px; }
.upload-thumb div strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.composer-description-field textarea { min-height: 132px; border: 0; background: transparent; box-shadow: none; padding: 0; font-size: 17px; line-height: 1.55; }
.composer-description-field textarea:focus { box-shadow: none; }
.publish-button { min-height: 60px; justify-content: center; font-size: 16px; }
.publish-button.loading { pointer-events: none; opacity: .82; }
.composer-preview {
    position: sticky;
    top: 0;
    min-height: 720px;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: clamp(24px, 4vw, 46px);
    background:
        linear-gradient(135deg, rgba(11,31,58,.94), rgba(11,31,58,.78)),
        url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C8A96A' stroke-opacity='.14'%3E%3Ccircle cx='60' cy='60' r='32'/%3E%3Cpath d='M0 60h120M60 0v120'/%3E%3C/g%3E%3C/svg%3E");
}
.preview-card {
    overflow: hidden;
    border-radius: 8px;
    background: white;
    box-shadow: 0 28px 82px rgba(0,0,0,.28);
}
.preview-media { min-height: 280px; display: grid; place-items: center; background: linear-gradient(135deg, #EEF2F6, #FFFFFF); color: var(--gold); font-size: 46px; }
.preview-media img { width: 100%; height: 280px; object-fit: cover; display: block; }
.preview-media span { display: block; margin-top: 8px; color: var(--steel); font-size: 14px; font-weight: 900; }
.preview-meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 20px 0; }
.preview-meta time, .preview-meta strong, .preview-meta em { padding: 7px 10px; border-radius: 999px; background: rgba(11,31,58,.05); color: var(--steel); font-size: 12px; font-style: normal; font-weight: 900; }
.preview-meta em { background: rgba(200,169,106,.18); color: var(--navy); }
.preview-card h3 { padding: 16px 20px 0; font-size: 28px; line-height: 1.02; font-weight: 900; }
.preview-card p { padding: 10px 20px 22px; color: var(--steel); line-height: 1.58; }
.hidden { display: none !important; }

.company-home {
    width: min(1240px, calc(100% - 32px));
    margin: 50px auto 90px;
    display: grid;
    gap: 34px;
}
.company-home-hero {
    min-height: 280px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    padding: clamp(30px, 5vw, 58px);
    border-radius: 8px;
    background:
        linear-gradient(115deg, rgba(11,31,58,.95), rgba(11,31,58,.72)),
        url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C8A96A' stroke-opacity='.16'%3E%3Ccircle cx='80' cy='80' r='44'/%3E%3Cpath d='M0 80h160M80 0v160M40 40h80v80H40z'/%3E%3C/g%3E%3C/svg%3E");
    color: white;
    box-shadow: 0 30px 90px rgba(11,31,58,.16);
}
.company-home-hero span, .company-projects-head span, .company-project-card span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 900;
}
.company-home-hero h1 { max-width: 780px; margin: 12px 0; font-size: clamp(42px, 6vw, 78px); line-height: .94; font-weight: 900; }
.company-home-hero p { max-width: 620px; color: rgba(255,255,255,.78); font-size: 18px; }
.company-projects-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}
.company-projects-head h2 { margin-top: 8px; font-size: clamp(32px, 5vw, 58px); line-height: 1; font-weight: 900; }
.company-projects-head strong { padding: 10px 14px; border-radius: 999px; background: white; box-shadow: 0 12px 34px rgba(11,31,58,.06); }
.company-project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 18px; }
.company-project-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 8px;
    background: rgba(255,255,255,.84);
    box-shadow: 0 18px 60px rgba(11,31,58,.08);
    text-align: left;
    transition: transform .24s ease, box-shadow .24s ease;
}
.company-project-card:hover { transform: translateY(-5px); box-shadow: 0 28px 80px rgba(11,31,58,.12); }
.company-project-card > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.company-project-content { padding: 22px; }
.company-project-content h3 { margin-top: 10px; font-size: 28px; line-height: 1; font-weight: 900; }
.company-project-content p { margin-top: 10px; color: var(--steel); line-height: 1.5; }
.company-project-progress { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 20px 0; }
.company-project-progress strong { font-size: 24px; }
.company-project-progress div { height: 8px; border-radius: 999px; background: rgba(11,31,58,.08); overflow: hidden; }
.company-project-progress div span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #B8913D, #E7CC83); }
.company-project-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-button.light {
    color: var(--navy);
    background: rgba(11,31,58,.05);
    border-color: rgba(11,31,58,.08);
    backdrop-filter: none;
    text-decoration: none;
}
.add-project-card {
    min-height: 462px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 1px dashed rgba(11,31,58,.18);
    color: var(--steel);
    cursor: pointer;
    padding: 26px;
}
.add-project-card i {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(200,169,106,.12);
    font-size: 28px;
}
.add-project-card strong { color: var(--navy); font-size: 24px; }
.add-project-card span { max-width: 260px; color: var(--steel); text-align: center; text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 1.5; }
.project-create-modal { position: fixed; inset: 0; z-index: 90; display: none; padding: 18px; }
.project-create-modal.open { display: grid; place-items: center; }
.project-create-backdrop { position: absolute; inset: 0; background: rgba(11,31,58,.72); backdrop-filter: blur(14px); }
.project-create-panel {
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    display: grid;
    gap: 16px;
    padding: clamp(28px, 5vw, 52px);
    border-radius: 8px;
    background: #F7F9FC;
    box-shadow: 0 38px 110px rgba(0,0,0,.32);
}

@media (max-width: 860px) {
    .super-console { grid-template-columns: 1fr; width: min(100% - 20px, 720px); margin-top: 10px; }
    .super-console-rail {
        position: relative;
        top: 0;
        min-height: auto;
        grid-template-columns: 1fr;
    }
    .super-console-rail nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .super-console-exit { justify-content: center; }
    .super-console-top {
        min-height: 560px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        padding: 34px 24px;
    }
    .super-console-top .premium-button { width: 100%; justify-content: center; }
    .super-kpi-strip, .super-workspace, .super-step-grid { grid-template-columns: 1fr; }
    .super-company-list article { grid-template-columns: 54px 1fr; }
    .super-company-list article > div:not(.company-orb):not(.company-main), .company-status { grid-column: 2; justify-self: start; }
    .super-section-head { align-items: flex-start; flex-direction: column; }
    .email-timeline article { grid-template-columns: 44px 1fr; }
    .email-timeline article > span { grid-column: 2; justify-self: start; }
    .super-admin-home { margin-top: 24px; }
    .super-hero, .access-vault, .super-grid { grid-template-columns: 1fr; }
    .super-hero { flex-direction: column; align-items: flex-start; }
    .super-hero .premium-button, .super-create-card .premium-button { width: 100%; justify-content: center; }
    .super-create-card { position: static; }
    .access-vault dl { grid-template-columns: 1fr; }
    .company-row, .mail-row { grid-template-columns: 42px 1fr; }
    .company-row > span, .mail-row > span { grid-column: 2; justify-self: start; }
    .company-home { margin-top: 24px; }
    .company-home-hero, .company-projects-head, .profile-hero { flex-direction: column; align-items: flex-start; }
    .company-home-hero .premium-button { width: 100%; justify-content: center; }
    .company-hero-actions { width: 100%; }
    .company-hero-actions .quick-button, .company-hero-actions .premium-button { width: 100%; justify-content: center; }
    .profile-avatar-editor { align-items: flex-start; flex-direction: column; }
    .company-project-actions .premium-button, .company-project-actions .quick-button { width: 100%; justify-content: center; }
    .add-project-card { min-height: 320px; }
    .project-create-modal { padding: 0; }
    .project-create-panel { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; padding-top: 74px; }
}

@media (max-width: 1100px) {
    .client-summary { display: none; }
    .two-column-premium, .support-layout { grid-template-columns: 1fr; }
    .client-work-progress { position: relative; right: auto; bottom: auto; margin: 0 0 32px 28px; align-self: end; }
    .client-work-hero { display: grid; align-items: end; }
    .builder-shell { grid-template-columns: 1fr; }
    .builder-hero-content { align-items: start; flex-direction: column; bottom: 132px; }
    .builder-progress { display: none; }
    .builder-grid, .composer-form { grid-template-columns: 1fr; }
    .composer-preview { position: relative; min-height: auto; }
}

@media (max-width: 860px) {
    .client-sidebar { transform: translateX(-112%); transition: transform .24s ease; inset: 12px auto 12px 12px; width: min(300px, calc(100vw - 24px)); }
    .client-sidebar.open { transform: translateX(0); }
    .client-overlay.open { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(11,31,58,.32); backdrop-filter: blur(4px); }
    .client-portal { margin-left: 0; padding: 12px 12px 54px; }
    .client-topbar { grid-template-columns: auto 1fr auto; margin-bottom: 16px; min-height: 72px; }
    .client-menu-button { display: grid; }
    .client-hello span { font-size: 17px; }
    .client-hello small { display: none; }
    .client-work-hero { min-height: 680px; }
    .client-work-copy { left: 22px; right: 22px; bottom: 246px; }
    .client-work-progress { margin-left: 22px; }
    .client-section-title.with-actions, .calendar-head, .report-hero { flex-direction: column; align-items: flex-start; }
    .calendar-weekdays, .calendar-grid { gap: 6px; }
    .calendar-day { min-height: 76px; padding: 10px; }
    .report-hero { display: flex; }
    .builder-shell { width: min(100%, calc(100% - 24px)); }
    .builder-hero { min-height: 620px; }
    .builder-hero-content { left: 22px; right: 22px; bottom: 144px; }
    .builder-hero-actions { left: 22px; right: 22px; bottom: 24px; flex-direction: column; align-items: stretch; }
    .builder-hero-actions .premium-button, .builder-hero-actions .quick-button, .builder-command-strip .premium-button { justify-content: center; width: 100%; }
    .builder-command-strip { flex-direction: column; align-items: stretch; padding: 22px; }
    .builder-composer-modal { padding: 0; }
    .builder-composer { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
    .composer-form { min-height: 100vh; }
    .composer-left { padding: 22px; padding-top: 68px; }
    .composer-row { grid-template-columns: 1fr; }
    .upload-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .composer-preview { padding: 22px; }
    .preview-media, .preview-media img { min-height: 210px; height: 210px; }
}

/* Mobile-first polish layer */
img, video, svg, canvas { max-width: 100%; }
main, section, article, aside, header, footer, form, nav, div { min-width: 0; }
a, button, input, textarea, select { max-width: 100%; }
.premium-button, .quick-button { min-width: 0; white-space: normal; text-align: center; }
.client-table, .table-scroll, .support-admin-list, .super-company-list, .email-timeline { overflow-x: auto; }
table { min-width: 680px; }

@media (max-width: 1180px) {
    .login-experience,
    .admin-shell,
    .builder-shell,
    .company-home,
    .super-console,
    .super-admin-home {
        width: min(100% - 24px, 920px);
    }

    .login-experience {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 28px;
        padding: 28px 0 56px;
    }

    .login-visual {
        display: grid;
        justify-items: start;
    }

    .auth-card {
        justify-self: stretch;
        width: 100%;
    }

    .site-header {
        width: min(100% - 24px, 920px);
        gap: 14px;
    }

    .client-summary,
    .builder-progress {
        display: none;
    }

    .super-console,
    .admin-shell,
    .builder-shell,
    .super-grid,
    .access-vault,
    .two-column-premium,
    .support-layout,
    .builder-grid,
    .composer-form,
    .project-command,
    .split-band {
        grid-template-columns: 1fr;
    }

    .side-rail {
        position: relative;
        top: 0;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .side-rail strong {
        grid-column: 1 / -1;
        margin-bottom: 4px;
    }

    .builder-hero-content,
    .builder-hero-actions {
        left: 28px;
        right: 28px;
    }

    .builder-hero-content {
        bottom: 132px;
        align-items: flex-start;
        flex-direction: column;
    }

    .company-home-hero,
    .company-projects-head,
    .profile-hero,
    .super-console-top,
    .super-hero,
    .report-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .composer-preview {
        position: relative;
        min-height: 420px;
    }
}

@media (max-width: 860px) {
    body {
        font-size: 15px;
    }

    .site-header {
        flex-direction: column;
        align-items: stretch;
        margin-top: 12px;
    }

    .brand {
        width: 168px;
        min-height: 48px;
        padding: 7px 9px;
    }

    .top-nav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 9px 10px;
        border-radius: 8px;
        font-size: 13px;
    }

    .login-experience {
        min-height: auto;
        width: min(100% - 24px, 560px);
        padding: 24px 0 44px;
    }

    .login-logo {
        width: min(260px, 76vw);
        margin-bottom: 18px;
    }

    .login-visual h1 {
        max-width: 420px;
        margin: 14px 0;
        font-size: 46px;
        line-height: .98;
    }

    .login-visual p {
        max-width: 420px;
        font-size: 16px;
        line-height: 1.55;
    }

    .login-orbit {
        display: none;
    }

    .auth-card,
    .glass-panel,
    .builder-panel,
    .client-feed-card,
    .notice-card,
    .support-ticket,
    .support-compose,
    .insight-panel,
    .super-create-card,
    .super-list-card,
    .access-vault {
        padding: 22px;
    }

    .auth-form {
        gap: 18px;
    }

    .auth-form h2 {
        font-size: 31px;
    }

    input, textarea, select {
        min-height: 56px;
        padding: 15px 16px;
        font-size: 15px;
    }

    input[type="email"], input[type="password"] {
        padding-left: 18px;
        padding-right: 56px;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .auth-form .premium-button,
    .premium-button,
    .quick-button {
        width: 100%;
        justify-content: center;
    }

    .client-portal {
        margin-left: 0;
        padding: 12px 12px 48px;
    }

    .client-page-shell {
        gap: 22px;
    }

    .client-topbar {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        min-height: 66px;
        padding: 10px 12px;
        margin-bottom: 16px;
    }

    .client-menu-button {
        display: grid;
    }

    .client-hello span {
        font-size: 16px;
        line-height: 1.1;
    }

    .client-avatar {
        --avatar-size: 42px !important;
    }

    .client-work-hero,
    .builder-hero,
    .company-home-hero,
    .profile-hero,
    .super-console-top,
    .super-hero {
        min-height: auto;
        padding: 28px 20px;
    }

    .client-work-hero,
    .builder-hero {
        display: grid;
        align-items: end;
        min-height: 520px;
    }

    .client-work-copy,
    .builder-hero-content {
        position: relative;
        inset: auto;
        max-width: 100%;
        z-index: 2;
    }

    .client-work-progress {
        position: relative;
        right: auto;
        bottom: auto;
        z-index: 2;
        margin: 22px 0 0;
        transform: scale(.84);
        transform-origin: left center;
    }

    .client-work-copy h1,
    .builder-hero-content h1,
    .company-home-hero h1,
    .profile-hero h1,
    .super-console-top h1,
    .super-hero h1,
    .report-hero h1 {
        font-size: 42px;
        line-height: .98;
    }

    .client-work-copy p,
    .builder-hero-content p,
    .company-home-hero p,
    .profile-hero p,
    .super-hero p,
    .report-hero p {
        font-size: 16px;
        line-height: 1.55;
    }

    .work-hero-meta,
    .builder-hero-meta {
        gap: 8px;
        margin-top: 16px;
    }

    .work-hero-meta strong,
    .builder-hero-meta strong {
        width: 100%;
        justify-content: center;
        border-radius: 8px;
        padding: 10px 12px;
    }

    .builder-hero-actions {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: 2;
        flex-direction: column;
        align-items: stretch;
        margin-top: 18px;
    }

    .builder-command-strip,
    .client-section-title.with-actions,
    .calendar-head,
    .report-hero,
    .support-ticket > div,
    .support-admin-head,
    .notice-card > div {
        flex-direction: column;
        align-items: flex-start;
    }

    .builder-command-strip {
        padding: 22px;
    }

    .builder-command-strip h2,
    .client-section-title h1,
    .client-section-title h2,
    .calendar-head h1,
    .company-projects-head h2 {
        font-size: 32px;
        line-height: 1.02;
    }

    .stage-visual-grid,
    .company-project-grid,
    .admin-grid,
    .super-kpi-strip,
    .super-step-grid,
    .super-metrics.premium,
    .client-feed-media,
    .client-modal-media {
        grid-template-columns: 1fr;
    }

    .stage-visual-card {
        min-height: 220px;
        padding: 22px;
    }

    .stage-visual-card > strong {
        top: 22px;
        right: 22px;
        font-size: 24px;
    }

    .route-view {
        margin-inline: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .route-view::before {
        left: 34px;
        right: 34px;
    }

    .route-point {
        min-width: 190px;
    }

    .calendar-weekdays,
    .calendar-grid {
        gap: 5px;
    }

    .calendar-weekdays span {
        padding: 0;
        text-align: center;
        font-size: 10px;
        letter-spacing: 0;
    }

    .calendar-day {
        min-height: 58px;
        padding: 8px;
        border-radius: 6px;
    }

    .calendar-day strong {
        font-size: 14px;
    }

    .calendar-day span {
        left: 50%;
        bottom: 7px;
        width: 7px;
        height: 7px;
        transform: translateX(-50%);
        box-shadow: 0 0 0 5px rgba(200,169,106,.12);
    }

    .side-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
    }

    .side-rail a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        text-align: center;
        padding: 10px 8px;
        font-size: 13px;
    }

    .builder-shell,
    .admin-shell,
    .company-home,
    .super-console,
    .super-admin-home {
        width: min(100% - 20px, 620px);
        gap: 18px;
        margin-top: 18px;
    }

    .company-home {
        margin-bottom: 54px;
    }

    .company-project-content {
        padding: 18px;
    }

    .company-project-content h3 {
        font-size: 24px;
    }

    .company-project-progress {
        grid-template-columns: 1fr;
    }

    .company-hero-actions,
    .company-project-actions,
    .super-console-top .premium-button {
        width: 100%;
    }

    .super-console-rail {
        position: relative;
        top: 0;
        min-height: auto;
        padding: 14px;
    }

    .super-console-logo {
        width: 190px;
        margin-inline: auto;
    }

    .super-console-rail nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .super-console-rail nav a,
    .super-console-exit {
        justify-content: center;
        min-height: 44px;
        padding: 10px;
        font-size: 13px;
    }

    .super-workspace,
    .super-company-list article,
    .company-row,
    .mail-row,
    .email-timeline article {
        grid-template-columns: 1fr;
    }

    .super-company-list article > div:not(.company-orb):not(.company-main),
    .company-status,
    .company-row > span,
    .mail-row > span,
    .email-timeline article > span {
        grid-column: auto;
        justify-self: start;
    }

    .form-row,
    .composer-row {
        grid-template-columns: 1fr;
    }

    .builder-composer-modal,
    .project-create-modal,
    .client-modal,
    .media-modal {
        padding: 0;
    }

    .builder-composer,
    .project-create-panel,
    .client-modal-body {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .composer-left,
    .project-create-panel {
        padding: 72px 18px 24px;
    }

    .composer-heading h2 {
        font-size: 34px;
        line-height: 1;
    }

    .composer-title-input {
        min-height: 58px;
        font-size: 28px;
    }

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

    .composer-preview {
        min-height: 360px;
        padding: 20px;
    }

    .preview-card h3 {
        font-size: 24px;
    }

    .profile-avatar-editor {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .site-header {
        width: min(100% - 18px, 420px);
    }

    .top-nav {
        gap: 8px;
    }

    .login-experience,
    .builder-shell,
    .admin-shell,
    .company-home,
    .super-console,
    .super-admin-home {
        width: min(100% - 16px, 420px);
    }

    .login-visual h1,
    .client-work-copy h1,
    .builder-hero-content h1,
    .company-home-hero h1,
    .profile-hero h1,
    .super-console-top h1,
    .super-hero h1,
    .report-hero h1 {
        font-size: 34px;
        line-height: 1.02;
    }

    .auth-card,
    .glass-panel,
    .builder-panel,
    .client-feed-card,
    .notice-card,
    .support-ticket,
    .support-compose,
    .insight-panel,
    .super-create-card,
    .super-list-card,
    .access-vault,
    .company-home-hero,
    .profile-hero,
    .super-console-top,
    .super-hero,
    .builder-command-strip {
        padding: 18px;
    }

    .client-work-hero,
    .builder-hero {
        min-height: 470px;
        padding: 20px 16px;
    }

    .client-work-progress {
        transform: scale(.72);
        margin-top: 12px;
        height: 132px;
    }

    .liquid-label strong {
        font-size: 34px;
    }

    .liquid-label span {
        width: 96px;
        font-size: 10px;
        color: white;
    }

    .client-topbar {
        grid-template-columns: auto 1fr auto;
        padding: 9px;
    }

    .client-hello span {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .side-rail,
    .super-console-rail nav {
        grid-template-columns: 1fr;
    }

    .client-section-title h1,
    .client-section-title h2,
    .calendar-head h1,
    .builder-command-strip h2,
    .company-projects-head h2,
    .access-vault h2,
    .super-create-card h2 {
        font-size: 28px;
        line-height: 1.04;
    }

    .stage-icon-badge {
        width: 58px;
        height: 58px;
        margin-bottom: 24px;
    }

    .calendar-day {
        min-height: 46px;
        padding: 6px;
    }

    .calendar-weekdays span {
        font-size: 9px;
    }

    .view-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .view-tabs button {
        padding: 0 10px;
    }

    .upload-preview {
        grid-template-columns: 1fr;
    }

    .client-modal-body {
        padding: 64px 18px 24px;
    }

    .client-modal-body h2 {
        font-size: 28px;
    }

    .modal-content img,
    .modal-content video {
        max-width: 100vw;
        max-height: 78vh;
        border-radius: 0;
    }
}
