:root{font:16px system-ui,Arial,sans-serif;background:#111318;color:#f4f4f5;color-scheme:dark;--accent:#ff7849;--muted:#b6bac4}*{box-sizing:border-box}body{margin:0}main{max-width:1120px;margin:auto;padding:24px}h1{font-size:clamp(34px,5vw,62px);line-height:1.05;letter-spacing:-2px;margin:18px 0}h2{font-size:24px;margin:0 0 14px}h3{font-size:20px}p{line-height:1.6}p,.muted{color:var(--muted)}.top{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.brand{font-weight:900;letter-spacing:1px;text-decoration:none;color:#fff}.brand b{color:var(--accent)}.card{background:#1d2027;border:1px solid #353942;border-radius:20px;padding:24px;margin:20px 0}.hero{background:radial-gradient(circle at 85% 10%,#773624,#1d2027 65%);padding:32px}.pill{display:inline-block;background:#633323;color:#ffc5aa;padding:7px 12px;border-radius:100px;font-size:14px;font-weight:700}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px;align-items:end}.chef{background:#252932;padding:24px;border-radius:16px;border:1px solid #353942}.chef h3{margin:5px 0}.nav{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0 12px}.nav button{background:#282b33;color:#ddd}.nav button.active{background:var(--accent);color:#171717}button,.button{font:inherit;border:0;background:var(--accent);color:#141414;font-weight:750;border-radius:11px;padding:12px 16px;cursor:pointer;display:inline-block;text-decoration:none}button:disabled{opacity:.5;cursor:wait}button.secondary,.button.secondary{background:#343944;color:#fff}input,select,textarea{font:inherit;width:100%;padding:12px;border-radius:10px;background:#111318;color:#fff;border:1px solid #505664;margin:6px 0 14px}textarea{min-height:100px;resize:vertical}label{display:block;font-size:14px;color:#d6d8df}label.check{display:flex;align-items:center;gap:8px;margin:12px 0}input[type=checkbox]{width:20px;height:20px;margin:0}table{width:100%;border-collapse:collapse}td,th{padding:12px 10px;text-align:left;border-bottom:1px solid #383b43}.scroll{overflow:auto}.small{font-size:14px}.tag{color:#ffb08f}.score{font-size:32px;font-weight:850;color:#fff}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}#notice{color:#ffccad;min-height:26px;white-space:pre-line}#notice.error{color:#ffb1b1}a{color:#ffb08f}code{overflow-wrap:anywhere;font-size:14px}details{border-top:1px solid #3c4049;padding:16px 0}summary{cursor:pointer;font-weight:700;padding:6px 0}footer{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;color:var(--muted);font-size:14px;margin:36px 0}.dish{width:100%;max-height:280px;object-fit:cover;border-radius:12px}.series-icon{font-size:40px;display:block}.series-icon img{width:64px;height:64px;object-fit:cover;border-radius:12px}.qr{background:white;border-radius:12px;padding:10px;width:200px;max-width:100%;display:block}.steps{display:flex;flex-wrap:wrap;gap:7px;margin-top:24px}.steps span{font-size:14px;border:1px solid #6b4b40;border-radius:6px;padding:7px;color:#c6b9b3}.steps .current{background:#ff7849;color:#141414;font-weight:700}.trophy{border-color:#8d6c32;background:linear-gradient(130deg,#3a3020,#1d2027 70%)}.empty{padding:30px 0}.inline{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.hint{border-left:3px solid var(--accent);padding-left:15px}#printarea{display:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #fff;outline-offset:3px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){main{padding:16px}.card,.hero{padding:20px}.nav button{flex:1 1 40%;font-size:14px}.cols{grid-template-columns:1fr}.chef{padding:18px}h1{letter-spacing:-1px}td,th{padding:10px 5px}}@media print{@page{size:A4;margin:18mm}:root,html,body{background:white;color:#111;color-scheme:light}main{display:none}#printarea{display:block}#printarea h1{font-size:38pt}#printarea p{color:#333}#printarea .poster{text-align:center;padding:12mm 0}#printarea .qr{width:80mm;margin:12mm auto}#printarea .access{border:1px dashed #888;padding:7mm;margin:6mm 0;break-inside:avoid}#printarea code{font-size:11pt;word-break:break-all}#printarea .brand{color:#111}#printarea .url{overflow-wrap:anywhere}}

/* Clear hierarchy for labels, headings and the challenge artwork. */
.eyebrow{display:block;width:fit-content;margin:0 0 16px;font-size:14px;line-height:1.35;font-weight:750;letter-spacing:.11em;color:#ffb08f}
.pill.eyebrow{display:inline-flex;align-items:center;letter-spacing:.07em;margin-bottom:16px}
.hero-layout{display:grid;gap:32px;align-items:center;min-width:0}
.hero-layout.with-image{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hero-copy{min-width:0}
.hero-copy h1{font-size:clamp(34px,4vw,52px);line-height:1.08;margin:0 0 22px;overflow-wrap:anywhere;text-wrap:balance}
.hero-description{margin:0;line-height:1.75;max-width:56ch;color:#d0c7c3}
.hero-meta{margin:24px 0 0;font-size:14px;color:#c5b4ad}
.hero-visual{margin:0;min-width:0;aspect-ratio:1;border-radius:16px;overflow:hidden;background:#18120f;border:1px solid #70402e}
.hero-visual img{display:block;width:100%;height:100%;object-fit:contain}
.hero .steps{margin-top:28px;padding-top:24px;border-top:1px solid #67483d}
.hero .series-icon{margin-bottom:18px;line-height:1}
.hero>.eyebrow+h1{margin-top:0}
.tag{display:block;margin-bottom:12px;font-size:14px;line-height:1.4;font-weight:700;letter-spacing:.06em}
.chef h3{margin:0 0 16px;line-height:1.3}
.chef .dish{margin-bottom:18px}
.trophy h2{margin:0 0 20px;line-height:1.3}
.trophy .score{margin:0 0 18px;line-height:1.25}
.trophy>p:last-child{margin-bottom:0}
label{line-height:1.5}
fieldset{min-width:0;margin:0 0 20px;padding:20px;border:1px solid #505664;border-radius:12px}
legend{padding:0 8px;font-weight:700}
@media(max-width:760px){.hero-layout.with-image{grid-template-columns:minmax(0,1fr)}.hero-layout{gap:26px}.hero-visual{order:-1}.hero-copy h1{font-size:clamp(32px,7vw,44px);letter-spacing:-1px}.hero-meta{margin-top:18px}.eyebrow{margin-bottom:14px}.hero .steps{margin-top:24px;padding-top:20px}}

/* Administration: navigation, lists, one shared participant save, native dialogs. */
[hidden]{display:none!important}
.brand{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.brand-logo{display:block;width:204px;max-width:100%;height:auto;filter:brightness(0) invert(1)}
.brand-product{font-size:13px;letter-spacing:.15em;font-weight:750;border-left:1px solid #505664;padding-left:18px}
.top{padding:10px 0 8px}.top .small{font-size:12px;letter-spacing:.06em}
.admin-shell{display:grid;grid-template-columns:205px minmax(0,1fr);gap:28px;align-items:start;margin-top:20px}
.admin-sidebar{position:sticky;top:24px;border:1px solid #353942;background:#191c22;border-radius:16px;padding:20px 12px}
.admin-sidebar>.eyebrow{margin:2px 10px 18px;font-size:12px;color:#a7acb8}
.admin-sidebar nav{display:grid;gap:6px}.admin-nav-item{display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;color:#c9cdd6;font-size:14px;text-align:left;padding:13px 12px;font-weight:600}
.admin-nav-item:hover{background:#262a32}.admin-nav-item.selected{background:#593125;color:#ffc5aa}
.count-badge{background:#80503b;padding:2px 7px;border-radius:6px;font-size:12px}.lock-button{font-size:13px;width:100%;margin-top:24px}
.admin-content{min-width:0}.admin-content>.card:first-child{margin-top:0}.admin-content .card{padding:24px;margin:20px 0}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}.section-heading h2,.section-heading h3{margin:0;line-height:1.3}.section-heading p{margin:10px 0 0;max-width:65ch;font-size:14px;line-height:1.65}.section-heading .actions{margin:0;gap:8px}.admin-content>.section-heading{margin:4px 0 28px}.admin-content button{font-size:14px;line-height:1.4}
.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:26px}.stat{background:#1d2027;border:1px solid #353942;border-radius:14px;padding:20px}.stat span{display:block;font-size:13px;color:#b6bac4;line-height:1.5}.stat strong{display:block;font-size:34px;line-height:1.1;margin-top:14px}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quick-action{text-align:left;padding:24px;background:#232730;color:#f4f4f5;border:1px solid #414650;display:grid;gap:12px}.quick-action span{font-weight:400;color:#b6bac4;line-height:1.6}.quick-action strong{font-size:17px}
.record-list{display:grid}.record-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid #363b44;flex-wrap:wrap}.record-row:first-child{padding-top:0}.record-row:last-child{border-bottom:0;padding-bottom:0}.record-main{min-width:140px;flex:1;display:grid;gap:7px;overflow-wrap:anywhere}.record-main strong{font-size:16px;line-height:1.45}.record-main>span{font-size:13px;color:#aeb4c0;line-height:1.5}.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.status-chip{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid #4d535e;border-radius:7px;font-size:12px;color:#c9cdd6;white-space:nowrap}.status-chip.live{border-color:#9a593e;color:#ffb998;background:#422b22}.text-button{background:transparent;color:#ffb08f;padding:10px 8px}.text-button:hover{background:#2d2a2a}.avatar{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;background:#34303a;border-radius:12px;color:#e0b8a7;font-size:17px;font-weight:750}
.list-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:0 0 20px}.list-toolbar .actions{margin:0 0 2px}.search-field{width:min(100%,300px)}.search-field input{margin-bottom:0}.segmented{display:flex;gap:6px;flex-wrap:wrap}.segmented button{background:#262a32;color:#b6bac4}.segmented .selected{background:#f4f4f5;color:#17191e}.empty-state{padding:26px 0;text-align:left}.empty-state h3{margin:0 0 12px}.empty-state p{margin:0 0 20px;font-size:14px}
.series-record{display:grid;grid-template-columns:130px minmax(0,1fr);gap:24px}.series-thumb{width:130px;aspect-ratio:1;background:#29252a;border-radius:12px;overflow:hidden;display:grid;place-items:center;font-size:44px}.series-thumb img{width:100%;height:100%;object-fit:contain}.series-record h3{margin:0 0 12px;font-size:21px}.series-record-copy{min-width:0}.series-record p{font-size:14px;line-height:1.65;margin:0 0 18px}.meta-line{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:#b6bac4}.series-record .actions{margin:20px 0 0}.back-button{margin:0 0 18px;padding-left:0}.workspace-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid #414650;margin:0 0 24px}.workspace-tabs button{background:transparent;color:#b6bac4;border-radius:0;padding:14px 16px;border-bottom:2px solid transparent;margin-bottom:-1px}.workspace-tabs button.selected{color:#ffc5aa;border-bottom-color:#ff7849}.settings-summary{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px}.settings-art{font-size:48px;min-width:0}.settings-art img{width:100%;border-radius:12px}.settings-summary h3{margin:0 0 14px}.settings-summary p{margin:0 0 20px;font-size:14px}.settings-summary dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 20px;font-size:14px}.settings-summary dt{color:#aeb4c0}.settings-summary dd{margin:0}
.selection-count{font-size:13px;color:#ffbf9f;background:#3d2b25;border-radius:8px;padding:9px 12px;white-space:nowrap}.member-list{display:grid;gap:10px}.member-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(260px,1fr);gap:20px;align-items:center;padding:18px;border:1px solid #3d424c;background:#20242c;border-radius:12px}.member-row.is-selected{border-color:#92553d;background:#2b2525}.member-row.is-inactive{opacity:.6}.member-person{display:flex;align-items:center;gap:14px;cursor:pointer;min-width:0}.member-person input{flex:0 0 21px;width:21px;height:21px;margin:0;accent-color:#ff7849}.member-person>span{display:grid;gap:6px;min-width:0}.member-person strong{font-size:15px;overflow-wrap:anywhere}.member-person .small{font-size:12px}.absence-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.absence-fields label{font-size:12px}.absence-fields input{min-width:0;width:100%;font-size:13px;padding:10px 8px;margin:6px 0 0}.save-bar{position:sticky;bottom:12px;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:18px;margin:24px -6px -6px;background:#242932;border:1px solid #5f6570;border-radius:12px;box-shadow:0 8px 28px #0007}.save-bar>div:first-child{display:grid;gap:7px;flex:1;min-width:160px}.save-bar strong{font-size:14px}.save-bar span{font-size:12px;color:#b6bac4;line-height:1.5}.save-bar .actions{margin:0}.login-panel{max-width:560px;margin:30px auto}.login-panel h2{margin-bottom:18px}
#admin-editor{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #535b68;border-radius:20px;background:#1d2027;color:#f4f4f5;box-shadow:0 24px 120px #0009;overflow:auto}
#admin-editor::backdrop{background:#07090dba;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 28px 20px;border-bottom:1px solid #3b414c;position:sticky;top:0;background:#1d2027;z-index:3}.dialog-header h2{margin:0;font-size:24px;line-height:1.3}.dialog-close{background:#303641;color:#e8e9ed;width:36px;height:36px;padding:0;flex:0 0 36px;font-size:26px;font-weight:400;border-radius:9px}.dialog-close:hover{background:#454c58}#editor-body{padding:24px 28px 28px}#editor-body>p:first-child{margin-top:0}#editor-body form label{margin-bottom:6px}#editor-body form h3{font-size:17px;margin:20px 0 14px}#editor-body form>button:last-child{margin-top:12px}#editor-body .cols{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:start}.dialog-actions{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid #3c424c;margin-top:24px;padding-top:22px}.access-box{margin-top:28px;padding:22px;background:#171a20;border:1px solid #373d48;border-radius:12px}.access-box h3{font-size:17px;margin:0 0 14px}.access-box code{display:block;line-height:1.7}.access-box .actions{margin-bottom:0}.modal-meta{display:flex;align-items:center;gap:14px;font-size:14px;color:#b6bac4;margin-bottom:20px}.entry-review{padding:22px;border:1px solid #424854;border-radius:12px}.entry-review+.entry-review{margin-top:16px}.entry-review h3{margin:0 0 16px}.entry-review h4{font-size:17px;margin:0 0 14px}.entry-review p{font-size:14px}.entry-review .eyebrow{font-size:12px}.entry-review .dish{margin-top:12px}#editor-notice:empty{display:none}#editor-notice{padding:16px 28px 0;color:#ffbf9f;white-space:pre-line}#editor-notice.error{color:#ffb1b1}
@media(max-width:1000px){.admin-shell{grid-template-columns:180px minmax(0,1fr);gap:20px}.admin-content .card{padding:20px}.member-row{grid-template-columns:1fr;gap:16px}.series-record{grid-template-columns:100px minmax(0,1fr);gap:20px}.series-thumb{width:100px}.save-bar{position:static}.brand-logo{width:180px}}
@media(max-width:760px){.admin-shell{display:block}.admin-sidebar{position:static;padding:10px;margin-bottom:26px}.admin-sidebar>.eyebrow{display:none}.admin-sidebar nav{display:flex;overflow:auto;gap:4px;padding-bottom:4px}.admin-nav-item{white-space:nowrap;flex:0 0 auto}.lock-button{margin-top:8px;width:auto;padding:8px 12px}.admin-content>.section-heading{margin-bottom:22px}.section-heading{gap:16px}.section-heading .actions{width:100%}.stats-grid{gap:8px}.stat{padding:14px 10px}.stat span{font-size:12px}.stat strong{font-size:28px}.quick-grid{grid-template-columns:1fr}.series-record{grid-template-columns:1fr}.series-thumb{width:100%;max-height:240px;aspect-ratio:16/9}.series-thumb img{object-fit:cover}.settings-summary{grid-template-columns:1fr}.settings-art{max-width:220px}.workspace-tabs button{font-size:13px;padding:12px 10px}.record-row{gap:12px}.record-row .row-actions{width:100%;padding-left:0}.record-row .status-chip{margin-left:auto}.selection-count{white-space:normal}.list-toolbar .actions{width:100%}.member-row{padding:16px}.save-bar .actions{width:100%}.save-bar .actions>button:last-child{flex:1}.brand{gap:12px}.brand-logo{width:168px}.brand-product{font-size:11px;padding-left:12px}.top .small{display:none}#admin-editor{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);border-radius:16px}.dialog-header{padding:20px}.dialog-header h2{font-size:21px}#editor-body{padding:20px}#editor-notice{padding:16px 20px 0}#editor-body .cols{grid-template-columns:1fr}.dialog-actions>button{width:100%}.settings-summary dl{grid-template-columns:1fr;gap:6px}.settings-summary dd{margin-bottom:10px}}
@media print{#admin-editor{display:none!important}.brand-logo{filter:none;width:55mm}.print-brand{justify-content:center;gap:6mm}.brand-product{border-color:#aaa;color:#222}.access .print-brand{justify-content:flex-start}.access .brand-logo{width:42mm}}

#editor-body .cols{row-gap:18px;margin-bottom:18px}#editor-body .cols label{margin-bottom:0}#editor-body .cols input{margin-bottom:0}
#member-feedback:empty{display:none}#member-feedback{flex-basis:100%;margin:0;color:#ffb1b1;font-size:14px;line-height:1.5}
@media(max-width:760px){.admin-sidebar nav{display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:4px}.admin-nav-item{white-space:normal;font-size:13px}.admin-nav-item:last-child{grid-column:1 / -1}.lock-button{margin-top:12px}}

/* Consistent inset chevron; keep the native select behavior and keyboard support. */
select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;padding-right:48px;background-image:url('/chevron-down.svg');background-repeat:no-repeat;background-position:right 16px center;background-size:16px 16px}
select:disabled{opacity:.6}
@media(forced-colors:active){select:not([multiple]):not([size]){appearance:auto;-webkit-appearance:auto;background-image:none}}
