/* NAGO desk — console theme.

   The same look Televizyon Lakay's admin wears, and the one ported to Tele Pam
   Insights, so the three consoles read as one family: Plus Jakarta Sans, a
   blue-grey page, white cards at an 18px radius, tiles with the label above the
   number, a blue underline on the active tab, and rounded pill buttons.

   The left rail stays dark on purpose. In Tele Pam the console sits inside
   WordPress, whose admin menu is dark; the light content area against a dark
   rail IS the reference, not a departure from it.

   WHY A SEPARATE SHEET, loaded after style.css and only by the desk pages:
   style.css is the whole public site, 170KB, cache-busted once for every page.
   Rewriting the .dsk- block in place would mean reversioning the site's only
   stylesheet for an admin reskin, and `.btn`, `.acc-field`, `.switch` and the
   `.bf-` chips are shared with the public Account and brief pages. Everything
   here is therefore scoped to `body.desk-page`, which also buys the specificity
   to win against the bare `.dsk-` rules without a single !important on layout.
   To undo the reskin, delete the one <link> from the desk pages.

   Most of the work is done by the custom properties below: the existing rules
   already read --line, --muted and --accent, so redefining those three flips
   borders, secondary text and highlights in one place. What follows them is the
   short list of rules that hardcoded a dark value and cannot inherit. */

body.desk-page{
  /* The Tele Pam / TL palette, verbatim. */
  --bg:#eef4fa;
  --panel:#fff;
  --text:#1f2a37;
  --muted:#6b7a8c;
  --accent:#1593c9;
  --line:#e3e9f0;
  --radius:18px;
  --ok:#12885f;
  --bad:#d0384b;
  --warn:#b4690e;
  --sky:#3aa7e0;
  --rail:#111826;      /* the dark left rail */
  --railtx:#c7d2e0;
  --field:#fff;
  /* desk.html has no .topbar, so the 78px default left a dead band above the
     sidebar and clipped its height by the same amount. */
  --topbar-h:0px;
  background:#eef4fa;
  color:var(--text);
  font-family:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,sans-serif;
}

/* ---- shell ------------------------------------------------------------- */

body.desk-page .dsk-side{
  background:var(--rail);
  border-right:0;
  padding:22px 14px 18px;
}
body.desk-page .dsk-brand{border-bottom:1px solid rgba(255,255,255,.09);margin-bottom:4px}
body.desk-page .dsk-logo{color:#fff}
body.desk-page .dsk-brand .dsk-sub{color:#7fc4e8}
body.desk-page .dsk-navh{color:#7b8a9e;opacity:1}
body.desk-page .dsk-nav button,
body.desk-page .dsk-nav a.dsk-link{color:var(--railtx);border-radius:9px;font-weight:600}
body.desk-page .dsk-nav button i,
body.desk-page .dsk-nav a.dsk-link i{color:#7b8a9e}
body.desk-page .dsk-nav button:hover,
body.desk-page .dsk-nav a.dsk-link:hover{background:rgba(255,255,255,.07);color:#fff}
body.desk-page .dsk-nav button:hover i,
body.desk-page .dsk-nav a.dsk-link:hover i{color:#fff}
body.desk-page .dsk-nav button.on{background:var(--accent);color:#fff;font-weight:700}
body.desk-page .dsk-nav button.on i{color:#fff}
body.desk-page .dsk-nav button span[data-badge]{background:var(--bad);color:#fff;font-weight:800}
body.desk-page .dsk-nav button.on span[data-badge]{background:rgba(0,0,0,.28)}
body.desk-page .dsk-who{border-top-color:rgba(255,255,255,.09);color:#9fb0c4}
body.desk-page .dsk-who [data-gate] b{color:#fff}
body.desk-page .dsk-who details summary{color:#9fb0c4}
body.desk-page .dsk-who .acc-field>span{color:#7b8a9e}
body.desk-page .dsk-out{color:#9fb0c4}
body.desk-page .dsk-out:hover{color:#7fc4e8}

/* The identity bar and page header: white, divided by a hairline. */
body.desk-page .dsk-bar{
  background:#fff;
  border-bottom:1px solid var(--line);
  backdrop-filter:none;
}
body.desk-page .dsk-barlink{color:var(--muted);font-weight:600}
body.desk-page .dsk-barlink:hover{color:var(--accent)}
body.desk-page .dsk-burger{color:var(--text)}
body.desk-page .dsk-avatar{background:var(--accent);color:#fff}
body.desk-page .dsk-usertext b{color:var(--text)}
body.desk-page .dsk-usertext em{color:var(--muted)}

body.desk-page .dsk-top{
  background:#fff;
  border-bottom:1px solid var(--line);
  margin-bottom:22px;
}
body.desk-page .dsk-top h1{font-weight:700;letter-spacing:-.01em;color:var(--text)}

/* ---- cards, tiles, tables --------------------------------------------- */

/* The lead card and the panel card both become white at the tpi radius. */
body.desk-page .dsk,
body.desk-page .dsk-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
body.desk-page .dsk-src{color:var(--accent);font-weight:800}
body.desk-page .dsk-title{color:var(--text);font-weight:700}
body.desk-page .dsk-links a{color:var(--accent)}
body.desk-page .dsk-write{border-top-color:var(--line)}
body.desk-page .dsk.is-corro{border-color:#e0c389}
body.desk-page .dsk.is-hidden{opacity:.6}

/* Tiles. The markup is already icon, label, number, note — the label sits
   above the number without touching the DOM. */
body.desk-page .dsk-card{
  background:#fff;
  border:1.5px solid var(--line);
  border-radius:16px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
body.desk-page .dsk-card span{color:var(--muted);font-weight:700;letter-spacing:.06em}
body.desk-page .dsk-card b{color:var(--text);font-weight:800}
body.desk-page .dsk-card em{color:var(--muted)}
body.desk-page .dsk-card .dsk-ic{background:#e4f2fa;color:var(--accent)}
body.desk-page .dsk-card.ok b{color:var(--ok)}
body.desk-page .dsk-card.ok .dsk-ic{background:#e2f3ec;color:var(--ok)}
body.desk-page .dsk-card.bad b{color:var(--bad)}
body.desk-page .dsk-card.bad .dsk-ic{background:#fbe8eb;color:var(--bad)}

/* Section headings keep the accent rule, now blue. */
body.desk-page .dsk-h{color:var(--muted);font-weight:800}
body.desk-page .dsk-h:before{background:var(--accent)}
body.desk-page .dsk-lede,
body.desk-page .dsk-hint,
body.desk-page .dsk-note,
body.desk-page .muted,
body.desk-page .mu{color:var(--muted)}

body.desk-page .dsk-table{font-size:13.5px}
body.desk-page .dsk-table td{border-bottom-color:var(--line)}
body.desk-page .dsk-table tbody tr:hover{background:#f7fafd}
body.desk-page .dsk-table tr.is-bad td{background:#fdf1f3}
body.desk-page .dsk-table .muted{color:var(--muted)}
body.desk-page .dsk-table .lhead,
body.desk-page .dsk-table th{
  color:var(--muted);font-weight:700;font-size:11.5px;
  text-transform:uppercase;letter-spacing:.04em;
}

/* ---- buttons, pills, switches ----------------------------------------- */

body.desk-page .btn{
  border:1.5px solid var(--line);
  background:#fff;
  color:var(--text);
  border-radius:22px;
  padding:9px 18px;
  font-weight:700;
  font-size:13.5px;
}
body.desk-page .btn:hover{border-color:#c9d5e2}
body.desk-page .btn.primary{
  background:var(--accent);
  border:1.5px solid var(--accent);
  color:#fff;
}
body.desk-page .btn.primary:hover{background:#1181b3;border-color:#1181b3}
body.desk-page .btn.ghost{background:#fff;color:var(--text)}
body.desk-page .btn.ghost:hover{border-color:var(--accent);color:var(--accent)}
body.desk-page .btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
body.desk-page .dsk-btns .btn{padding:9px 18px;font-size:13.5px}

body.desk-page .btn-quiet{
  border:1.5px solid var(--line);background:#fff;color:var(--muted);border-radius:22px;
}
body.desk-page .btn-quiet:hover{color:var(--accent);border-color:var(--accent)}

/* The pill row and the in-panel tabs. */
body.desk-page .dsk-tabs button{
  background:#fff;border:1.5px solid var(--line);color:var(--muted);
  border-radius:22px;font-weight:700;
}
body.desk-page .dsk-tabs button:hover{color:var(--accent);border-color:var(--accent)}
body.desk-page .dsk-tabs button.on{background:var(--accent);border-color:var(--accent);color:#fff}
body.desk-page .dsk-tab{
  background:#fff;border:1.5px solid var(--line);color:var(--muted);font-weight:700;
}
body.desk-page .dsk-tab.on{background:var(--accent);border-color:var(--accent);color:#fff}
body.desk-page .dsk-sub{background:#fff;border:1.5px solid var(--line);color:var(--muted)}
body.desk-page .dsk-sub:hover,
body.desk-page .dsk-sub:focus-visible{color:var(--accent);border-color:var(--accent)}
body.desk-page .dsk-toggle,
body.desk-page .dsk-range{background:#fff;border:1.5px solid var(--line);color:var(--muted)}
body.desk-page .dsk-toggle.is-on,
body.desk-page .dsk-range.is-on{background:var(--accent);border-color:var(--accent);color:#fff}
body.desk-page .dsk-rm{background:#fff;border:1.5px solid var(--line);color:var(--muted)}
body.desk-page .dsk-rm:hover{color:var(--bad);border-color:var(--bad)}
body.desk-page .dsk-eds li{color:var(--text)}
body.desk-page .dsk-sched a{color:var(--accent)}

body.desk-page .switch .track{background:#d7dee7;border-color:#cbd5e1}
body.desk-page .switch input:checked + .track{background:var(--accent);border-color:var(--accent)}

/* Unstyled in the site sheet; given the console's chip shape here. */
body.desk-page .chip{
  display:inline-block;padding:3px 10px;border-radius:999px;
  background:#eef2f7;color:var(--muted);
  font-size:11.5px;font-weight:700;letter-spacing:.02em;
}

/* ---- fields ------------------------------------------------------------ */

body.desk-page .acc-field>span{color:var(--muted);font-weight:700;letter-spacing:.06em}
body.desk-page .acc-field span em{color:#93a3b5}
body.desk-page .acc-field input,
body.desk-page .acc-field select,
body.desk-page .acc-field textarea,
body.desk-page .dsk-linkrow input,
body.desk-page .dsk-srcrow input,
body.desk-page .dsk-poster select{
  background:var(--field);
  color:var(--text);
  border:1px solid var(--line);
  border-radius:10px;
  padding:9px 12px;
  font-size:14px;
  min-height:0;
}
body.desk-page .acc-field input:focus,
body.desk-page .acc-field select:focus,
body.desk-page .acc-field textarea:focus{
  outline:2px solid var(--accent);outline-offset:0;border-color:var(--accent);
}
body.desk-page .acc-field input:-webkit-autofill,
body.desk-page .acc-field input:-webkit-autofill:hover,
body.desk-page .acc-field input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--text);
  -webkit-box-shadow:0 0 0 1000px #fff inset;
  box-shadow:0 0 0 1000px #fff inset;
}
/* The rail keeps its dark field so the admin-key box reads as part of it. */
body.desk-page .dsk-who .acc-field input{
  background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16);color:#fff;
}
body.desk-page .acc-check{color:var(--text)}
body.desk-page .acc-check input{accent-color:var(--accent)}
body.desk-page .acc-hint{color:var(--muted)}
body.desk-page .acc-note{color:var(--muted)}
body.desk-page .acc-note.is-ok{color:var(--ok)}
body.desk-page .acc-note.is-bad{color:var(--bad)}

/* ---- panels, uploads, details ----------------------------------------- */

body.desk-page .dsk-media{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
body.desk-page .dsk-media-head{background:#f7fafd;border-bottom-color:var(--line)}
body.desk-page .dsk-media-head h4{color:var(--text);font-weight:700}
body.desk-page .dsk-detail{
  background:#fff;border:1px solid var(--line);border-radius:16px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
body.desk-page .dsk-detail>summary{color:var(--text);font-weight:700}
body.desk-page .dsk-detail>summary::before{background:var(--accent);color:#fff}
body.desk-page .dsk-detail>summary em{color:var(--muted)}
body.desk-page .dsk-more summary{color:var(--muted)}

body.desk-page .dsk-drop{
  border:2px dashed #c9d5e2;background:#f7fafd;color:var(--muted);
}
body.desk-page .dsk-drop:hover,
body.desk-page .dsk-drop.over{border-color:var(--accent);background:#e8f4fb}
body.desk-page .dsk-drop strong{color:var(--text)}
body.desk-page .dsk-drop svg{color:var(--accent)}
body.desk-page .dsk-or{color:var(--muted)}
body.desk-page .dsk-or::before,
body.desk-page .dsk-or::after{background:var(--line)}

body.desk-page .dsk-preview{background:#f7fafd;border-top-color:var(--line)}
body.desk-page .dsk-prev-text{color:var(--text)}
body.desk-page .dsk-prev-bar{color:var(--muted)}

body.desk-page .dsk-dl{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
body.desk-page .dsk-dl span{color:var(--muted)}
body.desk-page .dsk-poster{color:var(--muted)}

/* Log output and copyable commands: a light slab, not a black one. */
body.desk-page .dsk-tail pre,
body.desk-page .dsk-note code{
  background:#f4f7fb;border:1px solid var(--line);color:#44526b;border-radius:10px;
}

body.desk-page .dsk-corro{background:#f7fafd;border:1px solid var(--line);border-radius:14px}
body.desk-page .dsk-corro-h{color:var(--accent)}
body.desk-page .dsk-corro-i{border-top-color:var(--line)}
body.desk-page .dsk-corro-i b{color:var(--text)}
body.desk-page .dsk-corro-i em{color:var(--muted)}
body.desk-page .dsk-corro-i span{color:#44526b}
body.desk-page .dsk-corro-i:hover span{color:var(--text)}

body.desk-page .dsk-flag{background:#fbe8eb;color:var(--bad)}
body.desk-page .dsk-badge{background:#fdf3e0;border-color:#e0c389;color:#8a6420}

/* Status words and chips used by the brief panels. */
body.desk-page .bf-check span{border:1.5px solid var(--line)}
body.desk-page .bf-ok{color:var(--ok)}
body.desk-page .bf-warn{color:var(--warn)}
body.desk-page .bf-c-ok{color:var(--ok);border-color:#a6d9c4!important;background:#e2f3ec}
body.desk-page .bf-c-warn{color:var(--warn);border-color:#e8cfa1!important;background:#fdf3e0}
body.desk-page .bf-c-solo{color:var(--muted)}
/* These four set white or near-white text, which was right on the old dark
   console and invisible on a white card. The Briefs panel is where the
   corroboration check and the source list live, so they are not cosmetic. */
body.desk-page .bf-clash em{color:var(--text)}
body.desk-page .bf-quote{color:#44526b}
body.desk-page .bf-src b{color:var(--text)}
body.desk-page .bf-src:hover span{color:var(--text)}
body.desk-page .bf-clash{background:#fdf3e0;border-color:#e8cfa1}
body.desk-page .bf-clash b{color:#8a6420}
body.desk-page .bf-quote{border-left-color:var(--accent)}
body.desk-page .bf-gate input,
body.desk-page .bf-gate label input{accent-color:var(--accent)}

/* Tracks, not bars — the tpi treatment. The site sheet gives .bar no height of
   its own, so it needs one here or the track collapses to nothing. */
body.desk-page .bar{height:12px;background:#eef2f7;border-radius:8px;overflow:hidden}
body.desk-page .bar i{display:block;height:100%;background:var(--sky);border-radius:8px;min-width:12px}

/* .dot carries a colour in several panels but the site sheet never gave it a
   shape, so a status dot rendered as nothing at all. */
body.desk-page .dot{display:inline-block;width:9px;height:9px;border-radius:50%;
 margin-right:8px;background:var(--muted);vertical-align:middle}
body.desk-page .dot.ok,body.desk-page .dot.on{background:var(--ok)}
body.desk-page .dot.bad,body.desk-page .dot.off{background:var(--bad)}

/* The public cookie bar has no business on an internal console: it covered the
   first card, and staff traffic should not be counted on the site's own
   analytics in the first place. Hidden rather than answered, so no consent
   cookie is set for the desk at all. */
body.desk-page .cc{display:none!important}

/* ---- Stream health ----------------------------------------------------- */

body.desk-page .hl-pill{display:inline-block;padding:3px 11px;border-radius:999px;
 font-size:11.5px;font-weight:700;letter-spacing:.02em;white-space:nowrap}
body.desk-page .hl-live{background:#e2f3ec;color:var(--ok)}
body.desk-page .hl-degraded{background:#fdf3e0;color:var(--warn)}
body.desk-page .hl-down{background:#fbe8eb;color:var(--bad)}
body.desk-page .hl-unknown{background:#eef2f7;color:var(--muted)}
/* The stale-watchdog banner. It is the one thing on the page that must not be
   mistaken for ordinary furniture. */
body.desk-page .dsk-box.hl-alarm{border:1.5px solid #eec0c7;background:#fdf6f7}
body.desk-page .hl-alarm .dsk-h{color:var(--bad)}
body.desk-page .hl-alarm .dsk-h:before{background:var(--bad)}
body.desk-page .hl-alarm code{display:inline-block;background:#f4f7fb;
 border:1px solid var(--line);border-radius:6px;padding:2px 7px;font-size:12px}

/* ---- the panels that bring their own stylesheet ------------------------ */

/* desk-app.js, desk-catalog.js, desk-nocomment.js, desk-review.js and
   desk-videos.js each inject a <style> of their own, written for the old dark
   console: white text, near-black fields, #14141b cards. Ten tabs therefore
   did not follow the reskin -- App, App Layout, Push, Promote, TV Channels,
   Radio Stations, Sans commentaire, A relire and Videos among them.

   Their sheets are appended to <head> at runtime, so they come after this file
   in the cascade; these rules win on specificity instead, which is why every
   one is prefixed with body.desk-page. The JS is left completely untouched.

   All five declare the same custom properties, so redefining those once does
   most of the work. What follows is the set that hardcoded a colour and so
   cannot inherit.

   .ph-* IS DELIBERATELY NOT TOUCHED. Those rules draw the phone mock-up in App
   Layout -- a picture of the app's own screen, which is dark. Lightening it
   would make the preview stop resembling the thing it previews. */

body.desk-page .nxa,
body.desk-page .nxv,
body.desk-page .ncd,
body.desk-page .nrv{
  --c:#fff;--c2:#f7fafd;--ln:#e3e9f0;--mu:#6b7a8c;
  --bl:#1593c9;--ac:#1593c9;--ok:#12885f;--bad:#d0384b;--warn:#b4690e;
  color:var(--text);
}

/* Buttons and pills that forced white text on a dark pill. */
body.desk-page .nxa .btn2,
body.desk-page .nxv .btn2,
body.desk-page .nrv .btn2,
body.desk-page .ncd .b,
body.desk-page .nxa .nxseg button,
body.desk-page .nrv .tabs button,
body.desk-page .nxv .chips button,
body.desk-page .nxa .ord button,
body.desk-page .nxa .ctab button.ed2{
  background:#fff;border:1.5px solid var(--ln);color:var(--text);
}
body.desk-page .nxa .btn2.pri,
body.desk-page .nxv .btn2.pri,
body.desk-page .nrv .btn2.pri{background:var(--accent);border-color:var(--accent);color:#fff}
/* 'Selected' was white on white once the page went light. */
body.desk-page .nrv .tabs button.sel,
body.desk-page .nxv .chips button.sel{background:var(--accent);border-color:var(--accent);color:#fff}
body.desk-page .nxa .btn2.warn,
body.desk-page .nxv .btn2.warn,
body.desk-page .nrv .btn2.warn,
body.desk-page .ncd .b.warn{color:var(--bad)}
body.desk-page .nxv .btn2.on{background:#e2f3ec;border-color:#a6d9c4;color:var(--ok)}

/* Fields and code slabs. */
body.desk-page .nxa input.f,
body.desk-page .nxa textarea.f,
body.desk-page .nxa select.f,
body.desk-page .ncd select,
body.desk-page .ncd input.f,
body.desk-page .nrv select,
body.desk-page .nrv input.n,
body.desk-page .nrv textarea,
body.desk-page .nrv input.ti,
body.desk-page .nxv input.n{
  background:#fff;border:1px solid var(--ln);color:var(--text);
}
body.desk-page .nxa pre{background:#f4f7fb;border:1px solid var(--ln);color:#44526b}
body.desk-page .nxa .ctab tr.form td{background:#f7fafd}
body.desk-page .nxa .bar{background:linear-gradient(transparent,#eef4fa 30%)}

/* Switch tracks: the off state was a dark grey block. */
/* THE PHONE STAYS WHITE-ON-BLACK. `.nxa .phone` is a black handset, and
   .ph-top, .ph-h, .ph-sec, .ph-card, .ph-grid and .ph-li set no colour of
   their own -- they inherited the #fff that .nxa used to declare. Re-pointing
   .nxa at dark text turned every one of them into dark text on a black phone.
   Restoring it here rather than on .nxa keeps the console light and the
   preview looking like the app it previews. */
body.desk-page .nxa .phone{color:#fff}

body.desk-page .nxa .tg i,
body.desk-page .nxv .tg i,
body.desk-page .ncd .tg i,
body.desk-page .nrv .tg i{background:#d7dee7}

/* Status colours, chosen for a white card rather than a black one. */
body.desk-page .nxa h3 a,
body.desk-page .nxa .ed .back,
body.desk-page .nrv .src a{color:var(--accent)}
body.desk-page .nxa .chip{background:#e4f2fa;color:#15688f}
body.desk-page .nxa .chip.ok{background:#e2f3ec;color:var(--ok)}
body.desk-page .nxa .chip.warn{background:#fdf3e0;color:var(--warn)}
body.desk-page .nxa .ctab .y{color:var(--ok)}
body.desk-page .nxa .ctab .n{color:var(--bad)}
body.desk-page .nxa .ctab code{color:var(--bad);background:#fbe8eb}
body.desk-page .ncd .pill{background:#eef2f7;color:var(--muted)}
body.desk-page .ncd .pill.on{background:#e2f3ec;color:var(--ok)}
body.desk-page .ncd .pill.off{background:#fbe8eb;color:var(--bad)}
body.desk-page .ncd .clip .pl{color:var(--warn)}
body.desk-page .nrv .state.on{background:#e2f3ec;color:var(--ok)}
body.desk-page .nrv .state.off{background:#eef2f7;color:var(--muted)}
body.desk-page .nrv .cnt.ok{background:#e2f3ec;color:var(--ok)}
body.desk-page .nrv .cnt.no{background:#fdf3e0;color:var(--warn)}
body.desk-page .nrv .msg.ok{color:var(--ok)}

/* ---- Today: the Overview shape ---------------------------------------- */

/* The owner, 17 Nov 2026: Today should look like Overview in Tele Pam and the
   TL admin. These are those pages' own components -- the three platform
   panels, the row of big numbers with a sparkline beside them, and a section
   heading with a 'see the rest' link on the right -- named ov- here so they
   cannot collide with the .dsk- vocabulary the other panels use. */

body.desk-page .ov-when{color:var(--muted);font-size:13px;margin:0 0 16px}
/* flex-start, not stretch. Tele Pam's rows pair boxes of similar height, so
   stretching them looks tidy there. Here 'Live right now' sits beside a
   twelve-row channel list, and stretching left a half-screen of empty white
   under three words. */
body.desk-page .ov-row{display:flex;flex-wrap:wrap;gap:18px;margin:0 0 20px;align-items:flex-start}
body.desk-page .ov-col{flex:1;min-width:280px;display:flex}
body.desk-page .ov-col>*{flex:1;margin-bottom:0}
body.desk-page .ov-col.wide{flex:2;min-width:340px}

body.desk-page .ov-row.even{align-items:stretch}
body.desk-page .ov-store{flex:1;text-align:center;border-radius:18px;padding:22px 20px;color:#fff;
 box-shadow:0 1px 2px rgba(16,24,40,.04)}
body.desk-page .ov-store.web{background:#fff;color:var(--text);border:1px solid var(--line)}
body.desk-page .ov-store.and{background:linear-gradient(135deg,#1fb98a,#13a179)}
body.desk-page .ov-store.ios{background:linear-gradient(135deg,#3aa7e0,#1593c9)}
body.desk-page .ov-store .ic{font-size:26px;line-height:1}
body.desk-page .ov-store b{display:block;font-size:22px;font-weight:800;margin:10px 0 6px}
body.desk-page .ov-store em{display:block;font-style:normal;font-size:11.5px;font-weight:700;
 letter-spacing:.06em;text-transform:uppercase;opacity:.9}
body.desk-page .ov-store span{display:block;font-size:12px;opacity:.92;line-height:1.5}
body.desk-page .ov-store .btn{display:inline-block;margin-top:14px;background:rgba(255,255,255,.18);
 border:1.5px solid rgba(255,255,255,.45);color:#fff;border-radius:22px;padding:8px 18px;
 font-size:13px;font-weight:700;text-decoration:none;cursor:pointer}
body.desk-page .ov-store.web .btn{background:#fff;border-color:var(--line);color:var(--accent)}

body.desk-page .ov-big{display:flex;gap:26px;flex-wrap:wrap;align-items:flex-end}
body.desk-page .ov-big>div b{display:block;font-size:30px;font-weight:800;line-height:1.05;color:var(--text)}
body.desk-page .ov-big>div span{display:block;font-size:11.5px;font-weight:700;letter-spacing:.06em;
 text-transform:uppercase;color:var(--muted)}
body.desk-page .ov-big>div em{display:block;font-style:normal;font-size:12px;color:var(--muted);margin-top:3px}
body.desk-page .ov-spark{display:flex;align-items:flex-end;gap:2px;height:46px;min-width:170px;flex:1}
body.desk-page .ov-spark i{flex:1;background:var(--sky);min-height:2px;border-radius:2px}

body.desk-page .ov-sh{font-size:16px;font-weight:700;margin:0 0 14px;color:var(--text);
 display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.desk-page .ov-sh a{font-size:12.5px;font-weight:600;color:var(--accent);
 text-decoration:none;cursor:pointer}
body.desk-page .ov-sh a:hover{text-decoration:underline}
body.desk-page .ov-live{display:inline-block;width:9px;height:9px;border-radius:50%;
 background:var(--bad);margin-right:8px;animation:ovpulse 1.6s infinite}
@keyframes ovpulse{0%{opacity:1}50%{opacity:.25}100%{opacity:1}}

@media (max-width:760px){
  body.desk-page .ov-col,body.desk-page .ov-col.wide{flex:1 1 100%;min-width:0}
}

/* ---- the drawer, below 900px ------------------------------------------ */

@media (max-width:900px){
  body.desk-page .dsk-side{background:var(--rail);border-right:0}
  body.desk-page .dsk-scrim{background:rgba(17,24,38,.55)}
}

/* ---- the rail's own chrome: logo, pinned brand, collapse ---------------

   Three things the console was missing against the admin it is modelled on.

   1. The mark. "NAGO" was set in the page font, so the one screen that is
      entirely ours carried no logo at all. The white wordmark rides the dark
      rail; the app icon stands in when the rail is collapsed and in the white
      top bar on a phone, where the wordmark would be invisible.
   2. A fixed top and foot. The rail scrolls - thirty rows do not fit - and it
      was taking the brand and the admin-key field out of the window with it.
      Both are pinned now and only the list between them moves.
   3. Collapse. The same control WordPress puts at the foot of its menu, for
      the same reason: on a laptop the rail is a quarter of the width and the
      icons alone are enough once you know the console.

   Dividers above the group headings are the cheap part and do most of the
   work: six groups that were only small caps now read as six blocks. */

body.desk-page .dsk-side{
  padding-top:0;padding-bottom:0;
  scrollbar-width:thin;scrollbar-color:#2b3647 transparent;
}
body.desk-page .dsk-side::-webkit-scrollbar{width:8px}
body.desk-page .dsk-side::-webkit-scrollbar-track{background:transparent}
body.desk-page .dsk-side::-webkit-scrollbar-thumb{background:#2b3647;border-radius:8px}
body.desk-page .dsk-side::-webkit-scrollbar-thumb:hover{background:#3a4759}

body.desk-page .dsk-brand{
  position:sticky;top:0;z-index:4;
  display:flex;align-items:center;gap:10px;
  margin:0 -14px 2px;padding:18px 14px 14px 25px;
  background:var(--rail);
  border-bottom:1px solid rgba(255,255,255,.09);
}
body.desk-page .dsk-mark{display:flex;align-items:center;min-width:0}
body.desk-page .dsk-logo{display:none}
body.desk-page .dsk-wordmark{display:block;height:23px;width:auto}
body.desk-page .dsk-markicon{display:none;height:30px;width:30px;border-radius:9px}
body.desk-page .dsk-brand .dsk-sub{margin-left:auto;color:#7fc4e8;border-color:rgba(255,255,255,.16)}

body.desk-page .dsk-navh{
  margin:16px 0 6px;padding:14px 10px 0;
  border-top:1px solid rgba(255,255,255,.07);
}
body.desk-page .dsk-nav .dsk-navh:first-child{border-top:0;margin-top:10px;padding-top:0}

body.desk-page .dsk-collapse{
  display:flex;align-items:center;gap:11px;width:100%;
  margin:16px 0 4px;padding:9px 11px;
  border:0;border-radius:10px;background:transparent;
  color:#7b8a9e;font:inherit;font-size:13px;font-weight:600;
  text-align:left;cursor:pointer;
  transition:background .14s ease,color .14s ease;
}
body.desk-page .dsk-collapse i{flex:0 0 16px;width:16px;text-align:center;font-size:12px}
body.desk-page .dsk-collapse:hover{background:rgba(255,255,255,.07);color:#fff}

body.desk-page .dsk-who{
  position:sticky;bottom:0;z-index:4;
  margin:4px -14px 0;padding:12px 14px 16px 25px;
  background:var(--rail);
  border-top:1px solid rgba(255,255,255,.09);
}

/* The mark in the top bar. The bar is white, so the white wordmark cannot go
   there; the app icon is the one lockup that reads on both. */
body.desk-page .dsk-barmark{display:none}
body.desk-page .dsk-barmark img{display:block;width:28px;height:28px;border-radius:8px}

@media (max-width:900px){
  /* flex:0 0 auto is not decoration. The bar is a flex row and the mark was
     the only item in it that could shrink, so on a phone it was squeezed to a
     14px sliver of itself while the sign-in sentence took three lines. */
  body.desk-page .dsk-bar{gap:11px}
  body.desk-page .dsk-barmark{display:inline-flex;align-items:center;flex:0 0 auto}
  body.desk-page .dsk-barmark img{flex:none}
  body.desk-page .dsk-barlink{flex:0 0 auto;white-space:nowrap}
  body.desk-page .dsk-baruser{font-size:12.5px;text-align:right}
}

/* Narrower still: the arrow alone carries "back to the site", and the room it
   gives back goes to the line that says who is signed in. */
@media (max-width:560px){
  body.desk-page .dsk-barlink{font-size:0;gap:0}
  body.desk-page .dsk-barlink i{font-size:15px}
}

/* Collapsed. Desktop only: under 900px the rail is already off-canvas behind
   the burger, where a 72px version would be a second way to say the same. */
@media (min-width:901px){
  body.desk-page .dsk-shell.rail-min{grid-template-columns:72px minmax(0,1fr)}
  body.desk-page .rail-min .dsk-side{padding-left:11px;padding-right:11px}
  body.desk-page .rail-min .dsk-brand{margin-left:-11px;margin-right:-11px;padding:18px 0 14px;justify-content:center}
  body.desk-page .rail-min .dsk-wordmark{display:none}
  body.desk-page .rail-min .dsk-markicon{display:block}
  body.desk-page .rail-min .dsk-brand .dsk-sub{display:none}
  body.desk-page .rail-min .dsk-navh{
    height:0;margin:10px 4px;padding:0;overflow:hidden;
    border-top:1px solid rgba(255,255,255,.1);
  }
  body.desk-page .rail-min .dsk-nav .dsk-navh:first-child{margin-top:4px}
  body.desk-page .rail-min .dsk-nav button,
  body.desk-page .rail-min .dsk-nav a.dsk-link{
    position:relative;justify-content:center;gap:0;
    padding-left:0;padding-right:0;font-size:0;
  }
  body.desk-page .rail-min .dsk-nav button i,
  body.desk-page .rail-min .dsk-nav a.dsk-link i{font-size:15px}
  body.desk-page .rail-min .dsk-nav button span[data-badge]{
    position:absolute;top:1px;right:6px;margin:0;font-size:9.5px;padding:1px 5px;
  }
  body.desk-page .rail-min .dsk-collapse i{transform:rotate(180deg)}
  body.desk-page .rail-min .dsk-who{display:none}
}

/* ---- Schedule ---------------------------------------------------------- */

/* The state banner is first and loud on purpose: an edit here switches the
   automatic ESPN rebuild off, and a switched-off rebuild looks exactly like a
   working one until a week of football is wrong. */
body.desk-page .sch-state{
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  padding:15px 18px;margin:0 0 16px;
  border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);
}
body.desk-page .sch-state b{display:block;font-size:14.5px;font-weight:800;color:var(--text)}
body.desk-page .sch-state span{display:block;margin-top:3px;font-size:13px;color:var(--muted);line-height:1.55;max-width:70ch}
body.desk-page .sch-state>div{flex:1 1 320px;min-width:0}
body.desk-page .sch-state.is-auto{border-left:4px solid var(--ok)}
body.desk-page .sch-state.is-auto b{color:var(--ok)}
body.desk-page .sch-state.is-manual{border-left:4px solid var(--warn);background:#fdf6ec}
body.desk-page .sch-state.is-manual b{color:#8a5208}

body.desk-page .sch-day{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:0 1px 2px rgba(16,24,40,.04);margin:0 0 14px;overflow:hidden;
}
body.desk-page .sch-day>h4{
  margin:0;padding:12px 16px;background:#f7fafd;border-bottom:1px solid var(--line);
  font-size:13.5px;font-weight:800;color:var(--text);
}
body.desk-page .sch-day.is-today>h4{background:#e4f2fa;color:#0d6f96}
body.desk-page .sch-day>h4 span{
  margin-left:8px;padding:2px 8px;border-radius:999px;background:var(--accent);color:#fff;
  font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
}

body.desk-page .sch-seg{
  display:grid;grid-template-columns:72px 110px minmax(0,1fr) auto auto;
  gap:12px;align-items:center;padding:11px 16px;border-top:1px solid var(--line);
}
body.desk-page .sch-day>.sch-seg:first-of-type{border-top:0}

body.desk-page .sch-ch{
  justify-self:start;padding:3px 9px;border-radius:7px;
  font-size:10.5px;font-weight:800;letter-spacing:.05em;color:#fff;
}
body.desk-page .sch-ch.c1{background:#12885f}
body.desk-page .sch-ch.c2{background:#1593c9}
body.desk-page .sch-ch.c3{background:#7a4fd0}

body.desk-page .sch-time{font-size:13px;font-weight:700;color:var(--text);line-height:1.35}
body.desk-page .sch-time em{display:block;font-style:normal;font-weight:600;font-size:11.5px;color:var(--muted)}
body.desk-page .sch-match{min-width:0}
body.desk-page .sch-match b{display:block;font-size:14px;font-weight:700;color:var(--text)}
body.desk-page .sch-match b i{font-style:normal;color:var(--muted);font-weight:600;padding:0 3px}
body.desk-page .sch-match em{display:block;font-style:normal;font-size:12px;color:var(--muted);margin-top:2px}
body.desk-page .sch-match em em{display:inline;color:var(--accent);font-weight:700}

body.desk-page .sch-prio{
  padding:3px 10px;border-radius:999px;border:1px solid var(--line);
  font-size:11px;font-weight:800;color:var(--muted);white-space:nowrap;
}
body.desk-page .sch-prio.p-featured{border-color:#b7e3d2;background:#e2f3ec;color:var(--ok)}
body.desk-page .sch-prio.p-premium{border-color:#f3d9a0;background:#fdf3e2;color:#8a5208}
body.desk-page .sch-prio.p-skip{border-color:#f0ccd3;background:#fbe8eb;color:var(--bad)}

body.desk-page .sch-edit{
  grid-column:1/-1;display:grid;gap:12px;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  margin-top:10px;padding:14px 16px;border-radius:12px;background:#f7fafd;border:1px solid var(--line);
}
body.desk-page .sch-edit .sch-wide{grid-column:1/-1}
body.desk-page .sch-edit .sch-formbtns{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}
body.desk-page .sch-edit [data-err]{grid-column:1/-1;margin:0}
body.desk-page .sch-edit [data-err]:empty{display:none}

/* Sticky, because the row you changed can be anywhere in nine days of football
   and a save button you have to hunt for is a save button that gets forgotten. */
body.desk-page .sch-save{
  position:sticky;bottom:16px;z-index:5;
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  margin:18px 0 0;padding:14px 18px;
  border:1px solid #f0d6a8;border-radius:var(--radius);background:#fdf6ec;
  box-shadow:0 8px 24px rgba(16,24,40,.12);
}
body.desk-page .sch-save>div{flex:1 1 300px;min-width:0}
body.desk-page .sch-save b{display:block;font-size:14px;font-weight:800;color:#8a5208}
body.desk-page .sch-save span{display:block;margin-top:2px;font-size:12.5px;color:var(--muted);line-height:1.5}

body.desk-page .sch-bad,
body.desk-page .sch-empty{
  padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--panel);color:var(--muted);font-size:13.5px;
}
body.desk-page .sch-bad{border-left:4px solid var(--bad);color:var(--bad);font-weight:600}

@media (max-width:760px){
  body.desk-page .sch-seg{grid-template-columns:auto 1fr auto;row-gap:8px}
  body.desk-page .sch-seg .sch-match{grid-column:1/-1;order:3}
  body.desk-page .sch-seg .sch-prio{order:2}
  body.desk-page .sch-seg [data-edit]{order:2}
  body.desk-page .sch-edit{order:4}
}
