:root{color-scheme:light;--ink:#172821;--muted:#53635b;--line:#d8e1db;--green:#176246;--paper:#fff;--bg:#f2f5f2}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,sans-serif}header{background:var(--ink);color:white;padding:1rem max(1rem,calc((100% - 62rem)/2))}header h1{margin:0;font-size:1.6rem}header p{margin:.2rem 0;color:#cfdfd6}main{max-width:64rem;margin:auto;padding:1rem}nav,.actions{display:flex;flex-wrap:wrap;gap:.5rem}nav{margin:.75rem 0}section,article{background:var(--paper);border:1px solid var(--line);border-radius:.8rem;padding:1rem;margin-bottom:.75rem}h2,h3{line-height:1.2;margin:.2rem 0 .75rem}p{margin:.55rem 0}button,input,select{font:inherit;border-radius:.5rem;min-height:44px;padding:.55rem .7rem;border:1px solid #879a8e}button{cursor:pointer;background:var(--green);color:white;font-weight:650}nav button,.secondary{background:white;color:var(--ink)}nav [aria-current="page"]{background:var(--green);color:white}input,select{width:100%;background:white;color:var(--ink)}label{display:block;margin-bottom:.65rem;font-weight:600}label input,label select{display:block;margin-top:.2rem}form{max-width:32rem;margin-bottom:1rem}form:last-child{margin-bottom:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.6rem}.metric{background:var(--bg);border-radius:.5rem;padding:.6rem .75rem}.metric strong{display:block;font-size:1.25rem}.muted,small{color:var(--muted)}.list{list-style:none;padding:0;margin:0}.list li{border-top:1px solid var(--line);padding:.55rem 0;overflow-wrap:anywhere}.table{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}td,th{padding:.55rem;border-bottom:1px solid var(--line);white-space:nowrap}#notice:not(:empty){background:#faedc8;padding:.55rem .75rem;margin:.6rem 0;border-radius:.5rem}meter{width:100%;height:1.1rem}details{margin:.65rem 0}summary{cursor:pointer;font-weight:650}progress{width:100%;accent-color:var(--green)}
header{padding-top:max(1rem,env(safe-area-inset-top))}
main{padding-right:max(1rem,env(safe-area-inset-right));padding-left:max(1rem,env(safe-area-inset-left));padding-bottom:max(1rem,env(safe-area-inset-bottom))}
input,select,button{min-width:0;font-size:1rem}button,summary{touch-action:manipulation}
.session-bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.switch-form button{width:100%}
@media(max-width:600px){
  main{padding-top:.75rem}section{padding:.85rem}
  main[data-mode="staff"] nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(6rem,1fr))}
  button,input,select{min-height:48px}
  .session-bar button{background:white;color:var(--ink)}
}
