/* Dashboard cards use the same compact white surface in either shell theme. */
#view-dashboard .home-device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
#view-dashboard .home-device-card{display:flex;flex-direction:column;min-width:0;padding:14px;border:1px solid #dadce0;border-radius:14px;background:#fff;color:#1f1f1f;text-decoration:none;gap:8px}
#view-dashboard .home-device-card:hover{border-color:#1a73e8;box-shadow:0 2px 7px #20212412}
#view-dashboard .home-device-card:focus-visible{outline:2px solid #1a73e8;outline-offset:2px}
#view-dashboard .home-device-card header{display:flex;gap:7px;align-items:center;color:#444746;font-size:11px}
#view-dashboard h4{font-size:16px;font-weight:500;margin:0;overflow-wrap:anywhere}
#view-dashboard .home-device-card p{margin:0;overflow-wrap:anywhere}
#view-dashboard .home-sensor-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;margin:8px 0}
#view-dashboard .home-sensor-values dt{font-size:11px;color:#5f6368;overflow-wrap:anywhere}
#view-dashboard .home-sensor-values dd{font-size:20px;margin:4px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#view-dashboard .home-sensor-values small{font-size:11px;color:#5f6368}
#view-dashboard .home-sensor-values .sensor-failed{font-size:13px;color:#b3261e}
#view-dashboard .home-device-card footer{margin-top:auto;padding-top:9px;border-top:1px solid #e0e0e0;font-size:10px;color:#5f6368;display:grid;gap:4px}
#view-dashboard .home-journey-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;border:1px solid #dadce0;border-radius:14px;padding:14px;margin-top:12px}
#view-dashboard .home-journey-info{display:flex;align-items:flex-start;flex-direction:column;gap:10px;padding:8px}
#view-dashboard .home-journey-info p{font-size:12px;color:#5f6368;margin:0}
#view-dashboard .home-section-label{font-size:11px;color:#1967d2;background:#e8f0fe;padding:5px 8px;border-radius:6px}
#view-dashboard .home-journey-devices{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;min-width:0;align-items:stretch}
#view-dashboard .is-compact{padding:12px}
#view-dashboard .is-compact .home-sensor-values dd{font-size:18px}
@media(min-width:1550px){#view-dashboard .home-device-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){#view-dashboard .home-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#view-dashboard .home-journey-devices{grid-template-columns:repeat(2,minmax(0,1fr))}#view-dashboard .home-journey-card{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:700px){#view-dashboard .home-device-grid,#view-dashboard .home-journey-devices,#view-dashboard .home-journey-card{grid-template-columns:minmax(0,1fr)}#view-dashboard .home-journey-card{padding:10px}#view-dashboard .home-journey-info{padding:4px}#view-dashboard .home-device-card{padding:14px}}

#view-dashboard .home-journey-info h4 a{color:#1a73e8;text-decoration:none}
#view-dashboard .home-journey-info h4 a:hover{text-decoration:underline}

#view-dashboard .home-device-card .home-sensor-values dd.sensor-failed{font-size:13px}

#view-dashboard .home-disclosure>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;min-height:40px;flex-wrap:wrap}
#view-dashboard .home-disclosure>summary::-webkit-details-marker{display:none}
#view-dashboard .home-disclosure>summary::before{content:'▸';color:#5f6368}
#view-dashboard .home-disclosure[open]>summary::before{content:'▾'}
#view-dashboard .home-disclosure>summary h3{margin:0;font-size:16px}
#view-dashboard .home-summary-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:12px;color:#5f6368;flex-wrap:wrap}
#view-dashboard .home-summary-actions p{margin:0;font-size:12px}
#view-dashboard .home-disclosure-content{padding-top:14px}
@media(max-width:650px){#view-dashboard .home-disclosure>summary{gap:8px}#view-dashboard .home-summary-actions{gap:6px;font-size:11px}#view-dashboard .home-summary-actions p{font-size:11px}}
