.amrh, .amrh * { box-sizing:border-box; }
.amrh{
  --navy:#07243d; --blue:#1479b8; --blue2:#3aa7dc; --ink:#152536;
  --muted:#657586; --line:#dbe6ee; --panel:#f4f8fb; --white:#fff;
  --dry:#4b956e; --light:#4bb6d8; --moderate:#287fc2;
  --steady:#7357b8; --heavy:#cc4e73; --veryheavy:#982447;
  width:100%; max-width:1100px; margin:22px auto; color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.45;
}
.amrh button,.amrh input{font:inherit}.amrh button{cursor:pointer}.amrh [hidden]{display:none!important}
.amrh-shell{overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 20px 58px rgba(7,36,61,.12)}
.amrh-hero{position:relative;overflow:hidden;padding:30px 34px 28px;color:#fff;background:radial-gradient(circle at 88% 18%,rgba(126,218,255,.32),transparent 23%),radial-gradient(circle at 75% 95%,rgba(47,155,211,.22),transparent 30%),linear-gradient(125deg,#061d32 0%,#0a3c61 55%,#126d9e 100%)}
.amrh-kicker{margin:0 0 6px;color:#9ddfff;font-size:12px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.amrh-hero h2{margin:0;color:#fff;font-size:clamp(30px,5vw,48px);font-weight:850;letter-spacing:-.035em;line-height:1.04}
.amrh-hero p:last-child{max-width:790px;margin:10px 0 0;color:#dceefa;font-size:15px}
.amrh-drop{position:absolute;top:24px;right:38px;font-size:76px;opacity:.9;filter:drop-shadow(0 12px 20px rgba(0,0,0,.16))}
.amrh-controls{position:relative;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:18px 22px;border-bottom:1px solid var(--line);background:#fff}
.amrh-field{position:relative}.amrh-field label{display:block;margin:0 0 7px;color:#28445c;font-size:13px;font-weight:800}
.amrh-input-wrap{position:relative}.amrh-input-wrap>span:first-child{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:20px;color:#497a9b;pointer-events:none}
.amrh-input-wrap input{width:100%;height:50px;margin:0;padding:0 45px 0 43px;border:1px solid #c9d8e4;border-radius:13px;outline:none;background:#fff;color:#172a3a;box-shadow:none}
.amrh-input-wrap input:focus{border-color:#2e91c6;box-shadow:0 0 0 4px rgba(46,145,198,.14)}
.amrh-locate{min-height:50px;padding:0 18px;border:1px solid #0d537f;border-radius:13px;background:#0d537f;color:#fff;font-weight:800}
.amrh-locate:hover{background:#126a9d}.amrh-locate:disabled{opacity:.62;cursor:wait}
.amrh-spinner{position:absolute;right:15px;top:calc(50% - 9px);width:18px;height:18px;border:2px solid rgba(20,121,184,.2);border-top-color:#1479b8;border-radius:50%;animation:amrh-spin .75s linear infinite}
@keyframes amrh-spin{to{transform:rotate(360deg)}}
.amrh-suggestions{position:absolute;z-index:1000;left:0;right:0;top:calc(100% + 7px);display:none;overflow:hidden;margin:0;padding:6px;border:1px solid #d4e0e8;border-radius:13px;background:#fff;box-shadow:0 18px 48px rgba(7,36,61,.18);list-style:none}
.amrh-suggestions.is-open{display:block}.amrh-suggestions li{margin:0;padding:0}
.amrh-suggestions button{display:block;width:100%;padding:10px 11px;border:0;border-radius:9px;background:transparent;text-align:left;color:#1b3244}
.amrh-suggestions button:hover{background:#edf7fc}.amrh-suggestions strong,.amrh-suggestions small{display:block}
.amrh-suggestions small{margin-top:2px;color:#71808b;font-size:12px}
.amrh-statusbar{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 22px;background:#f8fbfd;border-bottom:1px solid var(--line);font-size:13px;color:#546a79}
.amrh-status-dot{width:9px;height:9px;border-radius:50%;background:#9aa9b3;box-shadow:0 0 0 4px rgba(154,169,179,.14)}
.amrh-status-dot.is-live{background:#35a66f;box-shadow:0 0 0 4px rgba(53,166,111,.15)}.amrh-status-dot.is-warn{background:#e09a31;box-shadow:0 0 0 4px rgba(224,154,49,.15)}
.amrh-inline{margin-left:auto;font-weight:700}.amrh-inline.is-error{color:#b63a43}.amrh-inline.is-ok{color:#29875b}
.amrh-content{padding:22px}.amrh-welcome,.amrh-loading,.amrh-error{padding:28px;border:1px solid var(--line);border-radius:16px;background:#f7fafc;text-align:center;color:#5b7080}
.amrh-welcome strong{display:block;margin-bottom:5px;color:#1c3446;font-size:20px}.amrh-welcome span{display:block}
.amrh-error{border-color:#efc8cb;background:#fff3f4;color:#9e2d36}
.amrh-main{display:grid;gap:18px}.amrh-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:17px;align-items:center;padding:22px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#f8fcff,#eef7fc)}
.amrh-summary-icon{display:grid;width:64px;height:64px;place-items:center;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(7,36,61,.08);font-size:34px}
.amrh-place{margin:0 0 4px;color:#357398;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.amrh-summary h3{margin:0;color:#132d42;font-size:clamp(21px,3vw,29px);line-height:1.15}.amrh-summary-message{margin:7px 0 0;color:#607482}
.amrh-total{min-width:170px;padding:14px 16px;border:1px solid #cfe4ef;border-radius:14px;background:#fff;text-align:center}.amrh-total span{display:block;color:#71818c;font-size:12px;font-weight:700}.amrh-total strong{display:block;margin-top:3px;color:#0a5784;font-size:25px}
.amrh-timeline-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.amrh-timeline-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:15px;color:#2d4657}.amrh-timeline-head span{color:#7c8b95;font-size:12px}
.amrh-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.amrh-slot{position:relative;display:flex;min-width:0;min-height:145px;flex-direction:column;align-items:center;justify-content:center;padding:13px 8px;border:1px solid var(--line);border-radius:14px;background:#f9fbfc;text-align:center}
.amrh-slot-time{font-size:12px;font-weight:800;color:#526875}.amrh-slot-dot{width:14px;height:14px;margin:11px 0;border-radius:50%;background:var(--slot,#8fa2ae);box-shadow:0 0 0 5px color-mix(in srgb,var(--slot,#8fa2ae) 15%,transparent)}
.amrh-slot-label{font-weight:850;color:#21394a}.amrh-slot-rate{margin-top:5px;font-size:13px;color:#4b6170}.amrh-slot-amount{margin-top:2px;font-size:11px;color:#82909a}
.amrh-dry{--slot:var(--dry)}.amrh-light{--slot:var(--light)}.amrh-moderate{--slot:var(--moderate)}.amrh-steady{--slot:var(--steady)}.amrh-heavy{--slot:var(--heavy)}.amrh-veryheavy{--slot:var(--veryheavy)}
.amrh-legend{display:flex;flex-wrap:wrap;gap:9px 15px;padding:0 4px;color:#647885;font-size:12px}.amrh-legend span{display:inline-flex;align-items:center;gap:6px}.amrh-legend i{width:9px;height:9px;border-radius:50%;background:var(--slot,#999)}
.amrh-note{display:flex;flex-wrap:wrap;gap:6px 18px;padding:12px 15px;border-radius:13px;background:#f5f8fa;color:#73828c;font-size:11px}
@media(max-width:720px){.amrh{margin:12px 0}.amrh-shell{border-radius:16px}.amrh-hero{padding:24px 18px}.amrh-drop{display:none}.amrh-controls{grid-template-columns:1fr;padding:14px}.amrh-locate{width:100%}.amrh-statusbar{align-items:flex-start;flex-wrap:wrap;padding:10px 14px}.amrh-inline{width:100%;margin-left:17px}.amrh-content{padding:14px}.amrh-summary{grid-template-columns:auto 1fr}.amrh-total{grid-column:1/-1;min-width:0}.amrh-slots{grid-template-columns:repeat(5,minmax(110px,1fr));overflow-x:auto;padding-bottom:5px}.amrh-timeline-head{flex-direction:column}.amrh-note{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.amrh-spinner{animation-duration:.01ms}}
.amrh-source-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#e7f7ff;color:#0b6594;font-weight:800}
.amrh-source-badge.is-radar{background:#e4f7ee;color:#267451}.amrh-source-badge.is-fallback{background:#fff3dc;color:#8b5b14}
