/* wxmap.pro lab: the lab's panel sections and low card, on top of map/map.css
   (house tokens, glass surfaces, the cyclone list and card styles it reuses). */

/* rarity: a ring that gets heavier and stronger as the low gets rarer (no hazard colours) */
.swatch-rare { background: transparent; border-radius: 50%; width: 12px; height: 12px; border: 3px solid var(--text); }
.lab-ring { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--text-3); opacity: .55; }
.lab-ring[data-tier="1"] { border-width: 1.6px; border-color: var(--text-2); opacity: .75; }
.lab-ring[data-tier="2"] { border-width: 2.4px; border-color: var(--text); opacity: .9; }
.lab-ring[data-tier="3"] { border-width: 3.4px; border-color: var(--text); opacity: 1; }

/* the panel's two tabs: Lab, and the marine wind page's own sections */
.panel-tabs { margin: 0 14px 4px; }
.panel-tabs button[aria-selected="true"] { background: var(--accent-soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
#panel[data-tab="lab"] .mw-sec, #panel[data-tab="wind"] .lab-sec { display: none; }

/* bomb watch day buttons */
.seg { display: flex; gap: 2px; padding: 2px; margin-top: 6px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.seg button {
  flex: 1; padding: 5px 0; border: 0; border-radius: calc(var(--radius-sm) - 2px);
  background: transparent; color: var(--text-2); font: 500 12px var(--sans); cursor: pointer;
}
.seg button:hover { background: var(--surface-hover); }
.seg button[aria-checked="true"] { background: var(--accent-soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.lab-note { color: var(--text-2); font-size: 12px; line-height: 1.45; margin: 8px 0 0; }
.lab-note b { color: var(--text); }
.lab-legend { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; }
.lab-legend span, .lab-key span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.lab-legend i, .lab-key i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* low card */
.lab-card { width: 360px; }
.lab-body { display: flex; flex-direction: column; gap: 12px; }
.lab-block h4, .lab-block h5 { margin: 0 0 4px; font: 600 11px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.lab-block h5 { margin-top: 10px; }
.lab-block p { margin: 0; color: var(--text-2); font-size: 12px; line-height: 1.45; }
.lab-big { font: 600 20px/1.2 var(--display) !important; color: var(--text) !important; border-left: 4px solid var(--c); padding-left: 8px; margin-bottom: 4px !important; }
.lab-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 8px 0 4px; background: var(--surface-raised); }
.lab-key { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 11px !important; }
.lab-twins { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.lab-twins li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 7.5em; gap: 8px; align-items: center; font-size: 12px; }
.lab-twins b { font: 500 11.5px var(--mono); color: var(--text-2); }
.lab-twins em { font-style: normal; font-size: 11px; color: var(--text-2); border-left: 3px solid var(--c); padding-left: 5px; }
.lab-fine { color: var(--text-3); font-size: 11px; line-height: 1.4; margin: 0; }
@media (max-width: 760px) { .lab-card { width: auto; left: 8px; right: 8px; } }
