/* Landing Cockpit · the visual system both pages share. Loaded before each page's own <style>, so a page rule still wins.
   The scale (tests/test_style.py keeps the pages on it):
     text    13px every running text, also meta (grey, not smaller) · 12px only chips, small buttons, uppercase labels and glyphs
             · 15px titles · 22px page title · 28px numbers; weights 400 and 600
     radius  6px chips, buttons and fields · 10px cards, rows and boxes (0 and 50% allowed)
     spacing 4 · 8 · 12 · 16 · 24
     colour  only these tokens; no colour is written out in a page
   Components: .btn (.btn-primary, .btn-text) · .chip (.chip-red / -orange / -green) · .dot (.red / .orange / .green / .grey) · .section-title */
:root {
  /* brand (brand book): dark green and neon green */
  --brand-dark: #00272B; --brand-dark-hover: #0F3F45; --brand-neon: #E0FF4F; --brand-neon-soft: #F6FFD1; --brand-neon-tint: #FBFFE6;
  /* neutrals */
  --bg: #F7F8F5; --tile-bg: #FFFFFF; --tint: #F3F4F6; --border: #E5E7EB; --line: #D1D5DB; --grey: #9CA3AF;
  --text: #00272B; --text-secondary: #4F6466;
  /* on the dark topbar */
  --on-dark: #FFFFFF; --on-dark-muted: rgba(255, 255, 255, .65); --on-dark-faint: rgba(255, 255, 255, .07); --on-dark-hover: rgba(255, 255, 255, .14); --on-dark-line: rgba(224, 255, 79, .35);
  /* status: the colour, the tint behind a chip, the soft tint behind a box, the ink for text on a tint */
  --green: #22C55E; --tint-green: #DCFCE7; --soft-green: #F0FDF4; --ink-green: #166534;
  --orange: #F59E0B; --tint-orange: #FEF3C7; --soft-orange: #FFFBEB; --ink-orange: #92400E;
  --red: #EF4444; --tint-red: #FEE2E2; --soft-red: #FEF2F2; --ink-red: #991B1B;
  --highlight: #FEF9C3;
  /* overlays and shadows */
  --overlay: rgba(0, 39, 43, .5); --brand-neon-glow: rgba(224, 255, 79, .6); --brand-neon-faint: rgba(224, 255, 79, .22);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .05); --shadow-pop: 0 8px 24px rgba(0, 0, 0, .18); --shadow-modal: 0 12px 40px rgba(0, 0, 0, .25); --shadow-float: 0 4px 14px rgba(0, 39, 43, .3);
  /* type: DM Sans for text, Adobe Jenson Pro for headings (EB Garamond as the web fallback) */
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Adobe Jenson Pro", "EB Garamond", Georgia, serif;
}

/* The base: every text without a size of its own is body text (13px), never the browser's 16px; form controls take the page's font */
body { font-size: 13px; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* One button, three looks: filled for the one main action of a page, outlined for the rest, a link for quiet actions. Words only. */
.btn { font: 600 13px var(--font); padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--tile-bg); color: var(--text); cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-block; line-height: 1.3; }
.btn:hover { background: var(--tint); }
.btn-primary { background: var(--brand-dark); color: var(--brand-neon); border-color: var(--brand-dark); }
.btn-primary:hover { background: var(--brand-dark-hover); }
.btn-text { padding: 0; border: none; background: none; font-weight: 400; color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.btn-text:hover { background: none; color: var(--text-secondary); }

/* One chip: grey unless it carries a status colour */
.chip { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.5; padding: 1px 8px; border-radius: 6px; background: var(--tint); color: var(--text-secondary); white-space: nowrap; vertical-align: middle; }
.chip.chip-green { background: var(--tint-green); color: var(--ink-green); }
.chip.chip-orange { background: var(--tint-orange); color: var(--ink-orange); }
.chip.chip-red { background: var(--tint-red); color: var(--ink-red); }

/* One status marker: the dot */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.green { background: var(--green); }
.dot.orange { background: var(--orange); }
.dot.red { background: var(--red); }
.dot.grey { background: var(--grey); }

/* One section label */
.section-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin-bottom: 8px; }

/* One request row (🧩 requests, both pages): closed = the dot, the client, what, the kind and when; open = what is asked in full, who, the notes, the moves */
.rq-list { display: flex; flex-direction: column; }
.rq-row { background: var(--tile-bg); border: 1px solid var(--border); border-top-width: 0; }
.rq-row:first-child { border-top-width: 1px; border-radius: 10px 10px 0 0; }
.rq-row:last-child { border-radius: 0 0 10px 10px; }
.rq-row:only-child { border-radius: 10px; }
.rq-row > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-width: 0; }
.rq-row > summary::-webkit-details-marker { display: none; }
.rq-row > summary:hover { background: var(--bg); }
.rq-client { flex: 0 0 156px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-chevron { font-size: 12px; color: var(--text-secondary); transition: transform .15s; }
.rq-row[open] > summary > .rq-chevron { transform: rotate(90deg); }
.rq-title { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-meta { color: var(--text-secondary); white-space: nowrap; }
.rq-late { color: var(--red); font-weight: 600; }
.rq-soon { color: var(--ink-orange); font-weight: 600; }
.rq-body { padding: 4px 16px 14px 36px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--tint); }
.rq-what { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.rq-note { white-space: pre-wrap; max-width: 760px; }
.rq-note.rq-none { color: var(--text-secondary); font-style: italic; }
.rq-shots { display: flex; gap: 6px; flex-wrap: wrap; }
.rq-link, .rq-open { font-weight: 600; color: var(--brand-dark); text-decoration: none; white-space: nowrap; }
.rq-link:hover, .rq-open:hover { text-decoration: underline; }
.rq-facts { color: var(--text-secondary); }
.rq-meet { display: flex; flex-direction: column; gap: 2px; }
.rq-meet:empty { display: none; }
.rq-meet-line { color: var(--text); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rq-meet-line.about { font-weight: 600; }
.rq-meet-line:hover { text-decoration: underline; }
.rq-moves { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.rq-st { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.rq-st button { font: 13px var(--font); padding: 5px 10px; border: none; border-left: 1px solid var(--line); background: var(--tile-bg); color: var(--text-secondary); cursor: pointer; white-space: nowrap; }
.rq-st button:first-child { border-left: none; }
.rq-st button:hover { background: var(--tint); }
.rq-st button.on { background: var(--brand-dark); color: var(--brand-neon); }
.rq-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.rq-acts .lite-btn { margin: 0; }
.rq-ask-box { display: flex; flex-direction: column; gap: 4px; max-width: 760px; }
.rq-ask-box textarea, .rq-note-in, .rq-link-in { font: 13px var(--font); color: var(--text); padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; resize: vertical; width: 100%; max-width: 760px; box-sizing: border-box; }
.rq-hint { color: var(--text-secondary); }
/* Working in the row: click the title or the details to change them; the priority, the deadline and the person are fields where they stand */
.rq-click { cursor: text; }
.rq-click:hover, .rq-row[open] > summary > .rq-title:hover { text-decoration: underline dotted var(--grey); text-underline-offset: 3px; }
.rq-row[open] > summary > .rq-title { cursor: text; }
.rq-title.rq-editing { white-space: normal; outline: none; background: var(--highlight); border-radius: 6px; padding: 0 4px; text-decoration: none; }
.rq-field { display: inline-flex; align-items: baseline; gap: 4px; }
.rq-field select, .rq-field input { font: 13px var(--font); color: var(--text); border: none; border-bottom: 1px dotted var(--grey); background: none; padding: 0 2px; cursor: pointer; }
.rq-field select:hover, .rq-field input:hover { border-bottom-style: solid; }
.rq-field .rq-none { font-style: italic; }
.rq-link-line { display: inline-flex; align-items: center; gap: 4px; }
.rq-shot { position: relative; display: inline-block; width: 86px; height: 64px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.rq-shot img { width: 100%; height: 100%; object-fit: cover; }
.rq-shot-x { position: absolute; top: 0; right: 0; border: none; background: var(--overlay); color: var(--on-dark); font: 13px var(--font); line-height: 1; padding: 2px 6px; cursor: pointer; border-bottom-left-radius: 6px; }
.rq-attach { cursor: pointer; }
/* The board: left to right how far each request is; the card says what it is at a glance, a click opens it large */
.rq-card { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.rq-card:hover { border-color: var(--brand-dark); }
.rq-card-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rq-card-client { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-card-title { font-weight: 600; }
.rq-card-note { color: var(--text-secondary); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rq-card-note.rq-none { font-style: italic; }
.rq-card-shots { display: flex; gap: 4px; align-items: center; color: var(--text-secondary); }
.rq-card-shots img { width: 56px; height: 42px; object-fit: cover; border: 1px solid var(--border); border-radius: 6px; }
.rq-card-upd { background: var(--tint); border-radius: 6px; padding: 4px 6px; }
.rq-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rq-card-upd span, .rq-card-meta { color: var(--text-secondary); }
.rq-card-meta .rq-late, .rq-card-meta .rq-soon { font-weight: 600; }
/* The open card, in its place on the board: its column gets the room (two shares of five); its head folds it back */
.rq-cols.rq-wide-0 { grid-template-columns: minmax(360px, 2fr) repeat(3, minmax(180px, 1fr)); }
.rq-cols.rq-wide-1 { grid-template-columns: minmax(180px, 1fr) minmax(360px, 2fr) repeat(2, minmax(180px, 1fr)); }
.rq-cols.rq-wide-2 { grid-template-columns: repeat(2, minmax(180px, 1fr)) minmax(360px, 2fr) minmax(180px, 1fr); }
.rq-cols.rq-wide-3 { grid-template-columns: repeat(3, minmax(180px, 1fr)) minmax(360px, 2fr); }
.rq-col .rq-list { margin-bottom: 8px; }
.rq-col .rq-row { border: 1px solid var(--brand-dark); border-radius: 10px; box-shadow: var(--shadow-card); }
.rq-col .rq-row > summary { flex-wrap: wrap; row-gap: 4px; padding: 10px 12px; }
.rq-col .rq-row > summary > .rq-title { order: -1; flex-basis: 100%; white-space: normal; font-size: 15px; }
.rq-col .rq-row > summary > .rq-chevron { display: none; }
.rq-col .rq-client { flex-basis: auto; }
.rq-col .rq-meta { white-space: normal; }
.rq-col .rq-body { padding: 4px 12px 12px; }
.rq-col .rq-st { flex-wrap: wrap; }
.rq-col .rq-acts { margin-left: 0; }
@media (max-width: 900px) { .rq-col.rq-col-open { flex-basis: 340px; } }
@media (max-width: 640px) { .rq-row > summary { flex-wrap: wrap; } .rq-client { flex-basis: auto; } .rq-title { flex-basis: 100%; white-space: normal; } .rq-body { padding-left: 16px; } .rq-acts { margin-left: 0; }
  .rq-st { flex-wrap: wrap; border: none; gap: 4px; } .rq-st button { border: 1px solid var(--line); border-radius: 6px; } }

/* 🔍 The researcher's answer, folded next to the question it answers (a client email, a Slack question, the advice, the Meta round) */
details.rs-ans { margin: 4px 0; }
details.rs-ans > summary { cursor: pointer; color: var(--text-secondary); list-style: none; }
details.rs-ans > summary::-webkit-details-marker { display: none; }
details.rs-ans > .rs-body { margin-top: 4px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--tile-bg); line-height: 1.6; }
.rs-body p { margin: 0 0 4px; } .rs-body p:last-child { margin-bottom: 0; } .rs-body ul { margin: 2px 0 6px 18px; padding: 0; }
.ask-rs { color: var(--text-secondary); margin-bottom: 4px; }
.mp-rq { padding: 6px 0; border-top: 1px solid var(--border); } .mp-rq:first-of-type { border-top: 0; } .mp-rq-a { margin-top: 4px; } .mp-rq-a p { margin: 0 0 4px; }
.ins-dry-rs { margin-top: 8px; } .ins-dry-rs p { margin: 2px 0 4px; }

/* One header on both pages (28 Oct: 'the header is still different on home and the client page'): the topbar with the logo,
   when the numbers were updated, the brand search, Filter, 📢 What's new and Who are you?, in the same places and the same
   looks. It lives here once so the two pages cannot drift apart again; a page only adds what its dropdowns need. */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: var(--brand-dark); color: var(--on-dark); position: sticky; top: 0; z-index: 100; }
.topbar-left, .brand-link { display: flex; align-items: center; gap: 10px; }
.brand-link { color: inherit; text-decoration: none; }
.logo { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--brand-neon); }
.logo svg { width: 100%; height: 100%; }
.topbar-title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--brand-neon); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.freshness { font-size: 13px; color: var(--on-dark-muted); }
.filter-selector, .bm-selector, .brand-search { position: relative; }
.topbar .filter-selector-button, .topbar .bm-selector-button { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--on-dark-line); border-radius: 6px; background: transparent; color: var(--on-dark); font: 400 13px var(--font); text-decoration: none; cursor: pointer; transition: border-color 0.15s; }
.topbar .help-toggle { position: relative; width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--on-dark-line); border-radius: 50%; background: transparent; color: var(--on-dark); font: 600 13px var(--font); text-decoration: none; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.topbar .filter-selector-button:hover, .topbar .bm-selector-button:hover, .topbar .help-toggle:hover { border-color: var(--brand-neon); color: var(--brand-neon); }
.bm-selector-arrow { font-size: 12px; color: var(--text-secondary); transition: transform 0.15s; }
.filter-badge { background: var(--text); color: var(--on-dark); font-size: 12px; font-weight: 600; border-radius: 6px; padding: 1px 6px; min-width: 18px; text-align: center; line-height: 16px; }
.news-dot { position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); border: 2px solid var(--brand-dark); }
.brand-search input { width: 190px; padding: 6px 10px 6px 30px; border-radius: 6px; border: 1px solid var(--on-dark-line); background: var(--on-dark-faint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E0FF4F' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 10px center; color: var(--on-dark); font: 400 13px var(--font); outline: none; }
.brand-search input::placeholder { color: var(--on-dark-muted); }
.brand-search input:focus { border-color: var(--brand-neon); }
.brand-search-results { display: none; position: absolute; top: calc(100% + 6px); right: 0; min-width: 280px; max-height: 360px; overflow-y: auto; background: var(--tile-bg); color: var(--text); border-radius: 10px; box-shadow: var(--shadow-pop); z-index: 200; padding: 4px; }
.brand-search-results.open { display: block; }
.brand-search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 6px; color: inherit; text-decoration: none; font-size: 13px; }
.brand-search-results a span { color: var(--text-secondary); font-size: 13px; white-space: nowrap; }
.brand-search-results a.active, .brand-search-results a:hover { background: var(--brand-neon-soft); }
.brand-search-results .bs-empty { padding: 8px 10px; font-size: 13px; color: var(--text-secondary); }
/* + New request ▾ in the tab row: the five kinds, each with who it goes to */
.newreq-dropdown { display: none; position: fixed; z-index: 500; min-width: 280px; background: var(--tile-bg); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-pop); padding: 6px 0; }
.newreq-dropdown.open { display: block; }
.newreq-dropdown button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 8px 14px; border: none; background: none; text-align: left; cursor: pointer; font-family: var(--font); color: var(--text); }
.newreq-dropdown button:hover { background: var(--tint); }
.newreq-dropdown button b { font-size: 13px; font-weight: 600; }
.newreq-dropdown button span { font-size: 13px; color: var(--text-secondary); }
@media (max-width: 700px) {
  .topbar { flex-wrap: wrap; row-gap: 8px; }
  .topbar-right { flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 100%; }
  .topbar .freshness { display: none; }
  .brand-search { order: 10; flex-basis: 100%; }
  .brand-search input { width: 100%; box-sizing: border-box; }
  .brand-search-results { left: 0; right: 0; min-width: 0; }
}
@media (max-width: 640px) { .topbar { padding: 12px 16px; } }

/* 📅 The planning's timeline (5 Nov): the client page, the screen for the client and the dashboard's 📅 Planning tool draw the same strip (`window.cockpitTimeline`): week columns with this week tinted, the days with the weekends tinted, Today and the retail moments as chips on their lines, a lane per client with a block on a day or a bar over a period, the AI's proposals dashed; the rows are set once drawn */
.pl-tl-wrap { overflow-x: auto; margin-bottom: 8px; } .pl-tl { display: grid; grid-template-columns: 128px minmax(0, 1fr); background: var(--tile-bg); border: 1px solid var(--border); border-radius: 10px; padding: 0 0 8px; }
.pl-tl-head, .pl-tl-keys, .pl-tl-track { position: relative; } .pl-tl-head { height: 62px; border-bottom: 1px solid var(--border); } .pl-tl-keys { height: 30px; } .pl-tl-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; } .pl-tl-seg button { white-space: nowrap; }
.pl-tl-days { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; } .pl-tl-d { position: absolute; top: 0; bottom: 0; font-size: 12px; line-height: 18px; text-align: center; color: var(--text-secondary); overflow: hidden; } .pl-tl-we { background: var(--tint); } .pl-tl-dnow { color: var(--brand-dark); font-weight: 600; }
.pl-tl-dense .pl-tl-d { font-size: 0; } .pl-tl-weband { position: absolute; top: 0; bottom: 0; background: var(--tint); }
.pl-tl-w { position: absolute; top: 0; bottom: 18px; padding: 6px 8px; font-size: 13px; line-height: 1.3; border-left: 1px solid var(--border); } .pl-tl-w > b { display: block; font-weight: 600; } .pl-tl-w > span { color: var(--text-secondary); } .pl-tl-wnow { background: var(--brand-neon-tint); }
.pl-tl-name { font-size: 13px; font-weight: 600; padding: 12px 12px 0 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top: 1px solid var(--border); } .pl-tl-track { border-top: 1px solid var(--border); height: 38px; }
.pl-tl > :nth-child(4n+7), .pl-tl > :nth-child(4n+8) { background: var(--bg); }  /* every other lane a light band, so a chip reads with its brand (6 Nov: 'can you see which activity belongs to which brand?') */
.pl-tl > :nth-child(n+7) { border-top-color: var(--line); }  /* a firmer line between two brands than under the markers */
.pl-tl-span.pl-tl-out { overflow: visible; } .pl-tl-span.pl-tl-out .pl-tl-txt { position: absolute; left: 100%; padding: 0 0 0 6px; } .pl-tl-span.pl-tl-out.pl-tl-flip .pl-tl-txt { left: auto; right: 100%; padding: 0 6px 0 0; }  /* a short period's text beside its bar, not cut */
.pl-tl-wk { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--border); } .pl-tl-today { position: absolute; top: 0; bottom: 0; border-left: 2px solid var(--brand-dark); margin-left: -1px; }
.pl-tl-kl { position: absolute; top: 0; bottom: 0; border-left: 2px dashed var(--orange); margin-left: -1px; } .pl-tl-kl-day { border-color: var(--grey); }
.pl-tl-key { position: absolute; top: 6px; transform: translateX(-50%); font-size: 12px; font-weight: 600; line-height: 18px; padding: 0 8px; border-radius: 6px; white-space: nowrap; background: var(--tint-orange); color: var(--ink-orange); }
.pl-tl-key-today { background: var(--brand-neon); color: var(--brand-dark); } .pl-tl-key-day { background: var(--tint); color: var(--text-secondary); }
.pl-tl-it { position: absolute; top: 6px; height: 26px; display: flex; align-items: center; white-space: nowrap; font: 13px var(--font); font-weight: 600; color: var(--brand-dark); background: var(--brand-neon); border: 1px solid var(--brand-neon); border-radius: 6px; padding: 0 10px; margin: 0; text-align: left; overflow: hidden; cursor: pointer; }  /* the client's own planning in the brand's neon */
.pl-tl-span { padding: 0; } .pl-tl-span .pl-tl-txt { padding: 0 10px; overflow: hidden; text-overflow: ellipsis; } .pl-tl-it:not(.pl-tl-span) { margin-left: -1px; }
.pl-tl-it:hover .pl-tl-txt { text-decoration: underline; text-underline-offset: 3px; }
.pl-tl-moment, .pl-tl-moment.pl-tl-prop { background: none; border: none; overflow: visible; padding: 0; } .pl-tl-mark { position: absolute; left: 0; top: 2px; bottom: 2px; width: 100%; min-width: 6px; border-radius: 6px; background: var(--brand-neon); border: 1px solid var(--brand-neon); }
.pl-tl-moment .pl-tl-txt { position: absolute; left: 100%; padding-left: 6px; } .pl-tl-moment.pl-tl-flip .pl-tl-txt { left: auto; right: 100%; padding: 0 6px 0 0; }
.pl-tl-it.pl-tl-prop { background: var(--brand-neon-soft); border: 1px dashed var(--brand-dark); } .pl-tl-moment.pl-tl-prop .pl-tl-mark { background: var(--brand-neon-soft); border: 1px dashed var(--brand-dark); } .pl-tl-key-meet { background: var(--tile-bg); color: var(--brand-dark); border: 1px solid var(--brand-dark); line-height: 16px; } .pl-tl-kl-meet { border-color: var(--brand-dark); }
.pl-tl-it { touch-action: none; } .pl-tl-span { cursor: grab; } .pl-tl-moment .pl-tl-mark { cursor: grab; } .pl-tl-drag { opacity: .85; cursor: grabbing; }
.pl-tl-h { position: absolute; top: 0; bottom: 0; width: 8px; cursor: ew-resize; } .pl-tl-hl { left: 0; } .pl-tl-hr { right: 0; } .pl-tl-moment .pl-tl-h { width: 6px; }
.pl-tl-it.pl-tl-later { right: 12px; top: 10px; height: auto; font-weight: 400; margin-left: 0; color: var(--text-secondary); background: none; border: none; padding: 0; } .pl-tl-later:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .pl-tl { grid-template-columns: 88px minmax(0, 1fr); } .pl-tl-w > span { display: none; } .pl-tl-name { padding-left: 12px; white-space: normal; } }
.pl-tl-pickable { cursor: crosshair; } .pl-tl-pick { position: absolute; top: 0; bottom: 0; background: var(--brand-neon-faint); border-left: 1px solid var(--brand-dark); border-right: 1px solid var(--brand-dark); pointer-events: none; }  /* the day or period picked on the strip to add a line */
.pl-tl-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 8px; } .pl-tl-ro .pl-tl-h { display: none; } .pl-tl-ro .pl-tl-span, .pl-tl-ro .pl-tl-moment .pl-tl-mark { cursor: pointer; } .pl-tl-name a { color: var(--text); text-decoration: none; } .pl-tl-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.plan-without { margin-top: 8px; } .plan-without > summary { cursor: pointer; }
/* the segmented control (periods on the client page's What happened, the tabs of the screen for the client, the weeks of the planning on both pages) */
.tl-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tl-seg button { font: 12px var(--font); color: var(--text-secondary); background: none; border: none; padding: 4px 12px; cursor: pointer; }
.tl-seg button[aria-pressed=true] { background: var(--brand-dark); color: var(--brand-neon); font-weight: 600; }

/* ── The screen the BM shares with the client and the client's own page (.sh, docs/client-screen.md): their own scale, one step above
   the cockpit (2 Nov: calm comes from air between the sections and few sizes, not from size): the title 22px, the labels and the dates
   15px, the numbers 28px. The number strip: columns split by a thin line, the label on one line, the figure with its change beside it
   as a pill, this year against last year as two bars. Both pages draw it, so it lives here (10 Nov). ── */
.sh { max-width: 1100px; margin: 0 auto; } .sh-head { display: flex; align-items: center; gap: 16px; padding: 8px 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.sh-head .logo { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-dark); color: var(--brand-neon); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; } .sh-head .logo svg { width: 28px; height: 28px; }
.sh-head .tk-title { font-size: 22px; } .sh-head .agenda-muted { font-size: 15px; }
.sh-sec { margin-bottom: 36px; } .sh-h { font-size: 12px; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; } .sh-h .agenda-muted { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: 8px; }
.sh-sec .sh-h + * + .sh-h { margin-top: 36px; }
/* the numbers as one strip per group, the groups under each other (2 Nov: 'the presentation of the numbers is mediocre': eight boxes side by side,
labels on two lines and the figures at different heights): columns split by a thin line, the label on one line, the figure with its change beside it */
.sh-nums { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); width: calc(var(--w, 1) * 100%); box-sizing: border-box; background: var(--tile-bg); border: 1px solid var(--border); border-radius: 10px; }  /* --w: the prep's own numbers as wide as as many key numbers, so the columns line up */
@media (max-width: 900px) { .sh-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh .sh-num + .sh-num { border-left: none; } .sh-num:nth-child(n+3) { border-top: 1px solid var(--border); } .sh .sh-num:nth-child(even) { border-left: 1px solid var(--border); } .sh .sh-lbl { white-space: normal; } .sh .sh-nums { width: auto; } }
.sh-num { position: relative; padding: 16px 20px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; } .sh-num + .sh-num { border-left: 1px solid var(--border); }
.sh-vrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.sh-chg { font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 6px; } .sh-chg.sh-good { background: var(--tint-green); } .sh-chg.sh-bad { background: var(--tint-red); } .sh-chg.sh-flat { background: var(--tint); }
.sh-bars { display: grid; gap: 3px; margin-top: 6px; } .sh-bars i { display: block; height: 6px; border-radius: 6px; background: var(--brand-dark); } .sh-bars i.sh-ly { background: var(--line); }  /* this year dark, last year grey */
.sh-ly-t { font-size: 13px; color: var(--text-secondary); }
.sh-lbl { color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sh-val { font: 600 28px var(--font); } .sh-good { color: var(--ink-green); font-weight: 600; } .sh-bad { color: var(--ink-red); font-weight: 600; } .sh-flat { font-weight: 600; }
.sh-head { flex-wrap: wrap; } .sh-tabs { margin-left: auto; align-self: center; } .sh .sh-tabs button { font-size: 15px; padding: 6px 16px; }
@media (max-width: 760px) { .sh-tabs { margin-left: 0; width: 100%; display: flex; } .sh .sh-tabs button { flex: 1; } }  /* the client's page and the market (2 Nov), the cockpit's segmented control */
.sh-foot { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.logo-mark { width: 26px; height: 26px; background: var(--brand-neon); -webkit-mask: url(/static/lp-monogram.svg) center / contain no-repeat; mask: url(/static/lp-monogram.svg) center / contain no-repeat; }  /* the monogram is drawn in currentColor, black inside an <img> */
