:root {
    --navy: #17324d;
    --navy-2: #244866;
    --blue: #206fc5;
    --blue-soft: #e9f3ff;
    --green: #0b805a;
    --green-soft: #e6f7f0;
    --orange: #f59e0b;
    --red: #c73546;
    --ink: #17212b;
    --muted: #6b7785;
    --line: #dce3e9;
    --surface: #fff;
    --background: #f3f6f8;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(27, 52, 76, .08);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100%; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--background); line-height: 1.45; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, .button { touch-action: manipulation; }

.app-shell { min-height: 100vh; padding-bottom: 76px; }
.topbar { height: 72px; background: var(--navy); color: white; display: flex; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100vw - 1180px) / 2)); position: sticky; top: 0; z-index: 20; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.2px; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #ffca59, #ff9d2f); color: #563500; font-size: 14px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.brand small { display: block; opacity: .68; font-weight: 500; font-size: 11px; letter-spacing: .2px; }
.user-chip { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.avatar { width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,.13); display: grid; place-items: center; font-weight: 800; }
.user-chip .role { opacity: .65; font-size: 11px; }

.page { max-width: 1180px; margin: 0 auto; padding: 26px 20px 40px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.page-head h1, .page-head h2 { margin: 0 0 5px; letter-spacing: -.6px; }
.page-head p { margin: 0; color: var(--muted); }
h1 { font-size: clamp(25px, 4vw, 34px); }
h2 { font-size: 21px; }
h3 { margin: 0 0 8px; }
.muted { color: #5f6d7a; }
.eyebrow { display: block; color: var(--blue); font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 800; margin-bottom: 7px; }

.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: center; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,44,67,.07); backdrop-filter: blur(10px); }
.bottom-nav a { min-width: 95px; min-height: 64px; padding: 9px 16px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 700; }
.bottom-nav a.active { color: var(--blue); }
.nav-icon { font-size: 19px; line-height: 1; }

.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.round-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.round-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 205px; }
.round-card.final { color: #fff; background: linear-gradient(145deg, #17324d, #286185); border: 0; }
.round-card.final .muted { color: rgba(255,255,255,.68); }
.round-card .round-number { font-size: 46px; line-height: 1; font-weight: 900; color: var(--blue-soft); position: absolute; right: 17px; top: 14px; }
.round-card.final .round-number { color: rgba(255,255,255,.09); }
.round-card h3 { margin-top: 35px; font-size: 20px; }
.round-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.stat-line { display: flex; gap: 17px; margin-top: 8px; color: var(--muted); font-size: 13px; }

.button { border: 0; border-radius: 11px; min-height: 43px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 750; cursor: pointer; transition: transform .1s, opacity .15s, background .15s; }
.button:active { transform: scale(.98); }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button:focus-visible, .score-button:focus-visible, .rubric-option:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(36,119,212,.35); outline-offset: 2px; }
.button.primary { background: var(--blue); color: white; }
.button.success { background: var(--green); color: white; }
.button.danger { background: var(--red); color: white; }
.button.secondary { background: var(--blue-soft); color: var(--blue); }
.button.ghost { background: transparent; color: inherit; border: 1px solid var(--line); }
.button.large { min-height: 55px; font-size: 16px; border-radius: 14px; }
.button.full { width: 100%; }
.button.small { min-height: 34px; font-size: 12px; padding: 6px 11px; border-radius: 9px; }

.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 5px 9px; background: #eef2f5; color: var(--muted); font-size: 11px; font-weight: 800; }
.pill.green { color: #087a55; background: var(--green-soft); }
.pill.blue { color: #1766b9; background: var(--blue-soft); }
.pill.orange { color: #9d6400; background: #fff4d9; }

.alert { border-radius: 12px; padding: 12px 15px; margin-bottom: 16px; font-size: 14px; }
.alert.success { background: var(--green-soft); color: #086747; }
.alert.danger { background: #ffe9ec; color: #a72232; }
.alert.info { background: var(--blue-soft); color: #155a9f; }

.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 15% 10%, #e9f5ff, transparent 35%), radial-gradient(circle at 90% 80%, #fff2d4, transparent 30%), #f4f7f9; }
.auth-card { width: min(100%, 420px); background: white; padding: 32px; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 70px rgba(23,50,77,.14); }
.auth-card > .brand-mark { width: 54px; height: 54px; border-radius: 17px; }
.auth-card h1 { margin: 20px 0 7px; }
.auth-card p { line-height: 1.55; }
.credential-box { background: #f5f7f9; border: 1px dashed #bac6d0; border-radius: 12px; padding: 14px; margin: 14px 0; line-height: 1.7; }

.form-group { margin-bottom: 16px; }
.form-group label, .field-label { display: block; font-size: 12px; font-weight: 800; color: #405162; margin-bottom: 7px; }
.input, input[type=text], input[type=password], input[type=number], select, textarea { width: 100%; border: 1px solid #cfd8df; border-radius: 11px; background: white; padding: 11px 12px; min-height: 44px; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,119,212,.12); }
textarea { min-height: 84px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.participant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.participant-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 17px; box-shadow: 0 6px 22px rgba(30,53,73,.06); }
.participant-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.participant-no { width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: white; display: grid; place-items: center; font-size: 12px; font-weight: 850; flex: none; }
.participant-name { font-size: 17px; font-weight: 800; margin: 0; }
.progress { height: 7px; background: #edf1f4; border-radius: 99px; overflow: hidden; margin: 14px 0 7px; }
.progress span { display: block; height: 100%; background: var(--green); border-radius: inherit; }

.score-page { max-width: 980px; }
.score-sticky { position: sticky; top: 72px; z-index: 15; margin: -26px -20px 20px; padding: 14px 20px; background: rgba(243,246,248,.95); backdrop-filter: blur(9px); border-bottom: 1px solid var(--line); }
.score-person { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 980px; margin: auto; }
.save-state { color: var(--muted); font-size: 12px; font-weight: 750; }
.save-state.saved { color: var(--green); }
.participant-switcher { max-width: 980px; margin: 11px auto 0; display: flex; gap: 8px; overflow-x: auto; padding: 1px 1px 5px; scrollbar-width: thin; }
.participant-switch { flex: 0 0 138px; min-height: 55px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); display: grid; grid-template-columns: 29px 1fr; grid-template-rows: auto auto; column-gap: 7px; align-items: center; }
.participant-switch > strong { grid-row: 1 / 3; width: 29px; height: 29px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 8px; font-size: 11px; }
.participant-switch > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; }
.participant-switch > small { color: var(--muted); font-size: 10px; }
.participant-switch.active { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 2px rgba(36,119,212,.12); }
.participant-switch.complete:not(.active) { border-color: #9bd6c2; background: var(--green-soft); }
.score-sheet-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.score-sheet-intro h1 { margin: 3px 0 4px; font-size: 25px; }
.score-sheet-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.challenge-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-bottom: 14px; }
.challenge-tab { min-height: 76px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); text-align: left; display: grid; grid-template-columns: 31px 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; cursor: pointer; }
.challenge-tab > span { grid-row: 1 / 3; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--navy); font-weight: 900; }
.challenge-tab > strong { font-size: 13px; line-height: 1.25; }
.challenge-tab > small { color: var(--muted); font-size: 10px; }
.challenge-tab.active { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 2px rgba(36,119,212,.13); }
.challenge-tab.complete > small { color: var(--green); font-weight: 800; }
.challenge-score-panel[hidden] { display: none; }
.challenge-score-panel { padding: 18px; }
.challenge-panel-title { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.challenge-panel-title h2 { margin: 2px 0 4px; font-size: 21px; }
.challenge-panel-title p { margin: 0; color: var(--muted); font-size: 12px; }
.challenge-number { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--navy); color: white; font-weight: 900; }
.criteria-sheet { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.compact-criterion { border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: #fbfcfd; }
.compact-criterion .criterion-copy h3 { margin: 2px 0 4px; font-size: 17px; }
.compact-criterion .criterion-copy p { margin: 0; color: var(--muted); font-size: 11px; }
.rubric-options.compact { grid-template-columns: 1fr; gap: 7px; }
.rubric-options.compact .rubric-option { min-height: 66px; padding: 9px; }
.rubric-options.compact .rubric-option small { font-size: 11px; line-height: 1.3; }
.challenge-score-panel .challenge-note { padding: 14px 0 0; }
.score-sheet-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.challenge-card { padding: 0; overflow: hidden; margin-bottom: 17px; }
.challenge-title { padding: 17px 19px; background: #f8fafb; border-bottom: 1px solid var(--line); }
.challenge-title h3 { font-size: 17px; margin: 0 0 3px; }
.criterion-row { padding: 17px 19px; border-bottom: 1px solid #edf1f3; }
.criterion-row:last-of-type { border-bottom: 0; }
.criterion-copy { margin-bottom: 11px; }
.criterion-copy strong { display: block; font-size: 14px; }
.criterion-copy small { color: var(--muted); }
.score-control { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.score-button { height: 48px; border: 1px solid #ccd6de; background: white; color: #425263; border-radius: 10px; font-size: 17px; font-weight: 850; cursor: pointer; }
.score-button.selected { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 5px 15px rgba(36,119,212,.25); }
.challenge-note { padding: 0 19px 19px; }
.challenge-brief { padding: 18px; }
.challenge-brief-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.brief-item { border: 1px solid var(--line); border-radius: 12px; padding: 11px; display: flex; gap: 9px; align-items: flex-start; background: #f9fbfc; }
.brief-item > span { width: 27px; height: 27px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--navy); color: white; font-weight: 900; font-size: 12px; }
.brief-item strong, .brief-item small { display: block; }
.brief-item strong { font-size: 13px; line-height: 1.35; }
.brief-item small { color: var(--muted); font-size: 11px; line-height: 1.4; margin-top: 4px; }
.rubric-score-card { padding: 19px; }
.rubric-score-card .criterion-copy h2 { margin: 0 0 4px; }
.rubric-score-card .criterion-copy p { margin: 0 0 14px; font-size: 13px; }
.rubric-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.rubric-option { min-height: 88px; border: 1px solid #ccd6de; background: white; color: var(--ink); border-radius: 12px; padding: 11px; text-align: left; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.rubric-option:hover { border-color: var(--blue); }
.rubric-option.selected { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 7px 18px rgba(36,119,212,.22); }
.rubric-number { width: 33px; height: 33px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: var(--blue-soft); font-size: 17px; font-weight: 900; }
.rubric-option.selected .rubric-number { background: rgba(255,255,255,.2); color: #fff; }
.rubric-option strong, .rubric-option small { display: block; }
.rubric-option strong { font-size: 14px; margin-bottom: 3px; }
.rubric-option small { color: #5f6d7a; font-size: 12px; line-height: 1.45; }
.rubric-option.selected small { color: rgba(255,255,255,.78); }

.timer-hero { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--navy); color: white; margin-bottom: 18px; }
.timer-hero p { margin: 4px 0 0; color: rgba(255,255,255,.7); }
.timer-card { text-align: center; padding: 19px; transition: background .2s, border-color .2s; }
.timer-card .participant-head { text-align: left; }
.time-display { font-variant-numeric: tabular-nums; font-size: clamp(35px, 6vw, 48px); font-weight: 900; letter-spacing: -2px; margin: 18px 0; color: var(--navy); }
.timer-card.stopped { background: var(--green-soft); border-color: #a8ddc9; }
.timer-card.stopped .time-display { color: var(--green); }
.stop-button { min-height: 58px; font-size: 18px; letter-spacing: 1px; }

.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; }
table { border-collapse: collapse; width: 100%; min-width: 650px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid #e8edf0; vertical-align: middle; }
th { color: #556575; background: #f7f9fa; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
td { font-size: 14px; }
.jury-challenge-breakdown { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; color: var(--muted); }
.jury-challenge-breakdown small { font-size: 10px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.rank { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: #eef2f4; font-weight: 900; }
.rank.first { background: #fff0bd; color: #8b5b00; }
.score-big { font-weight: 900; color: var(--blue); font-variant-numeric: tabular-nums; }
.winner-row { background: #fffaf0; }

.section { margin-bottom: 24px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.section-title h2 { margin: 0; }
.winner-banner { border: 1px solid #e7c95b; background: linear-gradient(135deg, #fff9df, #fff); border-radius: 16px; padding: 17px 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.winner-banner .trophy { font-size: 30px; }
.readiness-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin-bottom: 11px; }
.readiness-item { border: 1px solid var(--line); border-radius: 12px; padding: 11px; display: flex; align-items: center; gap: 9px; background: white; }
.readiness-item > span { width: 29px; height: 29px; flex: none; display: grid; place-items: center; border-radius: 9px; font-weight: 900; }
.readiness-item.ready { border-color: #aadfcb; background: var(--green-soft); }
.readiness-item.ready > span { color: white; background: var(--green); }
.readiness-item.waiting { border-color: #efd795; background: #fff9e9; }
.readiness-item.waiting > span { color: #815800; background: #ffe7a3; }
.readiness-item strong, .readiness-item small { display: block; }
.readiness-item strong { font-size: 13px; }
.readiness-item small { color: #5f6d7a; font-size: 11px; line-height: 1.4; margin-top: 2px; }
.podium-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 13px; }
.podium-card { border: 1px solid var(--line); border-radius: 14px; background: white; padding: 14px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.podium-card.place-1 { background: #fff9df; border-color: #e6c85d; }
.podium-card > span { font-size: 27px; }
.podium-card small { color: var(--muted); text-transform: uppercase; font-weight: 850; font-size: 10px; letter-spacing: .7px; }
.podium-card strong { margin: 4px 0; }
.podium-card em { color: var(--muted); font-size: 11px; font-style: normal; }

.editable-list { display: grid; gap: 10px; }
.editable-row { display: grid; grid-template-columns: 60px minmax(160px, 1fr) 130px; gap: 9px; align-items: end; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.editable-row.rubric { grid-template-columns: minmax(140px, 1fr) 2fr 85px; }
.editable-row.challenge { grid-template-columns: minmax(140px, 1fr) 2fr; }
.rubric-editor { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafb; }
.rubric-editor textarea { min-height: 76px; font-size: 12px; }
.help-box { padding: 15px; border-radius: 12px; background: #f5f8fa; color: #536372; font-size: 13px; line-height: 1.55; }

.toast-holder { position: fixed; z-index: 100; right: 18px; top: 88px; display: grid; gap: 8px; }
.participant-plan { display: grid; gap: 5px; padding: 15px; margin: 0 0 16px; border: 1px solid #b9d7f5; border-radius: 12px; background: var(--blue-soft); color: var(--navy); }
.participant-plan strong { font-size: 17px; }
.participant-plan span { font-weight: 750; line-height: 1.6; }
.participant-plan small { color: var(--muted); }
.toast { background: var(--navy); color: white; border-radius: 11px; padding: 11px 15px; box-shadow: 0 10px 35px rgba(0,0,0,.2); font-size: 13px; animation: toast-in .2s ease-out; }
.toast.danger { background: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

.report-head { display: flex; justify-content: space-between; border-bottom: 2px solid var(--navy); padding-bottom: 15px; margin-bottom: 20px; }
.report-head h1 { font-size: 25px; margin: 0 0 5px; }
.report-section { break-inside: avoid; margin-bottom: 25px; }
.signature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 55px; text-align: center; }
.signature-line { border-top: 1px solid #555; padding-top: 6px; margin-top: 65px; }

@media (max-width: 800px) {
    .round-grid, .participant-grid, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid.two { grid-template-columns: 1fr; }
    .editable-row.rubric { grid-template-columns: 1fr 80px; }
    .editable-row.rubric > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
    .criteria-sheet { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .topbar { height: 62px; padding: 0 14px; }
    .brand > div:last-child { display: none; }
    .user-chip > div:nth-child(2) { display: none; }
    .page { padding: 19px 13px 30px; }
    .page-head { align-items: flex-start; flex-direction: column; margin-bottom: 16px; }
    .round-grid, .participant-grid, .grid.three { grid-template-columns: 1fr; }
    .round-card { min-height: 175px; }
    .round-card h3 { margin-top: 25px; }
    .bottom-nav { justify-content: space-around; }
    .bottom-nav a { min-width: 0; flex: 1; padding-inline: 5px; }
    .score-sticky { top: 62px; margin: -19px -13px 15px; padding: 11px 13px; }
    .score-person { align-items: flex-start; }
    .score-person > div { text-align: left !important; flex: 1; }
    .save-state { max-width: 74px; text-align: right; }
    .participant-switch { flex-basis: 116px; }
    .score-sheet-intro { flex-direction: column; }
    .challenge-tabs { display: flex; overflow-x: auto; padding-bottom: 4px; }
    .challenge-tab { flex: 0 0 165px; }
    .challenge-score-panel { padding: 13px; }
    .challenge-panel-title h2 { font-size: 18px; }
    .compact-criterion { padding: 11px; }
    .score-sheet-footer { align-items: stretch; flex-direction: column; text-align: center; }
    .challenge-title, .criterion-row { padding-left: 14px; padding-right: 14px; }
    .challenge-note { padding-left: 14px; padding-right: 14px; }
    .score-button { height: 51px; }
    .challenge-brief-grid, .rubric-options { grid-template-columns: 1fr; }
    .rubric-option { min-height: 75px; }
    .timer-hero { align-items: stretch; flex-direction: column; }
    .timer-hero .button { width: 100%; }
    .editable-row { grid-template-columns: 52px 1fr; }
    .editable-row > :last-child { grid-column: 1 / -1; }
    .editable-row.challenge { grid-template-columns: 1fr; }
    .rubric-editor { grid-template-columns: 1fr; }
    .signature-grid { grid-template-columns: 1fr; gap: 0; }
    .podium-grid { grid-template-columns: 1fr; }
    .readiness-grid { grid-template-columns: 1fr; }
}

@media print {
    body { background: white; color: #111; }
    .topbar, .bottom-nav, .no-print, .toast-holder { display: none !important; }
    .app-shell { padding: 0; }
    .page { max-width: none; padding: 0; }
    .card, .table-wrap { box-shadow: none; }
    table { min-width: 0; }
    th, td { padding: 8px; }
    @page { size: A4; margin: 15mm; }
}
