:root {
  color-scheme: dark;
  --bg: #090a09;
  --surface: #101210;
  --well: #0b0d0b;
  --raised: #161916;
  --active: #1d211c;
  --line: #252a24;
  --text: #f4f6f1;
  --muted: #a8afa5;
  --subtle: #90988e;
  --lime: #c8f230;
  --lime-ink: #101407;
  --amber: #f6c64e;
  --blue: #5bb7fb;
  --danger: #ffa39c;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --radius: 24px;
  --gap: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--sans); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .6; }
::selection { color: var(--lime-ink); background: var(--lime); }
:where(input, textarea) { caret-color: var(--lime); }
img { display: block; max-width: 100%; }
.icon { width: 18px; height: 18px; display: block; flex: none; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
.mono { font: 500 11px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.app { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: var(--gap); max-width: 1720px; margin: 0 auto; padding: 14px; align-items: start; }
.sidebar { position: sticky; top: 14px; display: flex; flex-direction: column; min-height: min(1040px, calc(100dvh - 28px)); padding: 22px 15px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.sidebar .brand { margin: 0 8px 28px; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; color: var(--lime-ink); background: var(--lime); font: italic 900 22px/1 var(--display); transform: skew(-3deg); }
.brand b, .brand small { display: block; line-height: .95; }
.brand b { font: 900 21px/.95 var(--display); letter-spacing: .03em; }
.brand small { margin-top: 4px; color: var(--muted); font: 600 11px/1 var(--mono); letter-spacing: .36em; }
.menu-label { margin: 0 12px 8px; color: var(--subtle); font: 500 11px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav a { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 8px 12px; border-radius: 13px; color: var(--muted); font-weight: 600; }
.sidebar nav a:hover { background: var(--raised); color: var(--text); }
.sidebar nav a[aria-current="page"] { background: var(--active); color: var(--text); }
.nav-count { margin-left: auto; padding: 1px 7px; border-radius: 20px; color: var(--lime-ink); background: var(--lime); font: 600 11px/18px var(--mono); }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.site-card { display: grid; gap: 6px; padding: 16px; background: var(--lime); color: var(--lime-ink); border-radius: 17px; }
.site-card strong { font: 900 23px/1.1 var(--display); }
.site-card .mono { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.site-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime-ink); }
.site-cta { display: flex; align-items: center; gap: 5px; justify-self: start; background: var(--lime-ink); color: var(--text); border-radius: 20px; font-size: 12px; font-weight: 700; padding: 7px 10px; margin-top: 5px; }
.site-cta .icon { width: 14px; height: 14px; }
.site-card:hover .site-cta { background: #2b3613; }
.account { display: flex; align-items: center; gap: 9px; margin: 18px 2px 0; line-height: 1.3; }
.account-avatar { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--active); font-weight: 700; }
.account strong { display: block; font-size: 12px; }
.account small { display: block; color: var(--muted); font-size: 11px; }
.account .logout { width: 36px; height: 36px; margin-left: auto; border-color: transparent; }
.workspace { min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 88px; padding: 5px 7px 13px; }
.title { min-width: max-content; }
.title time { display: block; color: var(--muted); margin-bottom: 2px; }
h1 { font: 900 49px/.98 var(--display); text-transform: uppercase; letter-spacing: -.018em; }
h1 em { color: var(--lime); }
.tools { display: flex; align-items: center; gap: 9px; }
.button, .icon-button, .pill-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); font-weight: 700; white-space: nowrap; }
.button { padding: 0 15px; }
.icon-button { position: relative; width: 43px; padding: 0; color: var(--muted); }
.button:hover, .icon-button:hover, .pill-button:hover { background: var(--active); color: var(--text); }
.primary { color: var(--lime-ink); background: var(--lime); border-color: var(--lime); }
.primary:hover { color: var(--lime-ink); background: #daf975; border-color: #daf975; }
.bell { color: var(--text); }
.search { position: relative; width: clamp(140px, 16vw, 280px); }
.search > [data-icon] { position: absolute; left: 13px; top: 13px; color: var(--muted); pointer-events: none; }
.search > input { width: 100%; height: 43px; padding: 0 12px 0 37px; border: 1px solid var(--line); border-radius: 23px; background: var(--surface); }
.search input::placeholder { color: var(--subtle); }
.search-results { position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; width: min(300px, 90vw); padding: 7px; border-radius: 16px; border: 1px solid var(--line); background: var(--raised); }
.search-results button { display: block; width: 100%; border: 0; background: transparent; text-align: left; padding: 8px 10px; border-radius: 8px; }
.search-results button:hover { background: var(--active); }
.search-results small { display: block; color: var(--muted); }
.search-results p { padding: 8px 10px; color: var(--muted); }
.period { display: flex; align-items: center; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; }
.period button { background: transparent; border: 0; border-radius: 21px; padding: 7px 10px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.period button:hover { color: var(--text); }
.period button[aria-pressed="true"] { color: var(--bg); background: var(--text); }
.sync-error { color: var(--danger); margin: 0 8px 10px; }
.dashboard-grid, .metric-grid { display: grid; gap: var(--gap); }
.dashboard-grid { grid-template-columns: minmax(0, 2.05fr) minmax(250px, 1fr); }
.metric-grid { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel, .metric { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.metric { display: grid; grid-template-rows: max-content 1fr 32px; gap: 12px; min-height: 167px; padding: 19px 20px 17px; }
.metric.featured { color: var(--lime-ink); background: var(--lime); border-color: var(--lime); }
.metric-top, .panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.metric-label { font-size: 13px; font-weight: 600; }
.metric strong, .chart-total, .donut-center strong, .rank-count { display: block; font: 900 57px/.9 var(--display); letter-spacing: -.018em; font-variant-numeric: tabular-nums; }
.metric small, .tag { display: inline-flex; align-items: center; border-radius: 20px; padding: 3px 7px; font: 600 11px/1.2 var(--mono); white-space: nowrap; }
.metric small { color: var(--lime); background: #202b11; }
.metric.featured small { color: var(--lime); background: var(--lime-ink); }
.bars { display: flex; align-items: end; gap: 3px; }
.bars i { flex: 1; height: var(--bar); border-radius: 3px; background: #292e28; }
.bars i[data-latest] { background: var(--lime); }
.featured .bars i { background: #10140735; }
.featured .bars i[data-latest] { background: var(--lime-ink); }
.panel { padding: 22px 24px; }
.panel h2 { font: 700 16px/1.3 var(--sans); }
.panel-heading p, .muted { color: var(--muted); }
.chart-total { font-size: 42px; margin: 11px 0 0; }
.chart-summary { display: flex; align-items: end; gap: 12px; }
.delta { color: var(--lime); font-size: 12px; font-weight: 700; }
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.chart-legend span, .sources li .source-name { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend i, .sources i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--swatch, var(--lime)); }
.chart-legend .previous i { height: 2px; border-radius: 0; background: #879180; }
.metric-meta { align-self: end; color: var(--muted); font-size: 12px; }
.plot { position: relative; height: 230px; margin-top: 17px; }
.plot svg { width: 100%; height: 100%; overflow: visible; }
.plot-empty { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: var(--muted); font-size: 13px; }
.plot-labels { display: flex; justify-content: space-between; gap: 4px; margin-top: 8px; color: var(--subtle); font: 500 11px/1.4 var(--mono); text-transform: uppercase; }
.donut { position: relative; margin: 18px auto; width: 164px; aspect-ratio: 1; border-radius: 50%; background: var(--segments, #262b24); }
.donut-center { position: absolute; inset: 15%; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--surface); text-align: center; }
.donut-center strong { font-size: 40px; }
.donut-center small { max-width: 95%; margin-top: 5px; color: var(--muted); font: 500 11px/1.2 var(--mono); text-transform: uppercase; }
.sources { padding: 0; margin: 0; display: grid; gap: 5px; list-style: none; }
.sources li { display: flex; justify-content: space-between; gap: 8px; }
.sources b { font: 600 12px/1.5 var(--mono); }
.sources-note { color: var(--muted); font-size: 13px; text-align: center; }
.board { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 9px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.board.all { grid-template-columns: repeat(5, minmax(150px, 1fr)); }
.lane { min-height: 222px; padding: 10px; border-radius: 15px; background: var(--well); border: 1px solid #202420; }
.lane h3 { display: flex; gap: 7px; align-items: center; font-size: 12px; white-space: nowrap; }
.lane h3 b { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--muted); }
.status-dot { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--status); }
.empty-lane { margin-top: 15px; color: var(--muted); font-size: 12px; }
.app-card { display: block; text-align: left; width: 100%; min-height: 85px; padding: 10px; margin-top: 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); }
.app-card:hover { background: var(--active); border-color: #525d3d; }
.app-card strong, .app-card small { display: block; overflow-wrap: anywhere; }
.app-card strong { font-size: 13px; line-height: 1.25; }
.candidate-heading { display: flex; justify-content: space-between; align-items: start; gap: 5px; }
.position-code { flex: none; background: #d4dad0; color: var(--bg); border-radius: 5px; padding: 2px 4px; font: 600 11px/1.2 var(--mono); }
.app-card small { color: var(--muted); margin-top: 4px; font-size: 11px; }
.app-card footer { display: flex; align-items: center; justify-content: space-between; gap: 4px; color: var(--muted); margin-top: 8px; }
.app-card footer .icon { width: 14px; height: 14px; color: var(--lime); }
.full-panel { grid-column: 1 / -1; }
.text-link { color: var(--lime); padding: 0; background: none; border: 0; font-weight: 700; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.right-stack { display: grid; align-content: start; gap: var(--gap); min-width: 0; }
.ranking { margin: 12px 0 0; padding: 0; list-style: none; }
.ranking li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; border-top: 1px solid var(--line); padding: 9px 0; }
.rank-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font: italic 900 18px/1 var(--display); background: var(--active); }
.rank-name { min-width: 0; }
.rank-name button { display: block; max-width: 100%; border: 0; background: none; padding: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.rank-name button:hover { color: var(--lime); }
.rank-name i { display: block; background: #242824; height: 4px; border-radius: 4px; margin-top: 5px; }
.rank-name i::before { content: ""; display: block; height: 100%; width: var(--fill); background: #899181; border-radius: inherit; }
.ranking li:first-child .rank-name i::before { background: var(--lime); }
.rank-count { font-size: 23px; }
.activity { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; color: var(--text); border-color: var(--lime); }
.activity:hover { background: #181e11; }
.activity > [data-icon] { background: var(--lime); color: var(--lime-ink); border-radius: 11px; width: 38px; height: 38px; flex: none; }
.activity .mono { display: block; color: var(--lime); margin-bottom: 3px; }
.empty { color: var(--muted); margin-top: 13px; font-size: 13px; }
.toolbar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 16px 0; }
.toolbar input, .toolbar select, .dialog input:not([type="checkbox"]), .dialog select, .dialog textarea, .login input { width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid #374035; border-radius: 9px; background: var(--well); }
.toolbar input, .toolbar select { width: auto; max-width: 100%; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; }
th { font-size: 12px; color: var(--muted); font-weight: 600; text-align: left; }
.player-cell { display: flex; gap: 10px; align-items: center; }
.avatar { display: grid; place-items: center; width: 38px; height: 44px; border-radius: 7px; overflow: hidden; background: var(--active); color: var(--lime); font-weight: 700; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tag { background: #252b24; color: var(--muted); }
.tag.live { color: var(--lime); background: #293610; }
.row-actions { display: flex; gap: 10px; align-items: center; }
.row-actions .button { min-height: 34px; font-size: 12px; }
.dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; background: var(--surface); border: 1px solid #374035; border-radius: var(--radius); padding: 0; color: var(--text); }
.dialog::backdrop { background: #000b; }
.dialog-head { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.dialog-head h2 { font: 900 30px/1 var(--display); text-transform: uppercase; }
.dialog form { padding: 16px 20px 20px; }
.dialog textarea { resize: vertical; }
.dialog input[type="checkbox"] { accent-color: var(--lime); width: 16px; height: 16px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.fields.thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fields .wide { grid-column: 1 / -1; }
.dialog label, .login label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; }
.dialog label.check { display: flex; align-items: center; }
.dialog fieldset { margin: 15px 0; padding: 12px; min-width: 0; border: 1px solid var(--line); border-radius: 12px; }
.dialog legend { padding: 0 6px; font-weight: 700; }
.repeat-row { display: flex; align-items: end; gap: 7px; margin: 0 0 8px; }
.repeat-row label { flex: 1; min-width: 0; }
.repeat-row .small-field { flex: 0 1 89px; }
.repeat-row .icon-button { flex: 0 0 40px; }
.editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.editor-actions .primary { margin-left: auto; }
.form-error { color: var(--danger); margin-top: 8px; }
.form-error:empty { display: none; }
.app-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 14px; }
.app-facts dt { color: var(--muted); font-size: 11px; }
.app-facts dd { margin: 0; overflow-wrap: anywhere; }
.app-facts a { color: var(--lime); }
.app-video { width: 100%; max-height: 310px; background: var(--well); border-radius: 12px; }
.app-status { margin-top: 15px; }
.history { margin-top: 12px; color: var(--muted); font-size: 12px; }
.history summary { cursor: pointer; }
.history ol { padding-left: 18px; }
.toast { position: fixed; z-index: 10; right: 18px; bottom: 18px; padding: 11px 15px; border-radius: 13px; background: var(--lime); color: var(--lime-ink); font-weight: 700; }
.login { display: grid; min-height: 100dvh; place-items: center; padding: 16px; }
.login-panel { width: min(100%, 410px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 27px; }
.login-panel h1 { margin: 24px 0 17px; }
.login-panel .primary { width: 100%; justify-content: space-between; margin: 13px 0 14px; }
.login-back { font-size: 12px; }
@media (min-width: 1360px) {
  .app { grid-template-columns: 240px minmax(0, 1fr); }
  .metric { min-height: 190px; }
  .plot { height: 266px; }
  .lane { min-height: 260px; }
}
@media (max-width: 1280px) {
  .app { grid-template-columns: 192px minmax(0, 1fr); }
  .sidebar { padding-inline: 11px; }
  .topbar { flex-wrap: wrap; }
  .metric { padding-inline: 14px; }
  .panel { padding-inline: 17px; }
}
/* The navigation stays in thumb reach while the workspace scrolls. */
.mobile-dock, .add-short { display: none; }
.agency-menu {
  color: var(--text); background: var(--surface); padding: 0; width: min(460px, 100%);
  max-width: 100%; max-height: calc(100dvh - max(12px, env(safe-area-inset-top)));
  margin: auto auto 0; border: 1px solid var(--line); border-radius: 22px 22px 0 0;
  overscroll-behavior: contain;
}
.agency-menu::backdrop { background: rgb(0 0 0 / .68); }
body:has(dialog[open]) { overflow: hidden; }
.agency-menu .dialog-head { padding: 12px 18px; }
.agency-menu .dialog-head h2 { font: 700 19px/1.3 var(--sans); text-transform: none; }
.agency-menu nav, .menu-account { display: grid; gap: 3px; padding: 10px; }
.menu-account { border-top: 1px solid var(--line); padding-block-end: max(10px, env(safe-area-inset-bottom)); }
.agency-menu :is(nav, .menu-account) :is(a, button) {
  display: flex; align-items: center; gap: 14px; min-height: 48px; text-align: start;
  border: 0; border-radius: 10px; background: transparent; padding: 8px 12px; font-weight: 600;
}
.agency-menu nav [aria-current], .agency-menu :is(nav, .menu-account) :is(a, button):hover { background: var(--active); }
.agency-menu nav [aria-current] { color: var(--lime); }
.agency-menu .menu-account { color: var(--muted); }
.metric-meta, .rank-name button, .activity strong { overflow-wrap: anywhere; }
.metric .metric-meta { white-space: normal; align-self: end; line-height: 1.3; }
@media (max-width: 920px) {
  :root { --dock-height: 62px; }
  .app {
    display: block; padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
      calc(var(--dock-height) + 24px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }
  .sidebar { display: none; }
  .topbar { padding: 3px 0 16px; }
  .mobile-dock {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed; z-index: 6; inset: auto 0 0; width: min(100%, 580px); margin-inline: auto;
    padding: 4px max(6px, env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; background: #131613;
  }
  .mobile-dock :is(a, button) {
    min-width: 0; height: 54px; display: grid; align-content: center; justify-items: center; gap: 4px;
    background: none; border: 0; border-radius: 12px; color: var(--muted); font: 600 12px/1.2 var(--sans);
  }
  .mobile-dock :is([aria-current], .section-active, [aria-expanded="true"]) { background: #242c1a; color: var(--lime); }
  .mobile-dock .icon { width: 20px; height: 20px; }
  .mobile-dock :active { background: var(--active); }
  .toast { bottom: calc(var(--dock-height) + env(safe-area-inset-bottom) + 10px); max-width: calc(100% - 28px); }
  .workspace { scroll-margin-bottom: var(--dock-height); }
  html { scroll-padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom)); }
  .toolbar :is(input, select), .search > input, .channel-form :is(input, select), .dialog :is(input, textarea, select), .login input { font-size: 16px; }
  .button, .icon-button, .toolbar :is(select, input), .search > input { min-height: 44px; }
  .search-results button { min-height: 44px; }
  .period button { min-width: 44px; min-height: 38px; }
  .panel-heading { flex-wrap: wrap; }
}
@media (min-width: 671px) and (max-width: 920px) {
  .tools { flex: 1 1 100%; }
  .search { flex: 1; }
}
@media (max-width: 670px) {
  .topbar {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: 12px 9px; padding-block: 4px 18px;
  }
  .title { min-width: 0; }
  .title h1 { font-size: clamp(34px, 8.3vw, 49px); overflow-wrap: anywhere; }
  .title time { font-size: 10px; margin-bottom: 6px; }
  .tools { display: contents; }
  .search { width: 100%; min-width: 0; grid-column: 1; grid-row: 2; }
  .search > input { padding-inline-end: 8px; }
  .search-results { left: 0; right: auto; width: min(320px, calc(100vw - 32px)); }
  .bell { grid-column: 2; grid-row: 1; justify-self: end; }
  .add-player { grid-column: 2; grid-row: 2; justify-self: end; }
  .period { grid-column: 1 / -1; justify-self: start; padding: 2px; }
  .period button { min-height: 40px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .metric { min-height: 138px; padding: clamp(11px, 3.3vw, 18px); gap: 9px; grid-template-rows: auto 1fr auto; border-radius: 17px; }
  .metric-top { flex-wrap: wrap; gap: 3px 6px; }
  .metric-label { font-size: 12px; line-height: 1.35; }
  .metric strong { align-self: end; font-size: 44px; }
  .metric .bars { height: 18px; }
  .metric-meta { font-size: 12px; }
  .panel { padding: 17px 14px; border-radius: 17px; }
  .panel-heading h2 + p { font-size: 13px; }
  .chart-legend { gap: 5px 12px; }
  .plot { height: clamp(145px, 40vw, 210px); }
  .board, .board.all, .board.one { grid-template-columns: minmax(0, 1fr); gap: 8px; overflow: visible; }
  .lane { min-height: 0; padding: 11px 12px; border-radius: 12px; }
  .lane h3 { font-size: 14px; }
  .lane .empty-lane { margin: 4px 0 0 15px; }
  .app-card { min-height: 0; padding: 11px; }
  .app-card strong { font-size: 15px; }
  .app-card small { font-size: 12px; }
  .toolbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 192px), 1fr)); }
  .toolbar :is(input,select,button) { width: 100%; min-width: 0; }
  .toolbar select {
    appearance: none; height: 46px; padding-inline-end: 34px;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: right 18px center, right 13px center;
    background-size: 5px 5px; background-repeat: no-repeat;
  }
  .app-facts, .fields.thirds { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 490px) {
  .add-label { display: none; }
  .add-short { display: inline; }
  .add-player { padding-inline: 13px; }
  .dialog .fields:not(.thirds), .channel-form .fields { grid-template-columns: 1fr; }
  .dialog :is(input, select, textarea), .fields > *, .toolbar > * { min-width: 0; }
  .repeat-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; }
  .repeat-row label { grid-column: 1; }
  .repeat-row .icon-button { grid-column: 2; grid-row: 1; }
  .dialog .button { white-space: normal; }
}

.board.one { grid-template-columns: minmax(145px, 280px); }

/* Editor surfaces */
.player-editor { width: min(1060px, calc(100% - 36px)); max-height: calc(100dvh - 36px); }
.player-editor .dialog-head, .application-editor .dialog-head { padding: 16px 22px; background: #131713; }
.player-editor .dialog-head h2, .application-editor .dialog-head h2 { font: 700 18px/1.35 var(--sans); letter-spacing: -.015em; text-transform: none; }
.player-editor #player-form { padding: 0; }
.edit-layout { display: grid; grid-template-columns: 222px minmax(0, 1fr); align-items: start; }
.edit-rail { position: sticky; top: 75px; display: grid; gap: 16px; padding: 20px 14px 22px 20px; }
.edit-preview { display: grid; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--well); }
.edit-portrait { display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: 10px; overflow: hidden; background: linear-gradient(145deg, #2d391a, #151b12 70%); }
.edit-portrait img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 32%; }
.edit-portrait span { font: italic 900 52px/1 var(--display); text-transform: uppercase; color: var(--lime); }
.edit-portrait .icon { width: 36px; height: 36px; }
.edit-preview-info { display: grid; gap: 3px; min-width: 0; }
.edit-preview-info .tag { justify-self: start; margin-bottom: 4px; }
.edit-preview-info strong { overflow-wrap: anywhere; }
.edit-preview-info small { color: var(--muted); }
.edit-nav { display: grid; gap: 4px; }
.edit-nav button { display: flex; align-items: center; gap: 9px; min-height: 39px; padding: 7px 9px; border: 0; border-radius: 9px; background: transparent; text-align: left; color: var(--muted); font-size: 12px; font-weight: 650; }
.edit-nav button:hover, .edit-nav button[aria-current] { background: var(--active); color: var(--text); }
.edit-nav button[aria-current] .icon { color: var(--lime); }
.edit-main { display: grid; gap: 13px; min-width: 0; padding: 20px 20px 20px 8px; }
.edit-section { scroll-margin-top: 88px; min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); }
.edit-section h3 { font-size: 16px; margin-bottom: 10px; }
.edit-section > p { color: var(--muted); margin: -4px 0 14px; font-size: 13px; }
.edit-section fieldset:last-child { margin-bottom: 0; }
.edit-section fieldset { border-color: #30372f; }
.dialog .edit-section :is(input:not([type="checkbox"]), select, textarea), .application-editor :is(select, textarea) { min-height: 44px; border-radius: 10px; }
.edit-section :is(input, select, textarea)::placeholder { color: var(--subtle); }
.dialog .toggle-tile { display: flex; gap: 10px; align-items: center; min-height: 54px; padding: 8px 10px; border: 1px solid #343d31; border-radius: 10px; background: var(--well); cursor: pointer; }
.toggle-tile span { display: grid; }
.toggle-tile small, .field-note { color: var(--muted); font-size: 12px; font-weight: 400; }
.toggle-tile:has(input:checked) { border-color: #647539; }
.media-fields, .video-entry { display: grid; gap: 10px; min-width: 0; }
.dialog .file-target { position: relative; min-height: 70px; display: flex; align-items: center; gap: 11px; padding: 9px 12px; border: 1px dashed #667154; border-radius: 11px; background: #141b10; cursor: pointer; }
.file-target:hover, .file-target:focus-within { border-color: var(--lime); background: #1a2213; }
.file-target span { min-width: 0; overflow-wrap: anywhere; }
.file-target strong, .file-target small { display: block; }
.file-target small { margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 400; }
.dialog .file-target input[type="file"] { position: absolute; inset: 0; opacity: 0; padding: 0; cursor: pointer; }
.file-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: none; color: var(--lime); border-radius: 8px; background: #263219; }
.market-editor-field { display: flex; align-items: end; gap: 8px; }
.market-editor-field label { flex: 1; min-width: 0; }
.editor-tm-logo { width: clamp(54px, 9vw, 76px); height: auto; align-self: end; margin-bottom: 7px; }
.field-note { margin-top: 7px; }
.video-entry { margin-bottom: 10px; padding: 11px; border: 1px solid #343d31; border-radius: 11px; background: var(--well); }
.video-entry-top { display: flex; align-items: end; gap: 8px; }
.video-entry-top label { flex: 1; min-width: 0; }
.video-entry-top .icon-button { flex: 0 0 42px; }
.editor-segment { display: flex; flex-wrap: wrap; gap: 4px; }
.editor-segment button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; border: 1px solid transparent; border-radius: 7px; padding: 5px 9px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 650; }
.editor-segment button[aria-pressed="true"] { background: var(--active); border-color: #485240; color: var(--text); }
.editor-segment .icon { width: 14px; height: 14px; }
.editor-existing-video { width: min(100%, 360px); max-height: 190px; background: #070807; border-radius: 8px; }
.editor-footer { position: sticky; z-index: 2; bottom: 0; padding: 11px 20px; background: #131713; border-top: 1px solid var(--line); }
.editor-footer .editor-actions { margin: 0; justify-content: flex-end; gap: 8px; }
.editor-footer .editor-actions > :first-child { margin-right: auto; }
.editor-footer .editor-actions .primary { margin-left: 0; }
.editor-footer .form-error { margin: 0 0 8px; }
.editor-progress { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.editor-progress progress { flex: 1; accent-color: var(--lime); height: 7px; }
.application-intro { display: flex; align-items: center; gap: 11px; padding: 14px; margin-bottom: 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--raised); }
.application-avatar { display: grid; place-items: center; flex: 0 0 47px; height: 47px; border-radius: 10px; background: #2c391e; color: var(--lime); font: 900 23px/1 var(--display); }
.application-intro h3 { font-size: 18px; overflow-wrap: anywhere; }
.application-intro p { font-size: 12px; color: var(--muted); }
.application-intro .tag { gap: 5px; margin-left: auto; }
.application-editor .app-facts { padding: 12px 3px; }
.analytics-subtitle { font-size: 13px; margin-top: 16px; }
.funnel { display: grid; gap: 11px; margin-top: 14px; }
.funnel-track { height: 7px; background: var(--active); border-radius: 7px; overflow: hidden; margin-top: 5px; }
.funnel-track i { display: block; height: 100%; background: var(--lime); border-radius: inherit; }
.engagement-table { margin-top: 8px; }
.intake-reminder { margin-top: 10px; color: var(--amber); }
@media (max-width: 700px) {
  .player-editor { width: 100%; max-width: 100%; max-height: 100dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .player-editor .dialog-head { padding: 10px 12px; }
  .edit-layout { display: block; }
  .edit-rail { position: relative; top: auto; padding: 10px 10px 0; gap: 8px; }
  .edit-preview { grid-template-columns: 66px minmax(0, 1fr); align-items: center; gap: 9px; }
  .edit-portrait span { font-size: 27px; }
  .edit-portrait .icon { width: 23px; height: 23px; }
  .edit-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edit-main { padding: 10px; gap: 8px; }
  .edit-section { padding: 12px; scroll-margin-top: 66px; }
  .editor-footer { padding: 8px 9px max(8px, env(safe-area-inset-bottom)); }
  .editor-footer .editor-actions { gap: 5px; justify-content: space-between; }
  .editor-footer .button { min-height: 40px; padding-inline: 8px; white-space: normal; font-size: 11px; }
  .editor-footer .secondary-save { margin-left: auto; }
  .application-intro { gap: 7px; flex-wrap: wrap; }
}

.discard-confirm { position: sticky; z-index: 3; top: 75px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 20px; background: var(--active); border-bottom: 1px solid var(--line); }
.discard-confirm p { margin-right: auto; font-weight: 600; }
.discard-confirm .button { min-height: 36px; font-size: 12px; }
.edit-section h3:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 700px) {
  .player-editor .discard-confirm { top: 63px; padding-inline: 10px; }
  .editor-footer .editor-actions { display: grid; grid-template-columns: auto 1fr; }
  .editor-footer .editor-actions > .primary { grid-column: 1 / -1; }
}

/* Club inbox and communication */
.club-workspace { display: grid; gap: 14px; }
.club-quick-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.club-quick-stats button { display: grid; text-align: left; gap: 5px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.club-quick-stats button:hover { background: var(--active); border-color: #4e5c3e; }
.club-quick-stats span { color: var(--muted); font-size: 12px; }
.club-quick-stats strong { font: 900 37px/1 var(--display); color: var(--lime); }
.club-workspace .table-wrap .button { min-height: 34px; font-size: 12px; }
.club-stage { gap: 6px; white-space: nowrap; }
.due-date { color: var(--amber); }
.inbound-message { background: var(--well); border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; margin-bottom: 13px; }
.inbound-message p { margin-top: 5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-thread { border-top: 1px solid var(--line); padding: 15px 20px 20px; }
.message-thread h3, .messaging-settings h3 { font-size: 15px; line-height: 1.3; }
.message-thread .panel-heading .button { min-height: 34px; font-size: 12px; }
.message-thread .panel-heading p { margin-top: 4px; }
.message-history { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 5px; }
.message-history li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; padding: 8px 10px; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.message-history small { display: block; color: var(--muted); margin-top: 2px; }
.channel-empty { background: var(--well); border: 1px solid var(--line); border-radius: 9px; padding: 11px; }
.channel-empty p { color: var(--muted); margin-bottom: 4px; }
.dialog .composer { padding: 11px; background: var(--raised); border: 1px solid var(--line); border-radius: 10px; }
.composer-email { display: grid; gap: 8px; margin-top: 9px; }
.composer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.composer-actions .form-error { margin: 0 auto 0 0; }
.messaging-settings article { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 7px 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.messaging-settings p { color: var(--muted); margin-top: 4px; }
.channel-status { display: grid; gap: 4px; color: var(--muted); font-size: 12px; }
.club-analytics dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.club-analytics dl div { padding: 11px; border-radius: 10px; background: var(--raised); }
.club-analytics dt { color: var(--muted); font-size: 12px; }
.club-analytics dd { margin: 0; font: 900 31px/1.3 var(--display); }
.editor-languages label { margin-top: 8px; }
.editor-languages summary { cursor: pointer; color: var(--lime); font-size: 13px; }
@media(max-width:630px) {
  .club-quick-stats,.club-analytics dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .messaging-settings article { grid-template-columns: 1fr; }
  .message-thread { padding: 12px; }
}
.channel-form { grid-column: 1 / -1; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--raised); }
.channel-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 600; }
.channel-form input { width: 100%; min-width: 0; min-height: 42px; color: var(--text); background: var(--well); border: 1px solid #374035; padding: 7px 10px; border-radius: 8px; }
.channel-form .primary { margin-top: 8px; }
.gmail-channel > div, .gmail-setup { min-width: 0; }
.gmail-account, .gmail-uri { overflow-wrap: anywhere; }
.gmail-span { grid-column: 1 / -1; }
.gmail-feedback:empty { display: none; }
.messaging-settings .gmail-feedback { color: var(--text); }
.gmail-setup summary { cursor: pointer; font-weight: 600; }
.gmail-setup ol { margin: 12px 0; padding-inline-start: 20px; }
.gmail-setup li + li { margin-top: 7px; }
.gmail-uri { display: block; padding: 7px; user-select: all; background: var(--well); }
.gmail-setup form { display: grid; gap: 10px; justify-items: start; }
.gmail-setup label { width: 100%; }

/* Reflow each record to fit the panel, including narrow analytics panels on a tablet. */
.record-list { container: records / inline-size; }
@container records (max-width: 800px) {
  .record-list table, .record-list tbody { display: block; white-space: normal; }
  .record-list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .record-list tbody > tr {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start;
    gap: 10px 14px; padding: 16px 0; border-top: 1px solid var(--line);
  }
  .record-list td { min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
  .record-list .record-name, .record-list .record-actions { grid-column: 1 / -1; }
  .record-name { font-size: 16px; }
  .record-name small { font-size: 12px; }
  .record-name .avatar { flex: none; }
  .record-list td[data-label]::before {
    content: attr(data-label); content: attr(data-label) / ""; display: block;
    color: var(--muted); font-size: 12px; margin-bottom: 2px;
  }
  #player-rows tbody > tr { grid-template-columns: minmax(0,1fr) minmax(0,1fr) max-content; }
  #player-rows .record-name { grid-column: 1 / 3; grid-row: 1; }
  #player-rows td[data-label="Publication"] { grid-column: 3; grid-row: 1; align-self: center; }
  #player-rows td[data-label="Publication"]::before { display: none; }
  #player-rows td[data-label="Club"] { grid-column: 2 / -1; }
  .record-list .record-actions .button, .record-actions .text-link, .record-name button {
    min-height: 44px; display: inline-flex; align-items: center; white-space: normal;
  }
  .row-actions { flex-wrap: wrap; gap: 6px 16px; }
}
@media (max-width: 700px) {
  .dialog {
    margin: auto auto 0; width: min(100%, 600px); max-width: 100%;
    max-height: calc(100dvh - env(safe-area-inset-top)); border-radius: 18px 18px 0 0;
    overscroll-behavior: contain; scroll-padding-bottom: 12px;
  }
  .dialog-head { padding: 10px 14px; }
  .dialog-head h2 { font-size: 23px; }
  .dialog-head .icon-button { flex: none; width: 44px; }
  .application-editor form { padding: 14px; }
  .dialog .editor-footer .button { min-height: 44px; font-size: 13px; }
  .editor-footer .editor-actions { grid-template-columns: auto minmax(0,1fr); }
  .editor-footer .editor-actions > :is(.primary,.secondary-save) { width: 100%; margin: 0; }
  .edit-nav button, .editor-segment button, .history summary, .editor-languages summary { min-height: 44px; align-content: center; }
  .app-facts dt { font-size: 12px; }
  .channel-form { min-width: 0; }
  .message-thread { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-height: 520px) and (max-width: 920px) {
  .dialog .editor-footer { position: static; }
  .agency-menu { max-height: 95dvh; }
}
@media (prefers-reduced-motion: no-preference) {
  .agency-menu[open] { animation: open-agency-menu .23s cubic-bezier(.2,.8,.2,1); }
  @keyframes open-agency-menu { from { transform: translateY(20px); opacity: .75; } }
}

/* Agency preferences and notification inbox */
#bell-count {
  position: absolute; inset: -4px -4px auto auto; min-width: 19px; padding: 1px 4px;
  border: 2px solid var(--bg); border-radius: 12px; background: var(--lime); color: var(--lime-ink);
  font: 700 10px/15px var(--sans); font-variant-numeric: tabular-nums;
}
.account > span:nth-child(2) { min-width: 0; }
#account-name { overflow-wrap: anywhere; }
.settings-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap); align-items: start; }
.settings-form { display: grid; gap: 16px; min-width: 0; }
.settings-form h2 { font-size: 19px; }
.settings-form > label { display: grid; gap: 5px; color: var(--text); font-weight: 600; }
.settings-form input:not([type=checkbox]), .settings-form select {
  display: block; width: 100%; min-width: 0; min-height: 46px; padding: 9px 12px;
  border: 1px solid #374035; border-radius: 10px; background: var(--well); font-size: 16px;
}
.settings-form .setting-hint { font-size: 13px; margin-top: -8px; }
.settings-form :is(.setting-hint,#session-info) { color: var(--muted); }
.settings-form > .button, .settings-form > .text-link { justify-self: start; min-height: 44px; white-space: normal; }
.settings-form .text-link { display: inline-flex; align-items: center; }
.settings-form input[type=checkbox] { width: 19px; height: 19px; flex-shrink: 0; accent-color: var(--lime); }
.alert-choices { min-width: 0; border: 0; padding: 0; margin: 4px 0 0; }
.alert-choices legend { padding: 0; margin-bottom: 6px; font-weight: 700; }
.alert-choices label, .settings-form .show-passwords {
  display: flex; align-items: center; min-height: 44px; gap: 10px; cursor: pointer;
}
.alert-choices label { justify-content: space-between; border-bottom: 1px solid var(--line); }
.settings-form .show-passwords { font-size: 13px; color: var(--muted); }
.settings-form .form-error { margin: 0; }
.settings-form button:disabled, .notices button:disabled { cursor: default; }
.notices { width: min(480px, calc(100% - 24px)); }
.notices .dialog-head h2 { font: 700 21px/1.3 var(--sans); text-transform: none; }
.notice-controls, .notice-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 10px 16px; }
.notice-controls { border-bottom: 1px solid var(--line); }
.notice-filters { display: flex; padding: 3px; gap: 2px; background: var(--well); border-radius: 25px; }
.notice-filters button { padding: 4px 12px; min-height: 42px; border: 0; border-radius: 24px; background: none; color: var(--muted); }
.notice-filters [aria-pressed=true] { background: var(--active); color: var(--text); }
.notices .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
#notice-list { padding: 0 16px; }
.notice-row { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.notice-open {
  display: flex; flex: 1; min-width: 0; align-items: center; gap: 12px; padding: 13px 2px;
  min-height: 64px; border: 0; background: none; color: inherit; text-align: start;
}
.notice-open :is(small,strong,.notice-date) { display: block; }
.notice-open strong { font-size: 15px; overflow-wrap: anywhere; }
.notice-open :is(small,.notice-date) { color: var(--muted); font-size: 12px; }
.notice-symbol { display: grid; flex: none; place-items: center; width: 36px; height: 40px; border-radius: 10px; background: var(--active); color: var(--muted); }
.notice-row[data-seen=false] .notice-symbol { color: var(--lime); background: #232e18; }
.notice-row[data-seen=false] small { color: var(--lime); }
.notice-read { flex: none; min-width: 44px; min-height: 44px; }
.notice-open:hover strong { text-decoration: underline; }
.notice-empty { color: var(--muted); padding: 30px 4px; }
#notice-error:not(:empty) { padding-inline: 16px; }
#notice-settings { margin-inline-start: auto; }
@media (max-width: 760px) {
  .settings-layout { grid-template-columns: minmax(0,1fr); }
  .notices { margin: auto auto 0; width: min(100%, 520px); border-radius: 18px 18px 0 0; }
  .notice-footer { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

.shortlist-panel { border-top:1px solid var(--line); padding:16px clamp(12px,3vw,20px); overflow-wrap:anywhere }
.shortlist-panel h3 { font-size:16px }
.shortlist-history { display:grid; gap:8px; margin-block:12px }
.shortlist-history article,.shortlist-builder { background:var(--well); border:1px solid var(--line); border-radius:14px; padding:12px }
.shortlist-history small,.shortlist-choices small { display:block; color:var(--muted); font-weight:400 }
.shortlist-builder summary { color:var(--lime); font-weight:650; cursor:pointer; padding-block:4px }
.shortlist-builder fieldset { border:0; min-width:0; margin:12px 0; padding:0 }
.shortlist-builder legend { padding:0; margin-bottom:6px }
.shortlist-builder legend small { color:var(--muted) }
.shortlist-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr)); max-height:240px; overflow:auto; gap:4px; margin-top:8px }
.shortlist-choices label { display:flex; align-items:center; gap:9px; border-radius:8px; padding:6px; min-height:44px; cursor:pointer }
.shortlist-choices input { width:17px; height:17px; flex:none; accent-color:var(--lime) }
.shortlist-choices label:has(:checked) { background:var(--active) }
.shortlist-footer,.shortlist-tools { display:flex; align-items:end; gap:10px; flex-wrap:wrap }
.shortlist-tools { align-items:center; margin-top:6px }
.shortlist-tools button,.shortlist-tools a { min-height:40px; display:inline-flex; align-items:center }
.shortlist-footer label { flex:1 1 120px }
.shortlist-feedback { border-inline-start:2px solid var(--lime); padding-inline-start:8px; margin-top:10px }

.daily-tasks { padding: clamp(16px, 2vw, 24px); }
.daily-tasks .panel-heading { align-items: center; margin-bottom: 8px; }
.task-count { color: var(--muted); font: 500 12px var(--mono); white-space: nowrap; }
.daily-tasks ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; padding: 0; margin: 0; list-style: none; }
.daily-tasks li { min-width: 0; border-block-start: 1px solid var(--line); }
.daily-tasks li button { display: flex; width: 100%; min-height: 56px; align-items: center; gap: 12px; text-align: start; background: none; border: 0; padding: 8px 2px; }
.daily-tasks li button:hover .task-copy strong { color: var(--lime); }
.task-symbol { display: grid; flex: 0 0 32px; height: 32px; place-items: center; background: var(--active); border-radius: 10px; color: var(--text); }
.task-tone-0 { color: var(--amber); }.task-tone-1 { color: var(--lime); }
.task-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.task-copy strong,.task-copy small { display: block; }
.task-copy small,.tasks-empty,.task-arrow { color: var(--muted); }
.tasks-empty { font-size: 13px; }.task-expand { min-height: 38px; margin-top: 6px; }
.shortlist-feedback button { min-height: 38px; }
@media(max-width:760px){.daily-tasks ul{grid-template-columns:minmax(0,1fr)}}
