/* ICDO IMCC Early Warning · compact professional Situation subpage */
.ew-surface{background:#f4f7f9;min-height:calc(100vh - 200px);color:#223b51}
.ew-hero{padding:35px 0 39px;background:linear-gradient(115deg,#0b2138,#1a3d5c);color:#fff}
.ew-eyebrow,.ew-kicker{font-size:10px;letter-spacing:.115em;font-weight:750;color:#93b9d2;margin:0 0 12px}
.ew-hero-row{display:flex;justify-content:space-between;align-items:end;gap:28px}
.ew-hero h1{font-size:clamp(30px,4vw,47px);letter-spacing:-.045em;margin:0 0 12px;color:#fff}
.ew-hero p:not(.ew-eyebrow){font-size:13px;color:#c0d1df;line-height:1.65;max-width:780px;margin:0}
.ew-back{white-space:nowrap;display:inline-flex;gap:8px;align-items:center;
  color:#fff!important;padding:10px 13px;border:1px solid #688399;border-radius:6px;font-size:11px;font-weight:700}
.ew-back:hover{background:#294e6c}
.ew-content{padding-top:24px;padding-bottom:75px}
.ew-context-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;
  border:1px solid #dae5ed;background:#fff;border-radius:10px;padding:15px 18px;margin-bottom:37px}
.ew-country-form{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.ew-country-form label{display:flex;align-items:center;gap:7px;color:#365772;font-size:11px;font-weight:750;white-space:nowrap}
.ew-country-form select{min-width:225px;max-width:290px;padding:9px 12px;border:1px solid #d4e2eb;border-radius:6px;background:#f7fafc;color:#25465f;font-size:11px}
.ew-country-form button{padding:10px 14px;border:0;border-radius:6px;background:#285b7e;color:#fff;font-size:11px;font-weight:750;cursor:pointer}
.ew-context-bar>p{margin:0;max-width:490px;font-size:10.5px;line-height:1.6;color:#708497}
.ew-context-bar strong{color:#3c5e78}
.ew-section-heading{display:flex;justify-content:space-between;align-items:end;gap:22px;margin:0 0 18px}
.ew-section-heading h2{font-size:25px;line-height:1.2;letter-spacing:-.035em;color:#1a354c;margin:0 0 8px;font-weight:760}
.ew-section-heading p:not(.ew-kicker){max-width:780px;font-size:11.5px;line-height:1.65;color:#6b8194;margin:0}
.ew-section-heading>a{display:inline-flex;gap:8px;align-items:center;flex:none;
  color:#275f83!important;font-size:11px;font-weight:750;white-space:nowrap}
.ew-map-panel{overflow:hidden;border:1px solid #dce6ed;border-radius:12px;background:#fff}
.ew-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px 14px;border-bottom:1px solid #e1e9ef}
.ew-layer-tabs{display:flex;gap:5px;flex-wrap:wrap}
.ew-layer-tabs button{padding:9px 12px;border:1px solid #dfe7ed;border-radius:6px;
  background:#f8fafb;color:#45657e;font-size:10.5px;font-weight:720;cursor:pointer}
.ew-layer-tabs button.is-active{background:#214968;border-color:#214968;color:#fff}
.ew-layer-tabs button:hover:not(.is-active){background:#eef4f8}
.ew-map-home{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;
  border:1px solid #dce6ed;background:#fff;border-radius:6px;padding:9px 10px;
  color:#4c6a80;font-size:10px;font-weight:650;cursor:pointer}
.ew-map-stage{position:relative;height:435px;background:#e5edf3}
#ew-forecast-map{width:100%;height:100%}
.ew-map-alert{position:absolute;top:15px;left:50%;transform:translateX(-50%);
  z-index:5;padding:11px 15px;max-width:min(520px,90%);border-radius:7px;
  background:#fff5ee;border:1px solid #e5cdbb;color:#7c5237;font-size:11px;
  line-height:1.5;box-shadow:0 5px 18px rgba(35,50,67,.12)}
.ew-map-attribution{position:absolute;right:7px;bottom:7px;z-index:3;
  padding:4px 7px;border-radius:4px;background:rgba(255,255,255,.92);color:#3a566a;
  font-size:9px;line-height:1.4}
.ew-map-attribution a{color:#275b7c!important;text-decoration:underline}
.ew-map-footer{display:flex;align-items:start;justify-content:space-between;gap:26px;
  padding:16px 19px}
.ew-map-footer>div{max-width:620px}
.ew-map-footer strong{color:#1e4059;font-size:12px;font-weight:750}
.ew-map-footer p{margin:6px 0;color:#688093;font-size:11px;line-height:1.55}
.ew-map-footer span:not(.ew-validity){color:#356984;font-size:10px;font-weight:700}
.ew-validity{display:flex;gap:8px;flex:0 1 310px;align-items:start;
  color:#708294;font-size:10px;line-height:1.6}
.ew-validity i{margin-top:1px}
.ew-notice-heading{margin-top:55px}
.ew-notice-count{padding:7px 10px;border-radius:6px;background:#e8f0f5;color:#355e7c;
  font-size:11px;font-weight:730;white-space:nowrap}
.ew-notice-empty{display:flex;align-items:center;gap:16px;border:1px solid #e0e8ee;
  background:#fff;border-radius:9px;min-height:95px;padding:20px 24px}
.ew-notice-empty i{font-size:23px;color:#6889a4}
.ew-notice-empty p{font-size:11.5px;color:#637c90;line-height:1.65;max-width:860px;margin:0}
.ew-warning-list{display:grid;gap:8px}
.ew-warning-card{display:grid;grid-template-columns:105px minmax(0,1fr) 30px;
  gap:17px;align-items:center;padding:15px 19px;border:1px solid #dfe8ef;
  background:#fff;border-radius:8px}
.ew-warning-level{display:flex;align-items:center;gap:6px;
  color:#526a7c;font-size:11px;font-weight:750}
.ew-warning-level.ew-extreme{color:#b35d48}
.ew-warning-level.ew-severe{color:#a27736}
.ew-warning-main{min-width:0}
.ew-warning-meta{font-size:10px;color:#587891;font-weight:700}
.ew-warning-main h3{font-size:13px;color:#183950;margin:5px 0;line-height:1.4}
.ew-warning-main p{margin:0 0 5px;font-size:11px;color:#5d7385}
.ew-warning-main>span{font-size:10px;color:#7b8da0}
.ew-warning-card>a{color:#2c6687;font-size:18px}
.ew-footnote{color:#a36e33;font-size:10px}
.ew-resources{margin-top:58px}
.ew-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ew-resource-grid>div{display:flex;flex-direction:column;align-items:start;
  padding:22px;border:1px solid #dce6ee;border-radius:9px;background:#fff;min-height:213px}
.ew-resource-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;
  background:#ecf3f7;color:#345f80;font-size:18px;margin-bottom:15px}
.ew-resource-grid h3{font-size:13px;color:#1d3a53;margin:0 0 9px;font-weight:760}
.ew-resource-grid p{font-size:11px;color:#6b8193;line-height:1.65;margin:0 0 15px}
.ew-resource-grid a{margin-top:auto;display:flex;gap:7px;align-items:center;
  color:#285f82!important;font-size:10.5px;font-weight:750}
@media(max-width:1000px){.ew-context-bar{align-items:start;flex-direction:column;gap:11px}
  .ew-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){.ew-hero-row,.ew-section-heading{align-items:start;flex-direction:column}
  .ew-country-form{width:100%;flex-wrap:wrap}.ew-country-form select{flex:1;min-width:155px}
  .ew-map-toolbar{align-items:start;flex-direction:column}
  .ew-map-stage{height:350px}.ew-map-footer{flex-direction:column;gap:10px}
  .ew-validity{flex:auto}.ew-warning-card{grid-template-columns:1fr 25px;gap:7px}
  .ew-warning-level{grid-column:1/-1}.ew-resource-grid{grid-template-columns:1fr}
  .ew-resource-grid>div{min-height:0}.ew-content{padding-bottom:45px}}
@media(prefers-reduced-motion:reduce){.ew-surface *{scroll-behavior:auto}}

.ew-forecast-status{display:flex;align-items:center;gap:9px;padding:9px 14px;
  border-bottom:1px solid #e1e8ef;background:#f7f9fb;
  color:#697e90;font-size:10.5px;font-weight:650}
.ew-service-light{width:7px;height:7px;border-radius:50%;background:#d6a461}
.ew-forecast-status.is-available .ew-service-light{background:#4c9c79}
.ew-forecast-status.is-available{color:#466c62}

.ew-directory-error{padding:13px 16px;margin-bottom:13px;border-radius:7px;border:1px solid #dfccba;background:#fff5ed;color:#865a3e;font-size:11px;line-height:1.6}
