/* Shared compact controls and the original DuoMel typefaces. */
:root{--body-font:'Notebook Sans',Arial,sans-serif;--heading-font:'Notebook Serif',Georgia,serif}
.dm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:12px 0}.dm-editor{padding:16px 0;max-width:100%;font-size:13px}.dm-editor label,.log-dialog form>label{display:grid;gap:6px;font-weight:600;margin:10px 0}.dm-editor label>span,.dm-editor legend{display:flex;align-items:center;gap:7px}.dm-editor svg,.rw-class h4 svg{width:17px;height:17px;flex:none;vertical-align:middle;margin-right:5px;color:#56735b}.dm-editor textarea,.dm-editor input,.dm-editor select,.log-dialog .input{font-size:13px!important;font-weight:400!important;padding:9px 11px;min-height:36px;border:1px solid #cdd4c5;border-radius:6px;background:#fffef9;box-sizing:border-box;max-width:100%}.dm-editor textarea{line-height:1.55;resize:vertical;min-height:78px}.dm-editor fieldset{border:0;border-top:1px solid #dbe0d3;padding:12px 0;margin:14px 0}.dm-editor legend{font-weight:600;font-size:13px;padding-right:10px}.dm-editor details{margin:12px 0}.dm-editor details>summary{font-size:13px;padding:10px 0}.dm-check{display:flex!important;align-items:center;gap:9px;font-weight:400!important}.dm-check input{width:auto!important;min-height:0!important}.dm-check span{white-space:pre-wrap;overflow-wrap:anywhere}.dm-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px;margin:16px 0}.dm-counts span{font-size:12px;color:#536454}.dm-counts strong{display:block;font-size:24px;color:#254d3e}.dm-member-menu{position:relative;margin-left:auto}.dm-member-menu>summary{list-style:none;cursor:pointer;padding:8px;font-weight:600}.dm-member-menu[open]{background:#fffdf5;padding:8px;border:1px solid #ced7c7;border-radius:6px}.dm-member-menu button{display:block}.log-dialog{width:min(760px,calc(100vw - 32px));max-height:90dvh;padding:24px;border:1px solid #c3cfbc;background:#fffdf5;border-radius:12px}.log-dialog h2{font-size:25px}.log-dialog .ytm-card{margin-top:14px}.reference-week .rw-class-body{padding:14px 18px}.reference-week .rw-compare{gap:22px}.reference-week .rw-class h4{font-size:12px;font-weight:600;margin:15px 0 5px;display:flex;align-items:center;gap:5px}.reference-week .rw-text{font-size:13px;line-height:1.55;font-weight:400}.reference-week .rw-class>summary{font-size:12px;gap:12px;padding:12px 16px}.reference-week .rw-class>summary strong{font-size:14px;font-weight:600}.reference-week .rw-next-heading{align-items:center;gap:12px}.reference-week .rw-status{font:500 12px var(--body-font)!important;max-width:180px;min-height:33px;padding:6px 10px}.reference-week .rw-student>summary strong{font-size:18px;font-weight:600}.reference-week .rw-student>summary .dm-payments{margin-left:auto;font-size:11px;white-space:nowrap}.rw-editor>summary span{display:none}.rw-class.log-completed{background:#edf4e7!important;border-color:#9fbc94!important}.rw-class.log-missed{background:#fbe6e2!important;border-color:#d49b91!important}.rw-class.log-pending{background:#fff0d8!important;border-color:#dab077!important}.rw-class.log-planned{background:#eef2e8!important}.rw-class.log-review{background:#fcfaf3!important}.rw-last,.rw-next{background:transparent!important;border:0!important;box-shadow:none!important}.rw-last{border-right:1px solid #d7dfce!important;padding-right:20px!important}.btn,.chip-btn{border-radius:6px;min-height:34px;font-size:13px;padding:8px 12px}.dm-editor .btn,.log-dialog .btn{font-size:13px!important;min-height:34px}.record-header{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.record-header h1{margin-right:8px}.ytm-student-row{display:flex;align-items:center;gap:12px}.rw-kicker{font-size:10px!important;letter-spacing:.08em}.rw-kicker svg{width:15px;height:15px}.reference-week .rw-last h3{font-size:13px!important}.reference-week .rw-last p{font-size:13px;font-weight:400}.reference-week .rw-last .small{font-size:11px}.reference-week .v11-planning>summary h3{font-size:15px}.reference-week .v11-note-row{font-size:13px}.reference-week .v11-preparation{margin-top:14px}.dm-editor .ytm-card{padding:12px}.dm-editor .ytm-card>summary{padding:3px}.dm-editor .week-linked{font-weight:400}.log-dialog .dm-editor{padding-bottom:0}@media(max-width:650px){.dm-fields{grid-template-columns:1fr;gap:6px}.log-dialog{padding:16px}.reference-week .rw-last{border-right:0!important;border-bottom:1px solid #d7dfce!important;padding:0 0 14px!important}.reference-week .rw-student>summary{flex-wrap:wrap}.reference-week .rw-class-body{padding:12px}.reference-week .rw-status{max-width:150px}.dm-payments{margin-left:0!important}.dm-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}
.reference-week .rw-last{background:#f0f2e9!important;border:1px solid #dce1d0!important;border-radius:6px;padding:12px 14px!important}.reference-week .rw-next{background:#fcf6e9!important;border:1px solid #f1dfb5!important;border-radius:6px;padding:12px 14px!important}.reference-week .rw-compare{gap:10px}.reference-week .rw-class h4{margin:9px 0 3px;font-size:12px}.reference-week .rw-class-body{padding:10px}.reference-week .rw-class>summary .rw-status{margin-left:auto}.reference-week .rw-class .rw-kicker{font-size:10px!important}.reference-week .rw-class-actions{margin-top:10px}.reference-week .rw-class-actions .btn{font-size:12px;min-height:31px;padding:6px 10px}.reference-week .rw-editor{margin-top:9px}.reference-week .rw-editor>summary{padding:8px 10px}.reference-week .dm-editor{padding:12px}.reference-week .rw-student>.v11-next-heading{margin:8px 18px;font-size:11px}.reference-week .rw-avatar{width:30px;height:30px;font-size:14px}.reference-week .rw-student>summary{padding:9px 15px;gap:10px}.reference-week .rw-student>summary strong{font-size:16px}.reference-week .rw-student-actions .btn{min-height:32px;padding:6px 11px;font-size:12px}.reference-week .rw-student-actions .btn[onclick*=',true)']{background:#f5cc60;border-color:#efc35a;color:#213322}.reference-week .rw-plan-month{background:#fffdfa!important;border-color:#d4d5cb!important}.reference-week .v11-planning>summary{padding:8px 12px}.reference-week .v11-planning{padding-bottom:8px}.reference-week .v11-planning>p{margin:8px 12px}.reference-week .v11-planning>button{margin:0 12px}.reference-week .v11-planning>summary h3{font-size:13px}.reference-week .v11-planning>p.small{display:none}
.dm-editor button[onclick*="Delete"],.dm-member-menu button[onclick*="Remove"],.log-dialog button[onclick*="Delete"]{color:#a23b32;border-color:#d8aca4}.dm-editor button:focus-visible,.log-dialog button:focus-visible{outline:2px solid #56735b;outline-offset:3px}
