/* XR BRAVO brand: shared palette, logo and typography with xrbravo.com. */
:root {
    --navy: #101d2d;
    --text: #142031;
    --muted: #596575;
    --orange: #ed702d;
    --orange-hover: #ff8540;
    --orange-soft: #fff0e5;
    --bg: #f2f4f7;
    --surface: #fff;
    --line: #dfe4e8;
    --green: #276b51;
    --radius: 16px;
    --shadow: 0 5px 20px #10203405;
    --sidebar-width: 248px;
    --font: Arial, Helvetica, sans-serif;
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 34px; font-weight: 700; letter-spacing: -1.25px; line-height: 1.2; overflow-wrap: anywhere; }
h2 { font-size: 17px; font-weight: 700; letter-spacing: -.4px; }
h3 { font-size: 15px; }
small { font-size: 12px; }
strong { font-weight: 700; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
.small-text { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 99; padding: 12px 20px; background: white; color: var(--text); border-radius: 8px; }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Navigation and account */
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10; display: flex; flex-direction: column; width: var(--sidebar-width); padding: 32px 20px 20px; background: var(--navy); color: white; overflow-y: auto; }
.brand { display: inline-flex; align-items: center; align-self: flex-start; }
.brand-lockup { display: flex; flex-direction: column; gap: 10px; }
.brand-lockup img { display: block; width: 174px; height: auto; }
.brand-caption { display: block; padding-left: 3px; color: #b1bdcd; font-size: 9px; font-weight: 500; letter-spacing: 2.3px; line-height: 1.4; text-transform: uppercase; }
.workspace { display: flex; align-items: center; gap: 10px; padding: 13px 11px; margin: 32px 0 30px; background: #1b293b; border: 1px solid #304055; border-radius: 11px; }
.workspace-icon { display: grid; place-items: center; width: 33px; height: 33px; flex-shrink: 0; border-radius: 8px; background: #2b394b; color: #f5ac7f; }
.workspace strong { display: block; font-size: 11px; overflow-wrap: anywhere; }
.workspace small { display: block; margin-top: 3px; color: #b0bdce; font-size: 10px; }
.nav-caption { margin: 0 0 12px 12px; color: #98a9be; font-size: 9px; letter-spacing: 1.8px; font-weight: 700; }
.navigation { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 12px 13px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #c0cada; font-size: 13px; font-weight: 500; text-align: left; transition: background .18s, color .18s; }
.nav-item:hover { background: #213044; color: #fff; }
.nav-item.active { background: var(--orange); color: var(--navy); font-weight: 700; box-shadow: 0 3px 12px #00000010; }
.sidebar-bottom { margin-top: auto; padding-top: 42px; }
.sidebar-note { position: relative; padding: 20px 16px; margin-bottom: 25px; border: 1px solid #344155; border-radius: 12px; background: #1b293b; }
.sidebar-note > .icon { width: 27px; height: 27px; margin-bottom: 14px; color: #ffa56f; }
.sidebar-note strong { display: block; margin-bottom: 7px; color: #f7f9fc; font-size: 12px; line-height: 1.6; }
.sidebar-note span { color: #b0bdce; font-size: 11px; line-height: 1.8; }
.logout { color: #b5c0cf; }
.main-shell { margin-left: var(--sidebar-width); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 82px; padding: 0 36px; background: white; border-bottom: 1px solid var(--line); }
.breadcrumb { color: var(--muted); font-size: 12px; }
.breadcrumb span { margin: 0 13px; color: #9aa6b6; }
.breadcrumb strong { color: var(--text); font-weight: 600; }
.account { display: flex; align-items: center; gap: 12px; }
.account-text { display: grid; gap: 2px; text-align: right; }
.account-text strong { font-size: 12px; }
.account-text small { color: var(--muted); font-size: 10px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid #f4d2b9; border-radius: 12px; background: var(--orange-soft); color: #8c431c; font-weight: 700; }
.avatar.pale { border-color: #dce2ec; background: #eff2f7; color: #415876; }

/* Page structure and actions */
.content { max-width: 1600px; margin: auto; padding: 30px 36px 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1.6px; line-height: 1.6; }
.eyebrow:before { content: ''; width: 18px; height: 3px; flex-shrink: 0; background: var(--orange); border-radius: 1px; }
.page-heading p { max-width: 650px; margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.heading-actions { display: flex; flex-shrink: 0; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 11px 17px; border: 1px solid #d6dde6; border-radius: 10px; background: white; color: var(--text); font-size: 12px; font-weight: 700; transition: background .18s, border-color .18s, box-shadow .18s; }
.button:hover { border-color: #bbc7d6; background: #f6f8fb; }
.button.primary { border-color: var(--orange); background: var(--orange); color: var(--navy); box-shadow: 0 4px 12px #ed702d16; }
.button.primary:hover { border-color: var(--orange-hover); background: var(--orange-hover); }
.button .icon { width: 17px; height: 17px; }
.button.small { min-height: 35px; padding: 7px 12px; }
.full-width { width: 100%; }
.disabled { opacity: .45; pointer-events: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #394e68; font-size: 12px; font-weight: 700; }
.text-link:hover { color: #a34517; text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 16px; height: 16px; }

/* Welcome panel: navy and warm orange, matching the public site. */
.welcome-banner { position: relative; display: flex; justify-content: space-between; min-height: 230px; padding: 29px 32px; margin-bottom: 25px; overflow: hidden; border: 1px solid #25374c; border-radius: 20px; background: var(--navy); color: white; }
.welcome-banner > div:first-child { position: relative; z-index: 1; max-width: 72%; }
.welcome-banner .eyebrow { color: #b9c6d8; font-size: 9px; margin-bottom: 13px; }
.welcome-banner h2 { font-size: 31px; line-height: 1.12; font-weight: 700; letter-spacing: -1px; }
.welcome-banner h2 span { color: #ffad7e; }
.welcome-banner p { max-width: 480px; margin-top: 13px; color: #c0ccdb; font-size: 12px; line-height: 1.7; }
.welcome-banner a { display: inline-flex; align-items: center; gap: 16px; margin-top: 19px; color: white; font-size: 12px; font-weight: 700; }
.welcome-banner a:hover { color: #ffad7e; }
.welcome-banner a .icon { width: 17px; }
.banner-art { position: absolute; inset: 0 21px 0 auto; display: flex; align-items: center; justify-content: center; width: 270px; }
.orbit { position: absolute; width: 260px; height: 260px; border: 1px solid #6e849e38; border-radius: 50%; transform: rotate(-30deg) scaleX(.7); }
.orbit-two { width: 330px; height: 330px; transform: rotate(35deg) scaleX(.7); border-color: #ed702d40; }
.vr-symbol { display: flex; align-items: center; justify-content: center; width: 124px; height: 98px; border: 1px solid #62788f; border-radius: 24px; background: #24344a; box-shadow: 12px 20px 30px #050f1b40; transform: rotate(-12deg); }
.vr-symbol .icon { width: 75px; height: 75px; color: #ffad7e; stroke-width: 1.1; }
.art-label { position: absolute; bottom: 22px; color: #b8c6d8; font-size: 7px; letter-spacing: 2px; }

/* Data cards, tables and status */
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-bottom: 25px; }
.stat-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.stat-card { padding: 21px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
a.stat-card:hover { border-color: #ed702d80; box-shadow: 0 5px 22px #1020340c; }
.stat-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.stat-label .icon { width: 19px; height: 19px; color: #af5626; }
.stat-card > strong { display: block; margin: 17px 0 8px; font-size: 36px; line-height: 1; letter-spacing: -1.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-card > span { color: var(--muted); font-size: 11px; line-height: 1.6; }
.card { min-width: 0; margin-bottom: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 25px; border-bottom: 1px solid var(--line); }
.card-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.card-heading > .icon { color: #63758d; }
.card-body { padding: 25px; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { padding: 13px 24px; background: #f7f8fb; color: #596779; font-size: 11px; font-weight: 600; letter-spacing: .1px; }
td { padding: 18px 24px; border-top: 1px solid #e9edf2; color: #4b596c; font-size: 12px; }
td strong { color: var(--text); font-size: 12px; }
td small, .list-row small, .activity-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
tbody tr:hover { background: #fafbfd; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #e0e5ee; border-radius: 6px; background: #f1f3f7; color: #536074; font-size: 10px; font-weight: 700; white-space: nowrap; }
.badge:before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.green { border-color: #d8eade; background: #edf7f0; color: #276b51; }
.badge.red { border-color: #f2dbd5; background: #fcf0ec; color: #9d3f31; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.two-columns .card { margin-bottom: 0; }
.empty-state { padding: 48px 20px; text-align: center; white-space: normal; }
.empty-state > .icon { width: 33px; height: 33px; margin-bottom: 15px; color: #7d8ca1; }
.empty-state h3 { color: #374b65; font-size: 15px; }
.empty-state p { max-width: 440px; margin: 9px auto 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.empty-state .button { margin-top: 20px; }
.quiet-empty { display: flex; flex-direction: column; align-items: center; padding: 14px 16px; text-align: center; }
.quiet-empty strong { color: #354963; font-size: 13px; }
.quiet-empty p { max-width: 290px; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.round-icon { padding: 9px; margin-bottom: 14px; border-radius: 12px; background: #edf7f0; color: var(--green); }
.list-row { display: flex; align-items: center; gap: 13px; padding: 14px 0; }
.list-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.list-row > div { flex: 1; min-width: 0; }
.list-row strong { font-size: 12px; }
.list-icon { padding: 10px; border-radius: 10px; background: var(--orange-soft); color: #a35026; }
.activity-row { display: flex; gap: 13px; padding: 12px 0; }
.activity-row strong { font-size: 12px; overflow-wrap: anywhere; }
.activity-dot { width: 6px; height: 6px; flex-shrink: 0; margin-top: 6px; border-radius: 50%; background: var(--orange); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 28px 0 25px; color: #657186; font-size: 10px; }
.footer > span:first-child { color: var(--text); font-weight: 700; letter-spacing: .3px; }

/* Notices and forms */
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px; margin-bottom: 22px; border: 1px solid; border-radius: 10px; font-size: 13px; }
.notice.success { border-color: #cfe4d6; background: #eff8f2; color: #276b51; }
.notice.error { border-color: #f0d2ca; background: #fff3f0; color: #9c3829; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.integration-notice { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 10px 14px; border: 1px solid #e4dbcd; border-radius: 9px; background: #faf7f1; color: #655039; font-size: 11px; line-height: 1.6; }
.integration-notice strong { white-space: nowrap; }
.integration-notice span { color: #74634d; }
.form-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(230px,1fr); align-items: start; gap: 25px; max-width: 1120px; }
.form-stack { display: grid; gap: 23px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
label, .label { color: #35445b; font-size: 12px; font-weight: 700; }
.label { display: block; margin-bottom: 8px; }
.field small { color: var(--muted); font-size: 12px; line-height: 1.7; }
.field input, .field select, .search-form input, .search-form select, textarea { width: 100%; min-height: 45px; padding: 11px 13px; border: 1px solid #cbd4e0; border-radius: 9px; background: white; color: var(--text); font-size: 13px; outline-offset: 2px; }
.field input::placeholder, .search-form input::placeholder { color: #6b788c; }
.field input:hover, .field select:hover { border-color: #97a8bf; }
.field input:focus, .field select:focus { border-color: #bd5b28; }
select { max-width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; padding-top: 23px; border-top: 1px solid var(--line); }
.form-divider { height: 1px; background: var(--line); }
.form-stack h3 + .muted { margin-top: -12px; }
.help-card { padding: 28px 25px; border: 1px solid #dfd7ce; border-radius: var(--radius); background: #f8f0e8; overflow-wrap: anywhere; }
.help-card > .icon { width: 30px; height: 30px; margin-bottom: 19px; color: #a45026; }
.help-card h3 { color: var(--text); font-size: 23px; line-height: 1.25; letter-spacing: -.8px; font-weight: 700; }
.help-card p, .help-card ol { margin-top: 19px; color: #675b52; font-size: 13px; line-height: 1.8; }
.help-card ol { padding-left: 18px; }
.help-card .badge { margin-top: 15px; }
.readonly-value { padding: 12px 13px; border: 1px solid #e0e5ed; border-radius: 9px; background: #f5f7fa; color: #35445b; font-size: 13px; }
.filter-bar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px; padding: 21px 25px; border-bottom: 1px solid var(--line); }
.filter-bar .field { flex: 1; min-width: 170px; }
.filter-bar .text-link { margin-bottom: 13px; }
.filter-bar .button { min-height: 45px; }
.results-filters .field { min-width: 130px; }
.search-form { display: flex; gap: 9px; max-width: 360px; }
.search-form input, .search-form select { min-height: 37px; padding: 8px 11px; font-size: 12px; }
.counter { padding: 4px 8px; margin-left: 7px; border-radius: 6px; background: #edf1f6; color: #51627a; font-size: 11px; font-weight: 600; }
.entity { display: flex; align-items: center; gap: 12px; }
.entity-icon { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; border-radius: 10px; background: #edf1f6; color: #506888; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.pagination > div { display: flex; align-items: center; gap: 12px; }
.details { margin: 0 0 24px; }
.details > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: 12px; }
.details dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.codes-card { border-color: #c5dccc; }
.codes-card .card-heading { background: #f0f7f2; }
.codes-card textarea { margin-bottom: 15px; resize: vertical; font-size: 12px; line-height: 2; }
.copy-status { margin-left: 12px; color: var(--green); font-size: 12px; }
.credentials-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.credentials-fields legend { margin-bottom: 20px; color: var(--text); font-size: 15px; font-weight: 700; }
.credentials-info { display: flex; gap: 14px; padding: 19px; border: 1px solid #dce3ed; border-radius: 11px; background: #f1f5fa; color: #3b5271; }
.credentials-info strong { font-size: 13px; }
.credentials-info p { margin-top: 7px; font-size: 12px; line-height: 1.8; }
.credentials-summary { display: flex; gap: 50px; }
.credentials-summary strong { font-size: 23px; letter-spacing: 2px; }
.pin-reset { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 23px 25px; border-top: 1px solid var(--line); }
.pin-reset p { margin-top: 5px; color: var(--muted); font-size: 12px; }

/* Exercise results */
.summary-strip { display: flex; gap: 30px; margin-bottom: 25px; color: var(--muted); font-size: 12px; }
.summary-strip strong { margin-right: 7px; color: var(--text); font-size: 22px; }
.result-overview { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 25px; margin-bottom: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.result-overview .label { color: var(--muted); font-size: 11px; font-weight: 500; }
.result-overview strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.metrics-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.metric { padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.metric > span { color: var(--muted); font-size: 12px; }
.metric > strong { display: block; margin-top: 13px; font-size: 33px; line-height: 1.2; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.metric small { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.selected-row, .selected-row:hover { background: #fff5eb; }

/* Sign-in */
.login-page { background: var(--bg); }
.login-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.login-story { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 48px 56px; background: var(--navy); color: white; }
.login-story:after { content: ''; position: absolute; right: -220px; bottom: -240px; width: 640px; height: 640px; border: 1px solid #ed702d45; border-radius: 50%; box-shadow: 0 0 0 75px #ed702d05, 0 0 0 150px #ed702d04; pointer-events: none; }
.login-story .brand-lockup img { width: 205px; }
.login-story .brand-caption { font-size: 10px; letter-spacing: 2.8px; }
.login-message { position: relative; z-index: 1; padding: 70px 0; margin: auto 0; }
.login-message > .eyebrow { color: #bcc8d9; font-size: 9px; line-height: 2; }
.login-message h1 { margin-top: 23px; font-size: clamp(42px,4.6vw,70px); font-weight: 700; line-height: 1.04; letter-spacing: -3px; }
.login-message h1 span { color: #ffad7e; }
.login-message > p { max-width: 350px; margin-top: 27px; color: #c0ccdb; font-size: 15px; line-height: 1.8; }
.login-feature { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #c8d2df; font-size: 11px; }
.login-feature .icon { color: #ffad7e; }
.login-foot { position: relative; z-index: 1; color: #b3c0d2; font-size: 10px; letter-spacing: .4px; }
.login-form { display: flex; align-items: center; justify-content: center; padding: 45px; }
.login-form-inner { width: 100%; max-width: 420px; padding: 36px 32px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 16px 48px #10203408; }
.login-form h2 { margin-bottom: 10px; font-size: 28px; letter-spacing: -.9px; line-height: 1.2; }
.login-form .muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.login-form form { display: grid; gap: 23px; margin-top: 30px; }
.login-form .button { justify-content: space-between; min-height: 48px; margin-top: 3px; }
.login-form .notice { margin-top: 22px; }
.login-help { display: flex; align-items: center; gap: 13px; margin-top: 29px; padding: 23px 0; border-top: 1px solid var(--line); color: #536177; font-size: 12px; line-height: 1.8; }
.login-help .icon { color: #a35026; }
.login-form .small-text { color: #657186; font-size: 11px; }

/* Responsive layout */
@media (min-width: 1500px) {
    .content { padding-top: 38px; }
    .welcome-banner { padding: 32px 35px; }
    .stat-card { padding: 24px; }
}
@media (max-width: 1150px) {
    :root { --sidebar-width: 220px; }
    .sidebar { padding-inline: 15px; }
    .brand-lockup img { width: 166px; }
    .content { padding: 25px 25px 0; }
    .topbar { padding-inline: 25px; }
    .stat-grid { gap: 13px; }
    .stat-card { padding: 19px 17px; }
    .stat-label { font-size: 11px; }
    th, td { padding-inline: 18px; }
    .form-layout { grid-template-columns: minmax(0,1fr) 240px; }
    .page-heading h1 { font-size: 30px; }
    .heading-actions .button { padding-inline: 12px; }
    .two-columns { gap: 18px; }
    .banner-art { right: -15px; width: 240px; }
    .welcome-banner h2 { font-size: 29px; }
}
@media (max-width: 900px) {
    :root { --sidebar-width: 196px; }
    .sidebar { padding-inline: 12px; }
    .brand-lockup img { width: 158px; }
    .brand-caption { font-size: 8px; letter-spacing: 1.8px; }
    .workspace { padding: 11px 10px; }
    .workspace-icon { display: none; }
    .nav-item { gap: 9px; padding-inline: 10px; font-size: 12px; }
    .sidebar-note { padding: 16px 12px; }
    .sidebar-note strong { font-size: 11px; }
    .stat-grid { grid-template-columns: repeat(2,1fr); }
    .two-columns, .form-layout { grid-template-columns: 1fr; }
    .page-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
    .welcome-banner { padding: 26px; }
    .welcome-banner > div:first-child { max-width: 90%; }
    .banner-art { right: -90px; opacity: .3; }
    .result-overview, .metrics-grid { grid-template-columns: repeat(2,1fr); }
    .login-story { padding: 35px; }
    .login-form { padding: 25px; }
    .login-form-inner { padding: 29px 24px; }
    .login-message h1 { font-size: 48px; letter-spacing: -2px; }
}
@media (max-width: 640px) {
    .sidebar { position: relative; width: 100%; padding: 21px 18px 12px; overflow: visible; }
    .sidebar .brand-lockup img { width: 150px; }
    .sidebar .brand-caption { font-size: 7px; letter-spacing: 1.8px; }
    .sidebar .workspace, .nav-caption, .sidebar-note { display: none; }
    .navigation { display: flex; gap: 6px; margin-top: 22px; padding-bottom: 3px; overflow-x: auto; }
    .nav-item { gap: 7px; min-height: 38px; padding: 8px 10px; font-size: 11px; white-space: nowrap; }
    .nav-item .icon { width: 16px; height: 16px; }
    .sidebar-bottom { position: absolute; top: 21px; right: 13px; display: flex; gap: 2px; margin: 0; padding: 0; }
    .sidebar-bottom .nav-item { gap: 0; padding: 10px; font-size: 0; }
    .sidebar-bottom .icon { width: 20px; height: 20px; }
    .main-shell { margin: 0; }
    .topbar { height: 65px; padding: 0 20px; }
    .breadcrumb { font-size: 11px; }
    .breadcrumb > strong, .breadcrumb span { display: none; }
    .account-text strong { font-size: 11px; }
    .account-text small { font-size: 9px; }
    .avatar { width: 33px; height: 33px; border-radius: 10px; font-size: 12px; }
    .content { padding: 22px 18px 0; }
    .page-heading { gap: 18px; margin-bottom: 23px; }
    .page-heading h1 { font-size: 30px; }
    .page-heading p { font-size: 12px; }
    .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
    .heading-actions { flex-wrap: wrap; }
    .welcome-banner { min-height: 235px; padding: 25px 22px; border-radius: 16px; }
    .welcome-banner h2 { font-size: 27px; }
    .welcome-banner p { font-size: 12px; }
    .welcome-banner > div:first-child { max-width: 100%; }
    .banner-art { right: -140px; opacity: .15; }
    .stat-grid { gap: 11px; margin-bottom: 22px; }
    .stat-grid.three { grid-template-columns: 1fr; }
    .stat-card { padding: 18px 15px; border-radius: 13px; }
    .stat-label { font-size: 11px; }
    .stat-card > strong { margin-top: 16px; font-size: 31px; }
    .stat-card > span { font-size: 10px; }
    .card { margin-bottom: 22px; border-radius: 14px; }
    .card-heading { flex-wrap: wrap; align-items: flex-start; padding: 21px 18px; }
    .card-heading h2 { font-size: 16px; }
    .card-heading p { font-size: 11px; }
    .card-heading .text-link { font-size: 11px; }
    .card-body { padding: 22px 18px; }
    .two-columns { gap: 22px; }
    .filter-bar { gap: 13px; padding: 18px; }
    .filter-bar .field { min-width: calc(50% - 13px); }
    .field label { font-size: 12px; }
    .form-row { grid-template-columns: 1fr; }
    .form-actions { flex-wrap: wrap; }
    .help-card { padding: 25px; }
    .help-card h3 { font-size: 23px; }
    .footer { align-items: flex-start; font-size: 9px; }
    .footer > span:last-child { text-align: right; }
    .search-form { width: 100%; max-width: 100%; }
    .search-form input { min-width: 0; }
    .pagination { flex-direction: column; padding: 18px; font-size: 11px; }
    .pagination > div { gap: 8px; }
    .summary-strip { align-items: center; gap: 19px; font-size: 11px; }
    .summary-strip strong { display: block; font-size: 24px; }
    .result-overview { gap: 25px; padding: 22px; }
    .result-overview strong { font-size: 17px; }
    .metric { padding: 23px 18px; }
    .metric > span { font-size: 11px; }
    .metric > strong { font-size: 28px; }
    .details > div { flex-direction: column; align-items: flex-start; gap: 7px; }
    .integration-notice { flex-direction: column; align-items: flex-start; gap: 3px; font-size: 10px; }
    .credentials-summary { gap: 25px; flex-wrap: wrap; }
    .login-shell { grid-template-columns: 1fr; }
    .login-story { min-height: 245px; padding: 25px; }
    .login-story .brand-lockup img { width: 173px; }
    .login-story .brand-caption { font-size: 8px; letter-spacing: 2px; }
    .login-message { padding: 35px 0 10px; margin: 0; }
    .login-message h1 { margin-top: 12px; font-size: 36px; letter-spacing: -1.4px; }
    .login-message h1 br { display: none; }
    .login-message h1 span { display: block; margin-top: 4px; }
    .login-message > p, .login-feature, .login-foot { display: none; }
    .login-message > .eyebrow { font-size: 7px; }
    .login-form { padding: 28px 18px; }
    .login-form-inner { padding: 28px 23px; }
    .login-form h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
