:root{--ink:#192e43;--muted:#516272;--paper:#f9f8f2;--gold:#ffcc53;--line:#d7d8ce;--soft:#eeeee5;--green:#285448;color:var(--ink);background:var(--paper);font:16px/1.5 "Avenir Next",Avenir,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button{background:none;border:0}button:disabled{opacity:.38;cursor:default}a{color:inherit}.shell{width:min(1232px,calc(100% - 96px));margin:auto}header{background:#fffdf7;border-bottom:1px solid var(--line)}.bar,.brand,nav,.persona,.hrow,.inline,.pager,.tabs,.status,.meta,.panel-title,.dateblock,.summary,.actions,footer,footer div{display:flex;align-items:center}.bar{height:76px;gap:45px}.brand,.credit,h1,h2,h3,.datebig,.dayname{font-family:Rockwell,"Iowan Old Style",Georgia,serif}.brand{font-size:1.65rem;font-weight:800;letter-spacing:-.065em;text-decoration:none;gap:10px;white-space:nowrap}.brand img{width:39px;height:39px}.bar nav{gap:24px;align-self:stretch}nav button{font-weight:650;padding:0 2px;color:var(--muted);border-bottom:3px solid transparent;font-size:.94rem}nav .active{color:var(--ink);border-color:#d29b21}.persona{margin-left:auto;gap:8px;font-size:.9rem;font-weight:650}.avatar{display:inline-grid;place-items:center;min-width:32px;height:32px;background:#e6ecdf;border:1px solid #c2ceb9;color:#35523d;border-radius:50%;font:700 .81rem system-ui}.icon{width:18px;height:18px;vertical-align:middle;flex-shrink:0}.skip{position:absolute;left:-1000px}.skip:focus{left:8px;top:8px;z-index:8;background:white;padding:10px}:where(a[href],button,input,select,textarea,[tabindex]:not([tabindex="-1"])):focus-visible{outline:3px solid #387ea1;outline-offset:3px}#main:focus{outline:none}.hero{margin:34px 0 29px;display:grid;grid-template-columns:1.12fr 1fr;overflow:hidden;border:1px solid #d1c6a8;border-radius:15px;background:#fff2d5;min-height:197px}.hero-copy{padding:27px 34px;align-self:center}.eyebrow{font-size:.74rem;font-weight:800;letter-spacing:.115em;text-transform:uppercase;display:flex;gap:8px;align-items:center}.hero h1,h1{font-size:clamp(2.75rem,4.3vw,4.2rem);letter-spacing:-.065em;line-height:1.02;margin:10px 0 12px}.hero p{margin:0;color:#455466}.hero img{width:100%;height:100%;object-fit:cover;min-height:195px}.grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(270px,1fr);gap:24px;align-items:start}.card,.timetable{border:1px solid var(--line);border-radius:14px;background:#fffef9;overflow:hidden}.weekhead{padding:19px 21px 14px}.hrow,.panel-title,footer{justify-content:space-between;gap:12px}.hrow{flex-wrap:wrap}h2,h3{line-height:1.12;letter-spacing:-.045em;margin:0}h2{font-size:1.85rem}h3{font-size:1.5rem}.pager{gap:6px}.pager button,.x{border:1px solid var(--line);border-radius:7px;background:#fffdf8;width:36px;height:36px;display:grid;place-items:center}.tabs{margin-top:15px;gap:5px;flex-wrap:wrap}.tabs button{padding:6px 12px;font-weight:700;font-size:.85rem;border-radius:20px}.tabs .sel{background:var(--ink);color:white}.tablehead,.dayrow{display:grid;grid-template-columns:.82fr 1.25fr 1.25fr;align-items:center}.tablehead{background:#eeefe7;border-block:1px solid var(--line);padding:9px 16px;color:#445565;font-size:.8rem;font-weight:750}.tablehead span{display:flex;align-items:center;gap:6px}.dayrow{padding:9px 13px;border-bottom:1px solid #e3e3d9;gap:5px;min-height:68px}.dayrow:last-child{border-bottom:0}.dateblock{gap:10px}.dayname{font-size:1rem;font-weight:700}.daynum{display:block;color:var(--muted);font-size:.81rem}.shift{border-radius:7px;text-align:left;min-height:49px;padding:5px 7px;width:100%}.shift:hover{background:#f3f2e9}.status{gap:7px;font-size:.89rem;font-weight:690}.mark{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;font:750 .86rem/1 system-ui;flex-shrink:0}.open .mark{color:#78540a}.some .mark{color:#376454;background:#dfebdf}.mine .mark{background:#dae6ee;color:#345878}.full .mark,.closed .mark{color:#52605e}.small{font-size:.85rem;color:var(--muted)}.shift small{display:block;font-size:.78rem;color:var(--muted);padding-left:24px}.mobslot{display:none}.side{display:grid;gap:16px}.card{padding:21px}.next{background:#1c3247;color:#fffaf0;border-color:#1c3247}.next .eyebrow{color:#ecd18c}.summary{gap:15px;margin:19px 0}.datetile{border:1px solid #76828b;border-radius:7px;text-align:center;min-width:56px;overflow:hidden}.datetile b{display:block;background:#ffce5c;color:var(--ink);font-size:.7rem;letter-spacing:.09em;padding:1px 6px}.datebig{display:block;font-size:1.83rem;font-weight:700;line-height:1.25}.next .small{color:#d1dbe0}.btn{border:1px solid #b8beb8;border-radius:7px;padding:9px 15px;font-weight:720;font-size:.91rem;background:#fffef9}.btn.primary{background:var(--gold);border-color:#e3b13f;color:var(--ink)}.next .btn{width:100%}.card p{margin:9px 0 14px}.notice{background:#eef1e8}.notice .eyebrow{color:#526249}.notice h3{margin-top:12px}.notice .btn{background:transparent}.simple,.link{color:var(--ink);font-size:.87rem;text-decoration:underline;text-underline-offset:3px}.demo-caption{margin:12px 2px;color:var(--muted);font-size:.83rem}.meta{gap:7px}footer{border-top:1px solid var(--line);margin:34px auto 0!important;padding:20px 0 28px;color:var(--muted);flex-wrap:wrap}.credit{font-weight:700;color:var(--ink)}footer button{font-size:.82rem}.page-title{margin:36px 0 25px}.stack{display:grid;gap:12px}.listrow{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:13px 0}.listrow:first-child{border:0}.listrow b{display:block}.listrow .small{display:block}.actions{gap:9px;flex-wrap:wrap}.card .actions{margin-top:10px}dialog{border:1px solid #c4c8bc;border-radius:15px;padding:0;background:var(--paper);color:var(--ink);width:min(460px,calc(100% - 24px));box-shadow:0 16px 80px #11263836;max-height:88dvh}dialog::backdrop{background:#11263880}#inside{padding:25px}dialog h2{font-size:1.8rem}dialog .hrow{flex-wrap:nowrap;align-items:flex-start}dialog .x{flex-shrink:0}dialog p{margin:12px 0}.field{display:block;margin:15px 0;font-weight:650}input[type=text],select{width:100%;padding:10px;border:1px solid #a9b3ad;border-radius:6px;background:white;margin-top:5px}.check{display:flex;align-items:flex-start;gap:8px;font-size:.94rem;margin:13px 0}.check input{width:18px;height:18px;accent-color:var(--ink);flex-shrink:0}.note{background:#edece3;border-radius:7px;padding:11px;font-size:.9rem}.choice{display:flex;align-items:center;gap:12px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:8px;background:white;width:100%}.choice .small{display:block}.choice .activeflag{margin-left:auto}.error{color:#8b331f}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);color:white;background:var(--ink);border-radius:9px;max-width:min(90vw,530px);width:max-content;padding:10px 16px;z-index:5}#toast:empty{display:none}
@media(min-width:1450px){.hero{min-height:220px}}@media(max-width:1000px){.shell{width:calc(100% - 44px)}.bar{gap:24px}.grid{gap:14px;grid-template-columns:minmax(0,1.85fr) minmax(240px,1fr)}.card{padding:17px}.hero-copy{padding:22px}.status{font-size:.82rem}}
@media(max-width:760px){.shell{width:calc(100% - 28px)}.bar{height:auto;gap:0;flex-wrap:wrap;padding-top:10px}.brand{font-size:1.5rem}.brand img{width:33px;height:33px}.bar nav{order:3;width:100%;gap:23px;height:44px}.persona{font-size:.83rem}.hero{margin:18px 0 14px;grid-template-columns:1fr 32%;min-height:120px}.hero img{min-height:120px;object-position:48% center}.hero-copy{padding:16px}.hero h1{font-size:2.4rem;margin:6px 0}.hero p{font-size:.88rem}.eyebrow{font-size:.69rem}.grid{display:flex;flex-direction:column}.side{display:contents}.next{order:-1;width:100%;display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center;padding:14px}.next .eyebrow{grid-column:1/-1}.next .summary{margin:0;gap:8px}.next .datetile{min-width:37px}.next .datebig{font-size:1.35rem}.next .summary h3{font-size:1.25rem}.next .btn{width:auto}.timetable,.notice,.side>.card{width:100%}.weekhead{padding:15px}.tablehead{grid-template-columns:.75fr 1.2fr 1.2fr;padding:8px}.dayrow{grid-template-columns:.75fr 1.2fr 1.2fr;padding:8px 4px;gap:1px}.dayname{font-size:.93rem}.shift{padding:4px}.dayrow>.dateblock{padding-left:4px}.status{gap:4px}.shift small{padding-left:0;font-size:.75rem}.daynum{font-size:.76rem}h2{font-size:1.55rem}.tabs button{padding:6px 9px}.card h3{font-size:1.3rem}.page-title h1{font-size:2.5rem}.page-title{margin:24px 0 15px}.notice{order:3}footer{margin-top:18px!important}footer div{flex-wrap:wrap}}
@media(max-width:470px){.tablehead{display:none}.dayrow{grid-template-columns:1fr 1fr;padding:10px 12px;align-items:start}.dayrow>.dateblock{grid-column:1/-1;padding:0;margin-bottom:3px}.dayrow .dateblock>div{display:flex;align-items:baseline;gap:7px}.dayrow:nth-child(odd){background:#fafaf4}.mobslot{display:block;font-size:.75rem;color:var(--muted);margin-bottom:3px}.shift small{padding-left:21px}.dayname{font-size:1.05rem}.status{font-size:.83rem}.hero{grid-template-columns:1fr 24%}.hero-copy{padding:14px}.next .btn{font-size:.8rem;padding:8px}.page-title{margin-top:24px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.schoolrow{display:grid;grid-template-columns:1fr 1.35fr 1.35fr;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.schoolrow:last-child{border:0}.schoolrow small,.slotedit span,.slotedit strong{display:block}.schoolrow small{color:var(--muted);font-size:.8rem;font-weight:500}.slotedit{text-align:left;border:1px solid var(--line);border-radius:8px;background:#fafaf4;padding:9px;font-size:.9rem}.slotedit:hover{border-color:var(--ink)}textarea,input[type=number],input[type=time]{width:100%;border:1px solid #a9b3ad;background:white;border-radius:7px;padding:9px;font:inherit;color:inherit}textarea{min-height:90px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card p{overflow-wrap:anywhere}@media(max-width:550px){.schoolrow{grid-template-columns:1fr 1fr}.schoolrow>b{grid-column:1/-1}.schoolrow>b small{display:inline;margin-left:7px}.slotedit{font-size:.82rem}}

/* Reserve the system status area and its lower visual edge in installed iOS apps. */
@supports (-webkit-touch-callout: none) {
  @media (display-mode: standalone) {
    header {
      padding-top: calc(env(safe-area-inset-top, 0px) + 18px);
      padding-left: env(safe-area-inset-left, 0px);
      padding-right: env(safe-area-inset-right, 0px);
    }
  }
}
#release-notice:not([hidden]){position:fixed;z-index:8;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);box-sizing:border-box;background:var(--ink);color:white;border-radius:12px;padding:12px 16px;display:flex;align-items:center;gap:12px;box-shadow:0 3px 18px #14243133}
#release-notice button{flex-shrink:0}

.onsite{--commit-ink:#235846;--commit-tint:#e2efe6}
.oncall{--commit-ink:#554084;--commit-tint:#eee8f7}
.commitment{display:inline-flex;align-items:center;gap:.45em;font-weight:700}
.commit-icon{display:inline-grid;place-items:center;flex:none;color:var(--commit-ink)}
.commit-icon svg{width:1.05em;height:1.05em}
.commit-card{border-top:4px solid var(--commit-ink)}
.commit-card h2 .commit-icon{font-size:.7em}
.shift .commitment{font-size:.88rem;color:var(--commit-ink)}
.shift .oncall{margin-top:.22rem}
@media(max-width:760px){
 .grid{align-items:stretch}
 .grid>.stack,.grid>.card,.grid>.timetable{min-width:0;width:100%}
 .listrow>div{min-width:0}
 .listrow .btn{flex-shrink:0}
}

/* Keep DOM focus for the dialog and assistive technology. Hide the keyboard
   ring on buttons only while the most recent interaction used a pointer. */
html[data-focus-input="pointer"] :is(button, a[href]):focus {
  outline: none;
}
.shift-instructions{margin:.65rem 0;color:var(--muted)}
.shift-instructions summary{cursor:pointer;font-size:.9rem;font-weight:650;padding:.45rem 0}
.shift-instructions[open] p{margin:.2rem 0;color:var(--ink)}
.shift-instructions summary:focus-visible{outline:3px solid #387ea1;outline-offset:2px}

.timetable .dayrow{gap:10px}
.shift[class*="grid-"]{border-inline-start:3px solid var(--rail);border-radius:0 5px 5px 0;padding:7px 9px;align-self:stretch;background:var(--wash);color:var(--tone)}
.shift[class*="grid-"]:hover{box-shadow:inset 0 0 0 1px var(--rail)}
.grid-open{--rail:#d5a22a;--wash:#fff5d9;--tone:#684710}
.grid-mine{--rail:#398067;--wash:#e8f2e9;--tone:#235846}
.grid-some{--rail:#b3c3b6;--wash:transparent;--tone:#344c44}
.grid-full,.grid-closed{--rail:#cecfc8;--wash:#f2f2ed;--tone:#536068}
.grid-status{display:flex;align-items:baseline;gap:.35em;font-size:.88rem;font-weight:700;line-height:1.35}
.grid-status svg{width:1em;height:1em;align-self:center}
.shift[class*="grid-"] small{padding:2px 0 0}
@media(max-width:470px){.timetable .dayrow{padding:12px;row-gap:5px}.shift .mobslot{font-size:.76rem;margin-bottom:4px}.grid-status{font-size:.85rem}}
input[type=date]{display:block;width:100%;min-width:0;margin-top:5px;padding:10px;font:inherit;color:var(--ink);background:white;border:1px solid #a9b3ad;border-radius:6px}
.bulk-heading{margin-top:1.4rem}
dialog,dialog *,dialog *::before,dialog *::after{box-sizing:border-box}
.field,form,.pair,.pair>*{min-inline-size:0;max-inline-size:100%}
.pair{grid-template-columns:repeat(2,minmax(0,1fr))}
input[type=date],input[type=time]{appearance:none;-webkit-appearance:none;display:block;inline-size:100%;min-inline-size:0;max-inline-size:100%;margin-inline:0;min-block-size:44px}
@media(max-width:760px){
 .shell>*,.grid>*,.stack>*,.listrow>*,.schoolrow>*,.dayrow>*,.hrow>*{min-width:0}
 .bar nav{overflow-x:auto;gap:16px}
 .bar nav button,.pager button,.tabs button,.x{min-height:44px}
 .pager button,.x{min-width:44px}
 .listrow,.panel-title,.actions,footer div{flex-wrap:wrap}
 .listrow a,.card p,dialog p,dialog h2{overflow-wrap:anywhere}
 .grid,.stack{max-width:100%}
 dialog{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);overscroll-behavior:contain}
 #inside{padding:clamp(16px,4vw,24px)}
 .field select,.field input,.field textarea{font-size:1rem;font-weight:500;max-width:100%}
 .pair{grid-template-columns:1fr;gap:0}
 .pair .field{margin:6px 0}
 dialog .actions .btn{min-height:44px}
}
@media(max-width:370px){.next{grid-template-columns:1fr}.next .btn{width:100%}.schoolrow,.dayrow{column-gap:5px}.listrow .btn{max-width:100%}}
.pager .btn{width:auto;white-space:nowrap;font-size:.85rem;padding-inline:10px}

@media (max-width:760px) {
  .bar {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
  }
  .bar nav {
    grid-column:1 / -1;
    grid-row:2;
    height:auto;
    flex-wrap:wrap;
    row-gap:0;
  }
  .persona {grid-column:2;grid-row:1}
}
@media (max-width:370px) {
  .brand {font-size:1.25rem;gap:6px}
  .bar nav {column-gap:12px}
}
.pref-row{border-top:1px solid var(--line);padding:6px 0}
.pref-row .check{min-height:44px;margin:0}
.pref-detail{padding-inline-start:1.8rem}
.pref-row:has(input:not(:checked)) .pref-detail{display:none}
