/* [river_flow_gauge] shortcode — standalone gauge card. Namespaced .rm-gauge- so it's safe alongside .rm- (river-map.css). */

.rm-gauge-card{
  --rm-gauge-navy:#14384f;
  --rm-gauge-muted:#6d818c;
  --rm-gauge-track:#e3e7e9;
  --rm-gauge-shadow:0 6px 20px rgba(12,35,50,.10);
  box-sizing:border-box;max-width:300px;
  padding:16px 18px;
  background-color:var(--base,#fff);
  border-radius:12px;box-shadow:var(--rm-gauge-shadow);
  font-family:"Tirra",system-ui,-apple-system,"Segoe UI",sans-serif;color:#22333d;
}
.rm-gauge-card *{box-sizing:border-box}

.rm-gauge-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.rm-gauge-label{font-family:"Barlow",inherit;font-size:12px;font-weight:600;color:var(--rm-gauge-navy);line-height:1.3}

.rm-gauge-badge{
  flex:0 0 24px;width:24px;height:24px;border-radius:5px;
  display:flex;align-items:center;justify-content:center;
  background:var(--rm-blue,#1a7fb5);color:#fff;
}
.rm-gauge-badge svg{width:13px;height:13px}
.rm-gauge-badge--high{background:#e8632a}

.rm-gauge-value{margin-top:6px;font-size:32px;font-weight:700;color:var(--rm-gauge-navy);line-height:1.1}
.rm-gauge-unit{font-size:14px;font-weight:600;color:var(--rm-gauge-navy);margin-left:2px}

.rm-gauge-message{margin:6px 0 0;font-size:12px;color:#22333d;line-height:1.5}
.rm-gauge-link{display:inline-flex;vertical-align:middle;margin-left:4px;color:var(--rm-blue,#1a7fb5)}
.rm-gauge-link svg{width:14px;height:14px;display:block}

.rm-gauge-bar{margin-top:12px;height:6px;border-radius:6px;background:var(--rm-gauge-track);overflow:hidden}
.rm-gauge-bar-fill{height:100%;border-radius:6px;background:var(--rm-gauge-navy);transition:width .3s ease}
