
/* SocialDog の管理画面の色・文字・形に合わせている（2026-11-17 に実物から読み取った値）。ロゴ・画像は使っていない。
   文を減らし、数字・棒・印・色で伝える。幅が狭い時は、メニューが上に並ぶ。 */
/* design/見本_大会の運営.html と同じ配色・白カードの影。 */
:root {
  --ui-blue:#1769e2;
  --ui-body:#2f3f54;
  --ui-ink:#0f1d29;
  --ui-muted:rgba(0,27,56,.64);
  --ui-border:#e3e8f2;
  --ui-bg:#e9edf3;
  --ui-surface:#f4f6fa;
  --card-shadow:0 3px 8px rgba(137,145,154,.15),0 0 1px rgba(137,145,154,.15);
}
* { box-sizing: border-box; }
body { margin: 0; background: #e9edf3; color: #2f3f54; font-size: 15px; line-height: 1.6;
  font-family: "Segoe UI", Meiryo, system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; }
.wrap { width: 100%; padding: 20px 12px 56px; }
.doc-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; line-height: 1.4; color: #0f1d29; }
.how { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; flex: none; }

.app { background: #f4f6fa; border-radius: 10px; overflow: hidden; position: relative; box-shadow: 0 0 1px rgba(137,145,154,.6);
  display: grid; grid-template-columns: 224px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "top main" "tabs main"; }
.app > input { position: absolute; opacity: 0; pointer-events: none; }
.top { grid-area: top; background: #fff; padding: 16px 16px 6px; display: flex; flex-wrap: wrap; gap: 2px 14px; align-items: center; }
.top .sys { font-weight: 700; font-size: 15px; color: #0f1d29; }
.top .sys::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: #1769e2; margin-right: 8px; vertical-align: -2px; }
.top .ev { display: none; font-size: 12px; color: rgba(0,27,56,.64); }
.tabs { grid-area: tabs; background: #fff; padding: 6px 0 16px; display: flex; flex-direction: column; }
.tabs .acct { margin: 6px 12px 10px; padding: 10px 12px; border: 1px solid #e3e8f2; border-radius: 8px; line-height: 1.4; }
.tabs .acct b { display: block; color: #0f1d29; font-size: 14px; }
.tabs .acct span { font-size: 12px; color: rgba(0,27,56,.64); }
.tabs .sech { padding: 14px 16px 2px; font-size: 12px; color: rgba(0,27,56,.64); }
.tabs label { padding: 9px 16px; min-height: 40px; color: #2f3f54; cursor: pointer; white-space: nowrap; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.main { grid-area: main; padding: 18px 20px 24px; min-width: 0; }
.scr, .pan, .sub { display: none; }
#t1:checked ~ .main .s1, #t2:checked ~ .main .s2, #t3:checked ~ .main .s3, #t4:checked ~ .main .s4, #t5:checked ~ .main .s5 { display: block; }
#t1:checked ~ .tabs label[for="t1"], #t2:checked ~ .tabs label[for="t2"], #t3:checked ~ .tabs label[for="t3"], #t4:checked ~ .tabs label[for="t4"], #t5:checked ~ .tabs label[for="t5"] { color: #1769e2; font-weight: 700; }
#st1:checked ~ .main .p1, #st2:checked ~ .main .p2, #st3:checked ~ .main .p3, #st4:checked ~ .main .p4, #st5:checked ~ .main .p5, #st6:checked ~ .main .p6 { display: block; }
#st1:checked ~ .main .steps label[for="st1"] .n, #st2:checked ~ .main .steps label[for="st2"] .n, #st3:checked ~ .main .steps label[for="st3"] .n, #st4:checked ~ .main .steps label[for="st4"] .n, #st5:checked ~ .main .steps label[for="st5"] .n, #st6:checked ~ .main .steps label[for="st6"] .n { background: #1769e2; border-color: #1769e2; color: #fff; }
#st1:checked ~ .main .steps label[for="st1"], #st2:checked ~ .main .steps label[for="st2"], #st3:checked ~ .main .steps label[for="st3"], #st4:checked ~ .main .steps label[for="st4"], #st5:checked ~ .main .steps label[for="st5"], #st6:checked ~ .main .steps label[for="st6"] { color: #1769e2; font-weight: 700; }
#pp1:checked ~ .main .q1, #pp2:checked ~ .main .q2 { display: block; }
#pp1:checked ~ .main .subtabs label[for="pp1"], #pp2:checked ~ .main .subtabs label[for="pp2"] { background: #1769e2; border-color: #1769e2; color: #fff; font-weight: 700; }

.hd { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-bottom: 10px; }
h1.pt { font-size: 18px; font-weight: 700; margin: 0 6px 0 0; line-height: 1.4; color: #0f1d29; }
h2.sec { font-size: 16px; font-weight: 700; margin: 22px 0 10px; line-height: 1.4; color: #0f1d29; display: flex; align-items: center; gap: 6px; }
p { margin: 0 0 8px; }
b { color: #0f1d29; }
.sub2 { color: rgba(0,27,56,.64); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 3px 8px; border-radius: 4px; background: #e9edf3; color: #2f3f54; white-space: nowrap; }
.chip.w { background: #fff; }
.chip.wait { background: #fff1d6; color: #8a5300; font-weight: 700; }
.chip .ic { width: 14px; height: 14px; vertical-align: -2px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.pill.dn { background: #fde8e7; color: #ad201e; }
.pill.up { background: #e1fada; color: #006942; }
.ok, .ng { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.ok { background: #e1fada; color: #006942; }
.ng { background: #fff1d6; color: #8a5300; }
.acc { display: inline-flex; flex-wrap: wrap; gap: 4px; font-size: 12px; color: rgba(0,27,56,.64); border: 1px dashed #c3ccda; border-radius: 4px; padding: 2px 8px; margin-top: 10px; }

.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 3px 8px rgba(137,145,154,.15), 0 0 1px rgba(137,145,154,.15); }
.num { padding: 12px 16px 14px; border-top: 3px solid transparent; }
.num:first-child { border-top-color: #1769e2; }
.num .k { font-size: 12px; color: rgba(0,27,56,.64); }
.num .k::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1769e2; margin-right: 6px; }
.num:nth-child(2) .k::before { background: #22c16d; }
.num:nth-child(3) .k::before { background: #d94481; }
.num .v, .tn, .big { font-size: 28px; font-weight: 700; line-height: 1.25; color: #0f1d29; white-space: nowrap; }
.num .v small, .tn small, .big small { font-size: 14px; margin-left: 2px; }
.num .d { font-size: 12px; color: rgba(0,27,56,.64); }
.cmp { display: grid; gap: 3px; margin-top: 6px; }
.cmp i { display: block; height: 6px; border-radius: 3px; background: #1769e2; }
.cmp i.prev { background: #cfd8e6; }
.legend { font-size: 12px; color: rgba(0,27,56,.64); margin: 6px 2px 0; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #1769e2; margin-right: 4px; vertical-align: -1px; }
.lg.prev { background: #cfd8e6; }
.lg.st { background: #e1efff; border: 1px solid #a9c8f5; }
.lg.la { background: #fde7f0; border: 1px solid #f0a9c6; }

.box, .tile { background: #fff; border-radius: 8px; padding: 14px 16px; box-shadow: 0 3px 8px rgba(137,145,154,.15), 0 0 1px rgba(137,145,154,.15); }
.box { margin: 0 0 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 12px; }
.tile { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tile .tl { font-weight: 700; color: #0f1d29; line-height: 1.4; }
.tile .btn { margin-top: auto; align-self: stretch; }
.icoc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #e1efff; color: #1769e2; }
.icoc.g { background: #e1fada; color: #006942; }
.icoc.o { background: #fff1d6; color: #8a5300; }
.icoc.p { background: #f1edff; color: #5a43d6; }
.share { height: 8px; background: #e3e8f2; border-radius: 4px; overflow: hidden; align-self: stretch; }
.share i { display: block; height: 100%; background: #22c16d; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 4px 18px; border: 1px solid #e3e8f2; border-radius: 6px;
  background: #fff; color: #1769e2; font-size: 14px; font-family: inherit; cursor: pointer; text-align: center; }
.btn.pri { background: #1769e2; border-color: #1769e2; color: #fff; font-weight: 700; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 10px 0; border-top: 1px solid #eef1f6; }
.row:first-of-type { border-top: none; padding-top: 0; }
.row .l { flex: 1 1 200px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.row.st { padding-left: 46px; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #e1efff; color: #1769e2; display: grid; place-items: center; font-weight: 700; }
.dance { display: inline-block; font-size: 12px; padding: 2px 7px; border-radius: 4px; background: #e1efff; color: #0b4fb3; white-space: nowrap; }
.dance.la { background: #fde7f0; color: #a81f5c; }
.gb { display: inline-grid; place-items: center; min-width: 38px; height: 24px; padding: 0 6px; border-radius: 4px; background: #e9edf3; color: #0f1d29; font-size: 12px; font-weight: 700; white-space: nowrap; }
.gb.up { background: #e1fada; color: #006942; }
.prog { display: flex; align-items: center; gap: 6px; flex: 1 1 150px; min-width: 130px; }
.bar { flex: 1; height: 8px; background: #e3e8f2; border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #1769e2; }
.prog small { font-size: 12px; font-weight: 700; color: #0f1d29; white-space: nowrap; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.node { border: 1px solid #e3e8f2; background: #fff; border-radius: 6px; padding: 5px 12px; font-weight: 700; color: #0f1d29; display: inline-flex; align-items: center; gap: 6px; }
.node.b { background: #1769e2; border-color: #1769e2; color: #fff; }
.payb { display: flex; height: 36px; border-radius: 6px; overflow: hidden; font-size: 13px; font-weight: 700; }
.payb i { display: flex; align-items: center; justify-content: center; font-style: normal; white-space: nowrap; }
.payb .paid { background: #22c16d; color: #fff; }
.payb .wt { background: #ffd591; color: #6b4200; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); margin: 4px 0 14px; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 17px; height: 2px; background: #dbe2ec; }
.steps label { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; position: relative; font-size: 12px; text-align: center; color: rgba(0,27,56,.64); line-height: 1.3; }
.steps .n { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #dbe2ec; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #2f3f54; }
.steps .cur { font-size: 10px; font-weight: 700; background: #fff1d6; color: #8a5300; border-radius: 4px; padding: 0 5px; }
.subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.subtabs label { border: 1px solid #e3e8f2; border-radius: 6px; background: #fff; padding: 8px 14px; cursor: pointer; font-size: 14px; color: #2f3f54; display: inline-flex; align-items: center; gap: 6px; }
.pt2 { font-weight: 700; color: #0f1d29; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.annual-chart {container:annual-chart / inline-size;}
.annual-plot {display:block;width:calc(100% - 44px);height:158px;margin:8px 22px 0;overflow:visible;}
.annual-baseline {stroke:var(--ui-border);}
.annual-fill {fill:var(--ui-blue);fill-opacity:.1;}
.annual-line {fill:none;stroke:var(--ui-blue);stroke-width:2;stroke-linejoin:round;}
.annual-marker {fill:var(--ui-blue);stroke:white;stroke-width:1.5;}
.annual-label,.annual-ticks {font-family:inherit;font-size:12px;}
.annual-label {fill:var(--ui-ink);font-weight:700;paint-order:stroke;stroke:white;stroke-width:3px;stroke-linejoin:round;}
.annual-ticks {fill:var(--ui-muted);}
.annual-medium,.annual-wide {display:none;}
@container annual-chart (min-width:470px) {
  .annual-small {display:none;}
  .annual-medium {display:inline;}
}
@container annual-chart (min-width:780px) {
  .annual-medium {display:none;}
  .annual-wide {display:inline;}
}
.more { display: block; text-align: right; font-size: 13px; color: rgba(0,27,56,.64); margin-top: 10px; cursor: pointer; }
.msg { background: #e1f4ff; border: 1px solid #aad6fb; border-radius: 8px; padding: 12px 14px; }
table.sm { border-collapse: collapse; width: 100%; font-size: 14px; background: #fff; }
table.sm th, table.sm td { border: 1px solid #e3e8f2; padding: 8px 4px; text-align: center; }
table.sm th { background: #f4f6fa; color: rgba(0,27,56,.64); font-weight: 400; font-size: 12px; }
table.sm td.r1 { background: #e1fada; color: #006942; font-weight: 700; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid #e3e8f2; border-radius: 6px; background: #fff; padding: 0 12px; height: 42px; max-width: 380px; color: rgba(0,27,56,.64); margin-bottom: 10px; }
.search span { color: #2f3f54; }

@media (max-width: 760px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "top" "tabs" "main"; }
  .top { padding: 12px 14px 4px; }
  .top .ev { display: inline; }
  .tabs { flex-direction: row; flex-wrap: wrap; padding: 0 6px; border-bottom: 1px solid #e3e8f2; }
  .tabs .acct, .tabs .sech { display: none; }
  .tabs label { padding: 9px 9px 7px; border-bottom: 3px solid transparent; gap: 5px; }
  #t1:checked ~ .tabs label[for="t1"], #t2:checked ~ .tabs label[for="t2"], #t3:checked ~ .tabs label[for="t3"], #t4:checked ~ .tabs label[for="t4"], #t5:checked ~ .tabs label[for="t5"] { border-bottom-color: #1769e2; }
  .main { padding: 14px 12px 18px; }
  .row.st { padding-left: 0; }
}
/* 実際の画面用 */

.tabs button { border:0; background:transparent; padding:9px 16px; min-height:40px; color:#2f3f54; cursor:pointer; white-space:nowrap; font:inherit; font-size:14px; display:flex; align-items:center; gap:8px; text-align:left; }
.tabs button.active { color:#1769e2; font-weight:700; }
.event-select { display:flex; align-items:center; gap:8px; margin:0 0 14px; font-size:13px; font-weight:700; }
select, input { font:inherit; color:#2f3f54; border:1px solid #cfd8e6; background:#fff; border-radius:6px; padding:8px; min-width:0; max-width:100%; }
.event-select select { flex:1; max-width:500px; }
button,textarea { font-family:inherit; }
button:disabled { opacity:.48; cursor:not-allowed; }
button:focus-visible, select:focus-visible, input:focus-visible { outline:3px solid #95bcf6; outline-offset:2px; }
.box, .tile, .row, .l { min-width:0; overflow-wrap:anywhere; }
.chip { white-space:normal; }
.num .v { white-space:normal; }
.btn.link { border:0; padding:0; min-height:0; background:none; text-align:left; font-weight:700; }
.inline-search { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.inline-search input { flex:1 1 180px; }
.grade-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:8px; }
.grade-card { border:1px solid #e3e8f2; border-radius:6px; padding:10px; }
.grade-card .prog { margin-top:6px; }
.detail-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.steps button { position:relative; display:flex; flex-direction:column; align-items:center; gap:4px; border:0; background:transparent; padding:0 2px; color:rgba(0,27,56,.64); font:inherit; font-size:12px; line-height:1.3; cursor:pointer; }
.steps button.active { color:#1769e2; font-weight:700; }
.steps button.active .n { background:#1769e2; color:#fff; border-color:#1769e2; }
.subtabs button { border:1px solid #e3e8f2; border-radius:6px; background:#fff; padding:8px 14px; cursor:pointer; color:#2f3f54; }
.subtabs button.active { background:#1769e2; color:#fff; border-color:#1769e2; font-weight:700; }
.muted { color:rgba(0,27,56,.64); font-size:12px; }
.print-title { display:none; }
@media(max-width:760px) { .tabs button { padding:9px 9px 7px; border-bottom:3px solid transparent; gap:5px; } .tabs button.active { border-bottom-color:#1769e2; } .wrap { padding:0; } .steps button { font-size:10px; } }
@media print { @page { size:A4; margin:12mm; } body { background:white; font-size:10pt; } .wrap { padding:0; max-width:none; } .app { display:block; box-shadow:none; overflow:visible; background:white; } .top,.tabs,.event-select,.no-print,.outreach-tiles { display:none !important; } .main { padding:0; } .box { box-shadow:none; padding:0; } .row { break-inside:avoid; } .print-title { display:block; } .chip,.dance,.gb { print-color-adjust:exact; -webkit-print-color-adjust:exact; } }
.sr-only { 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:760px) {
  html, body, .wrap, .app { width:100%; min-width:0; }
  .nums { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tabs { min-width:0; }
  .num { min-width:0; }
}
@media (max-width:500px) {
  .tiles { grid-template-columns:minmax(0,1fr); }
  .num { padding:10px; }
}
.history-event { align-items:flex-start; flex-direction:column; }
.history-event .l { flex:initial; }
.history-entries { width:100%; display:grid; gap:5px; }
.history-entry { padding:4px 0; }

.scope-choice {display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin:12px 0; font-size:14px; font-weight:600}
.work-panel {min-width:0}
.candidate-heading,.candidate-top,.candidate-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.candidate-heading{margin:16px 0 4px}.candidate-heading h1{margin:0}
.candidate-caption,.candidate-staff,.candidate-meta{color:var(--ui-muted);font-size:13px}
.candidate-tools{margin:10px 0 16px}
.candidate-list{border:1px solid var(--ui-border);border-radius:10px;background:#fff}
.candidate{padding:15px 18px;border-bottom:1px solid var(--ui-border);break-inside:avoid}
.candidate:last-child{border:0}.candidate-top{justify-content:space-between}
.candidate-top strong{font-size:17px}.candidate-reason{font-size:15px;margin:6px 0}
.candidate-staff{margin:3px 0}.candidate-points{color:var(--ui-blue);font-size:13px}.candidate-points b{font-size:20px}
.candidate-detail summary{cursor:pointer;color:var(--ui-blue);font-size:13px;padding:6px 0;width:fit-content}
.candidate-meta{margin:6px 0}.candidate-grade{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:5px 10px;padding:8px 0;border-top:1px solid var(--ui-border);font-size:13px;align-items:center}
.candidate-group{background:var(--ui-surface);padding:10px 18px;font-size:16px;margin:0}.more-candidates{margin:16px auto}
@media print{.candidate-list{border:0}.candidate{padding:2mm 0}.candidate-detail{display:none}}

.event-select[hidden]{display:none}
.request-error { border-left:4px solid #ae431e; }
[data-teacher-row][hidden], .outreach-paper { display:none; }
@media print {
  body.printing-outreach > .wrap { display:none; }
  body.printing-outreach > .outreach-paper { display:block; }
}

.home-registration { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0 0 18px; }
.home-register { display:flex; align-items:center; gap:10px; min-height:54px; padding:8px 12px; background:#fff; border:1px solid var(--ui-border); border-radius:8px; color:var(--ui-blue); text-decoration:none; line-height:1.4; }
.home-register:hover, .home-register:focus-visible { background:#e1efff; border-color:#1769e2; }
.home-register > .ic { margin-left:auto; width:16px; }
.registration-icon { display:grid; place-items:center; flex:none; width:32px; height:32px; border-radius:7px; background:#e1efff; }
.registration-back { display:inline-flex; align-items:center; min-height:44px; color:var(--ui-blue); text-decoration:underline; text-underline-offset:3px; }
@media (max-width:520px) {
  .home-registration { grid-template-columns:1fr; gap:6px; margin-bottom:14px; }
  .home-register { min-height:46px; }
}
@media print { .home-registration, .registration-back { display:none; } }

.next-event-shortcut{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;margin:8px 0 16px;padding:9px 12px;background:#e1efff;border-radius:8px;font-size:14px}

.tabs .menu-toggle { display:none; }
.top .ev.demo-mode {display:inline-block;color:var(--ui-muted);}
.menu-home,.menu-category {display:flex;align-items:center;gap:9px;padding:9px 16px;min-height:40px;color:var(--ui-body);text-decoration:none;font-size:14px;font-weight:400;}
.menu-group {padding:3px 0;border-top:1px solid var(--ui-border);}
.menu-home[aria-current],.menu-category[aria-current] {color:var(--ui-blue);font-weight:700;background:#fff;}
.work-link {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;text-decoration:none;color:var(--ui-blue);line-height:1.45;padding:9px 0;}
.work-link .ic {width:15px;height:15px;}
.menu-group .work-link {padding:7px 14px 7px 42px;color:var(--ui-muted);min-height:36px;font-size:13px;}
.menu-group .work-link .ic {display:none;}
.menu-group .work-link[aria-current] {color:var(--ui-blue);font-weight:700;}
#breadcrumb {display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:13px;margin:0 0 12px;color:var(--ui-muted);}
#breadcrumb[hidden] {display:none;}
#breadcrumb a,.maintenance-link,.more-work {color:var(--ui-blue);text-underline-offset:3px;}
.crumb-separator {color:#72869d;}
.home-prompt {font-size:16px;line-height:1.4;color:var(--ui-ink);margin:18px 0 10px;}
.outreach-tiles h2.tl {margin:0;color:var(--ui-ink);font-size:16px;}
.task-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.task-card {min-width:0;border-radius:8px;background:white;padding:14px 16px;box-shadow:var(--card-shadow);}
.task-card h2 {margin:0;color:var(--ui-ink);font-size:16px;}
.task-card h2 a {display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;min-height:36px;}
.task-card .work-link {border-bottom:1px solid var(--ui-border);}
.task-card .work-link:last-child {border-bottom:0;}
.more-work {display:inline-block;padding:10px 0 0;font-size:13px;}
.school-search {display:grid;gap:4px;max-width:420px;font-size:14px;}
.directory-school {padding:8px 14px;background:#fff;border:1px solid var(--ui-border);border-radius:7px;margin:4px 0;}
.directory-school summary {padding:4px 0;cursor:pointer;font-weight:600;}
.directory-school small {font-weight:400;color:var(--ui-muted);}
.directory-school button {margin:5px 12px 5px 0;}
h1.profile-title {display:flex;align-items:center;gap:8px;margin:12px 0;}
.maintenance-link {display:inline-flex;align-items:center;gap:6px;min-height:42px;font-size:14px;}
.access-guide {margin-top:14px;}
.access-guide li+li {margin-top:16px;}
.access-guide li p {margin:5px 0;overflow-wrap:anywhere;}
.app a:focus-visible,.menu-toggle:focus-visible {outline:3px solid #7daff1;outline-offset:2px;}
.menu-home:hover,.menu-category:hover,.menu-group .work-link:hover {background:var(--ui-surface);}
.task-card a:hover {text-decoration:underline;}
@media(max-width:760px) {
  .tabs {display:block;padding:0 12px;background:white;}
  .tabs .menu-toggle {display:flex;justify-content:space-between;width:100%;border:0;min-height:44px;font-weight:700;color:var(--ui-blue);padding:6px 3px;}
  .menu-toggle[aria-expanded="false"]+#work-menu {display:none;}
  #work-menu {padding-bottom:10px;}
}
@media(max-width:520px) {
  .task-grid {grid-template-columns:1fr;gap:10px;}
  .task-card {padding:12px 15px;}
}
@media print {#breadcrumb,.task-grid,.maintenance-link {display:none;}}

@media screen {
  .wrap {--frame-gap:clamp(8px,1.6vh,20px);padding-block:var(--frame-gap);}
  .app {height:calc(100vh - var(--frame-gap) - var(--frame-gap));height:calc(100dvh - var(--frame-gap) - var(--frame-gap));grid-template-rows:max-content minmax(0,1fr);}
  .main,.tabs {min-height:0;overflow:auto;overscroll-behavior:contain;}
  .main {scrollbar-gutter:stable;}
  .competition-main #breadcrumb {flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none;min-height:24px;}
  .competition-main #breadcrumb>* {flex:none;}
  .competition-main #breadcrumb::-webkit-scrollbar {display:none;}
  .competition-main h1.pt {margin-bottom:10px;}
}
@media screen and (max-width:760px) {
  .wrap {--frame-gap:0px;}
  .app {grid-template-rows:max-content auto minmax(0,1fr);border-radius:0;}
  .main {scrollbar-gutter:auto;}
  .tabs {max-height:55vh;max-height:55dvh;}
}
@media screen and (max-width:600px) {
  .competition-main #breadcrumb>:not(:nth-last-child(-n+3)) {display:none;}
  .competition-main #breadcrumb a:nth-last-child(3) {min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;}
  .competition-main #breadcrumb a:nth-last-child(3)::before {content:'‹ ';}
}
