:root {
  --canvas: #f3f6f7;
  --surface: #ffffff;
  --ink: #172b36;
  --muted: #627581;
  --line: #dce5e9;
  --sidebar: #132b36;
  --accent: #176d7b;
  --accent-strong: #0e5664;
  --accent-pale: #e6f2f2;
  --warning: #9a6419;
  --warning-pale: #fff1da;
  --success: #227453;
  --success-pale: #e6f5ec;
  --danger: #a03d39;
  --danger-pale: #fff0ed;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 500 16px/1.55 Lato, 'Segoe UI', sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.035em; }
h1 { font-size: clamp(29px, 3vw, 38px); font-weight: 800; margin-bottom: 10px; }
h2 { font-size: 19px; font-weight: 800; margin-bottom: 0; }
h3 { font-size: 17px; font-weight: 800; margin-bottom: 0; }
strong { font-weight: 800; }
:focus-visible { outline: 3px solid #55a9b5; outline-offset: 3px; }
.visually-hidden { position: absolute !important; 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: 10px; left: 10px; z-index: 1000; padding: 9px 13px; background: white; transform: translateY(-160%); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.app-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--sidebar); color: #eaf3f4; min-height: 100vh; padding: 28px 15px 20px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 13px 45px; font-size: 18px; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.brand-muted { font-weight: 600; color: #92b0b9; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 23px; min-width: 25px; }
.brand-mark span { width: 5px; border-radius: 4px; background: #65bdc3; }
.brand-mark span:nth-child(1) { height: 11px; opacity: .65; }
.brand-mark span:nth-child(2) { height: 21px; }
.brand-mark span:nth-child(3) { height: 16px; opacity: .85; }
.sidebar-section-label { color: #7996a0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 13px 10px; }
.nav-list { display: grid; gap: 3px; margin-bottom: 34px; }
.nav-link { min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 9px 13px; border-radius: 7px; color: #c9d9dd; font-size: 14px; font-weight: 700; }
.nav-link:hover, .nav-link.is-current { color: white; background: #244652; }
.nav-link.is-current { box-shadow: inset 3px 0 0 #79c2c5; }
.nav-icon { width: 19px; flex: 0 0 19px; color: #83afb9; font-size: 18px; line-height: 1; text-align: center; }
.sidebar-bottom { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid #31505b; }
.profile-box { display: flex; align-items: center; gap: 10px; min-width: 0; }
.profile-avatar { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #3c6772; color: white; font-weight: 800; flex: none; }
.profile-copy { min-width: 0; display: grid; }
.profile-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.profile-copy small { color: #9eb7bf; font-size: 12px; }
.logout-button { border: 0; padding: 13px 0 0 44px; color: #a9c2c8; background: transparent; font-size: 13px; font-weight: 700; }
.logout-button:hover { color: white; }
.content-shell { min-width: 0; }
.topbar { display: none; }
.main-content { max-width: 1400px; margin: 0 auto; padding: 41px clamp(26px, 4vw, 64px) 80px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 29px; }
.page-context { margin-bottom: 5px; color: var(--accent); font-size: 13px; font-weight: 800; }
.page-subtitle { color: var(--muted); margin: 0; max-width: 680px; }
.today-date { color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; padding-bottom: 5px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin: -7px 0 24px; color: #7b8d95; font-size: 13px; font-weight: 700; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

.button { border: 1px solid transparent; min-height: 42px; padding: 10px 16px; border-radius: 7px; display: inline-flex; justify-content: center; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; text-align: center; white-space: nowrap; line-height: 1.2; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { background: white; color: var(--accent-strong); border-color: #bdd2d8; }
.button-secondary:hover { background: var(--accent-pale); border-color: #7fb2bc; }
.button-light { background: white; color: var(--sidebar); }
.button-light:hover { background: #e8f5f5; }
.button-small { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.button-wide { width: 100%; }
.button:disabled { opacity: .6; cursor: wait; }
.text-link { color: var(--accent); font-weight: 800; font-size: 14px; white-space: nowrap; }
.text-link:hover, .table-action a:hover, .external-link:hover { text-decoration: underline; }
.text-button { color: var(--accent); background: transparent; border: 0; font-weight: 800; font-size: 13px; padding: 5px 0; }
.text-button:hover { text-decoration: underline; }

.active-shift-panel { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: 194px; padding: 29px 33px; border-radius: var(--radius); color: white; background: #174251; margin-bottom: 45px; }
.active-shift-panel:before { content: ''; position: absolute; width: 360px; height: 360px; border: 1px solid #4f8490; border-radius: 50%; right: 130px; top: -170px; opacity: .28; }
.active-shift-panel:after { content: ''; position: absolute; width: 280px; height: 280px; border: 1px solid #4f8490; border-radius: 50%; right: 200px; top: -120px; opacity: .2; }
.active-shift-panel > * { position: relative; z-index: 1; }
.active-shift-panel h2 { font-size: clamp(23px, 2.5vw, 31px); margin: 9px 0; }
.active-shift-panel p { margin: 0; color: #bfd7da; max-width: 520px; font-size: 15px; }
.live-indicator { color: #c4eded; display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: 12px; }
.live-indicator span { width: 7px; height: 7px; background: #70d0c0; border-radius: 50%; box-shadow: 0 0 0 4px #70d0c02b; }
.awaiting-shift-panel { display: flex; align-items: center; gap: 22px; padding: 26px 30px; border: 1px solid #bdd4d7; background: #e6f1f2; border-radius: var(--radius); margin-bottom: 45px; }
.awaiting-shift-panel h2 { margin-bottom: 6px; }
.awaiting-shift-panel p { margin: 0; color: #57707c; }
.awaiting-symbol { border: 1px solid #b5d5d9; border-radius: 11px; width: 52px; height: 52px; flex: none; display: grid; place-items: center; font-size: 28px; color: var(--accent); }

.section-block { margin-bottom: 39px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.section-heading h2 { margin-bottom: 4px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.count-label { color: #788992; font-size: 12px; font-weight: 800; white-space: nowrap; }
.plan-list { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plan-row { display: flex; align-items: center; gap: 21px; min-width: 0; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.plan-row:last-child { border-bottom: 0; }
.plan-date { width: 82px; min-width: 82px; display: grid; padding-right: 10px; border-right: 1px solid var(--line); }
.plan-date strong { font-size: 16px; white-space: nowrap; }
.plan-date span { color: #788992; font-size: 12px; }
.plan-body { flex: 1; min-width: 0; }
.plan-body > strong { display: block; margin-bottom: 3px; }
.plan-time { font-weight: 800; font-size: 15px; }
.plan-platforms { display: flex; flex-wrap: wrap; gap: 5px 11px; margin-top: 5px; color: var(--muted); font-size: 14px; }
.plan-platforms span + span:before { content: '·'; margin-right: 11px; color: #afbec3; }
.plan-action { margin-left: auto; }
.quiet-note { color: var(--muted); font-size: 14px; }
.compact-list { border: 1px solid var(--line); background: white; border-radius: var(--radius); overflow: hidden; }
.compact-row { display: flex; align-items: center; gap: 19px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.compact-row:last-child { border-bottom: 0; }
.compact-row:hover { background: #f8fbfb; }
.compact-main { display: grid; gap: 1px; flex: 1; }
.compact-main strong { font-size: 14px; }
.compact-main small { color: var(--muted); font-size: 12px; }
.row-chevron { color: #88a1a7; font-size: 23px; line-height: 1; }
.empty-state { border: 1px dashed #bacbd0; border-radius: var(--radius); padding: 30px; background: #fbfdfd; }
.empty-state p { font-weight: 800; margin-bottom: 3px; }
.empty-state span { color: var(--muted); font-size: 14px; }
.status-pill { display: inline-flex; align-items: center; min-height: 26px; border-radius: 5px; padding: 4px 8px; background: #eaf0f2; color: #566e78; font-size: 12px; font-weight: 800; white-space: nowrap; }
.status-active { background: #e3f1f2; color: #0a6875; }
.status-submitted { background: var(--warning-pale); color: var(--warning); }
.status-verified { background: var(--success-pale); color: var(--success); }
.status-interrupted { background: #f0e9e6; color: #8a5141; }

.shift-page-head { margin-bottom: 22px; }
.shift-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 24px; }
.shift-main { min-width: 0; }
.shift-summary { background: #163744; color: white; border-radius: var(--radius); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; min-height: 146px; padding: 24px 28px; margin-bottom: 32px; }
.shift-summary p { color: #a8c8ce; margin-bottom: 5px; font-size: 14px; font-weight: 700; }
.shift-summary strong { display: block; font-size: clamp(35px, 4vw, 50px); line-height: 1.12; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.summary-caption { color: #8fb6bd; font-size: 12px; max-width: 150px; text-align: right; }
.report-progress { display: grid; gap: 4px; min-width: 174px; text-align: right; }
.report-progress > span { color: #a8c8ce; font-size: 13px; }
.report-progress > strong { font-size: 19px; letter-spacing: 0; }
.report-progress progress { width: 100%; height: 7px; margin-top: 5px; accent-color: #83d8ce; }
.report-section { margin: 0; }
.report-lines { display: grid; gap: 13px; }
.report-line { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.report-line:target { border-color: var(--accent); box-shadow: 0 0 0 3px #4d9cab28; scroll-margin-top: 20px; }
.report-line-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.account-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.account-emblem { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--accent-pale); color: var(--accent); font-weight: 800; }
.account-heading h3 span { color: #84949d; font-weight: 600; }
.account-heading p { margin: 3px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.external-link { color: var(--accent); font-size: 14px; font-weight: 800; white-space: nowrap; }
.external-link span { font-size: 15px; margin-left: 2px; }
.line-form { padding: 19px 22px 13px; }
.line-fields { display: grid; grid-template-columns: minmax(140px, 190px) minmax(150px, 1fr); gap: 14px; margin-bottom: 14px; }
.form-field { display: grid; gap: 5px; }
.form-field label, .stack-form label, .filter-field label { color: #3d5661; font-size: 14px; font-weight: 800; }
input:not([type='checkbox']):not([type='radio']):not([type='file']), select, textarea { width: 100%; min-height: 39px; padding: 9px 11px; border: 1px solid #c9d8dd; background: white; color: var(--ink); border-radius: 6px; outline: none; }
input:not([type='checkbox']):not([type='radio']):not([type='file']):focus, select:focus, textarea:focus { border-color: #4d9cab; box-shadow: 0 0 0 3px #4d9cab28; }
textarea { resize: vertical; min-height: 62px; }
input::placeholder, textarea::placeholder { color: #99aab1; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 16px; font-weight: 800; }
.money-input input { padding-left: 30px !important; font-weight: 800; font-variant-numeric: tabular-nums; }
.line-save-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 3px; }
.save-status { color: #748a93; font-size: 13px; }
.field-error[hidden], .field-help[hidden] { display: none; }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--danger) !important; box-shadow: 0 0 0 3px #a03d3920; }
.unavailable-help { color: #78591d; }
.evidence-area { border-top: 1px solid var(--line); padding: 16px 22px 19px; background: #fbfcfc; }
.evidence-heading { display: flex; gap: 11px; align-items: baseline; font-size: 14px; }
.evidence-heading span { color: var(--muted); font-size: 12px; }
.no-evidence { margin: 10px 0 0; color: #8da0a7; font-size: 13px; }
.screenshot-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.screenshot-thumb { width: 92px; height: 67px; display: block; border: 1px solid var(--line); border-radius: 5px; background: #e9f0f2; overflow: hidden; }
.screenshot-thumb:hover { border-color: var(--accent); }
.screenshot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-form { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.upload-help { flex-basis: 100%; }
input[type='file'] { color: var(--muted); font-size: 13px; max-width: 290px; }
input[type='file']::file-selector-button { border: 1px solid #c3d6db; border-radius: 5px; background: white; padding: 8px 10px; margin-right: 9px; color: var(--accent); font: inherit; font-weight: 800; cursor: pointer; }
.line-readout { padding: 16px 22px; display: flex; gap: 30px; }
.line-readout > div { display: grid; gap: 3px; }
.line-readout small { color: var(--muted); font-size: 12px; }
.line-readout strong { font-size: 16px; }
.line-note { margin: 0; padding: 0 22px 16px; color: #4a626d; font-size: 14px; white-space: pre-wrap; }
.shift-side { position: sticky; top: 24px; }
.side-panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 21px; }
.side-panel h2 { font-size: 16px; margin-bottom: 9px; }
.side-panel p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.side-panel .completion-message { padding: 10px 12px; border-radius: 6px; background: var(--accent-pale); color: var(--accent-strong); font-weight: 800; }

.history-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: white; margin-bottom: 16px; }
.history-filters .form-field { min-width: 155px; }
.history-reset { padding: 9px 5px; }
.history-list { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.history-item { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(200px, 1.4fr) minmax(90px, .6fr) auto 14px; align-items: center; gap: 20px; min-width: 0; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.history-item:last-child { border-bottom: 0; }
.history-item:hover { background: #f8fbfb; }
.history-date, .history-accounts, .history-earnings { display: grid; gap: 2px; min-width: 0; }
.history-date strong, .history-earnings strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.history-date small, .history-accounts small, .history-earnings small { color: var(--muted); font-size: 12px; }
.history-accounts span { color: #3c515b; font-size: 14px; overflow-wrap: anywhere; }
.history-chevron { color: #88a1a7; font-size: 23px; line-height: 1; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.data-table { border-collapse: collapse; width: 100%; min-width: 560px; }
.data-table th { background: #f8fafb; color: #748793; font-size: 12px; text-align: left; font-weight: 800; padding: 12px 18px; white-space: nowrap; }
.data-table td { border-top: 1px solid var(--line); padding: 14px 18px; color: #3c515b; font-size: 14px; }
.data-table td strong { color: var(--ink); font-size: 14px; }
.table-action { text-align: right; }
.table-action a { color: var(--accent); font-weight: 800; white-space: nowrap; }
.table-subtext { display: block; color: var(--muted); font-size: 12px; }

.filter-bar { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: white; margin-bottom: 22px; }
.filter-field { display: grid; gap: 4px; min-width: 160px; }
.filter-field input { min-height: 39px; }
.metrics-band { display: grid; grid-template-columns: minmax(230px, 1.45fr) repeat(3, minmax(105px, 1fr)); background: #163744; border-radius: var(--radius); color: white; overflow: hidden; margin-bottom: 31px; }
.metrics-band > div { display: grid; align-content: center; gap: 4px; min-height: 117px; padding: 21px 22px; border-right: 1px solid #375664; }
.metrics-band > div:last-child { border-right: 0; }
.metrics-band span { color: #a8c5cb; font-size: 14px; font-weight: 700; }
.metrics-band strong { font-size: 27px; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.metrics-band .metric-primary strong { font-size: 37px; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ranking-list { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.ranking-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 17px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ranking-row:last-child { border-bottom: 0; }
.ranking-row strong { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 14px; }

.manager-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 25px; }
.manager-list { min-width: 0; }
.form-panel { border: 1px solid var(--line); background: white; border-radius: var(--radius); padding: 23px; }
.form-panel h2 { margin-bottom: 8px; }
.form-panel > p { color: var(--muted); font-size: 14px; margin-bottom: 21px; }
.stack-form { display: grid; gap: 12px; }
.stack-form p { display: grid; gap: 5px; margin: 0; }
.stack-form p:has(input[type='checkbox']) { display: flex; flex-wrap: wrap; align-items: center; }
.stack-form p:has(input[type='checkbox']) label { order: 1; }
.stack-form .helptext, .field-help { color: #7d9199; font-size: 12px; }
.stack-form ul { margin: 0; padding-left: 18px; }
.stack-form ul.errorlist, .form-errors { color: var(--danger); font-size: 13px; }
.stack-form .button { margin-top: 6px; }
.field-error { color: var(--danger); font-size: 13px; }
.editor-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; gap: 24px; }
.editor-grid .section-block { min-width: 0; }
.simple-list { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.simple-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.simple-row:last-child { border-bottom: 0; }
.simple-row strong { display: block; font-size: 14px; }
.simple-row small { color: var(--muted); }
.simple-row a { color: var(--accent); white-space: nowrap; font-weight: 800; }
.simple-row a:hover { text-decoration: underline; }
.inline-editor { margin-top: 13px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.inline-editor summary { padding: 13px 16px; color: var(--accent); font-weight: 800; font-size: 14px; cursor: pointer; }
.inline-editor[open] summary { border-bottom: 1px solid var(--line); }
.inline-editor form { padding: 17px; }
.manager-plan-list .plan-row { align-items: flex-start; }
.manager-plan-list .plan-date { margin-top: 3px; }
.manager-plan-list .text-link { align-self: center; }
.edit-plan-panel { max-width: 640px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 8px; }
.form-actions .button { margin-top: 0; }
.manager-report-section { padding: 0; }
.manager-report-section .section-heading { margin-bottom: 16px; }
.manager-line-total { font-size: 19px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.manager-line-meta { padding: 13px 22px; color: #4c626b; font-size: 14px; }
.manager-line-meta p { margin: 7px 0 0; white-space: pre-wrap; }
.correction-editor { margin: 0 22px 18px; }
.correction-history { border-top: 1px solid var(--line); padding: 14px 22px; font-size: 12px; }
.correction-history > strong { font-size: 14px; }
.correction-history p { margin: 8px 0 0; color: var(--muted); }
.correction-history p span { color: #455d67; white-space: pre-wrap; }

.message-list { display: grid; gap: 8px; margin-bottom: 20px; }
.message { padding: 11px 14px; border: 1px solid #bed7d9; border-radius: 7px; background: #e9f5f5; color: #175a65; font-size: 14px; font-weight: 700; }
.message-error { border-color: #e7c5c0; background: var(--danger-pale); color: var(--danger); }
.message-warning { border-color: #e6cfaa; background: var(--warning-pale); color: var(--warning); margin-bottom: 20px; }
.message-success { border-color: #bfddc9; background: var(--success-pale); color: var(--success); }

.auth-page { background: #e8eff1; }
.auth-shell { min-height: 100vh; }
.auth-shell > .message-list { position: absolute; z-index: 3; top: 20px; left: 50%; width: min(500px, calc(100% - 30px)); transform: translateX(-50%); }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .85fr); }
.login-intro { background: #173744; color: white; padding: clamp(34px, 6vw, 90px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-intro:after { content: ''; position: absolute; width: 560px; height: 560px; border: 1px solid #51808c; border-radius: 50%; left: -250px; bottom: -310px; opacity: .3; box-shadow: 0 0 0 80px #234b580d, 0 0 0 160px #234b5809; }
.login-intro > * { position: relative; z-index: 1; }
.login-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -.05em; }
.login-statement { font-size: clamp(42px, 5vw, 72px); font-weight: 800; letter-spacing: -.07em; line-height: 1.1; margin: auto 0 20px; }
.login-description { max-width: 360px; color: #accbd1; font-size: 14px; margin-bottom: 0; }
.login-panel { background: white; display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 7vw, 115px); }
.login-panel h1 { margin-bottom: 7px; }
.section-kicker { color: var(--accent); font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.supporting-text { color: var(--muted); font-size: 15px; max-width: 320px; margin-bottom: 25px; }
.login-form { max-width: 380px; }
.login-form .form-field { margin-bottom: 2px; }
.login-form .button { margin-top: 8px; min-height: 44px; }
.login-help { max-width: 380px; margin: 20px 0 0; color: #85969d; font-size: 13px; }
.signed-in-panel { max-width: 520px; margin: 9vh auto; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.signed-in-panel p { color: var(--muted); }

@media (max-width: 1150px) {
  .shift-layout, .manager-layout { grid-template-columns: minmax(0, 1fr); }
  .shift-side { position: static; }
  .side-panel { max-width: none; }
  .history-item { grid-template-columns: minmax(0, 1fr) auto; gap: 11px 14px; padding: 16px; }
  .history-date { grid-column: 1; grid-row: 1; }
  .history-earnings { grid-column: 2; grid-row: 1; text-align: right; }
  .history-accounts { grid-column: 1 / -1; grid-row: 2; }
  .history-item .status-pill { grid-column: 1; grid-row: 3; justify-self: start; }
  .history-chevron { grid-column: 2; grid-row: 3; justify-self: end; }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; min-height: 0; display: block; padding: 16px 22px 10px; }
  .brand { display: inline-flex; margin: 0 0 13px; }
  .sidebar-section-label { display: none; }
  .sidebar-bottom { display: flex; justify-content: flex-end; border: 0; padding: 0; margin: 0; }
  .sidebar-bottom .profile-box { display: none; }
  .logout-button { padding: 8px 10px; }
  .nav-list { display: inline-flex; flex-wrap: wrap; gap: 3px; vertical-align: middle; margin: 0 0 6px 16px; }
  .nav-link { padding: 8px 10px; min-height: 36px; }
  .nav-icon { display: none; }
  .topbar { display: flex; justify-content: space-between; padding: 9px 22px; border-bottom: 1px solid var(--line); background: white; font-size: 13px; color: var(--muted); }
  .topbar-product { display: none; }
  .main-content { padding: 32px 28px 60px; }
  .editor-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .sidebar { padding: 14px 16px 8px; }
  .sidebar .brand { display: flex; margin-bottom: 8px; }
  .nav-list { margin: 0 5px 4px 0; gap: 2px; }
  .nav-link { font-size: 14px; min-height: 38px; padding: 8px 9px; }
  .main-content { padding: 27px 16px 48px; }
  .page-head { align-items: start; margin-bottom: 23px; }
  .today-date { display: none; }
  .active-shift-panel { display: grid; min-height: 0; padding: 24px; margin-bottom: 35px; }
  .active-shift-panel .button { justify-self: start; }
  .awaiting-shift-panel { padding: 22px; align-items: start; margin-bottom: 35px; }
  .awaiting-symbol { width: 38px; height: 38px; font-size: 21px; }
  .plan-row { padding: 17px; gap: 13px; flex-wrap: wrap; }
  .plan-action { width: 100%; margin: 4px 0 0; }
  .plan-action .button { width: 100%; }
  .line-fields { grid-template-columns: 1fr; }
  .report-line-head { align-items: start; flex-direction: column; }
  .shift-summary { display: grid; gap: 16px; padding: 22px; min-height: 120px; }
  .report-progress { min-width: 0; text-align: left; }
  .summary-caption { display: none; }
  .history-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-filters .form-field { min-width: 0; }
  .history-filters .button { grid-column: 1 / -1; }
  .history-reset { grid-column: 1 / -1; justify-self: center; }
  .metrics-band { grid-template-columns: repeat(2, 1fr); }
  .metrics-band .metric-primary { grid-column: 1 / -1; min-height: 104px; border-bottom: 1px solid #375664; }
  .metrics-band .metric-secondary { min-height: 85px; padding: 14px 12px; }
  .metrics-band .metric-secondary:last-child { grid-column: 1 / -1; border-top: 1px solid #375664; }
  .metrics-band .metric-secondary strong { font-size: 21px; }
  .two-column { grid-template-columns: 1fr; gap: 0; }
  .filter-field { flex: 1 1 125px; min-width: 120px; }
  .login-layout { grid-template-columns: 1fr; }
  .login-intro { min-height: 245px; padding: 27px; }
  .login-statement { font-size: 40px; margin: 25px 0 8px; }
  .login-description { font-size: 14px; }
  .login-panel { padding: 37px 27px 55px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
