.st5-wrap { margin:0 auto; padding:10px; background:var(--colour-surface-soft, #F9F9FA); border-radius:10px; box-sizing:border-box; text-align:left; }
.st5-card { background:var(--colour-surface, #fff); border:1px solid var(--colour-line, #E8E8E8); border-radius:16px; box-shadow:0 4px 18px var(--colour-shadow-soft, rgba(40,60,80,.10)); margin:0 0 12px; overflow:hidden; overflow:clip; box-sizing:border-box; }
.st5-card::before { content:''; display:block; height:4px; background:linear-gradient(to right,var(--colour-good, #2FC997),var(--colour-good-strong, #0B7A58)); }
.st5-head { display:flex; align-items:center; gap:10px; padding:10px 14px; border-bottom:1px solid var(--colour-line, #E8E8E8); background:var(--colour-surface-soft, #F9F9FA); }
.st5-head h3 { margin:0; }
.st5-ic { flex:0 0 44px; width:44px; height:44px; }
.st5-ic img { display:block; width:44px; height:44px; }
.st5-body { padding:12px 14px; }
.st5-till { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:12px 14px; }
.st5-till .st5-ic { flex-basis:56px; width:56px; height:56px; }
.st5-note { padding:0 14px 12px; }
.st5-held { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; }
.st5-held span { flex:1 1 260px; min-width:0; }
.st5-held .gal-btn { flex:none; }
.st5-till .st5-ic img { width:56px; height:56px; }
.st5-till form { display:flex; gap:8px; align-items:center; margin:0; }
.st5-till input[type=number] { width:130px; padding:6px 10px; border:1px solid var(--colour-btn-glass-border, rgba(159,170,179,.78)); border-radius:9px; background:var(--colour-surface, #fff); box-sizing:border-box; }
.st5-go, .st5-pill { border:1px solid var(--colour-btn-glass-border, rgba(159,170,179,.78)); border-radius:9px; background:linear-gradient(145deg,var(--colour-btn-glass-top, rgba(248,248,249,.90)),var(--colour-btn-glass-bottom, rgba(232,232,232,.94))); color:var(--colour-btn-glass-text, #46515b); font-weight:800; cursor:pointer; box-shadow:0 2px 5px rgba(30,42,54,.13),inset 0 1px 0 var(--colour-shine, rgba(255,255,255,.96)),inset 0 -1px 0 rgba(119,132,143,.11); transition:transform .12s ease,border-color .12s ease,background .12s ease,box-shadow .12s ease; }
.st5-go:hover, .st5-pill:hover { border-color:var(--colour-btn-glass-border-hover, #91a2b1); background:linear-gradient(145deg,var(--colour-shine, rgba(255,255,255,.96)),rgba(235,235,235,.96)); }
.st5-go:active, .st5-pill:active { transform:translateY(1px) scale(.98); background:linear-gradient(145deg,rgba(224,224,224,.96),rgba(239,239,239,.94)); }
.st5-grow { flex:1 1 auto; min-width:0; }
.st5-muted { color:var(--colour-text-soft, #65676b); }
.st5-tiles { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin:0 0 12px; }
.st5-tile { background:var(--colour-surface, #fff); border:1px solid var(--colour-line, #E8E8E8); border-radius:14px; box-shadow:0 1px 3px rgba(40,60,80,.08); padding:10px 6px; text-align:center; }
.st5-body .st5-tile { background:var(--colour-surface-soft, #F9F9FA); box-shadow:none; }
.st5-chip { display:inline-block; margin-top:3px; padding:1px 8px; border-radius:999px; font-weight:800; background:var(--colour-surface-soft, #f9f9fa); border:1px solid #bfe4c9; }
.st5-chip.offline { background:#fdebea; border-color:#e2b7b4; }
.st5-read { margin:0 0 8px; }
.st5-chart { display:flex; gap:6px; }
.st5-scale { position:relative; flex:0 0 34px; height:150px; }
.st5-scale span { position:absolute; right:0; transform:translateY(50%); line-height:1; white-space:nowrap; }
.st5-bars { position:relative; flex:1 1 auto; min-width:0; display:flex; align-items:flex-end; gap:3px; height:150px; touch-action:pan-y; }
.st5-bars b { position:absolute; left:0; right:0; height:1px; background:#eef0f4; }
.st5-bars i { position:relative; flex:1 1 0; min-height:2px; border-radius:3px 3px 0 0; background:linear-gradient(0deg,var(--colour-good, #2FC997),var(--colour-good-strong, #0B7A58)); cursor:pointer; }
.st5-bars i.st5-zero { background:#e2e6ee; }
.st5-axis { position:relative; height:16px; margin:4px 0 0 40px; }
.st5-axis span { position:absolute; top:0; white-space:nowrap; transform:translateX(-50%); }
.st5-axis span.st5-end { transform:translateX(-100%); }
.st5-row { display:flex; gap:12px; flex-wrap:wrap; align-items:flex-start; }
.st5-row > .st5-card { flex:1 1 300px; }
.st5-list { list-style:none; margin:0; padding:0 14px; }
.st5-list li { display:flex; align-items:center; gap:12px; box-sizing:border-box; min-height:96px; padding:7px 0; background:linear-gradient(to right,var(--colour-surface, #FFFFFF),var(--colour-section-bg, #E8E8E8),var(--colour-surface, #FFFFFF)) top/100% 1px no-repeat; }
.st5-list li:first-child { background:none; }
.st5-list .mp-dollframe-pip { margin-right:4px; }
.st5-icon { flex:0 0 80px; width:80px; height:80px; text-align:center; }
.st5-heatwrap { display:grid; grid-template-columns:28px repeat(53, minmax(0, 1fr)); column-gap:2px; }
.st5-heat { touch-action:pan-y; display:grid; grid-template-columns:28px repeat(53, minmax(0, 1fr)); grid-template-rows:repeat(7, auto); grid-auto-flow:column; gap:2px; }
.st5-heat b { padding-right:4px; line-height:1; }
.st5-heat i { display:block; aspect-ratio:1; border-radius:2px; background:#e8ebf0; cursor:pointer; }
.st5-heat i.st5-out { background:transparent; cursor:default; }
.st5-bars i.st5-sel, .st5-heat i.st5-sel { box-shadow:0 0 0 2px #1f2937; }
.st5-heatwrap span { white-space:nowrap; }
.st5-key { text-align:right; margin-top:6px; }
.st5-key i { display:inline-block; width:9px; height:9px; margin-left:6px; border-radius:2px; background:#e8ebf0; vertical-align:middle; }
i.st5-l1 { background:#D5F4EA; }
i.st5-l2 { background:#97E4CB; }
i.st5-l3 { background:var(--colour-good, #2FC997); }
i.st5-l4 { background:var(--colour-good-strong, #0B7A58); }
.st5-alert { display:flex; gap:8px; align-items:center; justify-content:center; flex-wrap:wrap; margin:0; padding:10px 14px; }
.st5-pill { padding:4px 16px; }
.st5-pill.st5-on { border-color:var(--colour-btn-glass-border-hover, #91a2b1); background:linear-gradient(145deg,rgba(224,224,224,.96),rgba(239,239,239,.94)); color:#27313a; box-shadow:inset 0 2px 5px rgba(36,49,61,.2),inset 0 1px 0 rgba(255,255,255,.6); }
.st5-tiles3 { grid-template-columns:repeat(3, minmax(0, 1fr)); margin:10px 0 0; }
@media (max-width:600px) { .st5-wrap { padding:8px; } .st5-tiles { grid-template-columns:repeat(2, minmax(0, 1fr)); } .st5-tiles3 .st5-tile:last-child { grid-column:span 2; } }
