/* Competitions — science-fair lab look. Square geometry. Mobile first. */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

:root {
    --ink: #0b2740;
    --navy: #123a58;
    --cyan: #2ec4c8;
    --cyan-deep: #1a9ea3;
    --amber: #f0a202;
    --coral: #e4572e;
    --paper: #e7f3f1;
    --card: #fff;
    --line: #0b2740;
    --muted: #4d6478;
    --ok: #1f8a4c;
    --font: 'Barlow', 'Trebuchet MS', sans-serif;
    --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --radius: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    font-family: var(--font);
    color: var(--ink);
    color-scheme: light;
}

h1, .display {
    font-family: var(--display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 800;
}

h2, h3 {
    font-family: var(--font);
    letter-spacing: 0;
    text-transform: none;
    font-weight: 700;
}

/* Flatten the old rounded-everything look */
button, .btn, input, select, textarea, a.btn,
.share-card, .share-btn, .willow-modal-panel,
[class*="rounded"] {
    border-radius: 0 !important;
}

button, a, input, select, textarea { border-radius: 0; }

.lab-paper {
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(11, 39, 64, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 39, 64, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
}

.lab-navy {
    background-color: #0d3050;
    background-image:
        linear-gradient(rgba(46, 196, 200, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 196, 200, 0.13) 1px, transparent 1px);
    background-size: 28px 28px;
}

.lab-fair {
    background-color: #2db8c4;
    background-image:
        linear-gradient(rgba(8, 55, 62, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 55, 62, 0.16) 1px, transparent 1px);
    background-size: 22px 22px;
}

.btn, .share-btn,
button[type="submit"],
a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.1rem;
    border: 2px solid var(--ink);
    background: var(--ink);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 4px 4px 0 rgba(11, 39, 64, 0.18);
}

.btn:hover, .share-btn:hover, button[type="submit"]:hover { filter: brightness(1.06); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
a.bg-primary-500, button.bg-primary-500, .bg-primary-500 {
    background: var(--ink) !important;
    color: #fff !important;
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: none;
}
.btn-danger {
    background: #fff;
    color: var(--coral);
    border-color: var(--coral);
    box-shadow: none;
}

input, select, textarea {
    border: 1px solid #c9d4dc !important;
    min-height: 40px;
    background: #fff !important;
    color: var(--ink) !important;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none !important;
}

.card, .share-card {
    background: var(--card);
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 rgba(11, 39, 64, 0.12);
}

/* Work surfaces: tables, filters, settings — keep them quiet */
.panel,
.oe-pane > div,
form.space-y-6 > div,
form .bg-white {
    background: #fff !important;
    color: var(--ink) !important;
    border-color: #d5dee4 !important;
    box-shadow: none !important;
}

table thead {
    background: #f4f7f8 !important;
    color: var(--muted) !important;
}

table tbody tr:hover {
    background: #f7fafb;
}

.badge-on { background: var(--cyan); color: var(--ink); }
.badge-draft { background: var(--amber); color: var(--ink); }
.badge-closed { background: #c5d0d8; color: var(--ink); }

.status-chip {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-family: var(--display);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    border: 2px solid var(--ink);
}

.app-header {
    background: var(--ink);
    color: #fff;
    border-bottom: 4px solid var(--amber);
}

.app-header a { color: #fff; text-decoration: none; }
.app-header .btn {
    min-height: 40px;
    padding: 0 0.75rem;
    font-size: 0.8rem;
    box-shadow: none;
    border-color: #fff;
}
.app-header .btn-amber { border-color: var(--ink); color: var(--ink); }

.app-header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "brand logos actions";
    align-items: center;
    gap: 0.5rem;
}
.app-header-brand {
    grid-area: brand;
    justify-self: start;
    min-width: 0;
}
.app-header-actions {
    grid-area: actions;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    overflow-x: auto;
    min-width: 0;
}
.lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex-shrink: 0;
}
.lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    text-decoration: none;
    opacity: 0.55;
}
.lang-btn.is-on { opacity: 1; }
.lang-flag {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0;
    overflow: hidden;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(11, 39, 64, 0.25);
}
.lang-flag svg { width: 140%; height: 140%; margin: -20%; display: block; }
.lang-code {
    font-family: var(--display);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    line-height: 1;
    color: #fff;
}
.lang-switch--paper .lang-flag { border-color: var(--ink); }
.lang-switch--paper .lang-code { color: var(--ink); }
.lang-switch--overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    left: auto;
    transform: none;
    z-index: 6;
}
.lang-switch--overlay .lang-code,
.lang-switch--overlay .lang-btn { color: #fff; }
.partner-logos--header {
    display: flex;
    grid-template-columns: none;
    width: auto;
    max-width: none;
    margin: 0;
    gap: 0.65rem;
    flex-shrink: 0;
    justify-self: center;
}
.partner-logos--header .partner-logo {
    width: 2.4rem;
    height: 2.4rem;
}
.partner-logos--header .partner-logo--willow img {
    border: 2px solid #fff;
    box-shadow: none;
}
.partner-logos--header .partner-logo--birlik img {
    filter:
        drop-shadow(1.5px 0 0 #fff)
        drop-shadow(-1.5px 0 0 #fff)
        drop-shadow(0 1.5px 0 #fff)
        drop-shadow(0 -1.5px 0 #fff)
        drop-shadow(1.5px 1.5px 0 #fff)
        drop-shadow(-1.5px 1.5px 0 #fff)
        drop-shadow(1.5px -1.5px 0 #fff)
        drop-shadow(-1.5px -1.5px 0 #fff);
}
@media (max-width: 639px) {
    .app-header-bar {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logos logos"
            "brand actions";
    }
    .partner-logos--header { grid-area: logos; }
    .app-header-brand { grid-area: brand; }
    .app-header-actions { grid-area: actions; }
}
@media (min-width: 640px) {
    .partner-logos--header .partner-logo {
        width: 2.75rem;
        height: 2.75rem;
    }
}

.event-nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 2px solid var(--ink);
    background: #fff;
    margin-bottom: 1.25rem;
}
.event-nav a {
    flex: 1 0 auto;
    padding: 0.85rem 0.9rem;
    font-family: var(--display);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    border-right: 2px solid var(--ink);
    white-space: nowrap;
}
.event-nav a:last-child { border-right: 0; }
.event-nav a.is-on {
    background: var(--amber);
}

.partner-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
    align-items: center;
}
.partner-logo {
    aspect-ratio: 1;
    background: none;
    border: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: visible;
}
.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: none;
    border-radius: 0;
    display: block;
}
.partner-logo--willow img {
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 rgba(11, 39, 64, 0.22);
}
.partner-logo--birlik img {
    filter:
        drop-shadow(2px 0 0 var(--ink))
        drop-shadow(-2px 0 0 var(--ink))
        drop-shadow(0 2px 0 var(--ink))
        drop-shadow(0 -2px 0 var(--ink))
        drop-shadow(2px 2px 0 var(--ink))
        drop-shadow(-2px 2px 0 var(--ink))
        drop-shadow(2px -2px 0 var(--ink))
        drop-shadow(-2px -2px 0 var(--ink))
        drop-shadow(5px 6px 0 rgba(11, 39, 64, 0.2));
}
.partner-logos--sm {
    max-width: 9.5rem;
    margin: 0;
    gap: 0.55rem;
}
.partner-logos--sm .partner-logo--willow img {
    border-width: 2px;
    box-shadow: 3px 3px 0 rgba(11, 39, 64, 0.16);
}
.partner-logos--sm .partner-logo--birlik img {
    filter:
        drop-shadow(1.5px 0 0 var(--ink))
        drop-shadow(-1.5px 0 0 var(--ink))
        drop-shadow(0 1.5px 0 var(--ink))
        drop-shadow(0 -1.5px 0 var(--ink))
        drop-shadow(1.5px 1.5px 0 var(--ink))
        drop-shadow(-1.5px 1.5px 0 var(--ink))
        drop-shadow(1.5px -1.5px 0 var(--ink))
        drop-shadow(-1.5px -1.5px 0 var(--ink))
        drop-shadow(3px 3px 0 rgba(11, 39, 64, 0.16));
}

.event-cover {
    width: 100%;
    height: 11rem;
    border-bottom: 2px solid var(--ink);
    background: #eef4f6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.event-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.event-cover span {
    font-family: var(--display);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
@media (min-width: 640px) {
    .event-cover { height: 13.5rem; }
}

.event-thumb {
    width: 5.25rem;
    height: 5.25rem;
    flex-shrink: 0;
    border: 2px solid var(--ink);
    background: #eef4f6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.event-thumb span {
    font-family: var(--display);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    padding: 0.25rem;
    line-height: 1.15;
}
.event-thumb--lg {
    width: 7.5rem;
    height: 7.5rem;
}

.stat-cell {
    border: 2px solid var(--ink);
    background: #fff;
    text-align: center;
    padding: 0.65rem 0.25rem;
}
.stat-cell strong {
    display: block;
    font-family: var(--display);
    font-size: 1.4rem;
}

/* Science stickers */
.sci-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sci-sticker {
    position: absolute;
    filter: drop-shadow(3px 4px 0 rgba(11, 39, 64, 0.18));
}

.toast-enter { animation: toast-in .18s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

#toast-container > div { border-radius: 0 !important; border: 2px solid var(--ink); }

.willow-modal-backdrop { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.willow-modal-panel { background: #fff; border: 3px solid var(--ink); max-height: min(90vh, 52rem); overflow: hidden; }
.willow-modal-header { padding: 1rem 1.25rem 0.4rem; }
.willow-modal-body { padding: 0.5rem 1.25rem 1rem; overflow-y: auto; }
.willow-modal-backdrop.hidden { pointer-events: none !important; }

@media (max-width: 640px) {
    .sci-sticker { transform: scale(0.72); transform-origin: center; }
}

.oe-cat-criteria {
    border: 1px solid #d5dee4;
    background: #f7fafb;
    padding: 0.75rem 0.9rem;
}
.oe-yt {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 2px solid var(--ink);
    background: #000;
    overflow: hidden;
    margin-bottom: 0.4rem;
}
.oe-yt iframe,
.oe-yt video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}
.oe-progress-track {
    width: 100%;
    height: 16px;
    background: #e8eef2;
    border: 2px solid var(--ink);
    overflow: hidden;
}
.oe-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--amber);
    transition: width .12s linear;
}
.oe-upload-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(11, 39, 64, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.oe-upload-overlay.hidden {
    display: none;
}
.oe-upload-card {
    background: #fff;
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 rgba(11, 39, 64, .12);
    max-width: 26rem;
    width: 100%;
    padding: 1.25rem 1.35rem;
}
.oe-upload-pct {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    margin: .35rem 0 .7rem;
    line-height: 1;
}

.oe-tour {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(11, 39, 64, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.oe-tour.hidden { display: none; }
body.oe-tour-open .oe-judge-bar { visibility: hidden; }
.oe-tour-panel {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 3px solid var(--ink);
    box-shadow: 10px 10px 0 rgba(11, 39, 64, .22);
    width: min(36rem, 100%);
    max-height: min(90vh, 42rem);
    overflow: auto;
    padding: 1.35rem 1.4rem 1.15rem;
}
.oe-tour-kicker {
    font-family: var(--display);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .78rem;
    color: var(--muted);
    margin: 0 0 .75rem;
}
.oe-tour-panel .oe-tour-step p {
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.oe-tour-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 2px solid #d5dee4;
}
.oe-tour-actions .btn {
    min-width: 8rem;
    flex: 0 0 auto;
}
.oe-tour-back.is-hidden {
    visibility: hidden;
    pointer-events: none;
}
.oe-tour-projects {
    list-style: none;
    margin: .75rem 0 0;
    padding: 0;
    border: 2px solid var(--ink);
}
.oe-tour-projects li {
    display: grid;
    gap: .1rem;
    padding: .65rem .8rem;
    border-bottom: 1px solid #d5dee4;
}
.oe-tour-projects li:last-child { border-bottom: 0; }
.oe-tour-projects strong { display: block; }
.oe-tour-projects span, .oe-tour-projects em {
    font-size: .8rem;
    color: var(--muted);
    font-style: normal;
}
.oe-how { margin: .85rem 0 .4rem; border: 2px solid var(--ink); background: #e7f3f1; }
.oe-how svg { display: block; width: 100%; height: auto; }
.oe-how-list { margin: .5rem 0 0; padding-left: 1.2rem; }
.oe-how-list li { margin: .25rem 0; }
.oe-judge-bar {
    position: sticky;
    top: 0;
    z-index: 95;
    width: 100%;
    min-height: 3.6rem;
    background: #0b2740 !important;
    color: #fff !important;
    border-bottom: 4px solid #f0a202;
    box-shadow: 0 8px 0 rgba(11, 39, 64, 0.12);
}
.oe-judge-bar-inner {
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0.7rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.oe-top-progress { margin-top: 0.65rem; width: 100%; }
.oe-top-progress-track { height: 18px; width: 100%; }
.oe-judge-bar-title {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff !important;
    margin: 0;
    line-height: 1.15;
}
.oe-judge-bar-meta {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85) !important;
}
.oe-judge-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.oe-judge-bar .oe-judge-logout {
    background: #fff !important;
    color: #0b2740 !important;
    border: 2px solid #fff !important;
    font-weight: 700;
}
.oe-podium {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
    .oe-podium { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
    .oe-podium-2 { order: 1; }
    .oe-podium-1 { order: 0; transform: translateY(-.35rem); }
    .oe-podium-3 { order: 2; }
}
.oe-podium-card {
    background: #fff;
    border: 3px solid var(--ink);
    padding: .9rem .95rem 1rem;
    box-shadow: 6px 6px 0 rgba(11, 39, 64, .12);
}
.oe-podium-1 { background: #fff7dc; }
.oe-podium-2 { background: #eef3f7; }
.oe-podium-3 { background: #f7efe6; }
.oe-podium-place {
    font-family: var(--display);
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
}
.oe-podium-title { font-size: 1.05rem; margin: .4rem 0 .15rem; }
.oe-podium-who, .oe-podium-medal { font-size: .8rem; color: var(--muted); margin: 0; }
.oe-podium-score {
    font-family: var(--display);
    font-size: 1.8rem;
    margin: .45rem 0 .1rem;
    line-height: 1;
}
.oe-live-note {
    font-size: .88rem;
    color: var(--muted);
    margin: .15rem 0 1rem;
}
.oe-judge-card { box-shadow: 4px 4px 0 rgba(11, 39, 64, .08); }

.oe-assign { max-width: 52rem; }
.oe-eval-tabs { margin-bottom: 0.85rem; }
.oe-assign-tabs .oe-assign-tab {
    flex: 1 1 0;
    padding: 0.85rem 0.9rem;
    font-family: var(--display);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #fff;
    color: var(--ink);
    border: 0;
    border-right: 2px solid var(--ink);
    min-height: 48px;
    cursor: pointer;
    box-shadow: none;
}
.oe-assign-tabs .oe-assign-tab:last-child { border-right: 0; }
.oe-assign-tabs .oe-assign-tab.is-on { background: var(--amber); }
.oe-assign-move { flex: 0 1 11rem; min-width: 8rem; margin-left: auto; }
.oe-assign-actions--start { justify-content: flex-start; }
.oe-assign-kicker {
    font-family: var(--display);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
    color: var(--muted);
    margin: 0 0 .75rem;
}
.oe-assign-judge-row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: stretch;
}
.oe-assign-select {
    width: 100%;
    min-height: 48px;
    border: 2px solid var(--ink);
    background: #fff;
    color: var(--ink);
    padding: 0 .85rem;
    font-size: 1rem;
}
.oe-assign-select--sm { min-height: 40px; width: auto; min-width: 10rem; }
.oe-assign-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
    justify-content: space-between;
}
.oe-assign-list {
    border: 2px solid var(--ink);
    background: #fff;
}
.oe-assign-list:empty { display: none; }
.oe-assign-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem .85rem;
    border-bottom: 1px solid #d5dee4;
    margin: 0;
    cursor: pointer;
}
.oe-assign-row:last-child { border-bottom: 0; }
.oe-assign-row.is-taken { cursor: default; flex-wrap: wrap; }
.oe-assign-row.is-taken .oe-unassign { margin-left: 0; }
.oe-assign-row:has(input:checked) { background: #fff7dc; }
.oe-assign-row strong { display: block; }
.oe-assign-row em {
    display: block;
    font-style: normal;
    font-size: .8rem;
    color: var(--muted);
}
.oe-assign-row .oe-unassign { margin-left: auto; min-height: 40px; padding: 0 .8rem; }
.oe-assign-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: flex-end;
    margin-top: 1rem;
}
.oe-about-cat table th {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.oe-about-cat table td { border-top: 1px solid #d5dee4; }

body:has(#oe-eval-split) main { max-width: 86rem; }

.oe-job-rail {
    background: #fff;
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 rgba(11, 39, 64, .1);
}
.oe-job-rail-head {
    padding: .85rem .85rem .75rem;
    border-bottom: 2px solid var(--ink);
    background: #fff;
}
.oe-job-rail-title {
    font-family: var(--display);
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .95rem;
    margin: 0 0 .65rem;
}
.oe-eval-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .65rem;
}
.oe-eval-chip {
    min-height: 34px;
    padding: 0 .65rem;
    border: 2px solid var(--ink);
    background: #fff;
    color: var(--ink);
    font-family: var(--display);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
}
.oe-eval-chip.is-on { background: var(--amber); }
.oe-job-search {
    width: 100%;
    min-height: 40px;
    padding: .4rem .65rem;
    font-size: .88rem;
}
.oe-job-band-title {
    background: var(--ink);
    color: #fff;
    font-family: var(--display);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .72rem;
    padding: .5rem .85rem;
    margin: 0;
}
.oe-job-band--other .oe-job-band-title,
.oe-job-divider {
    background: #4d6478;
    color: #fff;
}
.oe-job-divider {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    padding: .55rem .85rem;
    font-family: var(--display);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .72rem;
}
.oe-job-divider span { white-space: nowrap; }
.oe-job-cat {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0;
    padding: .4rem .85rem;
    font-family: var(--display);
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .68rem;
    color: var(--muted);
    background: #f4f7f8;
    border-bottom: 2px solid var(--ink);
    border-top: 1px solid #d5dee4;
}
.oe-job-item {
    display: block;
    padding: .7rem .85rem .75rem;
    border-bottom: 1px solid #d5dee4;
    text-decoration: none;
    color: var(--ink);
    background: #fff;
}
.oe-job-item:hover { background: #f7fafb; }
.oe-job-item.is-on {
    background: #fff7dc;
    box-shadow: inset 4px 0 0 var(--amber);
}
.oe-job-item.is-other { background: #f7f9fa; }
.oe-job-item.is-other.is-on { background: #fff7dc; }
.oe-job-name {
    font-weight: 700;
    font-size: .92rem;
    margin: 0 0 .15rem;
    line-height: 1.25;
}
.oe-job-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    margin: 0 0 .2rem;
}
.oe-job-top .oe-job-who {
    margin: 0;
    font-size: .8rem;
    font-weight: 700;
    color: var(--ink);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.oe-job-who {
    font-size: .75rem;
    color: var(--muted);
    margin: 0 0 .35rem;
}
.oe-job-score {
    flex-shrink: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
    color: var(--navy);
    line-height: 1;
}
.oe-job-score.is-none { color: var(--muted); font-weight: 600; font-size: .85rem; }
.oe-job-meta {
    margin: 0;
    font-size: .7rem;
    color: var(--muted);
}
.oe-job-chip {
    display: inline-block;
    font-family: var(--display);
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .12rem .4rem;
    border: 2px solid var(--ink);
}
.oe-job-chip--done { background: #d9f2e3; }
.oe-job-chip--wait { background: #fff3c4; }
.oe-job-chip--other { background: #eef3f7; color: var(--muted); }
.oe-job-empty {
    padding: .85rem;
    margin: 0;
    font-size: .85rem;
    color: var(--muted);
}
.oe-eval-detail, #oe-score-pane {
    background: #fff;
    border: 2px solid var(--ink);
    padding: 1.1rem 1.15rem;
    box-shadow: 6px 6px 0 rgba(11, 39, 64, .1);
}
.oe-eval-detail.is-loading { opacity: .55; pointer-events: none; }
.oe-score-card { margin: 0; }

body:has(#oe-proj-split) main { max-width: 86rem; }
.oe-proj-head {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: .85rem;
}
.oe-proj-help {
    margin: .25rem 0 0;
    color: var(--muted);
    font-size: .88rem;
    max-width: 40rem;
}
.oe-proj-now {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    min-width: 0;
    flex: 1 1 14rem;
    margin: 0 .5rem 0 auto;
    padding: .35rem .85rem;
    border: 2px solid var(--ink);
    background: #fff;
}
.oe-proj-now-who {
    margin: 0;
    min-width: 0;
    font-weight: 700;
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.oe-proj-now-score {
    margin: 0 0 0 auto;
    flex-shrink: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
    color: var(--navy);
}
.oe-proj-now-score.is-none { color: var(--muted); font-size: 1.15rem; }
.oe-proj-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .35rem;
}
.oe-proj-hero-copy { min-width: 0; flex: 1; }
.oe-proj-hero-who {
    margin: 0 0 .2rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
}
.oe-proj-hero-title { margin: 0; }
.oe-proj-hero-mark {
    flex-shrink: 0;
    text-align: right;
    min-width: 4.5rem;
}
.oe-proj-hero-num {
    display: block;
    font-family: var(--display);
    font-weight: 800;
    font-size: 2.15rem;
    line-height: .95;
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
    color: var(--navy);
}
.oe-proj-hero-mark.is-none .oe-proj-hero-num { color: var(--muted); font-size: 1.5rem; }
.oe-proj-hero-lbl {
    display: block;
    margin-top: .15rem;
    font-family: var(--display);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.oe-proj-navbtns {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.oe-proj-count {
    margin: 0;
    min-width: 5.5rem;
    text-align: center;
    font-family: var(--display);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .85rem;
}
.oe-proj-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
    margin-bottom: .9rem;
}
.oe-proj-search { max-width: 16rem; margin-left: auto; }
.oe-media-kicker {
    font-family: var(--display);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .72rem;
    margin: 0 0 .55rem;
    color: var(--muted);
}
.oe-media-block { margin-top: 1.1rem; }
.oe-media-item { margin-bottom: .85rem; }
.oe-file-link { font-size: .88rem; }
.oe-file-size { font-size: .75rem; color: var(--muted); margin-left: .35rem; }
.oe-img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: .55rem;
}
.oe-img-cell {
    display: block;
    border: 2px solid var(--ink);
    background: #fff;
    text-decoration: none;
    color: var(--ink);
}
.oe-img-cell img {
    display: block;
    width: 100%;
    height: 7.5rem;
    object-fit: cover;
}
.oe-img-cell span {
    display: block;
    padding: .35rem .45rem;
    font-size: .72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.oe-file-list { list-style: none; padding: 0; margin: 0; }
.oe-file-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    padding: .55rem 0;
    border-bottom: 1px solid #d5dee4;
}
.oe-dl-btn { min-height: 36px; padding: 0 .75rem; font-size: .72rem; box-shadow: none; }
.oe-file-name { font-weight: 600; font-size: .88rem; }
.oe-file-missing {
    list-style: none;
    padding: .65rem .75rem;
    margin: 0;
    border: 2px solid var(--coral);
    background: #fff4f0;
    color: var(--ink);
}
.oe-file-missing span { color: var(--muted); }
