.glass-field-picker[popover] {
    position:fixed; inset:auto; box-sizing:border-box; margin:0;
    width:min(23rem,calc(100vw - 16px)); max-height:calc(100dvh - 16px); overflow:auto;
    padding:clamp(10px,2.8vw,16px); border:1px solid rgb(255 255 255 / 90%); border-radius:1.35rem;
    background:linear-gradient(140deg,rgb(244 251 255 / 94%),rgb(207 227 250 / 94%) 66%,rgb(226 231 250 / 94%));
    color:#162e4d; backdrop-filter:blur(20px) saturate(125%);
    box-shadow:inset 0 2px 2px #fff,0 8px 32px #112b493b;
    font:inherit; overscroll-behavior:contain;
}
.glass-field-picker:popover-open { display:grid; gap:12px; }
.glass-picker-options,.glass-picker-days,.glass-picker-head,.glass-picker-time { display:grid; gap:8px; }
.glass-picker-head { grid-template-columns:auto 1fr auto; align-items:center; text-align:center; }
.glass-picker-days { grid-template-columns:repeat(7,minmax(0,1fr)); }
.glass-picker-days small { text-align:center; font-weight:650; }
.glass-field-picker button {
    appearance:none; box-sizing:border-box; min-width:0; min-height:42px; width:auto; margin:0;
    padding:.38rem .6rem; border-radius:1rem; border:1px solid #ffffffd4; color:#163351;
    font:inherit; font-weight:600; line-height:1.25; cursor:pointer;
    background:linear-gradient(145deg,#ffffffd4,#d7e9fcc2); box-shadow:inset 0 1px 1px #fff;
}
.glass-picker-options button { text-align:start; overflow-wrap:anywhere; }
.glass-picker-days button { padding:.25rem .05rem; border-radius:50%; font-variant-numeric:tabular-nums; }
.glass-field-picker button[aria-pressed=true] { background:#164e9d; color:white; }
.glass-field-picker button[aria-current=date] { border-color:#3966a4; }
.glass-field-picker button:disabled { opacity:.45; cursor:default; }
.glass-field-picker :is(input,button):focus-visible { outline:2px solid #6233bb; outline-offset:2px; }
.glass-picker-time { grid-template-columns:repeat(2,minmax(0,1fr)); }
.glass-picker-time label { display:grid; gap:8px; font-size:.9rem; }
.glass-picker-time input { width:100%; box-sizing:border-box; min-height:44px; margin:0; border:1px solid #9fb4c9; border-radius:.8rem; padding:.4rem .65rem; font:inherit; color:inherit; background:#ffffffbf; }
.glass-picker-time button { grid-column:1/-1; }
.glass-fields-ready input:is([type=date],[type=datetime-local],[type=time])::-webkit-calendar-picker-indicator { pointer-events:none; }
:is(.teacher-panel,.office-panel) details:not(.glass-fan) > summary {
    display:flex; align-items:center; justify-content:space-between; gap:.75rem; width:fit-content;
    box-sizing:border-box; min-height:44px; padding:.45rem .85rem; border-radius:1.5rem;
    border:1px solid #ffffffd9; color:#183652; background:linear-gradient(140deg,#ffffffce,#cbdff3c9);
    box-shadow:inset 0 1px white; cursor:pointer; list-style:none;
}
:is(.teacher-panel,.office-panel) details:not(.glass-fan) > summary::-webkit-details-marker { display:none; }
:is(.teacher-panel,.office-panel) details:not(.glass-fan) > summary::after {
    content:''; width:.45rem; height:.45rem; border:solid currentColor; border-width:0 1.5px 1.5px 0;
    transform:translateY(-.1rem) rotate(45deg);
}
:is(.teacher-panel,.office-panel) details[open]:not(.glass-fan) > summary { margin-block-end:.75rem; }
:is(.teacher-panel,.office-panel) details[open]:not(.glass-fan) > summary::after { transform:translateY(.1rem) rotate(225deg); }
@media(forced-colors:active) {
    .glass-field-picker[popover],.glass-field-picker button { background:Canvas; color:CanvasText; border-color:ButtonText; }
    .glass-field-picker button[aria-pressed=true] { outline:2px solid Highlight; }
}
