.hawk-date-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid var(--border-strong,#383044);border-radius:20px;background:linear-gradient(135deg,var(--raised,#24212d),var(--panel,#19171f));color:var(--text,#f6f1ff);font-family:inherit;box-shadow:0 24px 80px #0008;animation:hawk-date-in .18s ease-out}.hawk-date-dialog::backdrop{background:#09080bb3;backdrop-filter:blur(6px)}.hawk-date-dialog.is-closing{animation:hawk-date-out .15s ease-in forwards}.hawk-date-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.hawk-date-dialog h2{font-size:17px;margin:0 0 6px}.hawk-date-dialog p{font-size:12px;color:var(--muted,#a49ab8);margin:0}.hawk-date-dialog button{font:inherit;cursor:pointer;border:1px solid transparent;color:inherit;background:transparent;border-radius:9px;transition:background .15s,border-color .15s,opacity .15s}.hawk-date-dialog button:focus-visible{outline:2px solid var(--accent,#b99aef);outline-offset:2px}.hawk-date-dialog button:disabled{opacity:.25;cursor:default}.hawk-date-dialog header button{width:30px;height:30px;font-size:22px;background:var(--inset,#18151f)}.hawk-date-selection{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:12px;background:var(--inset,#17151e);gap:12px}.hawk-date-selection div{display:grid;gap:6px}.hawk-date-selection span{font-size:11px;color:var(--muted,#a49ab8)}.hawk-date-selection strong{font-size:13px;font-weight:500}.hawk-date-navigation{display:flex;align-items:center;justify-content:space-between;margin:18px 0 12px}.hawk-date-navigation strong{text-transform:capitalize;font-size:13px;font-weight:500}.hawk-date-navigation button{width:32px;height:32px;font-size:24px;background:var(--inset,#17151e)}.hawk-date-week,.hawk-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.hawk-date-week{font-size:11px;color:var(--muted,#a49ab8);margin-bottom:8px}.hawk-date-grid button{height:38px;font-size:12px;font-variant-numeric:tabular-nums}.hawk-date-grid button:not(:disabled):hover{background:var(--accent-soft,#a483d822);border-color:var(--accent-border,#8662bd)}.hawk-date-grid button.in-range{background:var(--accent-soft,#a483d822);border-radius:4px;color:var(--accent,#bc9be9)}.hawk-date-grid button.is-edge{background:var(--accent,#a986e9);color:#171020;font-weight:700}.hawk-date-grid button[aria-current=date]:not(.is-edge){border-color:var(--accent-border,#8662bd)}.hawk-date-dialog .hawk-date-message{min-height:32px;margin:16px 0 12px;line-height:1.5}.hawk-date-dialog footer{display:flex;justify-content:flex-end;gap:8px}.hawk-date-dialog footer button{padding:10px 14px;font-size:12px;border-color:var(--border-strong,#383044);background:var(--inset,#17151e)}.hawk-date-dialog footer [data-apply]{background:var(--accent,#a986e9);color:#171020;border-color:transparent;font-weight:600}@keyframes hawk-date-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes hawk-date-out{to{opacity:0;transform:translateY(6px) scale(.98)}}@media(prefers-reduced-motion:reduce){.hawk-date-dialog,.hawk-date-dialog.is-closing{animation:none}.hawk-date-dialog button{transition:none}}@media(max-width:420px){.hawk-date-dialog{padding:18px}.hawk-date-grid button{height:36px}}

.hawk-date-navigation button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:0;line-height:1;border:1px solid var(--border-strong,#383044);border-radius:10px;background:var(--inset,#17151e);color:var(--secondary,#c0b5d2)}.hawk-date-navigation button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.hawk-date-navigation button:not(:disabled):hover{background:var(--accent-soft,#a483d822);border-color:var(--accent-border,#8662bd);color:var(--text,#f6f1ff)}.hawk-date-navigation button:disabled{opacity:.35}

/* Calendar surfaces are purple, independent of the dashboard inset token. */
.hawk-date-dialog{--calendar-surface:#292432;--calendar-border:#44384f;--calendar-ink:#d4c5e8}.hawk-date-dialog .hawk-date-selection{background:var(--calendar-surface);border:1px solid #3b3146}.hawk-date-dialog header button,.hawk-date-dialog .hawk-date-navigation button,.hawk-date-dialog footer button:not([data-apply]){background:var(--calendar-surface);border:1px solid var(--calendar-border);color:var(--calendar-ink)}.hawk-date-dialog .hawk-date-navigation button{display:grid;place-items:center;width:32px;height:32px;min-width:32px;min-height:32px;flex:0 0 32px;padding:0;font-size:0;line-height:0;border-radius:9px}.hawk-date-dialog .hawk-date-navigation button svg{width:14px;height:14px;min-width:14px;min-height:14px;margin:0;padding:0;transform:none;position:static;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hawk-date-dialog .hawk-date-navigation button:not(:disabled):hover,.hawk-date-dialog header button:hover,.hawk-date-dialog footer button:not([data-apply]):hover{background:#372d44;border-color:#655078}.hawk-date-dialog .hawk-date-navigation button:disabled{opacity:.4}.hawk-date-dialog .hawk-date-week{font-family:inherit}
