/* Shared portal, account pages and navigation. */
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #b88019; outline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
h1 { font-size: clamp(28px, 3.1vw, 40px); letter-spacing: -.035em; line-height: 1.2; }
h2 { letter-spacing: -.02em; }
.gold-dot, .brand-dot { color: #c3973c; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 700; color: #7c6746; margin: 0 0 17px; }
.intro-copy { color: var(--muted); font-size: 16px; line-height: 1.8; }
.topbar { min-height: 80px; height: auto; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.topbar-home { text-decoration: none; color: var(--navy); font-weight: 700; }
.account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; font-size: 13px; flex-wrap: wrap; }
.account-actions form { margin: 0; }
.account-name { color: #536774; font-weight: 600; }
.settings-link { text-decoration: none; color: var(--text); }
.logout-button { color: var(--navy); background: transparent; border: 1px solid #d5e0e7; border-radius: 7px; padding: 9px 13px; font-size: 12px; }
.logout-button:hover { background: #f1f5f7; }
.brand-link { color: white; text-decoration: none; display: block; }
.brand-link .brand-title, .brand-link .brand-subtitle { display: block; }
.brand-link .brand-title { font-size: 17px; letter-spacing: -.04em; }
.nav-label { display: block; padding: 22px 14px 9px; text-transform: uppercase; font-size: 9px; letter-spacing: .16em; color: #adbfcc; }
.sidebar { flex-shrink: 0; }
.sidebar-footer { font-size: 11px; }
.portal-body { background: #f5f7f8; }
.portal-body > .topbar { padding-left: max(28px, calc((100% - 1120px) / 2)); padding-right: max(28px, calc((100% - 1120px) / 2)); }
.portal-content { max-width: 1176px; padding: 65px 28px 28px; margin: 0 auto; }
.portal-intro { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 54px; }
.portal-intro h1 { margin: 0 0 18px; font-weight: 650; }
.portal-intro .intro-copy { margin: 0; }
.portal-seal { display: flex; width: 180px; height: 146px; align-items: center; justify-content: center; gap: 13px; border-top: 1px solid #d8caa9; border-bottom: 1px solid #d8caa9; color: #8e753e; transform: rotate(-4deg); }
.portal-seal > span { font-family: Georgia, serif; font-size: 44px; }
.portal-seal small { font-size: 11px; line-height: 1.7; border-left: 1px solid #d8caa9; padding-left: 13px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; }
.section-heading h2 { font-size: 17px; margin: 0; }
.section-heading > span { font-size: 11px; color: var(--muted); }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.module-card { display: flex; flex-direction: column; min-height: 354px; color: var(--text); background: white; border: 1px solid #e0e6ea; border-radius: 13px; padding: 27px; text-decoration: none; box-shadow: 0 5px 20px rgba(20,48,68,.025); transition: transform .18s ease, box-shadow .18s ease; }
.module-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20,48,68,.10); }
.module-primary { border-top: 3px solid #c59c45; padding-top: 25px; }
.module-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 28px; }
.module-icon { display: grid; place-items: center; width: 49px; height: 49px; background: #edf3f6; color: #31536a; border-radius: 11px; font-size: 29px; }
.module-primary .module-icon { color: #96702d; background: #fbf5e9; }
.status-tag { font-size: 10px; letter-spacing: .02em; background: #eef2f4; color: #617783; border-radius: 20px; padding: 6px 10px; white-space: nowrap; display: inline-block; }
.status-ready { color: #28664e; background: #edf6f0; }
.status-building { color: #8f6e31; background: #fbf4e6; }
.module-number { font-size: 9px; letter-spacing: .12em; color: #798d99; font-weight: 650; }
.module-card h2 { font-size: 23px; margin: 11px 0; }
.module-card p { font-size: 13px; line-height: 1.85; margin: 0 0 24px; color: #70828f; }
.module-card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 19px; border-top: 1px solid #e9eef1; font-size: 12px; font-weight: 650; }
.module-card-link > span { font-size: 20px; font-weight: 400; }
.portal-account-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #e0e6ea; border-radius: 10px; padding: 22px 25px; margin-top: 28px; font-size: 12px; }
.portal-account-note strong { font-weight: 600; }
.portal-account-note p { color: #70828f; margin: 8px 0 0; line-height: 1.7; }
.portal-account-note > a { white-space: nowrap; text-decoration: none; color: #31536a; font-size: 11px; }
.portal-footer { display: flex; justify-content: space-between; font-size: 10px; color: #91a0aa; padding-top: 39px; }
.login-page { background: #102f46; }
.login-layout { display: grid; grid-template-columns: 1.06fr 1fr; min-height: 100vh; }
.login-story { color: white; padding: 52px clamp(30px,5vw,85px); display: flex; flex-direction: column; justify-content: space-between; gap: 75px; background: radial-gradient(ellipse at 10% 70%, #244f68 0, transparent 65%); position: relative; overflow: hidden; }
.login-story:after { content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid #ffffff0a; border-radius: 50%; right: -270px; bottom: -230px; pointer-events: none; }
.login-wordmark { font-weight: 650; letter-spacing: -.05em; font-size: 24px; }
.login-story .eyebrow { color: #d0ab63; }
.login-story h1 { font-size: clamp(35px,4.1vw,61px); font-weight: 500; letter-spacing: -.045em; margin: 0 0 26px; }
.login-story p:not(.eyebrow) { color: #b7cad7; font-size: 15px; line-height: 1.9; max-width: 390px; }
.login-areas { display: flex; flex-wrap: wrap; gap: 10px 21px; font-size: 10px; letter-spacing: .03em; color: #a5bdcd; padding-top: 26px; border-top: 1px solid #ffffff1a; }
.login-form-section { display: flex; align-items: center; justify-content: center; background: #f7f9fa; padding: 40px; }
.login-card { max-width: 370px; width: 100%; }
.login-card h2 { font-size: 34px; margin: 0 0 13px; font-weight: 600; }
.login-description { color: #728492; font-size: 14px; line-height: 1.85; margin: 0 0 32px; }
.password-form { display: flex; flex-direction: column; align-items: stretch; }
.password-form label { color: #385164; font-size: 12px; font-weight: 650; margin-bottom: 9px; }
.password-form input { border: 1px solid #cfdbe3; border-radius: 7px; height: 46px; width: 100%; padding: 10px 13px; background: white; font-size: 15px; margin-bottom: 23px; color: var(--text); }
.password-form input:focus { border-color: #426780; outline: 2px solid #c6d6e1; outline-offset: 1px; }
.password-form .btn { margin-top: 6px; min-height: 46px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border: 0; font-size: 13px; }
.login-footer { margin-top: 27px; text-align: center; font-size: 10px; color: #96a5ae; }
.notice { padding: 14px 16px; border-radius: 8px; background: #edf3f6; color: #385164; font-size: 13px; line-height: 1.7; margin: 0 0 23px; border: 1px solid #dce5ec; }
.notice-error { background: #fff3f2; border-color: #f2dbd8; color: #963d35; }
.notice-success { background: #edf7f0; border-color: #d6e8dc; color: #30664b; }
.settings-content { max-width: 1120px; }
.settings-content h1 { margin: 0 0 10px; }
.settings-content > .intro-copy { margin-bottom: 34px; }
.settings-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(220px,1fr); gap: 30px; align-items: start; }
.settings-grid .panel-body { padding: 26px; }
.field-hint { font-size: 11px; line-height: 1.7; color: #728492; margin: -9px 0 23px; }
.password-form .field-hint + button { align-self: flex-start; min-width: 195px; }
.account-panel { border: 1px solid #e1e7eb; border-radius: 10px; padding: 26px; background: #edf3f5; }
.account-panel h2 { font-size: 19px; overflow-wrap: anywhere; margin-top: 22px; }
.account-panel p { font-size: 13px; color: #70828f; line-height: 1.8; margin: 15px 0 25px; }
.account-panel a { font-size: 12px; color: #355870; text-decoration: none; }
.construction-panel { margin: 32px 0 0; background: white; border: 1px solid #e1e7eb; border-radius: 13px; padding: 55px 30px; text-align: center; }
.construction-symbol { width: 138px; height: 138px; border-radius: 50%; display: grid; place-items: center; background: #fcf7eb; color: #b08b40; margin: 0 auto 27px; }
.construction-panel h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 23px 0 13px; }
.construction-panel p { max-width: 470px; margin: 0 auto 29px; font-size: 14px; color: #738693; line-height: 1.9; }
.construction-panel .btn { gap: 22px; display: inline-flex; font-size: 12px; }
@media (max-width: 1050px) {
    .module-grid { gap: 14px; }
    .module-card { padding: 22px; }
    .module-card h2 { font-size: 20px; }
    .account-actions { gap: 12px; }
}
@media (max-width: 760px) {
    .login-layout { grid-template-columns: 1fr; }
    .login-story { padding: 30px; gap: 30px; }
    .login-story h1 { font-size: 36px; margin-bottom: 15px; }
    .login-areas { display: none; }
    .login-form-section { padding: 40px 25px; }
    .portal-seal { display: none; }
    .module-grid { grid-template-columns: 1fr; }
    .module-card { min-height: 285px; }
    .portal-content { padding-top: 39px; }
    .portal-intro { margin-bottom: 35px; }
    .portal-account-note { align-items: flex-start; flex-direction: column; }
    .app { flex-direction: column; }
    .sidebar { width: 100%; }
    .sidebar .brand { padding: 19px 22px; }
    .sidebar .navigation { display: flex; overflow-x: auto; padding-bottom: 10px; gap: 5px; }
    .sidebar .navigation a { flex-shrink: 0; white-space: nowrap; font-size: 12px; margin: 0; }
    .nav-label, .sidebar-footer { display: none; }
    .topbar { padding-left: 22px; padding-right: 22px; align-items: flex-start; }
    .topbar-title { font-size: 14px; }
    .account-actions { font-size: 11px; gap: 10px; }
    .account-name { max-width: 125px; overflow: hidden; text-overflow: ellipsis; }
    .content { padding: 28px 20px; }
    .settings-grid { grid-template-columns: 1fr; }
    .workspace { grid-template-columns: 1fr !important; }
    .workspace > .panel { overflow: auto; }
    .stepper { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .module-card { transition: none; } }

/* Workspace design: dark navigation, light surfaces, blue actions. */
:root { --navy: #182941; --navy-dark: #101d32; --navy-light: #253b59; --gold: #3263e7; --gold-light: #dce7ff; --background: #f4f6fa; --surface: #fff; --border: #e1e6ef; --text: #1b2b43; --muted: #637086; --shadow: 0 3px 12px rgba(26,43,72,.025); --accent: #3263e7; }
body { font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a:focus-visible, button:focus-visible, input:focus-visible { outline-color: #3263e7; }
h1 { font-size: clamp(30px, 2.5vw, 42px); letter-spacing: -.045em; font-weight: 650; }
.ui-icon { flex: 0 0 auto; vertical-align: middle; }
.accent-dot, .gold-dot, .brand-dot { color: var(--accent); }
.eyebrow { color: #64748e; font-size: 11px; letter-spacing: .12em; margin-bottom: 13px; }
.intro-copy { font-size: 16px; line-height: 1.7; color: var(--muted); }
.app { align-items: flex-start; }
.sidebar { width: 272px; height: 100vh; height: 100dvh; position: sticky; top: 0; overflow-y: auto; background: #13223a; color: #f6f8ff; border-right: 1px solid #1f314c; }
.sidebar .brand { display: flex; align-items: center; gap: 11px; padding: 29px 22px 37px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 42px; flex-shrink: 0; background: #315de2; border: 1px solid #6085fa; border-radius: 10px; font-size: 27px; font-weight: 700; letter-spacing: -.08em; position: relative; }
.brand-mark > span { color: #bcd2ff; position: absolute; right: 4px; bottom: 3px; }
.brand-copy { min-width: 0; }
.brand-link .brand-title { font-size: 16px; font-weight: 650; letter-spacing: -.04em; }
.brand-link .brand-subtitle { font-size: 10px; color: #92a4bf; opacity: 1; margin-top: 5px; letter-spacing: .01em; }
.navigation { padding: 0 17px; }
.nav-label { padding: 13px 15px 14px; color: #8193b0; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.navigation a { min-height: 47px; gap: 13px; border-radius: 8px; padding: 12px 14px; margin-bottom: 7px; color: #b7c5da; font-size: 14px; font-weight: 500; transition: background-color .15s, color .15s; }
.navigation a > .ui-icon { width: 20px; height: 20px; color: #8fa3c1; }
.navigation a:hover { color: #fff; background: #1e3250; }
.navigation a.active { color: #fff; background: #2e59d8; box-shadow: 0 4px 12px #09182c22; }
.navigation a.active > .ui-icon { color: #fff; }
.navigation .nav-secondary { margin-left: 14px; min-height: 40px; font-size: 13px; justify-content: space-between; }
.sidebar a:focus-visible, .sidebar button:focus-visible { outline-color: #a9c2ff; }
.sidebar-bottom { margin-top: auto; padding-top: 44px; }
.sidebar-profile { display: flex; align-items: center; gap: 10px; border-top: 1px solid #2a3a52; margin: 16px 20px 0; padding: 22px 0 25px; }
.profile-link { display: flex; align-items: center; gap: 11px; min-width: 0; color: #edf3ff; text-decoration: none; flex: 1; }
.profile-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #2d4163; color: #dbe7ff; font-size: 12px; font-weight: 650; flex-shrink: 0; }
.profile-copy { display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.profile-copy strong { font-size: 13px; font-weight: 600; }
.account-name { font-size: 10px; color: #9aacc6; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-profile form { margin: 0; }
.logout-button { display: grid; place-items: center; width: 34px; height: 36px; padding: 0; color: #aabbd2; background: transparent; border: 0; border-radius: 7px; }
.logout-button:hover { background: #263b5b; color: #fff; }
.logout-button .ui-icon { width: 20px; }
.main { min-height: 100vh; }
.topbar { min-height: 80px; height: 80px; padding: 0 clamp(28px, 3.2vw, 56px); background: #fff; border-bottom-color: #e5e9f1; }
.workspace-breadcrumb { display: flex; align-items: center; gap: 15px; font-size: 13px; min-width: 0; }
.workspace-breadcrumb > a { color: #728096; text-decoration: none; }
.workspace-breadcrumb > span[aria-hidden] { color: #bdc6d5; }
.workspace-breadcrumb .topbar-title { font-size: 13px; font-weight: 600; color: #30415e; }
.session-label { display: flex; align-items: center; gap: 8px; color: #65748a; font-size: 12px; white-space: nowrap; }
.session-label .ui-icon { width: 15px; height: 15px; color: #8291a8; }
.content { width: 100%; max-width: 1660px; padding: 45px clamp(28px, 3.2vw, 56px); margin: 0 auto; }
.portal-body { background: var(--background); }
.portal-content { max-width: 1660px; padding-top: 48px; }
.portal-intro { gap: 24px; align-items: center; margin-bottom: 47px; }
.portal-intro h1 { margin: 0 0 12px; }
.portal-intro .intro-copy { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; padding: 12px 18px; font-size: 13px; line-height: 1.5; transition: background-color .15s; }
.btn-primary, .btn-gold { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: #244fc6; }
.intro-action { flex-shrink: 0; box-shadow: 0 4px 10px #3263e714; }
.intro-action .ui-icon { width: 17px; height: 17px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
.section-heading > span { color: #6b788d; font-size: 12px; }
.module-grid { gap: 23px; }
.module-card { min-height: 324px; border: 1px solid #dfe5ef; border-radius: 13px; padding: 27px; background: #fff; box-shadow: 0 3px 10px #24345003; transition: border-color .17s, box-shadow .17s, transform .17s; }
.module-card:hover { transform: translateY(-3px); border-color: #afc1ed; box-shadow: 0 9px 26px #263c7010; }
.module-primary { border-color: #c7d5f5; padding-top: 27px; }
.module-card-top { margin-bottom: 27px; gap: 10px; }
.module-icon { width: 49px; height: 49px; border-radius: 12px; background: #edf2fe; color: #3965d6; }
.module-icon .ui-icon { width: 26px; height: 26px; }
.module-primary .module-icon { background: #eaf0ff; color: #3263e7; }
.module-op .module-icon { background: #f0edfd; color: #8062ce; }
.module-hp .module-icon { background: #e9f5f3; color: #298879; }
.status-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: #667287; background: #f0f3f7; font-size: 10px; letter-spacing: 0; font-weight: 500; }
.status-ready { background: #edf8f2; color: #267550; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #299368; }
.status-building { background: #f0f3f7; color: #667287; }
.module-number { color: #6f7d91; font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: .11em; }
.module-card h2 { font-size: clamp(20px, 1.5vw, 24px); letter-spacing: -.035em; font-weight: 650; margin: 10px 0 12px; }
.module-card p { color: #657186; font-size: 13px; line-height: 1.8; margin: 0 0 26px; }
.module-card-link { min-height: 43px; padding: 11px 13px; border: 1px solid #e2e7ef; border-radius: 7px; background: #fff; color: #415372; font-size: 12px; font-weight: 600; }
.module-card-link .ui-icon { width: 17px; height: 17px; }
.module-primary .module-card-link { border-color: var(--accent); background: var(--accent); color: white; }
.quickstart { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 28px 30px; border: 1px solid #dfe6f1; border-radius: 12px; background: #edf2fb; }
.quickstart-copy { display: flex; align-items: flex-start; gap: 21px; }
.quickstart-icon { display: grid; place-items: center; width: 47px; height: 47px; flex-shrink: 0; border-radius: 11px; background: #fff; color: #5578c8; border: 1px solid #dce5f7; }
.quickstart .eyebrow { color: #647fa8; font-size: 9px; margin-bottom: 9px; }
.quickstart h2 { font-size: 18px; font-weight: 650; margin: 0 0 8px; letter-spacing: -.025em; }
.quickstart p:not(.eyebrow) { margin: 0; color: #64728b; font-size: 12px; line-height: 1.7; }
.text-action { display: inline-flex; align-items: center; gap: 12px; margin-top: 17px; color: #2857ce; text-decoration: none; font-size: 12px; font-weight: 650; }
.text-action:hover { text-decoration: underline; }
.text-action .ui-icon { width: 17px; height: 17px; }
.quickstart-steps { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 2px 0 2px 29px; border-left: 1px solid #d3def1; flex-shrink: 0; }
.quickstart-steps li { display: flex; align-items: center; gap: 13px; font-size: 11px; color: #5f718c; }
.quickstart-steps li > span { font-size: 10px; font-weight: 650; color: #8ca0c4; }
.portal-footer { font-size: 10px; color: #77849a; padding-top: 26px; }
.hero h1 { font-size: 30px; letter-spacing: -.035em; }
.hero p { font-size: 14px; line-height: 1.7; }
.card, .panel { border-color: var(--border); box-shadow: var(--shadow); border-radius: 11px; }
.panel-header { font-size: 14px; border-color: #e8ecf3; padding: 20px 23px; }
.panel-body { font-size: 14px; line-height: 1.7; padding: 23px; }
.metric-icon, .metric-icon.gold { background: #edf2ff; color: #4a70c9; }
.btn-light { background: #edf1f8; }
.step.active .step-number { background: var(--accent); }
.upload-box { border-color: #bdcdec; background: #f8faff; padding: 24px 15px; }
.upload-box input[type=file] { max-width: 100%; font-size: 13px; }
.info-box { background: #edf2fb; color: #4a5d7a; }
.settings-content { max-width: 1240px; margin-left: 0; }
.settings-content .intro-copy { font-size: 14px; }
.password-form label { font-size: 13px; color: #394d6b; }
.password-form input { border-color: #cdd7e6; border-radius: 8px; height: 47px; }
.password-form input:focus { border-color: #527bf0; outline-color: #d5e2ff; }
.field-hint { color: #64728a; font-size: 12px; }
.account-panel { background: #ecf1fa; border-color: #dde5f2; }
.account-panel p { color: #617087; }
.account-panel a { color: #3263d3; }
.construction-panel { max-width: 1100px; border-color: var(--border); padding: 56px 30px; }
.construction-symbol { background: #eef3ff; color: #6484d6; }
.construction-panel p { color: #64728a; }
.login-page { background: #13223a; }
.login-story { background: radial-gradient(ellipse at 10% 70%, #243e69 0, transparent 65%); }
.login-story .eyebrow { color: #90b0ff; }
.login-form-section { background: var(--background); }
.login-description { color: #64738a; }
@media (min-width: 1800px) { .portal-content { padding-top: 64px; } .module-card { min-height: 345px; padding: 32px; } .module-card p { font-size: 14px; } .quickstart { padding: 32px; } }
@media (max-width: 1250px) { .sidebar { width: 240px; } .sidebar .brand { padding-left: 18px; padding-right: 18px; gap: 9px; } .brand-link .brand-title { font-size: 14px; } .brand-mark { width: 34px; height: 38px; font-size: 24px; } .navigation { padding: 0 13px; } .navigation a { font-size: 13px; gap: 11px; } .content { padding-left: 28px; padding-right: 28px; } .module-grid { gap: 16px; } .module-card { padding: 22px; } .module-card-top { gap: 6px; } .module-icon { width: 43px; height: 43px; } .status-tag { font-size: 9px; padding: 6px 8px; } .quickstart-steps { display: none; } }
@media (max-width: 1000px) and (min-width: 761px) { .module-grid { grid-template-columns: 1fr; } .module-card { min-height: 230px; } .module-card-top { margin-bottom: 17px; } .module-card-link { max-width: 260px; } .portal-intro { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 34px; } }
@media (max-width: 760px) {
    .app { flex-direction: column; align-items: stretch; }
    .sidebar { position: relative; height: auto; width: 100%; overflow: visible; }
    .sidebar .brand { padding: 18px 20px 16px; }
    .brand-link .brand-title { font-size: 16px; }
    .sidebar .navigation { display: flex; gap: 5px; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #506485 #13223a; }
    .sidebar .navigation a { flex-shrink: 0; margin: 0; min-height: 43px; white-space: nowrap; padding: 11px 12px; font-size: 12px; gap: 7px; }
    .sidebar .navigation a > .ui-icon { width: 17px; height: 17px; }
    .nav-label { display: none; }
    .sidebar-bottom { padding: 4px 16px 12px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .sidebar .account-navigation { padding: 0; overflow: visible; }
    .sidebar .account-navigation a { font-size: 11px; padding: 8px 4px; }
    .sidebar-profile { margin: 0; padding: 0; border: 0; gap: 10px; }
    .profile-avatar { width: 29px; height: 29px; font-size: 10px; }
    .profile-copy strong { font-size: 11px; }
    .account-name { display: none; }
    .logout-button { width: 31px; height: 34px; }
    .main { min-height: auto; }
    .topbar { min-height: 60px; height: 60px; padding: 0 23px; align-items: center; }
    .workspace-breadcrumb { gap: 11px; font-size: 11px; }
    .workspace-breadcrumb .topbar-title { font-size: 11px; }
    .session-label { display: none; }
    .content, .portal-content { padding: 30px 22px; }
    .portal-intro { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 34px; }
    .portal-intro h1 { font-size: 31px; }
    .intro-copy { font-size: 14px; }
    .intro-action { font-size: 12px; }
    .section-heading h2 { font-size: 18px; }
    .section-heading > span { font-size: 10px; }
    .module-grid { grid-template-columns: 1fr; gap: 16px; }
    .module-card { min-height: 284px; padding: 23px; }
    .module-card-top { margin-bottom: 21px; }
    .module-card h2 { font-size: 23px; }
    .status-tag { font-size: 10px; }
    .quickstart { padding: 23px; margin-top: 23px; }
    .quickstart-copy { display: block; }
    .quickstart-icon { margin-bottom: 18px; }
    .quickstart h2 { font-size: 19px; line-height: 1.4; }
    .portal-footer { gap: 20px; font-size: 9px; }
    .settings-grid, .workspace { grid-template-columns: 1fr !important; }
    .settings-grid .panel-body { padding: 21px; }
    .cards { grid-template-columns: 1fr; }
    .grid-two, .upload-layout { grid-template-columns: minmax(0, 1fr); }
    .panel-body { overflow-x: auto; }
    .stepper { gap: 12px; flex-wrap: wrap; }
    .hero h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .module-card, .navigation a, .btn { transition: none; } .module-card:hover { transform: none; } }
