/* Subtitle Translator landing page only (/tools/subtitle-translator). Pairs with tool-drop.css. */
.tp-st-hero{--st-ink:#10253b;--st-muted:#4a5d70;--st-line:#d6dfe5;--st-blue:#1456d8;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;gap:clamp(24px,4vw,52px);padding-top:clamp(12px,2.5vw,32px)}
.tp-st-intro,.tp-st-get{min-width:0}
.tp-st-intro h1{margin:10px 0 12px;font-size:clamp(2rem,3.3vw,2.75rem);line-height:1.06;overflow-wrap:anywhere}
.tp-st-lead{margin:0;font-size:1.06rem;line-height:1.6}
.tp-st-scope{margin:12px 0 0;padding:10px 14px;border-left:4px solid #b54708;border-radius:0 10px 10px 0;background:#fff7ed;color:#3d2a14;font-size:.94rem;line-height:1.5}
.tp-st-scope b{color:#7a2e0e}
.tp-st-drop{max-width:none;margin:18px 0 0;padding:22px 18px 16px;gap:8px}
.tp-st-drop .wt-drop-meta b{font-size:.95rem}
.tp-st-drop .wt-drop-alt a{display:inline-flex;align-items:center;min-height:40px}
.tp-st-terms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0;padding:0;list-style:none}
.tp-st-terms li{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--st-line);border-radius:12px;background:#fff}
.tp-st-terms b{color:var(--st-ink);font-size:.92rem;line-height:1.3}
.tp-st-terms span{color:var(--st-muted);font-size:.84rem;line-height:1.35}
.tp-st-plan{margin:12px 0 0;color:var(--st-muted);font-size:.9rem;line-height:1.5}
.tp-st-plan a{display:inline-flex;align-items:center;min-height:40px;font-weight:700;color:var(--st-blue)}
.tp-st-get{padding:22px;border:1px solid var(--st-line);border-radius:18px;background:#fff;box-shadow:0 18px 40px rgba(16,37,59,.06)}
.tp-st-get h2{margin:0 0 14px;font-size:1.25rem;color:var(--st-ink)}
.tp-st-files{display:grid;gap:8px;margin:0 0 16px;padding:0;list-style:none}
.tp-st-files li{display:grid;gap:3px;padding:10px 12px;border-radius:10px;background:#f6f8fb;border:1px solid var(--st-line)}
.tp-st-files b{font:700 .92rem/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--st-ink);overflow-wrap:anywhere}
.tp-st-files span{color:var(--st-muted);font-size:.88rem;line-height:1.45}
/* Example cue with a CSS-only language switch (radio inputs are siblings of the panels) */
.tp-st-demo{position:relative;padding:18px;border-radius:12px;box-shadow:none}
.tp-st-demo-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
.tp-st-demo h3{margin:0;font-size:1rem;color:#fff}
.tp-st-radio{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.tp-st-switch{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 12px}
.tp-st-switch span{color:#c8d4e4;font-size:.9rem;font-weight:700;margin-right:2px}
.tp-st-switch label{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1.5px solid #6b85aa;border-radius:999px;color:#e6edf7;font-size:.92rem;font-weight:700;cursor:pointer}
.tp-st-switch label:hover{border-color:#9dbaff}
#tpStEn:checked~.tp-st-switch label[for=tpStEn],#tpStDe:checked~.tp-st-switch label[for=tpStDe]{background:#fff;border-color:#fff;color:#10253b}
#tpStEn:focus-visible~.tp-st-switch label[for=tpStEn],#tpStDe:focus-visible~.tp-st-switch label[for=tpStDe]{outline:3px solid #9dbaff;outline-offset:2px}
#tpStEn:checked~.tp-st-ex-de,#tpStDe:checked~.tp-st-ex-en{display:none}
.tp-st-ex{display:grid;grid-template-columns:1fr;gap:10px}
.tp-st-cue{min-width:0;padding:12px;border-radius:8px;border:1px solid #2c4561}
.tp-st-cue h4{margin:0 0 6px;font:700 .8rem/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;color:#9dbaff;overflow-wrap:anywhere}
.tp-st-demo .tp-st-cue pre{font-size:13px}
.tp-st-cue-out{background:#f4f8ff;border-color:#f4f8ff;border-left:4px solid #6896ff}
.tp-st-cue-out h4{color:#1456d8}
.tp-st-demo .tp-st-cue-out pre{color:#10253b}
.tp-st-demo .tp-st-ex-note{margin:10px 0 0;color:#c8d4e4;font-size:.86rem;line-height:1.45}
.tp-st-options{margin:12px 0 0;color:var(--st-muted);font-size:.88rem;line-height:1.5}
.tp-st-steps{padding-top:8px}
.tp-st-open{margin:16px 0 0}
.tp-st-open a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1.5px solid var(--st-blue,#1456d8);border-radius:10px;color:#1456d8;font-weight:700;text-decoration:none}
.tp-st-open a:hover{background:#eef4ff}
.tp-st-notes p{max-width:72ch}
@media (max-width:420px){.tp-st-switch span{flex-basis:100%}}
@media (max-width:980px){.tp-st-terms{grid-template-columns:1fr}}
@media (max-width:760px){.tp-st-hero{grid-template-columns:1fr;gap:20px}.tp-st-intro h1{font-size:clamp(1.8rem,8.5vw,2.4rem)}.tp-st-get{padding:16px}}
