/* Which Framework tools: only the product idea pages. Written by gen/prdcss.py from css/tools.css; edit tools.css, then rerun. */
/* Rules these pages share with other playbooks (mostly the project pages' tl-pj- parts), whose files they do not load: */
.tl-pj-brs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin-top: var(--space-3); }
.tl-pj-br { border: 1px solid var(--line, #dde2e9); border-radius: var(--r, 3px); padding: var(--space-3) var(--space-3) var(--space-2); background: #fff; min-width: 0; }
.tl-pj-br__head { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.tl-pj-br__n { display: inline-block; min-width: 1.4em; font-weight: 700; color: var(--ink, #1e293b); font-variant-numeric: tabular-nums; }
.tl-pj-br__name { flex: 1 1 auto; min-width: 0; width: 0; max-width: 28rem; padding: .45rem .6rem; border: 1px solid var(--line-strong, #aab3c0); border-radius: var(--r, 3px); font: inherit; font-size: 15px; font-weight: 600; color: var(--ink, #1e293b); background: #fff; }
.tl-pj-br__head .tl-link { flex: none; margin-left: auto; font-size: var(--text-sm); }
.tl-pj-br__foot { margin: var(--space-2) 0 0; font-size: var(--text-sm); }
.tl-pj-fix { margin: .25rem 0 0; font-size: var(--text-xs); color: #b45309; line-height: 1.45; }
.tl-pj-fix:empty { display: none; }
.tl-pj-fix q { font-style: normal; font-weight: 600; color: var(--ink, #1e293b); }
.tl-pj-fix .tl-link { font-size: inherit; margin-left: .25em; }
.tl-pj-tests { display: grid; margin: var(--space-4) 0 var(--space-6); border-top: 1px solid var(--line, #dde2e9); }
.tl-pj-test { padding: var(--space-4) 0; border-bottom: 1px solid var(--line, #dde2e9); }
.tl-pj-test__name { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; margin: 0 0 var(--space-1); color: var(--ink, #1e293b); }
.tl-pj-test__count { font-weight: 400; font-size: var(--text-sm); color: var(--mute, #5b6779); margin-left: .35em; }
.tl-pj-test .tl-field { display: flex; flex-direction: column; gap: var(--space-1); max-width: 40rem; }
.tl-pj-test__q { margin: var(--space-3) 0 var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--ink, #1e293b); }
.tl-pj-seg .tl-seg__opt { white-space: nowrap; }
.tl-pj-test { scroll-margin-top: 6rem; }
.tl-pj-test.is-folded { padding: 0; }
.tl-pj-fold { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: var(--space-3); align-items: center; width: 100%; padding: .7rem .25rem; border: 0; background: none; font: inherit; font-size: var(--text-sm); color: var(--ink, #1e293b); text-align: left; cursor: pointer; }
.tl-pj-fold:hover { background: var(--wash, #f4f6f8); }
.tl-pj-fold__name { font-weight: 700; font-size: var(--text-base); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-pj-fold__count { color: var(--mute, #5b6779); }
.tl-pj-fold__go { color: var(--ink, #1e293b); text-decoration: underline; text-underline-offset: 2px; }
.tl-pj-test.is-open { padding: var(--space-4) 0 var(--space-5); }
@media (max-width: 760px) {
  .tl-pj-fold { grid-template-columns: 1fr auto; gap: .15rem var(--space-3); }
  .tl-pj-fold__name { grid-column: 1; }
  .tl-pj-fold__go { grid-column: 2; grid-row: 1; }
  .tl-pj-fold__count, .tl-pj-fold__st { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .tl-pj-seg .tl-seg__opt { white-space: normal; }
}
.tl-pj-rules { margin: var(--space-3) 0; display: grid; border-top: 1px solid var(--line, #dde2e9); }
.tl-pj-rule { display: grid; grid-template-columns: 13rem 1fr; gap: var(--space-4); padding: .6rem 0; border-bottom: 1px solid var(--line, #dde2e9); font-size: var(--text-sm); }
.tl-pj-rule dt { font-weight: 700; color: var(--ink, #1e293b); }
.tl-pj-rule dt::before { content: "✓"; display: inline-block; width: 1.3em; color: #17713a; }
.tl-pj-rule.is-flag dt::before { content: "!"; color: #b45309; font-weight: 800; }
.tl-pj-rule dd { margin: 0; color: var(--ink, #1e293b); line-height: 1.5; }
.tl-pj-rule q { font-style: normal; }
@media (max-width: 640px) {
  .tl-pj-rule { grid-template-columns: 1fr; gap: .2rem; }
}
@media print {
  .tl-pj-tree__br, .tl-pj-bar, .tl-pj-rule { break-inside: avoid; }
}

/* ---------- product idea playbook (stages 1-6). Page parts: tl-pd-; also uses the project pages' tl-pj- parts (folds, rules, segments). tools-product.css is written from here by gen/prdcss.py until the split is measured again. ---------- */
.tl-pd-what { max-width: 40rem; }
.tl-pd-what input { width: 100%; }
.tl-pd-fold { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) auto; }
.tl-pd-fold .tl-pj-fold__count { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-pd-ivgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); margin: var(--space-3) 0 var(--space-3); }
.tl-pd-ivgrid .tl-field, .tl-pd-four .tl-field, .tl-pd-perin .tl-field { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.tl-pd-ivgrid input, .tl-pd-four input, .tl-pd-perin input { width: 100%; }
.tl-pd-wide { grid-column: 1 / -1; }
.tl-pd-sort select { width: 100%; min-width: 11rem; }
.tl-pd-sort td[data-l="What they do now"] { font-size: var(--text-sm); }
.tl-pd-sort tr.tl-pd-loose th, .tl-pd-sort tr.tl-pd-loose td { background: var(--flag, #fdf0c4); }
.tl-pd-gs { display: grid; gap: var(--space-3); }
.tl-pd-g__n { flex: none; color: var(--mute, #5b6779); font-size: var(--text-sm); }
.tl-pd-flag { margin: 0 0 var(--space-2); color: #b45309; font-size: var(--text-sm); }
.tl-pd-flag:empty { display: none; }
.tl-pd-mem { margin: 0 0 var(--space-3); font-size: var(--text-sm); }
.tl-pd-mem summary { cursor: pointer; color: var(--ink, #1e293b); text-decoration: underline; text-underline-offset: 2px; }
.tl-pd-mem ul { margin: var(--space-2) 0 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.tl-pd-none { margin: 0 0 var(--space-3); }
.tl-pd-four { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
.tl-pd-pick { flex-wrap: wrap; }
.tl-pd-pick__n { color: var(--mute, #5b6779); font-weight: 400; }
.tl-pd-fits { display: grid; gap: var(--space-3); margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line, #dde2e9); }
.tl-pd-fit .tl-pj-test__q { margin: 0 0 var(--space-2); }
/* results: the persona card */
.tl-pd-card { max-width: 46rem; border: 1px solid var(--line-strong, #aab3c0); border-radius: var(--r, 3px); background: #fff; }
.tl-pd-card__kick { margin: 0; padding: var(--space-3) var(--space-4) 0; color: var(--mute, #5b6779); font-size: var(--text-sm); }
.tl-pd-card__title { margin: 0; padding: 0 var(--space-4) var(--space-2); font-family: var(--serif, 'DM Serif Display', serif); font-size: 1.6rem; line-height: 1.2; color: var(--ink, #1e293b); }
.tl-pd-card__goal { margin: 0; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--line, #dde2e9); font-size: var(--text-base); font-weight: 600; color: var(--ink, #1e293b); line-height: 1.45; }
.tl-pd-card__goal > span:first-child { display: block; font-weight: 400; font-size: var(--text-sm); color: var(--mute, #5b6779); margin-bottom: .15rem; }
.tl-pd-card__rows { margin: 0; }
.tl-pd-card__rows > div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-3); padding: .6rem var(--space-4); border-top: 1px solid var(--line, #dde2e9); font-size: var(--text-sm); line-height: 1.5; }
.tl-pd-card__rows dt { color: var(--mute, #5b6779); }
.tl-pd-card__rows dd { margin: 0; color: var(--ink, #1e293b); }
.tl-pd-tag { font-weight: 400; color: var(--mute, #5b6779); font-size: var(--text-sm); }
.tl-pd-tag::before { content: "· "; }
.tl-pj-rule.is-part dt::before { content: "~"; color: var(--mute, #5b6779); }
/* stage 2: the empathy map */
.tl-pd-kind { font-family: var(--font-body, 'DM Sans', sans-serif); font-weight: 400; font-size: var(--text-sm); color: var(--mute, #5b6779); }
.tl-pd-who { max-width: 46rem; padding: var(--space-3) var(--space-4); border: 1px solid var(--line, #dde2e9); border-radius: var(--r, 3px); background: #fff; font-size: var(--text-sm); line-height: 1.5; }
.tl-pd-who p { margin: .15rem 0 0; }
.tl-pd-who p span { color: var(--mute, #5b6779); }
.tl-pd-who .tl-pd-who__t { margin: 0 0 .3rem; font-weight: 700; font-size: var(--text-base); }
.tl-pd-perin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-3) var(--space-4); max-width: 52rem; }
.tl-pd-q { width: 100%; }
.tl-pd-q td:first-child { width: 62%; }
.tl-pd-q input[type="text"], .tl-pd-q select { width: 100%; }
.tl-pd-num { width: 5.5rem; }
.tl-pd-pairs select { width: 100%; min-width: 14rem; }
.tl-pd-pairs th[scope="row"] { font-weight: 400; }
.tl-pd-hmwin { display: flex; align-items: center; gap: var(--space-2); max-width: 52rem; margin: 0 0 var(--space-2); }
.tl-pd-hmwin label { flex: none; font-weight: 700; color: var(--ink, #1e293b); }
.tl-pd-hmwin input { flex: 1 1 auto; min-width: 0; }
.tl-pd-hmwin span { flex: none; font-weight: 700; }
.tl-pd-hmwq { max-width: 52rem; margin: 0 0 var(--space-2); font-family: var(--serif, 'DM Serif Display', serif); font-size: 1.2rem; line-height: 1.35; color: var(--ink, #1e293b); }
.tl-pd-map { display: grid; grid-template-columns: 7.5rem repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; max-width: 60rem; border: 1px solid var(--line-strong, #aab3c0); border-radius: var(--r, 3px); background: #fff; }
.tl-pd-map__col, .tl-pd-map__row { font-size: var(--text-sm); color: var(--mute, #5b6779); padding: .5rem .75rem; border-bottom: 1px solid var(--line, #dde2e9); }
.tl-pd-map__col--1 { grid-column: 2; grid-row: 1; border-left: 1px solid var(--line, #dde2e9); }
.tl-pd-map__col--2 { grid-column: 3; grid-row: 1; border-left: 1px solid var(--line, #dde2e9); }
.tl-pd-map__row { border-bottom: 0; align-self: stretch; }
.tl-pd-map__row--1 { grid-column: 1; grid-row: 2; border-bottom: 1px solid var(--line, #dde2e9); }
.tl-pd-map__row--2 { grid-column: 1; grid-row: 3; }
.tl-pd-quad { padding: .75rem; border-left: 1px solid var(--line, #dde2e9); min-width: 0; }
.tl-pd-quad--says { grid-column: 2; grid-row: 2; border-bottom: 1px solid var(--line, #dde2e9); }
.tl-pd-quad--thinks { grid-column: 3; grid-row: 2; border-bottom: 1px solid var(--line, #dde2e9); }
.tl-pd-quad--does { grid-column: 2; grid-row: 3; }
.tl-pd-quad--feels { grid-column: 3; grid-row: 3; }
.tl-pd-quad__h { margin: 0 0 .4rem; font-weight: 700; color: var(--ink, #1e293b); }
.tl-pd-quad ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.tl-pd-quad li { font-size: var(--text-sm); line-height: 1.45; color: var(--ink, #1e293b); padding: .3rem .4rem; margin: 0 -.4rem; border-radius: 2px; }
.tl-pd-quad li.is-hot { background: var(--flag, #fdf0c4); }
.tl-pd-quad__ev { display: block; color: var(--mute, #5b6779); font-size: .8125rem; }
.tl-pd-quad__ev.is-flag { color: #b45309; }
.tl-pd-gaps { margin: 0; display: grid; gap: var(--space-3); max-width: 52rem; }
.tl-pd-gaps > div { display: grid; grid-template-columns: 6rem 1fr; gap: .2rem var(--space-3); padding: .6rem 0; border-top: 1px solid var(--line, #dde2e9); font-size: var(--text-sm); }
.tl-pd-gaps dt { color: var(--mute, #5b6779); }
.tl-pd-gaps dd { margin: 0; color: var(--ink, #1e293b); }
.tl-pd-hmw { max-width: 52rem; margin: var(--space-2) 0; font-family: var(--serif, 'DM Serif Display', serif); font-size: 1.45rem; line-height: 1.3; color: var(--ink, #1e293b); }
/* stage 3: the brainstorm */
.tl-pd-hmw--in { margin: 0 0 .3rem; font-size: 1.2rem; }
.tl-pd-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-4); max-width: 52rem; }
.tl-pd-person { display: flex; align-items: center; gap: var(--space-2); }
.tl-pd-person input { flex: 1 1 auto; min-width: 0; }
.tl-pd-rounds { display: grid; gap: var(--space-3); }
.tl-pd-round .tl-pj-br__head { flex-wrap: wrap; row-gap: var(--space-2); }
.tl-pd-round__h { margin: 0; font-size: var(--text-base); font-weight: 700; color: var(--ink, #1e293b); }
.tl-pd-round__note { margin: 0 0 var(--space-2); }
.tl-pd-mins { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--text-sm); color: var(--mute, #5b6779); }
.tl-pd-mins input { width: 3.2rem; }
.tl-pd-timer { display: inline-flex; align-items: center; gap: var(--space-2); }
.tl-pd-timer__t { min-width: 3.4rem; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink, #1e293b); }
.tl-pd-timer.is-up .tl-pd-timer__t { color: #b45309; }
.tl-pd-round .tl-pj-br__head .tl-link--danger { margin-left: auto; }
.tl-pd-anon { margin: 0 0 var(--space-2); }
.tl-pd-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
.tl-pd-cards .tl-field, .tl-pd-round > .tl-field, .tl-pd-prompt .tl-field { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.tl-pd-cards textarea, .tl-pd-round > .tl-field textarea, .tl-pd-prompt textarea { width: 100%; font-size: var(--text-sm); line-height: 1.5; resize: vertical; }
.tl-pd-cnt { font-weight: 400; color: var(--mute, #5b6779); font-size: var(--text-sm); }
.tl-pd-cnt::before { content: "· "; }
.tl-pd-dups { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 60rem; }
.tl-pd-dups li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: .55rem 0; border-top: 1px solid var(--line, #dde2e9); font-size: var(--text-sm); }
.tl-pd-dups li:last-child { border-bottom: 1px solid var(--line, #dde2e9); }
.tl-pd-dups__go { display: inline-flex; gap: var(--space-2); align-items: center; }
.tl-pd-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-4); max-width: 60rem; margin-top: var(--space-3); }
.tl-pd-theme { display: flex; align-items: center; gap: var(--space-2); }
.tl-pd-theme input { flex: 1 1 auto; min-width: 0; }
.tl-pd-theme__n { flex: none; font-size: var(--text-sm); color: var(--mute, #5b6779); min-width: 4.5rem; }
.tl-pd-cardtab th[scope="row"] { font-weight: 400; }
.tl-pd-cardtab th[scope="row"] { width: 62%; }
.tl-pd-cardtab td[data-l="Theme"] { width: 30%; }
.tl-pd-cardtab select { min-width: 0; }
.tl-pd-cardtab td[data-l="Round"] { white-space: nowrap; color: var(--mute, #5b6779); font-size: var(--text-sm); }
.tl-pd-bars { display: grid; gap: .45rem; max-width: 46rem; margin: 0 0 var(--space-3); }
.tl-pd-bars__row { display: grid; grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr) 2.5rem; gap: var(--space-3); align-items: center; font-size: var(--text-sm); }
.tl-pd-bars__l { color: var(--ink, #1e293b); }
.tl-pd-bars__track { display: block; height: .7rem; background: var(--wash, #f4f6f8); border-radius: 2px; }
.tl-pd-bars__fill { display: block; height: 100%; background: var(--act, #d97706); border-radius: 2px; }
.tl-pd-bars__n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink, #1e293b); }
.tl-pd-bars__row.is-flag .tl-pd-bars__l, .tl-pd-bars__row.is-flag .tl-pd-bars__n { color: #b45309; }
.tl-pd-bars__row.is-flag .tl-pd-bars__track { background: var(--flag, #fdf0c4); }
.tl-pd-thlist { display: grid; gap: .3rem; }
/* stage 4: SCAMPER */
.tl-pd-letter { display: inline-block; min-width: 1.2em; margin-right: .45rem; font-family: var(--serif, 'DM Serif Display', serif); font-size: 1.15em; font-weight: 400; color: var(--act, #d97706); }
.tl-pd-prompt__q { margin: var(--space-2) 0 .2rem; font-family: var(--serif, 'DM Serif Display', serif); font-size: 1.2rem; line-height: 1.3; color: var(--ink, #1e293b); }
.tl-pd-prompt__sub { margin: 0 0 var(--space-2); font-size: var(--text-sm); color: var(--mute, #5b6779); }
.tl-pd-prompt .tl-actions { align-items: center; justify-content: space-between; margin-top: var(--space-3); }
.tl-pd-minsin { max-width: 12rem; }
.tl-pd-minsin input { width: 5rem; }
.tl-pd-out { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; }
.tl-pd-scmtab th[scope="row"] { white-space: nowrap; }
.tl-pd-scmtab td[data-l="The question"] { color: var(--mute, #5b6779); font-size: var(--text-sm); }
/* stage 5: ICE */
.tl-pd-pool { margin: 0 0 .2rem; }
.tl-pd-pool ul { list-style: none; padding-left: 0; }
.tl-pd-pool li { font-size: var(--text-sm); }
.tl-pd-factors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); max-width: 60rem; margin: 0 0 var(--space-3); }
.tl-pd-factors > div { padding-top: .5rem; border-top: 2px solid var(--ink, #1e293b); }
.tl-pd-factors dt { font-weight: 700; color: var(--ink, #1e293b); }
.tl-pd-factors dd { margin: .2rem 0 0; font-size: var(--text-sm); color: var(--mute, #5b6779); }
.tl-pd-scale { margin: 0 0 var(--space-4); }
.tl-pd-ice th[scope="row"] { font-weight: 400; width: 50%; }
.tl-pd-ice td { text-align: center; }
.tl-pd-ice .tl-pd-num { width: 3.6rem; text-align: center; }
.tl-pd-num.is-bad { border-color: #b45309; background: var(--flag, #fdf0c4); }
.tl-pd-gap { margin-top: var(--space-3); }
.tl-pd-gap .tl-pj-br__head { flex-wrap: wrap; }
.tl-pd-test { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); align-items: end; }
.tl-pd-agreed .tl-pd-num { width: 4.5rem; }
.tl-pd-test input { height: 2.125rem; }   /* one height for the test's three boxes, so their labels line up */
.tl-pd-sub { display: block; font-size: .8125rem; font-weight: 400; color: var(--mute, #5b6779); }
.tl-pd-sub.is-flag { color: #b45309; }
.tl-pd-was { color: var(--mute, #5b6779); text-decoration: line-through; margin-right: .2rem; }
.tl-pd-rank td { white-space: nowrap; }
.tl-pd-rank th[scope="row"] { font-weight: 600; }
/* stage 6: the canvas (input and results share the layout) */
.tl-pd-canvas { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-areas: "kp kp ka ka vp vp cr cr cs cs" "kp kp kr kr vp vp ch ch cs cs" "cost cost cost cost cost rev rev rev rev rev"; border: 1px solid var(--line-strong, #aab3c0); border-radius: var(--r, 3px); background: #fff; }
.tl-pd-cell { padding: .65rem .7rem; border-right: 1px solid var(--line, #dde2e9); border-bottom: 1px solid var(--line, #dde2e9); min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.tl-pd-cell--kp { grid-area: kp; } .tl-pd-cell--ka { grid-area: ka; } .tl-pd-cell--kr { grid-area: kr; } .tl-pd-cell--vp { grid-area: vp; }
.tl-pd-cell--cr { grid-area: cr; } .tl-pd-cell--ch { grid-area: ch; } .tl-pd-cell--cs { grid-area: cs; border-right: 0; }
.tl-pd-cell--cost { grid-area: cost; border-bottom: 0; } .tl-pd-cell--rev { grid-area: rev; border-right: 0; border-bottom: 0; }
.tl-pd-cell label, .tl-pd-cell__h { margin: 0; font-weight: 700; font-size: var(--text-sm); color: var(--ink, #1e293b); }
.tl-pd-cell__n { display: inline-block; min-width: 1.1rem; margin-right: .3rem; color: var(--act, #d97706); font-family: var(--serif, 'DM Serif Display', serif); font-weight: 400; font-size: 1rem; }
.tl-pd-cell__q { font-size: .8125rem; color: var(--mute, #5b6779); }
.tl-pd-cell textarea { width: 100%; flex: 1 1 auto; min-height: 5.5rem; font-size: var(--text-sm); line-height: 1.45; resize: vertical; }
.tl-pd-cell ul { margin: 0; padding-left: 1rem; display: grid; gap: .3rem; font-size: var(--text-sm); line-height: 1.45; color: var(--ink, #1e293b); }
.tl-pd-cell__flag { display: block; color: #b45309; font-size: .8125rem; }
.tl-pd-cell__none { margin: 0; color: #b45309; font-size: var(--text-sm); }
.tl-pd-cell__w { font-size: .8125rem; }
.tl-pd-cell.is-weak { outline: 2px solid var(--act, #d97706); outline-offset: -2px; }
.tl-pd-cell li.is-weak { background: var(--flag, #fdf0c4); padding: .2rem .3rem; border-radius: 2px; }
.tl-pd-canvas--in .tl-pd-cell { background: transparent; }
.tl-pd-lines { margin-bottom: var(--space-3); }
.tl-pd-lines th[scope="row"] { font-weight: 400; width: 55%; }
.tl-pd-lines select { width: 100%; }
.tl-pd-money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); max-width: 52rem; }
.tl-pd-money .tl-field { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.tl-pd-money input { width: 100%; }
.tl-pd-sum { margin: 0; max-width: 30rem; border-top: 1px solid var(--line-strong, #aab3c0); }
.tl-pd-sum > div { display: flex; justify-content: space-between; gap: var(--space-4); padding: .5rem 0; border-bottom: 1px solid var(--line, #dde2e9); font-size: var(--text-sm); }
.tl-pd-sum dt { color: var(--mute, #5b6779); }
.tl-pd-sum dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink, #1e293b); }
.tl-pd-sum > .is-total { border-bottom-color: var(--line-strong, #aab3c0); }
.tl-pd-sum > .is-total dt, .tl-pd-sum > .is-total dd { font-weight: 700; color: var(--ink, #1e293b); }
.tl-pd-sum > .is-flag dd { color: #b45309; }
@media (max-width: 700px) {
  .tl-pd-ivgrid, .tl-pd-four, .tl-pd-perin { grid-template-columns: 1fr; }
  .tl-pd-fold { grid-template-columns: 1fr auto; }
  .tl-pd-card__rows > div { grid-template-columns: 1fr; gap: .1rem; }
  .tl-pd-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-pd-map__row { display: none; }
  .tl-pd-map__col--1 { grid-column: 1; border-left: 0; }
  .tl-pd-map__col--2 { grid-column: 2; }
  .tl-pd-quad--says { grid-column: 1; border-left: 0; }
  .tl-pd-quad--thinks { grid-column: 2; }
  .tl-pd-quad--does { grid-column: 1; border-left: 0; }
  .tl-pd-quad--feels { grid-column: 2; }
  .tl-pd-hmwin { flex-wrap: wrap; }
  .tl-pd-gaps > div { grid-template-columns: 1fr; }
  .tl-pd-people, .tl-pd-cards, .tl-pd-themes { grid-template-columns: 1fr; }
  .tl-pd-dups li { grid-template-columns: 1fr; gap: .3rem; }
  .tl-pd-bars__row { grid-template-columns: minmax(0, 1fr) 2.5rem; }
  .tl-pd-bars__track { grid-column: 1 / -1; grid-row: 2; }
  .tl-pd-scmtab th[scope="row"] { white-space: normal; }
  .tl-pd-factors, .tl-pd-test, .tl-pd-money { grid-template-columns: 1fr; }
  .tl-pd-ice td { text-align: left; }
  .tl-pd-canvas { grid-template-columns: 1fr; grid-template-areas: "cs" "vp" "ch" "cr" "rev" "kr" "ka" "kp" "cost"; }
  .tl-pd-cell { border-right: 0; border-bottom: 1px solid var(--line, #dde2e9); }
  .tl-pd-cell--cost { border-bottom: 0; }
  .tl-pd-cell--rev { border-bottom: 1px solid var(--line, #dde2e9); }
}
@media print {
  .tl-pd-quad li.is-hot, .tl-pd-sort tr.tl-pd-loose td, .tl-pd-bars__fill, .tl-pd-bars__track { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tl-pd-map, .tl-pd-card, .tl-pd-canvas, .tl-pd-sum { break-inside: avoid; }
  .tl-pd-cell.is-weak, .tl-pd-cell li.is-weak { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
