/*
Theme Name: Three Screens
Description: Web design agencies state by state, sorted by the question a client brings: what the site has to do. On the front page the same site stands on a desk screen, a tablet and a phone, and what the reader ticks in the brief adds its block to all three and keeps only the agencies that say it; under that a site map of the directory, its parts of the country, states and cities. On a state list each agency stands in a browser window with its own address in the bar, beside a site map of the list. No web fonts, one small script on the front page.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: three-screens
*/

/* A cool page by day, a dim studio at night; indigo for the way around, lime for what is on, coral for the block just added. */
:root {
	--tsc-ground: #f1f2f8;
	--tsc-paper: #fdfdff;
	--tsc-ink: #17182e;
	--tsc-ink-soft: #4d4f6b;
	--tsc-link: #3324a8;
	--tsc-rule: #dcdeeb;
	--tsc-rule-strong: #7a7d99;
	--tsc-focus: #c93a14;
	--tsc-deep: #1a1842;
	--tsc-deep-lift: #2b2963;
	--tsc-deep-rule: #6f6cb0;
	--tsc-on-deep: #f6f6ff;
	--tsc-on-deep-soft: #cfcfee;
	--tsc-indigo: #3f32c4;
	--tsc-on-indigo: #ffffff;
	--tsc-lime: #c6f24a;
	--tsc-on-lime: #182000;
	--tsc-coral: #d9441c;
	--tsc-tint: #ecf9c5;
	--tsc-on-tint: #1f2806;
	--tsc-band: #e3e4f3;
	--tsc-glass: #ffffff;
	--tsc-glass-edge: #8486a3;
	--tsc-block: #d3d5e8;
	--tsc-block-deep: #8d90b5;
	--tsc-head: Bahnschrift, "DIN Alternate", "Arial Narrow", Arial, sans-serif;
	--tsc-bodytext: Aptos, Calibri, "Helvetica Neue", Arial, sans-serif;
	--tsc-mono: "Cascadia Mono", "Cascadia Code", Consolas, Menlo, monospace;
	color-scheme: light dark;
}

@media (prefers-color-scheme:dark) {
	:root {
		--tsc-ground: #0e0e1c;
		--tsc-paper: #1a1b31;
		--tsc-ink: #ecebf8;
		--tsc-ink-soft: #bcbcd6;
		--tsc-link: #bdb6ff;
		--tsc-rule: #30324e;
		--tsc-rule-strong: #85889f;
		--tsc-focus: #c6f24a;
		--tsc-deep: #16153a;
		--tsc-deep-lift: #2b2963;
		--tsc-deep-rule: #7f7cc0;
		--tsc-on-deep: #f6f6ff;
		--tsc-on-deep-soft: #d5d5f0;
		--tsc-indigo: #6a5fe6;
		--tsc-on-indigo: #ffffff;
		--tsc-lime: #c6f24a;
		--tsc-on-lime: #182000;
		--tsc-coral: #ff7a55;
		--tsc-tint: #2c3510;
		--tsc-on-tint: #e6f7b0;
		--tsc-band: #15162c;
		--tsc-glass: #222440;
		--tsc-glass-edge: #8c8fae;
		--tsc-block: #3b3e61;
		--tsc-block-deep: #6d7099;
	}
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--tsc-ground); color: var(--tsc-ink); font-family: var(--tsc-bodytext); font-size: 1.09rem; font-variant-numeric: lining-nums; line-height: 1.58; overflow-wrap: break-word; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--tsc-link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tsc-focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--tsc-head); font-weight: 600; line-height: 1.14; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tsc-hopin:focus { position: fixed !important; top: 8px; left: 8px; z-index: 20; width: auto; height: auto; margin: 0; padding: 0.7rem 1rem; clip: auto; white-space: normal; background: var(--tsc-paper); color: var(--tsc-ink); }
.tsc-lane { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.tsc-narrow { max-width: 46rem; }
.tsc-code { display: inline-block; padding: 0 0.34em; border-radius: 3px; background: var(--tsc-indigo); color: var(--tsc-on-indigo); font-family: var(--tsc-mono); font-size: 0.74em; font-weight: 700; line-height: 1.5; }

/* The top bar */
.tsc-toolbar { background: var(--tsc-deep); color: var(--tsc-on-deep); border-bottom: 1px solid var(--tsc-deep-lift); }
.tsc-toolbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1.1rem; padding-top: 0.4rem; padding-bottom: 0.4rem; }
.tsc-sitename { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; margin-right: auto; color: var(--tsc-on-deep); font-family: var(--tsc-head); font-size: 1.16rem; font-weight: 600; text-decoration: none; }
.tsc-sitemark { display: block; flex: none; width: 28px; }
.tsc-sitemark svg { display: block; width: 100%; }
.tsc-mk-frame { fill: var(--tsc-glass); }
.tsc-mk-bar { fill: var(--tsc-lime); }
.tsc-mk-block { fill: var(--tsc-indigo); }
.tsc-mk-line { fill: var(--tsc-block-deep); }
.tsc-toplinks ul { display: flex; flex-wrap: wrap; gap: 0 1rem; margin: 0; padding: 0; list-style: none; }
.tsc-toplinks a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tsc-on-deep); font-size: 0.97rem; }
.tsc-seek { display: flex; flex: 1 1 15rem; max-width: 22rem; }
.tsc-seek-box { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 44px; padding: 0 0.7rem; border: 1px solid var(--tsc-deep-rule); border-right: 0; border-radius: 4px 0 0 4px; background: var(--tsc-paper); color: var(--tsc-ink); font: 0.97rem var(--tsc-bodytext); }
.tsc-seek-box::placeholder { color: var(--tsc-ink-soft); opacity: 1; }
.tsc-seek-go { flex: none; min-height: 44px; min-width: 44px; padding: 0 0.85rem; white-space: nowrap; border: 1px solid var(--tsc-lime); border-radius: 0 4px 4px 0; background: var(--tsc-lime); color: var(--tsc-on-lime); font: 600 0.97rem var(--tsc-bodytext); cursor: pointer; }

/* The first screen: the question, the brief and the three screens */
.tsc-studio { background: var(--tsc-deep); color: var(--tsc-on-deep); }
.tsc-studio-in { display: grid; gap: 1.1rem; padding-top: 1.4rem; padding-bottom: 1.6rem; }
.tsc-eyeline { margin: 0 0 0.35rem; color: var(--tsc-on-deep-soft); font-size: 0.97rem; font-weight: 600; }
.tsc-studio-title { margin: 0; font-size: clamp(2.2rem, 5.2vw, 3.5rem); }
.tsc-studio-lede { max-width: 40rem; margin: 0; color: var(--tsc-on-deep); font-size: 1.08rem; line-height: 1.5; }
.tsc-studio a { color: var(--tsc-on-deep); }
.tsc-tallies { display: flex; flex-wrap: wrap; gap: 0.2rem 1.3rem; margin: 0.8rem 0 0; padding: 0; color: var(--tsc-on-deep-soft); list-style: none; font-size: 0.97rem; }
.tsc-tally-n { color: var(--tsc-on-deep); font-family: var(--tsc-mono); font-size: 1.22em; font-weight: 700; }

/* The brief */
.tsc-brief { margin-top: 0.8rem; }
.tsc-brief-set { display: flex; flex-wrap: wrap; gap: 0.35rem; min-width: 0; margin: 0 0 0.55rem; padding: 0; border: 0; }
.tsc-brief-set legend { padding: 0 0 0.2rem; color: var(--tsc-on-deep); font-family: var(--tsc-head); font-size: 1.02rem; font-weight: 600; }
.tsc-opt { display: inline-flex; align-items: center; gap: 0.42rem; min-height: 44px; padding: 0 0.65rem; border: 1px solid var(--tsc-deep-rule); border-radius: 6px; background: var(--tsc-deep-lift); color: var(--tsc-on-deep); font-size: 0.97rem; line-height: 1.2; cursor: pointer; }
.tsc-opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--tsc-indigo); }
.tsc-opt:has(input:checked) { border-color: var(--tsc-lime); background: var(--tsc-lime); color: var(--tsc-on-lime); font-weight: 600; }
.tsc-opt-n { font-family: var(--tsc-mono); font-size: 0.84em; opacity: 0.86; }
.tsc-brief-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; }
.tsc-brief-k { font-family: var(--tsc-head); font-size: 1.02rem; font-weight: 600; }
.tsc-brief-state { flex: 1 1 10rem; max-width: 15rem; min-height: 44px; padding: 0 0.5rem; border: 1px solid var(--tsc-deep-rule); border-radius: 6px; background: var(--tsc-paper); color: var(--tsc-ink); font: 0.97rem var(--tsc-bodytext); }
.tsc-brief-out { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1rem; margin-top: 0.5rem; }
.tsc-brief-say { margin: 0; color: var(--tsc-lime); font-family: var(--tsc-head); font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.tsc-brief-say:empty { display: none; }
.tsc-brief-see { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.tsc-brief-clear { min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--tsc-deep-rule); border-radius: 6px; background: transparent; color: var(--tsc-on-deep); font: 600 0.95rem var(--tsc-bodytext); cursor: pointer; }

/* The three screens: every size is in em, and the em follows the width of the stage */
.tsc-screens { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 16 / 10.4; }
.tsc-screen { position: absolute; display: flex; flex-direction: column; overflow: hidden; border: 2px solid var(--tsc-glass-edge); background: var(--tsc-glass); color: var(--tsc-ink); font-family: var(--tsc-bodytext); font-size: 1.62cqw; line-height: 1.2; }
.tsc-screen-desk { top: 0; left: 9%; width: 80%; height: 88%; border-radius: 0.8em; }
.tsc-screen-desk .tsc-mock { padding: 0.7em 15% 0.7em 22%; }
.tsc-screen-tablet { bottom: 0; left: 0; width: 28%; height: 56%; border: 3px solid var(--tsc-glass-edge); border-radius: 1.2em; font-size: 1.16cqw; }
.tsc-screen-hand { right: 0; bottom: 0; width: 18%; height: 64%; border: 3px solid var(--tsc-glass-edge); border-radius: 1.5em; font-size: 1.1cqw; }
.tsc-addr { display: flex; flex: none; align-items: center; gap: 0.6em; padding: 0.45em 0.7em; background: var(--tsc-band); }
.tsc-dots { flex: none; width: 2.2em; height: 0.56em; background: radial-gradient(circle at 0.28em 50%, var(--tsc-coral) 0.27em, transparent 0.29em), radial-gradient(circle at 1.1em 50%, var(--tsc-lime) 0.27em, transparent 0.29em), radial-gradient(circle at 1.92em 50%, var(--tsc-indigo) 0.27em, transparent 0.29em); }
.tsc-addr-url { flex: 1 1 auto; min-width: 0; overflow: hidden; padding: 0.12em 0.6em; border-radius: 1em; background: var(--tsc-glass); font-family: var(--tsc-mono); white-space: nowrap; text-overflow: ellipsis; }
.tsc-screen-hand .tsc-dots { display: none; }
.tsc-mock { display: grid; flex: 1 1 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: min-content; align-content: start; gap: 0.6em; min-height: 0; overflow: hidden; padding: 0.7em; }
.tsc-screen-tablet .tsc-mock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tsc-screen-hand .tsc-mock { grid-template-columns: minmax(0, 1fr); }
.tsc-mock i { display: block; }
.tsc-b-nav { display: flex; grid-column: 1 / -1; align-items: center; gap: 0.7em; }
.tsc-m-logo { flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--tsc-indigo); }
.tsc-m-line { flex: 1 1 auto; height: 0.5em; border-radius: 0.25em; background: var(--tsc-block); }
.tsc-m-btn { flex: none; width: 5em; height: 1.5em; border-radius: 0.3em; background: var(--tsc-indigo); }
.tsc-b-hero { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.8em; align-items: center; }
.tsc-m-words { display: grid; gap: 0.5em; justify-items: start; }
.tsc-m-big { width: 100%; height: 1.1em; border-radius: 0.3em; background: var(--tsc-block-deep); }
.tsc-m-short { width: 68%; }
.tsc-m-words .tsc-m-line { width: 90%; flex: none; }
.tsc-m-pic { height: 8em; border-radius: 0.4em; background: linear-gradient(160deg, var(--tsc-block) 0 55%, var(--tsc-block-deep) 55% 100%); }
.tsc-screen-hand .tsc-b-hero { grid-template-columns: minmax(0, 1fr); }
.tsc-screen-hand .tsc-m-pic { order: -1; height: 6em; }
.tsc-screen-hand .tsc-b-nav .tsc-m-line, .tsc-screen-hand .tsc-b-nav .tsc-m-btn { display: none; }
.tsc-b { display: grid; gap: 0.35em; align-content: start; padding: 0.5em; border: 2px solid var(--tsc-coral); border-radius: 0.4em; background: var(--tsc-paper); }
.tsc-m-tag { font-weight: 700; line-height: 1.15; }
.tsc-b-rest { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5em; }
.tsc-screen-tablet .tsc-b-rest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tsc-screen-hand .tsc-b-rest { grid-template-columns: minmax(0, 1fr); }
.tsc-m-card { height: 5.2em; border-radius: 0.3em; background: linear-gradient(var(--tsc-block-deep) 0 34%, var(--tsc-block) 34% 100%); }
.tsc-m-goods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.3em; }
.tsc-m-goods i { height: 2.4em; border-radius: 0.2em; background: linear-gradient(var(--tsc-block-deep) 0 68%, var(--tsc-lime) 68% 100%); }
.tsc-m-box { height: 1.1em; border: 1px solid var(--tsc-glass-edge); border-radius: 0.2em; background: var(--tsc-glass); }
.tsc-m-hit { height: 0.6em; width: 76%; border-radius: 0.2em; background: var(--tsc-indigo); }
.tsc-m-banner { height: 2em; border-radius: 0.2em; background: repeating-linear-gradient(135deg, var(--tsc-lime) 0 0.5em, var(--tsc-block) 0.5em 1em); }
.tsc-m-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.3em; }
.tsc-m-swatches i { height: 1.6em; border-radius: 50%; }
.tsc-m-swatches i:nth-child(1) { background: var(--tsc-indigo); }
.tsc-m-swatches i:nth-child(2) { background: var(--tsc-coral); }
.tsc-m-swatches i:nth-child(3) { background: var(--tsc-lime); }
.tsc-m-swatches i:nth-child(4) { background: var(--tsc-block-deep); }
.tsc-m-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.2em; }
.tsc-m-days i { height: 1em; background: var(--tsc-block); }
.tsc-m-days i:nth-child(3) { background: var(--tsc-indigo); }
.tsc-m-meter { height: 0.7em; border-radius: 0.35em; background: linear-gradient(90deg, var(--tsc-indigo) 0 80%, var(--tsc-block) 80% 100%); }
.tsc-m-pair { height: 1.5em; border-radius: 0.2em; background: linear-gradient(90deg, var(--tsc-ink) 0 50%, var(--tsc-glass) 50% 100%); border: 1px solid var(--tsc-glass-edge); }
.tsc-b-on { grid-column: 1 / -1; padding: 0.25em 0.5em; background: var(--tsc-tint); color: var(--tsc-on-tint); }

/* The site map of the directory */
.tsc-headline { margin: 0; font-size: clamp(1.62rem, 3.4vw, 2.2rem); }
.tsc-subline { max-width: 44rem; margin: 0.3rem 0 0.9rem; color: var(--tsc-ink-soft); font-size: 1.02rem; line-height: 1.46; }
.tsc-sitemap { margin-top: 1.9rem; }
.tsc-regions { display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.tsc-region { min-width: 0; }
.tsc-region-name { width: fit-content; margin: 0; padding: 0.3rem 0.8rem; border-radius: 6px; background: var(--tsc-indigo); color: var(--tsc-on-indigo); font-size: 1.16rem; }
.tsc-nodes { margin: 0 0 0 0.9rem; padding: 0.4rem 0 0; border-left: 2px solid var(--tsc-rule-strong); list-style: none; }
.tsc-node { position: relative; margin: 0 0 0.45rem 0.9rem; padding: 0.3rem 0.6rem 0.2rem; border: 1px solid var(--tsc-rule-strong); border-radius: 6px; background: var(--tsc-paper); content-visibility: auto; contain-intrinsic-size: auto 8rem; }
.tsc-node::before { content: ""; position: absolute; top: 1.3rem; left: calc(-0.9rem - 1px); width: 0.9rem; border-top: 2px solid var(--tsc-rule-strong); }
.tsc-node-name { display: flex; align-items: center; gap: 0.4rem; margin: 0; font-family: var(--tsc-head); font-size: 1.12rem; font-weight: 600; line-height: 1.2; }
.tsc-node-name a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.tsc-towns { display: flex; flex-wrap: wrap; gap: 0 0.7rem; margin: 0; padding: 0; list-style: none; font-size: 0.98rem; }
.tsc-towns a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.tsc-offers-sum { display: flex; align-items: center; gap: 0.4rem; min-height: 44px; color: var(--tsc-ink-soft); font-size: 0.95rem; font-weight: 600; cursor: pointer; }
.tsc-offers-sum::before { content: "+"; flex: none; width: 1.3em; border: 1px solid var(--tsc-rule-strong); border-radius: 3px; font-family: var(--tsc-mono); line-height: 1.25; text-align: center; }
.tsc-offers[open] .tsc-offers-sum::before { content: "\2212"; }
.tsc-offer-list { margin: 0; padding: 0; list-style: none; }
.tsc-offer { padding: 0.15rem 0 0.4rem; border-top: 1px solid var(--tsc-rule); }
.tsc-offer-name { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; line-height: 1.2; }
.tsc-offer-fact { margin: 0; font-size: 0.92rem; line-height: 1.36; }
.tsc-offer-k { color: var(--tsc-ink-soft); font-weight: 600; }
.tsc-rest-note { margin: 0.7rem 0 0; color: var(--tsc-ink-soft); font-size: 0.98rem; }

/* The bill, state by state */
.tsc-bills { margin-top: 2.3rem; }
.tsc-bills-list { display: grid; gap: 0 1.4rem; margin: 0; padding: 0; list-style: none; }
.tsc-bills-list li { min-width: 0; padding: 0.25rem 0 0.3rem; border-top: 1px solid var(--tsc-rule-strong); }
.tsc-bills-place { display: block; color: var(--tsc-ink-soft); font-size: 0.93rem; }
.tsc-bills-link { display: flex; align-items: center; min-height: 44px; line-height: 1.26; }

/* One agency, several lists */
.tsc-multi { margin-top: 2.3rem; }
.tsc-multi-list { display: grid; gap: 0 1.4rem; margin: 0; padding: 0; list-style: none; }
.tsc-multi-item { min-width: 0; padding: 0.4rem 0 0.2rem; border-top: 1px solid var(--tsc-rule-strong); }
.tsc-multi-name { margin: 0; font-weight: 700; line-height: 1.3; }
.tsc-multi-host { color: var(--tsc-ink-soft); font-family: var(--tsc-mono); font-size: 0.84rem; font-weight: 400; }
.tsc-multi-pages { display: flex; flex-wrap: wrap; gap: 0 0.8rem; margin: 0; padding: 0; list-style: none; }
.tsc-multi-pages a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

/* The lists, newest first */
.tsc-recent { margin-top: 2.3rem; }
.tsc-queue { display: grid; gap: 0 1.6rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.tsc-listrow { min-width: 0; padding: 0.6rem 0 0.7rem; border-top: 1px solid var(--tsc-rule-strong); }
.tsc-listrow-meta { margin: 0; color: var(--tsc-ink-soft); font-size: 0.93rem; }
.tsc-listrow-title { margin: 0; font-size: 1.2rem; }
.tsc-listrow-title a { display: inline-flex; align-items: center; min-height: 44px; }
.tsc-listrow-open { margin: 0; font-size: 1rem; line-height: 1.44; }
.tsc-listrow-n { margin: 0.15rem 0 0; color: var(--tsc-ink-soft); font-size: 0.92rem; }
.tsc-blank { font-weight: 600; }
.pagination { margin-top: 1.2rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.nav-links a, .nav-links .current { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 0.7rem; }
.nav-links .current { border-radius: 4px; background: var(--tsc-indigo); color: var(--tsc-on-indigo); }

/* A state list: its top */
.tsc-masthead { padding: 0.35rem 0 0.8rem; background: var(--tsc-deep); color: var(--tsc-on-deep); }
.tsc-masthead a { color: var(--tsc-on-deep); }
.tsc-crumbs-list { display: flex; flex-wrap: wrap; gap: 0 0.3rem; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.tsc-crumbs-list li + li::before { content: "/"; margin-right: 0.3rem; color: var(--tsc-on-deep-soft); }
.tsc-crumbs-list a { display: inline-flex; align-items: center; min-height: 44px; }
.tsc-title { margin: 0.1rem 0 0.4rem; font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.tsc-stats { display: flex; flex-wrap: wrap; gap: 0 1rem; margin: 0; color: var(--tsc-on-deep-soft); font-size: 0.97rem; }
.tsc-hop-list { display: flex; flex-wrap: wrap; gap: 0.3rem 0.4rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }
.tsc-hop-list a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 0.7rem; border: 1px solid var(--tsc-deep-rule); border-radius: 6px; background: var(--tsc-deep-lift); font-weight: 600; text-decoration: none; }
.tsc-hop-list a:hover { text-decoration: underline; }

/* A state list: its body */
.tsc-duo { display: grid; gap: 1.6rem; margin-top: 1.4rem; }
.tsc-read { min-width: 0; }
.tsc-bodytext { max-width: 50rem; }
.tsc-bodytext p { margin: 0 0 1em; }
.tsc-bodytext ul, .tsc-bodytext ol { padding-left: 1.3rem; }
.tsc-bodytext li { margin-bottom: 0.3em; }
.tsc-bodytext img { display: block; }
.tsc-bodytext hr { display: none; }
.tsc-bodytext h2 { margin: 2rem 0 0.55rem; font-size: 1.62rem; }
.tsc-bodytext h3 { margin: 1.5rem 0 0.35rem; font-size: 1.3rem; }
.tsc-bodytext .tsc-lead { font-size: 1.2rem; line-height: 1.48; }
.tsc-bodytext .tsc-cityhead { display: flex; align-items: center; gap: 0.6rem; margin: 2.4rem 0 0.8rem; font-size: 1.72rem; }
.tsc-bodytext .tsc-cityhead::after { content: ""; flex: 1 1 auto; border-top: 2px solid var(--tsc-rule-strong); }
.tsc-bodytext .tsc-staterule { padding: 0.4rem 0.7rem; border-left: 8px solid var(--tsc-coral); background: var(--tsc-paper); }
.tsc-bodytext .tsc-closing { padding-top: 0.6rem; border-top: 1px solid var(--tsc-rule-strong); color: var(--tsc-ink-soft); font-size: 0.98rem; }
.tsc-sidebyside { width: 100%; margin: 1rem 0 1.5rem; border-collapse: collapse; font-size: 0.94rem; line-height: 1.36; }
.tsc-sidebyside th { padding: 0.45rem 0.55rem; background: var(--tsc-indigo); color: var(--tsc-on-indigo); font-family: var(--tsc-head); font-weight: 600; text-align: left; vertical-align: bottom; }
.tsc-sidebyside td { padding: 0.5rem 0.55rem; border-bottom: 1px solid var(--tsc-rule-strong); vertical-align: top; }
.tsc-sidebyside td:first-child { font-weight: 700; }
@media (max-width:699px) {
	.tsc-sidebyside, .tsc-sidebyside tbody, .tsc-sidebyside tr, .tsc-sidebyside td { display: block; width: 100%; }
	.tsc-sidebyside thead, .tsc-sidebyside tr:first-child:has(th) { display: none; }
	.tsc-sidebyside tr { margin-bottom: 0.8rem; padding: 0.3rem 0.7rem 0.45rem; border-top: 5px solid var(--tsc-indigo); background: var(--tsc-paper); }
	.tsc-sidebyside td { padding: 0.25rem 0; border: 0; }
	.tsc-sidebyside td::before { content: attr(data-tsc-col); display: block; color: var(--tsc-ink-soft); font-size: 0.86em; font-weight: 600; }
}

/* An agency: a browser window with its address in the bar */
.tsc-win { margin: 1.5rem 0; overflow: hidden; border: 1px solid var(--tsc-rule-strong); border-radius: 10px; background: var(--tsc-paper); }
.tsc-chrome { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.8rem; border-bottom: 1px solid var(--tsc-rule-strong); background: var(--tsc-band); font-size: 1rem; }
.tsc-chrome .tsc-dots { font-size: 1rem; }
.tsc-url { display: inline-flex; flex: 1 1 auto; align-items: center; min-width: 0; min-height: 44px; overflow-wrap: anywhere; font-family: var(--tsc-mono); font-size: 0.9rem; }
.tsc-bodytext .tsc-win-name { display: flex; align-items: flex-start; gap: 0.55rem; margin: 0.8rem 0.95rem 0.5rem; font-size: 1.42rem; }
.tsc-win-name::before { content: attr(data-tsc-n) / ""; flex: none; min-width: 1.5em; border-radius: 3px; background: var(--tsc-indigo); color: var(--tsc-on-indigo); font-family: var(--tsc-mono); font-size: 0.78em; font-weight: 700; line-height: 1.6em; text-align: center; }
.tsc-win-name a { display: inline-flex; align-items: center; min-height: 44px; }
.tsc-win > p, .tsc-win > ul, .tsc-win > ol, .tsc-win > .tsc-sidebyside { margin-right: 0.95rem; margin-left: 0.95rem; }
.tsc-win > ul, .tsc-win > ol { padding-left: 2.2rem; }
.tsc-facts { margin: 0.7rem 0.95rem 1rem; border: 1px solid var(--tsc-rule); border-radius: 6px; background: var(--tsc-ground); font-size: 0.97rem; line-height: 1.4; }
.tsc-bodytext .tsc-fact { margin: 0; padding: 0.4rem 0.7rem; border-bottom: 1px solid var(--tsc-rule); overflow-wrap: anywhere; }
.tsc-fact:last-child { border-bottom: 0; }
.tsc-fact-k { font-weight: 700; }
.tsc-fact a { display: inline-flex; align-items: center; min-height: 44px; }
.tsc-fact[data-tsc-kind="phone"], .tsc-fact[data-tsc-kind="website"], .tsc-fact[data-tsc-kind="email"] { padding-top: 0; padding-bottom: 0; }
.tsc-fact[data-tsc-kind="nextask"] { background: var(--tsc-tint); color: var(--tsc-on-tint); font-weight: 600; }

/* Ahead of the contract */
.tsc-heed { max-width: 50rem; margin-top: 1.9rem; padding: 0.9rem 1rem; border-top: 4px solid var(--tsc-coral); background: var(--tsc-paper); font-size: 1rem; }
.tsc-heed p { margin: 0 0 0.6em; }
.tsc-heed-title { margin: 0 0 0.4rem; font-size: 1.26rem; }
.tsc-nearby { margin-top: 2rem; }
.tsc-nearby-title { margin: 0 0 0.3rem; font-size: 1.36rem; }
.tsc-nearby-list { display: flex; flex-wrap: wrap; gap: 0 0.9rem; margin: 0; padding: 0; list-style: none; }
.tsc-nearby-list a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

/* The site map of one list */
.tsc-tree { min-width: 0; padding: 0.8rem 0.9rem 0.8rem; border: 1px solid var(--tsc-rule-strong); border-radius: 10px; background: var(--tsc-paper); font-size: 0.97rem; line-height: 1.26; }
.tsc-tree-title { margin: 0 0 0.35rem; font-size: 1.2rem; }
.tsc-tree-root { width: fit-content; margin: 0; padding: 0.2rem 0.65rem; border-radius: 6px; background: var(--tsc-indigo); color: var(--tsc-on-indigo); font-family: var(--tsc-head); font-weight: 600; }
.tsc-branches { margin: 0 0 0 0.7rem; padding: 0.2rem 0 0; border-left: 2px solid var(--tsc-rule-strong); list-style: none; }
.tsc-branch { position: relative; padding-left: 0.8rem; }
.tsc-branch::before { content: ""; position: absolute; top: 22px; left: 0; width: 0.6rem; border-top: 2px solid var(--tsc-rule-strong); }
.tsc-branch-name { display: flex; align-items: center; min-height: 44px; font-family: var(--tsc-head); font-weight: 600; }
.tsc-leaves { margin: 0 0 0 0.3rem; padding: 0 0 0 0.6rem; border-left: 1px solid var(--tsc-rule-strong); list-style: none; }
.tsc-leaf { display: flex; align-items: center; gap: 0.4rem; min-height: 44px; }
.tsc-leaf-no { flex: none; min-width: 1.5em; font-family: var(--tsc-mono); font-size: 0.86em; text-align: center; }
.tsc-tree-k { margin: 0.6rem 0 0; padding-top: 0.5rem; border-top: 1px solid var(--tsc-rule-strong); font-weight: 700; }
.tsc-tree-links { margin: 0; padding: 0; list-style: none; }
.tsc-tree-links a { display: flex; align-items: center; min-height: 44px; }

.tsc-sides { display: grid; gap: 0.6rem; margin: 2rem 0 0; }
.tsc-side { display: block; padding: 0.7rem 0.9rem; border: 1px solid var(--tsc-rule-strong); border-radius: 6px; background: var(--tsc-paper); }
.tsc-side-k { display: block; color: var(--tsc-ink-soft); font-size: 0.9rem; }

/* Replies, plain pages, the missing page */
.tsc-replies { max-width: 50rem; margin-top: 2rem; }
.tsc-replies input:not([type="submit"]):not([type="checkbox"]), .tsc-replies textarea { width: 100%; min-height: 44px; padding: 0.4rem 0.6rem; border: 1px solid var(--tsc-rule-strong); background: var(--tsc-paper); color: var(--tsc-ink); font: inherit; }
.tsc-replies input[type="submit"] { min-height: 44px; padding: 0 1rem; border: 0; border-radius: 4px; background: var(--tsc-indigo); color: var(--tsc-on-indigo); font: 600 1rem var(--tsc-bodytext); cursor: pointer; }
.tsc-gone, .tsc-plainpage { padding-top: 1.4rem; }
.tsc-gone-title { margin-bottom: 0.7rem; color: var(--tsc-ink); }
.tsc-go { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.05rem; border-radius: 6px; background: var(--tsc-indigo); color: var(--tsc-on-indigo); font-weight: 600; text-decoration: none; }
.tsc-go:hover { text-decoration: underline; }
.tsc-listrow-loose { list-style: none; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0.3rem 1rem 0.6rem 0; }
.alignright { float: right; margin: 0.3rem 0 0.6rem 1rem; }
.wp-caption-text, figcaption { color: var(--tsc-ink-soft); font-size: 0.94rem; }

/* The base of the site */
.tsc-base { margin-top: 3rem; padding: 1.3rem 0 1.2rem; background: var(--tsc-deep); color: var(--tsc-on-deep); }
.tsc-base a { color: var(--tsc-on-deep); }
.tsc-base-k { margin: 0 0 0.5rem; font-family: var(--tsc-head); font-size: 1.24rem; font-weight: 600; }
.tsc-base-row { min-width: 0; padding: 0.3rem 0; border-top: 1px solid var(--tsc-deep-lift); }
.tsc-base-name { margin: 0; color: var(--tsc-on-deep-soft); font-size: 0.95rem; font-weight: 600; }
.tsc-base-list { display: flex; flex-wrap: wrap; gap: 0 1rem; margin: 0; padding: 0; list-style: none; }
.tsc-base-list a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.tsc-base-end { margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid var(--tsc-deep-lift); }
.tsc-base-site { margin: 0; font-family: var(--tsc-head); font-weight: 600; }
.tsc-base-say, .tsc-base-year { margin: 0.25rem 0 0; color: var(--tsc-on-deep-soft); font-size: 0.97rem; }
.tsc-base-links ul { display: flex; flex-wrap: wrap; gap: 0 1rem; margin: 0.25rem 0 0; padding: 0; list-style: none; }
.tsc-base-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width:700px) {
	.tsc-queue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tsc-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tsc-multi-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tsc-bills-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tsc-sides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tsc-side-next { grid-column: 2; }
}
@media (min-width:980px) {
	.tsc-studio-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); column-gap: 2.2rem; align-items: start; }
	.tsc-studio-head { grid-column: 1; grid-row: 1; }
	.tsc-studio-more { grid-column: 1; grid-row: 2; }
	.tsc-screens { grid-column: 2; grid-row: 1 / span 2; }
	.tsc-multi-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tsc-bills-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tsc-queue { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width:1020px) {
	/* The site map stays in view by its top while the list passes beside it, nothing cut inside a box of its own. */
	.tsc-duo-map { grid-template-columns: 19rem minmax(0, 1fr); gap: 2rem; align-items: start; }
	.tsc-duo-map .tsc-read { grid-column: 2; grid-row: 1; }
	.tsc-duo-map .tsc-tree { position: sticky; top: 0.8rem; grid-column: 1; grid-row: 1; }
}
@media (min-width:1180px) {
	.tsc-regions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}

@media print {
	:root { --tsc-ground: #fff; --tsc-paper: #fff; --tsc-ink: #000; --tsc-ink-soft: #222; --tsc-link: #000; --tsc-rule: #999; --tsc-rule-strong: #666; --tsc-band: #fff; --tsc-indigo: #fff; --tsc-on-indigo: #000; --tsc-tint: #fff; --tsc-on-tint: #000; --tsc-deep: #fff; --tsc-on-deep: #000; --tsc-on-deep-soft: #222; }
	.tsc-toolbar, .tsc-base, .tsc-hop, .tsc-sides, .tsc-replies, .tsc-screens, .tsc-brief, .tsc-tree { display: none; }
}
