/* Relay: one map, local context, and a quiet field clock. */
:root {
  --bg:#08111f;--paper:#132238;--ink:#e1edfa;--muted:#8ca3bf;
  --glass:#112238e8;--surface:#172a42;--line:#8ab3dc29;
  --accent:#8cddff;--cyan:#8cddff;--green:#70dbc0;--red:#ff788b;
  --shadow:#010a2040;--map-slab-a:#163348;--map-slab-b:#0a1c2b;
  --map-roof-a:#36546b;--map-roof-b:#20384e;
  --map-scope-a:#247790;--map-scope-b:#20516c;
  --map-selected-a:#2e8fa7;--map-selected-b:#225a7e;
  --wall-front:#223d53;--wall-side:#15293e;--scope-wall:#1c5a70;
  --map-text:#d3e6f6;--map-sub:#8aaac5;--map-facility:#233b4d;
  --scene-glow:#284e6b38;--scene-glow-2:#45376c26;
  color-scheme:dark;
}
:root[data-theme=light] {
  --bg:#edf3fa;--paper:#fff;--ink:#203b55;--muted:#647b93;
  --glass:#f8fbfff0;--surface:#e7eff8;--line:#6a8ebc35;
  --accent:#126a9f;--cyan:#126a9f;--green:#15795e;--red:#ce345b;
  --shadow:#456b9626;--map-slab-a:#d3e5f3;--map-slab-b:#b6cfe2;
  --map-roof-a:#f2f7fb;--map-roof-b:#ceddea;
  --map-scope-a:#85c9df;--map-scope-b:#4f9ec3;
  --map-selected-a:#8bd8ea;--map-selected-b:#4ea5cb;
  --wall-front:#a3bcd1;--wall-side:#8da7c1;--scope-wall:#3b87a6;
  --map-text:#294c6b;--map-sub:#456f8b;--map-facility:#bed0df;
  --scene-glow:#a7cfe939;--scene-glow-2:#b4b7ed30;
  color-scheme:light;
}
body { color:var(--ink); }
.relay-workspace { min-height:0; background:radial-gradient(ellipse at 37% 40%,var(--scene-glow),transparent 56%),radial-gradient(ellipse at 80% 34%,var(--scene-glow-2),transparent 60%),var(--bg); }
.command-header { height:50px; padding:0 18px; gap:16px; background:var(--glass); border-color:var(--line); backdrop-filter:blur(18px); }
.relay-brand { gap:6px; }
.relay-brand .brand-mark { width:25px; height:28px; border:0; background:none; box-shadow:none; border-radius:0; color:var(--accent); }
.relay-brand .brand-mark svg { width:28px; height:28px; }
.relay-brand strong { font-size:18px; letter-spacing:-.035em; font-weight:650; }
.site-picker { position:relative; display:flex; align-items:center; margin:0; }
.site-picker select { appearance:none; min-height:29px!important; width:64px; padding:4px 11px!important; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); font-size:12px!important; font-weight:500; }
.site-picker>.icon { position:absolute; right:10px; width:10px; height:10px; transform:rotate(90deg); pointer-events:none; color:var(--muted); }
.header-actions { gap:8px; }
.header-actions .round-button { width:31px; height:31px; color:var(--muted); background:transparent; border-color:transparent; }
.header-actions .round-button:hover { background:var(--surface); color:var(--accent); }
.header-actions .icon { width:17px; height:17px; }
.header-actions .manual-shortcut { display:inline-flex; }
.connection { margin:0 5px 0 0; width:6px; }
.scene-canvas { top:50px; bottom:0; left:0; right:0; }
.ground-grid { bottom:-38%; opacity:.75; }
.map-controls { top:64px; right:18px; gap:12px; }
.floor-switch { padding:3px; background:var(--glass); border-color:var(--line); border-radius:20px; }
.floor-switch button { width:35px; min-height:36px; font-size:11px; color:var(--muted); border-radius:16px; }
.floor-switch button.active { background:var(--surface); box-shadow:inset 0 0 0 1px var(--line); color:var(--accent); }
.floor-switch button:has(.icon) span { font-size:8px; }
.camera-controls { display:flex; flex-direction:column; gap:7px; }
.camera-controls .round-button { width:34px; height:34px; border-color:var(--line); background:var(--glass); color:var(--muted); }
.scene-legend { bottom:121px; left:21px; font-size:10px; color:var(--muted); }
.legend-area { width:10px; height:7px; border-radius:2px; background:var(--map-scope-a); border:1px solid var(--accent); }
.situation-strip { top:63px; left:18px; gap:6px; max-width:calc(100% - 86px); }
.situation-chip { min-height:28px; padding:5px 9px; background:var(--glass); border-color:var(--line); color:var(--muted); font-size:10px; }
.situation-chip b,.situation-chip .icon { color:var(--accent); }
.priority-ribbon { top:101px; left:18px; padding:9px 11px; max-width:280px; border-color:var(--line); background:var(--glass); }
.priority-ribbon b { color:var(--ink); font-size:11px; max-width:220px; }
.priority-ribbon small { color:var(--muted); font-size:9px; margin-bottom:3px; }
.relay-workspace:has(.priority-ribbon) .scene-canvas { top:50px; }
.relay-workspace:has(.priority-ribbon) .situation-strip { top:63px; }
.room-wall.front-wall { fill:var(--wall-front); }
.room-wall.side-wall { fill:var(--wall-side); }
.room-unit.assigned .room-roof,.room-unit.own .room-roof { fill:url(#roof-area); stroke:var(--accent); stroke-width:1.1; }
.room-unit.assigned .front-wall,.room-unit.own .front-wall { fill:var(--scope-wall); }
.room-unit.selected .room-roof { fill:url(#roof-active); stroke:var(--accent); stroke-width:2; }
.room-unit.selected .side-wall { fill:var(--scope-wall); }
.room-number { fill:var(--map-text); }
.room-sub,.facility-label { fill:var(--map-sub); }
.room-unit.assigned .room-number,.room-unit.selected .room-number { fill:#f1fbff; }
.room-unit.assigned .room-sub,.room-unit.selected .room-sub { fill:#daf2fa; }
.room-unit.facility .room-roof { fill:var(--map-facility); }
.room-unit.facility .room-wall { fill:var(--wall-side); }
.slab-front { fill:var(--wall-front); }
.slab-side { fill:var(--wall-side); }
.slab-shadow { opacity:.4; }
.floor-tag path { fill:var(--surface); stroke:var(--line); }
.floor-tag>text { fill:var(--ink); }
.floor-tag .floor-tag-sub { fill:var(--muted); }
.facility-links { transition:opacity .25s; pointer-events:none; }
.floor-scene:not(.mode-all) .facility-links { opacity:0; }
.lift-glass { fill:#55c7ee22; stroke:#6fc7e29c; stroke-width:.7; }
.lift-rail { fill:none; stroke:#74bddb90; stroke-width:1.4; }
.lift-cap { fill:none; stroke:var(--accent); stroke-width:2; }
.lift-car { fill:#6ec7de95; stroke:#b7e5f8; stroke-width:.7; }
.stair-step { fill:none; stroke:#8bb7c7b0; stroke-width:3; }
.stair-rail { fill:none; stroke:var(--accent); stroke-width:.8; }
.callout-wire { position:absolute; inset:0; width:100%; height:100%; z-index:11; pointer-events:none; overflow:hidden; }
.callout-wire path { fill:none; stroke:var(--accent); stroke-width:1.2; opacity:.7; }
.room-callout { position:absolute; z-index:12; width:280px; max-width:calc(100% - 20px); max-height:calc(100dvh - 190px); overflow:auto; padding:13px 14px 0; border:1px solid var(--line); border-radius:15px; background:var(--glass); box-shadow:0 14px 45px var(--shadow),inset 0 1px #ffffff0a; backdrop-filter:blur(22px); opacity:0; visibility:hidden; transition:opacity .15s; }
.room-callout.is-visible { opacity:1; visibility:visible; }
.room-callout:empty { display:none; }
.bubble-header { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.bubble-header>b { font-size:22px; font-weight:500; letter-spacing:-.03em; }
.bubble-header small { font-size:10px; color:var(--muted); font-weight:400; margin-left:8px; letter-spacing:0; }
.bubble-header>button { display:flex; align-items:center; justify-content:center; width:27px; height:27px; border-radius:50%; color:var(--muted); }
.bubble-header>button:hover { background:var(--surface); }
.bubble-header .icon { width:15px; height:15px; }
.bubble-counts { display:flex; align-items:baseline; gap:16px; padding:11px 0; margin-bottom:4px; color:var(--muted); font-size:10px; border-bottom:1px solid var(--line); }
.bubble-counts>span { flex:1; white-space:nowrap; }
.bubble-counts b { color:var(--accent); font-size:17px; font-weight:500; margin-left:3px; }
.bubble-person { display:flex; align-items:center; gap:9px; min-height:37px; }
.bubble-person>div { flex:1; min-width:0; display:flex; align-items:baseline; gap:6px; }
.bubble-person b { font-size:12px; font-weight:500; white-space:nowrap; }
.bubble-person small { font-size:8px; color:var(--muted); white-space:nowrap; }
.bubble-number { color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; letter-spacing:0; }
.bubble-unassigned { padding:7px 0 0; display:flex; align-items:center; gap:6px; color:var(--muted); font-size:9px; }
.bubble-unassigned .icon { width:12px; height:12px; }
.bubble-call { display:flex; align-items:center; justify-content:center; width:27px; height:29px; color:var(--accent); flex:none; }
.bubble-call .icon { width:13px; height:13px; }
.technical-person { border-top:1px solid var(--line); margin-top:3px; padding-top:4px; }
.bubble-actions { border-top:1px solid var(--line); display:flex; margin:8px -14px 0; }
.bubble-actions>button { flex:1; min-height:38px; display:flex; align-items:center; justify-content:center; gap:6px; font-size:10px; color:var(--accent); }
.bubble-actions>button+button { border-left:1px solid var(--line); }
.bubble-actions .icon { width:13px; height:13px; }
.bubble-restricted { margin:13px 0; font-size:12px; color:var(--muted); display:flex; align-items:center; gap:8px; }
.bubble-restricted .icon { width:16px; height:16px; }
.lead-contacts>.contact-card { margin-bottom:10px; }
.lead-contacts>.text-button { margin-top:12px; }
.local-contacts { margin-top:18px; }
.local-contacts>summary { font-size:12px; color:var(--muted); margin-bottom:12px; cursor:pointer; }
.local-contacts>.contact-card { margin-bottom:8px; }
.next-strip { bottom:max(13px,env(safe-area-inset-bottom)); left:50%; right:auto; transform:translateX(-50%); width:calc(100% - 36px); max-width:1100px; min-height:84px; padding:12px 17px; border-color:var(--line); background:color-mix(in srgb,var(--paper) 76%,transparent); box-shadow:0 5px 20px var(--shadow); backdrop-filter:blur(18px); border-radius:16px; gap:22px; }
.field-clock { flex:none; width:129px; padding-right:19px; border-right:1px solid var(--line); }
.field-clock>span { font-size:9px; color:var(--muted); display:block; margin-bottom:6px; }
.field-clock small { font-size:8px; margin-left:6px; }
.field-clock time { display:block; font-size:24px; letter-spacing:-.025em; line-height:1.1; font-weight:450; font-variant-numeric:tabular-nums; }
.next-event-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); flex:1; min-width:0; gap:20px; }
.next-event { display:flex; align-items:center; gap:15px; padding:0; min-width:0; text-align:left; }
.next-event:first-child { border-right:1px solid var(--line); padding-right:20px; }
.next-event-time { display:block; margin:0; }
.next-event-time b { font-size:25px; font-weight:450; color:var(--ink); }
.next-event.imminent .next-event-time b { color:var(--accent); }
.next-event-time span { font-size:8px; margin-top:5px; color:var(--muted); }
.next-event-content small { font-size:9px; color:var(--muted); margin-bottom:5px; }
.next-event-content h3 { color:var(--ink); font-size:12px; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.7; margin:0; }
.next-event>.icon { width:12px; height:12px; color:var(--muted); }
.all-schedule { position:static; min-height:42px; display:flex; align-items:center; gap:7px; color:var(--muted); font-size:10px; border-color:var(--line); padding:0 0 0 19px; }
.all-schedule>.icon:first-child { display:block; }
.schedule-complete { color:var(--muted); }
.theme-settings select { width:100%; }
/* Shared sheets inherit the same appearance as the map. */
.modal { color:var(--ink); background:var(--paper); border-color:var(--line); }
.modal>header,.panel,.contact-card { border-color:var(--line); }
.panel,.contact-card { background:color-mix(in srgb,var(--surface) 45%,transparent); }
.modal>header .icon-button,.round-button,.icon-button { color:var(--muted); background:var(--surface); border-color:var(--line); }
.modal-body>h2,.identity h3,.contact-card b,.case-row-title,.case-row.unread .case-row-title,.timeline-content h3,.timeline-time { color:var(--ink); }
.secondary,.segmented { background:var(--surface); color:var(--ink); border-color:var(--line); }
.secondary:hover { color:var(--accent); }
.text-button,.event-modal-time,.filter-tabs button.active,.timeline-day { color:var(--accent); }
.contact-card div>span,.contact-card div>a,.definition>span,.definition>b,.identity p,.case-main>small,.event-body,.timeline-content p { color:var(--muted); }
input:not([type=checkbox]):not([type=radio]),textarea,select { background:var(--bg); color:var(--ink); border-color:var(--line); }
input::placeholder,textarea::placeholder { color:var(--muted); }
label,.stack-form label { color:var(--muted); }
.target-box,.target-people,.type-choice>label>span,.receipt-grid>div { border-color:var(--line); background:var(--surface); color:var(--ink); }
.target-people label,.receipt-grid b,.timeline-content h3,.thread-message p { color:var(--ink); }
th { background:var(--surface); color:var(--muted); }
td { color:var(--ink); border-color:var(--line); }
.lead-contacts .contact-avatar { background:var(--surface); color:var(--accent); }
:root[data-theme=light] .scene-shadow { opacity:.08; }
:root[data-theme=light] .slab-shadow { opacity:.12; }
:root[data-theme=light] .ground-grid { opacity:.55; }
:root[data-theme=light] .corridor-track { stroke:#5184a929; }
:root[data-theme=light] .corridor-flow { stroke:#24789a8c; }
:root[data-theme=light] .room-roof { stroke:#7d9ab8a0; }
:root[data-theme=light] .room-unit.assigned .room-number,:root[data-theme=light] .room-unit.selected .room-number { fill:#073b58; }
:root[data-theme=light] .room-unit.assigned .room-sub,:root[data-theme=light] .room-unit.selected .room-sub { fill:#174f6c; }
:root[data-theme=light] .room-unit.selected .room-roof { stroke:#096c98; filter:drop-shadow(0 0 6px #3e9bdc38); }
:root[data-theme=light] .window-line { stroke:#6e93b58a; }
:root[data-theme=light] .lift-rail,:root[data-theme=light] .stair-step { stroke:#447c9eaa; }
:root[data-theme=light] .lift-car { fill:#3f95ba9c; stroke:#246583; }
:root[data-theme=light] .room-beacon rect { fill:#fae5ed; stroke:#d84e7180; }
:root[data-theme=light] .room-beacon text { fill:#a51a41; }
:root[data-theme=light] .modal-backdrop { background:#34516f50; }
:root[data-theme=light] .situation-chip.attention { color:#815a25; background:#fff2dc; border-color:#bb93594a; }
:root[data-theme=light] .situation-chip.attention b,:root[data-theme=light] .situation-chip.attention .icon { color:#815a25; }
:root[data-theme=light] .status.open,:root[data-theme=light] .required-tag { color:#895825; background:#f1e3c9; }
:root[data-theme=light] .status.handling { color:#1b6095; background:#cbe3f4; }
:root[data-theme=light] .status.escalated { color:#9b3051; background:#f5dbe4; }
:root[data-theme=light] .status.resolved { color:#246a56; background:#d4eee4; }
:root[data-theme=light] .segmented button.active { background:#c6dff1; color:#24537a; }
:root[data-theme=light] .loading { background:radial-gradient(ellipse at center,#d1e6f8,var(--bg) 65%); }
:root[data-theme=light] .login-intro,:root[data-theme=light] .login-main { background:var(--bg); color:var(--ink); }
:root[data-theme=light] .login-intro h1,:root[data-theme=light] .login-card h2 { color:var(--ink); }
@media(max-width:860px) {
  .command-header { height:46px; padding:0 12px; gap:11px; }
  .relay-brand strong { font-size:17px; }
  .header-actions { gap:4px; }
  .header-actions .round-button { width:29px; height:31px; }
  .header-actions .icon { width:16px; height:16px; }
  .connection { margin-right:3px; }
  .site-picker select { min-height:27px!important; width:61px; padding:4px 10px!important; font-size:11px!important; }
  .scene-canvas { top:46px; bottom:0; left:0; right:0; }
  .relay-workspace:has(.priority-ribbon) .scene-canvas { top:46px; }
  .relay-workspace:has(.priority-ribbon) .situation-strip { top:58px; }
  .map-controls { top:60px; right:10px; gap:10px; }
  .floor-switch button { width:32px; min-height:34px; }
  .camera-controls .round-button { width:32px; height:32px; }
  .situation-strip { top:58px; left:12px; }
  .priority-ribbon { top:94px; left:12px; max-width:calc(100% - 73px); }
  .priority-ribbon b { max-width:225px; }
  .scene-legend { left:15px; bottom:141px; gap:15px; font-size:9px; }
  .room-callout { width:280px; padding-top:11px; max-height:calc(100dvh - 218px); }
  .next-strip { left:50%; right:auto; width:calc(100% - 24px); bottom:max(10px,env(safe-area-inset-bottom)); min-height:112px; padding:10px 12px; display:block; border-radius:14px; }
  .field-clock { width:auto; padding:0 0 9px; margin:0 0 10px; border-right:0; border-bottom:1px solid var(--line); display:flex; align-items:baseline; gap:8px; }
  .field-clock>span { font-size:9px; margin:0; order:2; }
  .field-clock small { font-size:8px; margin-left:6px; }
  .field-clock time { font-size:19px; letter-spacing:0; }
  .next-event-grid { gap:12px; }
  .next-event { display:block; }
  .next-event:first-child { padding-right:12px; }
  .next-event-time { display:flex; align-items:baseline; gap:7px; margin-bottom:4px; }
  .next-event-time b { font-size:21px; }
  .next-event-time span { font-size:7px; margin:0; }
  .next-event-content h3 { font-size:11px; line-height:1.65; }
  .next-event-content small,.next-event>.icon { display:none; }
  .all-schedule { position:absolute; top:11px; right:13px; min-height:20px; border:0; padding:0; font-size:9px; gap:4px; }
  .all-schedule>.icon:first-child { display:none; }
  .all-schedule>.icon:last-child { width:10px; height:10px; }
}
@media(max-width:360px) {
  .header-actions { gap:1px; }
  .command-header { padding:0 8px; gap:7px; }
  .header-actions .round-button { width:27px; }
  .connection { display:none; }
  .relay-brand strong { font-size:16px; }
  .relay-brand .brand-mark { width:21px; }
}
@media(prefers-reduced-motion:reduce) { .facility-links,.room-callout { transition:none; } }

/* Anonymous entry intentionally carries no venue or operational information. */
:root { --entry-bg:#10161f;--entry-input:#17202b;--entry-border:#45505f;--entry-button:#dbe6f2;--entry-button-ink:#172535; }
:root[data-theme=light] { --entry-bg:#f6f7f9;--entry-input:#fff;--entry-border:#cbd2da;--entry-button:#283d52;--entry-button-ink:#fff; }
.entry-page { min-height:100dvh; display:grid; place-items:center; padding:32px 24px; background:var(--entry-bg); }
.entry-card { width:100%; max-width:320px; }
.entry-card h1 { margin:0 0 10px; font-size:23px; font-weight:550; letter-spacing:0; }
.entry-card>p { margin:0 0 28px; font-size:13px; color:var(--muted); line-height:1.7; }
.entry-card form { display:flex; flex-direction:column; gap:20px; }
.entry-card label { display:block; color:var(--ink); font-size:13px; }
.entry-card input,.entry-card select { display:block; width:100%; min-height:46px; margin-top:9px; padding:11px 13px; border:1px solid var(--entry-border); border-radius:7px; background:var(--entry-input); font-size:14px; }
.entry-card .primary { min-height:46px; margin:0; font-size:14px; font-weight:500; border:0; border-radius:7px; background:var(--entry-button); color:var(--entry-button-ink); box-shadow:none; }
.entry-card>.text-button { margin-top:17px; font-size:12px; }
.entry-card .form-error { margin-top:14px; font-size:12px; }
.entry-binding { max-width:560px; }
.entry-card .onboard-map { background:var(--entry-input); border-color:var(--line); margin:0 0 24px; padding:14px; }
.entry-card .onboard-map>.floor-scene { height:260px; margin:-10px 0; }
.entry-card .room-shortcuts { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.entry-card .room-shortcuts button { border:1px solid var(--line); background:var(--surface); color:var(--muted); border-radius:6px; min-height:35px; padding:6px 11px; font-size:11px; }
.entry-card .room-shortcuts button.active { border-color:var(--accent); color:var(--accent); }
.loading { background:var(--entry-bg); }
@media(max-width:600px) {
  .entry-page { padding:26px 24px; }
  .entry-card .onboard-map { padding:12px 8px; }
  .entry-card .onboard-map>.floor-scene { height:220px; }
}

.site-picker select { -webkit-appearance:none; appearance:none; background-image:none; text-align:center; }
.schedule-meta { display:flex; align-items:center; flex-wrap:wrap; gap:4px 16px; }
.schedule-meta .schedule-summary { display:inline-flex; align-items:center; min-height:32px; margin:0; font-size:12px; line-height:20px; }
.schedule-meta .schedule-preference { display:inline-flex; align-items:center; gap:6px; min-height:32px; padding:6px 0; margin:0; font-size:12px; line-height:20px; }
.schedule-preference .icon { width:16px; height:16px; }
@media(max-width:600px) {
 .schedule-meta { gap:2px 12px; }
 .schedule-meta .schedule-summary,.schedule-meta .schedule-preference { font-size:11px; }
}

/* Shared control geometry and centered schedule captions. */
.round-button,.icon-button { padding:0; line-height:1; }
.floor-switch button { padding:0; line-height:1.2; }
.field-clock { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.field-clock>span { display:flex; align-items:center; justify-content:center; gap:6px; line-height:18px; }
.field-clock small { margin-left:0; }
.next-event-time { min-width:74px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; text-align:center; }
.next-event-time b,.next-event-time span { margin:0; white-space:nowrap; text-align:center; }
.next-event-time span { line-height:14px; }
.all-schedule { flex-direction:row; align-items:center; justify-content:center; white-space:nowrap; text-align:center; }
.common-contacts { margin-top:16px; }
.committee-contacts { border-top:1px solid var(--line); }
.committee-contacts>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:46px; padding:12px 0; font-size:12px; font-weight:550; line-height:20px; list-style:none; cursor:pointer; }
.committee-contacts>summary::-webkit-details-marker { display:none; }
.committee-contacts>summary .icon { width:14px; height:14px; transform:rotate(90deg); }
.committee-contacts[open]>summary .icon { transform:rotate(-90deg); }
.common-contacts .contact-list { display:grid; gap:10px; }
.local-tech-contacts { margin-top:15px; border-top:1px solid var(--line); padding-top:15px; }
.local-tech-contacts h3 { margin:0 0 12px; font-size:12px; font-weight:550; line-height:20px; color:var(--ink); }
.common-contacts details>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:46px; padding:12px 0; font-size:12px; font-weight:550; line-height:20px; list-style:none; cursor:pointer; }
.common-contacts details>summary::-webkit-details-marker { display:none; }
.common-contacts details>summary .icon { width:14px; height:14px; transform:rotate(90deg); }
.common-contacts details[open]>summary .icon { transform:rotate(-90deg); }
.common-contacts .local-tech-contacts { padding-top:0; }
#default-reminder-form { display:grid; grid-template-columns:120px minmax(0,1fr) auto; align-items:end; gap:12px; }
#default-reminder-form>label:not(.checkbox) { width:auto; min-width:0; }
#default-reminder-form input[type=number] { width:100%; }
#default-reminder-form>.checkbox { margin:0; min-height:42px; display:flex; align-items:center; gap:7px; }
#default-reminder-form>button { min-height:42px; margin:0; }
.assign-grid label>span { align-items:center; min-height:20px; }
.audit-list>div>span { min-width:0; overflow-wrap:anywhere; }
@media(max-width:860px) {
 .field-clock { flex-direction:row; align-items:center; justify-content:flex-start; text-align:left; }
 .field-clock>span { line-height:20px; }
 .next-event { display:flex; align-items:center; gap:8px; }
 .next-event-time { min-width:55px; flex:none; align-items:center; gap:3px; margin:0; }
 .next-event-time b { font-size:20px; line-height:24px; }
 .next-event-time span { font-size:7px; line-height:12px; }
 .next-event-content { min-width:0; }
 .next-event-content h3 { font-size:10.5px; line-height:1.65; }
 #default-reminder-form { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"minutes save" "enabled enabled"; }
 #default-reminder-form>label:not(.checkbox) { grid-area:minutes; }
 #default-reminder-form>.checkbox { grid-area:enabled; min-height:32px; }
 #default-reminder-form>button { grid-area:save; }
}
