/* Design B Standard. Feature styles reuse the existing site theme tokens. */
.tp-workspace{--tp-wheel:#7890a6;--tp-front:#69d7ce;--tp-rear:#ff82bc;background:linear-gradient(135deg,var(--dd-top,#101827),var(--dd-end,#293f51));color:var(--dd-ink,#f5f7fb);font-family:Arial,sans-serif}
html[data-tgl-theme="light"] .tp-workspace{--tp-wheel:#74889a;--tp-front:#006f69;--tp-rear:#b40062}
.tp-workspace main{max-width:1120px;margin:0 auto;padding:28px 24px 40px}.tp-workspace h1{font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.15;margin:8px 0 12px}.tp-workspace h2{font-size:1.2rem;margin:0 0 20px}.tp-workspace .intro{color:var(--dd-muted,#c7d3e2);margin:0 0 24px}.tp-workspace .eyebrow{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--dd-muted,#c7d3e2)}
.tp-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:20px;align-items:start}.tp-panel{background:var(--dd-surface,#24394f);border:1px solid var(--dd-line,#52677d);border-radius:18px;padding:24px;min-width:0}.tp-workspace fieldset{padding:0;margin:0 0 20px;border:0;min-width:0}.tp-workspace legend,.tp-workspace label{font-size:.88rem;font-weight:700}.tp-workspace legend{margin-bottom:9px}.tp-workspace label>span:not(:only-child){font-weight:400}.tp-disciplines,.tp-weights{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tp-surfaces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tp-choice{position:relative;display:block;cursor:pointer}.tp-choice>input{position:absolute;opacity:0;width:1px;height:1px}.tp-choice>span{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:10px;border:1px solid var(--dd-line,#52677d);border-radius:10px;background:var(--dd-field,#142437);color:var(--dd-ink,#f5f7fb);text-align:center;font-weight:700!important}.tp-choice>input:checked+span{border-color:var(--tp-rear);box-shadow:inset 0 0 0 1px var(--tp-rear);background:var(--dd-lavender,#343f56)}.tp-choice>input:focus-visible+span,.tp-workspace input:focus-visible,.tp-workspace select:focus-visible,.tp-workspace button:focus-visible,.tp-workspace summary:focus-visible{outline:3px solid var(--tp-front);outline-offset:3px}.tp-surface>span{flex-direction:column;padding:10px 8px}.tp-terrain{width:100%;height:26px;max-width:110px;opacity:.8}
.tp-group{margin-bottom:20px}.tp-workspace input[type="number"],.tp-workspace select{box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--dd-line,#52677d);border-radius:9px;background:var(--dd-field,#142437);color:var(--dd-ink,#f5f7fb);font:400 1rem Arial,sans-serif;margin:8px 0 0}.tp-workspace small{display:block;font-size:.76rem;line-height:1.4;color:var(--dd-muted,#c7d3e2);margin-top:6px}.tp-hint{color:var(--dd-muted,#c7d3e2);font-size:.85rem;line-height:1.5;margin:10px 0 0}.tp-total{display:flex;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid var(--dd-line,#52677d);margin:12px 0 0;font-size:.88rem}.tp-total strong{white-space:nowrap}#custom-width{margin-top:12px}.tp-submit{width:100%;min-height:48px;background:#e6007e!important;color:#fff!important;border:0;border-radius:10px;font:700 .95rem Arial,sans-serif;cursor:pointer;padding:12px}.tp-submit:hover{background:#c9006e!important}.tp-error{border-left:3px solid var(--tp-rear);padding:10px 12px;background:var(--dd-field,#142437);font-size:.9rem;line-height:1.5}.tp-workspace [aria-invalid="true"]{outline:2px solid var(--tp-rear)}
#pressure-results{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tp-metric{background:var(--dd-deep,#172b3d);border:1px solid var(--dd-line,#52677d);border-radius:13px;padding:18px 10px;text-align:center;min-width:0}.tp-front{color:var(--tp-front)}.tp-rear{color:var(--tp-rear)}.tp-bike{width:110px;max-width:100%;height:60px}.tp-metric h3{font-size:.9rem;margin:12px 0;color:var(--dd-ink,#f5f7fb)}.tp-pressure{margin:0;white-space:nowrap}.tp-pressure strong{font-size:clamp(1.8rem,3.3vw,2.7rem);letter-spacing:-.04em;line-height:1.15}.tp-pressure>span{font-size:.8rem}.tp-bar{font-size:1rem;color:var(--dd-muted,#c7d3e2);margin:10px 0 0}.tp-notice{padding:14px 16px;border-left:3px solid var(--tp-front);border-radius:4px;background:var(--dd-field,#142437);color:var(--dd-ink,#f5f7fb);font-size:.88rem;line-height:1.6;margin:18px 0 0}.tp-understanding{margin-top:20px;font-size:.9rem;line-height:1.6}.tp-understanding summary{font-weight:700;cursor:pointer;min-height:28px}.tp-understanding p:last-child{margin-bottom:0}.tp-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:720px){.tp-workspace main{padding:20px 16px 28px}.tp-layout{grid-template-columns:1fr;gap:16px}.tp-panel{padding:18px;border-radius:14px}.tp-workspace h2{margin-bottom:16px}.tp-weights{gap:10px}.tp-workspace label{font-size:.81rem}.tp-pressure strong{font-size:2.15rem}.tp-understanding{margin-top:16px}.tp-bike{height:52px}.tp-metric{padding:14px 8px}}
@media(prefers-reduced-motion:reduce){.tp-workspace *{scroll-behavior:auto!important}}

html[data-tgl-theme="light"] .tp-workspace{color-scheme:light}
.tp-workspace #width-preset{background:var(--dd-field);color:var(--dd-ink)}
html[data-tgl-design="04"] .tp-workspace .tp-front .tp-pressure strong{color:var(--tp-front)}
html[data-tgl-design="04"] .tp-workspace .tp-rear .tp-pressure strong{color:var(--tp-rear)}
