/* Results of the photography calculators: each rule shows its own card on wide screens, one column on phones. */
.calc-tool [hidden]{display:none}
.mw-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:16px 0}
.mw-result{padding:12px 16px;background:white;border:1px solid #ccd5df;border-radius:12px}
.mw-result .tool-label{margin-top:0}
.mw-result output{margin:0;font-size:2rem;font-weight:700}
.mw-result p{margin:4px 0 0;font-size:.9rem}
.calc-tool .tool-label{margin-top:16px}
.calc-pair{display:flex;gap:8px}
.calc-pair input{flex:1 1 0;min-width:0}
.calc-pair select{flex:0 0 auto}
.calc-hint{font-size:.85rem;min-height:1.2em;color:#3b4a5a}
.calc-tool [data-warning]{color:#8a3b00;font-weight:600}
.calc-tool [data-storage]{font-size:1rem;min-height:0}
.calc-tool [data-timer]{font-size:2.5rem;font-variant-numeric:tabular-nums}
/* The widget ends at its last control, so the editorial heading follows within the phone gap limit. */
@media (max-width:600px){.calc-tool{margin-bottom:0;padding-bottom:0}.article-page .tool-editorial{margin-top:24px}}
