/* Same A layout for program-only rows; excluded from LIVE observer selector. */
/* Isolated approval candidate. View only: extraction/READY/countdown stay unchanged. */
body #homeView #deadlineGrid{grid-template-columns:minmax(0,1fr);gap:6px}
body #homeView #deadlineGrid .program-deadline-card{display:grid;grid-template-columns:minmax(0,30fr) minmax(0,70fr);gap:0;padding:0;min-height:68px;max-height:none;overflow:visible;border:1px solid #344c67;border-radius:8px;background:linear-gradient(120deg,#102238,#101b2d);color:#edf3fa;align-items:stretch}
body #homeView #deadlineGrid .dl-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:7px 5px;background:linear-gradient(145deg,#16334c66,#0c182666);border-radius:7px 0 0 7px}
body #homeView #deadlineGrid .dl-venue-name{font-size:20px;line-height:23px;font-weight:850;letter-spacing:0;white-space:nowrap}
body #homeView #deadlineGrid .dl-meeting{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;line-height:14px}
body #homeView #deadlineGrid .dl-meeting small{font-size:11px;color:#b1bfd0;white-space:nowrap}
body #homeView #deadlineGrid .venue-grade{font-size:10px;line-height:12px;padding:0 3px;border-radius:3px}
body #homeView #deadlineGrid .dl-main{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;border-left:1px solid #34475f;padding:7px 9px;border-radius:0 7px 7px 0}
body #homeView #deadlineGrid .dl-heading{display:flex;align-items:center;gap:6px;min-width:0}
body #homeView #deadlineGrid .dl-race-number{font-size:21px;line-height:24px;font-weight:850;color:#ecf5ff;white-space:nowrap;font-variant-numeric:tabular-nums}
body #homeView #deadlineGrid .dl-race-name{flex:1;min-width:0;display:block;font-size:14px;font-weight:650;line-height:18px;color:#dce6f3;overflow:visible;overflow-wrap:anywhere;-webkit-line-clamp:unset;line-clamp:unset}
body #homeView #deadlineGrid .dl-race-name.is-missing{font-size:11px;color:#94a5ba;font-weight:500}
body #homeView #deadlineGrid .dl-ready-state{flex:0 0 auto;align-self:center;font-size:10px;line-height:14px;padding:0 4px;white-space:nowrap;color:#91a3b9;border:1px solid #41556d;border-radius:4px;background:#111c2b}
body #homeView #deadlineGrid .dl-bottom{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
body #homeView #deadlineGrid .dl-time,body #homeView #deadlineGrid .dl-remaining{display:flex;flex-direction:row;align-items:baseline;gap:4px;min-width:0;white-space:nowrap}
body #homeView #deadlineGrid .dl-time small,body #homeView #deadlineGrid .dl-remaining small{font-size:10px;line-height:14px;font-weight:500;color:#9cacc1}
body #homeView #deadlineGrid .dl-time time{font-size:17px;line-height:20px;font-weight:750;color:#edf3fa;font-variant-numeric:tabular-nums}
body #homeView #deadlineGrid .dl-count{font-size:14px;line-height:18px;min-height:0;min-width:4.5ch;font-weight:700;color:#8cc6dd;text-align:right}
/* Urgency is derived ONLY from the existing countdown's data-state. */
body #homeView #deadlineGrid .program-deadline-card:has(.dl-count[data-state="urgent"]):not([data-realtime="READY"]){border-color:#af5968}
body #homeView #deadlineGrid .program-deadline-card:has(.dl-count[data-state="urgent"]) .dl-main{background:linear-gradient(100deg,#50233488,#261e3070);border-left-color:#ba5265}
body #homeView #deadlineGrid .dl-count[data-state="urgent"],body #homeView #deadlineGrid .program-deadline-card:has(.dl-count[data-state="urgent"]) .dl-time time{color:#ff919e}
body #homeView #deadlineGrid .dl-count[data-state="closed"]{color:#9cacc1}
/* Existing cyan outer glow is retained, independently of red urgency inside. */
body #homeView #deadlineGrid .program-deadline-card[data-realtime="READY"]{border-color:#56dce0;box-shadow:0 0 10px #44d8df55}
body #homeView #deadlineGrid .program-deadline-card[data-realtime="READY"] .dl-ready-state{color:#88f1ed;border-color:#439f9f;background:#123a42}
body #homeView #deadlineGrid .program-deadline-card:focus-visible{outline:2px solid #88f1ed;outline-offset:3px}
@media(max-width:340px){
 body #homeView #deadlineGrid .dl-venue-name{font-size:18px;line-height:22px}
 body #homeView #deadlineGrid .dl-main{padding:7px 6px;gap:4px}
 body #homeView #deadlineGrid .dl-heading{gap:4px}
 body #homeView #deadlineGrid .dl-race-number{font-size:19px}
 body #homeView #deadlineGrid .dl-race-name{font-size:13px;line-height:17px}
 body #homeView #deadlineGrid .dl-bottom{gap:4px}
 body #homeView #deadlineGrid .dl-time time{font-size:16px}
 body #homeView #deadlineGrid .dl-count{font-size:13px}
 body #homeView #deadlineGrid .dl-time small,body #homeView #deadlineGrid .dl-remaining small{font-size:9px}
}
