/* ==========================================================================================================
   "Navy" look (preview). Only applies while <html> has the class look-navy, which is switched on with ?look=navy
   in the address (and off again with ?look=classic). Nothing here changes the site for anyone who has not
   switched it on. The classic look is site.css on its own (a copy is kept in _backup/classic-look-2026-11-19).
   Clean white cards on a light grey page, navy for headings and the chosen tab, amber for counts and progress,
   uppercase table headings, and quiet grey status pills.
   ========================================================================================================== */
html.look-navy {
  --brand: #0d1b3e;
  --brand-2: #1c2f5e;
  --ink: #0d1b3e;
  --muted: #5d6679;
  --line: #e2e5eb;
  --soft: #f4f5f7;
  --amber: #f5b014;
  --amber-ink: #3a2a00;
  --nv-line: #e2e5eb;
  --nv-head: #f3f4f6;
  --bs-body-bg: #f4f5f7;
  --bs-body-color: #0d1b3e;
}
html.look-navy body { background: #f4f5f7; color: #0d1b3e; }

/* ---- top bar: navy, with a thin amber line under it */
html.look-navy .app-bar { background: #0d1b3e !important; box-shadow: inset 0 -3px 0 var(--amber); }
html.look-navy .app-bar .nav-link.active { background: #fff !important; color: #0d1b3e !important; }
html.look-navy .app-bar .nav-link:not(.active):hover { background: rgba(255, 255, 255, .1); }
html.look-navy .year-menu { border-color: rgba(255, 255, 255, .3); background-color: rgba(255, 255, 255, .08); }

/* ---- page heading: a plain white card instead of the purple banner */
html.look-navy .sx .sx-hero { background: #fff !important; color: #0d1b3e; border: 1px solid var(--nv-line) !important; border-radius: 16px;
  box-shadow: 0 1px 2px rgba(13, 27, 62, .04); padding: 22px 26px !important; }
html.look-navy .sx .sx-hero h1 { color: #0d1b3e !important; font-size: 28px !important; font-weight: 800 !important; }
html.look-navy .sx-eyebrow { color: #5d6679; letter-spacing: .14em; }
html.look-navy .sx .sx-hero .sx-dates, html.look-navy .sx .sx-hero p { color: #5d6679 !important; }
html.look-navy .sx-btn { border-color: var(--nv-line); background: #fff; color: #0d1b3e; }
html.look-navy .sx-btn:hover { background: #f4f5f7; }
html.look-navy .sx-btn-solid { border-color: #0d1b3e; background: #0d1b3e; color: #fff; }
html.look-navy .sx-btn-solid:hover { background: #1c2f5e; }

/* ---- counts in the heading: white boxes with a coloured left edge (like Not started / In progress / Completed) */
html.look-navy .tk-stat { background: #fff; border: 1px solid var(--nv-line); border-left: 4px solid #9aa3b5; border-radius: 12px; padding: 10px 16px; flex-direction: column; gap: 0; min-width: 120px; }
html.look-navy .tk-stat b { color: #0d1b3e; font-size: 26px; font-weight: 800; line-height: 1.1; }
html.look-navy .tk-stat span { color: #5d6679; font-size: 13px; font-weight: 600; }
html.look-navy .tk-stat.me { border-left-color: var(--amber); background: #fff; }
html.look-navy .tk-stat.me b, html.look-navy .tk-stat.me span { color: inherit; }
html.look-navy .tk-stat.me b { color: #0d1b3e; }
html.look-navy .tk-stat.late { border-left-color: #c2410c; background: #fff; }
html.look-navy .tk-stat:nth-child(1) { border-left-color: #9aa3b5; }
html.look-navy .tk-stat:last-child { border-left-color: #1f7a4d; }

/* ---- search box and selects */
html.look-navy .st-search { height: 44px; border-color: var(--nv-line); border-radius: 12px; }
html.look-navy .st-search:focus-within { border-color: #0d1b3e; box-shadow: 0 0 0 3px rgba(13, 27, 62, .1); }
html.look-navy .tk-tools .form-select, html.look-navy .form-select, html.look-navy .form-control { border-color: var(--nv-line); }

/* ---- filter chips become one segmented bar: navy for the chosen one, amber count badge */
html.look-navy .tk-chips { gap: 0; padding: 4px; border: 1px solid var(--nv-line); border-radius: 12px; background: #eef0f3; }
html.look-navy .lg-type { height: 34px; border: 0; border-radius: 9px; background: transparent; color: #5d6679; font-weight: 600; }
html.look-navy .lg-type span { background: #e2e5eb; color: #0d1b3e; font-weight: 700; }
html.look-navy .lg-type:hover { color: #0d1b3e; }
html.look-navy .lg-type.on { background: #0d1b3e; color: #fff; }
html.look-navy .lg-type.on span { background: var(--amber); color: var(--amber-ink); }
html.look-navy .tk-modes { padding: 4px; border-color: var(--nv-line); border-radius: 12px; background: #eef0f3; }
html.look-navy .tk-modes button { color: #5d6679; font-weight: 600; }
html.look-navy .tk-modes button.on { background: #0d1b3e; color: #fff; }
html.look-navy .tk-print { border-color: var(--nv-line); border-radius: 12px; color: #0d1b3e; height: 44px; }
html.look-navy .tk-print:hover { border-color: #0d1b3e; background: #fff; }

/* ---- the run sheet: a white card, grey uppercase heading row, quiet rows */
html.look-navy .tk-sheet { border-color: var(--nv-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(13, 27, 62, .04); }
html.look-navy .tk-thead { background: var(--nv-head); color: #0d1b3e; font-size: 12px; letter-spacing: .08em; border-bottom: 1px solid var(--nv-line); padding-top: 13px; padding-bottom: 13px; }
html.look-navy .tk-day { background: #fff; color: #0d1b3e; border-top-color: var(--nv-line); font-size: 15px; padding-top: 14px; padding-bottom: 8px; }
html.look-navy .tk-day em { color: #5d6679; }
html.look-navy .tk-row { border-top-color: #eceef2; padding-top: 14px; padding-bottom: 14px; }
html.look-navy .tk-row:hover:not(.tk-thead) { background: #fafbfc; }
html.look-navy .tk-row.mine { box-shadow: inset 3px 0 0 var(--amber); }
html.look-navy .tk-c-task b { color: #0d1b3e; font-size: 15.5px; }
html.look-navy .tk-c-task small { color: #5d6679; }
html.look-navy .tk-c-where { color: #0d1b3e; font-weight: 600; }
/* the time as a small boxed tile, like the date boxes */
html.look-navy .tk-c-time { align-items: center; justify-self: start; min-width: 74px; padding: 5px 8px; border: 1.5px solid #cfd4dd; border-radius: 10px; background: #fff; text-align: center; }
html.look-navy .tk-c-time b { font-size: 14px; color: #0d1b3e; }
html.look-navy .tk-c-time span { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5d6679; }
html.look-navy .tk-c-time:has(.tk-any) { border-style: dashed; }
html.look-navy .tk-any { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #9aa3b5; }
/* people: plain names, no coloured bubbles */
html.look-navy .tk-person { background: #f1f3f6; color: #0d1b3e; font-weight: 600; }
html.look-navy .tk-person i { background: #0d1b3e; }
/* Edit / Duplicate: outlined buttons like "Open" */
html.look-navy .tk-edit { border: 1.5px solid #0d1b3e; border-radius: 10px; background: #fff; color: #0d1b3e; font-weight: 700; padding: 6px 14px; }
html.look-navy .tk-edit:hover { background: #0d1b3e; color: #fff; }
html.look-navy .tk-dup { border-color: #cfd4dd; color: #5d6679; }
html.look-navy .tk-tick { border-color: #b8bfcc; }
html.look-navy .tk-tick.on { background: #1f7a4d; border-color: #1f7a4d; }
html.look-navy .tk-tag.me { background: #fff4d6; color: #7a5200; }

/* ---- By person cards */
html.look-navy .tk-pcard { border-color: var(--nv-line); border-radius: 16px; }
html.look-navy .tk-pcard header { background: #fff; border-bottom-color: var(--nv-line); }
html.look-navy .tk-pcard header i { background: #0d1b3e; }
html.look-navy .tk-meter span { background: var(--amber); }
html.look-navy .tk-meter { background: #e2e5eb; }

/* ---- buttons and cards used across the site */
html.look-navy .btn-primary { --bs-btn-bg: #0d1b3e; --bs-btn-border-color: #0d1b3e; --bs-btn-hover-bg: #1c2f5e; --bs-btn-hover-border-color: #1c2f5e; --bs-btn-active-bg: #0a1530; }
html.look-navy .btn-outline-secondary { --bs-btn-color: #0d1b3e; --bs-btn-border-color: #cfd4dd; --bs-btn-hover-bg: #0d1b3e; --bs-btn-hover-border-color: #0d1b3e; }
html.look-navy .card { border-color: var(--nv-line); border-radius: 16px; }
html.look-navy .modal-content { border-radius: 16px; }

/* ==========================================================================================================
   Type and colours as in Academic Insight: Geist, 14px body text at 1.5, navy semibold headings, small uppercase
   labels with letter spacing, big bold numbers. Navy #001842 and gold #ffb504.
   ========================================================================================================== */
html.look-navy { --brand: #001842; --ink: #001842; --amber: #ffb504; --amber-ink: #3a2a00; --navy-2: #0f2a5c; }
html.look-navy body { font-size: 14px; line-height: 1.5; }
html.look-navy h1, html.look-navy h2, html.look-navy h3, html.look-navy h4 { color: #001842; font-weight: 600; letter-spacing: -.01em; }
html.look-navy .app-bar { background: #001842 !important; }
html.look-navy .app-bar .nav-link { font-size: 14px; font-weight: 600; }
html.look-navy .sx .sx-hero h1 { font-size: 21px !important; font-weight: 700 !important; }
html.look-navy .tk-thead, html.look-navy .sx-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; }
html.look-navy .tk-stat b { font-size: 27px; font-weight: 700; }
html.look-navy .tk-c-task b { font-size: 14px; font-weight: 600; }
html.look-navy .tk-c-task small, html.look-navy .tk-c-where { font-size: 12.5px; }

/* ==========================================================================================================
   Dashboard: a STEM-feeling dashboard that is quick to get around
   ========================================================================================================== */
/* the section bar: sticks under the top bar */
html.look-navy .dash-jump { position: sticky; top: 62px; z-index: 20; display: flex; gap: 4px; margin: 0 0 16px; padding: 5px;
  border: 1px solid var(--nv-line); border-radius: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 24, 66, .06); overflow-x: auto; scrollbar-width: none; }
html.look-navy .dash-jump a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 9px; font-size: 13px; font-weight: 600;
  color: #5d6679; text-decoration: none; white-space: nowrap; }
html.look-navy .dash-jump a[hidden] { display: none; }
html.look-navy .dash-jump a:hover { background: #f1f3f7; color: #001842; }
html.look-navy .dash-jump a.on { background: #001842; color: #fff; }
html.look-navy .dash-jump svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.look-navy #waiting, html.look-navy #progTabs, html.look-navy #winners, html.look-navy #judgingHead, html.look-navy #scoresHead, html.look-navy #judgeList { scroll-margin-top: 130px; }

/* the announcement: a navy blueprint panel with the four STEM signs and a gold countdown */
html.look-navy .live-note { gap: 24px; padding: 26px 28px; border-radius: 16px; color: #fff; box-shadow: 0 10px 30px rgba(0, 24, 66, .18);
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(420px 220px at 100% 0%, rgba(0, 166, 207, .28), transparent 70%),
    radial-gradient(360px 200px at 0% 100%, rgba(255, 181, 4, .16), transparent 70%),
    linear-gradient(135deg, #001842 0%, #0b2659 60%, #0f3470 100%); }
html.look-navy .live-note::after { display: none; }
html.look-navy .live-icon { display: none; }
html.look-navy .stem-signs { display: grid; grid-template-columns: repeat(2, 44px); gap: 8px; flex: none; position: relative; z-index: 1; }
html.look-navy .stem-signs span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
html.look-navy .stem-signs svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.look-navy .stem-signs .s { background: #e7425f; }
html.look-navy .stem-signs .t { background: #fd8204; }
html.look-navy .stem-signs .e { background: #00a6cf; }
html.look-navy .stem-signs .m { background: #00b287; }
html.look-navy .live-text h2 { font-size: 24px; font-weight: 700; color: #fff; }
html.look-navy .live-text p { font-size: 14px; color: rgba(255, 255, 255, .78); }
html.look-navy #liveKicker { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
html.look-navy .live-stat { border-radius: 14px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
html.look-navy .cd-label { font-size: 10.5px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7) !important; }
html.look-navy .cd span { background: rgba(0, 0, 0, .22) !important; border: 1px solid rgba(255, 255, 255, .14) !important; border-radius: 10px !important; }
html.look-navy .cd b { color: var(--amber) !important; font-weight: 700 !important; }
html.look-navy .cd small { color: rgba(255, 255, 255, .65) !important; }

/* the release bar */
html.look-navy .release-bar { border-color: #f3dfa6; border-radius: 12px; background: #fffaf0; }

/* section headings */
html.look-navy .win-head h2 { font-size: 21px; font-weight: 700; }
html.look-navy .dash-sub, html.look-navy .dash-heading { font-size: 16px; font-weight: 600; color: #001842; }
html.look-navy .live-only-badge { background: #fff4d6 !important; color: #7a5200 !important; border: 0 !important; font-size: 10.5px !important; font-weight: 600 !important; letter-spacing: .08em; }

/* division tiles: white cards with the division colour on top, a navy outline on the one picked */
html.look-navy .dash-cats { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
html.look-navy .cat-tile { position: relative; padding: 14px 16px 13px; border: 1px solid var(--nv-line) !important; border-top: 4px solid var(--sc) !important;
  border-radius: 12px; background: #fff !important; box-shadow: 0 1px 2px rgba(0, 24, 66, .05); }
html.look-navy .cat-tile:hover { box-shadow: 0 6px 18px rgba(0, 24, 66, .1); transform: translateY(-1px); }
html.look-navy .cat-tile.on { border-color: #001842 !important; border-top-color: var(--sc) !important; box-shadow: 0 0 0 2px #001842 !important; }
html.look-navy .cat-tile .t-name { font-size: 13px; font-weight: 600; color: #001842; }
html.look-navy .cat-tile .t-big { font-size: 27px; font-weight: 700; color: #001842; }
html.look-navy .cat-tile .t-big small { font-size: 12.5px; font-weight: 500; color: #5d6679; }
html.look-navy .cat-tile .t-bar { height: 6px; border-radius: 99px; background: #e9ecf1; }
html.look-navy .cat-tile .t-bar i { background: var(--sc) !important; border-radius: 99px; }
html.look-navy .cat-tile .t-sub { font-size: 12px; color: #5d6679; }
html.look-navy .cat-tile .t-pct { border-radius: 999px; background: #f1f3f7 !important; color: #001842 !important; font-size: 11.5px; font-weight: 700; }
html.look-navy .cat-tile .t-pct.full { background: #e3f4ea !important; color: #1f7a4d !important; }

/* the judging board */
html.look-navy .jb-summary { border-color: var(--nv-line); border-radius: 12px; }
html.look-navy .jb-sum-text b { color: #001842; font-weight: 700; }
html.look-navy .jb-lane { border-radius: 12px; background: #f4f6f9; border-color: var(--nv-line); }
html.look-navy .jb-lane header b { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #001842; }
html.look-navy .jb-lane.done { background: #f1f8f4; }
html.look-navy .jb-lane.half { background: #fffaf0; }
html.look-navy .jb-card { border: 1px solid var(--nv-line); border-radius: 10px; box-shadow: none; }
html.look-navy .jb-card b { font-size: 13.5px; font-weight: 600; color: #001842; }
html.look-navy .jb-table { border-radius: 8px; background: #001842 !important; color: #fff !important; font-weight: 700; }
html.look-navy .jb-sort-btn[aria-checked="true"] { background: #001842 !important; color: #fff !important; }

/* winners */
html.look-navy .pod { border-color: var(--nv-line) !important; border-radius: 14px !important; }

/* the scores table (organizers) */
html.look-navy .dash-panel { border-color: var(--nv-line) !important; border-radius: 12px !important; overflow: hidden; }
html.look-navy #dashTable thead th { background: #f3f4f6 !important; color: #001842 !important; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
html.look-navy #dashTable td { font-size: 13.5px; }

@media (max-width: 760px) {
  html.look-navy .stem-signs { grid-template-columns: repeat(4, 36px); }
  html.look-navy .stem-signs span { width: 36px; height: 36px; border-radius: 10px; }
  html.look-navy .dash-jump { top: 0; }
}

/* the division tiles share the full width: all of them in one row on a computer, wrapping on smaller screens */
html.look-navy .dash-cats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }
html.look-navy .cat-tile .t-name { padding-right: 40px !important; font-size: 13px; line-height: 1.3; min-height: 34px; }
html.look-navy .cat-tile .t-pct { top: 12px; right: 10px; padding: 1px 7px; font-size: 11px; }
/* Present and Release, always at hand at the right end of the section bar */
html.look-navy .dj-actions { display: flex; gap: 6px; margin-left: auto; padding-left: 8px; }
html.look-navy .dj-actions button, html.look-navy .dj-actions a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 9px;
  font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer; }
html.look-navy .dash-jump a.dj-present { padding: 0 14px; border: 0; background: #e7425f; color: #fff; }
html.look-navy .dash-jump a.dj-present:hover { background: #cf2f4c; color: #fff; }
html.look-navy .dj-release { border: 1.5px solid #001842; background: #001842; color: #fff; }
html.look-navy .dj-release:hover { background: #0f2a5c; }
html.look-navy .dj-release.on { background: #fff; color: #001842; }

/* the release bar keeps its message; its two buttons live in the section bar instead (one set on the page) */
html.look-navy #releaseBar #presentBtn, html.look-navy #releaseBar #releaseBtn { display: none !important; }

/* ==========================================================================================================
   Projects page (Registration), navy look: the same language as the dashboard
   ========================================================================================================== */
/* page heading: a white card, navy title, the four STEM colours as a thin line along the bottom */
html.look-navy .rg-head { position: relative; background: #fff !important; border: 1px solid var(--nv-line) !important; border-radius: 16px !important;
  box-shadow: 0 1px 2px rgba(0, 24, 66, .04) !important; overflow: hidden; }
html.look-navy .rg-head::before { opacity: 0 !important; }
html.look-navy .rg-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, #e7425f 0 25%, #fd8204 25% 50%, #00a6cf 50% 75%, #00b287 75%) !important; }
html.look-navy .rg-title h1 { color: #001842 !important; font-size: 21px !important; font-weight: 700 !important; letter-spacing: -.01em; }
html.look-navy .rg-note.amber { border-radius: 10px; font-size: 13px; font-weight: 600; }

/* Schools / Divisions / T-shirts: one segmented bar, navy for the one shown, gold count */
html.look-navy .rg-tabs { display: inline-flex; gap: 0; padding: 4px; border: 1px solid var(--nv-line); border-radius: 12px; background: #eef0f3; }
html.look-navy .rg-tab { border: 0 !important; border-radius: 9px !important; background: transparent !important; color: #5d6679 !important; font-size: 13px; font-weight: 600; box-shadow: none !important; }
html.look-navy .rg-tab:hover { color: #001842 !important; }
html.look-navy .rg-tab.on { background: #001842 !important; color: #fff !important; }
html.look-navy .rg-tab span, html.look-navy .rg-tab b, html.look-navy .rg-tab em { background: #e2e5eb !important; color: #001842 !important; }
html.look-navy .rg-tab.on span, html.look-navy .rg-tab.on b, html.look-navy .rg-tab.on em { background: var(--amber) !important; color: var(--amber-ink) !important; }

/* school / division tiles: as the dashboard's */
html.look-navy .rg-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; gap: 12px; }
html.look-navy .rg-tile { border: 1px solid var(--nv-line) !important; border-top: 4px solid var(--sc, #001842) !important; border-radius: 12px !important;
  background: #fff !important; box-shadow: 0 1px 2px rgba(0, 24, 66, .05) !important; color: #001842; }
html.look-navy .rg-tile:hover { box-shadow: 0 6px 18px rgba(0, 24, 66, .1) !important; transform: translateY(-1px); }
html.look-navy .rg-tile.on { border-color: #001842 !important; box-shadow: 0 0 0 2px #001842 !important; background: #fff !important; }
html.look-navy .rg-tile.all { border-top-color: #001842 !important; }
html.look-navy .rg-tile .t-name { font-size: 13px; font-weight: 600; color: #001842; }
html.look-navy .rg-tile .t-big { font-size: 27px; font-weight: 700; color: #001842; }
html.look-navy .rg-tile .t-big small { font-size: 12.5px; font-weight: 500; color: #5d6679; }
html.look-navy .rg-tile .t-sub { font-size: 12px; color: #5d6679; }
html.look-navy .rg-tile .t-bar { height: 6px; border-radius: 99px; background: #e9ecf1; }
html.look-navy .rg-tile .t-bar i { border-radius: 99px; }

/* search, status and needs filters */
html.look-navy .rg-search { border-color: var(--nv-line) !important; border-radius: 12px !important; }
html.look-navy .rg-search:focus-within { border-color: #001842 !important; box-shadow: 0 0 0 3px rgba(0, 24, 66, .1) !important; }
html.look-navy .status-filter { gap: 0; padding: 4px; border: 1px solid var(--nv-line); border-radius: 12px; background: #eef0f3; }
html.look-navy .status-pill { border: 0 !important; border-radius: 9px !important; background: transparent !important; color: #5d6679 !important; font-size: 13px; font-weight: 600; box-shadow: none !important; }
html.look-navy .status-pill b { background: #e2e5eb !important; color: #001842 !important; }
html.look-navy .status-pill.active { background: #001842 !important; color: #fff !important; }
html.look-navy .status-pill.active b { background: var(--amber) !important; color: var(--amber-ink) !important; }
html.look-navy .need-filter > * { border-color: var(--nv-line) !important; border-radius: 10px !important; }
html.look-navy .rg-actions .btn { border-color: var(--nv-line); border-radius: 10px; color: #001842; }

/* each school's table: a white card with a plain heading, a grey uppercase column row and quiet rows */
html.look-navy .pl-group { border: 1px solid var(--nv-line) !important; border-radius: 16px !important; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 24, 66, .04) !important; background: #fff; }
html.look-navy .pl-school { background: #fff !important; border-bottom: 1px solid var(--nv-line) !important; padding-top: 14px; padding-bottom: 14px; }
html.look-navy .pl-school::before { background: var(--school, #001842) !important; }
html.look-navy .pl-school-name { font-size: 16px; font-weight: 700; color: #001842 !important; }
html.look-navy .pl-count { background: #f1f3f7 !important; color: #001842 !important; font-size: 12px; font-weight: 600; }
html.look-navy .pl-goaltext b { color: #001842; }
html.look-navy .pl-add { border: 1.5px solid #001842 !important; border-radius: 10px !important; background: #fff !important; color: #001842 !important; font-weight: 700; }
html.look-navy .pl-add:hover { background: #001842 !important; color: #fff !important; }
html.look-navy .pl-head { background: #f3f4f6 !important; border-bottom: 1px solid var(--nv-line) !important; }
html.look-navy .pl-head, html.look-navy .pl-head .pl-sort, html.look-navy .pl-head span { font-size: 10.5px !important; font-weight: 600 !important; letter-spacing: .08em; text-transform: uppercase; color: #001842 !important; }
html.look-navy .prow { border-top-color: #eceef2 !important; background: #fff; }
html.look-navy .prow:hover { background: #fafbfc !important; }
html.look-navy .pr-main h3, html.look-navy .pr-title-text { font-size: 14px !important; font-weight: 600 !important; color: #001842 !important; }
html.look-navy .pr-inst { font-size: 12.5px; color: #5d6679; }
html.look-navy .pr-no { color: #001842; font-weight: 700; }
html.look-navy .pc-students li span { color: #001842; font-weight: 500; font-size: 13px; }
html.look-navy .pc-students li b { background: #f1f3f7; color: #5d6679; border-radius: 6px; }
html.look-navy .pc-tag { font-size: 12.5px; color: #001842; }
/* the table number: a small boxed tile, like the dates in the reference */
html.look-navy .pr-table-input { width: 64px; height: 34px; border: 1.5px solid #cfd4dd !important; border-radius: 10px !important; background: #fff !important;
  text-align: center; font-weight: 700 !important; font-size: 14px !important; color: #001842 !important; }
html.look-navy .pr-table-input:focus { border-color: #001842 !important; box-shadow: 0 0 0 3px rgba(0, 24, 66, .1) !important; }
html.look-navy .pc-edit { border-radius: 10px !important; }
html.look-navy .need-ico { border-radius: 8px; }

/* tile names wrap onto a second line rather than being cut off (eight division tiles share one row) */
html.look-navy .rg-tile .t-name { align-items: flex-start; }
html.look-navy .rg-tile .t-label { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.3; }
html.look-navy .rg-tile .t-name > i { margin-top: 5px; }
html.look-navy .rg-tile .t-people { flex: none; margin-left: auto; }
html.look-navy .rg-tile { position: relative; }
html.look-navy .rg-tile .t-people { position: absolute; top: 10px; right: 10px; margin: 0; white-space: nowrap; }
html.look-navy .rg-tile:has(.t-people) .t-name { padding-right: 48px; }
html.look-navy .rg-tile:has(.t-people) .t-name { padding-right: 38px; }
html.look-navy .rg-tile .t-label { font-size: 12.5px; }
html.look-navy .rg-tile .t-people { right: 8px; padding: 1px 6px; font-size: 11px; }
html.look-navy .rg-tile { padding-left: 12px !important; padding-right: 12px !important; }
html.look-navy .rg-tiles.view-shirts { grid-auto-flow: row !important; grid-auto-columns: auto !important; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)) !important; overflow: visible !important; }
html.look-navy .rg-tiles.view-shirts .t-big { font-size: 22px; }

/* each school's heading: a soft wash of the school's own colour, fading to white */
html.look-navy .pl-school { background: linear-gradient(90deg, color-mix(in srgb, var(--school, #001842) 16%, #fff) 0%, color-mix(in srgb, var(--school, #001842) 6%, #fff) 70%, #fff 100%) !important; border-bottom-color: color-mix(in srgb, var(--school, #001842) 22%, #fff) !important; }
html.look-navy .pl-school .pl-count { background: #fff !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--school, #001842) 25%, #fff); }

/* ==========================================================================================================
   Schedule page, navy look
   ========================================================================================================== */
/* the page's own name beside the brand repeats the tab that is lit, and pushes Sign out onto a second row */
html.look-navy .app-bar .navbar-brand + .who { display: none !important; }

/* the heading: the dashboard's navy blueprint panel (its text was made for a dark background) */
html.look-navy .sx .sx-hero.sched-top { border: 0 !important; color: #fff; box-shadow: 0 10px 30px rgba(0, 24, 66, .18);
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(420px 220px at 100% 0%, rgba(0, 166, 207, .28), transparent 70%),
    radial-gradient(360px 200px at 0% 100%, rgba(255, 181, 4, .16), transparent 70%),
    linear-gradient(135deg, #001842 0%, #0b2659 60%, #0f3470 100%) !important; }
html.look-navy .sx .sx-hero.sched-top h1 { color: #fff !important; font-size: 24px !important; }
html.look-navy .sx .sx-hero.sched-top .sx-eyebrow { color: var(--amber) !important; }
html.look-navy .sx .sx-hero.sched-top #schedSub { color: rgba(255, 255, 255, .8) !important; }
html.look-navy .sx .sx-hero.sched-top .sx-btn { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; }
html.look-navy .sx .sx-hero.sched-top .sx-btn:hover { background: rgba(255, 255, 255, .16); }
html.look-navy .sx .sx-hero.sched-top .sx-btn-solid { border-color: #fff; background: #fff; color: #001842; }
html.look-navy .sx-logo { border-radius: 12px; }
html.look-navy .sx-now-part { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); border-radius: 12px; }
html.look-navy .sx-now-label { font-size: 10.5px; font-weight: 600; color: var(--amber); }
html.look-navy .sx-now-part b { font-size: 16px; font-weight: 700; }

/* who it is for: one segmented bar, navy for the chosen one */
html.look-navy .sx-filter { gap: 0; padding: 4px; width: fit-content; border: 1px solid var(--nv-line); border-radius: 12px; background: #eef0f3; }
html.look-navy .sx-filter-label { margin: 0 8px 0 8px; font-size: 10.5px; font-weight: 600; color: #5d6679; }
html.look-navy .sx-chip { height: 34px; border: 0; border-radius: 9px; background: transparent; color: #5d6679; font-size: 13px; font-weight: 600; }
html.look-navy .sx-chip:hover { color: #001842; }
html.look-navy .sx-chip.on { background: #001842; color: #fff; }

/* each day: a white card, a calendar tile in navy (gold on the event day), a gold thread down the timeline for what is next */
html.look-navy .sx-day { border-color: var(--nv-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 24, 66, .04); }
html.look-navy .sx-day-head { border-bottom-color: #eceef2; }
html.look-navy .sx-cal { border-color: #cfd4dd; border-radius: 12px; background: #fff; }
html.look-navy .sx-cal small { background: #001842; }
html.look-navy .sx-day.is-main .sx-cal small { background: var(--amber); color: var(--amber-ink); }
html.look-navy .sx-cal b { color: #001842; font-weight: 700; }
html.look-navy .sx-kind { font-size: 10.5px; font-weight: 600; color: #5d6679; }
html.look-navy .sx-day.is-main .sx-kind { color: #9a6700; }
html.look-navy .sx-day-head h2 { font-size: 18px; font-weight: 700; color: #001842; }
html.look-navy .sx-day-head p { font-size: 13px; color: #5d6679; }
html.look-navy .sx-when b { font-size: 15px; font-weight: 700; color: #001842; }
html.look-navy .sx-when small { color: #5d6679; }
html.look-navy .sx-rail::before { background: #e2e5eb; }
html.look-navy .sx-rail i { border-color: #b8bfcc; }
html.look-navy .sx-slot.is-next .sx-rail i { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 5px rgba(255, 181, 4, .2); }
html.look-navy .sx-card { border-color: var(--nv-line); border-radius: 12px; }
html.look-navy .sx-card:hover { border-color: #cfd4dd; }
html.look-navy .sx-card.is-next { border-color: var(--amber); box-shadow: inset 3px 0 0 var(--amber); }
html.look-navy .sx-card h3 { font-size: 14.5px; font-weight: 600; color: #001842; }
html.look-navy .sx-note { font-size: 13px; color: #5d6679; }
html.look-navy .sx-meta { font-size: 12.5px; color: #5d6679; }
html.look-navy .sx-badge.next { background: #fff4d6; color: #7a5200; }
html.look-navy .a-staff.sx-aud { background: #e8ecf5; color: #001842; }

/* ==========================================================================================================
   Tasks page, second pass: the same navy blueprint heading as the Dashboard and Schedule
   ========================================================================================================== */
html.look-navy .sx .sx-hero.tk-hero { border: 0 !important; color: #fff; box-shadow: 0 10px 30px rgba(0, 24, 66, .18);
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(420px 220px at 100% 0%, rgba(0, 166, 207, .28), transparent 70%),
    radial-gradient(360px 200px at 0% 100%, rgba(255, 181, 4, .16), transparent 70%),
    linear-gradient(135deg, #001842 0%, #0b2659 60%, #0f3470 100%) !important; }
html.look-navy .sx .sx-hero.tk-hero h1 { color: #fff !important; font-size: 24px !important; }
html.look-navy .sx .sx-hero.tk-hero .sx-eyebrow { color: var(--amber) !important; }
html.look-navy .sx .sx-hero.tk-hero #tkSub { color: rgba(255, 255, 255, .8) !important; }
html.look-navy .sx .sx-hero.tk-hero .sx-btn-solid { border-color: #fff; background: #fff; color: #001842; }
html.look-navy .sx .sx-hero.tk-hero .sx-btn-solid:hover { background: #eef1f7; }
/* the counts: glass tiles on the navy, each with its colour along the left */
html.look-navy .tk-hero .tk-stat { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-left: 4px solid #8fa0bd; }
html.look-navy .tk-hero .tk-stat b { color: #fff; }
html.look-navy .tk-hero .tk-stat span { color: rgba(255, 255, 255, .75); }
html.look-navy .tk-hero .tk-stat.me { border-left-color: var(--amber); background: rgba(255, 181, 4, .12); }
html.look-navy .tk-hero .tk-stat.me b { color: #fff; }
html.look-navy .tk-hero .tk-stat.late { border-left-color: #ff6b6b; background: rgba(231, 66, 95, .18); }
html.look-navy .tk-hero .tk-stat:last-child { border-left-color: #2fd08b; }

/* each day in the run sheet: a soft gold wash, like the school headings on Projects */
html.look-navy .tk-day { background: linear-gradient(90deg, #fff1cc 0%, #fff8e6 60%, #fff 100%) !important; box-shadow: inset 4px 0 0 var(--amber);
  border-top-color: #f3dfa6 !important; padding-top: 11px; padding-bottom: 11px; }
html.look-navy .tk-day > span { font-size: 15px; font-weight: 700; color: #001842; }
html.look-navy .tk-day em { padding: 2px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #f0d58a; font-size: 12px; font-weight: 600; color: #7a5200; }

/* By person: a soft navy wash on each person's heading */
html.look-navy .tk-pcard header { background: linear-gradient(90deg, #e9eef8 0%, #f5f7fb 60%, #fff 100%) !important; }

/* ==========================================================================================================
   Map pages (the organizers' map editor and the staff floor map), navy look
   ========================================================================================================== */
/* room tabs: the same segmented bar as everywhere else, navy for the room shown, gold count */
html.look-navy .loc-tabs { align-items: center; gap: 6px; margin: 4px 0 12px; border-bottom: 0; }
html.look-navy .loc-tab { height: 36px; margin: 0; padding: 0 14px; border: 1px solid var(--nv-line) !important; border-radius: 10px !important;
  background: #fff; color: #5d6679; font-size: 13px; font-weight: 600; box-shadow: none !important; }
html.look-navy .loc-tab:hover { background: #f4f6f9; color: #001842; }
html.look-navy .loc-tab.on { background: #001842; border-color: #001842 !important; color: #fff; }
html.look-navy .loc-tab em { background: #eef0f3; color: #001842; }
html.look-navy .loc-tab.on em { background: var(--amber); color: var(--amber-ink); }
html.look-navy .loc-tool { height: 32px; margin: 0; border-color: var(--nv-line); border-radius: 9px; color: #5d6679; }
html.look-navy .loc-tool:hover { border-color: #001842; color: #001842; }
html.look-navy .loc-tool.add { border-color: #001842; color: #001842; }
html.look-navy .loc-tabs + .editor .mapbox, html.look-navy .loc-tabs + .mapbox { border-top-left-radius: 16px; }

/* the map itself in a white card; the colour legend beside it as a card of its own */
html.look-navy .mapbox { border: 1px solid var(--nv-line) !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 1px 2px rgba(0, 24, 66, .04); }
html.look-navy .map-legend { border: 1px solid var(--nv-line) !important; border-radius: 14px !important; background: #fff !important; }
html.look-navy .map-legend h3, html.look-navy .map-legend .legend-title, html.look-navy .map-legend > small:first-child { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5d6679; }

/* the event picker (STEM Fest / VEX IQ) and the toolbar */
html.look-navy .event-pick-label { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: #5d6679; }
html.look-navy .event-pick-btn { border-color: var(--nv-line) !important; border-radius: 10px !important; background: #fff !important; color: #001842; }
html.look-navy .event-pick-icon { background: #001842 !important; color: #fff !important; }
html.look-navy .mt-btn { border-color: var(--nv-line) !important; border-radius: 10px !important; color: #001842 !important; }
html.look-navy .mt-btn:hover, html.look-navy .mt-btn[aria-pressed="true"] { border-color: #001842 !important; background: #f4f6f9 !important; }
html.look-navy #mapedit .btn, html.look-navy .wrap .btn-sm { border-radius: 10px; }
html.look-navy .btn-outline-primary { --bs-btn-color: #001842; --bs-btn-border-color: #001842; --bs-btn-hover-bg: #001842; --bs-btn-hover-border-color: #001842; --bs-btn-active-bg: #001842; }

/* Place by hand panel */
html.look-navy .pp-head h3 { color: #001842; font-size: 16px; font-weight: 700; }
html.look-navy .pp-filter button.on { background: #001842 !important; color: #fff !important; border-color: #001842 !important; }
html.look-navy .pp-history { border-color: var(--nv-line); }

/* ==========================================================================================================
   Settings, navy look
   ========================================================================================================== */
/* the heading: the navy blueprint panel, with the search box in it */
html.look-navy .set-home-head { position: relative; align-items: center !important; margin: 10px 0 18px !important; padding: 22px 26px; border-radius: 16px; color: #fff;
  box-shadow: 0 10px 30px rgba(0, 24, 66, .18);
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(420px 220px at 100% 0%, rgba(0, 166, 207, .28), transparent 70%),
    radial-gradient(360px 200px at 0% 100%, rgba(255, 181, 4, .16), transparent 70%),
    linear-gradient(135deg, #001842 0%, #0b2659 60%, #0f3470 100%); }
html.look-navy .set-home-head h2 { color: #fff !important; font-size: 24px !important; font-weight: 700 !important; }
html.look-navy .set-home-head p { color: rgba(255, 255, 255, .8) !important; font-size: 14px !important; }
html.look-navy .set-search-box input { border: 0 !important; border-radius: 10px !important; background: #fff !important; color: #001842; }
html.look-navy .set-search-box > span { color: #5d6679; }

/* the groups and rows */
html.look-navy .set-group { border-color: var(--nv-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 24, 66, .04); }
html.look-navy .set-group > header { background: #f3f4f6; border-bottom-color: var(--nv-line); }
html.look-navy .set-group > header h3 { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: #001842; }
html.look-navy .set-group.danger > header { background: #fff4f3; }
html.look-navy .set-group.danger > header h3 { color: #b42318; }
html.look-navy .set-row { border-top-color: #eceef2; color: #001842; }
html.look-navy .set-row:hover { background: #fafbfc; }
html.look-navy .set-row b { font-size: 14px; font-weight: 600; color: #001842; }
html.look-navy .set-row small { font-size: 12.5px; color: #5d6679; }
html.look-navy .set-status { font-size: 11.5px; font-weight: 600; }
html.look-navy .set-chev { color: #9aa3b5; }
/* icon tiles: navy instead of purple; the other tones keep their colour */
html.look-navy .set-row.tone-purple .set-ico { background: #e8ecf5 !important; color: #001842 !important; }

/* an open setting: the bar with Back and its title */
html.look-navy .set-back { border-bottom-color: var(--nv-line); }
html.look-navy .set-back h2 { color: #001842; font-size: 21px; font-weight: 700; }
html.look-navy .set-backbtn { border-color: var(--nv-line); color: #001842; }
html.look-navy .set-backbtn:hover { border-color: #001842; background: #f4f6f9; }
html.look-navy #settings .card h3, html.look-navy #settings .card .h5 { color: #001842; font-weight: 700; }
html.look-navy #settings .card { box-shadow: 0 1px 2px rgba(0, 24, 66, .04); }

/* the judge list in Settings: navy for the division bands' controls, grey uppercase heading row */
html.look-navy .jt-head, html.look-navy .dv-head { background: #f3f4f6 !important; border-color: var(--nv-line) !important; }
html.look-navy .jt-head span, html.look-navy .dv-head span { font-size: 10.5px !important; font-weight: 600 !important; letter-spacing: .08em; color: #001842 !important; }
html.look-navy .jt-edit, html.look-navy .dv-edit { border-color: #001842 !important; color: #001842 !important; border-radius: 10px !important; }
html.look-navy .jt-pin { border-radius: 8px; }
html.look-navy .judge-count, html.look-navy .jt-count, html.look-navy .jt-group em, html.look-navy #settings .badge-count { background: #eef0f3 !important; color: #001842 !important; }

/* ---- a little more contrast in the faintest tones, so cards, pills and tiles still show on a projector or in a
   brightened screenshot */
html.look-navy { --nv-line: #d3d9e3; --bs-body-bg: #eceff4; }
html.look-navy body { background: #eceff4; }
html.look-navy .set-group > header, html.look-navy .tk-thead, html.look-navy .pl-head, html.look-navy #dashTable thead th, html.look-navy .jt-head, html.look-navy .dv-head { background: #e9edf3 !important; }
html.look-navy .set-status:not(.ok):not(.warn):not(.bad), html.look-navy .pl-count, html.look-navy .lg-type span, html.look-navy .status-pill b, html.look-navy .loc-tab em, html.look-navy .cat-tile .t-pct, html.look-navy .tk-person, html.look-navy .judge-count, html.look-navy .jt-count { background: #e1e6ee !important; }
html.look-navy .set-ico { filter: saturate(1.35) brightness(.94); }
html.look-navy .tk-chips, html.look-navy .tk-modes, html.look-navy .rg-tabs, html.look-navy .status-filter, html.look-navy .sx-filter { background: #e3e8ef; }

/* ---- counts in the segmented bars: a soft rounded pill everywhere; on the chosen (navy) one a light white pill
   instead of a gold block */
html.look-navy .lg-type span, html.look-navy .status-pill b, html.look-navy .rg-tab span, html.look-navy .rg-tab b, html.look-navy .rg-tab em,
html.look-navy .loc-tab em, html.look-navy .tk-modes em {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 20px; padding: 0 7px; border-radius: 999px !important;
  background: rgba(0, 24, 66, .08) !important; color: #001842 !important; font-size: 12px; font-weight: 700; line-height: 1; }
html.look-navy .lg-type.on span, html.look-navy .status-pill.active b, html.look-navy .rg-tab.on span, html.look-navy .rg-tab.on b, html.look-navy .rg-tab.on em,
html.look-navy .loc-tab.on em {
  background: rgba(255, 255, 255, .2) !important; color: #fff !important; }

/* ---- moving between pages: the new page cross-fades over the old one and the top bar stays put (browsers that
   support it; others simply load as before). No faint fade-in on arrival, and the page colour from the first moment. */
@view-transition { navigation: auto; }
html.look-navy { background: #eceff4; }
html.look-navy .app-bar { view-transition-name: app-bar; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }
::view-transition-old(app-bar), ::view-transition-new(app-bar) { animation: none; }
html.look-navy body > .wrap:not([hidden]) { animation: none !important; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* the awards show (dark slides): its headings keep the slide's light text, not the navy heading color */
html.look-navy .aw-slide h1, html.look-navy .aw-slide h2, html.look-navy .aw-slide h3, html.look-navy .aw-slide h4 { color: inherit; }

/* the sign-in page: its dark brand side keeps its own (white) heading */
html.look-navy .sgn-brand h1 { color: #fff; }

/* the score sheet header is dark: its project title stays white */
html.look-navy .sheet-head h1, html.look-navy .sheet-head h2, html.look-navy .sheet-head h3, html.look-navy .sheet-head h4 { color: #fff; }
