.bulk-entry{margin:24px 0;min-width:0}
.bulk-tabs{display:flex;gap:6px;border-bottom:1px solid var(--ui-line);margin-bottom:18px}
.bulk-tabs button{padding:15px 24px;min-height:48px;color:var(--ui-muted);font-size:14px;border-bottom:3px solid transparent;white-space:nowrap}
.bulk-tabs button[aria-pressed=true]{color:var(--ui-accent);border-color:var(--ui-accent);font-weight:600;background:var(--ui-surface)}
.bulk-record-form{background:var(--ui-surface);border:1px solid var(--ui-line);padding:24px;min-width:0}
.bulk-record-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
.bulk-record-heading h3{font-size:19px;margin:0;font-weight:600}
.bulk-record-heading>span,.bulk-help{color:var(--ui-muted);font-size:12px;line-height:1.8}
.bulk-help{margin:12px 0 18px}
.bulk-table-scroll{max-height:65vh;overflow:auto;overscroll-behavior:contain;border:1px solid var(--ui-line);isolation:isolate}
.bulk-record-table{border-collapse:separate;border-spacing:0;width:100%;white-space:normal;font-size:13px}
.bulk-record-table th,.bulk-record-table td{padding:10px;border-bottom:1px solid var(--ui-grid);text-align:center;background:var(--ui-surface);font-weight:400;vertical-align:middle}
.bulk-record-table thead th{position:sticky;top:0;z-index:2;background:var(--ui-raised);font-size:12px;min-width:80px;box-shadow:0 1px var(--ui-line)}
.bulk-record-table .bulk-topic{display:block;width:100%;min-width:94px;min-height:72px;height:72px;margin:7px 0 0;padding:7px 6px;border:1px solid var(--ui-line);border-radius:0;background:var(--ui-input);color:var(--ui-text);font:inherit;font-size:11px;line-height:1.6;text-align:left;resize:vertical;box-sizing:border-box}
.bulk-record-table .bulk-topic::placeholder{color:var(--ui-muted)}
.bulk-record-table .bulk-topic:focus{outline:2px solid var(--ui-accent);outline-offset:-1px}
.bulk-record-table .bulk-topic-changed{border-color:var(--ui-accent);background:var(--ui-active)}
.bulk-record-table th:first-child{position:sticky;left:0;z-index:1;min-width:90px;text-align:left;border-right:1px solid var(--ui-line)}
.bulk-record-table thead th:first-child{z-index:3}
.bulk-record-table tbody th strong{font-size:13px;font-weight:600}
.bulk-record-table tbody th small{display:block;font-size:10px;color:var(--ui-muted);margin-top:4px}
.bulk-record-table input,.bulk-record-table select{margin:0;padding:10px 8px;font-size:14px;min-height:44px;background:var(--ui-input);border:1px solid var(--ui-line);color:var(--ui-text);border-radius:0;width:100%}
.bulk-record-table input{min-width:64px;text-align:center;font-variant-numeric:tabular-nums}
.bulk-record-table select{min-width:90px}
.bulk-record-table input:focus,.bulk-record-table select:focus{outline:2px solid var(--ui-accent);outline-offset:-1px}
.bulk-record-table input:disabled,.bulk-record-table select:disabled{background:var(--ui-disabled);color:var(--ui-muted);opacity:.7}
.bulk-record-table .bulk-changed>th{box-shadow:inset 3px 0 var(--ui-accent);color:var(--ui-accent);background:var(--ui-active)}
.bulk-record-table .bulk-excluded>th{color:var(--ui-muted)}
.bulk-total{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600;color:var(--ui-accent)}
.bulk-homework,.bulk-attendance{max-width:740px}
.bulk-homework td:nth-child(3){width:28%}
.bulk-max{white-space:nowrap;color:var(--ui-muted);font-size:12px}
.bulk-save-bar{display:flex;gap:18px;align-items:center;margin-top:20px;flex-wrap:wrap}
.bulk-save-bar>div{flex:1;min-width:180px}
.bulk-save-bar strong{font-size:13px;font-weight:500;color:var(--ui-accent)}
.bulk-save-bar p{margin:6px 0 0;font-size:12px;line-height:1.7;color:var(--ui-muted)}
.bulk-save-bar button{font-size:12px;min-height:44px}
.bulk-settings{border:1px solid var(--ui-line);padding:18px 22px;margin:28px 0;background:var(--ui-surface)}
.bulk-settings>summary{font-size:13px;cursor:pointer;color:var(--ui-muted);min-height:28px;line-height:28px}
.bulk-settings[open]>summary{margin-bottom:22px}
.bulk-settings .lesson-common{margin-top:20px}
.bulk-none{padding:30px 0;font-size:14px}
.bulk-warning{background:#fff4df;padding:12px 16px;font-size:12px;line-height:1.8}
.bulk-warning[hidden]{display:none}
@media(max-width:720px){.bulk-record-table .bulk-topic{font-size:16px;min-width:115px;min-height:94px;height:94px;line-height:1.5}}
@media(max-width:720px){.bulk-tabs{gap:0}.bulk-tabs button{padding:13px 14px;font-size:12px}.bulk-record-form{padding:18px 12px}.bulk-record-heading h3{font-size:17px}.bulk-help{font-size:11px}.bulk-record-table th,.bulk-record-table td{padding:8px 6px}.bulk-record-table th:first-child{min-width:75px}.bulk-record-table tbody th strong{font-size:12px}.bulk-record-table input,.bulk-record-table select{font-size:16px;padding:8px 5px}.bulk-record-table select{min-width:80px}.bulk-record-table input{min-width:64px}.bulk-save-bar{gap:10px}.bulk-save-bar>div{width:100%;flex:auto}.bulk-save-bar .solid{flex:1}.bulk-settings{padding:16px}.bulk-table-scroll{max-height:60vh}}
