@import url("./public-aha-layout.css");
/* S05 original Temperature Aha review. Scope limited; works under current strict CSP. */
[data-temp-aha] { color:#1d3544; line-height:1.58; }
[data-temp-aha] [hidden] { display:none !important; }
[data-temp-aha] .temp-panel { border:1px solid #b5cad4; border-radius:14px; background:#f6fafc; padding:1rem; margin:1.1rem 0; }
[data-temp-aha] .temp-row { display:flex; gap:1rem; flex-wrap:wrap; align-items:flex-start; }
[data-temp-aha] .temp-field { display:flex; flex-direction:column; gap:.35rem; flex:1 1 230px; min-width:0; }
[data-temp-aha] label {font-weight:650;display:block;}
[data-temp-aha] select, [data-temp-aha] input[type=number], [data-temp-aha] textarea { color:#142b38;background:#fff;border:1.5px solid #768f9e; border-radius:8px; font:inherit; font-size:1rem; padding:.6rem; box-sizing:border-box; width:100%; }
[data-temp-aha] textarea {min-height:76px;resize:vertical;}
[data-temp-aha] button { display:inline-block; min-height:44px; border:1px solid #194e65; border-radius:9px; padding:.55rem 1rem; background:#1b566f; color:#fff;font:inherit; font-weight:650;cursor:pointer; }
[data-temp-aha] button.secondary {background:#fff;color:#194e65;}
[data-temp-aha] button:disabled {background:#eee;color:#555;border-color:#aaa;cursor:default;}
[data-temp-aha] button:focus-visible,[data-temp-aha] select:focus-visible,[data-temp-aha] input:focus-visible,[data-temp-aha] textarea:focus-visible {outline:3px solid #ba570b;outline-offset:3px;}
[data-temp-aha] .temp-actions {display:flex;flex-wrap:wrap;gap:.65rem;margin:.85rem 0;}
[data-temp-aha] .temp-message { min-height:1.55em; color:#17475f; font-weight:600; margin:.45rem 0; }
[data-temp-aha] .temp-small { font-size:.95rem;color:#314b58; }
[data-temp-aha] .temp-measures {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;}
[data-temp-aha] .temp-measure {background:#fff;border:1px solid #aac4d2;border-radius:10px;padding:.8rem;min-width:0;}
[data-temp-aha] .temp-measure output {display:block;font-size:clamp(1.35rem,3vw,2rem);font-weight:750;white-space:nowrap;}
[data-temp-aha] .temp-visual { margin:.8rem auto;max-width:590px; }
[data-temp-aha] svg {max-width:100%;height:auto;background:#fff;border-radius:10px;}
[data-temp-aha] svg text {fill:#193b4b;font-size:19px;font-weight:600;}
[data-temp-aha] .temp-control {display:flex;align-items:center;gap:1rem; flex-wrap:wrap;}
[data-temp-aha] .temp-control input[type=range]{flex:1 1 240px; min-height:44px; accent-color:#165c78;}
[data-temp-aha] .temp-control input[type=number]{max-width:112px; }
[data-temp-aha] .temp-table-wrap{overflow-x:auto;max-width:100%;border-radius:8px;border:1px solid #b5cad4;}
[data-temp-aha] table {border-collapse:collapse;min-width:300px;width:100%;background:#fff;}
[data-temp-aha] th,[data-temp-aha] td{border-bottom:1px solid #d6e5eb;padding:.55rem .7rem;text-align:left;}
[data-temp-aha] th{background:#e7f1f5;}
[data-temp-aha] .temp-guide{border-left:4px solid #527c92;padding:.5rem .9rem;margin:1rem 0;background:#fff;}
[data-temp-aha] .temp-guide input{max-width:180px;}
[data-temp-aha] .temp-transfer { border:2px solid #335e71;background:#f2f8fa; padding:1rem; border-radius:13px;margin:1.5rem 0; }
[data-temp-aha] .temp-answer{background:#fff;border:2px solid #61899d;padding:1rem;margin-top:1rem;border-radius:9px;}
[data-temp-aha] .temp-alert{border-left:3px solid #668898;padding:.55rem 1rem;}
@media (max-width:500px) {
 [data-temp-aha] .temp-panel,[data-temp-aha] .temp-transfer{padding:.7rem;}
 [data-temp-aha] svg text{font-size:23px;}
 [data-temp-aha] .temp-measure{padding:.45rem;}
 [data-temp-aha] .temp-measure output{font-size:1.4rem;}
}
