html[data-preload-route="up-to-date"] .view[data-view="up-to-date"] { display:block; }
[data-view="up-to-date"] { --utd-border:#d7dfe2; --utd-quiet:#617078; }
[data-view="up-to-date"] [hidden],.utd-dialog [hidden] { display:none !important; }
.utd-header-tools { display:flex; align-items:center; gap:10px; }
.utd-header-tools .btn { width:40px; height:40px; padding:9px; }
.utd-header-tools svg { width:18px; height:18px; }
.utd-cloud-status { color:#346d55; font-size:12px; }
.utd-cloud-status[data-error="true"] { color:#a44330; }
.utd-totals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--utd-border); border-bottom:1px solid var(--utd-border); margin:22px 0; }
.utd-totals > div { padding:18px 20px; display:flex; justify-content:space-between; align-items:center; gap:10px; border-right:1px solid var(--utd-border); }
.utd-totals > div:last-child { border:0; }
.utd-totals span { font-size:13px; color:var(--utd-quiet); }
.utd-totals strong { font-size:24px; font-variant-numeric:tabular-nums; }
.utd-tabs { display:flex; gap:24px; border-bottom:1px solid var(--utd-border); margin-bottom:4px; }
.utd-tabs button { border:0; border-bottom:3px solid transparent; background:none; color:#617078; padding:12px 2px; font:inherit; font-size:14px; cursor:pointer; }
.utd-tabs button[aria-selected="true"] { border-bottom-color:#1d795b; color:#182b24; font-weight:700; }
.utd-check { display:grid; grid-template-columns:minmax(160px,1.3fr) minmax(180px,1fr) minmax(125px,.8fr) auto; gap:20px; align-items:center; padding:22px 0; border-bottom:1px solid var(--utd-border); }
.utd-check > div { min-width:0; }
.utd-check-name { display:flex; align-items:center; gap:12px; }
.utd-check-name > svg { width:22px; height:22px; flex:0 0 22px; color:#52626a; }
.utd-check h2 { font-size:16px; margin:0; }
.utd-links { display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:9px; }
.utd-links a,.utd-links button { display:inline-flex; gap:4px; align-items:center; font:inherit; font-size:12px; color:#4d6570; text-decoration:none; border:0; background:none; padding:0; cursor:pointer; }
.utd-links a:hover,.utd-links button:hover { text-decoration:underline; }
.utd-links svg { width:12px; height:12px; }
.utd-check-dates { display:grid; gap:5px; font-size:13px; color:#31414a; }
.utd-check-dates span { color:var(--utd-quiet); }
.utd-state { display:inline-flex; align-items:center; gap:6px; padding:5px 8px; border-radius:5px; font-size:12px; font-weight:700; width:fit-content; max-width:100%; }
.utd-state[data-tone="green"] { background:#e7f4ed; color:#22684d; }
.utd-state[data-tone="amber"] { background:#fff3da; color:#855c12; }
.utd-state[data-tone="red"] { background:#fae9e6; color:#9b392c; }
.utd-state[data-tone="gray"] { background:#e9edf0; color:#56646b; }
.utd-state svg { width:14px; height:14px; flex:0 0 14px; }
.utd-check .btn { min-height:42px; white-space:normal; justify-content:center; }
.utd-check .btn svg { width:16px; height:16px; flex:0 0 16px; }
.utd-latest-notes { grid-column:1/-1; font-size:13px; margin-top:-6px; color:#465760; }
.utd-latest-notes summary { cursor:pointer; width:fit-content; }
.utd-latest-notes p,.utd-history-note { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.6; }
.utd-history-row { padding:20px 0; border-bottom:1px solid var(--utd-border); }
.utd-history-row > header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.utd-history-row h2 { font-size:15px; margin:0 0 6px; }
.utd-history-row small { color:var(--utd-quiet); font-size:12px; }
.utd-history-note { margin:12px 0 0; font-size:13px; }
#utdMoreHistory { margin-top:16px; }
.utd-empty { padding:28px 0; color:#617078; }
.utd-error { background:#fff0ed; border-left:3px solid #b24e37; padding:12px 14px; font-size:13px; line-height:1.6; color:#8d392b; overflow-wrap:anywhere; }
.utd-dialog { width:min(540px,calc(100vw - 24px)); max-height:calc(100dvh - 28px); padding:0; border:1px solid #cbd5d9; border-radius:8px; background:#fff; color:#203039; }
.utd-dialog::backdrop { background:rgb(10 24 32 / 48%); }
.utd-dialog form { padding:24px; }
.utd-dialog header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:22px; }
.utd-dialog header p { font-size:12px; color:#65757c; margin:0 0 5px; }
.utd-dialog h2 { font-size:20px; margin:0; }
.utd-dialog .btn svg { width:18px; height:18px; }
.utd-dialog fieldset { border:0; padding:0; margin:0; min-width:0; }
.utd-dialog label { display:grid; gap:8px; font-size:13px; }
.utd-dialog input[type="date"],.utd-dialog textarea { width:100%; min-width:0; box-sizing:border-box; border:1px solid #bac9cf; border-radius:5px; padding:11px; background:#fff; color:#203039; font:inherit; font-size:16px; }
.utd-dialog textarea { resize:vertical; }
.utd-dialog .utd-outcome { margin:20px 0; display:grid; gap:10px; }
.utd-outcome legend { margin-bottom:10px; font-size:13px; }
.utd-outcome label { display:flex; align-items:center; gap:10px; min-height:32px; }
.utd-outcome input { width:19px; height:19px; margin:0; flex:0 0 19px; }
.utd-next-check { font-size:13px; color:#356c54; margin:14px 0 0; }
.utd-dialog footer { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }
.utd-dialog footer .btn { min-height:44px; }
.utd-dialog :focus-visible,.utd-tabs :focus-visible { outline:2px solid #21664e; outline-offset:3px; }
@media(max-width:900px) { .utd-check { grid-template-columns:minmax(150px,1fr) minmax(150px,1fr); gap:15px; } .utd-check > .btn { justify-self:end; } }
@media(max-width:600px) {
  .utd-totals { margin:18px 0; } .utd-totals > div { flex-direction:column; align-items:flex-start; padding:14px 9px; gap:9px; } .utd-totals span { font-size:11px; min-height:28px; } .utd-totals strong { font-size:22px; }
  .utd-check { gap:16px 10px; grid-template-columns:minmax(0,1fr) minmax(112px,.7fr); padding:22px 0; } .utd-check h2 { font-size:15px; } .utd-check-name { grid-column:1/-1; }
  .utd-check-dates { font-size:12px; } .utd-check-state { justify-self:end; } .utd-check > .btn { grid-column:1/-1; width:100%; }
  .utd-dialog form { padding:19px; } .utd-dialog h2 { font-size:18px; } .utd-history-row > header { flex-direction:column; gap:10px; }
}
