/* Seven glass sectors form a ring; the center stays visually open. */
/* Inherit Staff's shared surface, text and accent tokens in both themes. */
#mobileRadial{--ring-glass:var(--floating-glass);--ring-edge:var(--floating-border);--ring-ink:var(--text);--ring-muted:var(--muted);--sector-fill:var(--floating-sheen);--sector-edge:var(--line);--sector-active:var(--info-bg)}
#mobileRadial .mobile-radial-shade{position:fixed;inset:0;z-index:100;background:var(--floating-scrim);animation:mobile-radial-fade .16s ease-out}
#mobileRadial .mobile-radial-wheel{position:fixed;z-index:101;width:300px;height:300px;border-radius:50%;isolation:isolate;background:var(--floating-sheen);backdrop-filter:blur(20px) saturate(145%);-webkit-backdrop-filter:blur(20px) saturate(145%);transform:scale(var(--wheel-scale,1));transform-origin:top left;touch-action:none;animation:mobile-radial-enter .22s cubic-bezier(.16,1,.3,1);user-select:none;-webkit-user-select:none;filter:drop-shadow(0 14px 25px color-mix(in srgb,var(--apple-black) 16%,transparent))}
#mobileRadial .mobile-radial-wheel::before{content:'';position:absolute;inset:1px;border-radius:50%;background:linear-gradient(145deg,var(--floating-sheen),transparent 60%),var(--ring-glass);backdrop-filter:blur(26px) saturate(150%);-webkit-backdrop-filter:blur(26px) saturate(150%);mask:radial-gradient(circle at center,transparent 0 67px,#000 68px);-webkit-mask:radial-gradient(circle at center,transparent 0 67px,#000 68px);pointer-events:none}
#mobileRadial .mobile-radial-wheel-sectors{position:absolute;inset:0;width:300px;height:300px;overflow:visible;stroke-width:1;pointer-events:none}
#mobileRadial .mobile-radial-wheel-sector{fill:var(--sector-fill);stroke:var(--sector-edge);stroke-linejoin:round;transition:fill .12s,stroke .12s}
#mobileRadial .mobile-radial-wheel-sector.hot{fill:var(--sector-active);stroke:color-mix(in srgb,var(--accent) 45%,var(--ring-edge))}
#mobileRadial .mobile-radial-option{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:64px;height:64px;border:0;border-radius:22px;background:transparent;color:var(--ring-ink);transform:translate(-50%,-50%);touch-action:none;outline-offset:0}
#mobileRadial .mobile-radial-option b{font-size:20px;letter-spacing:-.6px;font-weight:600;line-height:1.05;transition:translate .12s}
#mobileRadial .mobile-radial-option small{font-size:10px;font-weight:450;line-height:1.2;max-width:66px;white-space:nowrap;color:var(--ring-muted)}
#mobileRadial .mobile-radial-option[data-symbol=""] b{font-size:22px;font-weight:400}
#mobileRadial .mobile-radial-option.hot,#mobileRadial .mobile-radial-option:hover{color:var(--accent)}#mobileRadial .mobile-radial-option.hot small,#mobileRadial .mobile-radial-option:hover small{color:var(--accent)}#mobileRadial .mobile-radial-option.hot b{translate:0 -1px}
#mobileRadial .mobile-radial-option.current::after{content:'';position:absolute;bottom:3px;width:4px;height:4px;border-radius:50%;background:var(--accent)}
#mobileRadial .mobile-radial-center{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:108px;height:108px;border:1px solid color-mix(in srgb,var(--ring-edge) 56%,transparent);border-radius:50%;background:color-mix(in srgb,var(--ring-glass) 88%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:inset 0 1px 1px var(--floating-sheen);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:var(--ring-muted);touch-action:none}
#mobileRadial .mobile-radial-center-code{font-size:24px;line-height:1.1;font-weight:550;letter-spacing:-.7px;color:var(--ring-ink)}#mobileRadial .mobile-radial-center-label{font-size:10px;color:var(--ring-muted)}#mobileRadial .mobile-radial-center-note{font-size:8px;letter-spacing:.6px;color:var(--ring-muted);opacity:.8;margin-top:2px}#mobileRadial .mobile-radial-center.has-choice .mobile-radial-center-code,#mobileRadial .mobile-radial-center.has-choice .mobile-radial-center-label{color:var(--accent)}
#mobileRadial .mobile-radial-wheel-caption{position:fixed;z-index:102;max-width:calc(100vw - 24px);width:264px;transform:translateX(-50%);background:linear-gradient(140deg,var(--floating-sheen),transparent),var(--ring-glass);border:1px solid var(--ring-edge);border-radius:18px;backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);box-shadow:0 5px 18px color-mix(in srgb,var(--apple-black) 8%,transparent),inset 0 1px 0 var(--floating-sheen);padding:9px 11px;pointer-events:none;display:flex;gap:9px;align-items:center;color:var(--ring-ink)}
#mobileRadial .mobile-radial-caption-avatar{width:28px;height:28px;flex:none;display:grid;place-items:center;border:1px solid var(--ring-edge);border-radius:9px;background:var(--floating-sheen);color:var(--ring-muted);font-size:10px;font-weight:500}
#mobileRadial .mobile-radial-wheel-caption strong{flex:1;min-width:0;font-size:12px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.2px}
#mobileRadial .mobile-radial-caption-date{font-size:11px;color:var(--accent);font-weight:500;padding:3px 7px;border-radius:8px;background:var(--sector-active)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#mobileRadial .mobile-radial-wheel::before,#mobileRadial .mobile-radial-wheel-caption,#mobileRadial .mobile-radial-center{background:var(--surface)}}

body:has(#mobileRadial[open]){overflow:hidden}
body.workspace-ui dialog#mobileRadial{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--text);font-family:var(--font)}
#mobileRadial::backdrop{background:var(--floating-scrim)}
#mobileRadial .mobile-radial-wheel-caption{display:block;width:280px;pointer-events:auto}
#mobileRadial .radial-person{display:flex;align-items:center;gap:9px}
#mobileRadial .radial-pager{display:flex;align-items:center;justify-content:center;gap:12px;padding-top:7px;margin-top:7px;border-top:1px solid var(--ring-edge);color:var(--ring-muted);font-size:10px}
#mobileRadial .radial-pager button{display:grid;place-items:center;width:32px;height:28px;min-height:28px;min-width:32px;padding:4px;border:0;border-radius:8px;background:transparent;color:inherit}
#mobileRadial .radial-pager button svg{width:15px;height:15px}
#mobileRadial .mobile-radial-option:disabled{opacity:.32;cursor:not-allowed}
#mobileRadial .mobile-radial-option[data-long=true] b{font-size:13px;overflow-wrap:anywhere;max-width:58px}
#mobileRadial .mobile-radial-center{padding:6px;min-height:0;min-width:0}
#mobileRadial .mobile-radial-center-label{max-width:94px;overflow-wrap:anywhere;text-align:center;line-height:1.3}
#mobileRadial .mobile-radial-option small{max-width:65px;overflow:hidden;text-overflow:ellipsis}
#mobileRadial .mobile-radial-wheel-sector.unavailable{opacity:.35}
@keyframes mobile-radial-enter{from{opacity:0;scale:.94}to{opacity:1;scale:1}}
@media(prefers-reduced-motion:reduce){#mobileRadial *{animation:none!important;transition:none!important}}
#mobileRadial[open]::backdrop{animation:mobile-radial-fade .15s ease-out}
@keyframes mobile-radial-fade{from{opacity:0}to{opacity:1}}
@media screen and (max-width:900px){
 .workspace-ui .workspace-sheet>#table{display:none!important}
 .workspace-ui .workspace-controls{display:none!important}
 .workspace-ui #mobileAttendance{display:block}
 .workspace-ui #attendanceFocusToggle{display:none}
 .mobile-week-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 12px 6px}
 .mobile-week-controls strong{font-size:14px;font-weight:600;color:var(--text)}
 .mobile-week-controls small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
 .mobile-week-actions{display:flex;gap:3px;align-items:center}
 .mobile-week-actions button{display:grid;place-items:center;min-height:38px;min-width:32px;padding:6px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:10px;white-space:nowrap}
 .mobile-week-actions button:disabled{opacity:.3}.mobile-week-actions svg{width:17px;height:17px;margin:0}
 .mobile-radial-help{margin:0;padding:3px 12px 12px;color:var(--muted);font-size:10px;line-height:1.5}
 .mobile-week-scroll{max-height:65dvh;overflow:auto;overscroll-behavior-x:contain;border-block:1px solid var(--line)}
 .workspace-ui .mobile-week-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:356px;white-space:normal;background:var(--surface)}
 .workspace-ui .mobile-week-table th,.workspace-ui .mobile-week-table td{border:0;border-bottom:1px solid var(--line);padding:0;width:36px;height:62px;text-align:center;background:var(--surface);font-size:11px;letter-spacing:0;text-transform:none}
 .workspace-ui .mobile-week-table thead th{position:sticky;top:0;z-index:2;height:51px}
 .workspace-ui .mobile-week-table th:first-child{position:sticky;left:0;width:104px;min-width:104px;padding:9px 10px;text-align:left;z-index:1;box-shadow:1px 0 0 var(--line)}
 .workspace-ui .mobile-week-table thead th:first-child{z-index:3;color:var(--muted);font-weight:400;font-size:10px}
 .workspace-ui .mobile-week-table tbody th strong{display:block;font-size:11px;line-height:1.4;font-weight:550;overflow-wrap:anywhere}
 .workspace-ui .mobile-week-table tbody th small{display:block;color:var(--muted);font-size:9px;line-height:1.4;margin-top:3px;font-weight:400}
 .mobile-week-table th small span{display:block}
 .workspace-ui .mobile-week-cell{display:grid;place-items:center;width:100%;height:62px;min-height:62px;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:13px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:pan-x pan-y}
 .workspace-ui .mobile-week-cell:empty::before{content:'·';font-size:18px;opacity:.4}
 .workspace-ui .mobile-week-cell.is-marked{color:var(--accent);font-weight:600}
 .workspace-ui .mobile-week-cell.radial-target{background:var(--info-bg);box-shadow:inset 0 0 0 1px var(--accent);border-radius:8px}
 .workspace-ui .mobile-week-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;width:100%;padding:4px 0;border:0;background:transparent;color:var(--text);border-radius:0}
 .mobile-week-day strong{font-size:13px;font-weight:550}.mobile-week-day small{font-size:9px;color:var(--muted)}
 .mobile-week-table .is-today .mobile-week-day{color:var(--accent)}
 .mobile-week-table .outside-month{color:var(--muted);opacity:.4}
 .mobile-week-table .holiday-day .mobile-week-day,.mobile-week-table .sunday .mobile-week-day{color:var(--red-text)}
 .mobile-month-summary{margin:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
 .mobile-month-summary summary{padding:12px;font-size:11px;color:var(--muted);cursor:pointer;min-height:44px}
 .mobile-summary-scroll{overflow:auto;max-height:50dvh}
 .workspace-ui .mobile-summary-scroll table{width:max-content;min-width:100%;font-size:11px}
 .workspace-ui .mobile-summary-scroll th,.workspace-ui .mobile-summary-scroll td{font-size:11px;padding:10px 12px;white-space:nowrap;text-transform:none;letter-spacing:0}
 .workspace-ui .mobile-summary-scroll tbody th{color:var(--text);font-weight:500}
}
@media print{#mobileAttendance,#mobileRadial{display:none!important}}

#mobileRadial [hidden]{display:none!important}

@media screen and (max-width:900px){
 .workspace-ui .mobile-summary-scroll button{min-height:40px;min-width:40px;padding:4px 8px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:12px}
 .workspace-ui .mobile-summary-scroll button[aria-pressed=true]{background:var(--info-bg);color:var(--accent)}
 .workspace-ui .mobile-week-cell.mobile-contributes{background:var(--info-bg);color:var(--accent)}
 .mobile-contribution{font-size:8px;color:var(--accent);margin-top:-16px}
}

#mobileRadial .mobile-radial-center-code{max-width:90px;overflow-wrap:anywhere}
#mobileRadial .mobile-radial-center-code[data-long=true]{font-size:14px}
#mobileRadial .mobile-radial-center-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
