.v2-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 16px;border-bottom:1px solid #e1dce8;padding-bottom:8px}.v2-tabs button{background:#eee8f4;color:#60427c;border:1px solid transparent;border-radius:7px;padding:9px 14px;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}.v2-tabs [aria-selected=true]{background:#60427c;color:white}.v2-tabs~[hidden],[role=tabpanel][hidden]{display:none!important}
.v2-table-toolbar{display:flex;justify-content:flex-end;gap:8px;margin:6px 0}.v2-columns{position:relative;font-size:12px}.v2-columns summary{cursor:pointer;padding:7px 10px;border:1px solid #d9cde4;border-radius:6px;color:#60427c}.v2-columns[open]{padding:8px;background:white;border:1px solid #d9cde4;border-radius:6px}.v2-columns label{display:inline-flex!important;align-items:center;gap:5px;margin:6px!important;padding:0!important;font-size:12px!important}.v2-columns input{width:auto!important;margin:0!important}.v2-columns button{margin:4px}
.v2-table-scroll{max-height:clamp(280px,60vh,680px);max-width:100%;overflow:auto;position:relative;isolation:isolate}.v2-table{border-collapse:separate!important;border-spacing:0;width:100%;font-size:12px;table-layout:fixed;background:#f5f5f7}.v2-table thead,.v2-table thead tr{background:#f2eef6}.v2-table th{position:sticky;top:0;z-index:3;background:#f2eef6!important;padding:8px 32px 8px 10px!important;min-width:80px;white-space:normal!important;vertical-align:middle}.v2-table td{padding:7px 10px;overflow-wrap:normal;word-break:normal;white-space:normal!important;border-bottom:1px solid #e4e5ea}.v2-table [hidden]{display:none!important}.v2-table th .v2-sort{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;min-width:22px;min-height:28px;padding:2px!important;margin:0!important;color:#60427c;cursor:pointer}.v2-table .v2-resize{position:absolute;right:0;top:0;bottom:0;width:8px;cursor:col-resize;touch-action:none;border-right:2px solid #d6cede}.v2-resize:focus,.v2-resize:hover{background:#cdb6e6;outline:2px solid #60427c}.v2-table .v2-name{position:sticky;left:0;z-index:2;background:#fff}.v2-table .v2-actions{position:sticky;right:0;z-index:2;background:#fff}.v2-table th.v2-name,.v2-table th.v2-actions{z-index:4}.v2-table tbody tr:nth-child(odd),.v2-table tbody tr:nth-child(odd)>td{background:#fff9de}.v2-table tbody tr:nth-child(even),.v2-table tbody tr:nth-child(even)>td{background:#f5f5f7}
.v2-settings-section{padding:14px;background:#fff;border:1px solid #e1dce8;border-radius:8px}.v2-settings-section h2{margin-top:0;font-size:17px}.v2-settings-toolbar,.v2-finance-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:8px 0}.v2-search{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.v2-search input,.v2-search select{max-width:280px}.v2-more-actions{display:inline-block;margin:5px}.v2-more-actions summary{cursor:pointer;color:#60427c}.v2-report-options{display:flex;gap:10px;flex-wrap:wrap}.v2-report-options>button{padding:14px;text-align:left;background:#f6f2fa;border:1px solid #dacde5;border-radius:8px;color:#60427c}.v2-report-options small{display:block;font-weight:400;color:#616273;margin-top:5px}.v2-access-dialog{width:min(640px,94vw);max-height:85vh;overflow:auto}.v2-access-dialog form{display:grid;gap:8px}.v2-settings-section form{max-width:640px}.finance-screen .finance-cards{grid-template-columns:repeat(6,minmax(0,1fr))}.finance-screen .finance-cards strong{font-size:15px}.finance-screen .finance-next-action{background:#60427c;border-color:#60427c}.finance-screen .finance-table-scroll table{table-layout:fixed}.v2-table-toolbar button,.v2-settings-section button{cursor:pointer}
@media(max-width:1100px){.finance-screen .finance-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.finance-screen .finance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-table-scroll{max-height:65vh}}
@media print{.v2-table-toolbar,.v2-resize,.v2-sort,.v2-tabs{display:none!important}.v2-table-scroll{max-height:none!important;overflow:visible!important}.v2-table th,.v2-table .v2-name,.v2-table .v2-actions{position:static!important}.v2-table{table-layout:auto!important}.v2-table th,.v2-table td{width:auto!important;min-width:0!important;max-width:none!important}}
.v2-table tr.student-row,.v2-table tr.participant-row,.v2-table tr.rehearsal-slot-row,.v2-table tr.report-show-line,.v2-table tr.admin-history-row,.v2-table tr.recycle-row{display:table-row!important}.v2-table tr[hidden]{display:none!important}.v2-table small{display:block}.v2-table .student-meta,.v2-table .participant-controls{display:flex;flex-wrap:wrap;gap:5px;min-width:0;margin:0}.v2-table .participant-name,.v2-table .role,.v2-table .note{width:auto;min-width:0}.v2-table .hide-mobile{display:block!important}.preview-participants:has(table){display:block;padding:0;list-style:none}.v2-table .participant-external-name{color:#16804c!important}.v2-table .role,.v2-table .preview-participant-instrument{font-weight:800;color:#111}

.v2-table .student-initial{float:left;margin:0 8px 4px 0}.v2-report-options[hidden]{display:none}.v2-table tr.preview-external-participant b{color:#16804c}.v2-table-toolbar [hidden]{display:none!important}

/* Opaque cells prevent scrolled content showing through fixed columns. */
.v2-table tbody tr:nth-child(odd)>td{background:#fff9de!important}.v2-table tbody tr:nth-child(even)>td{background:#f5f5f7!important}
.finance-screen .finance-filters>.toolbar{flex-basis:auto}.finance-screen .finance-filters>.finance-more-filters{flex-basis:100%}.v2-finance-toolbar>select{max-width:245px;margin:0;min-height:32px;padding:6px;font-size:12px}.finance-screen .v2-table-scroll{max-height:clamp(230px,calc(100dvh - 450px),560px)}
@media(max-width:600px){.v2-table .v2-actions{position:static}.finance-screen .v2-table-scroll{max-height:55vh}}

.v2-access-dialog{padding:20px;border-radius:10px;font-size:13px}.v2-access-dialog h2{font-size:18px;margin:0 40px 14px 0}.v2-access-dialog form{grid-template-columns:1fr 1fr;gap:7px 14px}.v2-access-dialog form>:not(.check){grid-column:1/-1;margin:0}.v2-access-dialog form>.check{margin:0;padding:4px 0;font-size:13px}.v2-access-dialog select{font-size:13px;padding:8px}.v2-access-dialog p{font-size:12px;line-height:1.5;padding:4px 0 8px}
@media(max-width:500px){.v2-access-dialog form{grid-template-columns:1fr}.v2-access-dialog form>.check{grid-column:1}}

.v2-table tr.receipt-row{display:table-row!important}.v2-report-options+section:empty{display:none}
/* Balanced financial workspace: keep choices visible and avoid nested cards. */
.finance-screen [role=tabpanel],.finance-screen .v2-report-result,.finance-screen #finance-reports{padding:0;border:0;box-shadow:none;background:transparent;margin:0;min-width:0}
.finance-screen .v2-tabs{margin:8px 0 12px}
.finance-screen .finance-cards{padding:0;border:0;margin:0 0 10px;gap:8px}
.finance-screen .finance-cards article{padding:8px 10px}
.finance-screen .finance-filters{gap:8px 12px;margin:10px 0}
.finance-screen .finance-filters label{gap:4px;margin:0}
.finance-screen .v2-finance-toolbar{margin:8px 0;justify-content:flex-start}
.finance-screen p[role=status]:empty{display:none}
.v2-report-options{margin:0 0 12px;gap:8px}
.v2-report-options>button{padding:9px 12px}
.v2-report-options>button[aria-pressed=true]{background:#60427c;color:#fff;border-color:#60427c}
.v2-report-result>h2,.v2-rates>h2{font-size:17px;margin:0 0 12px}
.v2-report-actions,.v2-report-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:10px 0}
.v2-report-actions>*{margin:0!important}
.v2-report-filters>input{flex:1 1 220px;max-width:320px;margin:0}
.v2-report-filters>label{display:flex;flex-direction:column;gap:4px;flex:1 1 150px;max-width:220px;margin:0;font-size:12px}
.v2-report-filters select{margin:0}
.v2-rates{max-width:780px}
.v2-rates>p{font-size:12px;line-height:1.5;margin:0 0 16px;color:#616273}
.finance-screen .v2-rates-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:680px;margin:0}
.finance-screen .v2-rates-form>label{display:flex;flex-direction:column;gap:6px;margin:0;font-size:13px}
.finance-screen .v2-rates-form input{box-sizing:border-box;width:100%;margin:0;padding:9px;min-height:36px}
.v2-rates-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.v2-rates-actions>button{margin:0;min-height:36px}
.v2-rates-actions>p{margin:0;font-size:12px}
@media(max-width:650px){.finance-screen .v2-rates-form{grid-template-columns:1fr}.v2-report-filters>input,.v2-report-filters>label{max-width:none}}
@media print{.v2-report-options,.v2-report-actions,.v2-report-filters{display:none!important}}
.finance-screen .v2-rates-form input{border:1px solid #d9dce5;border-radius:6px;background:#fff;color:#202534;font:inherit}
.finance-screen .v2-rates-actions>button{background:#60427c;border:1px solid #60427c;border-radius:6px;color:#fff;padding:8px 14px;font:inherit;cursor:pointer}
.finance-screen .v2-rates-form input:focus-visible{outline:2px solid #9275ad;outline-offset:2px}

/* Finance spacing follows the available panel width, not the full window. */
.finance-screen{container-type:inline-size}
.finance-screen [role=tabpanel]{padding-top:4px}
.finance-screen .v2-tabs{margin:8px 0 16px;padding-bottom:10px;gap:8px}
.finance-screen .finance-summary-scope{margin:0 0 6px;color:#5c6475;font-size:12px;line-height:1.4}
.finance-screen .finance-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid #e1dce8;border-radius:8px;background:#fff;margin:0 0 16px;overflow:hidden}
.finance-screen .finance-cards article{border:0;border-radius:0;border-right:1px solid #e8e4ed;background:transparent;padding:10px 12px;gap:6px}
.finance-screen .finance-cards article:nth-child(3n){border-right:0}
.finance-screen .finance-cards article:nth-child(n+4){border-top:1px solid #e8e4ed}
.finance-screen .finance-cards span{line-height:1.4}
.finance-screen .finance-cards strong{font-size:15px;line-height:1.3}
.finance-screen .finance-filters{margin:0 0 12px;gap:10px 12px}
.finance-screen .finance-filters>label{flex:1 1 110px;max-width:none}
.finance-screen .finance-filters>label:first-child{flex:1.5 1 180px;max-width:none}
.finance-screen .finance-filters>.toolbar{gap:8px}
.finance-screen .finance-more-filters summary{padding:4px 0}
.finance-screen .v2-finance-toolbar{margin:0 0 12px;padding:12px 0 0;border-top:1px solid #e1dce8;gap:8px}
.finance-screen .v2-finance-toolbar .v2-table-toolbar{margin:0;margin-left:auto}
.finance-screen .v2-finance-toolbar select{height:34px;max-width:245px}
.finance-screen .v2-columns summary{box-sizing:border-box;min-height:34px;display:flex;align-items:center;gap:6px;padding:7px 10px;background:#fff}
.finance-screen .v2-columns summary::before{content:'▸';font-size:11px}
.finance-screen .v2-columns[open] summary::before{content:'▾'}
.finance-screen .v2-columns summary::-webkit-details-marker{display:none}
.finance-screen .v2-report-options{margin:0 0 18px;gap:8px}
.finance-screen .v2-report-result>h2{margin:0 0 12px;font-size:17px;line-height:1.4}
.finance-screen .v2-report-actions{gap:8px;margin:0 0 12px}
.finance-screen .v2-report-actions>a{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border:1px solid #d9cde4;border-radius:5px;background:#fff;color:#60427c;text-decoration:none;box-sizing:border-box}
.finance-screen .v2-report-actions .v2-table-toolbar{display:block}
.finance-screen .v2-report-filters{margin:0 0 16px;gap:10px 12px;align-items:end}
.finance-screen .v2-report-filters>input,.finance-screen .v2-report-filters select{box-sizing:border-box;min-height:36px;padding:7px 10px;font-size:12px}
.finance-screen .v2-table-scroll{border:1px solid #e1dce8;border-radius:7px;scrollbar-gutter:auto}
.finance-screen .v2-table{box-sizing:border-box;min-width:100%}
.finance-screen .v2-table th,.finance-screen .v2-table td{box-sizing:border-box}
.finance-screen .v2-table td{padding:8px 10px}
.finance-screen .v2-rates{padding-top:2px}
@container(min-width:720px){
 .finance-screen .finance-cards{grid-template-columns:repeat(6,minmax(0,1fr))}
 .finance-screen .finance-cards article:nth-child(n){border-top:0;border-right:1px solid #e8e4ed}
 .finance-screen .finance-cards article:last-child{border-right:0}
 .finance-screen .finance-cards span{min-height:31px;display:flex;align-items:center}
}
@container(max-width:480px){
 .finance-screen .finance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .finance-screen .finance-cards article:nth-child(n){border-right:1px solid #e8e4ed;border-top:0}
 .finance-screen .finance-cards article:nth-child(2n){border-right:0}
 .finance-screen .finance-cards article:nth-child(n+3){border-top:1px solid #e8e4ed}
 .finance-screen .v2-finance-toolbar .v2-table-toolbar{margin-left:0}
 .finance-screen .finance-filters>label:first-child{flex-basis:100%}
}
.finance-screen .finance-filters>.finance-more-filters:not([open]){flex:0 0 auto;align-self:center}
.finance-screen .v2-finance-toolbar>select{box-sizing:border-box;border:1px solid #d9cde4;border-radius:5px;background:#fff;color:#243047;padding:6px 10px;font:inherit;font-size:12px}

/* Settings retain one surface per task and consistent control spacing. */
.v2-settings-section{padding:18px;line-height:1.5}
.v2-settings-section>section{border:0;box-shadow:none;padding:0;margin:0;background:transparent}
.v2-settings-section h2{font-size:17px;line-height:1.4;margin:0 0 12px}
.v2-settings-section p{margin:0 0 16px;font-size:13px;max-width:760px}
.v2-settings-section .settings-help{margin:16px 0;padding:12px;border-left-color:#60427c;background:#f5f1f8}
.v2-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.v2-settings-heading h2{margin:0}
.v2-settings-section button{font-size:12px;min-height:34px;padding:7px 12px;color:#60427c}
.v2-settings-section .v2-search{display:flex;gap:12px;margin:0 0 12px;flex-wrap:wrap}
.v2-settings-section .v2-search input,.v2-settings-section .v2-search select{box-sizing:border-box;flex:1 1 180px;max-width:300px;min-width:0;margin:0;min-height:36px;font-size:13px}
.v2-settings-preferences{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.v2-settings-preferences select{flex:1 1 220px;max-width:360px;min-width:0;margin:0;font-size:13px}
.v2-settings-section .v2-table{min-width:100%}
.v2-settings-section .v2-table-toolbar{margin:0 0 12px}
.v2-settings-section .v2-table-scroll{border:1px solid #e1dce8;border-radius:7px}
#settings-view .settings-tabs{margin:0 0 16px;padding-bottom:10px;gap:8px;border-bottom:1px solid #e1dce8;flex-wrap:wrap;overflow:visible}
#settings-view .settings-tab-panel{gap:16px}
#settings-view .settings-tab-panel>.panel{padding:18px;margin:0}
#settings-view .settings-tab-panel .panel-heading{gap:12px;margin-bottom:16px;flex-wrap:wrap;align-items:center}
#settings-view .settings-tab-panel h2{font-size:17px;line-height:1.4}
#settings-view .settings-tab-panel .v2-search{gap:12px;margin:0 0 12px}
#settings-view .settings-tab-panel .v2-table-toolbar{margin:0 0 12px}
#settings-view .settings-tab-panel .v2-table-scroll{border:1px solid #e1dce8;border-radius:7px}
@media(max-width:600px){.v2-settings-section,#settings-view .settings-tab-panel>.panel{padding:12px}.v2-settings-section .v2-search input,.v2-settings-section .v2-search select{max-width:none;flex-basis:100%}.v2-settings-preferences{align-items:stretch;flex-direction:column}.v2-settings-preferences select{flex:auto;max-width:none;width:100%}}
#settings-view .v2-search input,#settings-view .v2-search select{box-sizing:border-box;min-height:36px;min-width:0;padding:7px 10px;border:1px solid #d9dce5;border-radius:6px;background:#fff;font:inherit;font-size:13px;flex:1 1 180px;max-width:300px}
#settings-view .v2-table{min-width:100%;text-align:left}
#settings-view .v2-table th{text-align:left}
#settings-view .v2-table .v2-actions button{margin:3px 8px 3px 0;min-height:30px}
#settings-view .info-panel{margin:0;padding:14px 18px}
#permissions-dialog .modal{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
#permissions-dialog .permission-list{gap:0}
#permissions-dialog .permission-list label{display:grid!important;grid-template-columns:18px 1fr;column-gap:10px;align-items:start;font-size:13px!important;line-height:1.35}
#permissions-dialog .permission-list label small{grid-column:2;font-size:11px;line-height:1.45;font-weight:400;color:#66728b;margin:2px 0 0}
#permissions-dialog .permission-list input:disabled{opacity:.65}
#permissions-profile-defaults{background:#f3f6ff;border-radius:8px;padding:10px 12px;color:#344263}
.access-role-help{display:block;margin:7px 0 0;color:#66728b;font-size:11px;line-height:1.45;font-weight:400}
#access-permission-map{margin:0}
.permission-map-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0 0 14px;font-size:11px;font-weight:700}
.permission-map-legend .granted-profile{color:#2b5b8f}.permission-map-legend .granted-extra{color:#5b3d87}.permission-map-legend .not-granted{color:#8290a5}
#permission-map-list{display:grid;gap:10px}
.permission-map-person{border:1px solid #dfe5f0;border-radius:10px;padding:13px 15px;background:#fff}
.permission-map-person.inactive{background:#f6f7fa;opacity:.72}
.permission-map-person-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.permission-map-person-heading b{display:block;font-size:13px}.permission-map-person-heading small{display:block;color:#66728b;font-size:11px;margin-top:3px}
.permission-map-person-heading .button{white-space:nowrap}
.permission-map-chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:6px}
.permission-map-chip{display:flex;flex-direction:column;gap:2px;padding:7px 9px;border-radius:7px;border:1px solid #e4e8f0;font-size:11px;font-weight:700;line-height:1.2;min-width:0}
.permission-map-chip small{font-size:9px;font-weight:500}
.permission-map-chip.profile{background:#edf5ff;border-color:#d4e6f8;color:#285783}
.permission-map-chip.extra{background:#f4efff;border-color:#e4d8f6;color:#5b3d87}
.permission-map-chip.none{background:#f8f9fb;color:#7a8798}
@media(max-width:720px){.permission-map-person-heading{align-items:flex-start;flex-direction:column}.permission-map-chips{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#settings-view .v2-search input,#settings-view .v2-search select{max-width:none;flex-basis:100%}}
.finance-screen .finance-filters .toolbar button[aria-pressed=true]{background:#eee8f4;border-color:#9275ad;color:#60427c;font-weight:600}
.draft-tab-confirm{box-sizing:border-box;width:min(420px,calc(100vw - 32px));padding:22px;border:1px solid #ded5e7;border-radius:12px;background:#fff;color:#202534;box-shadow:0 16px 50px #23143330;font-family:inherit}
.draft-tab-confirm::backdrop{background:#211b2a66}
.draft-tab-confirm h2{font-size:18px;margin:0 0 10px}
.draft-tab-confirm p{font-size:13px;line-height:1.5;margin:0 0 18px}
.draft-tab-confirm>div{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.draft-tab-confirm button{font:inherit;font-size:13px;padding:9px 12px;min-height:38px;border:1px solid #d9cde4;border-radius:6px;background:#fff;color:#60427c;cursor:pointer}
.draft-tab-confirm .draft-discard{background:#60427c;border-color:#60427c;color:#fff}
.draft-tab-confirm button:focus-visible{outline:2px solid #9275ad;outline-offset:3px}
/* Small edit cue only for student and enrollment actions; labels remain unchanged. */
button.student-edit-hint::before{content:"";display:inline-block;width:12px;height:12px;margin-right:5px;vertical-align:-1px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m16 3 5 5-12 12-6 1 1-6L16 3ZM14 5l5 5M4 15l5 5'/%3E%3C/svg%3E") center/contain no-repeat}

/* Keep the student list readable after converting legacy rows into table cells. */
#student-list .v2-table{min-width:100%;text-align:left}
#student-list .v2-table td{vertical-align:middle}
#student-list .v2-table .student-meta{justify-content:flex-start;width:auto;margin:0;gap:6px}
#student-list .v2-table .student-identity{flex-wrap:wrap}
#student-list .v2-table .student-identity>b,#student-list .v2-table .student-identity>.quick-edit,#student-list .v2-table .shirt-size,#student-list .v2-table .status{white-space:nowrap}
#student-list .v2-table .student-identity>.status{flex-basis:100%;white-space:normal}
#student-list .v2-table .shirt-size{max-width:100%;box-sizing:border-box}
#student-list .v2-table .quick-edit{flex-wrap:nowrap}
#student-list .v2-table .v2-actions>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
#student-list .v2-table .v2-name,#student-list .v2-table .v2-actions{position:static}

/* Receipt status and date stay readable inside the Festival editor. */
#editor.festival-enrollment{width:min(1060px,calc(100vw - 24px))}
.festival-enrollment .management-tabs{gap:8px;padding-bottom:12px;flex-wrap:wrap}
.festival-enrollment .management-tabs button{padding:8px 12px;font-size:13px}
.festival-enrollment .enrollment-panel>.v2-table-toolbar{grid-column:1/-1;margin:0;min-width:0}
.festival-enrollment .enrollment-panel>.table-wrap{min-width:0;margin:0}
#festival-panel-receipts{gap:10px;padding-top:14px;padding-bottom:14px}
#festival-panel-receipts>p{margin:0;font-size:13px;line-height:1.45}
#festival-panel-receipts .v2-table th,#festival-panel-receipts .v2-table td{box-sizing:border-box}
#festival-panel-receipts .v2-actions,#festival-panel-receipts .sticky-actions{position:static}
#festival-panel-receipts td select,#festival-panel-receipts td input{box-sizing:border-box;width:100%;min-width:0;margin:0;padding:6px;font-size:12px}
#festival-panel-receipts td button{font-size:12px;padding:7px 9px;margin:0}

/* Festival directories use the available panel width without covering editable cells. */
#section-classes .v2-table,#section-students .v2-table{min-width:100%;margin:0;text-align:left}
#section-classes .v2-table :is(th,td),#section-students .v2-table :is(th,td){box-sizing:border-box;vertical-align:middle}
#section-classes .v2-table :is(.sticky-name,.sticky-actions,.v2-name,.v2-actions),#section-students .v2-table :is(.sticky-name,.sticky-actions,.v2-name,.v2-actions){position:static;box-shadow:none}
#section-classes .v2-table-toolbar,#section-students .v2-table-toolbar{margin:4px 0 8px}
#section-classes .table-wrap,#section-students .table-wrap{margin:0;scrollbar-gutter:auto}
#section-classes h2,#section-students h2{margin:0 0 10px}
#section-classes .toolbar,#section-students .toolbar{gap:8px;align-items:center}
#section-classes .quick-edit,#section-students .quick-edit{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
#section-classes .v2-actions button,#section-students .v2-actions button{margin:3px 5px 3px 0}

/* Shared column layout: JS distributes spare width and observes panel resizing. */
.v2-table-scroll{width:100%;min-width:0;box-sizing:border-box;scrollbar-gutter:auto}
.v2-table-toolbar{min-width:0;grid-column:1/-1}
.v2-table{margin:0;text-align:left}
.v2-table th,.v2-table td{box-sizing:border-box;text-align:left;vertical-align:middle;min-width:0}
.v2-table :is(.v2-name,.v2-actions,.sticky-name,.sticky-actions){position:static;box-shadow:none}
.v2-table td>input,.v2-table td>select{box-sizing:border-box;max-width:100%;min-width:0}
.v2-table .quick-edit{min-width:0;max-width:100%;flex-wrap:wrap}
.v2-table td .actions-cell{min-width:0;flex-wrap:wrap}
.v2-table th{position:sticky!important;top:0;left:auto!important;right:auto!important;z-index:3}
