/* RadioMeteo Risorse 1.0.2 — scoped stylesheet; base shared with the other RadioMeteo tools.
 * Colours come from the active RadioMeteo 2027 theme tokens (fallbacks = live theme values). Minimum text size 13 px. */
.rmq{--q-navy:var(--navy,#071b32);--q-teal:var(--teal,#0086a9);--q-ink:var(--ink,#0c2541);--q-line:var(--line,#d9e9f3);--q-muted:var(--muted,#5b728a);--q-radius:var(--radius,14px);--q-soft:#f2f8fb;
 width:100%;min-width:0;max-width:100%;color:var(--q-ink);font:inherit;line-height:1.6;container-type:inline-size}
.rmq *,.rmq *::before,.rmq *::after{box-sizing:border-box}
.rmq [hidden]{display:none!important}
.rmq :is(h2,h3,h4){letter-spacing:-.02em}
.rmq a{color:var(--q-teal)}
.rmq :is(a,button,input,select,summary,[tabindex]):focus-visible{outline:3px solid #b7650b;outline-offset:3px}

/* Hero */
.rmq-hero{background:var(--q-navy);color:#fff;border-radius:var(--q-radius);padding:26px;display:flex;align-items:center;justify-content:space-between;gap:22px;overflow:hidden;border-bottom:4px solid var(--q-teal)}
.rmq-hero-text{min-width:0;flex:1}
.rmq-kicker{font-size:13px;line-height:1.5;letter-spacing:.11em;font-weight:750;color:#a7e2e2;margin:0 0 12px}
.rmq-hero h2{font-size:clamp(1.6rem,3.2vw,2.25rem);color:#fff;line-height:1.2;margin:0 0 13px;font-weight:800}
.rmq-hero p{color:#e6f2f4;font-size:16px;line-height:1.65;margin:0;max-width:66ch}
.rmq-illustration{width:150px;height:auto;flex:none;max-width:28%}

/* Quick navigation */
.rmq-quick{display:flex;flex-wrap:wrap;gap:10px;margin:17px 0 25px}
.rmq-quick a{flex:1;display:inline-flex;align-items:center;justify-content:center;text-align:center;min-width:0;min-height:44px;text-decoration:none;border:1px solid var(--q-line);background:#fff;border-radius:8px;padding:9px 15px;color:var(--q-navy);font-weight:700;font-size:14px}
.rmq-quick a:hover,.rmq-quick a:focus-visible{border-color:var(--q-teal);color:var(--q-teal)}

/* Sections */
.rmq-section{margin:0 0 25px;padding:23px;background:#fff;border:1px solid var(--q-line);border-radius:var(--q-radius);min-width:0;scroll-margin-top:22px}
.rmq-section-head h3{margin:0 0 8px;color:var(--q-navy);font-size:clamp(1.38rem,2.8vw,1.75rem);line-height:1.25;display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.rmq-section-head p{margin:0 0 20px;color:#405866;font-size:15px;line-height:1.7}

/* Info popovers (mouse, touch, keyboard) */
.rmq-info{position:relative;display:inline-block;vertical-align:middle;font-size:13px;line-height:1.2;letter-spacing:0}
.rmq-info summary{display:inline-grid;place-items:center;list-style:none;cursor:help;height:24px;width:24px;border:1px solid #88aab2;border-radius:50%;color:var(--q-teal);font-weight:800;background:#fff}
.rmq-info summary::-webkit-details-marker{display:none}
.rmq-info-panel{position:absolute;left:0;top:calc(100% + 7px);z-index:15;background:#fff;color:var(--q-navy);border:1px solid var(--q-line);box-shadow:0 6px 18px #0c254126;border-radius:7px;width:min(300px,72vw);padding:11px 13px;line-height:1.55;text-align:left;font-size:14px;font-weight:500}
.rmq-info:not([open]) .rmq-info-panel{display:none}

/* Guided path */
.rmq-actions{display:flex;gap:10px;flex-wrap:wrap}
.rmq-actions button{background:var(--q-teal);color:#fff;border:0;border-radius:7px;padding:9px 17px;min-height:44px;font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.rmq-actions .rmq-reset{color:var(--q-navy);background:#fff;border:1px solid #aab9bb}
.rmq-level{font-size:13px;font-weight:750;color:#a7e2e2}
.rmq .rmq-result-link{color:#a7e2e2;font-weight:750;font-size:14px;text-underline-offset:3px}

/* Source profiles */

/* Tools */
.rmq-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:auto}
.rmq-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:700;color:var(--q-navy);font-size:14px}
.rmq-field-wide{grid-column:1/-1}
.rmq-form input,.rmq-form select{width:100%;min-width:0;min-height:45px;border:1px solid #aab9bb;border-radius:8px;background:#fff;color:var(--q-ink);padding:10px 12px;font:inherit;font-size:15px;font-weight:500}
.rmq-form .rmq-actions{grid-column:1/-1}
.rmq-out{grid-column:1/-1;border-radius:10px;padding:15px 16px;background:#fff;border:1px solid var(--q-line);border-left:4px solid var(--q-teal);font-size:15px;line-height:1.55;color:#405866;min-height:64px}
.rmq-out.rmq-has-result{background:var(--q-navy);border-color:var(--q-navy);border-left-color:#87d9da;color:#e6f2f4}
.rmq-out-row{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:5px 0;font-size:14px;color:#cde4e5}
.rmq-out-row strong{color:#fff;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rmq-out-row:first-child strong{font-size:clamp(1.3rem,2.4vw,1.65rem)}
.rmq-out-note{margin:8px 0 0;font-size:14px;line-height:1.55;color:#e6f2f4}

/* Reporting */

/* Articles */
.rmq-articles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rmq-article{min-width:0;border:1px solid var(--q-line);border-radius:10px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:9px}
.rmq-article h4{font-size:18px;line-height:1.36;margin:0}
.rmq-article h4 a{color:var(--q-navy);text-decoration:none}
.rmq-article h4 a:hover{color:var(--q-teal);text-decoration:underline}
.rmq-article time{font-size:13px;font-weight:650;color:#485f6c}
.rmq-article p{font-size:15px;line-height:1.65;color:#405866;margin:0}
.rmq-article-read{font-size:15px;font-weight:750;margin-top:auto}
.rmq-articles-empty{font-size:15px;line-height:1.65;color:#405866;background:#f4f8fa;border:1px solid var(--q-line);padding:18px;border-radius:9px;margin:0}

/* Breakpoints follow the real content column (container queries), not the window. */
@container (max-width:760px){
}
@container (max-width:620px){
 .rmq-hero{padding:21px}
 .rmq-section{padding:17px}
 .rmq-illustration{width:96px}
}
@container (max-width:460px){
 .rmq-hero{padding:19px}
 .rmq-hero p{font-size:15px}
 .rmq-illustration{display:none}
 .rmq-form{grid-template-columns:minmax(0,1fr)}
 .rmq-actions{flex-direction:column}
 .rmq-actions button{width:100%}
 .rmq-quick a{flex:1 1 40%}
}
@media (prefers-reduced-motion:reduce){.rmq *{scroll-behavior:auto!important;transition:none!important}}


/* Quick navigation: never break a word inside a button. */
.rmq-quick a{flex:1 1 auto;white-space:nowrap}


/* Antenne: Lab note */
.rmant-labnote{margin:17px 0 0;padding:14px 16px;background:var(--q-soft);border:1px solid var(--q-line);border-left:4px solid var(--q-teal);border-radius:10px;font-size:15px;line-height:1.65;color:#344e5b}
.rmant-labnote a{font-weight:750}

/* Calculators */
.rmant-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.rmant-tool{min-width:0;border:1px solid var(--q-line);border-radius:11px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:10px}
.rmant-tool h4{margin:0;font-size:18px;line-height:1.35;color:var(--q-navy)}
.rmant-tool-desc{margin:0;font-size:15px;line-height:1.6;color:#405866}
.rmant-form{margin-top:0}
.rmant-form .rmq-out{min-height:72px}
.rmant-formula{margin-top:auto!important}
.rmant-formula{margin:0;font-size:13px;line-height:1.55;color:#485f6c;overflow-wrap:anywhere}
.rmant-tool-link{background:var(--q-soft)}
.rmant-iv{margin:0;font-size:15px;line-height:1.65;color:#344e5b}
.rmant-btnlink{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border-radius:8px;background:var(--q-teal);color:#fff!important;text-decoration:none;font-weight:700;font-size:15px}
.rmant .rmq-out-row span{flex:1 1 auto}
.rmant .rmq-out-row strong{font-size:17px;text-align:right}
.rmant .rmq-out-row:first-child strong{font-size:clamp(1.2rem,2.2vw,1.5rem)}

/* Guided steps */
.rmant-steps{list-style:none;counter-reset:rmant;margin:0;padding:0;display:grid;gap:12px}
.rmant-steps li{counter-increment:rmant;position:relative;padding:14px 16px 14px 60px;border:1px solid var(--q-line);border-radius:10px;background:#fff}
.rmant-steps li::before{content:counter(rmant);position:absolute;left:16px;top:14px;width:30px;height:30px;border-radius:50%;background:var(--q-navy);color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px}
.rmant-steps h4{margin:2px 0 6px;font-size:16px;color:var(--q-navy)}
.rmant-steps p{margin:0;font-size:15px;line-height:1.65;color:#405866;overflow-wrap:anywhere}

/* Reading results */
.rmant-table-wrap{overflow-x:auto;border:1px solid var(--q-line);border-radius:10px;margin:0 0 18px}
.rmant-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;min-width:520px;font-variant-numeric:tabular-nums}
.rmant-table caption{caption-side:bottom;text-align:left;padding:10px 14px;font-size:14px;color:#485f6c}
.rmant-table th,.rmant-table td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--q-line)}
.rmant-table thead th{background:var(--q-navy);color:#fff;font-size:14px;font-weight:750}
.rmant-table tbody th{color:var(--q-navy);font-weight:800}
.rmant-table tbody tr:nth-child(even){background:var(--q-soft)}
.rmant-myths,.rmant-safety{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rmant-safety{grid-template-columns:repeat(2,minmax(0,1fr))}
.rmant-myth,.rmant-safety article{min-width:0;border:1px solid var(--q-line);border-radius:10px;padding:16px;background:#fff}
.rmant-myth{border-top:4px solid #b7650b}
.rmant-safety article{border-left:4px solid #b7650b}
.rmant-myth h4,.rmant-safety h4{margin:0 0 8px;font-size:16px;line-height:1.4;color:var(--q-navy)}
.rmant-myth p,.rmant-safety p{margin:0;font-size:15px;line-height:1.65;color:#405866}

/* Problems */
.rmant-probs{display:grid;gap:10px}
.rmant-prob{border:1px solid var(--q-line);border-radius:10px;background:#fff}
.rmant-prob summary{cursor:pointer;padding:13px 44px 13px 16px;font-weight:750;color:var(--q-navy);font-size:16px;line-height:1.4;position:relative;list-style:none;min-height:48px}
.rmant-prob summary::-webkit-details-marker{display:none}
.rmant-prob summary::after{content:"+";position:absolute;right:16px;top:11px;font-size:20px;line-height:1;color:var(--q-teal);font-weight:800}
.rmant-prob[open] summary::after{content:"−"}
.rmant-prob p{margin:0;padding:0 16px 15px;font-size:15px;line-height:1.65;color:#405866}
.rmq-sources{border-top:1px solid var(--q-line);padding-top:15px;font-size:14px;line-height:1.7;color:#405866;margin:19px 0 0;overflow-wrap:anywhere}
.rmq-sources a{font-weight:700}

@container (max-width:860px){.rmant-myths{grid-template-columns:minmax(0,1fr)}}
@container (max-width:760px){.rmant-tools,.rmant-safety{grid-template-columns:minmax(0,1fr)}}
@container (max-width:620px){.rmq-articles{grid-template-columns:minmax(0,1fr)}}
@container (max-width:460px){.rmant-tool{padding:14px}.rmant-steps li{padding:12px 12px 12px 52px}.rmant-steps li::before{left:12px}.rmant .rmq-out-row strong{text-align:left}}
.rmant-chips-title{margin:10px 0 6px;font-size:14px;color:#cde4e5}
.rmant-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.rmant-chips li{font-size:14px;font-weight:700;color:#fff;background:#12385c;border:1px solid #2c5c80;border-radius:999px;padding:4px 10px;font-variant-numeric:tabular-nums}
.rmant-chips li.rmant-off{color:#cde4e5;font-weight:600;background:transparent}
/* Risorse */
.rmres-search{margin:20px 0 0}
.rmres-none{margin:12px 0 0;padding:12px 15px;border:1px dashed var(--q-line);border-radius:8px;color:var(--q-muted);font-size:15px}
.rmres-group{margin:0 0 24px}
.rmres-group h4{margin:0 0 12px;color:var(--q-navy);font-size:17px;line-height:1.3;padding-left:10px;border-left:3px solid var(--q-teal)}
.rmres-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@container (max-width:860px){.rmres-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:540px){.rmres-grid{grid-template-columns:minmax(0,1fr)}}
.rmres-card{display:flex;flex-direction:column;gap:5px;min-width:0;padding:14px 16px;border:1px solid var(--q-line);border-radius:10px;background:#fff;text-decoration:none;color:var(--q-ink);transition:border-color .15s,box-shadow .15s}
.rmres-card:hover,.rmres-card:focus-visible{border-color:var(--q-teal);box-shadow:0 4px 14px rgba(7,27,50,.08)}
.rmres-card strong{color:var(--q-navy);font-size:16px;line-height:1.3}
.rmres-card span{color:#405866;font-size:14px;line-height:1.55;flex:1}
.rmres-card em{font-style:normal;color:var(--q-teal);font-weight:700;font-size:14px}
.rmres-list{list-style:none;margin:0;padding:0;border:1px solid var(--q-line);border-radius:10px;background:#fff;overflow:hidden}
.rmres-list li{display:grid;grid-template-columns:minmax(180px,30%) minmax(0,1fr);gap:4px 16px;padding:11px 16px;border-top:1px solid var(--q-line)}
.rmres-list li:first-child{border-top:0}
.rmres-list a{color:var(--q-teal);font-weight:700;font-size:15px;text-decoration:none;overflow-wrap:anywhere}
.rmres-list a:hover,.rmres-list a:focus-visible{text-decoration:underline}
.rmres-list span{color:#405866;font-size:14px;line-height:1.55}
@container (max-width:600px){.rmres-list li{grid-template-columns:minmax(0,1fr)}}
.rmres-checked{margin:4px 0 0;color:var(--q-muted);font-size:13px}
[data-rmres-item][hidden],[data-rmres-group][hidden]{display:none!important}
/* 1.0.1 — Come iniziare */
.rmres-how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@container (max-width:640px){.rmres-how{grid-template-columns:minmax(0,1fr)}}
.rmres-how li{display:flex;gap:12px;align-items:flex-start;min-width:0;padding:14px 16px;border:1px solid var(--q-line);border-radius:10px;background:var(--q-soft)}
.rmres-how-n{flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:var(--q-navy);color:#fff;font-weight:700;font-size:14px;display:inline-flex;align-items:center;justify-content:center}
.rmres-how strong{display:block;color:var(--q-navy);font-size:16px;line-height:1.3;margin:3px 0 5px}
.rmres-how p{margin:0;color:#405866;font-size:14px;line-height:1.6}

/* 1.0.2 — modello C: pannelli per tema, senza scatole annidate */
.rmres{--rc:#0086a9}
.rmres-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rmres-hero{display:block;padding:26px 28px}
.rmres-hero .rmq-hero-text{max-width:none}
.rmres-herobar{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.rmres-search{flex:1 1 260px;margin:0}
.rmres-search input{width:100%;min-height:46px;border:0;border-radius:9px;background:#fff;color:var(--q-ink);padding:0 14px;font:inherit;font-size:15px}
.rmres-jump{display:flex;gap:8px;flex-wrap:wrap}
.rmres-jump a{display:inline-flex;align-items:center;min-height:46px;padding:0 16px;border-radius:9px;background:rgba(255,255,255,.14);color:#fff;font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
.rmres-jump a:hover,.rmres-jump a:focus-visible{background:rgba(255,255,255,.26)}
.rmres-none{margin:14px 0 0}
.rmres-block{margin:22px 0 0;scroll-margin-top:22px}
.rmres-head{margin:0 0 14px}
.rmres-head h3{margin:0 0 4px;color:var(--q-navy);font-size:clamp(1.38rem,2.8vw,1.75rem);line-height:1.25}
.rmres-head p{margin:0;color:#405866;font-size:15px}
.rmres-how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid var(--q-line);border-radius:12px;overflow:hidden}
.rmres-how li{display:block;padding:16px;border:0;border-left:1px solid var(--q-line);border-radius:0;background:#fff}
.rmres-how li:first-child{border-left:0}
.rmres-how-n{display:block;flex:none;width:auto;height:auto;border-radius:0;background:none;color:var(--q-teal);font-weight:750;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.rmres-how strong{display:block;color:var(--q-navy);font-size:16px;line-height:1.3;margin:3px 0 5px}
.rmres-how p{margin:0;color:#405866;font-size:14px;line-height:1.6}
.rmres-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.rmres-panel{--rc:#0086a9;background:#fff;border:1px solid var(--q-line);border-radius:14px;overflow:hidden}
.rmres-g-prop{--rc:#c47a12}.rmres-g-lab{--rc:#5b4bc4}.rmres-g-swl{--rc:#258a5c}
.rmres-panel>header{background:var(--rc);color:#fff;padding:13px 18px;font-weight:800;font-size:17px;display:flex;justify-content:space-between;align-items:center}
.rmres-panel>header small{font-weight:600;font-size:14px;opacity:.92}
.rmres-row{display:block;padding:11px 18px;border-top:1px solid var(--q-line);color:var(--q-ink);text-decoration:none}
.rmres-panel>header+.rmres-row{border-top:0}
.rmres-row:hover,.rmres-row:focus-visible{background:var(--q-soft)}
.rmres-row strong{display:block;color:var(--q-navy);font-size:16px;line-height:1.3}
.rmres-row:hover strong{color:var(--rc)}
.rmres-row span{display:block;color:#405866;font-size:14px;line-height:1.5;margin-top:2px}
.rmres-src{columns:3;column-gap:16px}
.rmres-sg{break-inside:avoid;background:#fff;border:1px solid var(--q-line);border-radius:12px;padding:12px 16px;margin:0 0 16px}
.rmres-sg h4{margin:0 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--q-muted)}
.rmres-sg a{display:block;padding:7px 0;border-top:1px solid var(--q-line);color:var(--q-teal);font-weight:700;font-size:15px;text-decoration:none;overflow-wrap:anywhere}
.rmres-sg h4+a{border-top:0}
.rmres-sg a:hover{text-decoration:underline}
.rmres-sg a small{display:block;font-weight:400;color:#485f6c;font-size:13px;line-height:1.45;margin-top:1px}
.rmres-checked{margin:2px 0 0}
@container (max-width:900px){.rmres-how{grid-template-columns:repeat(2,minmax(0,1fr))}.rmres-how li:nth-child(odd){border-left:0}.rmres-how li:nth-child(n+3){border-top:1px solid var(--q-line)}.rmres-src{columns:2}}
@container (max-width:700px){.rmres-panels{grid-template-columns:minmax(0,1fr)}}
@container (max-width:560px){.rmres-hero{padding:20px}.rmres-how{grid-template-columns:minmax(0,1fr)}.rmres-how li{border-left:0;border-top:1px solid var(--q-line)}.rmres-how li:first-child{border-top:0}.rmres-src{columns:1}.rmres-jump a{flex:1 1 auto;justify-content:center}}
