/*! supertwentyplus licence: (c) 2026 Supertwentyplus Pte. Ltd. All rights reserved. Proprietary, not open source.
   Use only as provided on supertwentyplus.com (free or by subscription, under its Terms). Copying, reuse or hosting elsewhere,
   in whole or in part, needs a written licence: supertwentyplus@gmail.com. See LICENSE.txt at the site root. */
/* Shared styles for every app page. Uses the same theme variables as the homepage, so skins swap here too. */

.app-main { display: flex; flex-direction: column; gap: 32px; padding-top: 24px; padding-bottom: 56px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--ink-2); }
.crumbs a { min-height: 32px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--link-hover); }
.app-intro { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.app-intro h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: var(--h1-track); font-weight: var(--h1-weight); }

.tool-panel { display: flex; flex-direction: column; gap: 20px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: var(--card-border); border-radius: var(--widget-radius); box-shadow: var(--widget-shadow); }

.tool-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.field output { font-family: var(--font-mono); color: var(--accent-text); }
.field-optional { font-weight: 400; color: var(--ink-3); }
.field-hint { font-size: 13px; color: var(--ink-3); }
.field select, .field input[type="number"], .url-controls input {
  min-height: 48px; padding: 0 14px; background: var(--surface); color: var(--ink);
  border: var(--input-border); border-radius: var(--btn-radius); font-size: 16px; width: 100%;
}
.field input[type="range"] { width: 100%; min-height: 32px; accent-color: var(--action-bg); }
.input-unit { display: flex; align-items: center; gap: 8px; }
.input-unit span { color: var(--ink-2); font-weight: 600; }
.field.is-disabled { opacity: .5; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  min-height: 220px; padding: 28px 20px; background: var(--bg); border: 2px dashed var(--ink-3); border-radius: var(--card-radius);
  transition: background .15s ease, border-color .15s ease;
}
.dropzone.is-over { background: var(--c-tools-tint); border-color: var(--c-tools); border-style: solid; }
.dropzone-icon { font-size: 44px; color: var(--c-tools); }
.dropzone-title { font-size: 18px; font-weight: 600; }
.dropzone-hint { font-size: 14px; color: var(--ink-2); }
.dropzone .btn { cursor: pointer; }
#file-input:focus-visible + .dropzone-hint, .dropzone:focus-within label.btn { outline: 3px solid var(--focus); outline-offset: 3px; }

.url-row { display: flex; flex-direction: column; gap: 8px; }
.url-row label { font-weight: 600; font-size: 15px; }
.url-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.url-controls input { flex: 1 1 260px; }

.notice { padding: 12px 16px; border-radius: var(--btn-radius); background: #FFF4E0; color: #6B3E00; border: 1px solid #F1C985; font-weight: 500; }
.notice.is-error { background: #FDE8E4; color: #8A2312; border-color: #F2B5A8; }

.results { display: flex; flex-direction: column; gap: 14px; }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.results-head h2 { font-size: 22px; }
.results-summary { color: var(--ink-2); font-weight: 500; flex: 1 1 260px; }
.results-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.results-actions .btn { min-height: 46px; }
.result-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.result {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--btn-radius);
}
.result-thumb { width: 72px; height: 72px; border-radius: 8px; object-fit: contain; background: repeating-conic-gradient(#E7EAF0 0% 25%, #FFFFFF 0% 50%) 50% / 16px 16px; }
.result-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.result-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-meta { font-size: 14px; color: var(--ink-2); }
.result-saving { font-weight: 600; color: var(--accent-text); }
.result-saving.is-bigger { color: #A33A12; }
.result-actions { display: flex; gap: 6px; }
.result-actions .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
.result.is-working .result-meta::after { content: " Converting…"; }
.result.is-failed { border-color: #F2B5A8; background: #FDF3F1; }

.app-content { display: flex; flex-direction: column; gap: 32px; max-width: 780px; }
.app-content section { display: flex; flex-direction: column; gap: 12px; }
.app-content h2 { font-size: 26px; line-height: 1.2; }
.app-content p, .app-content li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.app-content ol { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; font-size: 22px; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; }

@media (max-width: 560px) {
  .result { grid-template-columns: 56px minmax(0, 1fr); }
  .result-thumb { width: 56px; height: 56px; }
  .result-actions { grid-column: 1 / -1; }
  .result-actions .btn { flex: 1; }
}

/* App page layout: app column + right-side ad (the ad itself is styled in base.css) */
.app-layout { display: block; }
.app-col { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
@media (min-width: 1200px) {
  .app-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
}
.ad-bottom { min-height: 200px; }

/* App write-ups */
.writeup { display: flex; flex-direction: column; gap: 32px; }
.writeup section { display: flex; flex-direction: column; gap: 12px; }
.writeup ul, .writeup ol { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; }
.writeup li::marker { color: var(--accent); }
.writeup .note { padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--btn-radius) var(--btn-radius) 0; font-size: 16px !important; }

/* "Coming soon" app pages */
.app-soon { align-items: flex-start; gap: 14px; }
.soon-badge { padding: 5px 12px; border-radius: 999px; background: var(--c-money-tint); color: var(--c-money); font-size: 13px; font-weight: 700; }
.app-soon h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; }
.soon-text { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 40em; }
.soon-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.soon-related { list-style: none; margin: 8px 0 0; padding: 18px 0 0; width: 100%; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.soon-related a { height: 100%; display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: var(--btn-radius); text-decoration: none; color: var(--ink); }
.soon-related a:hover { border-color: var(--focus); }
.soon-r-name { font-weight: 700; }
.soon-r-line { font-size: 14px; color: var(--ink-2); }

/* Shared app components: segmented switch, big text boxes, password fields, action rows */
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; align-self: flex-start; }
.seg button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 15px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.big-text { width: 100%; min-height: 200px; padding: 14px 16px; background: var(--surface); color: var(--ink); border: var(--input-border); border-radius: var(--btn-radius); font: 400 16px/1.6 var(--font-body); resize: vertical; }
.big-text.mono { font-family: var(--font-mono); font-size: 15px; word-break: break-all; }
.big-text[readonly] { background: var(--bg); }
.field-label { font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.field-label .count { font-weight: 500; color: var(--ink-3); font-size: 14px; }
.pass-wrap { display: flex; gap: 8px; }
.pass-wrap input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; background: var(--surface); color: var(--ink); border: var(--input-border); border-radius: var(--btn-radius); font-size: 16px; }
.pass-wrap .btn { min-height: 50px; padding: 0 16px; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.action-row .btn { min-height: 48px; }
.ok-msg { padding: 12px 16px; border-radius: var(--btn-radius); background: #E3F3EC; color: #0A5A43; border: 1px solid #A7D8C3; font-weight: 600; }
.err-msg { padding: 12px 16px; border-radius: var(--btn-radius); background: #FDE8E4; color: #8A2312; border: 1px solid #F2B5A8; font-weight: 600; }
.ok-msg:empty, .err-msg:empty { display: none; }
.app-stack { display: flex; flex-direction: column; gap: 10px; }
.private-note { font-size: 14px; color: var(--ink-3); }

/* Temp Notepad */
.note-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.note-remember { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; font-size: 15px; cursor: pointer; }
.note-remember input { width: 20px; height: 20px; accent-color: var(--ink); }
.note-saved { font-size: 14px; color: var(--ink-3); }
.note-text { min-height: 360px; font-size: 17px; line-height: 1.7; }
.note-stats { font-size: 14px; color: var(--ink-3); margin-top: -8px; }
.note-clear { margin-left: auto; }
body.note-focus .note-app { position: fixed; inset: 0; z-index: 50; border-radius: 0; padding: clamp(16px, 4vw, 48px); overflow: auto; }
body.note-focus .note-text { flex: 1; min-height: 0; max-width: 820px; width: 100%; margin: 0 auto; font-size: 19px; }
body.note-focus .note-app > * { max-width: 820px; width: 100%; margin-left: auto; margin-right: auto; }
body.note-focus .to-top { display: none; }

/* Self-Destruct Message */
#sd-create, #sd-read { display: flex; flex-direction: column; gap: 18px; }
#sd-create[hidden], #sd-read[hidden] { display: none; }
.sd-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.sd-opts select { width: 100%; max-width: 320px; min-height: 48px; padding: 0 12px; background: var(--surface); color: var(--ink); border: var(--input-border); border-radius: var(--btn-radius); font-size: 16px; }
.sd-link { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--card-radius); }
.sd-link input { font-family: var(--font-mono); font-size: 14px; }
.sd-link .btn-ghost { align-self: flex-start; }
.sd-envelope { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: clamp(20px, 4vw, 40px); background: var(--bg); border: 1px solid var(--line); border-radius: var(--card-radius); }
.sd-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--c-tools-tint); color: var(--c-tools); font-size: 30px; }
.sd-envelope h2 { font-size: 24px; }
.sd-envelope p { color: var(--ink-2); max-width: 32em; }
#sd-new { align-self: flex-start; }
.sd-timer { font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.sd-timer:empty { display: none; }
.sd-sent { display: flex; flex-direction: column; gap: 10px; }
.sd-sent-title { font-size: 18px; }
.sd-sent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sd-sent-item { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--btn-radius); }
.sd-sent-when { font-weight: 700; font-size: 15px; }
.sd-badge { justify-self: end; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.sd-sent-line { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sd-sent-item.is-waiting { border-left-color: #B7791F; } .is-waiting .sd-badge { background: #FFF1DB; color: #7A4B00; }
.sd-sent-item.is-read { border-left-color: #0B7A5A; } .is-read .sd-badge { background: #E3F3EC; color: #0A5A43; }
.sd-sent-item.is-expired { border-left-color: var(--ink-3); } .is-expired .sd-badge { background: var(--bg); color: var(--ink-2); }

/* "You might also like" on every app page */
.related { margin-top: 8px; }
.related h2 { font-size: 22px; margin-bottom: 12px; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .related-grid { grid-template-columns: 1fr 1fr; } }
.related-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--card-radius); color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.related-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.related-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.related-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 20px; color: var(--accent); }
.related-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.related-name { font-weight: 800; font-size: 15.5px; }
.related-line { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .related-card { transition: none; } .related-card:hover { transform: none; } }

/* Right-hand column on desktop: side ad, then a "Try next" panel that stays in view */
.side-rail { display: none; }
@media (min-width: 1200px) {
  /* The side ad and "Try next" stay in view together. On short screens the set sticks by its bottom edge so "Try next" is never cut off. */
  .side-rail { display: flex; flex-direction: column; gap: 44px; position: sticky; top: min(calc(var(--stp-head, 0px) + 24px), calc(100vh - 924px)); }
  .side-rail .ad-rail { position: static; }
  .rail-related { padding: 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--card-radius); }
  .try-next { display: none; }
}
.rail-related h2 { font-size: 16px; margin-bottom: 10px; }
.rail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rail-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 86px; padding: 10px 8px; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.rail-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.rail-tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.rail-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 19px; color: var(--accent); }
.rail-name { font-weight: 800; font-size: 12.5px; line-height: 1.3; }
.rail-name .ready { width: 13px; height: 13px; margin-left: 4px; }
.rail-name .ready::after { left: 4.3px; top: 2.2px; width: 3px; height: 6px; }

/* Phones and tablets: slim swipeable strip under the app */
.try-next { display: flex; flex-direction: column; gap: 8px; margin: -8px 0 4px; min-width: 0; max-width: 100%; }
.try-next-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.try-next-row { display: flex; gap: 8px; min-width: 0; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.try-chip { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 14px 6px 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
.try-chip:hover { border-color: var(--ink); }
.try-chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.try-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); font-size: 17px; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .rail-tile { transition: none; } .rail-tile:hover { transform: none; } }
@media (min-width: 1200px) { .app-col .try-next { display: none; } }
.try-chip, .rail-tile, .related-card { position: relative; }   /* keeps the hidden "(ready to use)" text inside the scrolling strip */

/* ---------- Step guide (shared) ---------- */
.stp-h { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.stp-h .stp-opt { font-weight: 500; font-size: 13.5px; color: var(--ink-2); }
.stp-n { display: inline-grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ink-3, #8B97B0); color: #fff; font-size: 13.5px; font-weight: 800; transition: background .25s; }
.stp-n[data-state="next"] { background: var(--accent); animation: stp-pulse 1.8s ease-out infinite; }
.stp-n[data-state="done"] { background: #2E9B62; }
.stp-n[data-state="optional"] { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--ink-3, #8B97B0); }
.stp-step { border-radius: 14px; transition: background .25s, box-shadow .25s; }
.stp-step[data-step="next"] { background: color-mix(in srgb, var(--accent) 6%, transparent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn.stp-waiting { opacity: .55; box-shadow: none; }
.btn.stp-ready { animation: stp-glow 2s ease-in-out infinite; }
@keyframes stp-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes stp-glow { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent); } }
@media (prefers-reduced-motion: reduce) { .stp-n[data-state="next"], .btn.stp-ready { animation: none; } .btn.stp-ready { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); } }
.stp-pad { padding: 10px; margin: -10px; }
/* Step badge inside an existing label (no extra heading) */
.stp-lab { display: inline-flex; align-items: center; gap: 9px; }
.stp-lab .stp-n { width: 24px; height: 24px; font-size: 12.5px; }
.stp-warn { color: #9A5B00; font-weight: 600; }
.err-msg .linkbtn { font: inherit; font-weight: 700; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* Keep ads well apart from the "Try next" links so nobody clicks an ad by accident (AdSense placement policy) */
.try-next + .ad-slot, .try-next ~ .ad-slot:first-of-type { margin-top: 28px; }
.side-rail .ad-rail + .rail-related { position: relative; }
.side-rail .ad-rail + .rail-related::before { content: ""; position: absolute; left: 12%; right: 12%; top: -23px; border-top: 1px solid var(--line); }
.app-col .try-next + .try-more { margin-top: -2px; }
.side-rail .rail-related + .rail-more { margin-top: -34px; }
.side-rail .rail-related + .rail-more::before { display: none; }
/* v800f: an ad inside a write-up is full column width like the other ads; the text stays 780px */
.app-content:has(.writeup .ad-slot) { max-width: none; }
.app-content:has(.writeup .ad-slot) .writeup > section > :not(.ad-slot) { max-width: 780px; }
.writeup section > .ad-slot { margin-bottom: 20px; }
/* v1400: wider page on desktop for apps with big tables, grids and boards (like IP Subnet Calculator); side ad and Try these next stay in the right column */
@media (min-width: 1200px) {
  .app-page.wide-desktop .app-main.wrap { max-width: 1700px; }
}
.writeup .works-on { margin: 0; font-weight: 600; }

/* panel-hold:start v2100: room kept for each app panel while it draws, so the write-up below does not jump (layout shift). Made by measuring a fresh visit at 390px and 1366px. */
@media (max-width:480px){.tool-panel[aria-label="AfterTax+"]{min-height:3425px}}
@media (min-width:1200px){.tool-panel[aria-label="AfterTax+"]{min-height:2465px}}
@media (max-width:480px){.tool-panel[aria-label="AI Prompt Builder"]{min-height:4042px}}
@media (min-width:1200px){.tool-panel[aria-label="AI Prompt Builder"]{min-height:2195px}}
@media (max-width:480px){.tool-panel[aria-label="Bill Share"]{min-height:411px}}
@media (min-width:1200px){.tool-panel[aria-label="Bill Share"]{min-height:339px}}
@media (max-width:480px){.tool-panel[aria-label="Bill Share"]{min-height:411px}}
@media (min-width:1200px){.tool-panel[aria-label="Bill Share"]{min-height:339px}}
@media (max-width:480px){.tool-panel[aria-label="Countdown Timer"]{min-height:1201px}}
@media (min-width:1200px){.tool-panel[aria-label="Countdown Timer"]{min-height:1090px}}
@media (max-width:480px){.tool-panel[aria-label="Flip Clock Radio"]{min-height:1269px}}
@media (min-width:1200px){.tool-panel[aria-label="Flip Clock Radio"]{min-height:859px}}
@media (max-width:480px){.tool-panel[aria-label="Follow Me!"]{min-height:822px}}
@media (min-width:1200px){.tool-panel[aria-label="Follow Me!"]{min-height:984px}}
@media (max-width:480px){.tool-panel[aria-label="STP Inventory Manager+"]{min-height:1037px}}
@media (min-width:1200px){.tool-panel[aria-label="STP Inventory Manager+"]{min-height:528px}}
@media (max-width:480px){.tool-panel[aria-label="Investment ROI Tracker"]{min-height:1566px}}
@media (min-width:1200px){.tool-panel[aria-label="Investment ROI Tracker"]{min-height:1161px}}
@media (max-width:480px){.tool-panel[aria-label="STP Swift-Invoice+"]{min-height:1421px}}
@media (min-width:1200px){.tool-panel[aria-label="STP Swift-Invoice+"]{min-height:967px}}
@media (max-width:480px){.tool-panel[aria-label="Logic Gates"]{min-height:989px}}
@media (min-width:1200px){.tool-panel[aria-label="Logic Gates"]{min-height:935px}}
@media (max-width:480px){.tool-panel[aria-label="Mortgage Calculator"]{min-height:3066px}}
@media (min-width:1200px){.tool-panel[aria-label="Mortgage Calculator"]{min-height:2184px}}
@media (max-width:480px){.tool-panel[aria-label="National Flags and Anthems"]{min-height:11639px}}
@media (min-width:1200px){.tool-panel[aria-label="National Flags and Anthems"]{min-height:8608px}}
@media (max-width:480px){.tool-panel[aria-label="NutriMapper nutrition tracker"]{min-height:1952px}}
@media (min-width:1200px){.tool-panel[aria-label="NutriMapper nutrition tracker"]{min-height:1246px}}
@media (max-width:480px){.tool-panel[aria-label="PDF to Sheets"]{min-height:231px}}
@media (min-width:1200px){.tool-panel[aria-label="PDF to Sheets"]{min-height:228px}}
@media (max-width:480px){.tool-panel[aria-label="Resume Writer"]{min-height:535px}}
@media (min-width:1200px){.tool-panel[aria-label="Resume Writer"]{min-height:354px}}
@media (max-width:480px){.tool-panel[aria-label="STP Student Enroller+"]{min-height:2245px}}
@media (min-width:1200px){.tool-panel[aria-label="STP Student Enroller+"]{min-height:1189px}}
@media (max-width:480px){.tool-panel[aria-label="Shape-oids"]{min-height:968px}}
@media (min-width:1200px){.tool-panel[aria-label="Shape-oids"]{min-height:789px}}
@media (max-width:480px){.tool-panel[aria-label="Statistical Analysis"]{min-height:1779px}}
@media (min-width:1200px){.tool-panel[aria-label="Statistical Analysis"]{min-height:1536px}}
@media (max-width:480px){.tool-panel[aria-label="STP Script Builder"]{min-height:547px}}
@media (min-width:1200px){.tool-panel[aria-label="STP Script Builder"]{min-height:345px}}
@media (max-width:480px){.tool-panel[aria-label="SuperTwentyPlus Vault"]{min-height:954px}}
@media (min-width:1200px){.tool-panel[aria-label="SuperTwentyPlus Vault"]{min-height:798px}}
@media (max-width:480px){.tool-panel[aria-label="STP Swift-Books+"]{min-height:3238px}}
@media (min-width:1200px){.tool-panel[aria-label="STP Swift-Books+"]{min-height:2182px}}
@media (max-width:480px){.tool-panel[aria-label="SwiftHaul freight run planner"]{min-height:4362px}}
@media (min-width:1200px){.tool-panel[aria-label="SwiftHaul freight run planner"]{min-height:2453px}}
@media (max-width:480px){.tool-panel[aria-label="Time Companion+ world clock"]{min-height:1230px}}
@media (min-width:1200px){.tool-panel[aria-label="Time Companion+ world clock"]{min-height:1325px}}
@media (max-width:480px){.tool-panel[aria-label="Touch Typing"]{min-height:2369px}}
@media (min-width:1200px){.tool-panel[aria-label="Touch Typing"]{min-height:1548px}}
@media (max-width:480px){.tool-panel[aria-label="Word Puzzle"]{min-height:1003px}}
@media (min-width:1200px){.tool-panel[aria-label="Word Puzzle"]{min-height:884px}}
/* panel-hold:end */
/* v2540: right-hand column fits the first screen (js/site.js adds these classes) */
@media (min-width: 1200px) {
  .side-rail.rail-short .ad-rail-slot { min-height: 250px; height: 250px; overflow: hidden; }
  .side-rail.rail-more2 .rail-more .rail-tile:nth-child(n+3) { display: none; }
  .side-rail.rail-nomore .rail-more { display: none; }
}

/* v2550: a primary button that is waiting for input stays readable (white on slate passes contrast) */
.btn.btn-primary.stp-waiting { opacity: 1; background: #4F5868; border-color: #4F5868; color: #fff; }
