:root {
  color-scheme: light;
  --green-950: #003b49;
  --green-900: #006c82;
  --green-800: #007f99;
  --green-700: #008eaa;
  --green-100: #d8f1f5;
  --green-50: #effbfc;
  --cream: #f4fbfc;
  --gold: #72d2e2;
  --ink: #12333b;
  --muted: #617b82;
  --line: #d4e8ec;
  --danger: #b5473c;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(0, 71, 87, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: #eef5f6; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #eef5f6; color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }

.app-shell { width: 100%; min-height: 100vh; margin: 0 auto; padding-bottom: calc(88px + env(safe-area-inset-bottom)); background: #f7fbfc; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 11px; min-height: 68px; padding: max(12px, env(safe-area-inset-top)) 18px 12px; background: rgba(0,108,130,.97); color: white; box-shadow: 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.topbar h1 { margin: 0; font-size: 1.05rem; font-weight: 750; letter-spacing: -.01em; }
.topbar small { display: block; margin-top: 2px; color: #c4d8cf; }
.topbar-copy { flex: 1; min-width: 0; }
.topbar-logo { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; object-fit: contain; background: white; padding: 4px; }
.icon-btn { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.08); color: white; }
.icon-btn svg { width: 20px; height: 20px; }
.avatar { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 auto; border: 2px solid rgba(255,255,255,.28); border-radius: 50%; background: var(--gold); color: var(--green-950); font-weight: 800; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 24px 18px; }
.eyebrow { margin: 0 0 7px; color: var(--green-700); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.page-title { margin: 0; font-size: clamp(1.7rem, 6vw, 2.45rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
.page-subtitle { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }

.login-page { width: 100%; min-height: 100vh; display: grid; margin: 0 auto; background: var(--cream); }
.login-hero { min-height: 300px; position: relative; overflow: hidden; padding: 40px 28px; background: linear-gradient(145deg, #00566a, #008da9); color: white; }
.login-hero::before, .login-hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.login-hero::before { width: 330px; height: 330px; right: -150px; top: -125px; }
.login-hero::after { width: 210px; height: 210px; right: -68px; top: -60px; }
.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 58px; height: 58px; border-radius: 50%; object-fit: contain; background: white; padding: 5px; box-shadow: 0 5px 18px rgba(0, 45, 56, .2); }
.brand strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; letter-spacing: .08em; }
.brand small { color: #b8cec4; letter-spacing: .18em; text-transform: uppercase; }
.login-quote { position: absolute; left: 24px; bottom: 34px; max-width: 290px; margin: 0; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.3; color: #e9e2d2; }
.login-panel { width: min(100%, 500px); margin: -20px auto 0; position: relative; z-index: 2; padding: 32px 24px; border-radius: 28px 28px 0 0; background: var(--cream); }
.login-panel h1 { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.login-panel > p { margin: 8px 0 26px; color: var(--muted); }

.field { display: grid; gap: 8px; margin-bottom: 17px; }
.field label, .field-label { color: #34423c; font-size: .88rem; font-weight: 750; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; top: 50%; left: 15px; width: 20px; transform: translateY(-50%); color: #85918c; }
input, select, textarea { width: 100%; border: 1px solid #cfd8d3; border-radius: 13px; background: white; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
input, select { min-height: 52px; padding: 0 15px; }
.input-wrap input { padding-left: 46px; }
textarea { min-height: 88px; padding: 13px 15px; resize: vertical; }
select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2368756f' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
input:focus, select:focus, textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(33,104,78,.11); }

.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; padding: 0 22px; font-weight: 800; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.985); }
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--green-900); color: white; box-shadow: 0 8px 20px rgba(18,55,42,.2); }
.btn-primary:hover { background: var(--green-800); }
.btn-secondary { border: 1px solid var(--line); background: white; color: var(--green-900); }
.btn-danger { background: #fff0ee; color: var(--danger); }
.btn-full { width: 100%; }
.btn:disabled { background: #dfe4e1; color: #87918c; box-shadow: none; }
.login-hint { margin-top: 18px; text-align: center; font-size: .8rem; color: var(--muted); }

.welcome-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; overflow: hidden; margin: 8px 0 28px; padding: 26px; border-radius: 24px; background: linear-gradient(130deg, #005c70, #008da9); color: white; box-shadow: var(--shadow); }
.welcome-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; bottom: -145px; border: 36px solid rgba(255,255,255,.08); border-radius: 50%; }
.welcome-copy { position: relative; z-index: 2; }
.welcome-logo { position: relative; z-index: 2; width: 104px; height: 104px; object-fit: contain; padding: 8px; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 12px 28px rgba(0, 43, 53, .18); }
.welcome-card .date { color: #bad0c6; font-size: .83rem; }
.welcome-card h2 { margin: 8px 0 5px; font-size: 1.65rem; font-weight: 800; letter-spacing: -.035em; }
.welcome-card p { margin: 0; color: #d0dfd8; }
.shift-pill { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .78rem; }
.shift-pill i { width: 7px; height: 7px; border-radius: 50%; background: #70d29c; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.section-head h2 { margin: 0; font-size: 1.08rem; }
.section-head span { color: var(--muted); font-size: .82rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-card { min-height: 156px; position: relative; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: white; text-align: left; color: var(--ink); box-shadow: 0 8px 24px rgba(0,71,87,.055); transition: transform .18s, box-shadow .18s, border-color .18s; }
.service-card:not(.disabled):hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,71,87,.12); }
.service-card.primary { grid-column: 1 / -1; min-height: 168px; border: 0; background: linear-gradient(135deg, #21684e, #164331); color: white; }
.service-card.disabled { opacity: .62; cursor: not-allowed; }
.service-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: auto; border-radius: 13px; background: var(--green-50); color: var(--green-800); }
.primary .service-icon { background: rgba(255,255,255,.13); color: #f4dfae; }
.service-icon svg { width: 23px; height: 23px; }
.service-card strong { margin-top: 16px; font-size: 1rem; }
.service-card small { margin-top: 5px; color: var(--muted); line-height: 1.35; }
.primary small { color: #cde0d7; }
.status-tag { position: absolute; top: 14px; right: 14px; padding: 5px 8px; border-radius: 999px; background: #eef1ef; color: #69736e; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.primary .status-tag { background: #e3bc66; color: #1d3c2f; }

.bottom-nav { position: fixed; z-index: 30; left: 0; bottom: 0; display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 28px rgba(0,62,76,.07); backdrop-filter: blur(12px); }
.desktop-nav-brand { display: none; }
.nav-btn { display: grid; justify-items: center; gap: 3px; border: 0; background: transparent; color: #7a8680; font-size: .72rem; }
.nav-btn svg { width: 22px; height: 22px; }
.nav-btn.active { color: var(--green-700); font-weight: 800; }

.stepper { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr; align-items: center; margin: 22px 0 25px; }
.step { display: grid; justify-items: center; gap: 7px; color: #8b9691; font-size: .75rem; font-weight: 700; text-align: center; }
.step-num { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #ccd5d0; border-radius: 50%; background: white; }
.step.active { color: var(--green-800); }
.step.active .step-num { border-color: var(--green-800); background: var(--green-800); color: white; }
.step.done .step-num { border-color: var(--green-100); background: var(--green-100); color: var(--green-800); }
.step-line { height: 1px; background: #d7dedb; transform: translateY(-10px); }
.step-line.done { background: var(--green-700); }

.info-card, .report-card, .success-card { border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 9px 28px rgba(0,71,87,.06); }
.info-card { display: flex; gap: 13px; margin-bottom: 16px; padding: 15px; background: #fffaf0; border-color: #ead8ac; }
.info-card svg { width: 22px; flex: 0 0 auto; color: #946f21; }
.info-card strong { display: block; color: #664f20; font-size: .9rem; }
.info-card p { margin: 4px 0 0; color: #7a6843; font-size: .82rem; line-height: 1.45; }
.progress-row { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.progress-track { height: 8px; flex: 1; overflow: hidden; border-radius: 99px; background: #e4e9e6; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--green-700); transition: width .25s; }
.progress-row strong { min-width: 37px; color: var(--green-800); font-size: .85rem; }

.report-list { display: grid; gap: 14px; }
.report-card { overflow: hidden; }
.report-card-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fbfefe); }
.slot-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--green-50); color: var(--green-800); font-weight: 850; }
.report-card-head div:nth-child(2) { flex: 1; }
.report-card-head strong { display: block; font-size: .93rem; }
.report-card-head small { color: var(--muted); }
.complete-check { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-800); }
.complete-check svg { width: 17px; }
.report-card-body { display: grid; gap: 16px; padding: 18px; }
.report-card .field { margin: 0; }
.photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-box { position: relative; display: grid; width: 100%; min-height: 205px; place-items: center; overflow: hidden; border: 1.5px dashed #89b9c4; border-radius: 15px; padding: 0; background: #f2fafb; color: var(--green-800); text-align: center; }
.photo-box.has-photo { border-style: solid; background: #12261e; }
.photo-box img { width: 100%; height: 240px; display: block; object-fit: cover; }
.photo-placeholder { display: grid; justify-items: center; gap: 8px; padding: 20px; }
.photo-placeholder svg { width: 34px; height: 34px; }
.photo-placeholder strong { font-size: .9rem; }
.photo-placeholder small { color: var(--muted); }
.photo-stamp { position: absolute; right: 9px; bottom: 9px; left: 9px; display: flex; align-items: end; justify-content: space-between; gap: 8px; padding: 10px; border-radius: 9px; background: linear-gradient(90deg, rgba(7,19,14,.85), rgba(7,19,14,.5)); color: white; text-align: left; }
.photo-stamp strong { font-size: .78rem; }
.photo-stamp small { color: #dbe7e1; font-size: .7rem; }
.retake { border: 0; border-radius: 8px; padding: 7px 9px; background: rgba(255,255,255,.9); color: var(--green-900); font-size: .72rem; font-weight: 800; }
.locked-detail { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: #f3f7f5; color: var(--muted); }
.locked-detail svg { width: 18px; flex: 0 0 auto; color: var(--green-700); }
.locked-detail strong { display: block; color: var(--ink); font-size: .88rem; }
.locked-detail p { margin: 3px 0 0; font-size: .8rem; line-height: 1.4; }
.sticky-action { position: sticky; z-index: 10; bottom: calc(68px + env(safe-area-inset-bottom)); margin-top: 22px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 14px 35px rgba(0,71,87,.12); backdrop-filter: blur(10px); }

.waiting-card { overflow: hidden; border-radius: 20px; background: var(--green-900); color: white; box-shadow: var(--shadow); }
.waiting-top { padding: 26px 22px; text-align: center; }
.clock-ring { display: grid; width: 104px; height: 104px; place-items: center; margin: 0 auto 17px; border: 7px solid rgba(255,255,255,.12); border-top-color: var(--gold); border-radius: 50%; }
.clock-ring svg { width: 38px; color: var(--gold); }
.waiting-card h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
.waiting-card p { margin: 8px auto 0; max-width: 370px; color: #c9d9d2; line-height: 1.5; }
.countdown { margin-top: 17px; font-size: 1.55rem; font-weight: 850; letter-spacing: .05em; }
.waiting-meta { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.12); }
.waiting-meta div { padding: 15px; text-align: center; }
.waiting-meta div + div { border-left: 1px solid rgba(255,255,255,.12); }
.waiting-meta small { display: block; color: #a9c0b6; }
.waiting-meta strong { display: block; margin-top: 4px; font-size: .88rem; }
.demo-panel { margin-top: 17px; padding: 15px; border: 1px dashed #b6c1bc; border-radius: 14px; background: #f4f7f5; }
.demo-panel strong { font-size: .85rem; }
.demo-panel p { margin: 4px 0 11px; color: var(--muted); font-size: .8rem; }

.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.summary-item { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.summary-item small { display: block; color: var(--muted); }
.summary-item strong { display: block; margin-top: 5px; color: var(--green-900); }
.pair-list { display: grid; gap: 12px; }
.pair-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.pair-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.pair-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9eeeb; }
.pair-image img { width: 100%; height: 100%; object-fit: cover; }
.pair-label { position: absolute; top: 7px; left: 7px; padding: 4px 7px; border-radius: 6px; background: rgba(10,30,22,.77); color: white; font-size: .66rem; font-weight: 850; text-transform: uppercase; }
.pair-copy { padding: 13px; }
.pair-copy strong { display: block; }
.pair-copy p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.success-card { padding: 28px 20px; text-align: center; }
.success-icon { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: var(--green-100); color: var(--green-800); }
.success-icon svg { width: 35px; }
.success-card h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
.success-card p { color: var(--muted); line-height: 1.5; }
.report-id { display: inline-block; margin: 4px 0 20px; padding: 8px 12px; border-radius: 8px; background: #f1f4f2; color: var(--green-900); font-family: ui-monospace, monospace; font-size: .82rem; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 36px); transform: translate(-50%, 20px); padding: 11px 15px; border-radius: 10px; background: #17251f; color: white; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .22s; font-size: .85rem; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.empty-state { padding: 40px 18px; text-align: center; color: var(--muted); }
.history-item { display: flex; align-items: center; gap: 13px; margin-bottom: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.history-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--green-50); color: var(--green-800); }
.history-copy { flex: 1; }
.history-copy strong, .history-copy small { display: block; }
.history-copy small { margin-top: 3px; color: var(--muted); }
.history-status { color: var(--green-700); font-size: .75rem; font-weight: 800; }

.camera-modal { position: fixed; z-index: 200; inset: 0; display: flex; flex-direction: column; background: #00191f; color: white; }
.camera-top { display: flex; align-items: center; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 16px 14px; background: rgba(0, 28, 35, .92); }
.camera-top strong { flex: 1; text-align: center; }
.camera-close { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: white; font-size: 1.5rem; }
.camera-switch { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: white; }
.camera-switch svg { width: 23px; height: 23px; }
.camera-viewport { position: relative; flex: 1; display: grid; place-items: center; overflow: hidden; background: #001217; }
.camera-video { width: 100%; height: 100%; object-fit: cover; }
.camera-video.front { transform: scaleX(-1); }
.camera-guide { position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.58); border-radius: 18px; pointer-events: none; }
.camera-guide::before, .camera-guide::after { content: ""; position: absolute; width: 38px; height: 38px; border-color: #71d7e8; border-style: solid; }
.camera-guide::before { top: -2px; left: -2px; border-width: 4px 0 0 4px; border-radius: 14px 0 0; }
.camera-guide::after { right: -2px; bottom: -2px; border-width: 0 4px 4px 0; border-radius: 0 0 14px; }
.camera-tip { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 9px 12px; border-radius: 9px; background: rgba(0, 22, 27, .7); text-align: center; font-size: .82rem; }
.camera-controls { display: grid; justify-items: center; gap: 8px; padding: 18px 18px calc(20px + env(safe-area-inset-bottom)); background: #002934; }
.shutter { display: grid; width: 72px; height: 72px; place-items: center; border: 5px solid white; border-radius: 50%; background: transparent; }
.shutter::after { content: ""; width: 54px; height: 54px; border-radius: 50%; background: #72d2e2; transition: transform .12s; }
.shutter:active::after { transform: scale(.88); }
.camera-controls small { color: #b9dbe2; }
.camera-loading { position: absolute; inset: 0; display: grid; place-items: center; background: #003b49; color: #d9f5fa; }

@media (max-width: 430px) {
  .welcome-logo { width: 76px; height: 76px; border-radius: 18px; }
  .welcome-card { padding: 22px 19px; }
  .welcome-card h2 { font-size: 1.45rem; }
  .service-card { min-height: 148px; padding: 16px; }
}

@media (min-width: 720px) {
  .container { padding: 30px 28px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .service-card.primary { grid-column: span 2; }
  .report-card-body { grid-template-columns: minmax(280px, .9fr) minmax(300px, 1.1fr); align-items: start; }
  .photo-box { grid-row: span 3; min-height: 300px; }
  .photo-box img { height: 100%; min-height: 300px; }
  .summary-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 960px) {
  .app-shell { padding-bottom: 0; }
  .topbar { margin-left: 240px; min-height: 76px; padding: 14px 34px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
  .topbar small { color: var(--muted); }
  .topbar-logo { border: 1px solid var(--line); }
  .icon-btn { border-color: var(--line); background: var(--green-50); color: var(--green-800); }
  .avatar { border-color: #c6e7ed; background: var(--green-100); color: var(--green-900); }
  .container { width: calc(100% - 240px); max-width: 1280px; margin-left: 240px; margin-right: 0; padding: 40px 46px 56px; }
  .bottom-nav { top: 0; bottom: 0; width: 240px; grid-template-columns: 1fr; grid-auto-rows: max-content; align-content: start; gap: 8px; padding: 26px 18px; border-top: 0; border-right: 1px solid var(--line); box-shadow: 8px 0 30px rgba(0,62,76,.045); }
  .desktop-nav-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; padding: 4px 7px 21px; border-bottom: 1px solid var(--line); }
  .desktop-nav-brand img { width: 44px; height: 44px; object-fit: contain; }
  .desktop-nav-brand span { min-width: 0; }
  .desktop-nav-brand strong, .desktop-nav-brand small { display: block; }
  .desktop-nav-brand strong { color: var(--green-900); font-size: .9rem; letter-spacing: .07em; }
  .desktop-nav-brand small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
  .nav-btn { min-height: 50px; grid-template-columns: 24px 1fr; align-items: center; justify-items: start; gap: 12px; border-radius: 13px; padding: 0 15px; font-size: .9rem; }
  .nav-btn.active { background: var(--green-50); }
  .welcome-card { min-height: 225px; padding: 38px 42px; }
  .welcome-card h2 { font-size: 2.15rem; }
  .welcome-logo { width: 142px; height: 142px; border-radius: 30px; }
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .service-card.primary { grid-column: span 2; }
  .service-card { min-height: 190px; padding: 22px; }
  .sticky-action { bottom: 18px; max-width: 520px; margin-left: auto; }
  .report-list { gap: 18px; }
  .report-card-body { grid-template-columns: minmax(340px, .9fr) minmax(350px, 1.1fr); padding: 22px; }
  .login-page { grid-template-columns: minmax(420px, 1.15fr) minmax(440px, .85fr); }
  .login-hero { min-height: 100vh; padding: 58px clamp(42px, 7vw, 100px); }
  .login-quote { left: clamp(42px, 7vw, 100px); bottom: 80px; max-width: 480px; font-size: 2.2rem; }
  .login-panel { align-self: center; margin: 0 auto; padding: 48px; border-radius: 28px; background: white; box-shadow: var(--shadow); }
}

@media (min-width: 1320px) {
  .container { padding-right: 64px; padding-left: 64px; }
  .report-card-body { grid-template-columns: minmax(420px, .9fr) minmax(420px, 1.1fr); }
}

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