:root {
    color-scheme: light;
    --portal-navy: #071b2d;
    --portal-navy-2: #0c2940;
    --portal-ink: #10263b;
    --portal-muted: #6a7c8e;
    --portal-line: #dce6ec;
    --portal-surface: #fff;
    --portal-soft: #f3f7f9;
    --portal-blue: #0586a6;
    --portal-cyan: #18b8d4;
    --portal-green: #12966f;
    --portal-amber: #dc8a13;
    --portal-red: #bd3c46;
    --portal-sidebar: 276px;
    --portal-shadow: 0 16px 44px rgba(19, 47, 68, .08);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body.portal-body { min-height: 100vh; margin: 0; color: var(--portal-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Shared brand */
.portal-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--portal-ink); text-decoration: none; }
.portal-brand-mark { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #0c7895, #17b5d1); box-shadow: 0 10px 24px rgba(13, 157, 185, .25); }
.portal-brand-mark svg { width: 25px; fill: currentColor; }
.portal-brand b { display: block; font-size: 15px; letter-spacing: .075em; }
.portal-brand small { display: block; margin-top: 3px; color: var(--portal-cyan); font-size: 10px; font-weight: 850; letter-spacing: .18em; }

/* Signed-in application shell */
.portal-app-body { overflow-x: hidden; background: #f3f7f9; }
.portal-app { min-height: 100vh; }
.portal-sidebar { position: fixed; z-index: 80; inset: 0 auto 0 0; display: flex; width: var(--portal-sidebar); flex-direction: column; padding: 24px 18px 18px; color: #d9e7ef; background: linear-gradient(180deg, #071b2d 0%, #092238 58%, #071a2b 100%); box-shadow: 12px 0 38px rgba(1, 20, 34, .12); }
.portal-sidebar::before { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 10% 10%, rgba(24,184,212,.13), transparent 18rem); content: ''; }
.portal-sidebar > * { position: relative; }
.portal-sidebar-head { display: flex; min-height: 50px; align-items: center; justify-content: space-between; padding: 0 5px; }
.portal-brand-sidebar { color: #fff; }
.portal-brand-sidebar .portal-brand-mark { width: 42px; height: 42px; flex-basis: 42px; box-shadow: 0 10px 26px rgba(5, 134, 166, .28); }
.portal-nav-close { display: none; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #c8d8e2; background: rgba(255,255,255,.05); cursor: pointer; }
.portal-nav-close svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.portal-company-card { display: flex; min-width: 0; align-items: center; gap: 12px; margin: 29px 2px 25px; border: 1px solid rgba(157, 207, 224, .14); border-radius: 14px; padding: 13px; background: rgba(255,255,255,.055); }
.portal-company-avatar, .portal-user-avatar { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border-radius: 11px; font-size: 14px; font-weight: 850; }
.portal-company-avatar { color: #bdf5ff; background: rgba(24,184,212,.17); }
.portal-company-card > span:last-child { min-width: 0; }
.portal-company-card small, .portal-company-card b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-company-card small { margin-bottom: 3px; color: #8eb0c4; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.portal-company-card b { color: #fff; font-size: 14px; }

.portal-nav { display: grid; gap: 6px; }
.portal-nav-label { margin: 2px 13px 7px; color: #7695aa; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.portal-nav-link { position: relative; display: flex; min-height: 50px; align-items: center; gap: 13px; border: 1px solid transparent; border-radius: 12px; padding: 11px 13px; color: #b7cbd7; font-size: 15px; font-weight: 700; text-decoration: none; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.portal-nav-link svg { width: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.portal-nav-link:hover { color: #fff; background: rgba(255,255,255,.06); transform: translateX(2px); }
.portal-nav-link.is-active { border-color: rgba(73, 210, 233, .28); color: #fff; background: rgba(24,184,212,.16); box-shadow: none; }
.portal-nav-link.is-active::before { position: absolute; inset: 9px auto 9px 5px; width: 3px; border-radius: 5px; background: var(--portal-cyan); content: ''; }
.portal-nav-link.is-current-child { color: #d9f8fd; }
.portal-nav-link-primary { margin-top: 12px; color: #b7cbd7; background: transparent; box-shadow: none; }
.portal-nav-link-primary:hover { color: #fff; background: rgba(255,255,255,.06); }
.portal-nav-link-primary.is-active { border-color: rgba(73, 210, 233, .28); color: #fff; background: rgba(24,184,212,.16); box-shadow: none; }

.portal-sidebar-help { display: flex; gap: 11px; margin-top: auto; border: 1px solid rgba(137, 190, 210, .12); border-radius: 14px; padding: 13px; background: rgba(255,255,255,.04); }
.portal-sidebar-help-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; color: #86deeb; background: rgba(24,184,212,.12); }
.portal-sidebar-help-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.portal-sidebar-help b, .portal-sidebar-help small { display: block; }
.portal-sidebar-help b { color: #e8f3f8; font-size: 12px; }
.portal-sidebar-help small { margin-top: 4px; color: #8ba7b8; font-size: 11px; line-height: 1.45; }
.portal-sidebar-account { display: flex; min-width: 0; align-items: center; gap: 10px; margin-top: 14px; border-top: 1px solid rgba(255,255,255,.08); padding: 17px 3px 2px; }
.portal-user-avatar { color: #0a5368; background: #d8f5fa; }
.portal-sidebar-user { min-width: 0; flex: 1; }
.portal-sidebar-user b, .portal-sidebar-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-sidebar-user b { color: #fff; font-size: 13px; }
.portal-sidebar-user small { margin-top: 3px; color: #86a4b7; font-size: 11px; }
.portal-sidebar-account form { margin: 0; }
.portal-logout-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #87a4b6; background: transparent; cursor: pointer; transition: .15s ease; }
.portal-logout-button:hover { border-color: rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.06); }
.portal-logout-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.portal-main { display: flex; min-height: 100vh; flex-direction: column; margin-left: var(--portal-sidebar); }
.portal-mobile-header { display: none; }
.portal-nav-overlay { display: none; }
.portal-shell { width: min(1220px, calc(100% - 64px)); flex: 1; margin: 0 auto; padding: 48px 0 68px; }
.portal-footer { display: flex; width: min(1220px, calc(100% - 64px)); min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; border-top: 1px solid var(--portal-line); color: #718493; font-size: 12px; }

/* Buttons, alerts and headings */
.portal-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 10px 18px; cursor: pointer; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.portal-btn:hover:not(:disabled) { transform: translateY(-1px); }
.portal-btn:disabled { cursor: not-allowed; opacity: .45; }
.portal-btn-primary { color: #fff; background: linear-gradient(135deg, var(--portal-blue), var(--portal-cyan)); box-shadow: 0 10px 22px rgba(8,127,157,.2); }
.portal-btn-secondary { border-color: #b9ced8; color: #08647a; background: #fff; }
.portal-btn-quiet { min-height: 38px; border-color: var(--portal-line); color: var(--portal-muted); background: #fff; }
.portal-btn-wide { width: 100%; }
.portal-notice { display: grid; gap: 4px; margin-bottom: 24px; border: 1px solid; border-radius: 13px; padding: 14px 16px; font-size: 14px; }
.portal-notice-success { border-color: #a8dfce; color: #0d664d; background: #eaf9f3; }
.portal-notice-error { border-color: #efbbc0; color: #922e37; background: #fff0f1; }
.portal-eyebrow { display: block; margin-bottom: 9px; color: var(--portal-blue); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.portal-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 30px; }
.portal-page-head h1 { margin: 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.045em; line-height: 1.03; }
.portal-page-head p { max-width: 720px; margin: 11px 0 0; color: #5f7486; font-size: 15px; line-height: 1.6; }
.portal-page-head-compact { align-items: flex-start; }
.portal-back-link { display: inline-flex; align-items: center; margin-bottom: 25px; color: var(--portal-muted); font-size: 13px; font-weight: 750; text-decoration: none; }
.portal-back-link:hover { color: var(--portal-blue); }

/* Dashboard */
.portal-status-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 25px; }
.portal-status-card { position: relative; overflow: hidden; min-height: 132px; border: 1px solid var(--portal-line); border-radius: 18px; padding: 21px 24px; background: #fff; box-shadow: 0 9px 30px rgba(27,60,82,.045); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.portal-status-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(27,60,82,.09); }
.portal-status-card::before { position: absolute; inset: 0 auto 0 0; width: 6px; content: ''; }
.portal-status-card::after { position: absolute; right: -20px; bottom: -38px; width: 110px; height: 110px; border-radius: 50%; background: currentColor; content: ''; opacity: .1; }
.portal-status-card > span { display: block; color: var(--portal-muted); font-size: 13px; font-weight: 800; }
.portal-status-card b { display: block; margin: 8px 0 2px; font-size: 34px; letter-spacing: -.04em; }
.portal-status-card small { color: #5f7486; font-size: 12px; }
.portal-status-card.is-accepted { border-color: #a9dfeb; color: var(--portal-blue); background: linear-gradient(135deg, #fff 48%, #dff7fc 100%); }
.portal-status-card.is-processing { border-color: #f2bd59; color: var(--portal-amber); background: linear-gradient(135deg, #fff 42%, #ffe6ae 100%); }
.portal-status-card.is-ready { border-color: #8ed8bf; color: var(--portal-green); background: linear-gradient(135deg, #fff 48%, #d8f5e9 100%); }
.portal-status-card.is-accepted > span { color: #056b84; }
.portal-status-card.is-processing > span { color: #87500a; }
.portal-status-card.is-ready > span { color: #087052; }
.portal-status-card.is-accepted::before { background: var(--portal-blue); }
.portal-status-card.is-processing::before { background: var(--portal-amber); }
.portal-status-card.is-ready::before { background: var(--portal-green); }
.portal-status-card b { color: var(--portal-ink); }
.portal-dashboard-grid { display: grid; grid-template-columns: minmax(280px,330px) minmax(0,1fr); align-items: start; gap: 20px; }
.portal-dashboard-grid.is-orders-only { grid-template-columns: 1fr; }
.portal-team-section { overflow: hidden; border: 1px solid var(--portal-line); border-radius: 20px; padding: 20px; background: #fff; box-shadow: var(--portal-shadow); }
.portal-team-head { margin-bottom: 12px; }
.portal-team-strip { display: grid; max-height: 390px; gap: 8px; overflow-y: auto; padding-right: 2px; scrollbar-width: thin; }
.portal-team-card { position: relative; display: grid; min-width: 0; grid-template-columns: 39px minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 5px 10px; border: 1px solid var(--portal-line); border-radius: 13px; padding: 12px 30px 12px 12px; background: #f8fbfc; text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.portal-team-card:hover { border-color: #a7ced9; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(27,60,82,.08); }
.portal-team-avatar { display: grid; width: 39px; height: 39px; grid-row: 1 / 3; place-items: center; border-radius: 11px; color: #08647a; background: #ddf4f8; font-size: 13px; font-weight: 850; }
.portal-team-person { min-width: 0; }
.portal-team-person b, .portal-team-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-team-person b { font-size: 14px; }
.portal-team-person small { margin-top: 2px; color: var(--portal-muted); font-size: 11px; }
.portal-team-statuses { display: flex; grid-column: 2 / 4; gap: 5px; }
.portal-team-statuses > span { display: inline-flex; min-width: 0; height: 24px; align-items: center; justify-content: center; gap: 3px; border-radius: 999px; padding: 0 7px; font-size: 9px; font-weight: 750; }
.portal-team-statuses > span b { font-size: 10px; }
.portal-team-statuses .is-accepted { color: #045a70; background: #bfeef6; }
.portal-team-statuses .is-processing { color: #704004; background: #ffd56f; }
.portal-team-statuses .is-ready { color: #07543e; background: #afe9d3; }
.portal-team-arrow { position: absolute; top: 50%; right: 13px; color: #8ba0af; font-size: 15px; transform: translateY(-50%); }
.portal-dashboard-orders { min-width: 0; }
.portal-dashboard-orders .portal-order-row { grid-template-columns: 108px 64px minmax(140px,1fr) 64px auto 18px; gap: 12px; }
.portal-submitter-section > .portal-section-head { margin: 0 2px 14px; }
.portal-submitter-list { display: grid; gap: 12px; }
.portal-submitter-accordion { overflow: hidden; border: 1px solid var(--portal-line); border-radius: 17px; background: #fff; box-shadow: 0 9px 28px rgba(27,60,82,.045); }
.portal-submitter-accordion > summary { display: grid; min-height: 88px; grid-template-columns: 48px minmax(150px,1fr) minmax(255px,.9fr) auto 28px; align-items: center; gap: 16px; padding: 15px 20px; cursor: pointer; list-style: none; transition: background .15s ease; }
.portal-submitter-accordion > summary::-webkit-details-marker { display: none; }
.portal-submitter-accordion > summary:hover { background: #f6fafc; }
.portal-submitter-accordion[open] > summary { border-bottom: 1px solid var(--portal-line); background: #f1f8fa; }
.portal-submitter-avatar { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 13px; color: #08647a; background: #d9f3f7; font-size: 15px; font-weight: 850; }
.portal-submitter-person { min-width: 0; }
.portal-submitter-person b, .portal-submitter-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-submitter-person b { font-size: 16px; }
.portal-submitter-person small { margin-top: 3px; color: var(--portal-muted); font-size: 12px; }
.portal-submitter-latest { display: grid; min-width: 0; grid-template-columns: auto auto minmax(90px,1fr); align-items: center; gap: 3px 10px; }
.portal-submitter-latest > small { grid-column: 1 / 4; color: var(--portal-muted); font-size: 10px; font-weight: 750; }
.portal-submitter-latest > b { font-size: 14px; }
.portal-submitter-latest > time { color: var(--portal-muted); font-size: 11px; }
.portal-submitter-latest > .portal-status { min-width: 82px; justify-self: start; padding: 6px 9px; font-size: 10px; }
.portal-submitter-statuses { display: flex; gap: 6px; }
.portal-submitter-statuses > span { display: inline-flex; height: 25px; align-items: center; gap: 4px; border-radius: 999px; padding: 0 8px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.portal-submitter-statuses > span b { font-size: 10px; }
.portal-submitter-statuses .is-accepted { color: #045a70; background: #bfeef6; }
.portal-submitter-statuses .is-processing { color: #704004; background: #ffd56f; }
.portal-submitter-statuses .is-ready { color: #07543e; background: #afe9d3; }
.portal-submitter-toggle { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #317086; background: #e2f2f6; font-size: 18px; font-weight: 800; transition: transform .18s ease; }
.portal-submitter-accordion[open] .portal-submitter-toggle { transform: rotate(180deg); }
.portal-submitter-content { padding: 0 20px 18px; }
.portal-submitter-content-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 5px 12px; }
.portal-submitter-content-head > b { font-size: 13px; }
.portal-submitter-content-head a { color: var(--portal-blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.portal-submitter-content-head a:hover { text-decoration: underline; }
.portal-orders-section, .portal-history-card { border: 1px solid var(--portal-line); border-radius: 20px; padding: clamp(20px,3vw,29px); background: #fff; box-shadow: var(--portal-shadow); }
.portal-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.portal-section-head h2 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.portal-section-head p { margin: 5px 0 0; color: var(--portal-muted); font-size: 13px; }
.portal-section-head > span { border-radius: 999px; padding: 6px 10px; color: var(--portal-muted); background: var(--portal-soft); font-size: 11px; font-weight: 800; }
.portal-section-action { display: inline-flex; align-items: center; gap: 8px; color: var(--portal-blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.portal-section-action:hover { color: #045f76; }
.portal-page-head-list { margin-bottom: 24px; }
.portal-page-head-list h1 { font-size: clamp(32px,3.5vw,44px); }
.portal-section-head-list { margin-bottom: 14px; }
.portal-order-filters { display: grid; grid-template-columns: minmax(220px,1.5fr) minmax(145px,.65fr) minmax(160px,.75fr) auto auto; gap: 9px; margin-bottom: 11px; border-top: 1px solid var(--portal-line); padding-top: 15px; }
.portal-order-filters label { min-width: 0; }
.portal-order-filters input, .portal-order-filters select { width: 100%; min-height: 44px; border: 1px solid #cfdae1; border-radius: 10px; padding: 9px 12px; color: var(--portal-ink); background: #f9fbfc; outline: none; font-size: 13px; }
.portal-order-filters input:focus, .portal-order-filters select:focus { border-color: var(--portal-cyan); box-shadow: 0 0 0 3px rgba(23,180,210,.1); }
.portal-filter-search { position: relative; }
.portal-filter-search svg { position: absolute; top: 11px; left: 11px; width: 18px; fill: none; stroke: #7990a0; stroke-width: 1.8; stroke-linecap: round; }
.portal-filter-search input { padding-left: 37px; }
.portal-filter-submit, .portal-filter-reset { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border-radius: 10px; padding: 8px 15px; font-size: 12px; font-weight: 800; text-decoration: none; }
.portal-filter-submit { border: 0; color: #fff; background: var(--portal-blue); cursor: pointer; }
.portal-filter-reset { border: 1px solid var(--portal-line); color: var(--portal-muted); background: #fff; }
.portal-order-list { display: grid; }
.portal-order-month { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 0; border-top: 1px solid var(--portal-line); padding: 16px 5px 7px; color: var(--portal-ink); }
.portal-order-month b { font-size: 15px; letter-spacing: -.02em; }
.portal-order-month span { color: var(--portal-blue); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.portal-order-day { display: flex; min-height: 30px; align-items: center; gap: 7px; border-radius: 8px; padding: 5px 8px; color: var(--portal-muted); background: #f4f8fa; }
.portal-order-day b { display: grid; width: 26px; height: 24px; place-items: center; border-radius: 6px; color: #08738c; background: #dff3f7; font-size: 11px; }
.portal-order-day span { font-size: 11px; font-weight: 750; }
.portal-order-day + .portal-order-row { border-top: 0; }
.portal-order-row { display: grid; grid-template-columns: 120px 96px minmax(180px,1fr) 82px auto 20px; align-items: center; gap: 15px; border-top: 1px solid var(--portal-line); padding: 13px 6px; text-decoration: none; transition: background .15s ease, padding .15s ease; }
.portal-order-row:hover { margin-inline: -11px; padding-inline: 17px; border-radius: 12px; background: #f4f9fb; }
.portal-order-number span, .portal-order-number b { display: block; }
.portal-order-number span { margin-bottom: 4px; color: var(--portal-muted); font-size: 11px; }
.portal-order-number b { font-size: 15px; }
.portal-file-stack { display: flex; align-items: center; }
.portal-file-stack span { display: grid; width: 36px; height: 36px; place-items: center; overflow: hidden; margin-left: -8px; border: 2px solid #fff; border-radius: 9px; background: #edf5f8; }
.portal-file-stack span:first-child { margin-left: 0; }
.portal-file-stack img { width: 100%; height: 100%; object-fit: contain; }
.portal-file-stack strong { display: grid; width: 34px; height: 34px; place-items: center; margin-left: -7px; border: 2px solid #fff; border-radius: 9px; color: var(--portal-blue); background: #dff5fa; font-size: 9px; }
.portal-order-meta b, .portal-order-meta span { display: block; }
.portal-order-meta b { font-size: 14px; }
.portal-order-meta span { margin-top: 4px; color: var(--portal-muted); font-size: 11px; }
.portal-order-bend span, .portal-bend-badge { display: inline-flex; border-radius: 999px; padding: 6px 10px; color: #7a4508; background: #ffe4a5; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.portal-row-arrow { color: #7890a3; font-size: 18px; }
.portal-status { display: inline-flex; min-width: 94px; justify-content: center; border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 850; }
.portal-status-accepted { color: #045a70; background: #bfeef6; box-shadow: inset 0 0 0 1px #9cdee9; }
.portal-status-processing { color: #704004; background: #ffd56f; box-shadow: inset 0 0 0 1px #f4bf49; }
.portal-status-ready { color: #07543e; background: #afe9d3; box-shadow: inset 0 0 0 1px #8bd7bb; }
.portal-status-large { min-width: 122px; padding: 11px 16px; font-size: 13px; }
.portal-empty { display: grid; min-height: 330px; place-content: center; justify-items: center; border-top: 1px solid var(--portal-line); text-align: center; }
.portal-empty-icon { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 19px; color: var(--portal-blue); background: #e1f3f7; font-size: 11px; font-weight: 900; }
.portal-empty h3 { margin: 18px 0 6px; }
.portal-empty p { margin: 0 0 20px; color: var(--portal-muted); font-size: 13px; }
.portal-empty-compact { min-height: 245px; }
.portal-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; border-top: 1px solid var(--portal-line); padding: 16px 5px 0; color: var(--portal-muted); font-size: 12px; font-weight: 750; }
.portal-pagination a { color: var(--portal-blue); text-decoration: none; }
.portal-pagination a:last-child, .portal-pagination .is-disabled:last-child { justify-self: end; }
.portal-pagination > span:nth-child(2) { justify-self: center; }
.portal-pagination .is-disabled { opacity: .45; }

/* Upload */
.portal-upload-form { display: grid; gap: 22px; }
.portal-upload-zone { position: relative; display: grid; min-height: 340px; place-content: center; justify-items: center; border: 2px dashed #9fc5d1; border-radius: 21px; padding: 32px; background: #fff; box-shadow: 0 13px 38px rgba(24,59,80,.05); text-align: center; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.portal-upload-zone.is-dragging { border-color: var(--portal-cyan); background: #ecfafc; transform: scale(1.003); }
.portal-upload-zone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.portal-upload-icon { display: grid; width: 74px; height: 74px; place-items: center; margin-bottom: 18px; border-radius: 23px; color: var(--portal-blue); background: #e1f5f8; box-shadow: inset 0 0 0 1px rgba(7,127,157,.07); }
.portal-upload-icon svg { width: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.portal-upload-zone h2, .portal-upload-zone h3 { margin: 0; letter-spacing: -.025em; }
.portal-upload-zone p { margin: 7px 0 20px; color: var(--portal-muted); font-size: 14px; }
.portal-upload-zone-small { min-height: 220px; margin-top: 16px; box-shadow: none; }
.portal-selected-files { border: 1px solid var(--portal-line); border-radius: 19px; padding: 24px; background: #fff; box-shadow: var(--portal-shadow); }
.portal-selected-files[hidden] { display: none; }
.portal-upload-file-list { display: grid; gap: 9px; }
.portal-upload-file { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #e1e8ed; border-radius: 13px; padding: 12px 14px; background: #f8fbfc; }
.portal-upload-file > div { display: flex; min-width: 0; align-items: center; gap: 12px; }
.portal-upload-file-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 10px; color: #09677e; background: #dff4f8; font-size: 11px; font-weight: 900; }
.portal-upload-file p { min-width: 0; margin: 0; }
.portal-upload-file b, .portal-upload-file small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-upload-file b { font-size: 14px; }
.portal-upload-file small { margin-top: 3px; color: var(--portal-muted); font-size: 12px; }
.portal-bend-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 12px; color: #6e4a16; background: #fff3d8; cursor: pointer; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.portal-bend-toggle input { accent-color: var(--portal-amber); }
.portal-submit-bar, .portal-save-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid var(--portal-line); border-radius: 16px; padding: 16px 18px; background: #fff; box-shadow: 0 10px 30px rgba(24,59,80,.045); }
.portal-submit-bar > span, .portal-save-row > span { color: var(--portal-muted); font-size: 13px; }

/* Order details */
.portal-order-head { align-items: center; }
.portal-progress { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 25px; border: 1px solid var(--portal-line); border-radius: 18px; padding: 19px; background: #fff; box-shadow: 0 9px 30px rgba(27,60,82,.045); }
.portal-progress-step { position: relative; display: flex; align-items: center; gap: 12px; color: #93a1ad; }
.portal-progress-step::after { position: absolute; top: 18px; right: 18px; left: 60px; height: 2px; background: #dce5eb; content: ''; }
.portal-progress-step:last-child::after { display: none; }
.portal-progress-step > span { position: relative; z-index: 2; display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 2px solid #ccd7de; border-radius: 50%; background: #fff; font-size: 13px; font-weight: 850; }
.portal-progress-step b, .portal-progress-step small { display: block; }
.portal-progress-step b { font-size: 13px; }
.portal-progress-step small { margin-top: 2px; font-size: 11px; }
.portal-progress-step.is-active { color: var(--portal-blue); }
.portal-progress-step.is-active::after { background: #75cfe0; }
.portal-progress-step.is-active > span { border-color: var(--portal-cyan); color: #fff; background: var(--portal-blue); }
.portal-progress-step.is-current b { color: var(--portal-ink); }
.portal-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.portal-detail-card { overflow: hidden; border: 1px solid var(--portal-line); border-radius: 15px; background: #fff; }
.portal-detail-preview { position: relative; display: grid; width: 100%; height: 210px; place-items: center; overflow: hidden; border: 0; border-bottom: 1px solid var(--portal-line); border-radius: 0; padding: 18px; background-color: #edf4f7; background-image: linear-gradient(rgba(40,91,112,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(40,91,112,.08) 1px,transparent 1px); background-size: 18px 18px; cursor: zoom-in; }
.portal-detail-preview img { width: 100%; height: 100%; object-fit: contain; }
.portal-detail-preview > span { position: absolute; right: 10px; bottom: 10px; border-radius: 999px; padding: 7px 10px; color: #fff; background: rgba(10,32,53,.84); font-size: 11px; font-weight: 750; opacity: 0; transform: translateY(4px); transition: .15s ease; }
.portal-detail-preview:hover > span { opacity: 1; transform: none; }
.portal-detail-info { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; }
.portal-detail-info > div { min-width: 0; }
.portal-detail-info b, .portal-detail-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-detail-info b { font-size: 13px; }
.portal-detail-info small { margin-top: 3px; color: var(--portal-muted); font-size: 11px; }
.portal-detail-actions { display: flex; justify-content: space-between; border-top: 1px solid #edf1f4; padding: 10px 14px; }
.portal-detail-actions a, .portal-detail-actions button { border: 0; padding: 0; color: var(--portal-blue); background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; text-decoration: none; }
.portal-detail-actions .portal-link-danger { color: var(--portal-red); }
.portal-save-row { margin-top: 18px; background: #f8fbfc; box-shadow: none; }
.portal-lock-note { color: #6e4a16 !important; background: #fff3d8 !important; }
.portal-add-files { margin-top: 20px; border-top: 1px solid var(--portal-line); padding-top: 18px; }
.portal-add-files summary { color: var(--portal-blue); cursor: pointer; font-size: 14px; font-weight: 800; }
.portal-history-card { margin-top: 22px; }
.portal-history-list { display: grid; }
.portal-history-list > div { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.portal-history-list > div > span { position: relative; width: 10px; height: 10px; margin-top: 4px; border: 2px solid #fff; border-radius: 50%; background: var(--portal-cyan); box-shadow: 0 0 0 2px #91dce9; }
.portal-history-list > div > span::after { position: absolute; top: 12px; bottom: -38px; left: 2px; width: 2px; background: #dce8ed; content: ''; }
.portal-history-list > div:last-child > span::after { display: none; }
.portal-history-list p { margin: 0 0 18px; }
.portal-history-list b, .portal-history-list small { display: block; }
.portal-history-list b { font-size: 13px; }
.portal-history-list small { margin-top: 4px; color: var(--portal-muted); font-size: 11px; }

/* Sign-in page */
.portal-auth-body { background: radial-gradient(circle at 10% 15%, rgba(24,184,212,.1), transparent 28rem), linear-gradient(145deg,#f8fbfc,#edf4f7); }
.portal-auth-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(12,32,53,.08); padding: 14px clamp(20px,5vw,74px); background: rgba(255,255,255,.82); backdrop-filter: blur(14px); }
.portal-auth-secure { display: inline-flex; align-items: center; gap: 7px; color: var(--portal-muted); font-size: 13px; font-weight: 750; }
.portal-auth-secure svg { width: 17px; fill: none; stroke: var(--portal-green); stroke-width: 1.8; stroke-linejoin: round; }
.portal-auth-shell { width: min(1200px,calc(100% - 40px)); min-height: calc(100vh - 156px); margin: 0 auto; padding: 28px 0 48px; }
.portal-auth-footer { display: flex; width: min(1200px,calc(100% - 40px)); min-height: 72px; align-items: center; justify-content: space-between; margin: 0 auto; border-top: 1px solid var(--portal-line); color: var(--portal-muted); font-size: 12px; }
.portal-login-wrap { display: grid; min-height: 620px; grid-template-columns: minmax(0,1.05fr) minmax(340px,.7fr); align-items: center; gap: clamp(50px,9vw,130px); }
.portal-login-copy h1 { margin: 0; font-size: clamp(50px,7vw,80px); letter-spacing: -.065em; line-height: .95; }
.portal-login-copy > p { max-width: 590px; margin: 28px 0; color: var(--portal-muted); font-size: 16px; line-height: 1.75; }
.portal-login-steps { display: flex; gap: 24px; margin-top: 44px; }
.portal-login-steps span { display: flex; align-items: center; gap: 8px; color: var(--portal-muted); font-size: 13px; font-weight: 750; }
.portal-login-steps b { color: var(--portal-cyan); font-size: 12px; }
.portal-login-card { border: 1px solid rgba(12,32,53,.09); border-radius: 22px; padding: clamp(28px,4vw,44px); background: rgba(255,255,255,.96); box-shadow: 0 28px 70px rgba(22,52,75,.13); }
.portal-login-card h2 { margin: 0; font-size: 27px; letter-spacing: -.03em; }
.portal-login-card > p { margin: 10px 0 26px; color: var(--portal-muted); font-size: 14px; line-height: 1.6; }
.portal-form { display: grid; gap: 16px; }
.portal-form label > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; }
.portal-form input[type="email"], .portal-form input[type="password"] { width: 100%; min-height: 49px; border: 1px solid #cbd8e1; border-radius: 11px; padding: 10px 13px; color: var(--portal-ink); background: #fafdfe; outline: none; }
.portal-form input:focus { border-color: var(--portal-cyan); box-shadow: 0 0 0 3px rgba(23,180,210,.12); }
.portal-check { display: flex !important; align-items: center; gap: 9px; }
.portal-check input { accent-color: var(--portal-blue); }
.portal-check span { margin: 0 !important; color: var(--portal-muted); font-weight: 600 !important; }

/* Large desktop work mode */
@media (min-width: 1281px) {
    :root { --portal-sidebar: 294px; }
    .portal-sidebar { padding: 26px 20px 19px; }
    .portal-brand-mark { width: 46px; height: 46px; flex-basis: 46px; }
    .portal-brand b { font-size: 17px; }
    .portal-brand small { font-size: 10px; }
    .portal-company-card { margin-block: 31px 27px; padding: 14px; }
    .portal-company-avatar, .portal-user-avatar { flex-basis: 42px; height: 42px; font-size: 16px; }
    .portal-company-card small { font-size: 11px; }
    .portal-company-card b { font-size: 16px; }
    .portal-nav-label { margin-bottom: 8px; font-size: 11px; }
    .portal-nav { gap: 7px; }
    .portal-nav-link { min-height: 56px; gap: 14px; padding: 12px 15px; border-radius: 13px; font-size: 18px; }
    .portal-nav-link svg { width: 22px; flex-basis: 22px; stroke-width: 1.9; }
    .portal-sidebar-help { padding: 14px; }
    .portal-sidebar-help-icon { width: 38px; height: 38px; flex-basis: 38px; }
    .portal-sidebar-help b { font-size: 14px; }
    .portal-sidebar-help small { font-size: 11px; }
    .portal-sidebar-user b { font-size: 14px; }
    .portal-sidebar-user small { font-size: 11px; }
    .portal-logout-button { width: 40px; height: 40px; }
    .portal-shell, .portal-footer { width: min(1320px, calc(100% - 72px)); }
    .portal-shell { padding-top: 50px; }
    .portal-footer { font-size: 13px; }
    .portal-btn { min-height: 52px; padding-inline: 21px; font-size: 16px; }
    .portal-eyebrow { font-size: 12px; }
    .portal-page-head { margin-bottom: 32px; }
    .portal-page-head h1 { font-size: clamp(44px, 3vw, 54px); }
    .portal-page-head p { max-width: 780px; font-size: 17px; }
    .portal-back-link { font-size: 15px; }
    .portal-status-cards { gap: 18px; margin-bottom: 27px; }
    .portal-status-card { min-height: 148px; padding: 24px 27px; border-radius: 19px; }
    .portal-status-card > span { font-size: 15px; }
    .portal-status-card b { font-size: 40px; }
    .portal-status-card small { font-size: 14px; }
    .portal-dashboard-grid { grid-template-columns: minmax(340px,370px) minmax(0,1fr); gap: 22px; }
    .portal-team-section { padding: 22px; }
    .portal-team-card { grid-template-columns: 45px minmax(0,1fr) auto; gap: 6px 11px; padding: 14px 34px 14px 14px; }
    .portal-team-avatar { width: 45px; height: 45px; font-size: 16px; }
    .portal-team-person b { font-size: 16px; }
    .portal-team-person small { font-size: 12px; }
    .portal-team-statuses > span { height: 26px; padding-inline: 8px; font-size: 10px; }
    .portal-team-statuses > span b { font-size: 11px; }
    .portal-submitter-accordion > summary { min-height: 102px; grid-template-columns: 54px minmax(180px,1fr) minmax(285px,.9fr) auto 30px; gap: 18px; padding: 18px 24px; }
    .portal-submitter-avatar { width: 54px; height: 54px; font-size: 18px; }
    .portal-submitter-person b { font-size: 18px; }
    .portal-submitter-person small { font-size: 13px; }
    .portal-submitter-latest > small { font-size: 12px; }
    .portal-submitter-latest > b { font-size: 17px; }
    .portal-submitter-latest > time { font-size: 13px; }
    .portal-submitter-latest > .portal-status { min-width: 96px; font-size: 12px; }
    .portal-submitter-statuses > span { height: 28px; font-size: 11px; }
    .portal-submitter-statuses > span b { font-size: 12px; }
    .portal-submitter-content { padding: 0 24px 21px; }
    .portal-submitter-content-head > b { font-size: 15px; }
    .portal-submitter-content-head a { font-size: 14px; }
    .portal-section-head h2 { font-size: 24px; }
    .portal-section-head p { font-size: 15px; }
    .portal-section-head > span { font-size: 12px; }
    .portal-section-action { font-size: 15px; }
    .portal-orders-section, .portal-history-card { padding: 29px; }
    .portal-dashboard-orders .portal-order-row { grid-template-columns: 128px 70px minmax(170px,1fr) 76px auto 20px; gap: 13px; }
    .portal-order-row { grid-template-columns: 135px 96px minmax(200px,1fr) 92px auto 22px; gap: 16px; padding-block: 16px; }
    .portal-order-number span { font-size: 13px; }
    .portal-order-number b { font-size: 18px; }
    .portal-file-stack span { width: 41px; height: 41px; }
    .portal-order-meta b { font-size: 16px; }
    .portal-order-meta span { font-size: 13px; }
    .portal-order-bend span, .portal-bend-badge { padding: 7px 11px; font-size: 11px; }
    .portal-status { min-width: 104px; padding: 9px 13px; font-size: 14px; }
    .portal-status-large { min-width: 134px; padding: 12px 18px; font-size: 15px; }
    .portal-order-month b { font-size: 18px; }
    .portal-order-month span { font-size: 13px; }
    .portal-order-day b, .portal-order-day span { font-size: 12px; }
    .portal-order-day { min-height: 35px; }
    .portal-order-filters input, .portal-order-filters select { min-height: 48px; font-size: 15px; }
    .portal-filter-submit, .portal-filter-reset { min-height: 48px; font-size: 14px; }
    .portal-pagination { font-size: 13px; }
    .portal-upload-zone p, .portal-login-card > p { font-size: 16px; }
    .portal-upload-file b { font-size: 16px; }
    .portal-upload-file small, .portal-submit-bar > span, .portal-save-row > span { font-size: 14px; }
    .portal-bend-toggle { font-size: 13px; }
    .portal-progress-step b, .portal-detail-info b, .portal-history-list b { font-size: 15px; }
    .portal-progress-step small, .portal-detail-info small, .portal-history-list small { font-size: 12px; }
    .portal-detail-actions a, .portal-detail-actions button { font-size: 13px; }
    .portal-add-files summary { font-size: 16px; }
    .portal-form label > span { font-size: 14px; }
    .portal-form input[type="email"], .portal-form input[type="password"] { min-height: 52px; font-size: 16px; }
}

@media (max-width: 1080px) {
    :root { --portal-sidebar: 248px; }
    .portal-shell, .portal-footer { width: min(100% - 42px,1220px); }
    .portal-order-row { grid-template-columns: 120px 100px minmax(150px,1fr) auto 22px; }
    .portal-dashboard-orders .portal-order-row { grid-template-columns: 120px 100px minmax(150px,1fr) auto 22px; }
    .portal-order-bend { display: none; }
    .portal-dashboard-grid { grid-template-columns: 1fr; }
    .portal-team-strip { max-height: none; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }
    .portal-order-filters { grid-template-columns: minmax(200px,1fr) minmax(140px,.6fr) minmax(150px,.7fr) auto; }
    .portal-filter-reset { grid-column: 1 / -1; justify-self: start; min-height: auto; border: 0; padding: 3px; }
    .portal-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .portal-submitter-accordion > summary { grid-template-columns: 48px minmax(150px,1fr) 28px; gap: 11px 14px; }
    .portal-submitter-latest { grid-column: 2 / 3; }
    .portal-submitter-statuses { grid-column: 2 / 4; }
    .portal-submitter-toggle { grid-column: 3; grid-row: 1; }
}

@media (max-width: 820px) {
    body.portal-nav-open { overflow: hidden; }
    .portal-sidebar { width: min(310px,86vw); transform: translateX(-105%); transition: transform .22s ease; }
    .portal-nav-open .portal-sidebar { transform: translateX(0); }
    .portal-nav-close { display: grid; }
    .portal-nav-overlay { position: fixed; z-index: 70; inset: 0; display: block; visibility: hidden; border: 0; background: rgba(3,17,28,.55); opacity: 0; transition: opacity .2s ease,visibility .2s ease; }
    .portal-nav-open .portal-nav-overlay { visibility: visible; opacity: 1; }
    .portal-main { margin-left: 0; }
    .portal-mobile-header { position: sticky; z-index: 60; top: 0; display: grid; min-height: 70px; grid-template-columns: 42px 1fr 38px; align-items: center; gap: 12px; border-bottom: 1px solid var(--portal-line); padding: 9px 18px; background: rgba(255,255,255,.93); backdrop-filter: blur(15px); }
    .portal-mobile-header .portal-brand { justify-self: center; }
    .portal-mobile-header .portal-brand-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
    .portal-mobile-header .portal-brand b { font-size: 12px; }
    .portal-mobile-header .portal-brand small { font-size: 9px; }
    .portal-menu-button { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--portal-line); border-radius: 11px; color: var(--portal-ink); background: #fff; cursor: pointer; }
    .portal-menu-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
    .portal-mobile-header > .portal-user-avatar { width: 38px; height: 38px; flex-basis: 38px; }
    .portal-login-wrap { grid-template-columns: 1fr; gap: 35px; padding-top: 30px; }
    .portal-login-copy { text-align: center; }
    .portal-login-copy > p { margin-inline: auto; }
    .portal-login-steps { justify-content: center; }
}

@media (max-width: 620px) {
    .portal-mobile-header { padding-inline: 12px; }
    .portal-mobile-header .portal-brand-mark { display: none; }
    .portal-shell { width: min(100% - 24px,1220px); padding-block: 28px 48px; }
    .portal-footer { width: min(100% - 24px,1220px); align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
    .portal-page-head { align-items: stretch; flex-direction: column; gap: 19px; margin-bottom: 24px; }
    .portal-page-head .portal-btn { width: 100%; }
    .portal-page-head h1 { font-size: 34px; }
    .portal-page-head p { font-size: 14px; }
    .portal-status-cards { grid-template-columns: repeat(3,1fr); gap: 7px; }
    .portal-status-card { min-height: 112px; border-radius: 14px; padding: 15px 12px; }
    .portal-status-card b { font-size: 28px; }
    .portal-status-card small { display: none; }
    .portal-team-section { padding: 16px 14px; }
    .portal-team-strip { display: flex; overflow-x: auto; }
    .portal-team-card { min-width: min(270px,78vw); }
    .portal-submitter-section > .portal-section-head { margin-inline: 2px; }
    .portal-submitter-accordion { border-radius: 15px; }
    .portal-submitter-accordion > summary { min-height: 0; grid-template-columns: 42px minmax(0,1fr) 28px; padding: 14px 13px; }
    .portal-submitter-avatar { width: 42px; height: 42px; border-radius: 11px; }
    .portal-submitter-person b { font-size: 14px; }
    .portal-submitter-person small { font-size: 11px; }
    .portal-submitter-latest { grid-column: 2 / 4; grid-template-columns: auto auto minmax(78px,1fr); }
    .portal-submitter-statuses { grid-column: 1 / 4; flex-wrap: wrap; padding-top: 2px; }
    .portal-submitter-content { padding: 0 12px 14px; }
    .portal-submitter-content-head { align-items: flex-start; flex-direction: column; gap: 5px; padding-inline: 3px; }
    .portal-orders-section, .portal-history-card { border-radius: 16px; padding: 17px 14px; }
    .portal-order-filters { grid-template-columns: 1fr 1fr; }
    .portal-filter-search { grid-column: 1 / -1; }
    .portal-filter-submit { grid-column: 1 / -1; }
    .portal-filter-reset { grid-column: 1 / -1; justify-self: center; }
    .portal-order-row { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 15px 4px; }
    .portal-dashboard-orders .portal-order-row { grid-template-columns: 1fr auto; }
    .portal-file-stack { grid-row: 1 / 3; grid-column: 2; justify-content: flex-end; }
    .portal-order-meta { grid-column: 1; }
    .portal-order-row > .portal-status { grid-column: 1; justify-self: start; margin-top: 5px; }
    .portal-row-arrow, .portal-order-bend { display: none; }
    .portal-upload-zone { min-height: 290px; padding: 24px 16px; }
    .portal-selected-files { padding: 16px 12px; }
    .portal-upload-file { align-items: flex-start; flex-direction: column; }
    .portal-submit-bar, .portal-save-row { align-items: stretch; flex-direction: column; }
    .portal-submit-bar .portal-btn, .portal-save-row .portal-btn { width: 100%; }
    .portal-progress { grid-template-columns: 1fr; gap: 18px; }
    .portal-progress-step::after { top: 36px; bottom: -18px; left: 17px; width: 2px; height: auto; }
    .portal-detail-grid { grid-template-columns: 1fr; }
    .portal-detail-preview { height: 240px; }
    .portal-section-head { align-items: flex-start; flex-direction: column; }
    .portal-auth-header { min-height: 72px; padding-inline: 15px; }
    .portal-auth-secure { display: none; }
    .portal-auth-shell { width: min(100% - 24px,1200px); padding-top: 20px; }
    .portal-auth-footer { width: min(100% - 24px,1200px); }
    .portal-login-wrap { min-height: auto; }
    .portal-login-copy h1 { font-size: 48px; }
    .portal-login-copy > p { font-size: 14px; }
    .portal-login-steps { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 26px; }
    .portal-login-card { padding: 26px 20px; }
}
