/* tsb-chart.css */
/* TSBChart: TSB's chart grammar (docs/product/design/dashboard-final-2026-11-09/CHARTS.md). Tokens only; the accent
   comes from --app-accent through --ui-accent. Light and dark follow the --ui-* roles. */
body,.tsb-content-controls,.tc-tip{
  --tc-ink:var(--ui-ink);
  --tc-ink-2:var(--ui-ink-2);
  --tc-ink-3:var(--ui-ink-3);
  --tc-gain:var(--ui-bar-gain);
  --tc-loss:var(--ui-bar-loss);
  --tc-gain-text:var(--ui-gain);
  --tc-loss-text:var(--ui-loss);
  --tc-grid:color-mix(in srgb,var(--ui-line) 100%,transparent);
  --tc-zero:color-mix(in srgb,var(--ui-ink) 42%,transparent);
  --tc-select:color-mix(in srgb,var(--ui-ink) 3.5%,transparent);
  --tc-band:color-mix(in srgb,var(--ui-ink) 2.2%,transparent);
  --tc-under:color-mix(in srgb,var(--ui-bar-loss) 13%,transparent);
  --tc-prev:color-mix(in srgb,var(--ui-ink) 20%,transparent);
  --tc-quiet:color-mix(in srgb,var(--ui-ink) 16%,transparent);
  --tc-empty:color-mix(in srgb,var(--ui-line) 70%,transparent);
  --tc-page:var(--ui-page);
}
.tc-svg{display:block;max-width:100%;height:auto;overflow:visible;font-family:var(--ui-font);-webkit-user-select:none;user-select:none}
.tc-svg text{font-size:11px;font-variant-numeric:tabular-nums;fill:var(--tc-ink-3)}
.tc-grid{stroke:var(--tc-grid);stroke-width:1;shape-rendering:crispEdges}
.tc-zero{stroke:var(--tc-zero);stroke-width:1;stroke-dasharray:1 3;shape-rendering:crispEdges}
.tc-axis{fill:var(--tc-ink-3)}
.tc-cat{fill:var(--tc-ink-3)}
.tc-cat.is-on{fill:var(--ui-accent-text);font-weight:600}
.tc-cat.is-quiet{opacity:.55}
.tc-cat-sub{fill:var(--tc-ink-3);opacity:.8}
.tc-cat-sum{font-weight:600}
.tc-svg .is-gain:is(text){fill:var(--tc-gain-text)}
.tc-svg .is-loss:is(text){fill:var(--tc-loss-text)}
.tc-value{fill:var(--tc-ink-2) !important;font-weight:600}
.tc-value.is-on{fill:var(--tc-ink) !important}
.tc-note{fill:var(--tc-ink) !important;font-weight:600;paint-order:stroke;stroke:var(--tc-page);stroke-width:4px;stroke-linejoin:round}
.tc-note.is-gain{fill:var(--tc-gain-text) !important}
.tc-note.is-loss{fill:var(--tc-loss-text) !important}
.tc-leader{stroke:var(--tc-ink-3);stroke-width:1}
.tc-hit{fill:transparent;cursor:crosshair}
.tc-cross{stroke:var(--tc-ink);stroke-width:1;opacity:.35;pointer-events:none}
.tc-dot{fill:var(--tc-page);stroke:var(--tc-ink);stroke-width:2;pointer-events:none}
.tc-select{fill:var(--tc-select)}
.tc-band{fill:var(--tc-band)}

/* The path */
.tc-step{fill:none;stroke:var(--tc-ink);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.tc-riser{stroke-width:2.5;stroke-linecap:round}
.tc-riser.is-gain{stroke:var(--tc-gain)}
.tc-riser.is-loss{stroke:var(--tc-loss)}
.tc-riser.is-flat{stroke:var(--tc-ink-3)}
.tc-riser.is-hot{stroke-width:4}
.tc-flag{fill:var(--tc-page);stroke:var(--tc-ink);stroke-width:1.2;pointer-events:none}
.tc-body{stroke:none}
.tc-body.is-gain{fill:color-mix(in srgb,var(--ui-bar-gain) 11%,transparent)}
.tc-body.is-loss{fill:color-mix(in srgb,var(--ui-bar-loss) 11%,transparent)}
.tc-end-halo{stroke:none}
.tc-end-halo.is-gain{fill:color-mix(in srgb,var(--ui-bar-gain) 20%,transparent)}
.tc-end-halo.is-loss{fill:color-mix(in srgb,var(--ui-bar-loss) 20%,transparent)}
.tc-under{fill:var(--tc-under);stroke:none}
.tc-under.is-quiet{fill:color-mix(in srgb,var(--ui-bar-loss) 7%,transparent)}
.tc-prev{fill:none;stroke:var(--tc-prev);stroke-width:1.25;stroke-dasharray:3 3;stroke-linejoin:round}
.tc-prev-label{fill:var(--tc-ink-3) !important}
.tc-end{font-size:14px !important;font-weight:600;paint-order:stroke;stroke:var(--tc-page);stroke-width:5px;stroke-linejoin:round;fill:var(--tc-ink)}
.tc-end.is-gain{fill:var(--tc-gain-text)}
.tc-end.is-loss{fill:var(--tc-loss-text)}
.tc-end-dot{fill:var(--tc-ink);stroke:var(--tc-page);stroke-width:2}
.tc-end-dot.is-gain{fill:var(--tc-gain)}
.tc-end-dot.is-loss{fill:var(--tc-loss)}
.tc-line{fill:none;stroke:var(--tc-ink);stroke-width:2;stroke-linejoin:round}

/* Bars, cells, squares */
.tc-bar{transition:opacity var(--ui-motion-fast) var(--ui-ease-out)}
.tc-bar.is-gain{fill:var(--tc-gain)}
.tc-bar.is-loss{fill:var(--tc-loss)}
.tc-bar.is-flat,.tc-bar.is-ink{fill:var(--tc-ink-3)}
.tc-bar.is-quiet{fill:var(--tc-quiet)}
.tc-halo{paint-order:stroke;stroke:var(--tc-page);stroke-width:4px;stroke-linejoin:round}
.tc-bar.is-peek{opacity:1;stroke:var(--tc-ink);stroke-width:1}
.tc-usual{stroke:var(--tc-ink);opacity:.45;stroke-width:1.5;stroke-dasharray:4 3}
.tc-usual-label{fill:var(--tc-ink-3) !important}
.tc-span{stroke-width:2;stroke-dasharray:4 3}
.tc-span.is-gain{stroke:var(--tc-gain)}
.tc-span.is-loss{stroke:var(--tc-loss)}
.tc-slope{stroke:var(--tc-ink);stroke-width:2;stroke-linecap:round}
.tc-level-band{stroke:none}
.tc-level-band.is-gain{fill:color-mix(in srgb,var(--ui-bar-gain) 9%,transparent)}
.tc-level-band.is-loss{fill:color-mix(in srgb,var(--ui-bar-loss) 9%,transparent)}
.tc-level-band.is-now.is-gain{fill:color-mix(in srgb,var(--ui-bar-gain) 16%,transparent)}
.tc-level-band.is-now.is-loss{fill:color-mix(in srgb,var(--ui-bar-loss) 16%,transparent)}
.tc-level{stroke-width:2.5;stroke-linecap:round}
.tc-level.is-gain{stroke:var(--tc-gain)}
.tc-level.is-loss{stroke:var(--tc-loss)}
.tc-level:not(.is-now){opacity:.55}
.tc-level-label{fill:var(--tc-ink-2) !important;font-weight:500}
.tc-level-label.is-now{fill:var(--tc-ink) !important;font-weight:600}
.tc-jump{stroke-width:2;stroke-dasharray:3 3}
.tc-jump.is-gain{stroke:var(--tc-gain)}
.tc-jump.is-loss{stroke:var(--tc-loss)}
.tc-jump.is-steady{stroke:var(--tc-ink-3)}
.tc-jump-run{fill:none;stroke:var(--tc-ink-3);stroke-width:1;stroke-dasharray:2 3}
.tc-month-dot{fill:var(--tc-ink-2);stroke:var(--tc-page);stroke-width:1.5}
.tc-gap-line{stroke:var(--tc-ink-3);stroke-width:1;stroke-dasharray:2 3;opacity:.7}
.tc-cell.is-gain{fill:var(--tc-gain)}
.tc-cell.is-loss{fill:var(--tc-loss)}
.tc-cell.s1{fill-opacity:.22}.tc-cell.s2{fill-opacity:.38}.tc-cell.s3{fill-opacity:.56}.tc-cell.s4{fill-opacity:.76}.tc-cell.s5{fill-opacity:1}
.tc-cell.is-best{stroke:var(--tc-ink);stroke-width:1.5}
.tc-cell.is-out,.tc-empty.is-out{opacity:.28}
.tc-empty{fill:var(--tc-empty)}
.tc-sq.is-gain{fill:var(--tc-gain)}
.tc-sq.is-loss{fill:var(--tc-loss)}
.tc-sq.is-flat,.tc-sq.is-ink{fill:var(--tc-ink-3)}
.tc-sq.is-empty{fill:none;stroke:var(--ui-line-strong);stroke-width:1}
.tc-sq.is-taken{stroke:var(--tc-ink);stroke-width:2}
.tc-run{stroke-width:2;stroke-linecap:round}
.tc-run.is-gain{stroke:var(--tc-gain)}
.tc-run.is-loss{stroke:var(--tc-loss)}
.tc-spark{fill:none;stroke-width:1.5;stroke-linejoin:round}
.tc-spark.is-gain{stroke:var(--tc-gain)}
.tc-spark.is-loss{stroke:var(--tc-loss)}

/* Hover: the hot mark at full strength, its siblings quiet */
.tc-mark{cursor:pointer;outline:none;transition:opacity var(--ui-motion-fast) var(--ui-ease-out)}
.tc-hovering .tc-mark:not(.is-hot){opacity:.35}
.tc-mark:focus-visible{stroke:var(--ui-accent);stroke-width:2}
.tc-path:focus-visible,[data-fh-path]:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:4px;border-radius:8px}

/* Motion: the first paint only, calm */
@keyframes tc-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes tc-pop{from{opacity:0}to{opacity:1}}
.tc-pop{animation:tc-pop 120ms linear both}
@keyframes tc-draw{from{stroke-dashoffset:var(--tc-len)}to{stroke-dashoffset:0}}
.tc-grow{transform-box:fill-box;animation:tc-grow 240ms var(--ui-ease-out) both;animation-delay:calc(var(--tc-i,0) * 14ms)}
.tc-draw{stroke-dasharray:var(--tc-len);animation:tc-draw 420ms var(--ui-ease-out) both}
html.tc-still :is(.tc-grow,.tc-draw,.tc-pop){animation:none}
@media (prefers-reduced-motion:reduce){.tc-grow,.tc-draw,.tc-pop{animation:none}}

/* Tooltip: Journal's popover */
.tc-tip{position:fixed;left:0;top:0;z-index:1200;max-width:280px;padding:10px 12px;border:1px solid var(--ui-line-strong);border-radius:8px;background:var(--ui-page);color:var(--ui-ink);
  box-shadow:0 8px 24px rgba(0,0,0,.08);font-family:var(--ui-font);pointer-events:none;opacity:0;transition:opacity 80ms linear}
html.dark .tc-tip{background:var(--ui-raised);box-shadow:0 8px 24px rgba(0,0,0,.36)}
.tc-tip.is-on{opacity:1}
.tc-tip p{margin:0}
.tc-tip-label{font-size:12px;line-height:18px;color:var(--ui-ink-2)}
.tc-tip-figure{margin-top:2px !important;font-size:14px;line-height:22px;font-weight:600;font-variant-numeric:tabular-nums}
.tc-tip-figure.is-gain{color:var(--ui-gain)}
.tc-tip-figure.is-loss{color:var(--ui-loss)}
.tc-tip-cmp{font-size:12px;line-height:18px;color:var(--ui-ink-2);font-variant-numeric:tabular-nums}
.tc-tip-cmp:empty{display:none}
.tc-tip-flag{font-size:12px;line-height:18px;color:var(--ui-ink);font-weight:500}
.tc-tip-act{margin-top:4px !important;font-size:12px;line-height:18px;color:var(--ui-accent-text);font-weight:500}

/* Rows from a shared $0 */
.tc-rows{display:grid;gap:0}
.tc-row{display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(80px,1.6fr) auto;align-items:center;column-gap:16px;padding:10px 0;border-top:1px solid var(--ui-line);color:inherit;text-decoration:none}
.tc-row:first-child{border-top:0;padding-top:4px}
.tc-row:has(.tc-row-spark){grid-template-columns:minmax(120px,1.1fr) minmax(80px,1.4fr) 88px auto}
a.tc-row:hover{background:var(--ui-hover);margin-inline:-8px;padding-inline:8px;border-radius:6px}
a.tc-row:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:2px;border-radius:6px}
.tc-row-name{display:flex;flex-direction:column;min-width:0}
.tc-row-name b{overflow:hidden;font-size:14px;line-height:22px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.tc-row-name small{color:var(--ui-ink-3);font-size:12px;line-height:18px;font-variant-numeric:tabular-nums}
.tc-row-track{position:relative;height:10px}
.tc-row-track i{position:absolute;top:0;bottom:0;left:0;width:max(2px,var(--w));border-radius:2px}
.tc-rows.is-mixed .tc-row-track::before{content:'';position:absolute;left:50%;top:-4px;bottom:-4px;border-left:1px dotted var(--tc-zero)}
.tc-rows.is-mixed .tc-row-track i{left:50%}
.tc-rows.is-mixed .tc-row-track i.is-loss{left:auto;right:50%}
.tc-row-track i.is-gain{background:var(--tc-gain)}
.tc-row-track i.is-loss{background:var(--tc-loss)}
.tc-row-track i.is-flat{background:var(--tc-ink-3)}
.tc-row-value{font-size:14px;line-height:22px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.tc-row-value.is-gain{color:var(--ui-gain)}
.tc-row-value.is-loss{color:var(--ui-loss)}
.tc-more{margin-top:8px}
.tc-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}

/* Small pieces */
.tc-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;column-gap:40px;margin:0}
.tc-list>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-top:1px solid var(--ui-line)}
.tc-list>div:nth-child(-n+4){border-top:0;padding-top:0}
@media (max-width:1180px){.tc-list{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-list>div:nth-child(-n+4){border-top:1px solid var(--ui-line);padding-top:9px}.tc-list>div:nth-child(-n+2){border-top:0;padding-top:0}}
@media (max-width:560px){.tc-list{grid-template-columns:minmax(0,1fr)}.tc-list>div:nth-child(2){border-top:1px solid var(--ui-line);padding-top:9px}}
.tc-list dt{color:var(--ui-ink-2);font-size:14px;line-height:22px}
.tc-list dd{margin:0;font-size:14px;line-height:22px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.tc-list dd.is-gain{color:var(--ui-gain)}
.tc-list dd.is-loss{color:var(--ui-loss)}
.tc-blocks{display:grid;gap:12px}
.tc-blocks-row{display:grid;grid-template-columns:96px 1fr auto;align-items:center;gap:16px}
.tc-blocks-label{color:var(--ui-ink-2);font-size:14px;line-height:22px}
.tc-blocks-track{display:flex;gap:3px;height:12px}
.tc-blocks-track i{display:block;height:100%;border-radius:2px}
.tc-blocks-track i.is-loss{background:var(--tc-loss)}
.tc-blocks-track i.is-gain{background:var(--tc-gain)}
.tc-blocks-row b{font-size:14px;line-height:22px;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.tc-blocks-row b.is-gain{color:var(--ui-gain)}
.tc-blocks-row b.is-loss{color:var(--ui-loss)}

/* Calendar (HTML grid) */
.tc-cal-head,.tc-cal-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) repeat(2,minmax(0,1fr)) minmax(0,1.35fr);gap:4px}
.is-narrow-weekend .tc-cal-head,.is-narrow-weekend .tc-cal-row{grid-template-columns:repeat(5,minmax(0,1fr)) repeat(2,minmax(0,.5fr)) minmax(0,1.35fr)}
.tc-cal-head span{padding:0 0 6px;color:var(--ui-ink-3);font-size:11px;line-height:14px;text-align:center}
.tc-cal-head span:last-child{text-align:right}
.tc-cal-body{display:grid;gap:4px}
.tc-cal-cell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;height:52px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--ui-ink);font:inherit;cursor:default}
button.tc-cal-cell{cursor:pointer}
.tc-cal-cell.is-out{visibility:hidden}
.tc-cal-cell.is-future .tc-cal-n{opacity:.45}
.tc-cal-n{position:absolute;top:4px;left:6px;color:var(--ui-ink-3);font-size:11px;line-height:14px;font-variant-numeric:tabular-nums}
.tc-cal-cell b{margin-top:8px;font-size:12px;line-height:18px;letter-spacing:-.01em;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-cal-cell[data-tone="gain"]{background:color-mix(in srgb,var(--tc-gain) calc(var(--a,8) * 1%),transparent)}
.tc-cal-cell[data-tone="loss"]{background:color-mix(in srgb,var(--tc-loss) calc(var(--a,8) * 1%),transparent)}
.tc-cal-cell[data-step="1"]{--a:8}.tc-cal-cell[data-step="2"]{--a:13}.tc-cal-cell[data-step="3"]{--a:18}.tc-cal-cell[data-step="4"]{--a:23}.tc-cal-cell[data-step="5"]{--a:28}
.tc-cal-cell[data-tone="gain"] b{color:var(--ui-gain)}
.tc-cal-cell[data-tone="loss"] b{color:var(--ui-loss)}
.tc-cal-dots{display:flex;gap:2px;height:11px}
.tc-cal-dots i{width:4px;height:4px;border-radius:50%;background:var(--tc-ink-3)}
.tc-cal-dots i.is-gain{background:var(--tc-gain)}
.tc-cal-dots i.is-loss{background:var(--tc-loss)}
.tc-cal-dots{align-items:center}
.tc-cal-dots em{margin-left:2px;color:var(--ui-ink-3);font-size:11px;line-height:11px;font-style:normal}
.tc-cal-cell.is-today .tc-cal-n{color:var(--ui-ink);font-weight:700}
.tc-cal-cell.is-today .tc-cal-n::after{content:'';display:inline-block;width:4px;height:4px;margin-left:3px;border-radius:50%;background:var(--ui-ink);vertical-align:2px}
.tc-cal-cell[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--ui-accent)}
.tc-cal-cell{padding-inline:2px}
button.tc-cal-cell:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:1px}
.tc-cal-week{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:0;padding-right:2px}
.tc-cal-week b{font-size:12px;line-height:18px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-cal-week b.is-gain{color:var(--ui-gain)}
.tc-cal-week b.is-loss{color:var(--ui-loss)}
.tc-cal-week small{color:var(--ui-ink-3);font-size:11px;line-height:14px;white-space:nowrap}
.tc-cal-week b{white-space:nowrap}
.tc-hovering button.tc-cal-cell:not(.is-hot){opacity:.55}
@media (max-width:560px){
  .tc-cal-cell{height:46px}
  .tc-cal-cell b{display:none}
  .tc-cal-n{position:static;font-size:12px}
  .tc-cal-week small{display:none}
  .tc-row{grid-template-columns:minmax(96px,1fr) minmax(60px,1fr) auto;column-gap:12px}
  .tc-row:has(.tc-row-spark){grid-template-columns:minmax(96px,1fr) minmax(60px,1fr) auto}
  .tc-row-spark{display:none}
}
.tc-cmp-name{fill:var(--tc-ink) !important;font-size:14px !important;font-weight:600}
.tc-cmp-value{font-size:13px !important;font-weight:600}
.tc-cmp-value.is-gain{fill:var(--tc-gain-text) !important}
.tc-cmp-value.is-loss{fill:var(--tc-loss-text) !important}
.tc-cmp-zero{stroke:var(--tc-ink);stroke-width:1;opacity:.55}
.tc-cmp-gap{fill:none;stroke:var(--tc-ink-3);stroke-width:1}
.tc-cmp-gap-label{fill:var(--tc-ink) !important;font-size:12px !important;font-weight:600}
.tc-figs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0}
.tc-figs>div{display:flex;flex-direction:column;min-width:0;padding:0 24px;border-left:1px solid var(--ui-line)}
.tc-figs>div:first-child{padding-left:0;border-left:0}
.tc-figs dt{color:var(--ui-ink-2);font:400 var(--ui-type-body) var(--ui-font)}
.tc-figs dd{margin:4px 0 0;font:600 var(--ui-type-title-m) var(--ui-font);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tc-figs dd.is-gain{color:var(--ui-gain)}
.tc-figs dd.is-loss{color:var(--ui-loss)}
.tc-figs small{margin-top:4px;color:var(--ui-ink-3);font:400 var(--ui-type-caption) var(--ui-font)}
.tc-figs small i{margin-right:4px;font-style:normal;font-weight:600}
.tc-figs small i.is-up{color:var(--ui-gain)}
.tc-figs small i.is-down{color:var(--ui-loss)}
.tc-figs-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin-top:20px}
.tc-figs-toggle{background:none;border:0;padding:0;font:inherit;cursor:pointer}
.tc-figs-more{margin-top:12px}
@media (max-width:860px){.tc-figs{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}.tc-figs>div:nth-child(odd){padding-left:0;border-left:0}}
.tc-month-dot.is-out{fill:var(--tc-ink-3);stroke:none}
html.dark .tc-body.is-gain{fill:color-mix(in srgb,var(--ui-bar-gain) 17%,transparent)}
html.dark .tc-body.is-loss{fill:color-mix(in srgb,var(--ui-bar-loss) 17%,transparent)}

/* feedback-home.css */
/* The Dashboard's shared pieces from the page it replaced (18 Nov: the old page's markup and script were removed and this
   file trimmed to what is still drawn): the page frame (.fh-main), its popovers (.fh-pop), the custom range form and
   the focus dialogs of assets/focus-choices.js (.fh-choice-*, .fh-rule-*). The face's own composition is
   assets/dashboard-face.css. */
/* Dark: the page colour reaches the bottom of the viewport, as on Reports. */
html.dark body.feedback-home-page{--ws-page-background:var(--bg-primary);background-color:var(--bg-primary)}
body.feedback-home-page .fh-main{box-sizing:border-box;width:100%;max-width:var(--ws-content-max-width,1800px);margin-inline:auto;padding:24px var(--tw-page-gutter,24px) 96px;color:var(--ui-ink);font:400 var(--ui-type-body) var(--ui-font);transition:opacity var(--ui-motion-base) var(--ui-ease-out)}
.fh-main :where(h1,h2,h3,p,ol,ul,dl,dd,figure){margin:0}
.fh-main :where(ol,ul){padding:0;list-style:none}
.fh-main :is(p,small,h3,li){text-wrap:pretty}
.fh-main svg.lucide{stroke-width:2}
.fh-main.is-loading{opacity:.55;pointer-events:none}
.fh-main .fh-gain{color:var(--ui-gain)}
.fh-main .fh-loss{color:var(--ui-loss)}
.fh-main .fh-faint{color:var(--ui-ink-3)}
.fh-link{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:var(--ui-accent-text);font:500 var(--ui-type-body) var(--ui-font);text-decoration:none;cursor:pointer;white-space:nowrap}
.fh-link:hover{text-decoration:underline;text-underline-offset:3px}
.fh-link :is(svg,i){flex:none;width:16px;height:16px}
.fh-note{margin-top:8px;color:var(--ui-ink-3);font:400 var(--ui-type-caption) var(--ui-font)}
.fh-main .app-action-btn :is(svg,i){width:16px;height:16px}
.fh-main .app-action-btn.is-off{opacity:.35;pointer-events:none}
.fh-pop{position:relative}
.fh-pop>summary{list-style:none;cursor:pointer}
.fh-pop>summary::-webkit-details-marker{display:none}
.fh-pop-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:60;display:flex;align-items:flex-end;gap:8px;padding:12px;border:1px solid var(--ui-line-strong);border-radius:12px;background:var(--ui-page);box-shadow:0 12px 36px rgb(24 24 27 / .09),0 2px 6px rgb(24 24 27 / .03)}
.fh-custom-form label{display:grid;gap:4px;color:var(--ui-ink-2);font:400 var(--ui-type-caption) var(--ui-font)}
.fh-custom-form input{height:40px;min-width:150px}
.fh-ident{display:inline-flex;align-items:center;gap:10px;min-width:0}
.fh-ident>span:last-child{display:flex;flex-direction:column;min-width:0}
/* The account's mark comes from the brand map at its own account size (md, 38 px); the page adds no frame or size. */
.fh-idmark{display:inline-flex;align-items:center;flex:none;color:var(--ui-ink-2)}
.fh-idmark>i,.fh-idmark>svg.lucide{width:20px;height:20px}
.tc-accounts{width:100%}
.tc-accounts td small{display:block;color:var(--ui-ink-3);font:400 var(--ui-type-caption) var(--ui-font)}
.tc-accounts .fh-num{text-align:right;font-variant-numeric:tabular-nums}
.tc-accounts tr.is-idle td{color:var(--ui-ink-3)}
.tc-accounts tbody tr:last-child td{border-bottom:0}

/* Tablet: the frame stacks its side under the path */
@media (max-width:1180px){
  /* The shell's floating pieces (voice button, Get started, sample bar) get room at the page's end (BAR 8). */
  body.feedback-home-page .fh-main{padding-bottom:168px}
}

/* Phone */
@media (max-width:640px){
  body.feedback-home-page .fh-main{padding:16px 16px 168px}
  .tc-accounts .fh-opt{display:none}
  .tc-row-name b{white-space:normal}
}
dialog.tsb-dialog.fh-choice{width:min(680px,calc(100vw - 32px))}
dialog.tsb-dialog.fh-choice.is-wide{width:min(860px,calc(100vw - 32px))}
dialog.tsb-dialog.fh-choice[open]{display:flex;flex-direction:column;overflow:hidden}
.fh-choice-body{padding:24px 32px 32px;overflow-y:auto;overscroll-behavior:contain;min-height:0;font:400 var(--ui-type-body) var(--ui-font)}
.fh-choice-intro{margin:0 0 24px;color:var(--ui-ink-2);text-wrap:pretty}
.fh-choice-list{margin:0;padding:0;list-style:none}
.fh-choice-row{display:grid;grid-template-columns:minmax(0,1fr) 144px 128px;gap:24px;align-items:center}
.fh-choice-row{padding:16px 0;border-top:1px solid var(--ui-line)}
.fh-choice-name{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;font:500 var(--ui-type-lead) var(--ui-font)}
.fh-choice-name .ui-chip{flex:none}
.fh-choice-meta{margin:4px 0 0;color:var(--ui-ink-2);font:400 var(--ui-type-caption) var(--ui-font)}
.fh-choice-cost{display:block;color:var(--ui-loss);text-align:right;white-space:nowrap;font:500 var(--ui-type-title-s) var(--ui-font);font-variant-numeric:tabular-nums}
.fh-choice-row .fh-link{justify-self:end;white-space:nowrap}
.fh-choice-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-top:24px;border-top:1px solid var(--ui-line)}
.fh-choice-conditions{display:grid;gap:24px}
.fh-choice-condition{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fh-choice-field{display:grid;gap:8px;min-width:0}
.fh-choice-field label,.fh-choice-length label{font:500 var(--ui-type-body) var(--ui-font)}
.fh-choice-select,.fh-choice-input{min-height:40px;max-width:100%;font:400 var(--ui-type-body) var(--ui-font);border-radius:var(--ui-radius-control)}
.fh-choice-remove{grid-column:1/-1;justify-self:start}
.fh-choice-add{margin-top:16px}
.fh-choice-add[hidden]{display:none}
.fh-choice-readback{margin-top:24px;padding:24px 0;border-top:1px solid var(--ui-line)}
.fh-choice-readback h3{margin:0;font:600 var(--ui-type-title-m) var(--ui-font);letter-spacing:-.01em;text-wrap:pretty}
.fh-choice-readback p{margin:12px 0 0;color:var(--ui-ink-2)}
.fh-choice-readback .fh-loss{color:var(--ui-loss);font-weight:500}
.fh-choice-readback .fh-gain{color:var(--ui-gain);font-weight:500}
.fh-choice-length{display:flex;align-items:center;gap:12px}
.fh-choice-length input{width:88px}
.fh-choice [data-choice-error]:empty{display:none}
@media (max-width:720px){
 dialog.tsb-dialog.fh-choice,dialog.tsb-dialog.fh-choice.is-wide{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
 .fh-choice-body{padding:24px 16px}
 .fh-choice-row{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .fh-choice-row>div{grid-column:1/-1}
 .fh-choice-name{font:500 var(--ui-type-body) var(--ui-font)}
 .fh-choice-cost{grid-column:1;grid-row:2;text-align:left;font:500 var(--ui-type-lead) var(--ui-font)}
 .fh-choice-row .fh-link{grid-column:2;grid-row:2}
 .fh-choice-condition{grid-template-columns:1fr}
 .fh-choice-foot{flex-direction:column;align-items:stretch}
 .fh-choice-readback h3{font:600 var(--ui-type-title-s) var(--ui-font)}
}

/* setup-plan-dialog.css */
/* Save as setup / Add to my plan (assets/setup-plan-dialog.js): one dialog in the Journal modal's anatomy — a header on
   a hairline, a close without a frame, a body, a footer on a hairline; closes on Escape and on a click outside. Buttons,
   the account picker and the scrim are the shared kit's (.tsb-content-controls, modal-backdrop.css). */
.spd { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid var(--jw-line); border-radius: 16px; background: var(--jw-surface); color: var(--jw-ink); box-shadow: var(--ui-shadow-dialog); overflow: hidden; }
.spd[open] { display: flex; flex-direction: column; }
.spd::backdrop { background: var(--app-modal-backdrop, rgb(38 39 40 / .2)); backdrop-filter: var(--app-modal-backdrop-filter, blur(5px)); }
/* The kit's dialog (DESIGN-SYSTEM decision 3, as the folder dialogs; 13 Nov walk of setups.ev.add-to-plan): title 24, a quiet
   40 px close on the head's hairline, body 24, actions on a hairline, fields 42, radius 16. */
.spd-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--jw-line); }
.spd-eyebrow { margin: 0 0 2px; color: var(--jw-muted); font-size: 12px; line-height: 16px; }
.spd-title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.spd-close { flex: none; color: var(--jw-muted); }
.spd-close:hover { color: var(--jw-ink); }
.spd-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 24px; font-size: 14px; line-height: 20px; }
.spd-body > * + * { margin-top: 16px; }
.spd-body p { margin: 0; text-wrap: pretty; }
.spd-body > * + p { margin-top: 16px; }
.spd-body section > * + p { margin-top: 8px; }
.spd-body h3 { margin: 0 0 6px; color: var(--jw-muted); font-size: 12px; line-height: 16px; font-weight: 500; }
/* A part of the dialog is a group head (16 / 24 / 600) with room above it, its count grey after "·" (Igor «оно как-то
   все по смыслу слилось» on Add to my plan). */
.spd-body > * + .spd-part { margin-top: 32px; }
.spd-part > h3 { margin: 0 0 8px; color: var(--jw-ink); font-size: 16px; line-height: 24px; font-weight: 600; text-wrap: balance; }
.spd-part > h3 > span { color: var(--jw-muted); font-weight: 400; white-space: nowrap; }
.spd-note { color: var(--jw-muted); }
.spd-list { margin: 0; padding: 0; list-style: none; }
.spd-body > * + .spd-list { margin-top: 16px; } /* the body's 16 px rhythm; `.spd-list { margin: 0 }` above took it away */
.spd-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--jw-line); }
.spd-list li:last-child { border-bottom: 1px solid var(--jw-line); }
.spd-list b { font-weight: 600; overflow-wrap: anywhere; }
.spd-list small { display: block; color: var(--jw-muted); font-size: 12px; line-height: 16px; }
.spd-list .spd-tag { flex: none; color: var(--jw-muted); font-size: 12px; white-space: nowrap; }
.spd-list .spd-tag[data-tone="new"] { color: var(--app-positive-text, #2f7a52); }
.spd-list .spd-tag[data-tone="warn"] { color: var(--app-negative-text, #a8322b); }
.spd-list a { color: var(--jw-accent-text); font-size: 14px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.spd-list a:hover { text-decoration: underline; }
.spd-rules { margin: 0; padding: 0; list-style: none; }
.spd-rules li { padding: 9px 0; border-top: 1px solid var(--jw-line); text-wrap: pretty; }
.spd-field { display: grid; gap: 6px; }
.spd-field > span { color: var(--jw-muted); font-size: 14px; line-height: 20px; }
/* The fields are Journal's (.app-content-choice under the shell's .tsb-content-controls), labels 14 px as every dialog's since
   10 Nov; Share publicly had classes no sheet styles (a borderless name, a select with the browser's ring: Igor 10 Nov «норм?»). */
.spd-field input { width: 100%; }
.spd-field select { width: 100%; }
.spd .spd-field :is(input, select) { min-height: 42px; }
.spd-check { display: flex; align-items: flex-start; gap: 10px; line-height: 20px; cursor: pointer; }
.spd-check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--jw-accent); }
.spd-warn { padding: 10px 12px; border-radius: 6px; background: var(--app-negative-soft, #fbeceb); color: var(--jw-ink); }
.spd-done { display: flex; gap: 10px; align-items: flex-start; }
.spd-done svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--app-positive-text, #2f7a52); }
.spd-status { margin: 0; padding: 0 24px 12px; color: var(--app-negative-text, #a8322b); font-size: 14px; line-height: 20px; }
/* A status that reports a change that worked ("Added for Monday, Nov 9.") is not an error: quiet ink, a green check. */
.spd-status[data-tone=done] { display: flex; gap: 8px; align-items: flex-start; color: var(--jw-ink, var(--ui-ink)); }
.spd-status[data-tone=done]::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: var(--app-positive-text, #2f7a52); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.spd-status:empty { display: none; }
.spd-foot { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; flex: none; padding: 16px 24px; border-top: 1px solid var(--jw-line); }
.spd-foot [aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 560px) {
  .spd { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .spd-head { padding: 12px 8px 12px 16px; }
  .spd-body { padding: 16px; }
  .spd-status { padding: 0 16px 12px; }
  .spd-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 16px; }
  .spd-foot .app-action-btn { width: 100%; min-height: 44px; }
  .spd-foot .app-action-btn-primary { order: -1; }
}

/* Share publicly (assets/public-share.js) in the same shell: the public link row and two labelled fields. */
.pss-link { display: flex; gap: 8px; }
.pss-link .app-content-choice { flex: 1 1 auto; min-width: 0; }

