/* Decision tools 2.4: shared controls, accessible labels, privacy-first state. */
.tg-vq-quiz-welcome [data-tg-returning] {margin-top:12px;}
.tg-entry-compare {display:block;margin:20px 0;color:#702544;text-underline-offset:.2em;}
.tg-decision-tools {margin:30px 0;min-width:0;}
.tg-requirement-notice {padding:24px;background:#f5eee9;border:1px solid #d9bdaf;border-radius:16px;margin:24px 0;overflow-wrap:anywhere;}
.tg-requirement-notice h2,.tg-requirement-notice h4 {margin:0 0 14px;font-size:1.12rem;}
.tg-requirement-notice p:last-child {margin-bottom:0;}
.tg-requirement-row {font-weight:600;color:#64314b;}
.tg-workbench {background:#fff;border:1px solid #decfd6;border-radius:14px;margin:12px 0;}
.tg-workbench>summary {padding:20px;cursor:pointer;font-weight:650;line-height:1.5;}
.tg-workbench-body {padding:0 22px 24px;}
.tg-workbench label,.tg-size-tool label {display:grid;gap:8px;margin:18px 0;font-weight:600;line-height:1.5;}
.tg-workbench small {font-weight:400;color:#66555e;}
.tg-workbench select,.tg-size-tool input {display:block;width:100%;min-width:0;max-width:100%;padding:12px 14px;min-height:48px;border:1px solid #b59ba8;border-radius:9px;background:#fff;color:#27131e;font:400 16px/1.5 system-ui,sans-serif;}
.tg-workbench select {text-overflow:ellipsis;}
.tg-workbench .tg-vq-button {margin:6px 8px 6px 0;}
.tg-workbench :focus-visible,.tg-size-tool :focus-visible {outline:3px solid #57172f;outline-offset:3px;}
.tg-tool-fields,.tg-size-inputs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
.tg-workbench [role=status]:not(:empty) {border-left:4px solid #765268;padding:12px 18px;margin-top:18px;background:#f8f4f6;}
.tg-workbench a,.tg-requirement-notice a {color:#702544;text-decoration:underline;text-underline-offset:.2em;}
.tg-workbench [data-state=blocked] {border-color:#953434;}
.tg-contents {display:grid;gap:10px;padding:24px;background:#f4ede9;border-radius:14px;margin:0 0 34px;}
.tg-contents a {line-height:1.5;}
.tg-editorial section {scroll-margin-top:24px;}
.tg-editorial-checks {padding-left:22px;}
.tg-editorial-checks li {padding:5px 0;}
.tg-source-note {font-size:.86rem;color:#695963;line-height:1.6;}
.tg-size-inputs fieldset {padding:16px 24px 24px;border:1px solid #decfd6;border-radius:16px;min-width:0;background:#fff;}
.tg-size-inputs legend {padding:0 8px;font-weight:700;}
.tg-size-error {color:#882f35;font-weight:600;}
.tg-size-tool [aria-invalid=true] {border:2px solid #882f35;}
.tg-tool-actions {display:flex;gap:16px;flex-wrap:wrap;margin:24px 0;}
.tg-size-comparison {padding:20px 24px;border:1px solid #decfd6;border-radius:16px;margin:18px 0;background:#fff;}
.tg-size-row {margin:16px 0;}
.tg-size-row p {margin:0 0 8px;}
.tg-size-bar {height:18px;min-width:0;background:#79445d;border-radius:4px;}
.tg-size-bar--b {background:#a38051;}
@media(max-width:700px) {.tg-tool-fields,.tg-size-inputs {grid-template-columns:minmax(0,1fr);gap:8px;}.tg-workbench-body {padding:0 16px 20px;}.tg-workbench>summary {padding:18px 16px;}.tg-requirement-notice {padding:18px;}.tg-workbench .tg-vq-button {width:100%;margin-right:0;}.tg-size-inputs fieldset {padding:12px 18px;}}
@media print {.tg-decision-tools,.tg-size-inputs,.tg-tool-actions,.tg-contents {display:none!important;}.tg-size-comparison {break-inside:avoid;}}
