:root {
    --ink: #070a12;
    --surface: #0d1323;
    --raised: #141c31;
    --text: #f3f6ff;
    --muted: #929db8;
    --violet: #7c5cff;
    --blue: #2388ff;
    --cyan: #43d8ff;
    --green: #3ee6a7;
    --danger: #ff6b81;
    --line: rgba(147, 163, 195, .17);
    --shadow: 0 22px 60px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
code { font-family: "SFMono-Regular", Consolas, monospace; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 999; padding: 12px 16px; background: #fff; color: #000; }
.skip-link:focus { top: 18px; }
.eyebrow { color: #aa84ff; font: 700 12px/1.3 "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.brand { display: inline-flex; align-items: center; gap: 13px; font: 600 15px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; white-space: nowrap; }
.brand b { color: var(--violet); }
.brand-mark { display: grid; width: 38px; height: 43px; place-items: center; border: 1.5px solid #fff; clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%); font-weight: 800; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.button-primary { border-color: #6c91ff; background: linear-gradient(115deg, #6640f1, #1377f4); box-shadow: 0 14px 36px rgba(45, 116, 255, .18); }
.button-outline { border-color: rgba(89, 143, 255, .65); background: rgba(7, 10, 18, .45); }
.button-ghost { border-color: var(--line); color: #c8d1e7; }
.button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .45; transform: none; }

/* Site institucional */
.public-body {
    background:
        radial-gradient(circle at 74% 15%, rgba(45, 140, 255, .12), transparent 30rem),
        linear-gradient(rgba(66, 211, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 211, 255, .028) 1px, transparent 1px),
        var(--ink);
    background-size: auto, 48px 48px, 48px 48px, auto;
}
.public-header { height: 96px; width: min(100% - 80px, 1380px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(148, 163, 184, .09); }
.public-header nav { display: flex; gap: 42px; color: #a6afc3; font-size: 14px; }
.public-header nav a:hover { color: var(--cyan); }
.site-hero { min-height: 790px; width: min(100% - 80px, 1380px); margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; gap: 65px; align-items: center; }
.hero-copy h1 { max-width: 680px; margin: 20px 0 25px; font-size: clamp(55px, 5.6vw, 82px); line-height: 1.02; letter-spacing: -.055em; }
.hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 0; color: #b5bfd5; font-size: 20px; line-height: 1.65; }
.hero-actions { display: flex; gap: 13px; margin-top: 37px; }
.hero-meta { display: flex; gap: 12px; margin-top: 36px; }
.hero-meta span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 4px; color: #77839e; font: 10px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.hero-blueprint { position: relative; min-height: 570px; border: 1px solid rgba(66, 211, 255, .08); background: radial-gradient(circle, rgba(45, 140, 255, .12), transparent 48%); }
.hero-blueprint::before, .hero-blueprint::after { content: ""; position: absolute; left: 50%; top: 48%; border: 1px dashed rgba(66, 211, 255, .13); border-radius: 50%; transform: translate(-50%, -50%); }
.hero-blueprint::before { width: 330px; height: 330px; }
.hero-blueprint::after { width: 460px; height: 460px; }
.blueprint-core { position: absolute; z-index: 3; left: 50%; top: 48%; width: 180px; height: 180px; transform: translate(-50%, -50%); display: grid; place-content: center; text-align: center; border: 1px solid #5a8dff; border-radius: 14px; background: rgba(13, 22, 44, .96); box-shadow: 0 0 30px rgba(45, 140, 255, .28); }
.blueprint-core span { color: #a98bff; font: 12px "SFMono-Regular", Consolas, monospace; }
.blueprint-core strong { font-size: 35px; }
.hero-blueprint article { position: absolute; z-index: 2; width: 160px; min-height: 122px; padding: 21px; border: 1px solid rgba(106, 145, 211, .36); border-radius: 11px; background: rgba(14, 22, 40, .94); }
.hero-blueprint article:nth-of-type(1) { left: 4%; top: 5%; }
.hero-blueprint article:nth-of-type(2) { right: 4%; top: 5%; }
.hero-blueprint article:nth-of-type(3) { left: 4%; bottom: 5%; }
.hero-blueprint article:nth-of-type(4) { right: 4%; bottom: 5%; }
.hero-blueprint article i { display: block; margin-bottom: 18px; color: var(--cyan); font: normal 10px "SFMono-Regular", Consolas, monospace; }
.hero-blueprint article strong, .hero-blueprint article span { display: block; }
.hero-blueprint article strong { margin-bottom: 6px; font-size: 14px; }
.hero-blueprint article span { color: var(--muted); font-size: 11px; }
.public-section { width: min(100% - 80px, 1280px); margin: 0 auto; padding: 120px 0; border-top: 1px solid var(--line); }
.public-section > h2, .workflow-section h2 { max-width: 780px; margin: 18px 0 55px; font-size: clamp(40px, 4vw, 60px); line-height: 1.08; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid article { min-height: 265px; padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: rgba(14, 20, 38, .66); }
.feature-grid article span { color: var(--cyan); font: 11px "SFMono-Regular", Consolas, monospace; }
.feature-grid article h3 { margin: 68px 0 13px; font-size: 22px; }
.feature-grid article p, .plans-placeholder > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.workflow-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.workflow-section ol { margin: 0; padding: 0; list-style: none; }
.workflow-section li { display: grid; grid-template-columns: 55px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.workflow-section li > span { color: var(--cyan); font: 11px "SFMono-Regular", Consolas, monospace; }
.workflow-section li strong { font-size: 19px; }
.workflow-section li p { margin: 8px 0 0; color: var(--muted); }
.plans-placeholder { text-align: center; }
.plans-placeholder > h2, .plans-placeholder > p { margin-left: auto; margin-right: auto; }
.plans-placeholder > p { max-width: 650px; }
.plans-placeholder .button { margin-top: 25px; }
.public-footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 0 max(40px, calc((100vw - 1380px) / 2)); border-top: 1px solid var(--line); color: #6f7b94; font: 11px "SFMono-Regular", Consolas, monospace; }
.public-footer small { justify-self: end; }

/* Instalador e formulários */
.install-body { min-height: 100vh; padding: 48px 20px; background: radial-gradient(circle at 50% 0%, rgba(45, 140, 255, .12), transparent 35rem), #070a12; }
.install-shell { width: min(100%, 900px); margin: 0 auto; }
.install-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.install-brand div { display: grid; gap: 5px; }
.install-brand strong { font: 600 14px "SFMono-Regular", Consolas, monospace; letter-spacing: .1em; }
.install-brand small { color: var(--muted); }
.install-card { padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: 18px; background: rgba(13, 19, 35, .96); box-shadow: var(--shadow); }
.install-heading { margin-bottom: 32px; }
.install-heading h1, .success-card h1 { margin: 10px 0 13px; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.04em; }
.install-heading > p:last-child, .success-card > p:not(.eyebrow) { max-width: 650px; color: var(--muted); line-height: 1.65; }
.requirements { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.requirements span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 11px; }
.requirements i { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; font-style: normal; }
.requirements .passed i { color: var(--green); border: 1px solid var(--green); }
.requirements .failed i { color: var(--danger); border: 1px solid var(--danger); }
.form-grid fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 27px; padding: 27px; border: 1px solid var(--line); border-radius: 11px; }
.form-grid legend { padding: 0 10px; color: #c8d1e7; font-weight: 700; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field > span, .fixed-value span { color: #aeb8cd; font-size: 12px; font-weight: 650; }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid rgba(147, 163, 195, .24); border-radius: 6px; background: #090e1b; color: var(--text); }
.field input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(45, 140, 255, .12); }
.field small { color: #65718a; font-size: 10px; }
.fixed-value { display: grid; align-content: center; gap: 8px; padding: 13px 14px; border: 1px solid rgba(124, 92, 255, .3); border-radius: 6px; background: rgba(124, 92, 255, .07); }
.fixed-value strong { color: #bbaaff; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; }
.install-submit { width: 100%; }
.form-security { margin: 15px 0 0; color: #69758e; text-align: center; font-size: 11px; }
.alert { margin-bottom: 24px; padding: 17px 20px; border: 1px solid; border-radius: 8px; line-height: 1.55; }
.alert ul { margin-bottom: 0; }
.alert-error { border-color: rgba(255, 107, 129, .4); background: rgba(255, 107, 129, .07); color: #ff9aaa; }
.alert-success { display: grid; gap: 5px; border-color: rgba(62, 230, 167, .35); background: rgba(62, 230, 167, .07); color: #8df0c9; }
.success-card { text-align: center; }
.success-icon { display: grid; width: 74px; height: 74px; margin: 0 auto 25px; place-items: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-size: 30px; box-shadow: 0 0 28px rgba(62, 230, 167, .15); }
.success-card > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.success-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 32px 0; text-align: left; }
.success-summary span { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; color: #aeb9ce; font-size: 12px; }
.success-summary i { color: var(--green); font-style: normal; }
.admin-access { display: grid; gap: 8px; margin: 0 auto 28px; padding: 20px; border: 1px solid rgba(66, 211, 255, .23); border-radius: 8px; background: rgba(66, 211, 255, .04); }
.admin-access span { color: #6e7b95; font-size: 11px; text-transform: uppercase; }
.admin-access strong { color: var(--cyan); font-family: "SFMono-Regular", Consolas, monospace; }

/* Login */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-presentation { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(38px, 6vw, 82px); background: radial-gradient(circle at 50% 45%, rgba(45, 140, 255, .18), transparent 27rem), linear-gradient(rgba(66, 211, 255, .032) 1px, transparent 1px), linear-gradient(90deg, rgba(66, 211, 255, .032) 1px, transparent 1px), #080d19; background-size: auto, 44px 44px, 44px 44px, auto; }
.auth-presentation h1 { margin: 18px 0 20px; font-size: clamp(50px, 6vw, 84px); line-height: 1; letter-spacing: -.055em; }
.auth-presentation div > p:last-child { max-width: 570px; color: #aab5cb; font-size: 18px; line-height: 1.7; }
.auth-presentation small { color: #65718a; font-family: "SFMono-Regular", Consolas, monospace; }
.auth-form-section { display: grid; place-items: center; padding: 40px; background: #0a0e18; }
.auth-form-card { width: min(100%, 430px); }
.auth-form-card h2 { margin: 12px 0 9px; font-size: 38px; letter-spacing: -.04em; }
.auth-form-card > p:not(.eyebrow) { margin-bottom: 31px; color: var(--muted); }
.auth-form-card form { display: grid; gap: 18px; }
.auth-form-card form .button { margin-top: 5px; }
.auth-form-card > a { display: inline-block; margin-top: 27px; color: #74829e; font-size: 12px; }

/* Painéis */
.panel-shell { min-height: 100vh; display: grid; grid-template-columns: 280px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 30px 24px; border-right: 1px solid var(--line); background: #080c16; }
.sidebar .brand { margin: 5px 8px 35px; }
.account-chip { display: flex; align-items: center; gap: 12px; padding: 17px 13px; border: 1px solid var(--line); border-radius: 9px; background: rgba(14, 20, 38, .7); }
.account-chip > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--blue)); font-weight: 800; }
.account-chip div { min-width: 0; display: grid; gap: 4px; }
.account-chip strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-chip small { color: var(--muted); font-size: 10px; }
.sidebar nav { display: grid; gap: 5px; margin-top: 32px; }
.sidebar nav a { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 12px; border-radius: 6px; color: #8f9ab1; font-size: 12px; }
.sidebar nav a:hover { background: rgba(45, 140, 255, .08); color: var(--cyan); }
.sidebar nav i { color: #4c5872; font: normal 9px "SFMono-Regular", Consolas, monospace; }
.logout-form { margin-top: auto; }
.logout-form button { width: 100%; min-height: 43px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: #8995ad; cursor: pointer; font-size: 11px; }
.logout-form button:hover { color: var(--danger); border-color: rgba(255, 107, 129, .3); }
.panel-main { min-width: 0; background: radial-gradient(circle at 85% 0%, rgba(45, 140, 255, .09), transparent 32rem), #090d17; }
.panel-topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(28px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.panel-topbar > div { display: grid; gap: 4px; }
.panel-topbar > div span { color: #5e6a82; font: 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.panel-topbar > div strong { font-size: 12px; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; color: #78859e; font-size: 10px; }
.status-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.mobile-menu { display: none; }
.dashboard-heading, .dashboard-grid, .foundation-status, .next-stage, .profile-card, .placeholder-card, .update-card, .panel-main > .alert { width: min(100% - 56px, 1180px); margin-left: auto; margin-right: auto; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 70px 0 45px; }
.dashboard-heading h1 { margin: 11px 0 10px; font-size: clamp(38px, 5vw, 61px); letter-spacing: -.05em; }
.dashboard-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.version-chip { padding: 11px 13px; border: 1px solid rgba(124, 92, 255, .38); border-radius: 5px; color: #ae98ff; font: 10px "SFMono-Regular", Consolas, monospace; white-space: nowrap; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.metric-card { min-height: 205px; padding: 27px; border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 20, 38, .68); }
.metric-card > span { color: #75819a; font: 10px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.metric-card strong { display: block; margin: 39px 0 8px; font-size: 40px; }
.metric-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.foundation-status { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; margin-top: 14px; padding: 39px; border: 1px solid rgba(45, 140, 255, .28); border-radius: 13px; background: radial-gradient(circle at 90% 0%, rgba(45, 140, 255, .1), transparent 32%), rgba(10, 17, 33, .82); }
.foundation-status h2 { margin: 11px 0; font-size: 29px; }
.foundation-status > div > p:last-child { color: var(--muted); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.check-list span { display: flex; align-items: center; gap: 10px; min-height: 47px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; color: #aab5ca; font-size: 11px; }
.check-list i { color: var(--cyan); font-style: normal; }
.next-stage { display: grid; grid-template-columns: 120px 1fr auto; gap: 25px; align-items: center; margin-top: 14px; margin-bottom: 70px; padding: 25px 30px; border: 1px solid var(--line); border-radius: 11px; }
.next-stage > span { color: #66738d; font: 10px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.next-stage h2 { margin: 0 0 5px; font-size: 20px; }
.next-stage p { margin: 0; color: var(--muted); font-size: 11px; }
.next-stage i { color: #a990ff; font: normal 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.profile-card { display: grid; grid-template-columns: 130px 1fr; gap: 35px; align-items: start; padding: 38px; border: 1px solid var(--line); border-radius: 13px; background: rgba(14, 20, 38, .7); }
.profile-avatar { display: grid; width: 110px; height: 110px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--blue)); font-size: 38px; font-weight: 800; }
.profile-card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-card dl div { padding: 17px; border: 1px solid var(--line); border-radius: 7px; }
.profile-card dt { color: #69758e; font-size: 10px; text-transform: uppercase; }
.profile-card dd { margin: 8px 0 0; color: #cad2e3; }
.placeholder-card { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 40px; border: 1px solid var(--line); border-radius: 13px; background: rgba(14, 20, 38, .68); }
.placeholder-card > span { color: var(--cyan); font: 11px "SFMono-Regular", Consolas, monospace; }
.placeholder-card h2 { margin: 0 0 12px; }
.placeholder-card p { color: var(--muted); line-height: 1.65; }
.panel-main > .alert { margin-top: -22px; }
.update-card { margin-bottom: 80px; padding: 36px; border: 1px solid var(--line); border-radius: 14px; background: rgba(14, 20, 38, .68); }
.package-status { display: flex; align-items: center; gap: 15px; padding: 21px; border: 1px solid rgba(255, 107, 129, .26); border-radius: 8px; background: rgba(255, 107, 129, .04); }
.package-status.ready { border-color: rgba(62, 230, 167, .3); background: rgba(62, 230, 167, .04); }
.package-status > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--danger); }
.package-status.ready > span { color: var(--green); }
.package-status div { display: grid; gap: 4px; }
.package-status small { color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; }
.update-card ol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 25px 0; padding: 0; list-style: none; }
.update-card li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 7px; }
.update-card li > span { color: var(--cyan); font: 10px "SFMono-Regular", Consolas, monospace; }
.update-card li p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.error-page { min-height: 70vh; display: grid; place-content: center; justify-items: start; padding: 50px; }
.error-page > span { color: var(--cyan); font: 12px "SFMono-Regular", Consolas, monospace; }
.error-page h1 { margin: 15px 0 10px; font-size: 48px; }
.error-page p { margin: 0 0 28px; color: var(--muted); }

@media (max-width: 1050px) {
    .site-hero { grid-template-columns: 1fr; padding: 100px 0; }
    .hero-copy { text-align: center; }
    .hero-copy > p, .hero-copy h1 { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-meta { justify-content: center; }
    .hero-blueprint { width: min(100%, 700px); margin: 0 auto; }
    .workflow-section { grid-template-columns: 1fr; gap: 20px; }
    .panel-shell { grid-template-columns: 230px minmax(0, 1fr); }
    .sidebar { padding-inline: 18px; }
}

@media (max-width: 760px) {
    .public-header { width: calc(100% - 36px); height: 76px; }
    .public-header nav { display: none; }
    .public-header .button { min-height: 41px; padding: 0 14px; font-size: 12px; }
    .site-hero, .public-section { width: calc(100% - 36px); }
    .site-hero { min-height: auto; padding: 90px 0 70px; gap: 50px; }
    .hero-copy h1 { font-size: 45px; }
    .hero-copy > p:not(.eyebrow) { font-size: 17px; }
    .hero-actions { flex-direction: column; }
    .hero-blueprint { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; background: none; }
    .hero-blueprint::before, .hero-blueprint::after { display: none; }
    .blueprint-core { position: relative; inset: auto; width: 100%; height: 150px; transform: none; grid-column: 1 / -1; }
    .hero-blueprint article { position: relative; inset: auto !important; width: auto; min-height: 120px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid article { min-height: 220px; }
    .public-footer { grid-template-columns: 1fr; justify-items: center; padding: 35px; text-align: center; }
    .public-footer small { justify-self: center; }
    .form-grid fieldset, .success-summary { grid-template-columns: 1fr; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-presentation { min-height: 430px; padding: 35px 25px; }
    .auth-presentation h1 { font-size: 54px; }
    .auth-form-section { padding: 65px 22px; }
    .panel-shell { display: block; }
    .sidebar { position: fixed; z-index: 50; left: -290px; width: 280px; transition: left .22s ease; box-shadow: var(--shadow); }
    .panel-body.menu-open .sidebar { left: 0; }
    .mobile-menu { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: #aab4c8; }
    .panel-topbar { padding-inline: 20px; }
    .panel-topbar > div { display: none; }
    .dashboard-heading { width: calc(100% - 36px); padding: 50px 0 35px; align-items: flex-start; flex-direction: column; }
    .dashboard-heading h1 { font-size: 42px; }
    .dashboard-grid, .foundation-status, .next-stage, .profile-card, .placeholder-card, .update-card, .panel-main > .alert { width: calc(100% - 36px); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .foundation-status { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
    .check-list { grid-template-columns: 1fr; }
    .next-stage { grid-template-columns: 1fr; margin-bottom: 50px; }
    .profile-card { grid-template-columns: 1fr; }
    .profile-card dl { grid-template-columns: 1fr; }
    .update-card { padding: 23px; }
    .update-card ol { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
    .brand { font-size: 12px; }
    .brand-mark { width: 32px; height: 36px; }
    .hero-blueprint { grid-template-columns: 1fr; }
    .blueprint-core { grid-column: auto; }
    .hero-meta { flex-wrap: wrap; }
    .install-body { padding: 20px 12px; }
    .install-card { padding: 27px 18px; }
    .form-grid fieldset { padding: 22px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
