.weekly-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.weekly-toolbar label{display:flex;align-items:center;gap:10px}.weekly-toolbar select{min-width:110px}.weekly-config-modal,.weekly-record-modal{position:fixed;inset:0;z-index:18000;background:#102a2855;display:grid;place-items:center;padding:18px}.weekly-dialog{background:white;color:#173f43;border-radius:18px;box-shadow:0 15px 60px #0003;width:min(920px,96vw);max-height:92dvh;display:flex;flex-direction:column;padding:22px;box-sizing:border-box}.weekly-dialog header{display:flex;align-items:center;justify-content:space-between;gap:14px}.weekly-dialog h2{font-size:21px;margin:0}.weekly-dialog form{min-height:0;display:flex;flex-direction:column}.weekly-dialog .weekly-scroll{overflow:auto;min-height:0;padding:16px 2px}.weekly-dialog footer{display:flex;justify-content:flex-end;gap:10px;padding-top:14px;border-top:1px solid #d8e5e1}.weekly-dialog label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;min-width:0}.weekly-dialog input,.weekly-dialog select,.weekly-dialog textarea{font:inherit;font-weight:400;box-sizing:border-box;width:100%;border:1px solid #c8dcd4;border-radius:9px;padding:10px;min-height:42px;background:white;color:#163b42}.weekly-dialog textarea{min-height:88px;resize:vertical}.weekly-config-row{display:grid;grid-template-columns:2fr 1fr 2fr auto;gap:12px;align-items:start;padding:14px 0;border-bottom:1px solid #dbe7e3}.weekly-config-row[data-inactive=true]{opacity:.7}.weekly-config-row button{align-self:center}.weekly-config-row small{font-weight:400}.weekly-dialog [role=alert]{color:#a32929;white-space:pre-line}.weekly-record-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.weekly-points{grid-column:1/-1;border:0;padding:0;margin:0}.weekly-points legend{font-weight:700;font-size:13px;margin-bottom:9px}.weekly-points>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.weekly-points label{position:relative;cursor:pointer}.weekly-points input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.weekly-points span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px;background:#f5faf7;border:1px solid #bfd8cb;border-radius:10px}.weekly-points input:checked+span{color:white;background:#0b5a3d}.weekly-points input:focus-visible+span{outline:3px solid #8bc7a7}.weekly-empty{padding:16px;color:#5a7372}.weekly-dialog button{cursor:pointer}.weekly-dialog button:disabled{cursor:wait;opacity:.6}@media(max-width:650px){.weekly-config-modal,.weekly-record-modal{padding:8px}.weekly-dialog{padding:16px;width:100%;max-height:96dvh}.weekly-config-row{grid-template-columns:1fr 1fr}.weekly-config-row .weekly-options{grid-column:1/-1}.weekly-record-grid{grid-template-columns:1fr}.weekly-dialog input,.weekly-dialog select,.weekly-dialog textarea{font-size:16px}}
.weekly-dialog [hidden]{display:none!important}
.weekly-history-note{margin:8px 12px;color:#415c56;font-size:.85rem}
.weekly-completed-heading{min-width:11rem}
.weekly-completed summary{cursor:pointer;color:#0b5a3d;font-weight:650}
.weekly-completed ul{list-style:none;min-width:11rem;max-width:19rem;margin:8px 0 0;padding:0}
.weekly-completed li{border-top:1px solid #d8e5e1;padding:6px 0;white-space:normal;overflow-wrap:anywhere}
.weekly-completed li span,.weekly-completed li p{display:block;margin:3px 0 0;color:#415c56}
.weekly-completed li p{white-space:pre-wrap}
