/* v401: dashboard in de stijl van Fleuren Control op de boordcomputer (zelfde kleuren als Ui.java) */
:root{--fc-bg:#EDF5F8;--fc-surface:#fff;--fc-surface2:#E6F0F5;--fc-line:#CADCE5;--fc-text:#17313E;--fc-muted:#435A66;--fc-blue:#007EB4;--fc-dark:#075071;--fc-orange:#E57246;--fc-green:#1F8F4E}
body.fc-linked{background:var(--fc-bg)}
body.fc-linked main>h1,body.fc-linked #scan-qr,body.fc-linked #message,body.fc-linked header.top img{display:none}
.fc-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:var(--fc-surface);border:1px solid var(--fc-line);border-radius:14px;padding:6px 8px;margin:0 0 8px}
.fc-logo{height:34px;width:auto;margin-right:2px}
.fc-menu-btn{background:var(--fc-dark);color:#fff;border:0;border-radius:10px;min-height:44px;padding:0 12px;font-weight:800;font-size:17px;cursor:pointer}
.fc-chip{display:inline-flex;align-items:center;min-height:32px;padding:4px 10px;border-radius:18px;border:1px solid var(--fc-line);background:#fff;color:var(--fc-dark);font-weight:800;font-size:14px;white-space:nowrap}
.fc-chip-soft{background:var(--fc-surface2);border-color:var(--fc-surface2)}
.fc-status{color:#fff;background:#6b7f89;border-color:transparent}.fc-status.fc-on{background:#1F8F4E}.fc-status.fc-off{background:#8a5a00}
.fc-clock{margin-left:auto;font-weight:800;font-size:18px;color:var(--fc-dark);font-variant-numeric:tabular-nums}
.fc-card{display:block;width:100%;background:var(--fc-surface);border:1px solid var(--fc-line);border-radius:20px;padding:10px 12px;margin:0 0 8px;color:var(--fc-text);box-shadow:0 2px 8px rgba(7,80,113,.06);text-align:left}
.fc-hero-row{display:flex;align-items:center;gap:10px}
.fc-icon{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:20px;font-weight:900;background:var(--fc-surface2);color:var(--fc-muted)}
.fc-hero-text{flex:1;min-width:0;display:grid}
.fc-cap{font-size:12px;font-weight:800;color:var(--fc-muted);letter-spacing:.04em}
.fc-cap-stop{font-size:15px}
.fc-main{font-size:24px;font-weight:800;line-height:1.2;color:var(--fc-text);white-space:pre-line;overflow-wrap:anywhere}
.fc-hero .current-trip{font-size:17px;font-weight:800;margin:0;color:var(--fc-text);letter-spacing:0}
.fc-timer{font:800 17px ui-monospace,Menlo,monospace;color:var(--fc-text)}
.fc-source{font-size:10px;font-weight:800;color:var(--fc-muted);letter-spacing:.04em;text-transform:uppercase}
.fc-speed{flex:none;width:148px;height:100px;border-radius:16px;background:var(--fc-text);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.fc-speed b{font:800 64px ui-monospace,Menlo,monospace;letter-spacing:-2px}
.fc-speed span{font-size:13px;font-weight:700;opacity:.8;margin-top:4px}
.fc-speed-unknown b{opacity:.5}
.fc-device{display:block;font-size:11px;color:var(--fc-muted);margin:2px 0}
.fc-day-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:6px}
.fc-day-controls button{min-height:44px;border:0;border-radius:12px;background:var(--fc-blue);color:#fff;font-weight:800;font-size:16px;line-height:1.1;padding:4px 6px;cursor:pointer}
.fc-day-controls button:disabled{opacity:.45}
.fc-today{display:flex;align-items:center;gap:8px;font-weight:800;font-size:16px;cursor:pointer;min-height:48px}
.fc-today small{color:var(--fc-muted);font-weight:600}.fc-chev{margin-left:auto;font-size:22px;color:var(--fc-blue)}
.fc-stop-row{display:flex;gap:10px;align-items:flex-start}
.fc-stop-text{flex:1;min-width:0;display:grid;gap:2px}
.fc-stop-note{font-size:11px;color:var(--fc-muted)}
.fc-stop-actions{flex:none;display:grid;grid-template-columns:repeat(2,112px);gap:6px}
.fc-act{width:112px;height:120px;border:0;border-radius:14px;color:#fff;font-weight:800;font-size:16px;line-height:1.15;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;cursor:pointer;padding:6px}
.fc-act span{font-size:24px;margin-bottom:4px}
.fc-blue{background:var(--fc-blue)}.fc-green{background:var(--fc-green)}
.fc-act:disabled,.fc-act.fc-disabled{opacity:.4;cursor:not-allowed}
.fc-arrival-note{display:block;margin-top:6px;font-size:11px;color:var(--fc-muted)}
.fc-menu{margin-top:14px}
.fc-menu h2{font-size:19px;margin:0 0 8px;color:var(--fc-dark)}
.fc-slim{display:flex;align-items:center;width:100%;min-height:44px;border:0;border-radius:12px;background:var(--fc-blue);color:#fff;font-weight:800;font-size:16px;padding:6px 12px;margin:0 0 6px;text-decoration:none;cursor:pointer}
.fc-slim[aria-expanded="false"]::after{content:"›";margin-left:auto;font-size:20px}.fc-slim[aria-expanded="true"]::after{content:"⌄";margin-left:auto;font-size:18px}
#fc-rides-slot .rides-overview{margin-top:0}
.fc-tiles{display:grid!important;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px}
@media (min-width:700px){.fc-tiles{grid-template-columns:repeat(3,1fr)}}
.fc-tile{display:grid!important;align-content:center;gap:2px;min-height:88px;background:var(--fc-surface2)!important;border:1px solid var(--fc-line)!important;border-radius:18px!important;padding:10px 12px!important;text-align:left;color:var(--fc-text)!important;text-decoration:none}
.fc-tile strong{font-size:18px}.fc-tile small{font-size:12px;color:var(--fc-muted)}
.fc-tile-icon{font-size:26px;color:var(--fc-blue);line-height:1}
@media (max-width:560px){
 .fc-stop-row{flex-direction:column}.fc-stop-actions{width:100%;grid-template-columns:repeat(2,1fr)}.fc-act{width:auto;height:96px}
 .fc-speed{width:104px;height:84px}.fc-speed b{font-size:46px}
 .fc-main{font-size:21px}
 .fc-day-controls button{font-size:14px}
 .fc-chip{font-size:13px;padding:3px 8px}
}
@media (prefers-color-scheme:dark){body.fc-linked{background:var(--fc-bg)}}
.fc-qr{width:100%;margin-top:8px}.rides-overview .ride-qr{min-height:40px;font-size:15px}
