/* Texas Property Protest, Harris County property tax calculator. Loaded AFTER home.css and texas.css and only holds what the page needs
   beyond them. Every class here is prefixed tc-. Same palette, fonts, 2px ink borders and hard offset shadows as the rest of the site.
   No inline styles anywhere: the site's CSP only allows stylesheets from this origin. */

/* ---------- Header: the sign-up button reads Start with my address; it and the brand stay on one line each ---------- */
.top .btn{white-space:nowrap}
.top .wrap{gap:16px}
.top .nav{gap:20px}
@media (min-width:701px){
  .top .brand b,.top .brand small{white-space:nowrap}
}
@media (min-width:701px) and (max-width:1290px){
  .top .brand small{display:none}
}
/* The five in-page links give way to the two buttons before anything overflows */
@media (max-width:1180px){
  .top .nav{display:none}
  .top .tx-login{margin-left:auto}
}

/* ---------- Hero ---------- */
.tc-hero{padding:clamp(0px,.8vw,8px) 0 clamp(22px,3vw,38px)}
.tc-crumbs ol{display:flex;flex-wrap:wrap;align-items:center;font:500 .8rem/1.2 var(--mono);letter-spacing:.06em;text-transform:uppercase}
.tc-crumbs li:not(:last-child)::after{content:"\203A";margin:0 10px;color:var(--red)}
.tc-crumbs a{display:inline-block;padding:16px 0;color:var(--navy-2);text-decoration:none}
.tc-crumbs li:first-child a{min-width:44px}
.tc-crumbs li:first-child::after{margin-left:0}
.tc-crumbs a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.tc-crumbs [aria-current]{display:inline-block;padding:15px 0;color:var(--mute)}
.tc-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(20px,4vw,56px);align-items:center;margin-top:clamp(4px,1vw,12px)}
.tc-hero h1{font-size:clamp(2.2rem,1.15rem + 3.6vw,3.5rem)}
.tc-answer{margin-top:18px;max-width:66ch;text-wrap:balance;font-size:clamp(1.02rem,.96rem + .35vw,1.18rem);color:var(--ink-2)}
.tc-hero-art{width:clamp(120px,14vw,170px);height:auto;transform:rotate(3deg)}
/* The trust chips under the H1: the first screen says whose calculator this is */
.tc-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.tc-chips li{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:5px 14px 5px 8px;background:#fff;border:var(--bd);border-radius:999px;box-shadow:2px 2px 0 var(--ink);font-weight:700;font-size:.88rem;line-height:1.2}
.tc-chips .tx-chip-ico{width:26px;height:26px}
@media (max-width:700px){
  .tc-hero-grid{grid-template-columns:1fr}
  .tc-hero-art{display:none}
  /* The first screen: what it is, one short paragraph, then the field. The third chip repeats the header. */
  .tc-a-more,.tc-chips .tc-chip-extra{display:none}
  .tc-hero{padding-bottom:14px}
  .tc-answer{margin-top:10px;font-size:.95rem;line-height:1.45}
  .tc-chips{margin-top:12px}
  /* The header shows the sign-up button instead of Log in, which moves to the footer on this page */
  .top .btn{display:inline-flex;align-items:center;min-height:44px;margin-left:auto;padding:10px 10px;font-size:.68rem;letter-spacing:.02em;white-space:nowrap}
  .top .tx-login{display:none}
  .top .brand{min-width:0}
  .top .brand small{display:none}
  .top .brand b{font-size:.88rem}
}
@media (max-width:359px){
  .top .btn{display:none}
}

/* ---------- The calculator: inputs, the total, the table ---------- */
.tc-main{padding:0 0 clamp(44px,6vw,84px)}
.tc-grid{display:flex;flex-direction:column;gap:20px;align-items:stretch}
.tc-right{display:contents}

/* The estimate strip. On phones it sticks to the top while the inputs scroll under it. */
.tc-total{order:-1;position:sticky;top:8px;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"l n" "s s";align-items:center;column-gap:12px;row-gap:2px;padding:12px 16px;background:var(--navy);color:#fff;border:var(--bd);border-radius:18px;box-shadow:4px 4px 0 var(--ink)}
.tc-total-t{display:contents}
.tc-total-l{grid-area:l;font:500 .72rem/1.2 var(--mono);letter-spacing:.07em;text-transform:uppercase;color:#bcd0f5}
.tc-total-s{grid-area:s;font-size:.84rem;line-height:1.3;color:#dfe7fb;text-wrap:balance}
.tc-total-n{grid-area:n;font:800 clamp(1.8rem,1.3rem + 2.2vw,2.8rem)/1 var(--disp);letter-spacing:-.03em;color:var(--sun);white-space:nowrap}
.tc-total.is-stale .tc-total-n{font-size:1.15rem;color:#dfe7fb}
.tc-total.is-stale .tc-total-s{color:var(--sun);font-weight:600}

.tc-form{display:grid;gap:22px;background:#fff;border:var(--bd);border-radius:26px;box-shadow:6px 6px 0 var(--ink);padding:clamp(18px,2.6vw,30px)}
.tc-h{font:800 1.5rem/1 var(--disp);text-transform:uppercase;letter-spacing:-.02em}
.tc-h--s{font-size:1.3rem}
.tc-example{min-height:5.6em;font-size:.86rem;line-height:1.4;color:var(--ink-2)}
@media (min-width:701px){.tc-example{min-height:2.9em}}

.tc-fs{min-width:0;margin:0;padding:0;border:0}
.tc-field{display:grid;gap:6px;min-width:0}
.tc-field > label,.tc-fs > legend{padding:0;font-weight:700;font-size:.95rem}
.tc-fs > legend{margin-bottom:8px}
.tc-opt{margin-left:6px;font-weight:600;font-size:.8rem;color:var(--mute)}
.tc-help{font-size:.86rem;line-height:1.4;color:var(--mute)}
.tc-err{font-size:.9rem;line-height:1.4;font-weight:700;color:var(--red-d)}

.tc-input,.tc-select{display:block;width:100%;min-height:54px;padding:12px 14px;font:inherit;font-size:1rem;color:var(--ink);background-color:#fff;border:var(--bd);border-radius:12px}
.tc-input:focus-visible,.tc-select:focus-visible{outline-offset:1px}
.tc-input[aria-invalid="true"],.tc-select[aria-invalid="true"]{border-color:var(--red)}
.tc-select{-webkit-appearance:none;appearance:none;padding-right:44px;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2312203a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px}
.tc-select option{background-color:#fff;color:var(--ink)}
.tc-money{position:relative}
.tc-money > span{position:absolute;left:16px;top:50%;transform:translateY(-50%);font:800 1.5rem/1 var(--disp);color:var(--mute);pointer-events:none}
.tc-money .tc-input{min-height:60px;padding-left:36px;font:800 1.6rem/1.1 var(--disp);letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.tc-input[type="search"]{-webkit-appearance:none;appearance:none}

/* Yes or No: two big buttons made from radios */
.tc-seg{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tc-seg label{position:relative;display:flex;align-items:center;justify-content:center;min-height:54px;background:#fff;border:var(--bd);border-radius:14px;font-weight:700;cursor:pointer;touch-action:manipulation;transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s,background-color .15s}
.tc-seg input{position:absolute;opacity:0;width:1px;height:1px}
.tc-seg label:has(input:checked){background:var(--sun);box-shadow:3px 3px 0 var(--ink);transform:translate(-1px,-1px)}
.tc-seg label:has(input:focus-visible){outline:3px solid var(--navy-2);outline-offset:3px}
/* Three choices in one row (the over-65 / disability question): No, Over 65, Disability. Each tap target stays 54px tall. */
.tc-seg--3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tc-seg--3 label{padding:6px 4px;text-align:center;font-size:.95rem;line-height:1.2}
/* The helper starts clear of the buttons, their focus ring and the offset shadow of the selected one */
.tc-seg + .tc-help{margin-top:12px}
/* On the narrowest phones the three answers stack, so each full label fits at any text size */
@media (max-width:359px){
  .tc-seg--3{grid-template-columns:1fr}
}
/* hidden loses to any display rule, so say it beside the rule that sets display on this block */
.tc-fs[hidden],.tc-ceiling[hidden]{display:none}

/* The unit list: a search box and a box of checkboxes. Each row is one tap target. */
.tc-list,.tc-on{border:var(--bd);border-radius:14px;background:var(--sky-2);overflow:hidden}
/* A fixed height, so nothing below moves when the list loads or a search shortens it. */
.tc-list{height:340px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.tc-list-empty{padding:18px 16px;font-size:.92rem;color:var(--ink-2)}
.tc-check{display:flex;align-items:center;gap:12px;min-height:54px;padding:8px 14px;cursor:pointer;touch-action:manipulation;border-top:1px solid rgba(18,32,58,.2);transition:background-color .15s}
.tc-list .tc-check:first-child,.tc-on li:first-child .tc-check{border-top:0}
.tc-check:hover{background:#fff}
.tc-check:has(input:checked){background:#fff3c4}
.tc-check:has(input:focus-visible){outline:3px solid var(--navy-2);outline-offset:-3px}
.tc-check input{flex:none;width:24px;height:24px;margin:0;accent-color:var(--red)}
.tc-check b{display:block;font-weight:700;line-height:1.25}
.tc-check small{display:block;font-size:.84rem;line-height:1.3;color:var(--mute)}
.tc-on .tc-check,.tc-on .tc-check:hover,.tc-on .tc-check:has(input:checked){cursor:default;background:#fff}
.tc-check--on input{accent-color:var(--navy-2)}
.tc-check--on input:disabled{opacity:1}
.tc-search{margin-bottom:10px}
/* A keyboard user can step past the long unit list. Hidden until it has focus. */
.tc-skiplist{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.tc-skiplist:focus{position:static;width:auto;height:auto;margin:0 0 10px;overflow:visible;clip:auto;clip-path:none;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;background:var(--ink);color:#fff;border-radius:10px;font-weight:700;text-decoration:none}
.tc-listnote{margin-top:8px;min-height:2.9em;font-size:.86rem;line-height:1.45;color:var(--mute)}
/* The long unit list folds under one summary line. On a phone it starts folded; the count of picked units stays in the summary. */
.tc-others-box{border:var(--bd);border-radius:14px;background:#fff}
.tc-others-box > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:8px 14px;font-weight:700;font-size:.95rem;cursor:pointer;list-style:none;touch-action:manipulation}
.tc-others-box > summary::-webkit-details-marker{display:none}
.tc-others-box > summary::after{content:"+";flex:none;font:800 1.4rem/1 var(--disp)}
.tc-others-box[open] > summary::after{content:"\2212"}
.tc-others-box > summary:focus-visible{outline:3px solid var(--navy-2);outline-offset:-3px;border-radius:12px}
.tc-others-box > .tc-fs{padding:0 14px 14px}
.tc-on-phone{display:none}
@media (max-width:700px){
  .tc-on-phone{display:block}
  .tc-on-fs{display:none}
}

/* On wide screens the inputs sit left, the estimate right. */
@media (min-width:1060px){
  .tc-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:28px;align-items:start}
  .tc-right{display:block}
  .tc-right > * + *{margin-top:20px}
  .tc-total{order:0;top:12px;padding:16px 22px;display:flex;justify-content:space-between;gap:12px}
  .tc-total-t{display:block;min-width:0}
  .tc-total-n{flex:none}
  .tc-total-s{margin-top:3px;font-size:.88rem}
}

/* ---------- The detail: the line under the total, the table, the label ---------- */
.tc-detail{display:grid;gap:14px}
.tc-per{font-weight:700;font-size:1.08rem;padding:14px 16px;background:#fff;border:var(--bd);border-radius:14px}
.tc-pernote{font-size:.9rem;color:var(--ink-2);max-width:68ch}
.tc-detail.is-stale .tc-per{opacity:.45}
.tc-tblwrap{background:#fff;border:var(--bd);border-radius:var(--r);box-shadow:4px 4px 0 var(--ink);overflow:hidden;transition:opacity .2s}
.tc-tblwrap.is-stale{opacity:.5}
.tc-tbl{width:100%;border-collapse:collapse;font-size:.95rem}
.tc-tbl th,.tc-tbl td{padding:12px 14px;text-align:right;vertical-align:top}
.tc-tbl tbody tr,.tc-tbl tfoot tr{border-top:1px solid #cdd5e3}
.tc-tbl thead th{background:var(--sky-2);font:500 .72rem/1.3 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ink-2)}
.tc-tbl th[scope="row"],.tc-tbl thead th:first-child{text-align:left}
.tc-tbl tbody th b{display:block;font-weight:700;line-height:1.25}
.tc-tbl tbody th small{display:block;margin-top:2px;font-size:.8rem;font-weight:400;color:var(--mute)}
.tc-tbl .tc-c-tax{font-weight:700;color:var(--ink)}
/* the tax year of a line's rate, under the rate */
.tc-tbl .tc-c-rate small{display:block;margin-top:2px;white-space:nowrap;font-size:.78rem;font-weight:400;line-height:1.3;color:var(--mute)}
.tc-tbl tfoot tr{border-top:var(--bd)}
.tc-tbl tfoot th,.tc-tbl tfoot td{background:var(--sun);font:800 1.05rem/1.2 var(--disp);letter-spacing:-.01em;color:var(--ink)}
.tc-tbl tfoot th{text-transform:uppercase;letter-spacing:-.005em}

@media (max-width:700px){
  .tc-tbl,.tc-tbl tbody,.tc-tbl tfoot{display:block}
  .tc-tbl thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
  .tc-tbl tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"n n t" "r e x";gap:4px 10px;padding:12px 16px}
  .tc-tbl tbody tr:first-child{border-top:0}
  .tc-tbl th,.tc-tbl td{padding:0;border:0;text-align:left}
  .tc-tbl tbody th{grid-area:n}
  .tc-tbl .tc-c-tax{grid-area:t;text-align:right}
  .tc-tbl .tc-c-rate{grid-area:r}
  .tc-tbl .tc-c-ex{grid-area:e}
  .tc-tbl .tc-c-tv{grid-area:x}
  .tc-tbl td[data-l]:not(.tc-c-tax)::before{content:attr(data-l);display:block;font:500 .66rem/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--mute)}
  .tc-tbl td:not(.tc-c-tax){font-size:.9rem;color:var(--ink-2)}
  .tc-tbl tfoot tr{grid-template-areas:"n n t";background:var(--sun)}
  .tc-tbl tfoot th{grid-area:n;background:none;border:0}
  .tc-tbl tfoot td{grid-area:t;background:none;border:0}
  .tc-form{border-radius:22px;box-shadow:4px 4px 0 var(--ink)}
  .tc-tblwrap{box-shadow:3px 3px 0 var(--ink)}
}

/* The estimate label, the source line and what the estimate leaves out */
.tc-label{display:grid;gap:12px;padding:clamp(18px,2.4vw,26px);background:var(--sky-2);border:var(--bd);border-radius:var(--r)}
.tc-label p{color:var(--ink-2);max-width:68ch}
.tc-label .tc-lead{font-weight:700;color:var(--ink);font-size:1.05rem}
.tc-label a{color:var(--ink);font-weight:600;text-underline-offset:3px;overflow-wrap:anywhere}
.tc-label h3{margin-top:8px;font-size:1.15rem}
.tc-label .plain{margin-top:0}
.tc-label .plain li{padding:12px 0}
.tc-label .plain li:last-child{border-bottom:var(--bd)}
.tc-label .plain b{display:inline}
/* About this estimate and the full list of what it leaves out: under the tool, full width, two columns on wide screens */
.tc-about{margin-top:clamp(20px,3vw,32px)}
.tc-about-l,.tc-about-r{display:grid;gap:12px;align-content:start;min-width:0}
.tc-about-r > p{color:var(--ink-2)}
.tc-about h3{margin-top:0}
@media (min-width:900px){
  .tc-about{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,56px)}
}
.tc-label--near{gap:7px;padding:14px 18px 16px;font-size:.92rem;line-height:1.45}
.tc-label--near .tc-lead{font-size:1rem}
.tc-fine{font-size:.9rem}
.tc-label .tc-rate-flag{font-weight:700;color:var(--ink)}
.tc-label .tc-ceiling{font-weight:600;color:var(--ink)}
.tc-label .tc-years{font-weight:500;color:var(--ink)}
.tc-label .tc-sources{display:grid;gap:7px}
/* hidden loses to any display rule, so say it beside the rule that sets display on this block (it is hidden while the estimate cannot be updated) */
.tc-label .tc-sources[hidden]{display:none}
.tc-label .tc-pages{display:grid;gap:6px;margin:0;padding:0 0 0 18px;list-style:disc;font-size:.88rem;line-height:1.4;color:var(--ink-2)}
.tc-label .tc-pages li{padding:0;border:0;overflow-wrap:anywhere}


/* ---------- The ask: who this is, the address-first sign-up. It sits inside the result, under the table ---------- */
.tc-ask{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:clamp(18px,2.6vw,30px);background:#fff;border:var(--bd);border-radius:26px;box-shadow:6px 6px 0 var(--ink)}
.tc-ask-h{font-size:clamp(1.7rem,1.25rem + 1.8vw,2.3rem)}
.tc-who{max-width:56ch;font-weight:600;font-size:1.08rem;line-height:1.45;color:var(--ink)}
.tc-svc{max-width:68ch;font-size:.92rem;line-height:1.45;color:var(--ink-2)}
.tc-svc + .tc-svc{margin-top:-6px}
.tc-claim{width:100%;margin:2px 0 0;text-align:left}
.tc-ask .tx-step2{background:var(--sky-2);border-radius:18px;box-shadow:none}
.tc-ask .tx-done{border-radius:18px;box-shadow:none}
@media (max-width:700px){
  .tc-ask{border-radius:22px;box-shadow:4px 4px 0 var(--ink)}
}

/* The sentence above the Join the list button: what is kept with the sign-up. Shown once the reader's own numbers give a result. */
.tc-kept{margin-top:16px;max-width:60ch;line-height:1.4}
.tc-kept + .tx-join{margin-top:12px}

/* ---------- Email me this estimate: hidden until /api/email-estimate says it is on ---------- */
.tc-mail{display:grid;gap:14px;padding:clamp(18px,2.6vw,30px);background:#fff;border:var(--bd);border-radius:26px;box-shadow:6px 6px 0 var(--ink)}
.tc-mail[hidden]{display:none}
.tc-mail-h{font:800 1.5rem/1 var(--disp);text-transform:uppercase;letter-spacing:-.02em}
.tc-mailform{display:grid;gap:14px;max-width:460px}
.tc-mailform .tx-fine{margin-top:0;max-width:60ch;line-height:1.4}
.tc-mail-btn{width:100%;justify-content:center;min-height:54px}
.tc-mail-btn:disabled{opacity:.75;cursor:default;transform:none}
.tc-mail-status{min-height:1.4em;font-weight:700;line-height:1.4;color:var(--ink)}
/* the plain link under the table that leads to the form; it is shown only when the form is (no display rule here, so [hidden] works) */
.tc-mail-jump{font-weight:700}
@media (max-width:700px){
  .tc-mail{border-radius:22px;box-shadow:4px 4px 0 var(--ink)}
}

/* ---------- Sections below the tool ---------- */
.tc-sec{padding:clamp(44px,6vw,84px) 0}
.tc-sec .sub{max-width:62ch}
.tc-sec h2{font-size:clamp(1.9rem,1.2rem + 2.6vw,3rem)}
.tc-sec .sub a,.tc-checked a{color:var(--ink);font-weight:600;text-underline-offset:3px}
.tc-sec .sub{margin-top:16px}


/* The AI assistant block: the address in a copy box, the three tools, the API file */
.tc-ai-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:start}
.tc-urlbox{margin-top:22px}
.tc-url-l{font:500 .78rem/1.2 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--navy-2)}
.tc-copybox{display:flex;align-items:stretch;margin-top:8px;overflow:hidden;background:var(--ink);border:var(--bd);border-radius:14px}
.tc-url{flex:1 1 auto;min-width:0;padding:14px 16px;font:500 .98rem/1.4 var(--mono);color:#fff;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;align-self:center}
.tc-copybtn{flex:none;min-height:54px;padding:0 22px;border:0;border-left:var(--bd);background:var(--sun);color:var(--ink);font:800 .86rem/1 var(--body);letter-spacing:.03em;text-transform:uppercase;cursor:pointer;touch-action:manipulation;transition:background-color .15s}
.tc-copybtn:hover{background:#ffd85f}
.tc-copybtn:active{background:#f2bd2a}
.tc-copied{margin-top:8px;min-height:1.5em;font-size:.9rem;font-weight:700;color:var(--ink)}
.tc-tools{display:grid;gap:0;margin-top:6px}
.tc-tools li{padding:14px 0;border-top:var(--bd);color:var(--ink-2)}
.tc-tools li:last-child{border-bottom:var(--bd)}
.tc-tools code{display:block;margin-bottom:2px;font:500 .95rem/1.3 var(--mono);color:var(--ink)}
.tc-api{margin-top:18px;max-width:62ch;color:var(--ink-2)}
.tc-api a{color:var(--ink);font-weight:600;text-underline-offset:3px}
@media (max-width:520px){
  .tc-copybox{flex-direction:column}
  .tc-copybtn{border-left:0;border-top:var(--bd)}
}

/* Questions: each one a visible heading and its answer */
.tc-faq-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 clamp(24px,4vw,56px);margin-top:28px;border-bottom:var(--bd)}
.tc-qa{padding:20px 0 22px;border-top:var(--bd)}
.tc-qa h3{font-size:clamp(1.1rem,1rem + .5vw,1.35rem);line-height:1.08}
.tc-qa p{margin-top:8px;max-width:56ch;color:var(--ink-2)}
.tc-qa a{color:var(--ink);font-weight:600;text-underline-offset:3px}

/* Guides and the last-checked line */
.tc-guides{padding:clamp(36px,5vw,64px) 0}
.tc-guides .kick{margin-bottom:0}
.tc-guides .plain{margin-top:16px;max-width:none}
.tc-guides .plain li{padding:4px 0}
.tc-checked{margin-top:22px;max-width:70ch;font-size:.92rem;color:var(--ink-2)}

@media (max-width:980px){
  .tc-ai-grid{grid-template-columns:1fr}
  .tc-faq-grid{grid-template-columns:1fr}
}
@media (max-width:700px){
  .tc-total{padding:10px 14px}
  .tc-money .tc-input{font-size:1.5rem}
  .tc-answer{font-size:1rem;line-height:1.5}
}
@media (max-width:480px){
  .tc-chips{gap:6px}
  .tc-chips li{min-height:38px;gap:6px;padding:4px 11px 4px 6px;font-size:.8rem}
  .tc-chips .tx-chip-ico{width:22px;height:22px}
  .tc-crumbs ol{font-size:.72rem;letter-spacing:.03em}
  .tc-crumbs li:not(:last-child)::after{margin:0 6px}
  .tc-total-s{font-size:.78rem}
}

/* Text links inside copy get a 44px target on phones and touch screens */
@media (max-width:700px),(pointer:coarse){
  .tc-answer a,.tc-label a,.tc-sec .sub a,.tc-qa a,.tc-api a,.tc-checked a,.tc-pernote a{padding:14px 0}
}
@media (prefers-reduced-motion:reduce){
  .tc-seg label,.tc-check,.tc-tblwrap,.tc-copybtn{transition:none}
}

/* The footer Log in link (moved here from the phone header) is a 44px target like the other footer links */
.foot-links a[href="/login"]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}

/* Guides list with the bull beside it */
.tc-guides-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end}
.tc-bull{width:clamp(110px,13vw,150px);height:auto;margin-right:clamp(0px,5vw,80px)}
@media (max-width:700px){
  .tc-guides-grid{grid-template-columns:1fr;gap:0}
  .tc-bull{justify-self:end;width:104px;margin:4px 0 0}
}

/* ---------- Phones and tablets: the estimate strip steps aside while the sign-up is on screen, and the bottom bar stays clear of the work ---------- */
.stickybar .btn{min-height:44px}
@media (max-width:700px){body.has-sticky{padding-bottom:84px}}
/* Keyboard focus lands clear of the sticky strip at the top and the bar at the bottom, on every width */
html{scroll-padding-top:120px}
html.tc-in-ask{scroll-padding-top:12px}
/* The line that stands where the table was, when the estimate could not be updated */
.tc-empty{padding:14px 16px;background:#fff;border:var(--bd);border-radius:14px;font-weight:700;color:var(--ink)}
.tc-claim input,.tc-claim button,.tc-check{scroll-margin-bottom:96px}
@media (max-width:359px){
  .tc-tbl .tc-c-tax,.tc-tbl .tc-c-tv{font-size:.85rem}
}
/* While the bottom sign-up bar shows, a focused link or button lands above it, not under it */
@media (max-width:700px){
  html:has(body.has-sticky){scroll-padding-bottom:104px}
}
/* On a short phone screen the estimate strip and the bottom bar together cover a third of it, so the strip stays in its place in the page while the bar shows */
@media (max-width:700px) and (max-height:640px){
  body.has-sticky .tc-total{position:static}
}
@media (max-width:1059px){
  html{scroll-padding-top:116px}
  html.tc-in-ask{scroll-padding-top:12px}
  .tc-total{transition:transform .2s cubic-bezier(.16,1,.3,1),opacity .2s,visibility 0s}
  html.tc-in-ask .tc-total{transform:translateY(calc(-100% - 24px));opacity:0;visibility:hidden;pointer-events:none;transition:transform .2s cubic-bezier(.16,1,.3,1),opacity .2s,visibility 0s .2s}
}
/* On the narrowest phones the strip is taller (the headline wraps to four lines), so a focused field lands below all of it. After the 1059px block, so it wins. */
@media (max-width:359px){
  html{scroll-padding-top:148px}
}
/* Wide screens keep the estimate strip on screen beside the sign-up, so a jump to the sign-up lands below it: the strip is 12px from the top and
   about 89px tall, and this leaves 27px of air. Without it the strip covered "Step 2 of 2", the address and the Change button. */
@media (min-width:1060px){
  html.tc-in-ask{scroll-padding-top:128px}
}
@media (prefers-reduced-motion:reduce){
  .tc-total,html.tc-in-ask .tc-total{transition:none}
}

/* 10/14: the four in-page links that used to sit in the header now sit under the intro (the header is the same on every page). */
.tc-otp{margin-top:12px}
.tc-otp-h{margin:0;font:500 .8rem/1.2 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.tc-otp ul{display:flex;flex-wrap:wrap;gap:0 22px;margin:0;padding:0;list-style:none}
.tc-otp a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;font-size:.95rem;text-underline-offset:5px;text-decoration-thickness:2px}
/* On phones the first screen stays what it was: what it is, one short paragraph, then the field. The list waits for wider screens (the header's in-page links never showed on phones either). */
@media (max-width:700px){.tc-otp{display:none}}
