/* Date detail sheet: record-first layout for calendar dates. */
dialog.date-sheet{width:min(760px,100%);max-width:none;max-height:min(78vh,680px);margin:auto 0 0 50%;transform:translateX(-50%);border:1px solid #2b303a;border-bottom:0;border-radius:28px 28px 0 0;background:#15181e;color:#f5f6f8;padding:0;box-shadow:0 -24px 70px #000b;overflow:hidden}
dialog.date-sheet[open]{animation:date-sheet-in .22s ease-out}
dialog.date-sheet::backdrop{background:rgba(2,3,6,.72);backdrop-filter:blur(3px)}
@keyframes date-sheet-in{from{transform:translate(-50%,35px);opacity:.4}to{transform:translate(-50%,0);opacity:1}}
.sheet-handle{width:42px;height:4px;margin:10px auto 2px;border-radius:999px;background:#3c414b}
.date-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px 16px}
.date-sheet-head>div{display:grid;gap:3px}.date-sheet-head small{color:#78808d;font-size:12px}.date-sheet-head h2{margin:0;font-size:25px;letter-spacing:-.8px}
.date-sheet-head>button{width:40px;height:40px;border:0;border-radius:50%;background:#22262e;color:#aeb4bf;font-size:27px;line-height:1}
.date-sheet-body{display:grid;gap:14px;padding:0 18px 18px;overflow-y:auto}
.date-section-title{display:flex;align-items:center;justify-content:space-between;padding:3px 3px 0}.date-section-title strong{font-size:14px}.date-section-title span{color:#737b88;font-size:12px}
.date-record-list{display:grid;gap:9px}.date-record{width:100%;min-height:94px;display:grid;grid-template-columns:1fr auto 24px;align-items:center;gap:14px;border:1px solid #313744;border-radius:18px;background:linear-gradient(135deg,#20242c,#191c22);padding:18px;text-align:left}
.date-record-status{display:grid;grid-template-columns:9px 1fr;align-items:center;gap:8px;color:#aeb5c0;font-size:13px}.date-record-status i{width:9px;height:9px;border-radius:50%;background:#6f9fff;box-shadow:0 0 0 5px #283858}.date-record-metrics{display:flex;gap:20px}.date-record-metrics b{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:3px;font-size:24px;font-weight:650}.date-record-metrics small{color:#747c89;font-size:11px;font-weight:500}.date-record-arrow{color:#69717e;font-size:28px}
.date-empty{min-height:94px;display:flex;align-items:center;gap:14px;border:1px dashed #333946;border-radius:18px;background:#11141a;padding:18px}.date-empty>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#1d2b43;color:#8fb3fa;font-size:22px}.date-empty>div{display:grid;gap:4px}.date-empty strong{font-size:15px}.date-empty small{color:#747c89}
.active-workout-link{width:100%;display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:11px;border:0;border-radius:14px;background:#101d32;padding:13px 14px;text-align:left}.active-workout-link>span:nth-child(2){display:grid;gap:2px}.active-workout-link small{color:#7f94ba;font-size:11px}.active-workout-link strong{font-size:14px}.active-workout-link>b{color:#8fb3fa;font-size:12px}.active-pulse{width:9px;height:9px;border-radius:50%;background:#6f9fff;box-shadow:0 0 0 4px #263c65}
.date-sheet-actions{display:grid;grid-template-columns:88px 1fr;gap:10px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #282d36;background:#191c22}.date-sheet-actions button{min-height:52px;border:0;border-radius:15px;font-weight:650}.date-secondary{background:#242830;color:#aeb4bf}.date-primary{background:#5d8fea;color:white;box-shadow:0 8px 22px #315da340}
@media(max-width:380px){dialog.date-sheet{max-height:82vh}.date-sheet-head{padding-inline:17px}.date-sheet-body,.date-sheet-actions{padding-left:14px;padding-right:14px}.date-record{padding:15px 13px}.date-record-metrics{gap:12px}.date-record-metrics b{font-size:21px}}
@media(min-width:761px){dialog.date-sheet{margin-left:50%;border-bottom:1px solid #2b303a;border-radius:28px;margin-bottom:18px}.date-sheet-actions{padding-bottom:12px}}
