/* Shared prompt toast and manual-copy dialog used by every depth Build action. */
@import url("./payday-build.css");
/* =====================================================================
   THE COMPONENT. Everything below is scoped to .tt and is what gets built
   into payday-trend-table.css. Rows are CSS grids at every width; the header
   row and body rows share one column template (--tt-cols), so they line up.
   Four width tiers come from the component's own width (container queries):
     A  1162px and wider   labels in their own column, 56px rows
     B  946 to 1161px      labels under the name, 64px rows
     C  826 to 945px       theme under the name too (tables with a theme column)
     D  825px and under    phone rows, no column titles
   ===================================================================== */
.tt{--tt-row:56px;--tt-rank:36px;position:relative;min-width:0;container-type:inline-size;container-name:tt;font-family:var(--pd-font-body);color:var(--pd-ink)}

/* Toolbar: row 1 = search (+ category on All trends) and the count; row 2 = label chips and the order. */
.tt-toolbar{display:flex;flex-direction:column;gap:16px;margin:0 0 20px}
.tt-row1,.tt-row2{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.tt-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0;flex:1 1 auto}
.tt-right{display:flex;align-items:center;gap:12px;flex:none}
.tt-search{position:relative;display:flex;align-items:center;flex:0 1 340px;min-width:240px;height:48px;border:1px solid var(--pd-line);border-radius:var(--pd-radius-card);background:var(--pd-surface-raised);transition:border-color var(--pd-duration) var(--pd-ease),background-color var(--pd-duration) var(--pd-ease)}
.tt-search input{flex:1 1 auto;min-width:0;height:100%;padding:0 0 0 16px;border:0;background:transparent;color:var(--pd-ink);font:400 16px/1.5 var(--pd-font-body);outline:none}
.tt-search input::placeholder{color:var(--pd-muted)}
.tt-search input::-webkit-search-cancel-button{display:none}
.tt-clear.tt-clear.tt-clear{flex:none;width:44px;height:44px;margin-right:1px;display:grid;place-items:center;border:0;border-radius:var(--pd-radius-pill);background:none;color:var(--pd-muted);cursor:pointer;--pd-focus-radius:999px}
.tt-clear.tt-clear.tt-clear[hidden]{display:none}
.tt-clear.tt-clear.tt-clear svg{width:16px;height:16px}
.tt-selectwrap{position:relative;display:inline-flex;flex:none}
.tt-select{height:48px;min-width:220px;padding:0 44px 0 16px;border:1px solid var(--pd-line);border-radius:var(--pd-radius-card);background:var(--pd-surface-raised);color:var(--pd-ink);font:400 16px/1.5 var(--pd-font-body);appearance:none;-webkit-appearance:none;cursor:pointer;transition:border-color var(--pd-duration) var(--pd-ease)}
.tt-selectwrap::after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;margin-top:-6px;border-right:1.6px solid var(--pd-ink);border-bottom:1.6px solid var(--pd-ink);transform:rotate(45deg);pointer-events:none}
.tt-status{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px;color:var(--pd-muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.tt-status b{font-weight:500;color:var(--pd-ink)}
.tt-link.tt-link.tt-link{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;margin:0 -8px;border:0;border-radius:var(--pd-radius-pill);background:none;color:var(--pd-ink);font:500 14px/1.4 var(--pd-font-body);cursor:pointer;--pd-focus-radius:999px}
.tt-link.tt-link.tt-link[hidden]{display:none}
.tt-status-phone{display:none}

/* Label chips: the live .trend-source-pills tab track (payday-trend-page.css). 44px tabs in a pill track. */
.tt-chipwrap{min-width:0;max-width:100%}
.tt-chips{display:flex;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;padding:5px;border:1px solid var(--pd-line);border-radius:var(--pd-radius-pill);background:var(--pd-surface);overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:5px;scrollbar-width:none}
.tt-chips::-webkit-scrollbar{display:none}
.tt-chips.can-r{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent)}
.tt-chips.can-l{-webkit-mask-image:linear-gradient(to right,transparent,#000 40px);mask-image:linear-gradient(to right,transparent,#000 40px)}
.tt-chips.can-l.can-r{-webkit-mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent)}
.tt-chip.tt-chip.tt-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:10px 16px;border:0;border-radius:var(--pd-radius-pill);background:transparent;color:var(--pd-muted);font:500 14px/1.4 var(--pd-font-body);white-space:nowrap;cursor:pointer;--pd-focus-radius:999px;transition:color var(--pd-duration) var(--pd-ease),background-color var(--pd-duration) var(--pd-ease)}
.tt-chip.tt-chip.tt-chip[hidden]{display:none}
.tt-chip.tt-chip.tt-chip .n{font-weight:400;font-variant-numeric:tabular-nums}
.tt-chip.tt-chip.tt-chip[aria-pressed=true]{background:var(--pd-ink);color:var(--pd-on-dark)}
.tt-chip.tt-chip.tt-chip[aria-pressed=true] .n{color:var(--pd-footer-muted)}

/* Order and horizon: the live .pd-segmented control (payday-design.css), width to content. */
.tt-seg.tt-seg.tt-seg{display:flex;gap:4px;padding:4px;border-radius:var(--pd-radius-pill);background:var(--pd-surface);width:max-content;flex:none}
.tt-seg.tt-seg.tt-seg button{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 16px;border:0;border-radius:var(--pd-radius-pill);background:transparent;color:var(--pd-ink);font:500 14px/1.4 var(--pd-font-body);white-space:nowrap;cursor:pointer;--pd-focus-radius:999px;transition:color var(--pd-duration) var(--pd-ease),background-color var(--pd-duration) var(--pd-ease)}
.tt-seg.tt-seg.tt-seg button[aria-pressed=true]{background:var(--pd-ink);color:var(--pd-on-dark)}
.tt-seg.tt-seg.tt-seg[aria-disabled=true] button{cursor:not-allowed;color:var(--pd-muted)}
.tt-seg.tt-seg.tt-seg[aria-disabled=true] button[aria-pressed=true]{background:var(--pd-line);color:var(--pd-ink)}

/* Signed out: one label, one button, shown once above the table (lock-shown-once). */
.tt-gate{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap;margin:0 0 18px;font-size:14px;color:var(--pd-muted)}
.tt-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:44px;padding:0 24px;border:1px solid var(--pd-ink);border-radius:var(--pd-radius-pill);background:var(--pd-ink);color:var(--pd-on-dark);font:600 14px/1 var(--pd-font-body);white-space:nowrap;cursor:pointer;transition:background-color var(--pd-duration) var(--pd-ease),border-color var(--pd-duration) var(--pd-ease)}
.tt-signin{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;margin:0 -8px;border-radius:var(--pd-radius-pill);font-weight:500;color:var(--pd-ink);--pd-focus-radius:999px}

/* Phone header line (tier D only). */
.tt-phead{display:none}

/* ---- The table. Grid rows at every width; explicit roles keep the table semantics. ---- */
.tt-table{display:block;width:100%;border-collapse:collapse;scroll-margin-top:calc(var(--pd-header-offset) + 12px);
  --tt-cols:minmax(0,1fr) var(--tt-label-width,180px) 100px 136px 134px 204px;
  --tt-areas-h:"name labels spark num growth act";
  --tt-areas:"name labels spark num growth act"}
.tt--theme .tt-table{--tt-cols:minmax(0,1fr) var(--tt-label-width,180px) 132px 100px 136px 134px 204px;--tt-areas-h:"name labels theme spark num growth act";--tt-areas:"name labels theme spark num growth act"}
.tt-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.tt-table colgroup{display:none}
.tt-table thead{display:contents}
.tt-table tbody{display:block}
.tt-table tr{display:grid;grid-template-columns:var(--tt-cols);align-items:center;column-gap:0}
.tt-table thead tr{grid-template-areas:var(--tt-areas-h);position:sticky;top:var(--pd-header-offset);z-index:2;min-height:44px;background:var(--pd-ground);box-shadow:inset 0 1px 0 var(--pd-line),inset 0 -1px 0 var(--pd-line);transition:top 160ms cubic-bezier(.22,1,.36,1)}
.tt-table thead th{display:flex;align-items:center;min-height:44px;padding:0 10px;font:500 12px/1.3 var(--pd-font-body);color:var(--pd-muted);text-align:left;white-space:nowrap;overflow:hidden}
.tt-table thead th:first-child{padding-left:0}
.tt-table thead th:last-child{padding-right:0}
.tt-table thead th.num{justify-content:flex-end;text-align:right}
.tt--rank .tt-table thead th.h-name{padding-left:var(--tt-rank)}
.tt-sorth.tt-sorth.tt-sorth{display:inline-flex;align-items:center;gap:2px;max-width:100%;min-height:44px;padding:0;margin:0;border:0;background:none;color:inherit;font:inherit;line-height:1.3;cursor:pointer;white-space:nowrap;transition:color var(--pd-duration) var(--pd-ease)}
.tt-sorth.tt-sorth.tt-sorth svg{width:12px;height:12px;flex:none;opacity:0;transition:opacity var(--pd-duration) var(--pd-ease)}
.tt-table thead th[aria-sort] .tt-sorth.tt-sorth.tt-sorth{color:var(--pd-ink);font-weight:600}
.tt-table thead th[aria-sort] .tt-sorth.tt-sorth.tt-sorth svg{opacity:1}
.tt-table thead th[aria-disabled=true] .tt-sorth.tt-sorth.tt-sorth{cursor:default;color:var(--pd-muted)}
.h-name,.tt-name{grid-area:name}.h-labels,.tt-labels{grid-area:labels}.h-theme,.tt-theme{grid-area:theme}.h-spark,.tt-spark{grid-area:spark}.h-num,.tt-num{grid-area:num}.h-growth,.tt-growth{grid-area:growth}.h-act,.tt-actions{grid-area:act}.h-proj,.tt-proj{grid-area:proj}

.tt-table tbody tr{grid-template-areas:var(--tt-areas);min-height:var(--tt-row);border-bottom:1px solid var(--pd-line);cursor:pointer;transition:background-color var(--pd-duration) var(--pd-ease)}
.tt-table :where(tbody :is(th,td)){display:block;min-width:0;padding:0 10px;font:400 14px/1.4 var(--pd-font-body);text-align:left}
.tt-table :where(tbody tr>:first-child){padding-left:0}
.tt-table :where(tbody tr>:last-child){padding-right:0}
@media (hover:hover) and (pointer:fine){
  .tt-table tbody tr:hover{background:var(--pd-focus-tint)}
  .tt-table tbody tr:hover .tt-name a{color:var(--pd-accent)}
  .tt-table tbody tr:hover .tt-theme a{color:var(--pd-ink)}
  .tt-theme a:hover{color:var(--pd-accent)!important}
  .tt-sorth.tt-sorth.tt-sorth:hover{color:var(--pd-accent)}
  .tt-chip.tt-chip.tt-chip:hover{background:var(--pd-line);color:var(--pd-ink)}
  .tt-chip.tt-chip.tt-chip[aria-pressed=true]:hover{background:var(--pd-button-hover);color:var(--pd-on-dark)}
  .tt-seg.tt-seg.tt-seg button[aria-pressed=false]:hover{color:var(--pd-accent)}
  .tt-seg.tt-seg.tt-seg[aria-disabled=true] button:hover{color:var(--pd-muted)}
  .tt-search:hover{border-color:var(--pd-line-strong)}
  .tt-select:hover{border-color:var(--pd-line-strong)}
  .tt-clear.tt-clear.tt-clear:hover,.tt-link.tt-link.tt-link:hover,.tt-signin:hover,.tt-pages.tt-pages.tt-pages button:not(:disabled):hover{color:var(--pd-accent)}
  .tt-cta:hover{background:var(--pd-button-hover);border-color:var(--pd-button-hover)}
  .tt-act.tt-act.tt-act:hover{color:var(--pd-accent)}
  .tt-act.tt-act.tt-act.is-saved:hover{background:#254FC8;color:#fff}
  .tt-menu.tt-menu.tt-menu :is(button,a[data-claude-add]):hover{color:var(--pd-accent);background:var(--pd-surface)}
  .tt-btn2.tt-btn2.tt-btn2:hover{border-color:var(--pd-ink)}
  .tt-table tbody tr.tt-divider:hover,.tt-table tbody tr.tt-empty:hover{background:transparent}
}
/* A row holding the keyboard-focused control gets the hover look (the live table rule). */
.tt-table tbody tr:has(:focus-visible),.tt-table tbody tr.is-hover,.tt-table tbody tr.is-focus-row{background:var(--pd-focus-tint)}
.tt-table tbody tr:is(:has(:focus-visible),.is-hover,.is-focus-row) .tt-name a{color:var(--pd-accent)}
.tt-table tbody tr:is(:has(:focus-visible),.is-hover,.is-focus-row) .tt-theme a{color:var(--pd-ink)}
.tt-table tbody tr:has(.tt-menu.tt-menu.tt-menu:not([hidden])){background:var(--pd-focus-tint)}

/* Name cell: optional rank (ranked lists, Growing order only), then the link. */
.tt-name{display:flex;align-items:center;min-width:0;font:400 17px/1.3 var(--pd-font-title);letter-spacing:0;font-variant-numeric:lining-nums}
.tt-name .tt-rank{display:none;flex:none;width:calc(var(--tt-rank) - 10px);margin-right:10px;text-align:right;font:400 13px/1 var(--pd-font-body);color:var(--pd-muted);font-variant-numeric:tabular-nums}
.tt--rank .tt-name .tt-rank{display:block}
/* Preserve 240px of name text after the rank at the narrow desktop tier edge. */
@container tt (min-width:826px){.tt--rank .tt-name{padding-right:0}}
.tt-name a{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--pd-ink);border-radius:4px;transition:color var(--pd-duration) var(--pd-ease)}
.tt-labels{min-width:0}
.tt-labels:empty{display:none}
.tt-pills{display:inline-flex;align-items:center;gap:3px;max-width:100%;overflow:hidden;vertical-align:middle}
/* Pills: the live .trend-term-chip (grey fill, no border) at row size. Not buttons. */
.tt-pill{display:inline-flex;align-items:center;height:22px;padding:0 7px;border-radius:var(--pd-radius-pill);background:var(--pd-surface);color:var(--pd-muted);font:500 12px/1 var(--pd-font-body);white-space:nowrap}
.tt-pillmore{color:var(--pd-muted);font-size:12px;padding-left:2px;white-space:nowrap}
.tt-theme a{display:block;font-size:13px;color:var(--pd-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;transition:color var(--pd-duration) var(--pd-ease)}
.tt-spark svg{display:block;width:80px;height:24px;overflow:visible}
.tt-spark .l{fill:none;stroke:var(--pd-chart);stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.tt-spark .l.est{stroke-dasharray:none;opacity:1}
.tt-spark .a{fill:var(--pd-chart-fill)}
.tt-spark .d{fill:var(--pd-chart)}
.tt-spark .d.est{fill:var(--pd-surface-raised);stroke:var(--pd-chart);stroke-width:1.5}
.tt-num,.tt-proj{text-align:right;font:500 15px/1.3 var(--pd-font-body);font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.tt-num .tt-unit{display:none;font-weight:400;color:var(--pd-muted);font-size:13px}
.tt-num .tt-month{display:block;font:400 12px/1.3 var(--pd-font-body);color:var(--pd-muted)}
.tt-est{color:var(--pd-muted);font-weight:400;margin-right:1px}
.tt-growth{text-align:right;font:600 15px/1.3 var(--pd-font-body);font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.tt-growth.up{color:var(--pd-success)}
.tt-growth.down{color:var(--pd-danger)}
.tt-growth.flat{color:var(--pd-ink)}
.tt-growth.none{color:var(--pd-muted);font-weight:400}

/* Row actions: Save (star) · Build (ChatGPT mark) · more (vertical dots). Text buttons, no circles.
   The last button has no right padding, so its ink ends on the table's right edge. */
.tt-actions{display:flex;justify-content:flex-end;align-items:center;gap:4px;white-space:nowrap}
.tt-act.tt-act.tt-act{min-height:0;position:relative;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 8px;border:0;border-radius:var(--pd-radius-pill);background:transparent;color:var(--pd-ink);font:500 14px/1 var(--pd-font-body);cursor:pointer;--pd-focus-radius:999px;transition:color var(--pd-duration) var(--pd-ease),background-color var(--pd-duration) var(--pd-ease),border-color var(--pd-duration) var(--pd-ease)}
.tt-act.tt-act.tt-act::after{content:"";position:absolute;inset:-4px}
.tt-act.tt-act.tt-act svg{width:18px;height:18px;flex:none}
.tt-actions .tt-act.tt-act.tt-act:last-child{padding-right:0}
.tt-actions .tt-act.tt-act.tt-act:last-child::after{right:0}
/* Save keeps one width: the wider label is reserved underneath, as the live button does. */
.tt-save .tt-lbl{display:grid}
.tt-save .tt-lbl>span{grid-area:1/1}
.tt-save .tt-lbl>.ghost{visibility:hidden}
.tt-act.tt-act.tt-act.is-saved{background:var(--pd-ink);color:#fff;padding:0 10px}
.tt-actions .tt-act.tt-act.tt-act.is-saved:last-child{padding-right:10px}
.tt-dots.tt-dots.tt-dots{min-width:0;width:32px;padding:0;justify-content:flex-end}
.tt-dots.tt-dots.tt-dots svg{width:6px;height:18px}
.tt-dots.tt-dots.tt-dots::after{inset:-4px 0 -4px -12px}
.tt-dots.tt-dots.tt-dots[aria-expanded=true]{color:var(--pd-accent)}
.tt-morewrap{position:relative;display:inline-flex}
.tt-menu.tt-menu.tt-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:236px;padding:8px;border:1px solid var(--pd-line);border-radius:var(--pd-radius-panel);background:var(--pd-surface-raised);box-shadow:var(--pd-shadow-menu);text-align:left}
.tt-menu.tt-menu.tt-menu.is-up{top:auto;bottom:calc(100% + 4px)}
.tt-menu.tt-menu.tt-menu[hidden]{display:none}
.tt-menu.tt-menu.tt-menu :is(button,a[data-claude-add]){display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 12px;border:0;border-radius:var(--pd-radius-sm);background:transparent;color:var(--pd-ink);font:500 14px/1.4 var(--pd-font-body);text-align:left;cursor:pointer;white-space:nowrap;--pd-focus-radius:5px}
.tt-menu.tt-menu.tt-menu :is(button,a[data-claude-add]) svg{width:18px;height:18px;flex:none}
.tt-menu.tt-menu.tt-menu .claude{fill:#D97757}

/* Locked figures (signed out): one blurred placeholder line where the figures would be, nothing else. */
.tt-lockcell{grid-column:spark-start / growth-end;text-align:right}
.tt-blur{display:inline-flex;align-items:center;justify-content:flex-end;gap:14px;filter:blur(3px);opacity:.6;user-select:none;pointer-events:none;vertical-align:middle}
.tt-blur i{display:block;height:9px;border-radius:5px;background:var(--pd-line-strong)}

/* Search hits: the live catalogue mark in plain-text cells; accent letters in the serif name. */
.tt-hit{background:var(--pd-accent-soft);color:inherit;border-radius:2px;padding:1px 0;font-weight:600}
.tt-name .tt-hit{font-weight:inherit;color:var(--pd-accent)}

/* Divider rows: where ranking stops, and where older figures start. */
.tt-table tbody tr.tt-divider{display:block;min-height:0;padding:10px 0;cursor:default}
.tt-table tbody tr.tt-divider td{display:block;padding:0;font:400 12px/1.3 var(--pd-font-body);color:var(--pd-muted)}
.tt--rank .tt-table tbody tr.tt-divider td{padding-left:var(--tt-rank)}

/* Empty result keeps the headings. */
.tt-table tbody tr.tt-empty{display:block;min-height:0;cursor:default}
.tt-table tbody tr.tt-empty td{display:block;padding:36px 0 40px}
.tt-empty p{margin:0 0 16px;font-size:16px;color:var(--pd-ink)}
.tt-empty p b{font-weight:500}
.tt-btn2.tt-btn2.tt-btn2{display:inline-flex;align-items:center;height:44px;padding:0 24px;border:1px solid var(--pd-line-strong);border-radius:var(--pd-radius-pill);background:transparent;color:var(--pd-ink);font:600 14px/1 var(--pd-font-body);cursor:pointer;--pd-focus-radius:999px;transition:border-color var(--pd-duration) var(--pd-ease),color var(--pd-duration) var(--pd-ease)}

.tt-caption{font-size:12px;line-height:1.5;color:var(--pd-muted);margin:12px 0 0}
.tt-pages.tt-pages.tt-pages{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;font-size:14px;color:var(--pd-muted);font-variant-numeric:tabular-nums}
.tt-pages.tt-pages.tt-pages[hidden]{display:none}
.tt-pages.tt-pages.tt-pages .tt-pbtns{display:flex;gap:16px}
.tt-pages.tt-pages.tt-pages button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 8px;border:0;border-radius:var(--pd-radius-pill);background:none;color:var(--pd-ink);font:500 14px/1.4 var(--pd-font-body);cursor:pointer;--pd-focus-radius:999px}
.tt-pages.tt-pages.tt-pages button:last-child{margin-right:-8px}
.tt-pages.tt-pages.tt-pages button:disabled{color:var(--pd-muted);cursor:default;opacity:.6}
.tt-pages.tt-pages.tt-pages button svg{width:14px;height:14px}

/* Forecast: four number-ish columns, so its labels sit under the name at every width (the tier B shape). */
.tt--forecast .tt-table{--tt-row:64px;--tt-cols:minmax(0,1fr) 132px 100px 132px 132px 130px 204px;--tt-areas-h:"name theme spark num proj growth act";--tt-areas:"name theme spark num proj growth act" "labels theme spark num proj growth act"}
.tt--forecast .tt-table thead th.h-labels{display:none}
.tt--forecast .tt-labels{align-self:start;margin-top:-2px;padding-left:var(--tt-rank)}
.tt--forecast .tt-name{align-self:end;margin-bottom:2px}
.tt--forecast .tt-proj .arrow{display:none}

/* Quieter action variant, for the owner's choice only (not the default). */
.tt--quiet .tt-act.tt-act.tt-act svg{width:16px;height:16px;color:var(--pd-muted);transition:color var(--pd-duration) var(--pd-ease)}
.tt--quiet .tt-act.tt-act.tt-act:is(:hover,:focus-visible) svg,.tt--quiet .tt-table tbody tr:is(:hover,.is-hover) .tt-act.tt-act.tt-act svg{color:currentColor}
.tt--quiet .tt-act.tt-act.tt-act.is-saved{background:transparent;box-shadow:inset 0 0 0 1px var(--pd-ink);color:var(--pd-ink)}
.tt--quiet .tt-act.tt-act.tt-act.is-saved svg{color:var(--pd-ink)}
.tt--quiet .tt-dots.tt-dots.tt-dots svg{width:6px}

/* ---- Tier B: 946 to 1161px. Labels move under the name; rows 64px; 64px chart. ---- */
@container tt (max-width:1161px){
  .tt-table{--tt-row:64px;--tt-cols:minmax(0,1fr) 84px 136px 134px 196px;--tt-areas-h:"name spark num growth act";--tt-areas:"name spark num growth act" "labels spark num growth act"}
  .tt--theme .tt-table{--tt-cols:minmax(0,1fr) 120px 84px 136px 134px 196px;--tt-areas-h:"name theme spark num growth act";--tt-areas:"name theme spark num growth act" "labels theme spark num growth act"}
  /* Forecast has one column more, so from here down its theme goes under the name as well (the tier C shape). */
  .tt--forecast .tt-table{--tt-cols:minmax(0,1fr) 84px 100px 100px 116px 196px;--tt-areas-h:"name spark num proj growth act";--tt-areas:"name spark num proj growth act" "labels spark num proj growth act" "theme spark num proj growth act"}
  .tt--forecast .tt-table thead th.h-theme{display:none}
  .tt--forecast .tt-theme{align-self:start;margin:0;padding-left:var(--tt-rank)}
  .tt--forecast .tt-theme a{font-size:12px;line-height:1.4}
  .tt--forecast .tt-labels{align-self:center;margin:0}
  .tt-table thead th{padding:0 8px}
  .tt-table thead th:first-child{padding-left:0}
  .tt-table thead th:last-child{padding-right:0}
  .tt-table thead th.h-labels{display:none}
  .tt-labels{align-self:start;margin-top:-2px}
  .tt--rank .tt-labels{padding-left:var(--tt-rank)}
  .tt-name{align-self:end;margin-bottom:2px}
  .tt-table tbody tr:not(:has(.tt-labels:not(:empty))) .tt-name{align-self:center;margin:0}
  .tt-spark svg{width:64px}
}
/* ---- Tier C: 826 to 945px. The theme goes under the name as well. ---- */
@container tt (max-width:945px){
  .tt--theme .tt-table{--tt-cols:minmax(0,1fr) 84px 136px 134px 196px;--tt-areas-h:"name spark num growth act";--tt-areas:"name spark num growth act" "labels spark num growth act" "theme spark num growth act"}
  .tt-table thead th.h-theme{display:none}
  .tt--theme .tt-theme{align-self:start;margin:0}
  .tt--rank .tt-theme{padding-left:var(--tt-rank)}
  .tt--theme .tt-theme a{font-size:12px;line-height:1.4}
  .tt--theme .tt-labels{align-self:center;margin:0}
}
@container tt (max-width:945px){
  /* Forecast drops its sparkline here so the name keeps its room; the trend page has the chart. */
  .tt--forecast .tt-table{--tt-cols:minmax(0,1fr) 100px 100px 108px 196px;--tt-areas-h:"name num proj growth act";--tt-areas:"name num proj growth act" "labels num proj growth act" "theme num proj growth act"}
  .tt--forecast .tt-table thead th.h-spark,.tt--forecast .tt-spark{display:none}
}
/* ---- Tier D: 825px and under. Phone rows, nothing scrolls sideways. ---- */
@container tt (max-width:825px){
  .tt{--tt-phone:1}
  .tt-toolbar{gap:12px;margin-bottom:14px}
  .tt-row1,.tt-row2{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:12px}
  .tt-left{flex-direction:column;align-items:stretch;gap:12px;flex-wrap:nowrap}
  .tt-search{flex:none;min-width:0;width:100%}
  .tt-selectwrap,.tt-select{width:100%;min-width:0}
  .tt-row1 .tt-status{display:none}
  .tt-chipwrap{width:100%}
  .tt-chips{width:100%;max-width:100%}
  .tt-chip.tt-chip.tt-chip{padding:10px 14px;font-size:13px}
  .tt-right{flex-wrap:wrap;justify-content:space-between;gap:10px 12px}
  .tt-status-phone{display:flex;margin-left:auto;min-height:0}
  .tt-gate{gap:10px 16px;font-size:13px}
  .tt-gate>span{flex:1 1 100%}
  .tt-phead{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:0 0 8px;border-bottom:1px solid var(--pd-line);font:500 12px/1.3 var(--pd-font-body);color:var(--pd-muted);white-space:nowrap}
  .tt-phead span:last-child{overflow:hidden;text-overflow:ellipsis}

  .tt-table thead{display:none}
  .tt-table tbody tr{--tt-row:0px;grid-template-columns:auto minmax(0,1fr) auto 72px;grid-template-areas:"name name name growth" "num spark act act" "labels labels theme theme";align-items:center;column-gap:10px;row-gap:0;padding:7px 0;min-height:0}
  .tt-table :where(tbody :is(th,td)){padding:0}
  .tt-name{font-size:16px;line-height:1.3;align-self:center;margin:0}
  .tt-name .tt-rank{width:auto;margin-right:8px}
  .tt-growth{font-size:15px}
  .tt-num{text-align:left;font-size:14px;margin-top:2px;align-self:center}
  .tt-num .tt-month{display:inline;margin-left:6px}
  .tt-spark{margin-top:2px}
  .tt-spark svg{width:56px;height:18px}
  .tt-actions{gap:2px;margin-top:2px;justify-self:end}
  .tt-act.tt-act.tt-act{height:32px;font-size:13px;gap:5px;padding:0 6px}
  .tt-act.tt-act.tt-act::after{inset:-6px}
  .tt-act.tt-act.tt-act svg{width:17px;height:17px}
  .tt-act.tt-act.tt-act.is-saved{padding:0 9px}
  .tt-actions .tt-act.tt-act.tt-act.is-saved:last-child{padding-right:9px}
  .tt-dots.tt-dots.tt-dots{width:30px}
  .tt-dots.tt-dots.tt-dots::after{inset:-6px 0 -6px -14px}
  /* Line 3: labels and theme as one muted text line, not pills. */
  .tt-labels{margin:3px 0 0;padding:0;overflow:hidden;align-self:center}
  .tt-pills{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .tt-pill{display:inline;height:auto;padding:0;background:none;font:400 12px/1.4 var(--pd-font-body);color:var(--pd-muted)}
  .tt-pill+.tt-pill::before,.tt-pill+.tt-pillmore::before{content:"·";margin:0 5px;color:var(--pd-muted)}
  .tt-theme{margin:3px 0 0;justify-self:end;max-width:100%;align-self:center}
  .tt-theme a{font-size:12px;line-height:1.4;pointer-events:none}
  .tt--theme .tt-labels{grid-area:labels;padding:0;margin-left:0}
  .tt--theme .tt-theme,.tt--forecast .tt-theme{grid-area:theme;display:block;padding:0;margin-top:3px}
  .tt--rank .tt-labels,.tt--rank .tt-theme{padding-left:0}
  .tt-table tbody tr:not(:has(.tt-labels:not(:empty))) .tt-name{align-self:center}
  .tt-table tbody tr.is-locked{grid-template-areas:"name name name blur" "labels labels act act" "theme theme theme theme"}
  .tt-table tbody tr.is-locked .tt-theme{justify-self:start}
  /* one blurred bar where the growth figure would be */
  .tt-blur i:nth-child(1){width:64px!important}.tt-blur i:nth-child(n+2){display:none}
  .tt-lockcell{grid-area:blur;grid-column:auto;text-align:right}
  .tt--forecast .tt-table tbody tr{grid-template-columns:auto auto minmax(0,1fr) auto 72px;grid-template-areas:"name name name name growth" "num proj proj act act" "labels labels labels theme theme"}
  .tt--forecast .tt-table tbody tr.is-locked{grid-template-areas:"name name name name blur" "labels labels labels act act" "theme theme theme theme theme"}
  .tt--forecast .tt-spark{display:none}
  .tt--forecast .tt-proj{text-align:left;font-size:14px;margin-top:2px}
  .tt--forecast .tt-proj .arrow{display:inline;color:var(--pd-muted);font-weight:400;margin-right:4px}
  .tt--forecast .tt-labels{padding-left:0}
  .tt-table tbody tr.tt-divider{padding:10px 0}
  .tt--rank .tt-table tbody tr.tt-divider td{padding-left:0}
  .tt-table tbody tr.tt-empty td{padding:32px 0}
  .tt-caption{font-size:12px}
  .tt-pages.tt-pages.tt-pages{font-size:13px}
}
/* Live page integration: the component owns its table and controls. */
:root{--pd-header-offset:0px}
body:has(header.site:not(.pd-header-hidden)){--pd-header-offset:104px}
@media(max-width:900px){body:has(header.site:not(.pd-header-hidden)){--pd-header-offset:82px}}
.tt [hidden]{display:none!important}
.tt a{text-decoration:none}
.tt .pd-save,.depth-pair .pd-save{display:inline-flex;position:relative;margin:0}
.tt .pd-save form,.depth-pair .pd-save form{display:inline-flex;margin:0;width:auto}
.tt .tt-save,.depth-pair .tt-save{width:auto;min-width:0;min-height:0}
.tt .pd-save-note,.depth-pair .pd-save-note{display:none}
.tt .pd-save-note[data-show],.depth-pair .pd-save-note[data-show]{display:block;position:absolute;right:0;top:100%;z-index:31;background:var(--pd-ground);padding:12px;white-space:normal;min-width:220px}
.tt .tt-save[data-saved="1"]{background:var(--pd-ink);color:var(--pd-on-dark)}
html[data-pd-input=keyboard] .tt :is(a,button,input,select):focus-visible{outline:none!important;box-shadow:none!important;border-radius:var(--pd-focus-radius,6px);color:var(--pd-accent)!important;background-color:var(--pd-focus-tint)!important}
.tt .search-field:focus-within{border-color:var(--pd-focus-border,#426BDD)!important;background:var(--pd-focus-tint)!important}
.tt .search-field input:is(:focus,:focus-visible){outline:none!important;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--pd-ink)!important}
@container tt (max-width:825px){
 .tt-table tbody tr{grid-template-columns:auto minmax(0,1fr) auto 70px}
 .tt--forecast .tt-table tbody tr{grid-template-columns:auto auto minmax(0,1fr) auto 70px}
 .tt-horizon{flex-basis:100%}
 .tt--rank .tt-name{position:relative;padding-left:0}
}

/* Undo the generic document-table cell rules on this grid table. */
.tt-table :where(tbody th,tbody td){border:0;vertical-align:middle}

.tt .tt-cta{color:var(--pd-on-dark)}
.tt .tt-theme a{color:var(--pd-muted)}

.tt-table thead th{border:0}
.tt-select.tt-select{background:var(--pd-surface-raised);border-radius:var(--pd-radius-card)}

/* Theme-page prose links have a stronger selector than standalone controls. */
.tt .tt-cta.tt-cta.tt-cta{color:var(--pd-on-dark)}
.tt .tt-theme.tt-theme.tt-theme a{color:var(--pd-muted)}
html[data-pd-input=keyboard] .tt .tt-cta:focus-visible{background:var(--pd-accent)!important;color:var(--pd-on-dark)!important;border-color:var(--pd-accent)!important}

/* Empty tracks and redundant filter rows have no reserved space. */
.tt--no-labels{--tt-label-width:0px}
.tt--no-labels :is(.tt-labels,.h-labels){display:none}
.tt--compact-toolbar .tt-row1 .tt-status{margin-left:auto}
.tt--compact-toolbar .tt-search{flex:none;width:340px;max-width:100%}
.tt--compact-toolbar .tt-row1 .tt-status-phone{display:none}
.tt .tt-table,.tt .tt-table tbody{height:auto;min-height:0}
@container tt (max-width:825px){
 .tt-table tbody tr[data-tt-row]{height:auto;min-height:70px}
 .tt-table tbody tr:not(.is-locked) .tt-theme{grid-area:theme;justify-self:end;font:400 12px/1.4 var(--pd-font-body);color:var(--pd-muted)}
 .tt-table tbody tr.is-locked .tt-theme{justify-self:start}
 .tt .tt-gate{margin-bottom:16px}
 .tt--compact-toolbar .tt-search{width:100%}
 .tt--compact-toolbar .tt-row1 .tt-status-phone{display:flex}
}

/* Round 2 blueprint. Only staging emits .tt--round2 / .depth-hero-actions. */
.tt--round2 .tt-toolbar{gap:14px}
.tt--round2 .tt-chips{flex-wrap:wrap;gap:8px;width:auto;max-width:none;padding:0;border:0;border-radius:0;background:none;overflow:visible;mask-image:none}
.tt--round2 .tt-chip.tt-chip.tt-chip{height:44px;min-height:44px;padding:0 16px;border:1px solid var(--pd-line);background:var(--pd-surface-raised);color:var(--pd-ink);font:500 14px/1 var(--pd-font-body);gap:7px}
.tt--round2 .tt-chip .n{color:var(--pd-muted)}
.tt--round2 .tt-chip.tt-chip.tt-chip[aria-pressed=true]{background:var(--pd-ink);border-color:var(--pd-ink);color:var(--pd-on-dark)}
.tt--round2 .tt-chip[aria-pressed=true] .n{color:var(--pd-footer-muted)}
.tt--round2 .tt-seg.tt-seg.tt-seg{display:inline-flex;padding:0;gap:0;border:0;border-radius:0;background:none}
.tt--round2 .tt-seg.tt-seg.tt-seg button{height:44px;min-height:44px;padding:0 18px;border:1px solid var(--pd-line);background:var(--pd-surface-raised);color:var(--pd-ink);font:500 14px/1 var(--pd-font-body);border-radius:0}
.tt--round2 .tt-seg.tt-seg.tt-seg button:first-child{border-radius:999px 0 0 999px}
.tt--round2 .tt-seg.tt-seg.tt-seg button:last-child{border-radius:0 999px 999px 0;margin-left:-1px}
.tt--round2 .tt-seg.tt-seg.tt-seg button[aria-pressed=true]{background:var(--pd-ink);border-color:var(--pd-ink);color:var(--pd-on-dark);z-index:1}
.tt--round2 .tt-seg.tt-seg.tt-seg[aria-disabled=true] button{color:var(--pd-muted);cursor:not-allowed}
.tt--round2 .tt-seg.tt-seg.tt-seg[aria-disabled=true] button[aria-pressed=true]{background:var(--pd-line);border-color:var(--pd-line);color:var(--pd-ink)}
.tt--round2 .tt-row2--noc,.tt--round2 .phone-only{display:none}
.tt--round2 .tt-gate{margin-bottom:16px}
.tt--round2.tt--themes .tt-table{--tt-cols:minmax(0,1fr) 200px 100px 136px 134px 204px;--tt-areas:"name labels spark num growth act" "trends labels spark num growth act"}
.tt--round2.tt--themes .tt-table tbody tr[data-tt-row]{min-height:64px}
.tt--round2 .tt-trends{grid-area:trends;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 12px/1.4 var(--pd-font-body);color:var(--pd-muted);padding:0 10px 0 0}
.tt--round2.tt--themes .tt-name{align-self:end}.tt--round2.tt--themes .tt-trends{align-self:start}
@media(hover:hover) and (pointer:fine){
 .tt--round2 .tt-chip.tt-chip.tt-chip:hover{background:var(--pd-surface);border-color:var(--pd-line-strong)}
 .tt--round2 .tt-chip.tt-chip.tt-chip[aria-pressed=true]:hover{background:var(--pd-button-hover)}
 .tt--round2 .tt-seg.tt-seg.tt-seg button:not(:disabled)[aria-pressed=false]:hover{background:var(--pd-surface);border-color:var(--pd-line-strong)}
}
@media(max-width:825px){
 .tt--round2 .tt-toolbar{gap:12px;margin-bottom:14px}
 .tt--round2 :is(.tt-row1,.tt-row2,.tt-left){flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:12px}
 .tt--round2 .tt-row1 :is(.tt-status,.tt-right){display:none}
 .tt--round2 .tt-row2--noc{display:flex}
 .tt--round2 .tt-search{flex:none;min-width:0;width:100%}
 .tt--round2 .tt-chipwrap{margin-inline:calc(-1 * var(--pd-gutter));width:calc(100% + 2 * var(--pd-gutter));max-width:none}
 .tt--round2 .tt-chips{flex-wrap:nowrap;width:100%;overflow-x:auto;padding:2px var(--pd-gutter);scroll-padding-inline:var(--pd-gutter);scrollbar-width:none;overscroll-behavior-x:contain}
 .tt--round2 .tt-chips.can-r{mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent)}
 .tt--round2 .tt-chips.can-l{mask-image:linear-gradient(to right,transparent,#000 44px)}
 .tt--round2 .tt-chips.can-l.can-r{mask-image:linear-gradient(to right,transparent,#000 44px,#000 calc(100% - 44px),transparent)}
 .tt--round2 .tt-chip.tt-chip.tt-chip{padding:0 14px}
 .tt--round2 .tt-right{width:100%;justify-content:space-between;gap:8px}
 .tt--round2 .tt-status-phone{display:flex;font-size:13px;gap:12px;min-height:44px}
 .tt--round2 .tt-phead-num{padding-right:44px}
 .tt--round2 .tt-table tbody tr[data-tt-row]{grid-template-columns:minmax(0,1fr) 56px var(--tt-number-width,76px) 32px;grid-template-areas:"name spark num act" "meta meta meta meta" "sub sub sub sub";column-gap:12px;row-gap:0;padding:6px 0;min-height:57px;align-items:center}
 .tt--round2.tt--theme .tt-table tbody tr[data-tt-row]{min-height:74px}
 .tt--round2.tt--themes .tt-table tbody tr[data-tt-row]{min-height:91px}
 .tt--round2 .tt-table tbody tr[data-tt-row]>:is(th,td){padding:0;margin:0;border:0}
 .tt--round2 .tt-table .tt-name{display:flex;align-self:center;font:400 16px/1.3 var(--pd-font-title)}
 .tt--round2 .tt-name .tt-rank{display:none}
 .tt--round2.tt--rank[data-sort=growing]:not([data-tt-locked=true]) .tt-name .tt-rank{display:block;width:var(--tt-rank-width,24px);margin:0;text-align:left}
 .tt--round2 .tt-table tbody tr .tt-spark{display:block;grid-area:spark;justify-self:start;margin:0}
 .tt--round2 .tt-spark svg{width:56px;height:18px}
 .tt--round2 .tt-table :is(.tt-num,.tt-growth){grid-area:num;text-align:right;justify-self:stretch;align-self:center;font:500 15px/1.3 var(--pd-font-body);margin:0}
 .tt--round2 .tt-table .tt-growth{font-weight:600}
 .tt--round2[data-sort=biggest] .tt-table .tt-growth,.tt--round2[data-sort=growing] .tt-table .tt-num{display:none}
 .tt--round2 .tt-table :is(.tt-labels,.tt-proj){display:none}
 .tt--round2 .tt-table tbody tr .tt-theme,.tt--round2.tt--themes .tt-table .tt-labels{display:block;grid-area:meta;justify-self:stretch;align-self:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 12px/1.4 var(--pd-font-body);color:var(--pd-muted)}
 .tt--round2 .tt-table tbody tr .tt-theme a{font:inherit;color:inherit;pointer-events:none}
 .tt--round2 .tt-table .tt-trends{grid-area:sub;align-self:center;font:400 12px/1.4 var(--pd-font-body)}
 .tt--round2.tt--rank[data-sort=growing]:not([data-tt-locked=true]) .tt-table tbody tr :is(.tt-theme,.tt-trends,.tt-labels){padding-left:var(--tt-rank-width,24px)}
 .tt--round2 .tt-actions{grid-area:act;display:flex;gap:0;justify-self:end}
 .tt--round2 .tt-actions>.pd-save,.tt--round2 .tt-actions>.tt-build{display:none}
 .tt--round2 .phone-only{display:inline-flex}
 .tt--round2 .tt-dots.tt-dots.tt-dots{height:44px;width:32px;min-height:44px;min-width:0;padding:0;justify-content:flex-end;background:none;border:0;border-radius:0}
 .tt--round2 .tt-dots.tt-dots.tt-dots svg{width:6px;height:20px}
 .tt--round2 .tt-dots.tt-dots.tt-dots::after{inset:0 0 0 -12px}
 .tt--round2 .tt-table tbody tr.is-locked{min-height:57px;grid-template-areas:"name spark num act" "meta meta meta meta" "sub sub sub sub"}
 .tt--round2 .tt-lockcell{grid-area:num;grid-column:auto;justify-self:end}
}
.tt-sheet-wrap{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-end}
.tt-sheet-backdrop{position:absolute;inset:0;background:rgba(24,25,30,.24);border:0;padding:0;margin:0;cursor:default}
.tt-sheet{position:relative;width:100%;max-height:88%;overflow-y:auto;overscroll-behavior:contain;background:var(--pd-surface-raised);border-radius:20px 20px 0 0;padding:22px 20px calc(16px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 32px rgb(24 25 30 / .12);color:var(--pd-ink)}
.tt-sheet h3{margin:0;font:400 22px/1.2 var(--pd-font-title);letter-spacing:-.02em;overflow-wrap:anywhere}
.tt-sheet .sub{margin:4px 0 0;font:400 13px/1.4 var(--pd-font-body);color:var(--pd-muted)}
.tt-sheet .figs{margin:16px 0 0;padding:4px 0;border-top:1px solid var(--pd-line);border-bottom:1px solid var(--pd-line)}
.tt-sheet .figs div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;min-height:40px;font:400 15px/1.4 var(--pd-font-body);color:var(--pd-muted)}
.tt-sheet .figs b{font:500 16px/1.4 var(--pd-font-body);color:var(--pd-ink);font-variant-numeric:tabular-nums}
.tt-sheet .figs b.up{color:var(--pd-success);font-weight:600}.tt-sheet .figs b.down{color:var(--pd-danger);font-weight:600}.tt-sheet .figs b.none{color:var(--pd-muted);font-weight:400}
.tt-sheet .acts{display:flex;flex-direction:column;margin:8px 0 0}
.tt-sheet .acts :is(button:not(.pd-save-prompt-close),a[data-claude-add]){display:flex;align-items:center;gap:14px;width:100%;min-height:56px;padding:0 4px;border:0;border-radius:8px;background:transparent;color:var(--pd-ink);font:500 16px/1.3 var(--pd-font-body);text-align:left;cursor:pointer}
.tt-sheet .acts :is(button,a[data-claude-add]) svg{width:22px;height:22px;flex:none}
.tt-sheet .acts :is(button,a[data-claude-add]) svg .claude{fill:#D97757}
.tt-sheet .acts button[aria-pressed=true]{color:var(--pd-accent)}
.tt-sheet .acts .pd-save,.tt-sheet .acts form{display:block;width:100%;margin:0}
.tt-sheet .acts .ghost{display:none}.tt-sheet .acts .tt-lbl{display:contents}
.tt-sheet .acts button::after{content:none}
.tt-sheet .pd-save-note{display:none}.tt-sheet .pd-save-note[data-show]{display:block}
.tt-sheet .acts button[aria-pressed=true]{background:transparent;color:var(--pd-accent)}
.tt-sheet .acts .tt-menu{position:static;display:contents}
.tt-sheet-wrap [hidden]{display:none!important}
.tt-sheet .acts :is(button,a[data-claude-add]):focus-visible{background:var(--pd-focus-tint);outline:none}
@media(hover:hover) and (pointer:fine){.tt-sheet .acts :is(button,a[data-claude-add]):hover{background:var(--pd-surface);color:var(--pd-accent)}}
/* One hero action row for themes and leaves; no production action styles apply. */
.depth-hero-actions{margin:24px 0 28px}
.depth-hero-actions .tt-actions{display:flex;align-items:center;justify-content:flex-start;gap:10px}
.depth-hero-actions .pd-save,.depth-hero-actions form{display:inline-flex;margin:0;width:auto}
.depth-hero-actions .tt-act.tt-act.tt-act:not(.tt-dots){height:48px;min-height:48px;padding:0 20px;gap:10px;border:1px solid var(--pd-ink);border-radius:999px;background:var(--pd-surface-raised);color:var(--pd-ink);font:600 14px/1 var(--pd-font-body)}
.depth-hero-actions .tt-save.tt-save.tt-save{width:112px;min-width:112px}
.depth-hero-actions .tt-build.tt-build.tt-build{width:auto;min-width:0;white-space:nowrap}
.depth-hero-actions .tt-act.tt-act.tt-act svg{width:20px;height:20px}
.depth-hero-actions .tt-save[aria-pressed=true]{background:var(--pd-ink)!important;color:#fff!important}
.depth-hero-actions .tt-dots.tt-dots.tt-dots{width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:0;background:none;justify-content:center}
.depth-hero-actions .tt-dots.tt-dots.tt-dots svg{width:6px;height:20px}
.depth-hero-actions .tt-act::after{content:none}
.depth-hero-actions .pd-save{position:relative}.depth-hero-actions .pd-save-note{display:none}.depth-hero-actions .pd-save-note[data-show]{display:block;position:absolute;left:0;top:100%;margin-top:8px;z-index:31;background:var(--pd-ground);padding:12px;white-space:normal;min-width:220px;max-width:min(320px,calc(100vw - 40px))}.depth-hero-actions .tt-save .pd-star-slot{display:inline-block;flex:none;width:24px;height:24px}
@media(max-width:825px){.depth-hero-actions{margin:20px 0 24px}}
@media(max-width:825px){.tt--round2 .tt-num .tt-month{display:none}}
/* List pages use the shared site container (SS-190: same width and gutters as Ideas and Your account). */

.tt--round2.tt--themes .tt-labels a{color:var(--pd-muted);font:inherit;text-decoration:none}
@media(hover:hover) and (pointer:fine){.tt--round2.tt--themes .tt-labels a:hover{color:var(--pd-accent)}}

/* The sheet leaves the table; override the table action's compact specificity. */
.tt-sheet .acts .tt-act.tt-act{display:flex;width:100%;height:56px;min-height:56px;padding:0 4px;gap:14px;border-radius:8px;font:500 16px/1.3 var(--pd-font-body);background:transparent}
.tt-sheet .acts .tt-act.tt-act svg{width:22px;height:22px}
.tt-sheet .acts .tt-act.tt-act[aria-pressed=true]{background:transparent;color:var(--pd-accent)}
.tt--round2 button,.tt-sheet button,.depth-hero-actions button,[data-depth-nav] button{-webkit-tap-highlight-color:transparent}
.tt--round2 .tt-sort button:disabled{opacity:1}
.catalogue-page:has(.tt--round2) .catalogue-header{margin:0 0 20px}
.catalogue-page:has(.tt--round2) .catalogue-header .title-row{padding:0;margin:0}
.catalogue-page:has(.tt--round2) .catalogue-header h1{font:400 clamp(32px,2.8vw,40px)/1.1 var(--pd-font-title);letter-spacing:-.025em;margin:0}

.tt--round2 .tt-member-figure{font:400 12px var(--pd-font-body);color:var(--pd-muted)}

.tt--round2,.tt--round2 *,.tt-sheet-wrap *{-webkit-tap-highlight-color:transparent}
.tt--round2 .tt-table tbody tr.tt-empty{border:0}
.tt--round2 .tt-table tbody tr.tt-empty td{padding:16px 0}
.prototype-family .section:has(>.tt--round2)>.section-head{margin-bottom:20px}
.prototype-family .section:has(>.tt--round2)>.section-head h2{margin:0}
.tt-actions-menu-only>.pd-save,.tt-actions-menu-only>.tt-build{display:none}
.tt-actions-menu-only .phone-only{display:flex}
@media(max-width:600px){
 .tt--round2 .tt-name a{white-space:normal;text-overflow:clip;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;line-height:1.3;max-height:2.6em}
 .tt--forecast .tt-name a{white-space:normal}
 .tt--round2 .tt-name{min-width:0}
 .tt--round2 .tt-rank{flex-shrink:0}
 .tt--forecast{--tt-rank-width:26px!important;--tt-number-width:64px!important}
}

.depth-hero-actions .tt-act.tt-act.tt-act .pd-build-logo-chatgpt{width:82px;height:19.457627px}
.depth-hero-actions .tt-act.tt-act.tt-act .pd-build-logo-claude{width:54.2px;height:11.639464px}
/* Owner 31 Oct: marks and short labels share one phone row. */
.depth-hero-actions .tt-hero-full{display:inline-flex;align-items:center;gap:10px}
.depth-hero-actions .tt-hero-compact{display:none}
@media(max-width:600px){
 .depth-hero-actions .tt-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:6px}
 .depth-hero-actions .tt-actions:has(>.tt-build){grid-template-columns:repeat(3,minmax(0,1fr)) 44px}
 .depth-hero-actions .pd-save,.depth-hero-actions form,.depth-hero-actions .tt-save.tt-save.tt-save{width:100%;min-width:0}
 .depth-hero-actions .tt-build.tt-build.tt-build{width:100%}
 .depth-hero-actions .tt-actions:has(>.tt-build) .tt-act.tt-act.tt-act:not(.tt-dots){height:44px;min-height:44px;padding:0 6px;gap:6px;justify-content:center}
 .depth-hero-actions .tt-act.tt-act.tt-act::after{content:none}
 .depth-hero-actions .tt-hero-full{display:none}
 .depth-hero-actions .tt-hero-compact{display:inline-flex;align-items:center;gap:6px}
}

/* The live hero's outlined pill, sized for rows. Reserve all three action
   tracks even when a brand has only Save. The 36px face has a 44px hit area. */
@container tt (min-width:826px){
 .tt-table .tt-actions{display:grid;grid-template-columns:80px 72px 32px;gap:5px;justify-content:end}
 .tt-table .tt-actions>.pd-save{grid-column:1}
 .tt-table .tt-actions>.tt-build{grid-column:2}
 .tt-table .tt-actions>.tt-morewrap{grid-column:3}
 .tt-table .tt-actions .tt-act.tt-act:not(.tt-dots){justify-content:center;width:100%;height:36px;min-height:36px;padding:0 8px;border:1px solid var(--pd-ink);border-radius:999px;background:#fff;color:var(--pd-ink)}
 .tt-table .tt-actions .pd-save,.tt-table .tt-actions form{width:100%}
 .tt-table .tt-actions .tt-act.tt-act.is-saved{background:var(--pd-ink);color:#fff}
 .tt-table .tt-actions .tt-act.tt-act::after{inset:-4px 0}
 .tt-table .tt-actions .tt-dots.tt-dots{justify-content:center;border-radius:999px}
 .tt-table .tt-actions .tt-dots.tt-dots::after{inset:-4px -6px}
}
/* Match payday-build.css: one colour-only hover/press treatment. */
@media(hover:hover) and (pointer:fine){
 html body:not(.pd-oauth) :is(.tt,.depth-hero-actions,.tt-sheet) :is(button:not(:disabled):not([aria-pressed=true].tt-save),select,a.tt-cta,a.tt-chip,a.tt-btn2):hover{background:#e6ecfa!important;color:#254fc8!important;border-color:#426bdd!important}
  /* A saved Save keeps the live saved-and-hovered look: solid blue, white text (site-design-signed-off star moments). */
 html body:not(.pd-oauth) :is(.tt,.depth-hero-actions,.tt-sheet) .tt-save[aria-pressed=true]:hover{background:#254fc8!important;color:#fff!important;border-color:#254fc8!important}
}
@layer payday-focus{
 html body:not(.pd-oauth) :is(.tt,.depth-hero-actions,.tt-sheet) :is(button:not(:disabled):not([aria-pressed=true].tt-save),select,a.tt-cta,a.tt-chip,a.tt-btn2):active{background:#e6ecfa!important;color:#254fc8!important;border-color:#426bdd!important;outline:none!important;box-shadow:none!important}
 html:not([data-pd-input=pointer]) body:not(.pd-oauth) :is(.tt,.depth-hero-actions,.tt-sheet) :is(button,a,input,select):focus-visible{outline:2px solid #254fc8!important;outline-offset:2px!important}
}

/* Fix 5g: readable labels and monthly figures on every visitor trend row. */
.tt[data-public-monthly][data-tt-locked] :is(.tt-spark,.tt-proj,.tt-growth,.h-spark,.h-proj,.h-growth){display:none!important}
@media(min-width:1200px){
 .tt--round2.tt--theme:not(.tt--forecast) .tt-table{--tt-areas-h:"name labels theme spark num growth act";--tt-areas:"name labels theme spark num growth act";--tt-cols:minmax(200px,2.3fr) minmax(140px,.9fr) minmax(150px,1.5fr) 80px 124px 116px 204px}
 .tt--round2 .tt-pills{flex-wrap:wrap;overflow:visible}
 .tt--round2 .tt-name a,.tt--round2 .tt-theme a{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
 .tt--round2 .tt-table tbody tr[data-tt-row]{height:auto;min-height:64px;padding-block:10px}
 .tt--round2[data-public-monthly][data-tt-locked] .tt-table{--tt-cols:minmax(200px,2fr) minmax(100px,1fr) 124px 204px;--tt-areas:"name labels num act";--tt-areas-h:"name labels num act"}
 .tt--round2.tt--theme[data-public-monthly][data-tt-locked] .tt-table{--tt-cols:minmax(200px,2fr) minmax(140px,.9fr) minmax(150px,1.5fr) 124px 204px;--tt-areas:"name labels theme num act";--tt-areas-h:"name labels theme num act"}
}
@media(max-width:825px){
 .tt--round2 .tt-chipwrap,.lp-toolbar .tt-chipwrap{margin-inline:0;width:100%;max-width:100%}
 .tt--round2 .tt-chips,.tt--round2 .tt-chips.can-l,.tt--round2 .tt-chips.can-r,.tt--round2 .tt-chips.can-l.can-r,.lp-toolbar .tt-chips{flex-wrap:wrap;width:100%;padding:2px 0;overflow:visible;mask-image:none;-webkit-mask-image:none}
 .tt--round2[data-public-monthly][data-tt-locked] .tt-table td.tt-num{display:block!important;grid-area:num}
 .tt--round2[data-public-monthly][data-tt-locked] .tt-table tbody tr[data-tt-row]{grid-template-columns:minmax(0,1fr) auto 32px;grid-template-areas:"name num act" "meta meta meta" "sub sub sub"}
 .tt--round2.tt--themes .tt-table tbody tr[data-tt-row]{min-height:0;padding-block:16px;row-gap:8px}
 .tt--round2.tt--themes .tt-table :is(.tt-labels,.tt-trends){white-space:normal;overflow:visible;text-overflow:clip;line-height:1.5;overflow-wrap:anywhere}
 .tt--round2.tt--themes .tt-table .tt-labels:empty{display:none}
 .tt--round2.tt--themes .tt-name a{display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible}
}

/* Fix 5i: one scrolling row; DOM order is maintained by phone-pills.mjs. */
@media(max-width:600px){
 html body .tt .tt-chipwrap{min-width:0;max-width:100%;width:100%;margin:0}
 html body .tt .tt-chips{display:flex;flex-wrap:nowrap!important;width:100%;max-width:100%;box-sizing:border-box;overflow-x:auto!important;overflow-y:hidden!important;gap:8px;padding:2px 0;scrollbar-width:none;overscroll-behavior-x:contain;mask-image:none!important;-webkit-mask-image:none!important}
 html body .tt .tt-chips::-webkit-scrollbar{display:none}
 html body .tt .tt-chip{flex:0 0 auto;min-height:44px}
 html:root body:not(.pd-oauth) .tt .tt-chip.tt-chip.tt-chip[aria-pressed=true],html:root body:not(.pd-oauth) .tt .tt-chip.tt-chip.tt-chip[aria-current=page]{--pd-focus-tint:#191721;--pd-hover-text:#fff;--pd-focus-radius:999px;background:#191721!important;border-color:#191721!important;color:#fff!important}
}
@media(max-width:600px){html:root body:not(.pd-oauth) .tt .tt-chip.tt-chip.tt-chip[aria-pressed=true]:focus-visible{border-color:#426bdd!important}}
