.homework-board{--hw-green: #24785c;--hw-muted: #727b87;color:#26332e;max-width:1680px;margin:0 auto;font-size:14px}.homework-board *,.hw-dialog *{box-sizing:border-box}.homework-board button,.hw-dialog button,.hw-import{cursor:pointer;font:inherit;transition:background .15s,border-color .15s}.homework-board button:disabled{opacity:.5;cursor:not-allowed}.homework-board button:focus-visible,.hw-dialog button:focus-visible,.homework-board input:focus-visible,.hw-dialog input:focus-visible,.hw-dialog select:focus-visible,.hw-import:focus-within{outline:3px solid #75b99e;outline-offset:3px}.hw-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.hw-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#337a60}.hw-eyebrow span{color:#7b847f;letter-spacing:.04em;margin-left:8px}.hw-header h1{font-size:clamp(23px,2.6vw,32px);letter-spacing:-.05em;margin:10px 0;color:#1f332b}.hw-header p{color:#727b87;margin:0;line-height:1.6}.hw-primary,.hw-button{border:1px solid #24785c;border-radius:9px;background:#24785c;color:#fff;padding:11px 17px;font-weight:700!important;white-space:nowrap}.hw-primary:hover{background:#1b6149}.hw-button{background:#fff;border-color:#dbe2de;color:#46564e}.hw-meta{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;color:#727b87;font-size:12px;padding:14px 0 20px}.hw-week{border:1px solid #d9e7df;background:#edf5f0;color:#4a6558;border-radius:7px;padding:9px 12px}.hw-week strong{margin-left:8px;color:#246549}.hw-notice,.hw-alert{display:flex;align-items:center;justify-content:space-between;background:#e9f3ee;border:1px solid #cde0d5;color:#2c6349;padding:12px 16px;border-radius:8px;margin-bottom:16px;line-height:1.6}.hw-alert{background:#fff3e7;color:#8a4e13;border-color:#f3d0a4}.hw-notice button{border:0;background:transparent;color:inherit;font-size:22px}.hw-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e0e7e2;border-radius:14px;padding:23px 0;margin-bottom:28px;box-shadow:0 3px 10px #23362b03}.hw-stats>div{padding:0 24px;border-right:1px solid #e9edea}.hw-stats>div:last-child{border:0}.hw-stats>div>span{color:#68756d;font-size:12px;font-weight:600}.hw-stats strong{display:block;color:#263e31;font-size:clamp(23px,2.4vw,30px);letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:10px 0 8px}.hw-stats small{font-size:14px;color:#8c978f;font-weight:500;letter-spacing:0}.hw-stats p{color:#7c867f;font-size:11px;margin:0;line-height:1.5}.hw-stats .hw-gold-stat strong{color:#a97722}.hw-gold-trigger{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left}.hw-gold-trigger>span:first-child{color:#68756d;font-size:12px;font-weight:600}.hw-gold-trigger:hover>span:first-child{color:#24785c;text-decoration:underline}.hw-stat-note{color:#7c867f;font-size:11px;line-height:1.5}.hw-gold-dialog{position:fixed;box-sizing:border-box;top:0;right:0;bottom:0;left:0;margin:auto;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:clamp(18px,3vw,28px);overflow:auto;border:1px solid #cdded3;border-radius:12px;background:#fff;color:#26332e;box-shadow:0 12px 40px #163b2926;font-family:inherit}.hw-gold-dialog::backdrop{background:#163b291a}.hw-gold-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hw-gold-dialog h2{margin:0;font-size:20px}.hw-gold-dialog p{font-size:12px;color:#727b87;line-height:1.6}.hw-gold-table-section{margin-top:20px;border:1px solid #dce7df;border-radius:10px;overflow:hidden}.hw-gold-table-section h3{margin:0;padding:12px 16px;background:#f4f8f5;border-bottom:1px solid #dce7df;color:#52665a;font-size:13px}.hw-gold-table-scroll{--gold-footer-height: 0px;max-height:min(calc(44px + 7 * 48px + var(--gold-footer-height)),48dvh);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}.hw-gold-table-scroll:has(tfoot){--gold-footer-height: 44px}.hw-gold-dialog table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:14px}.hw-gold-dialog thead{position:sticky;top:0;z-index:1;background:#fff}.hw-gold-dialog thead tr,.hw-gold-dialog tfoot tr{height:44px}.hw-gold-dialog tbody tr{height:48px}.hw-gold-dialog th,.hw-gold-dialog td{padding:8px 12px;border-bottom:1px solid #e8eee9;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hw-gold-dialog th:first-child{text-align:left;width:42%}.hw-gold-dialog tfoot{position:sticky;bottom:0;background:#f0f7f2;font-weight:700}.hw-gold-dialog button:focus-visible,.hw-gold-dialog input:focus-visible,.hw-gold-table-scroll:focus-visible{outline:3px solid #75b99e;outline-offset:3px}.hw-stats progress{display:block;width:100%;height:4px;border:none;border-radius:20px;overflow:hidden;margin:0 0 7px;accent-color:#529779}.hw-stats progress::-webkit-progress-bar{background:#eaf0ec}.hw-stats progress::-webkit-progress-value{background:#529779}.hw-toolbar,.hw-filters{display:flex;align-items:center;gap:16px}.hw-toolbar{justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}.hw-tabs{display:inline-flex;background:#eaf0ec;padding:4px;border-radius:9px}.hw-tabs button{border:0;background:transparent;padding:9px 15px;border-radius:6px;color:#718077;font-size:13px}.hw-tabs button.active{background:#fff;color:#2e674d;box-shadow:0 1px 5px #1b382510;font-weight:700}.hw-search{display:flex;gap:9px;align-items:center;background:#fff;border:1px solid #dce4de;border-radius:8px;padding:8px 12px}.hw-search span{font-size:22px;line-height:1;color:#7d8a80}.hw-search input{border:0;background:transparent;width:165px;min-width:0;font:inherit;font-size:12px}.hw-check{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;font-size:12px;color:#526257;white-space:nowrap}.hw-check input{width:16px!important;height:16px;flex:0 0 16px;padding:0;margin:0;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;accent-color:#24785c}.hw-gold-selection{margin:0;padding:10px 16px;min-height:38px;border-bottom:1px solid #eef1ee;background:#fafcfb;cursor:pointer}.hw-gold-selection:has(input:disabled){color:#8a958e;cursor:not-allowed}.hw-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.hw-character{min-width:0;border:1px solid #e0e7e2;border-radius:14px;background:#fff;overflow:hidden}.hw-character-header{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #eef1ee}.hw-avatar{display:grid;place-items:center;width:40px;height:44px;flex-shrink:0;border-radius:11px;background:linear-gradient(145deg,#dcebe3,#f0f5ed);color:#47765c;font-weight:800}.hw-identity{flex:1;min-width:0}.hw-identity h2{font-size:16px;margin:0 0 6px;overflow-wrap:anywhere}.hw-identity p{font-size:11px;color:#7b857f;margin:0}.hw-identity p span{padding:0 4px}.hw-identity strong{color:#367c5b}.hw-icon-button{border:0;border-radius:5px;background:transparent;color:#7d887f;padding:7px;font-size:11px!important}.hw-icon-button:hover{background:#edf3ee;color:#25573c}.hw-danger{font-size:18px!important}.hw-danger:hover{background:#fff0ee;color:#ad5145}.hw-dailies,.hw-weeklies{padding:12px 14px}.hw-dailies{border-bottom:1px solid #eef1ee}.hw-raid-toggle{display:none}.hw-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.hw-section-title h3{margin:0;font-size:12px;color:#52665a}.hw-section-title span{color:#8c978f;font-size:11px;font-weight:500;margin-left:5px}.hw-daily-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.hw-daily-buttons button{display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid #e3e9e5;border-radius:8px;background:#fafcfb;color:#69786e;padding:10px 3px;font-size:11px}.hw-daily-buttons button span{font-size:17px;color:#adb9b0}.hw-daily-buttons button.checked{background:#edf7f0;color:#2e7452;border-color:#b7d6c3}.hw-daily-buttons button.checked span{color:#41845b}.hw-text-button{border:0;background:transparent;color:#3c7a59;font-size:12px!important;padding:6px 0}.hw-text-button:hover{text-decoration:underline}.hw-raid{border:1px solid #e3e9e4;border-radius:10px;padding:8px 10px;margin-bottom:8px}.hw-raid:last-child{margin-bottom:0}.hw-raid.completed{background:#fafdfb;border-color:#cce1d2}.hw-raid-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.hw-raid-title{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}.hw-raid-actions{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.hw-raid-top>div:last-child{display:flex;flex-shrink:0}.hw-raid-top .hw-icon-button{padding:4px 5px;line-height:18px}.hw-difficulty,.hw-gold-tag{display:inline-block;font-size:10px;border-radius:4px;padding:3px 6px;background:#edf2f9;color:#5c779b}.hw-difficulty.hard{background:#f3edf8;color:#84639d}.hw-gold-tag{color:#967842;background:#faf5e9;margin-left:5px}.hw-raid h4{font-size:14px;margin:0;line-height:1.5;overflow-wrap:anywhere}.hw-raid-status{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8a958e;margin-bottom:0}.hw-raid-status .done{color:#368259}.hw-raid-checks{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:8px;align-items:start}.hw-raid-checks:not(:has(.hw-more-buttons)){grid-template-columns:minmax(0,1fr)}.hw-gates{display:flex;flex-wrap:wrap;align-self:stretch;align-content:center;align-items:center;justify-content:center;gap:4px}.hw-gates button{display:flex;align-items:center;justify-content:center;gap:6px;background:#fff;border:1px solid #dde5df;border-radius:6px;font-size:11px;padding:6px 8px;min-height:32px;color:#758077;white-space:nowrap}.hw-gate-check{display:inline-block;flex:0 0 12px;width:12px;text-align:center;line-height:1}.hw-gates button.checked{background:#eaf6ee;border-color:#accdb8;color:#2d7650}.hw-all-gates{border:1px solid #dce5df;border-radius:5px;background:#f6f9f7;padding:4px 6px;min-height:28px;color:#6c8273;font-size:10px!important;white-space:nowrap}.hw-all-gates.checked{background:#eaf6ee;border-color:#accdb8;color:#2d7650}.hw-raid-gold{display:flex;justify-content:space-between;gap:8px;border-top:1px dashed #e8ece8;padding-top:6px;margin-top:6px;color:#8f998f;font-size:10px}.hw-raid-gold strong{color:#9e7c37;font-size:12px;margin-left:auto;white-space:nowrap}.hw-add-raid{width:100%;min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#fafcfb;border:1px dashed #cfdcd2;color:#829787;border-radius:9px;font-size:12px}.hw-add-raid span{font-size:22px}.hw-character-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;background:#f8faf8;border-top:1px solid #edf1ed;font-size:10px;color:#8b988d}.hw-character-footer strong{color:#54705b;font-size:15px}.hw-character-footer small{color:#8b988d;font-size:11px;font-weight:500}.hw-empty{padding:65px 20px;text-align:center;border:1px dashed #d7e2d9;border-radius:14px;background:#fff}.hw-empty-icon{display:grid;place-items:center;width:54px;height:54px;background:#eaf4ed;color:#337454;border-radius:16px;margin:0 auto 22px;font-size:25px}.hw-empty h2{font-size:19px;margin:0 0 12px}.hw-empty p{color:#819087;margin:0 0 25px;line-height:1.8}.hw-done-message{text-align:center;color:#518061;padding:20px 0;font-size:12px}.hw-board-footer{margin-top:24px;color:#87938b;font-size:11px}.hw-board-footer p{line-height:1.8}.hw-board-footer>div{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.hw-board-footer>div>span{height:13px;width:1px;background:#d8e0da}.hw-import{color:#3c7a59;font-size:12px;position:relative}.hw-import input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;cursor:pointer}.hw-dialog{width:min(520px,calc(100% - 30px));max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid #dde6df;border-radius:16px;padding:25px;color:#314638;box-shadow:0 24px 90px #10251c33;font-family:inherit}.hw-dialog::backdrop{background:#16281e65;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.hw-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.hw-dialog h2{margin:8px 0 0;font-size:22px}.hw-dialog label{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;font-size:12px;font-weight:600;color:#566d5d}.hw-dialog input,.hw-dialog select{width:100%;border:1px solid #d4e0d7;border-radius:7px;padding:10px;font:inherit;font-size:14px;background:#fff;color:#344b3b}.hw-dialog select{text-overflow:ellipsis}.hw-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.hw-form-row,.hw-form-gold{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hw-form-row label{min-width:0}.hw-dialog fieldset{border:1px solid #e0e8e2;border-radius:8px;padding:12px;margin:0 0 18px}.hw-dialog legend{font-size:12px;color:#617969;padding:0 6px}.hw-form-gold label{margin:0}.hw-form-help{font-size:11px;color:#8b9184;line-height:1.7;margin:-6px 0 18px}@media (max-width: 1279px){.hw-roster{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 1100px){.hw-stats>div{padding:0 16px}.hw-filters{gap:10px}}@media (max-width: 760px){.hw-weeklies>.hw-section-title{margin-bottom:0}.hw-weekly-heading{display:none}.hw-raid-toggle{display:flex;flex:1;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:6px 0;border:0;background:transparent;color:#52665a;text-align:left;font-size:12px}.hw-raid-toggle strong{color:#24785c}.hw-raid-toggle small{display:block;margin-top:3px;color:#727b87;font-size:11px}.hw-raid-toggle>span:last-child{white-space:nowrap;font-size:11px}.hw-raid-list{display:none}.hw-raid-list.expanded{display:block;margin-top:8px}.hw-header{align-items:flex-start;flex-direction:column}.hw-meta{font-size:11px}.hw-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:23px}.hw-stats>div:nth-child(2){border:0}.hw-stats strong{font-size:26px}.hw-filters{width:100%;flex-wrap:wrap}.hw-search{flex:1}.hw-search input{width:100%}.hw-roster{grid-template-columns:minmax(0,1fr)}.hw-dialog .hw-check{white-space:normal}}@media (max-width: 760px){body:has(.homework-board) .content-area{padding:24px 12px;min-width:0}}.hw-roster-import{background:#fff;border:1px solid #dce6de;border-radius:12px;padding:18px;margin:0 0 22px}.hw-roster-import summary{cursor:pointer;font-weight:700;color:#3f7657}.hw-roster-import summary small{display:inline-block;margin-left:10px;font-weight:400;color:#71816e}.hw-roster-import form,.hw-import-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0}.hw-roster-import input:not([type=checkbox]),.hw-roster-import select{border:1px solid #dce5d9;border-radius:7px;padding:10px;font:inherit}.hw-roster-import form input{flex:1;min-width:130px}.hw-import-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:10px;max-height:340px;overflow:auto;margin-bottom:18px}.hw-import-list label{display:flex;gap:10px;align-items:center;padding:12px;background:#f5f9f1;border-radius:7px;cursor:pointer}.hw-import-list strong,.hw-import-list small{display:block}.hw-import-list small{margin-top:5px;font-size:11px;color:#708466}.hw-roster-import p{color:#718264;font-size:12px;line-height:1.7}.hw-more-buttons{display:flex;flex-direction:column;gap:2px;border-left:1px solid #edf1e8;padding-left:8px}.hw-more-buttons label{display:flex;align-items:center;gap:5px;min-height:22px;font-size:10px;color:#6d8065;cursor:pointer;white-space:nowrap}.hw-more-buttons input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#42864d}.hw-net-summary{font-size:12px;color:#6a7e62;line-height:1.8;margin:-8px 0 24px}.hw-net-summary strong{color:#477044}
