/* One compact organizer shell; details appear only when requested. */
html:has(body.om-active) { background:#08182c; color-scheme:dark; }
.om-active { background: #f9f8f4; }
.om-active > .site-header, .om-active > .site-footer { display: none; }
.om-shell.cc-shell.wrap { width: min(100%,1080px); margin: 0 auto; padding: 0 0 24px; border: 0; border-radius: 0; background: #f9f8f4; box-shadow: none; }
.om-shell .cc-context { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border: 0; border-bottom: 1px solid #e4e1d8; border-radius: 0; background: #fffdf8; color: #08182c; }
.om-mark { width: 28px; height: 28px; flex: 0 0 28px; }
.om-shell .cc-context > .admin-event-bar { display: block; border: 0; padding: 0; margin: 0; min-width: 0; flex: 1; }
.om-shell .admin-event-bar .field { margin: 0; max-width: none; }
.om-shell .admin-event-bar label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.om-shell .admin-event-bar select { margin: 0; padding: 8px 28px 8px 2px; min-height: 40px; width: 100%; border: 0; border-radius: 0; background-color: transparent; color: #08182c; font-size: .95rem; font-weight: 600; text-overflow: ellipsis; }
.om-shell .cc-tabs { background: #fffdf8; padding: 0 20px; border-bottom: 1px solid #e4e1d8; gap: 20px; overflow: visible; }
.om-shell .cc-tabs [role=tab] { flex: 0 1 auto; min-height: 50px; padding: 12px 18px; gap: 8px; border-radius: 0; border: 0; border-bottom: 2px solid transparent; color: #5c6570; background: transparent; font-size: .88rem; font-weight: 500; }
.om-shell .cc-tabs [role=tab][aria-selected=true] { border-bottom-color: #9b7429; color: #08182c; background: transparent; font-weight: 650; box-shadow: none; }
.om-shell .cc-tabs svg { width: 20px; height: 20px; flex: 0 0 20px; }
.om-shell .cc-workspace { padding: 22px 24px; margin: 0; border: 0; border-radius: 0; background: transparent; }
.om-shell .om-page-title { font-size: 1.3rem; line-height: 1.3; margin: 0 0 16px; letter-spacing: -.025em; }
.om-shell .om-loading { font-size: .87rem; color: #59616b; padding: 14px 0; }
.om-shell .panel { padding: 16px; background: #fffdf8; border: 1px solid #e1ded5; box-shadow: none; }
.om-search { margin: 0 0 12px; }
.om-search input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d5d4cb; border-radius: 8px; background: #fffdf8; color: #08182c; font-size: 16px; }
.om-search-status { font-size: .76rem; color: #59616b; }
.om-shell .om-event-actions { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 14px 0; border-top: 1px solid #e0ddd4; margin-top: 16px; }
.om-shell .om-event-actions button, .om-shell .om-account-actions :is(button,a) { background: none; border: 0; color: #4e5965; font-size: .8rem; min-height: 44px; padding: 8px 0; text-align: left; text-decoration: none; }
.om-shell .om-account-actions { display: flex; gap: 20px; flex-wrap: wrap; border-top: 1px solid #e0ddd4; }
.om-shell .om-event-actions button:hover, .om-shell .om-account-actions :is(button,a):hover { color: #08182c; text-decoration: underline; }
.om-shell > .admin-message:empty { display: none; }
.om-shell > .admin-message { padding: 0 16px; margin: 0; }
.om-shell .admin-message .notice { margin: 8px 0; }
.om-shell .om-empty { padding: 28px 0; }
.om-shell .om-empty h2 { margin-bottom: 20px; }
.om-dialog { width: min(600px,calc(100% - 24px)); max-height: min(90dvh,860px); padding: 0; border: 1px solid #d9d6cc; border-radius: 14px; background: #fffdf8; color: #08182c; box-shadow: 0 20px 90px #08182c33; }
.om-dialog::backdrop { background: #08182c66; }
.om-dialog-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #fffdf8; border-bottom: 1px solid #e3e0d7; z-index: 2; }
.om-dialog-header h2 { font-size: 1.05rem; margin: 0; }
.om-close { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; border-radius: 7px; color: #08182c; font-size: 1rem; }
.om-dialog-body { padding: 16px; }
.om-dialog-body > .panel, .om-dialog-body .om-reports > .panel { border: 0; padding: 0; margin: 0 0 20px; background: none; }
.om-dialog-body .panel-header { margin-bottom: 14px; }
.om-dialog-body .panel-header h2 { display: none; }
.om-dialog-body .schedule-grid, .om-dialog-body .inline-form, .om-dialog-body .submission-form { grid-template-columns: minmax(0,1fr); }
.om-dialog-body .admin-details { display: block; }
.om-dialog-body .field :is(input,select,textarea) { font-size: 16px; }
.om-dialog-body .admin-table-wrap { overflow-x: auto; }
.om-shell :is(button,a,summary,input,select):focus-visible { outline: 3px solid #b08a3c; outline-offset: 3px; }
@media(max-width:700px) {
  .om-shell.cc-shell.wrap { padding-bottom: calc(70px + env(safe-area-inset-bottom)); min-height: 100dvh; }
  .om-shell .cc-context { padding: 8px 16px; gap: 10px; min-height: 58px; }
  .om-shell .admin-event-bar select { font-size: 16px; }
  .om-shell .cc-tabs { position: fixed; inset: auto 0 0; z-index: 20; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 4px 8px calc(4px + env(safe-area-inset-bottom)); gap: 0; border-top: 1px solid #dedbd2; border-bottom: 0; background: #fffdf8; }
  .om-shell .cc-tabs [role=tab] { flex-direction: column; gap: 4px; padding: 7px 4px; min-height: 55px; border: 0; color: #64707a; font-size: .67rem; }
  .om-shell .cc-tabs [role=tab][aria-selected=true] { color: #08182c; background: #f0eadc; border-radius: 8px; }
  .om-shell .cc-tabs svg { width: 20px; height: 20px; }
  .om-shell .cc-workspace { padding: 16px; }
  .om-shell .cc-workspace[data-cc-workspace=overview] { padding-top: 12px; }
  .om-shell .om-page-title { margin-bottom: 12px; font-size: 1.2rem; }
  .om-shell .panel { padding: 14px; }
  .om-shell .field :is(input,select,textarea) { font-size: 16px; }
  .om-shell .inline-form, .om-shell .submission-form, .om-shell .schedule-grid { grid-template-columns: minmax(0,1fr); }
  .om-shell .panel-header { gap: 10px; }
  .om-dialog { max-height: calc(100dvh - 24px); }
}
@media(prefers-reduced-motion:reduce) { .om-shell * { scroll-behavior: auto!important; transition: none!important; } }

/* Shared organizer material, type, and interaction system. */
.om-active {
  --om-bg:#08182c; --om-surface:#10263d; --om-raised:#18334d;
  --om-text:#f5f2ea; --om-muted:#afc0d1; --om-gold:#dfc48a;
  --om-border:rgba(181,201,221,.16); --om-ease:cubic-bezier(.2,.75,.25,1);
  --navy:var(--om-text); --paper:var(--om-surface); --muted:var(--om-muted);
  --line:var(--om-border); --deep-gold:var(--om-gold); --error:#f1aaa3; --success:#9ed5bb;
  min-height:100dvh; color:var(--om-text); color-scheme:dark;
  background:radial-gradient(ellipse at 8% 0%,#b08a3c0d,transparent 38%),radial-gradient(ellipse at 100% 12%,#365c7b24,transparent 45%),var(--om-bg);
  font-family:"Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
.om-shell.cc-shell.wrap { min-height:100dvh; color:var(--om-text); background:transparent; }
.om-shell .cc-context { gap:14px; min-height:72px; padding:14px 24px; border-color:var(--om-border); background:transparent; color:var(--om-text); }
.om-mark { width:32px; height:32px; flex-basis:32px; padding:4px; border:1px solid #e2ce9c50; border-radius:9px; background:#f5f2ea; box-shadow:0 2px 12px #0002; }
.om-shell .admin-event-bar select { padding-right:30px; border-radius:6px; color:var(--om-text); font-size:16px; letter-spacing:-.018em; cursor:pointer; }
.om-shell .admin-event-bar select:hover { color:var(--om-gold); }
.om-shell .admin-event-bar option { background:var(--om-surface); color:var(--om-text); }
.om-shell .cc-tabs { background:transparent; padding:8px 24px; border-color:var(--om-border); gap:6px; }
.om-shell .cc-tabs [role=tab] { min-height:44px; padding:10px 18px; gap:9px; border-radius:10px; border:1px solid transparent; color:var(--om-muted); font-size:.85rem; transition:background 180ms var(--om-ease),color 180ms var(--om-ease),border-color 180ms var(--om-ease),transform 120ms var(--om-ease); }
.om-shell .cc-tabs [role=tab]:hover { background:#ffffff06; color:var(--om-text); }
.om-shell .cc-tabs [role=tab][aria-selected=true] { border-color:#dfc48a30; color:#f0d9a5; background:linear-gradient(135deg,#dfc48a18,#dfc48a09); box-shadow:inset 0 1px #fff5dc0b; }
.om-shell .cc-tabs [role=tab]:active { transform:scale(.97); }
.om-shell .cc-workspace:not([hidden]) { animation:om-reveal 200ms var(--om-ease) both; }
.om-shell .om-page-title { color:var(--om-text); font-size:1.4rem; line-height:1.25; font-weight:600; letter-spacing:-.035em; }
.om-shell .om-loading { display:flex; align-items:center; gap:10px; font-size:.84rem; color:var(--om-muted); padding:18px 0; }
.om-shell .om-loading::before { content:""; width:13px; height:13px; border:1.5px solid var(--om-border); border-top-color:var(--om-gold); border-radius:50%; animation:om-spin 900ms linear infinite; }
.om-shell .panel { background:var(--om-surface); border-color:var(--om-border); border-radius:12px; box-shadow:inset 0 1px #ffffff04; }
.om-shell .om-search input { border-color:var(--om-border); border-radius:10px; background:#06142666; color:var(--om-text); }
.om-shell :is(input,textarea)::placeholder { color:#91a6ba; }
.om-shell .om-search-status { color:var(--om-muted); }
.om-shell :is(.field input,.field select,.field textarea,.input) { background:#081b2d; border-color:#8ca6bd42; border-radius:10px; color:var(--om-text); min-height:46px; transition:border-color 160ms var(--om-ease),box-shadow 160ms var(--om-ease); }
.om-shell :is(.field input,.field select,.field textarea):focus { border-color:var(--om-gold); box-shadow:0 0 0 3px #dfc48a12; }
.om-shell :is(.field input,.field select,.field textarea):disabled { background:#081b2d80; color:var(--om-muted); }
.om-shell .admin-event-bar select { border:0; min-height:40px; background-color:transparent; }
.om-shell .field > label { color:#d9e2eb; font-size:.82rem; font-weight:550; }
.om-shell .button { min-height:44px; padding:10px 16px; color:#102138; background:linear-gradient(135deg,#e5cea1,#caae73); border:1px solid #e7d4aa; border-radius:10px; font-size:.84rem; font-weight:650; box-shadow:inset 0 1px #fff5dc66,0 2px 8px #0001; transition:transform 120ms var(--om-ease),background 180ms var(--om-ease),border-color 180ms var(--om-ease),box-shadow 180ms var(--om-ease); }
.om-shell .button:hover:not(:disabled) { background:#ead5aa; border-color:#f2dfb8; box-shadow:0 3px 14px #0002; }
.om-shell :is(.button-secondary,.button-quiet) { background:#ffffff03; border-color:#91abc24d; color:#d6e1eb; box-shadow:inset 0 1px #ffffff03; font-weight:550; }
.om-shell :is(.button-secondary,.button-quiet):hover:not(:disabled) { background:#ffffff09; border-color:#b5c9dd77; color:var(--om-text); }
.om-shell .button-danger { color:#ffd4cf; border-color:#d5887e70; background:#a5483922; }
.om-shell .button-danger:hover:not(:disabled) { color:#ffe1dd; border-color:#efaaa1; background:#a5483933; }
.om-shell :is(button,.button):active:not(:disabled) { transform:translateY(1px); }
.om-shell :is(button,.button):disabled { opacity:.45; cursor:default; }
.om-shell .text-button { color:var(--om-gold); }
.om-shell .pill { color:#bdcddd; background:#ffffff06; border-color:var(--om-border); }
.om-shell .pill.submitted { color:#a4dbc3; background:#73b69a12; border-color:#73b69a40; }
.om-shell .notice { background:#dfc48a0c; color:#eadbbd; border-color:#dfc48a40; padding:12px 14px; font-size:.82rem; }
.om-shell .notice.error { background:#df867a0c; border-color:#d78b8259; color:#ffc4bc; }
.om-shell .notice.success { background:#73b69a10; border-color:#73b69a40; color:#b2e2cb; }
.om-shell .om-event-actions,.om-shell .om-account-actions { border-color:var(--om-border); }
.om-shell .om-event-actions { border-top:0; margin-top:10px; padding-block:6px; }
.om-shell .om-event-actions button,.om-shell .om-account-actions :is(button,a) { color:var(--om-muted); font-size:.78rem; transition:color 150ms var(--om-ease); }
.om-shell .om-event-actions button:hover,.om-shell .om-account-actions :is(button,a):hover { color:var(--om-gold); text-decoration:none; }
.om-shell .admin-message .notice { animation:om-reveal 180ms var(--om-ease) both; }
.om-dialog { border-color:#a9bfd33b; border-radius:18px; background:var(--om-surface); color:var(--om-text); box-shadow:0 28px 90px #0008,inset 0 1px #ffffff08; }
.om-dialog[open] { animation:om-dialog-in 220ms var(--om-ease) both; }
.om-dialog::backdrop { background:#020a16bd; backdrop-filter:blur(5px); }
.om-dialog-header { padding:12px 18px; background:#10263df5; border-color:var(--om-border); backdrop-filter:blur(12px); }
.om-dialog-header h2 { letter-spacing:-.025em; }
.om-close { background:#ffffff04; border:1px solid var(--om-border); border-radius:10px; color:var(--om-muted); transition:background 150ms var(--om-ease),color 150ms var(--om-ease); }
.om-close:hover { color:var(--om-text); background:#ffffff0b; }
.om-dialog-body > .panel,.om-dialog-body .om-reports > .panel { background:none; box-shadow:none; }
.om-shell :is(button,a,summary,input,select,textarea):focus-visible { outline:2px solid var(--om-gold); outline-offset:3px; }
@keyframes om-reveal { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@keyframes om-dialog-in { from { opacity:0; transform:translateY(10px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes om-spin { to { transform:rotate(360deg); } }
@media(max-width:700px) {
  .om-shell.cc-shell.wrap { padding-bottom:calc(76px + env(safe-area-inset-bottom)); }
  .om-shell .cc-context { padding:10px 16px; gap:11px; min-height:64px; }
  .om-mark { width:30px; height:30px; flex-basis:30px; }
  .om-shell .admin-event-bar select { font-size:16px; }
  .om-shell .cc-tabs { padding:7px 8px calc(7px + env(safe-area-inset-bottom)); gap:4px; border-top-color:#a9bfd326; background:#0a1c30f2; backdrop-filter:blur(16px); box-shadow:0 -8px 30px #030a141c; }
  .om-shell .cc-tabs [role=tab] { gap:5px; padding:7px 2px; min-height:55px; color:#9fb2c5; font-size:.66rem; border-radius:11px; }
  .om-shell .cc-tabs [role=tab][aria-selected=true] { color:#efd49e; background:linear-gradient(145deg,#dfc48a17,#dfc48a08); border-color:#dfc48a28; border-radius:11px; }
  .om-shell .cc-workspace { padding:18px 16px; }
  .om-shell .cc-workspace[data-cc-workspace=overview] { padding-top:14px; }
  .om-shell .om-page-title { font-size:1.3rem; }
}
@media(prefers-reduced-motion:reduce) {
  .om-shell *,.om-shell *::before,.om-shell *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}

/* Immediate event actions stay above every organizer workspace. */
.om-shell .om-launch { padding:10px 24px 12px; border-bottom:1px solid var(--om-border); }
.om-launch-buttons { display:flex; align-items:stretch; gap:8px; }
.om-launch-buttons button { min-height:44px; padding:9px 12px; border:1px solid var(--om-border); border-radius:9px; background:var(--om-raised); color:var(--om-text); font-size:.8rem; line-height:1.25; font-weight:600; }
.om-launch-buttons .om-start-judging { background:var(--om-gold); color:var(--om-bg); border-color:transparent; }
.om-launch-buttons .om-review-judges { margin-right:auto; color:var(--om-gold); background:transparent; }
.om-launch-status { margin:7px 0 0; font-size:.72rem; line-height:1.4; color:var(--om-muted); }
.om-launch-buttons button[hidden] { display:none; }
.om-start-dialog { max-width:560px; }
.om-start-dialog .om-start-event { margin:0 0 9px; color:var(--om-gold); font-size:.86rem; font-weight:600; }
.om-start-explanation { margin:0 0 12px; color:var(--om-text); font-size:.9rem; line-height:1.55; }
.om-start-adjustment { margin:8px 0 12px; color:#f0c59b; font-size:.79rem; line-height:1.5; }
.om-start-reminders { margin:12px 0; }
.om-start-reminder-label { font-size:.75rem; color:var(--om-muted); margin:0 0 6px; }
.om-start-reminders ul { list-style:none; padding:0; margin:0; }
.om-start-reminders li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px 0; border-top:1px solid var(--om-border); font-size:.77rem; line-height:1.4; color:var(--om-muted); }
.om-setup-link { min-height:44px; padding:6px 0; flex-shrink:0; border:0; background:none; color:var(--om-gold); font-size:.76rem; }
.om-start-feedback { font-size:.8rem; line-height:1.5; color:#ffd1c2; margin:10px 0; }
.om-start-feedback:empty { display:none; }
.om-start-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.om-start-actions .om-start-confirm { flex:1; }
.om-start-actions [hidden],.om-start-adjustment[hidden] { display:none; }
@media(max-width:700px) {
 .om-shell .om-launch { padding:8px 16px 10px; }
 .om-launch-buttons { gap:6px; }
 .om-launch-buttons button { flex:1; padding:8px 7px; font-size:.74rem; }
 .om-launch-buttons .om-review-judges { margin-right:0; }
 .om-launch-status { font-size:.7rem; }
 .om-start-dialog { width:100%; max-height:calc(100dvh - 16px); margin:auto 0 0; border-radius:16px 16px 0 0; }
 .om-start-dialog .om-dialog-body { padding-bottom:calc(20px + env(safe-area-inset-bottom)); }
 .om-start-reminders li { display:block; padding-block:7px; }
 .om-start-reminders .om-setup-link { display:block; padding-block:6px; }
}
.om-start-reminders summary { min-height:44px; display:flex; align-items:center; gap:8px; cursor:pointer; color:var(--om-muted); font-size:.77rem; }
.om-start-reminders summary::after { content:'+'; margin-left:auto; color:var(--om-gold); }
.om-start-reminders details[open]>summary::after { content:'−'; }
