/* Free tools (Padam, 2026-11-17). Sits on top of content/guide.css (head, panel, sections, cards, myth, rel);
   this adds the form fields, result figures, breakdown tables and FAQ. Classes start with t- to stay clear of
   styles.css. */
.t-form { display: grid; gap: 14px; }
.t-field { display: grid; gap: 6px; min-width: 0; }
.t-field > label, .t-field > .t-label { font-size: .8rem; font-weight: 600; color: var(--text-mid); }
.t-hint { font-size: .75rem; color: var(--muted); line-height: 1.45; }
.t-input, .t-select, .t-area {
  width: 100%; min-width: 0; font: 500 .98rem/1.3 "Plus Jakarta Sans", sans-serif; color: var(--text);
  background: var(--surface2); border: 1px solid var(--border-hi); border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
.t-area { min-height: 180px; resize: vertical; line-height: 1.5; font-size: .92rem; }
.t-input:focus, .t-select:focus, .t-area:focus { outline: 2px solid var(--gold-text); outline-offset: 1px; border-color: transparent; }
.t-prefix { position: relative; }
.t-prefix > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.t-prefix .t-input { padding-left: 30px; }
.t-suffix { position: relative; }
.t-suffix > span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; pointer-events: none; }
.t-suffix .t-input { padding-right: 52px; }
.t-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.t-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.t-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.t-seg .chip[aria-pressed="true"] { background: var(--gold-text); border-color: var(--gold-text); color: var(--navy, #0A1026); }
.t-check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--text-mid); cursor: pointer; }
.t-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold-text); flex: none; }
.t-more { border-top: 1px dashed var(--border-hi); padding-top: 12px; }
.t-more > summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--gold-text); list-style: none; }
.t-more > summary::-webkit-details-marker { display: none; }
.t-more > summary::after { content: " ▾"; }
.t-more[open] > summary::after { content: " ▴"; }
.t-more > .t-form { margin-top: 12px; }

.t-big { font-family: "JetBrains Mono", monospace; font-size: clamp(1.9rem, 4.6vw, 2.5rem); font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.t-big small { display: block; font: 500 .78rem/1.4 "Plus Jakarta Sans", sans-serif; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.t-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.t-kpi { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--surface); display: grid; gap: 2px; min-width: 0; }
.t-kpi b { font-family: "JetBrains Mono", monospace; font-size: 1.05rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.t-kpi span { font-size: .74rem; color: var(--muted); }
.t-good { color: var(--green-text); } .t-warn { color: var(--gold-text); } .t-bad { color: var(--red-text); }
.t-note { font-size: .8rem; color: var(--text-mid); line-height: 1.5; margin: 0; }
.t-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.t-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.t-table th, .t-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.t-table th { font: 600 .7rem/1.3 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.t-table td.n, .t-table th.n { text-align: right; font-family: "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-table tr:last-child td { border-bottom: 0; }
.t-table tr.t-total td { font-weight: 700; color: var(--text); background: var(--surface2); }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.t-tag { font-size: .8rem; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--border-hi); color: var(--text); background: var(--surface); }
.t-tag.have { border-color: rgba(34,197,94,.45); color: var(--green-text); }
.t-tag.miss { border-color: rgba(244,89,91,.45); color: var(--red-text); }
.t-tag.nice { border-style: dashed; }
.t-tag i { font-style: normal; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: .72rem; margin-left: 4px; }
.t-sub { font: 600 .7rem/1.2 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 6px; }
.t-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t-job { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px 10px; align-items: end; background: var(--surface); }
.t-job .t-field { gap: 4px; }
.t-x { background: none; border: 1px solid var(--border-hi); color: var(--muted); border-radius: 8px; width: 40px; height: 44px; cursor: pointer; font-size: 1.1rem; }
.t-x:hover { color: var(--red-text); border-color: var(--red-text); }
.t-add { justify-self: start; }
.t-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.t-offer { border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: grid; gap: 10px; background: var(--surface); min-width: 0; }
.t-offer h3 { font-size: .95rem; margin: 0; }
.t-weight { display: grid; grid-template-columns: minmax(0, 1fr) 130px 30px; gap: 10px; align-items: center; font-size: .84rem; color: var(--text-mid); }
.t-weight input[type=range] { width: 100%; accent-color: var(--gold-text); }
.t-weight b { font-family: "JetBrains Mono", monospace; text-align: right; color: var(--text); }
.t-bar { height: 8px; border-radius: 4px; background: var(--border-hi); overflow: hidden; }
.t-bar i { display: block; height: 100%; border-radius: 4px; background: var(--gold-text); transition: width .3s; }
.t-winner { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.t-faq { display: grid; gap: 8px; }
.t-faq details { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding: 12px 16px; }
.t-faq summary { cursor: pointer; font-weight: 600; font-size: .95rem; list-style: none; }
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary::after { content: "+"; float: right; color: var(--gold-text); font-family: "JetBrains Mono", monospace; }
.t-faq details[open] summary::after { content: "−"; }
.t-faq p { color: var(--text-mid); font-size: .9rem; margin: 8px 0 0; line-height: 1.6; }
.t-src { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.t-src a { color: var(--text-mid); }
.t-copy { font-size: .8rem; }
[hidden] { display: none !important; }

/* The hub */
.t-hub { display: grid; gap: 28px; }
.t-pillar { display: grid; gap: 12px; }
.t-pillar-h { display: flex; align-items: baseline; gap: 10px 14px; flex-wrap: wrap; }
.t-pillar-h h2 { margin: 0; }
.t-pillar-h span { color: var(--muted); font-size: .86rem; }
.t-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.t-tool { display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.t-tool:hover { transform: translateY(-2px); border-color: var(--gold-text); }
.t-tool:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; }
.t-tool b { font-family: "Sora", sans-serif; font-size: 1rem; line-height: 1.3; }
.t-tool span { font-size: .85rem; color: var(--text-mid); line-height: 1.5; }
.t-tool em { font-style: normal; font: 600 .68rem/1 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
@media (prefers-reduced-motion: reduce) { .t-tool, .t-bar i { transition: none; } .t-tool:hover { transform: none; } }

@media (max-width: 760px) {
  .t-row, .t-row3, .t-offers { grid-template-columns: 1fr; }
  .t-job { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .t-job .t-x { grid-column: 2; justify-self: end; }
  .t-weight { grid-template-columns: minmax(0, 1fr) 110px 28px; }
}

/* In-hand salary v2 (2026-11-18): regime cards, break-even meter, CTC flow bar, levers, rules. */
.t-regimes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.t-regime { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: inherit; }
.t-regime[aria-pressed="true"] { border-color: var(--gold-text); box-shadow: inset 0 0 0 1px var(--gold-text); }
.t-regime b { font-family: "JetBrains Mono", monospace; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.t-regime span { font-size: .74rem; color: var(--muted); }
.t-regime .t-best { justify-self: start; font: 600 .62rem/1 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); }
.t-meter { display: grid; gap: 6px; }
.t-meter-bar { position: relative; height: 10px; border-radius: 5px; background: var(--border-hi); overflow: visible; }
.t-meter-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: var(--gold-text); transition: width .3s; }
.t-meter-bar b { position: absolute; top: -4px; width: 2px; height: 18px; background: var(--text); }
.t-meter-legend { display: flex; justify-content: space-between; gap: 10px; font-size: .74rem; color: var(--muted); flex-wrap: wrap; }
.t-flow { display: grid; gap: 6px; }
.t-flow-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--border-hi); }
.t-flow-bar i { display: block; height: 100%; min-width: 2px; }
.t-flow-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .74rem; color: var(--text-mid); }
.t-flow-key span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; background: var(--c); vertical-align: -1px; }
.t-levers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.t-lever { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--surface); display: grid; gap: 6px; align-content: start; }
.t-lever b { font-family: "Sora", sans-serif; font-size: .98rem; line-height: 1.3; }
.t-lever .t-gain { font-family: "JetBrains Mono", monospace; font-size: 1.15rem; color: var(--green-text); font-variant-numeric: tabular-nums; }
.t-lever p { margin: 0; font-size: .84rem; color: var(--text-mid); line-height: 1.5; }
.t-rules { display: grid; gap: 8px; }
.t-rule { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 4px 16px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: .86rem; }
.t-rule span { color: var(--text-mid); }
.t-rule em { font-style: normal; font: 500 .74rem/1.4 "JetBrains Mono", monospace; color: var(--muted); }
.t-rule em a { color: var(--muted); }
.t-range { width: 100%; accent-color: var(--gold-text); min-height: 32px; }
.t-work { display: grid; gap: 8px; align-content: start; }
.t-work h3 { margin: 0; font-size: .95rem; }
.t-table tr.t-cur td { background: var(--surface2); }
@media (max-width: 760px) {
  .t-regimes { grid-template-columns: 1fr 1fr; }
  .t-rule { grid-template-columns: 1fr; }
}
/* Long forms: on wide screens the results stay in view while the inputs scroll. */
@media (min-width: 900px) {
  .panel.t-wide { align-items: start; }
  .panel.t-wide .read { position: sticky; top: 84px; align-self: start; border-radius: 0 var(--r-md, 14px) var(--r-md, 14px) 0; }
}
.panel.t-wide { overflow: visible; }
/* Fields side by side share rows: labels line up, inputs line up, hints line up, whatever the text lengths. */
@supports (grid-template-rows: subgrid) {
  .t-row, .t-row3 { grid-template-rows: auto auto auto; align-items: start; row-gap: 6px; }
  .t-row > .t-field, .t-row3 > .t-field { grid-row: span 3; display: grid; grid-template-rows: subgrid; gap: 0; }
  .t-row > .t-field > label, .t-row3 > .t-field > label, .t-row > .t-field > .t-label { align-self: end; }
}

.t-workings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; align-items: start; }

/* In-hand v3 */
.t-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 12px 0 0; font-size: .84rem; }
.t-dl dt { font-weight: 700; color: var(--text); }
.t-dl dd { margin: 0; color: var(--text-mid); line-height: 1.5; }
.t-alerts { display: grid; gap: 8px; }
.t-alert { font-size: .84rem; line-height: 1.5; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-mid); }
.t-alert.warn { border-color: rgba(240, 165, 0, .45); }
.t-alert.ok { border-color: rgba(34, 197, 94, .45); }
.t-alert b { color: var(--text); }
.t-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--surface); border-top: 1px solid var(--gold-text); box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
.t-dock b { font-family: "JetBrains Mono", monospace; font-size: 1.15rem; display: block; }
.t-dock span { font-size: .74rem; color: var(--muted); }
@media (min-width: 900px) { .t-dock { display: none !important; } }
.t-cmp td.n b { color: var(--green-text); }
@media (max-width: 640px) {
  .t-slip .t-sm-hide { display: none; }
  .t-slip td, .t-slip th { padding: 8px 5px; font-size: .78rem; }
  .t-slip th { letter-spacing: 0; font-size: .64rem; }
  .t-slip td:first-child { white-space: nowrap; }
  .t-dl { grid-template-columns: 1fr; gap: 2px; }
  .t-dl dd { margin-bottom: 6px; }
}
.t-each { display: block; font-size: .72rem; }
@media (max-width: 899px) { body.t-docked .back-to-top { display: none; } }
.t-linkbtn { font: inherit; color: var(--gold-text); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
/* Salary hike: the same hike read five ways, the benchmark scale, the script to say. */
.t-ladder { display: grid; gap: 7px; }
.t-lad { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 64px; align-items: center; gap: 10px; font-size: .82rem; }
.t-lad span { color: var(--text-mid); line-height: 1.3; }
.t-lad span em { display: block; font-style: normal; font-size: .7rem; color: var(--muted); }
.t-lad i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-text) var(--w), var(--border-hi) var(--w)); }
.t-lad b { font-family: "JetBrains Mono", monospace; text-align: right; font-variant-numeric: tabular-nums; }
.t-lad b.neg { color: var(--red-text); }
.t-lad.is-key span { color: var(--text); font-weight: 600; }
.t-lad.is-key i { background: linear-gradient(90deg, var(--green-text) var(--w), var(--border-hi) var(--w)); }
.t-scale { display: grid; gap: 6px; }
.t-scale-bar { position: relative; height: 10px; border-radius: 5px; background: var(--border-hi); }
.t-scale-bar .t-band { position: absolute; top: 0; bottom: 0; background: rgba(91, 141, 239, .45); border-radius: 5px; }
.t-scale-bar .t-mk { position: absolute; top: -4px; width: 3px; height: 18px; margin-left: -1px; border-radius: 2px; }
.t-mk.avg, .t-scale-key .k-avg::before { background: var(--muted); }
.t-mk.you, .t-scale-key .k-you::before { background: var(--gold-text); }
.t-scale-key .k-band::before { background: rgba(91, 141, 239, .7); }
.t-scale-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .74rem; color: var(--text-mid); }
.t-scale-key span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.t-say { border: 1px solid var(--border); border-left: 3px solid var(--gold-text); border-radius: 10px; padding: 12px 16px; background: var(--surface); display: grid; gap: 8px; }
.t-say p { margin: 0; line-height: 1.55; }
@media (max-width: 640px) { .t-cmp td, .t-cmp th { padding: 8px 4px; font-size: .74rem; } .t-cmp th { letter-spacing: 0; font-size: .62rem; } .t-cmp td:first-child { min-width: 92px; } }
/* CGPA: how far sources agree, the range across formulas, a resume line, single-column panels, pass marks. */
.t-badge { justify-self: start; font: 600 .66rem/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--border); color: var(--text-mid); }
.t-badge[data-k="agree"], .t-badge[data-k="most"] { color: var(--green-text); border-color: rgba(34, 197, 94, .45); }
.t-badge[data-k="differ"] { color: var(--gold-text); border-color: rgba(240, 165, 0, .45); }
.t-badge:empty { display: none; }
.t-range-read { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; font: 600 .82rem/1.2 "JetBrains Mono", monospace; }
.t-range-read i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-text), var(--green-text)); }
.t-range-read em { grid-column: 1 / -1; font: 400 .72rem/1.3 "Plus Jakarta Sans", sans-serif; color: var(--muted); font-style: normal; }
.t-range-read:empty { display: none; }
.t-copyline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.t-copyline code { font: 500 .82rem/1.4 "JetBrains Mono", monospace; padding: 8px 10px; border: 1px dashed var(--border-hi); border-radius: 8px; overflow-wrap: anywhere; flex: 1 1 200px; }
.panel.t-plain { display: grid; gap: 14px; padding: 18px; grid-template-columns: minmax(0, 1fr); }
.t-kpis3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-sem td { vertical-align: middle; }
.t-sem .t-input { max-width: 120px; padding: 8px 10px; }
.t-ok { color: var(--green-text); font-weight: 600; }
.t-bad { color: var(--red-text); font-weight: 600; }
.t-warn { color: var(--gold-text); font-weight: 600; }
@media (max-width: 640px) { .t-kpis3 { grid-template-columns: 1fr 1fr; } .t-sem .t-input { max-width: 86px; } }
.t-sem { table-layout: fixed; }
.t-sem th:nth-child(1), .t-sem td:nth-child(1) { width: 22%; }
.t-sem th:nth-child(4), .t-sem td:nth-child(4) { width: 56px; }
@media (max-width: 640px) { .t-sem .t-input { max-width: none; width: 100%; } .t-sem td, .t-sem th { padding: 6px 4px; font-size: .8rem; } }
/* Notice period: the gap to the join-by date, a dated timeline, two messages side by side. */
.t-gapbox { display: grid; gap: 4px; font-size: .84rem; line-height: 1.45; color: var(--text-mid); padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.t-gapbox:empty { display: none; }
.t-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; display: grid; gap: 10px; border-left: 2px solid var(--border-hi); }
.t-timeline li { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 10px; font-size: .82rem; }
.t-timeline li::before { content: ""; position: absolute; left: -20px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--border-hi); }
.t-timeline li.is-key::before { background: var(--gold-text); }
.t-timeline b { font: 600 .78rem/1.4 "JetBrains Mono", monospace; }
.t-timeline span { font-weight: 600; }
.t-timeline em { grid-column: 2; font-style: normal; font-size: .74rem; color: var(--muted); }
.t-say-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.t-say-grid > div { display: grid; gap: 8px; justify-items: start; }
.t-say-grid .t-say { justify-self: stretch; }
/* Experience: job cards with options, a timeline of jobs, formats to copy. */
.t-job2 .t-co { grid-column: 1 / -1; }
.t-job2 .t-x { grid-row: 1; grid-column: 3; align-self: start; }
.t-job2 .t-co { grid-column: 1 / 3; }
.t-jobopts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.t-select.t-sm { width: auto; padding: 6px 10px; font-size: .82rem; }
.t-gantt { display: grid; gap: 6px; font-size: .74rem; }
.t-gantt:empty { display: none; }
.t-g-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 8px; }
.t-g-row > span { color: var(--text-mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-g-row > div { position: relative; height: 10px; border-radius: 5px; background: var(--border); }
.t-g-row i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: #5B8DEF; }
.t-g-row i.g-rel, .t-g-key .k-rel::before { background: var(--gold-text); }
.t-g-row i.g-off, .t-g-key .k-off::before { background: transparent; border: 1px dashed var(--muted); }
.t-g-key .k-other::before { background: #5B8DEF; }
.t-g-axis { display: flex; justify-content: space-between; margin-left: 104px; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: .68rem; }
.t-g-key { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--text-mid); }
.t-g-key span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; box-sizing: border-box; }
.t-formats { display: grid; gap: 6px; }
.t-fmt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.t-fmt span { grid-column: 1; font-size: .72rem; color: var(--muted); }
.t-fmt code { grid-column: 1; font: 600 .86rem/1.3 "JetBrains Mono", monospace; overflow-wrap: anywhere; }
.t-fmt .btn { grid-column: 2; grid-row: 1 / 3; }
.t-table tr.t-off td { color: var(--muted); }
@media (max-width: 480px) {
  .t-job2 { grid-template-columns: minmax(0, 1fr) auto; }
  .t-job2 .t-co { grid-column: 1; }
  .t-job2 .t-x { grid-column: 2; }
  .t-job2 > .t-field:not(.t-co) { grid-column: 1 / -1; }
}
.t-table tr.t-grp td { font: 600 .66rem/1.2 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: transparent; padding-top: 14px; }
.t-big2 { display: grid; gap: 2px; padding: 8px 12px; border-left: 3px solid var(--green-text); background: var(--surface); border-radius: 0 8px 8px 0; }
.t-big2 b { font: 600 1.2rem/1.2 "JetBrains Mono", monospace; }
.t-big2 span { font-size: .76rem; color: var(--muted); }
@media (max-width: 640px) {
  #per thead { display: none; }
  #per tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
  #per td { padding: 0; border: 0; }
  #per td:nth-child(2), #per td:nth-child(4) { grid-column: 1 / -1; font-size: .8rem; color: var(--text-mid); }
}
/* In-hand: a result card under the CTC box on phones, and the ask under every structure. */
.t-mini { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 10px; padding: 10px 12px; border: 1px solid var(--gold-text); border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none; }
.t-mini b { font: 600 1.25rem/1.1 "JetBrains Mono", monospace; }
.t-mini span { font-size: .78rem; color: var(--text-mid); }
.t-mini em { grid-column: 1 / -1; font-style: normal; font-size: .74rem; color: var(--gold-text); }
@media (min-width: 900px) { .t-mini { display: none !important; } }
.t-across { display: grid; gap: 6px; margin-top: 10px; }
.t-across:empty { display: none; }
.t-across .t-table td { font-size: .78rem; padding: 6px 8px; }
/* Notice: the one-line summary and copy buttons right under the dates. */
.t-quick { display: grid; gap: 6px; }
.t-quick p { margin: 0; font-size: .86rem; color: var(--text-mid); }
.t-fold > summary { font: 600 .7rem/1.2 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.t-fold[open] > summary { margin-bottom: 8px; }
@media print {
  body.v2 .site-header, body.v2 header, body.v2 .site-footer, body.v2 footer, .breadcrumb, .t-hero, .desc, .cta-row, .t-src, .back-to-top, .t-dock, .t-mini, #gap-sec, .t-formats, .t-faq, .myth, .rel, .cards, .t-rules, .t-copy { display: none !important; }
  .sec { content-visibility: visible !important; break-inside: avoid; }
  .panel, .panel.t-wide { display: block !important; border: 0 !important; }
  .read { position: static !important; }
  body { background: #fff !important; color: #000 !important; }
}
@media print { main > .sec:not(:has(#per)) { display: none !important; } .read .t-sub, .read .est { display: none !important; } }

/* Keyword Match and JD Extractor v2 (2026-11-18): file reading, marked-up documents, fix list, checks, signals. */
.t-drop-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-drop-h > label:first-child { font-size: .8rem; font-weight: 600; color: var(--text-mid); }
.t-file { position: relative; cursor: pointer; }
.t-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.t-file:focus-within { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.t-drop .t-area { min-height: 170px; }
.t-drop.is-over .t-area { outline: 2px dashed var(--gold-text); outline-offset: 2px; }
.t-status.t-bad { color: var(--red-text); }
.t-example { font-size: .78rem; margin: 0 0 8px; padding: 6px 10px; border-radius: 8px; border: 1px dashed var(--gold-text); color: var(--gold-text); }
.t-jd-title { font-size: 1.25rem; margin: 0; line-height: 1.25; overflow-wrap: anywhere; }
.t-doc { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; line-height: 1.65; color: var(--text-mid); border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding: 14px 16px; max-height: 460px; overflow-y: auto; margin-top: 10px; }
.t-doc mark, .t-key mark { color: var(--text); border-radius: 4px; padding: 0 3px; background: transparent; border-bottom: 2px solid; }
.k-have { background: rgba(34,197,94,.14) !important; border-color: rgba(34,197,94,.8) !important; }
.k-miss { background: rgba(244,89,91,.14) !important; border-color: rgba(244,89,91,.85) !important; }
.k-req { background: rgba(240,165,0,.16) !important; border-color: rgba(240,165,0,.9) !important; }
.k-rel, .k-listed { background: rgba(240,165,0,.14) !important; border-color: rgba(240,165,0,.85) !important; }
.k-nice, .k-soft { background: rgba(120,140,200,.12) !important; border-color: rgba(120,140,200,.7) !important; border-bottom-style: dashed !important; }
.t-key { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .78rem; margin: 10px 0 0; }
.t-fixes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: fx; }
.t-fixes li { counter-increment: fx; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; font-size: .88rem; line-height: 1.5; padding: 10px 12px; border: 1px solid var(--border); border-left-width: 3px; border-radius: 10px; background: var(--surface); color: var(--text-mid); }
.t-fixes li.high { border-left-color: var(--red-text); } .t-fixes li.medium { border-left-color: var(--gold-text); } .t-fixes li.low { border-left-color: var(--border-hi); }
.t-lvl { font: 600 .66rem/1.9 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-width: 52px; }
.t-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.t-checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: .86rem; line-height: 1.5; color: var(--text-mid); }
.t-checks li > span { font-weight: 700; text-align: center; }
.t-checks li.ok > span { color: var(--green-text); } .t-checks li.warn > span { color: var(--gold-text); } .t-checks li.bad > span { color: var(--red-text); }
.t-checks small { display: block; color: var(--muted); font-size: .78rem; }
.t-skills td:nth-child(2) { white-space: nowrap; }
.t-flags { display: grid; gap: 8px; }
.t-flags:empty { display: none; }
.t-flag { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; font-size: .86rem; line-height: 1.5; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-mid); }
.t-flag b { font: 700 .66rem/1.9 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.t-flag.stop { border-color: rgba(244,89,91,.6); } .t-flag.stop b { color: var(--red-text); }
.t-flag.check { border-color: rgba(240,165,0,.5); } .t-flag.check b { color: var(--gold-text); }
.t-flag.note b { color: var(--muted); }
.t-qs { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: .9rem; line-height: 1.5; color: var(--text); }
.t-qs .t-hint { display: block; }
@media (max-width: 640px) { .t-skills td, .t-skills th { padding: 8px 6px; font-size: .8rem; } .t-skills td:nth-child(2) { white-space: normal; } .t-doc { max-height: 360px; padding: 12px; } }

/* Job Offer Comparison v2 (2026-11-18) */
.t-offers3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.t-offer-h { display: flex; gap: 8px; align-items: center; }
.t-oname { font-weight: 700; }
.t-big-name { font-family: "Sora", sans-serif; font-size: clamp(1.3rem, 3.2vw, 1.7rem); overflow-wrap: anywhere; }
.t-obars { display: grid; gap: 8px; margin: 4px 0 10px; }
.t-obar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: .8rem; color: var(--text-mid); }
.t-obar .t-bar { grid-column: 1 / -1; grid-row: 2; }
.t-obar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-obar b { font-family: "JetBrains Mono", monospace; color: var(--text); }
.t-flips { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; font-size: .88rem; line-height: 1.5; color: var(--text-mid); }
.t-okey { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 .78rem/1 "JetBrains Mono", monospace; background: var(--gold-text); color: var(--navy, #0A1026); }
/* Phones: offers side by side as a swipeable row, one card on screen at a time; first table column stays put. */
@media (max-width: 640px) {
  .t-offers.t-offers3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; grid-template-columns: none; }
  .t-offers3 > .t-offer { flex: 0 0 88%; scroll-snap-align: start; }
  .t-cmp td:first-child, .t-cmp th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
}
.t-cmp .t-hint { display: block; }
.t-offer { align-content: start; } .t-offers3 > .t-offer { align-self: flex-start; }
.t-dock b.t-dock-name { font: 700 .92rem/1.25 "Sora", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 58vw; }
/* Shared hero, sample stage, tool panel and dashboard frame (Chief of Design, 2026-11-20): the free tools join the
   Resume Score family of pages (gp-v2.css .v2-hero, .v2-kicker, .v2-proof, .v2-window). One gold hue for every tool. */
.t-page { display: block; }
.t-wrap { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.v2 .t-wrap { width: min(calc(100% - 2 * var(--v2-gutter)), var(--v2-max)); }
/* The glow fades out at the foot of the hero instead of ending on a line. */
.t-hero .v2-hero-bg { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.t-hue { --gp-h: #FFD56A; --gp-ht: #FFE08A; }
[data-theme="light"] .t-hue { --gp-h: #B07100; --gp-ht: #8F5F00; }
.v2 .t-hero { padding-block: clamp(22px, 2.4vw, 40px) clamp(30px, 3.4vw, 52px); }
.t-hero .v2-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; }
.t-hero.is-solo .v2-hero-grid { grid-template-columns: minmax(0, 1fr); }
.t-hero.is-solo .v2-lead { max-width: 720px; }
.v2 .t-hero h1 { font-size: clamp(2.05rem, 1.3rem + 2.7vw, 3.35rem); line-height: 1.06; margin: 16px 0 16px; text-wrap: balance; }
.v2 .t-hero h1 .accent { padding-inline-end: .1em; margin-inline-end: -.1em; }
.t-hero .v2-lead { margin-bottom: 24px; max-width: 590px; }
.t-hero .v2-proof { margin-top: 20px; }
.t-hero .v2-actions + .v2-proof { margin-top: 22px; }
.t-jump { display: inline-flex; align-items: center; gap: 10px; }
.t-jump svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.t-jump:hover svg { transform: translateY(2px); }
.t-anchor { scroll-margin-top: 84px; }
.t-stage { width: 100%; max-width: 520px; margin-left: auto; }
/* The SAMPLE picture: a window with the output, and up to one card that overlaps its lower edge (.v2-overlap). */
.t-stage .v2-window-body { display: grid; gap: 14px; }
.t-s-big { font: 600 clamp(1.6rem, 7cqi, 2.3rem)/1.05 "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--text); }
.t-s-big small { display: block; margin-top: 6px; font: 500 .78rem/1.4 "Plus Jakarta Sans", sans-serif; color: var(--text-dim, var(--muted)); letter-spacing: 0; }
.t-s-label { font: 700 .68rem/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim, var(--muted)); }
.t-s-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--text-mid); }
.t-s-row b { font-family: "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.t-s-bar { height: 8px; border-radius: 4px; background: var(--border-hi); overflow: hidden; }
.t-s-bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: 4px; background: var(--grad-gold, var(--gold-text)); transition: width 1s var(--ease-out, ease-out); }
.t-s-bar.is-green i { background: var(--green-text); }
.t-s-bar.is-blue i { background: #5B8DEF; }
.t-s-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.t-s-chip { font-size: .76rem; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border-hi); color: var(--text-mid); background: var(--surface); }
.t-s-chip.is-have { color: var(--green-text); border-color: color-mix(in srgb, var(--green-text) 45%, transparent); }
.t-s-chip.is-miss { color: var(--gold-text); border-color: color-mix(in srgb, var(--gold-text) 45%, transparent); }
.t-stage .v2-overlap { width: min(78%, 330px); }
.t-stage .v2-overlap > div { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border: 1px solid var(--glass-line, var(--border-hi)); border-radius: 18px; box-shadow: var(--shadow-float, var(--shadow-card)); padding: 14px 16px; display: grid; gap: 8px; }
.v2-motion .t-stage[data-anim]:not(.is-in) .t-s-bar i { width: 0; }
.v2-motion .t-stage .v2-overlap > div { animation: v2-bob 7s var(--ease-io, ease-in-out) infinite; }

/* The tool itself: the same window treatment as the product pictures. */
.v2 .seo-main > .panel, .v2 .seo-main > .panel.t-wide { border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow-card); }
.v2 .seo-main > .panel:not(.t-wide) { overflow: hidden; }

/* Signed-in visitors: a slim bar that opens the same tool inside the dashboard (set by tools-signed-in in the shell). */
.t-dashbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--border-hi); border-radius: 14px; background: var(--surface); font-size: .86rem; color: var(--text-mid); }
.t-dashbar a { font-weight: 700; color: var(--gold-text); text-underline-offset: 3px; }

/* Framed in the dashboard Miscellaneous tab (dash-embed.js adds .gp-embed): no site chrome, no marketing. */
.gp-embed .breadcrumb, .gp-embed .t-hero .v2-hero-bg, .gp-embed .t-stage, .gp-embed .t-hero .v2-proof, .gp-embed .t-hero .v2-actions,
.gp-embed .seo-main > .sec:has(> .rel), .gp-embed .t-dashbar { display: none !important; }
.gp-embed body { background: transparent; }
.gp-embed .t-hero { padding-block: 0 18px; }
.gp-embed .t-hero .v2-hero-grid { grid-template-columns: minmax(0, 1fr); }
.gp-embed .t-hero h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 12px 0 8px; }
.gp-embed .t-hero .v2-lead { font-size: .95rem; margin-bottom: 0; max-width: 760px; }
.gp-embed body.v2 .t-wrap, .gp-embed body.v2 .seo-main { width: 100%; }
.gp-embed .seo-main { padding-bottom: 24px; }
.gp-embed .t-dock { display: none !important; }

@media (max-width: 899px) {
  .t-hero .v2-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .t-stage { display: none; }
}
@media (max-width: 640px) {
  .v2 .t-hero { padding-block: 14px 22px; }
  .t-hero .v2-lead { font-size: 1rem; margin-bottom: 18px; }
  .t-hero .v2-proof { gap: 6px 16px; }
  .t-hero .v2-actions:has(.t-jump) { display: none; }
  .t-hero .v2-lead + .v2-actions + .v2-proof { margin-top: 0; }
  .t-seg .chip { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .t-s-bar i, .t-jump svg { transition: none; } .t-stage .v2-overlap > div { animation: none !important; } }
@media print { .t-hero, .t-dashbar { display: none !important; } .seo-main > .sec:not(:has(#per)) { display: none !important; } }
/* Phones: the round back-to-top button sat on top of buttons in the results (Copy, Copy link). Phones already
   scroll to the top from the status bar, so it stays off there. */
@media (max-width: 640px) { body[data-source-page^="tool"] .back-to-top { display: none !important; } }
.t-table-wrap:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
/* Phones: while the result dock shows, the page and a focused field keep clear of it. */
@media (max-width: 899px) { body.t-docked { padding-bottom: 76px; } html:has(body.t-docked) { scroll-padding-bottom: 92px; } }
