/* Shared dashboard geometry only; each theme keeps its surface, form and pointer. */
html[data-theme][data-mode] .station-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr)) !important;
  gap:32px !important;
}
.station-grid > .card { min-width:0; }

/* Static native cursors: no mouse listeners, animation or overlay. */
html[data-theme="apple"] { --cur-hand:url("/cursors/apple.png") 17 4; }
html[data-theme="tesla"] { --cur-hand:url("/cursors/tesla.png") 14 3; }
html[data-theme="antigravity"] { --cur-hand:url("/cursors/antigravity.png") 14 3; }
html[data-theme="begg"] { --cur-hand:url("/cursors/begg.png") 14 3; }
html:is([data-theme="apple"],[data-theme="tesla"],[data-theme="antigravity"],[data-theme="begg"]) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),textarea,[contenteditable="true"]) { cursor:text !important; }
html:is([data-theme="apple"],[data-theme="tesla"],[data-theme="antigravity"],[data-theme="begg"]) :disabled { cursor:not-allowed !important; }

/* Begg keeps its label typography with a quieter dashboard scale. */
html[data-theme="begg"][data-mode] #content:has(> .station-grid) > .section-head h2 { font-size:clamp(26px,2.4vw,32px); }
html[data-theme="begg"][data-mode] .station-card h3 { font-size:24px; }
html[data-theme="begg"][data-mode] .station-card .sc-bal-num { font-size:clamp(28px,2.5vw,34px); }

/* Give older rectangular cards enough height to balance the wider dashboard row. */
@media (min-width:701px) {
  html[data-theme][data-mode]:not(:is([data-theme="apple"],[data-theme="tesla"],[data-theme="antigravity"],[data-theme="begg"],[data-theme="bubbly"],[data-theme="cloudy"],[data-theme="sakura"],[data-theme="emerald"],[data-theme="flux"],[data-theme="analytica"],[data-theme="roam"],[data-theme="ion"],[data-theme="orbit"],[data-theme="nimbus"],[data-theme="signal"],[data-theme="brush"],[data-theme="reel"],[data-theme="smorg"])) .station-card {
    min-height:clamp(330px,24vw,420px);
    padding:28px; display:flex; flex-direction:column;
  }
}
html[data-theme][data-mode]:not(:is([data-theme="apple"],[data-theme="tesla"],[data-theme="antigravity"],[data-theme="begg"],[data-theme="bubbly"],[data-theme="cloudy"],[data-theme="sakura"],[data-theme="emerald"],[data-theme="flux"],[data-theme="analytica"],[data-theme="roam"],[data-theme="ion"],[data-theme="orbit"],[data-theme="nimbus"],[data-theme="signal"],[data-theme="brush"],[data-theme="reel"],[data-theme="smorg"])) .station-card .ov { display:flex; flex-direction:column; flex:1; }
html[data-theme][data-mode]:not(:is([data-theme="apple"],[data-theme="tesla"],[data-theme="antigravity"],[data-theme="begg"],[data-theme="bubbly"],[data-theme="cloudy"],[data-theme="sakura"],[data-theme="emerald"],[data-theme="flux"],[data-theme="analytica"],[data-theme="roam"],[data-theme="ion"],[data-theme="orbit"],[data-theme="nimbus"],[data-theme="signal"],[data-theme="brush"],[data-theme="reel"],[data-theme="smorg"])) .station-card .sc-rows { margin-top:auto; }
/* Keep bubble silhouettes compact within the full-width grid, with readable contents. */
html[data-theme="bubbly"][data-mode] .station-grid > :is(.station-card,.add-card) {
  width:100%; max-width:350px; min-height:0;
  justify-self:center; align-self:start;
  padding:36px 32px !important;
}
html[data-theme="bubbly"][data-mode] .station-card h3 { font-size:22px; }
html[data-theme="bubbly"][data-mode] .station-card .sc-bal-num { font-size:32px; }
html[data-theme="bubbly"][data-mode] .station-card .sc-balance { margin:12px 0 !important; }
html[data-theme="bubbly"][data-mode] .station-card .sc-rows { gap:8px; }
@media (max-width:450px) {
  html[data-theme="bubbly"][data-mode] .station-grid > :is(.station-card,.add-card) { padding:30px 24px !important; }
}
html[data-theme="bubbly"][data-mode] .station-grid { max-width:1180px; width:100%; margin-inline:auto; gap:48px !important; }
