/* Black × orange edition */
:root{color:#f5f1ea;background:#08090b;color-scheme:dark}
body{background:radial-gradient(ellipse 85% 37% at 95% -12%,#522608 0%,transparent 80%),#08090b}
.brand-icon{background:linear-gradient(145deg,#ffad37,#ed6500);box-shadow:0 10px 28px #f4771642}
.brand small{color:#bca99b}.avatar{background:#2a1b10;border-color:#6b421e;color:#ffaf59}
.tabs{background:#171719;border-color:#343035}.tab{color:#aca6a1}.tab.active{background:linear-gradient(140deg,#ff9c26,#f06a00);color:#170b02;box-shadow:0 5px 19px #e76a214d}
.sub,.time-label,.train-route,.muted{color:#ada69f}.pill{background:#292728;color:#d4cbc1}.pill.blue{background:#432a15;color:#ffc184}.pill.amber{background:#50351f;color:#f9c58e}.pill.red{background:#4b2430;color:#ffadb7}.pill.green{background:#174238;color:#85e5bb}
.train{background:linear-gradient(140deg,#1d1d1f,#131416);border-color:#383434;box-shadow:0 12px 25px #0007}.train-number{color:#ffac55}.train-bottom{border-top-color:#383435;color:#bcb5aa}.station{color:#f8f5f0}.arrow{color:#e88835}
.notice{background:#1a1a1b;border-color:#363436;color:#c4bab2}.notice.warn{background:#332417;border-color:#855124;color:#ffcf99}
.icon-button{background:#28201a;border-color:#6d4628;color:#ffb15e}
.section-card{background:#19191b;border-color:#373438}.section-card p{color:#bdb5ad}
.primary{background:linear-gradient(145deg,#ffa12d,#f17606);color:#180e05;box-shadow:0 7px 21px #e66d192d}.secondary{background:#2c2119;border-color:#6f4a2d;color:#ffd5ab}
.field{background:#101113;border-color:#49403b;color:#f8f2e9}.field:focus{border-color:#ff8d28}
.note{background:#1c1b1b;border-color:#403835}.empty{color:#b7a99e;border-color:#594331}.foot{color:#93857a}a{color:#ffb769}.dots{background:#ff9132}
.brand-icon.leo-symbol{background:#1c1b19;border:1px solid #4d3524;box-shadow:none}.leo-symbol img{width:42px;height:42px}.leo-title{font-weight:800;letter-spacing:-1.1px;text-transform:none}.leo-avatar{background:#1b1a19;border:1px solid #4d3524}.leo-avatar img{width:38px;height:38px}
.notice[role="status"], .train .pill { font-size: .875rem; }

.shifts-link { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.shifts-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.shifts-heading h2 { margin:0 0 5px; font-size:1.5rem; }
.shift-list { display:grid; gap:10px; }
.shift-person { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:14px; align-items:center; min-height:78px; background:linear-gradient(110deg,#241b14,#19191b 55%); border:1px solid #3e3329; border-left:3px solid #f68a24; border-radius:17px; padding:16px 18px; }
.shift-person h3 { margin:0; min-width:0; font-size:1.0625rem; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.shift-count { display:flex; align-items:center; justify-content:center; gap:7px; min-width:64px; padding:8px 10px; background:#272628; border:1px solid #3b3734; border-radius:11px; font-size:1rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.shift-pay { display:flex; align-items:baseline; justify-content:flex-end; gap:5px; min-width:108px; color:#ffb565; font-size:1.375rem; font-variant-numeric:tabular-nums; letter-spacing:-.04em; white-space:nowrap; }
.shift-pay strong { font-weight:800; }
.shift-currency { color:#bfa185; font-size:.875rem; font-weight:700; letter-spacing:0; }
@media(max-width:420px) { .shift-person { gap:10px; padding:14px 12px; min-height:70px; } .shift-person h3 { font-size:1rem; } .shift-count { min-width:56px; padding:7px; gap:5px; font-size:.9375rem; } .shift-pay { min-width:94px; font-size:1.25rem; } }
.shift-sync { color:#ada69f; font-size:.875rem; line-height:1.6; margin:16px 0 0; }
.sync-stale { color:#ffcf99; }
.heading-actions { display: flex; align-items: center; gap: 8px; }
.schedule-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 9px 11px 9px 15px; margin: 16px 0 0; font-size: .875rem; }
.schedule-toolbar .icon-button { min-width: 40px; min-height: 40px; padding: 7px 10px; }
.time-changed { color: #ff9c43; }

.train-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; }
.train-heading { min-width: 0; }
.train-number { font-size: .875rem; line-height: 1.4; }
.train-station { margin-top: 8px; color: #f8f5f0; font-size: 1rem; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.train-arrival-location { margin-top:5px; color:#b9a591; font-size:.875rem; line-height:1.5; overflow-wrap:anywhere; }
.train-head-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.train-head-meta .pill { max-width: 120px; white-space: normal; text-align: right; }
.time-label { font-size: .875rem; line-height: 1.4; }
.time-meta { color: #ada69f; font-size: .8125rem; line-height: 1.5; margin-top: 4px; }
.times { align-items: flex-start; }
.train .times { align-items: center; margin: 0; }
.train .arrow { padding-bottom: 0; }
.time { font-variant-numeric: tabular-nums; }
.timing-section { margin-top: 18px; }
.timing-live .no-update { color: #817b77; }
.timing-scheduled { display: flex; align-items: center; gap: 5px; color: #d4c9bd; font-size: .875rem; line-height: 1.4; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.timing-scheduled .arrow { color: #827568; font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.train-bottom { display: block; font-size: .875rem; line-height: 1.5; }
.cleaning-summary { margin-top: 16px; padding: 16px; border-radius: 16px; border: 1px solid #6c4727; background: #2a1d12; }
.cleaning-label { display: block; font-size: .875rem; font-weight: 700; color: #ffd1a0; line-height: 1.4; }
.cleaning-count { display: block; font-size: 2.125rem; line-height: 1.15; font-weight: 800; letter-spacing: -.04em; color: #ffb465; margin-top: 8px; font-variant-numeric: tabular-nums; }
.cleaning-summary.active { background: #18332a; border-color: #346b52; }
.cleaning-summary.active .cleaning-count, .cleaning-summary.active .cleaning-label { color: #a3efd0; }
.cleaning-summary.finished, .cleaning-summary.no-window { background: #341e20; border-color: #704046; }
.cleaning-summary.finished .cleaning-count, .cleaning-summary.no-window .cleaning-count { color: #ffb6bc; }
.cleaning-summary.departed, .cleaning-summary.unknown { border-color: #45413f; background: #202022; }
.cleaning-summary.departed .cleaning-count, .cleaning-summary.departed .cleaning-label, .cleaning-summary.unknown .cleaning-label { color: #c5bcb5; }
@media (min-width: 580px) { .train { padding: 17px; } .time { font-size: 2rem; } }
@media (max-width: 360px) { .shell { padding-left: 12px; padding-right: 12px; } .train { padding: 16px; } .time { font-size: 2rem; } }
