:root { color-scheme: light; font-family: Inter, "Microsoft YaHei", system-ui, sans-serif; color: #1d2730; background: #edf1f3; }
* { box-sizing: border-box; } body { margin: 0; min-width: 320px; } button, input, select { font: inherit; } button { cursor: pointer; border: 0; background: #146c64; color: #fff; padding: 9px 14px; border-radius: 5px; white-space: nowrap; } button:hover { background: #0f574f; } button:disabled { cursor: not-allowed; opacity: .55; } input, select { width: 100%; min-height: 38px; border: 1px solid #bdc9d1; border-radius: 4px; padding: 7px 9px; background: #fff; color: inherit; } select[multiple] { min-height: 110px; } h1, h2, h3, p { margin-top: 0; } h1 { font-size: 26px; margin-bottom: 6px; } h2 { font-size: 19px; margin-bottom: 8px; } h3 { font-size: 16px; margin-bottom: 12px; } label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.shell { max-width: 1380px; margin: 0 auto; padding: 30px 24px 48px; }.auth-panel { width: min(440px, 100%); margin: 10vh auto; background: #fff; padding: 32px; border: 1px solid #d8e0e5; border-radius: 8px; box-shadow: 0 16px 45px #17324b12; }.eyebrow { color: #146c64; font-size: 13px; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }.muted, .hint { color: #64707b; font-size: 14px; }.form-grid, .tool { display: grid; gap: 14px; }.upload-row { display: grid; gap: 10px; }.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }.check input { width: auto; min-height: auto; }.hidden { display: none !important; }.message { min-height: 20px; margin: 16px 0 0; color: #a33a22; font-size: 14px; }.message.ok, .import-result.ok { color: #146c64; }
.topbar, .section-heading, .user, .status-strip, .tabs { display: flex; align-items: center; }.topbar, .section-heading { justify-content: space-between; gap: 16px; }.topbar { margin-bottom: 20px; }.topbar h1 { margin: 0; }.user { gap: 12px; }.icon-button, .secondary { background: #fff; border: 1px solid #b9c5cd; color: #293846; }.icon-button:hover, .secondary:hover { background: #eef3f5; }.danger-button { background: #a33a22; }.danger-button:hover { background: #822b19; }.status-strip { justify-content: space-between; gap: 12px; background: #dff1eb; border: 1px solid #a9d7ca; padding: 10px 12px; color: #15564f; font-size: 14px; }.tabs { border-bottom: 1px solid #cbd5dc; gap: 20px; margin-top: 22px; }.tab { color: #53616d; background: transparent; border-radius: 0; padding: 11px 3px; }.tab:hover, .tab.active { color: #146c64; background: transparent; border-bottom: 2px solid #146c64; }.view, .settings-view { display: none; padding-top: 24px; }.view.active, .settings-view.active { display: block; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }.metric, .tool, .table-section { background: #fff; border: 1px solid #d7e0e5; border-radius: 6px; }.metric { padding: 17px; }.metric b { display: block; font-size: 26px; color: #17324b; }.metric span { font-size: 13px; color: #64707b; }.table-section { padding: 18px; overflow-x: auto; }.tool { padding: 18px; align-content: start; }.page-heading { margin: 4px 0 17px; }.page-heading p { margin-bottom: 0; }.settings-tabs { display: flex; gap: 7px; overflow-x: auto; border-bottom: 1px solid #cbd5dc; padding: 0 0 1px; }.settings-tab { background: #e6ecef; color: #465560; border-radius: 5px 5px 0 0; padding: 10px 16px; }.settings-tab:hover, .settings-tab.active { background: #146c64; color: #fff; }.setting-toolbar { display: grid; grid-template-columns: minmax(180px, 260px) minmax(260px, 1fr); gap: 12px; margin-bottom: 14px; }.search-field { font-weight: 500; }.setting-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); gap: 14px; margin-bottom: 14px; }.three-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }.wide-tool { grid-row: span 1; }.form-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }.compact-form { display: grid; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e2e8ec; }.compact-form:last-child { border-bottom: 0; padding-bottom: 0; }.filter-row { display: flex; align-items: end; gap: 8px; }.filter-row select { min-width: 135px; }.filter-row input { min-width: 300px; }.button-row { display: flex; gap: 8px; flex-wrap: wrap; }
table { width: 100%; border-collapse: collapse; font-size: 14px; } th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e2e8ec; vertical-align: top; } th { color: #64707b; font-weight: 600; white-space: nowrap; } td input, td select { min-width: 100px; }.tag { display: inline-block; padding: 3px 7px; border-radius: 3px; background: #e7eff3; font-size: 12px; }.tag.approved { background: #dff1eb; color: #125b50; }.tag.conflict_pending { background: #fff0da; color: #915d00; }.tag.pending { background: #e8effb; color: #255a9a; }
#all-segments, #course-table, #semester-table, #room-table, #class-table, #account-table { max-height: 510px; overflow: auto; } #all-segments thead th, #course-table thead th, #semester-table thead th, #room-table thead th, #class-table thead th, #account-table thead th { position: sticky; top: var(--batch-toolbar-height, 0px); background: #fff; z-index: 2; }
.schedule-course-list { max-height: 300px; overflow: auto; margin-bottom: 14px; }.schedule-course-list thead th { position: sticky; top: 0; z-index: 1; background: #fff; }.choice-field { border: 1px solid #bdc9d1; border-radius: 4px; margin: 0; padding: 10px; }.choice-field legend { padding: 0 5px; font-size: 14px; font-weight: 600; }.vertical-options { display: grid; gap: 7px; max-height: 220px; overflow: auto; }.choice-option { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border: 1px solid #d7e0e5; border-radius: 4px; font-weight: 500; cursor: pointer; }.choice-option input { width: auto; min-height: auto; }.choice-option small { color: #64707b; margin-left: auto; }.teacher-search-results { display: flex; flex-wrap: wrap; gap: 8px; min-height: 38px; align-content: flex-start; }.teacher-search-results .muted { padding: 8px 0; }.teacher-chip { display: inline-flex; align-items: center; gap: 7px; margin: 0 8px 8px 0; border: 1px solid #b9c5cd; background: #eef3f5; border-radius: 4px; padding: 5px 7px; font-size: 13px; }.teacher-chip button { padding: 3px 7px; font-size: 12px; }
.import-result { border-top: 1px solid #e2e8ec; padding-top: 10px; color: #64707b; font-size: 13px; }.import-result.error { color: #a33a22; }.import-preview { overflow: auto; margin-top: 12px; max-height: 560px; }.import-preview table { min-width: 1100px; border-collapse: separate; border-spacing: 0; }.import-preview th { position: sticky; top: 0; background: #fff; z-index: 2; }.import-preview td { min-width: 110px; }.import-preview input { min-width: 100px; }.import-preview .import-fixed-result, .import-preview .import-fixed-action { position: sticky; background: #fff; z-index: 1; }.import-preview .import-fixed-result { left: 0; width: 220px; min-width: 220px; }.import-preview .import-fixed-action { left: 220px; width: 155px; min-width: 155px; box-shadow: 2px 0 4px #17324b18; }.import-preview th.import-fixed-result, .import-preview th.import-fixed-action { z-index: 3; }.import-status { display: inline-block; padding: 3px 6px; border-radius: 3px; font-size: 12px; white-space: nowrap; }.import-status.ok, .import-status.merged { background: #dff1eb; color: #125b50; }.import-status.duplicate { background: #e7eff3; color: #53616d; }.import-status.conflict { background: #fff0da; color: #915d00; }.import-status.error { background: #fde5df; color: #a33a22; }.compare { max-width: 310px; white-space: normal; overflow-wrap: anywhere; color: #53616d; padding-top: 6px; }.import-summary { font-weight: 600; color: #293846; margin-bottom: 10px; }
.calendar-tool { min-width: 0; }.week-calendar { border: 1px solid #d9e2e6; max-height: 510px; overflow: auto; }.week-row { display: grid; grid-template-columns: 70px repeat(7, minmax(70px, 1fr)); border-bottom: 1px solid #e2e8ec; min-width: 610px; }.week-row:last-child { border-bottom: 0; }.week-row b, .week-row span { padding: 8px 6px; font-size: 12px; }.week-row b { background: #eef3f5; }.week-row span { border-left: 1px solid #edf1f3; }.week-row small { display: block; color: #64707b; margin-top: 2px; }
.schedule-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr); gap: 14px; margin-bottom: 14px; }.weekday-field { display: grid; gap: 8px; font-weight: 600; }.weekday-group { display: flex; flex-wrap: wrap; gap: 8px 14px; }.weekday-group .check { font-size: 13px; }
.account-edit-password { min-width: 190px; margin-bottom: 8px; }.password-dialog { width: min(430px, calc(100% - 28px)); border: 0; background: transparent; padding: 0; }.password-dialog::backdrop { background: #17324b66; }.password-dialog .tool { margin: 0; }
#notice-message { white-space: pre-line; line-height: 1.65; }
.data-edit-dialog { width: min(900px, calc(100% - 28px)); max-height: min(88vh, 760px); border: 1px solid #b9c5cd; border-radius: 6px; padding: 0; background: #edf1f3; box-shadow: 0 18px 60px #17324b44; }.data-edit-dialog::backdrop { background: #17324b66; }.data-edit-shell { max-height: min(88vh, 760px); overflow: auto; padding: 18px; }.data-edit-shell .dialog-form { margin: 0; }.data-edit-shell .dialog-form > .secondary { display: inline-block; }.data-edit-shell .dialog-form h3 { display: none !important; }
@media (max-width: 1000px) { .three-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }.form-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }.setting-layout, .schedule-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .shell { padding: 18px 14px; }.metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }.topbar { align-items: flex-start; }.status-strip { align-items: flex-start; flex-direction: column; }.tabs { gap: 13px; }.setting-toolbar, .form-columns, .three-tools { grid-template-columns: 1fr; }.filter-row { align-items: stretch; flex-direction: column; }.filter-row input, .filter-row select { min-width: 0; }.settings-tab { padding: 10px 13px; } }
#review-dialog { width: min(560px, 92vw); }
#attachment-dialog { width: min(900px, 94vw); }
.attachment-body { display: flex; align-items: center; justify-content: center; min-height: 200px; max-height: 70vh; overflow: auto; padding: 10px; background: #eef3f5; border: 1px solid #d8e0e5; border-radius: 6px; }
.attachment-body img { display: block; max-width: 100%; max-height: 66vh; background: #fff; }
.attachment-body iframe { width: 100%; height: 66vh; border: 0; background: #fff; }
.attachment-body .muted { padding: 30px 10px; }
.conflict-confirm-details { max-height: 220px; overflow: auto; padding: 10px 12px; border: 1px solid #e0bd74; background: #fff7e8; border-radius: 4px; color: #67420a; white-space: pre-line; line-height: 1.65; }.conflict-confirm-details ul { margin: 0; padding-left: 20px; }.conflict-confirm-details li + li { margin-top: 6px; }
.review-conflicts { margin: 8px 0; }.review-conflicts h4 { margin: 0 0 6px; font-size: 15px; }
.segment-attachments-list { display: grid; gap: 9px; border-top: 1px solid #d8e5ee; padding-top: 12px; }.segment-attachments-list h4 { margin: 0; font-size: 14px; }.segment-attachment-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px; border: 1px solid #d8e5ee; border-radius: 4px; }.segment-attachment-item > span { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }.segment-attachment-item .button-row { justify-content: flex-end; flex-shrink: 0; }.segment-attachment-item button { padding: 6px 9px; }
.review-materials { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-materials .button-row { gap: 8px; }
/* 只有这两个容器「自己滚 + 自己带 .table-section 的 18px 内边距」。
   吸顶表头贴在内容区顶部，滚动时上面那条内边距带会漏出行的文字，
   看起来像表格错位。把表头再上移 18px 把这条带盖住。
   其余表格（#course-table 等）的滚动容器没有内边距，保持 top: 0。 */
#all-segments thead th { top: var(--batch-toolbar-height, 0px); }
.schedule-course-list thead th { top: -18px; }
.filter-row .archive-filter { width: auto; min-width: max-content; gap: 5px; margin-left: 0; white-space: nowrap; }
.filter-row .archive-filter input { min-width: 0; flex: 0 0 auto; }
.list-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.list-heading h3 { margin: 0; }
.batch-toolbar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0 0 12px; background: #fff; }
.batch-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
input[type="checkbox"] { width: 16px; min-width: 16px; height: 16px; min-height: 16px; padding: 0; flex: 0 0 auto; }
.select-column { width: 54px; min-width: 54px; }
#course-table th:first-child, #course-table td:first-child,
#room-table th:first-child, #room-table td:first-child,
#class-table th:first-child, #class-table td:first-child,
#account-table th:first-child, #account-table td:first-child { width: 54px; min-width: 54px; }

/* 教务系统风格页眉、导航与维护入口。 */
:root { color: #1f3548; background: #f3f7fb; }
body { background: #f3f7fb; }
button { background: #0875c1; border-radius: 4px; }
button:hover { background: #065f9d; }
.secondary, .icon-button { color: #245273; border-color: #bdd3e4; background: #fff; }
.secondary:hover, .icon-button:hover { background: #eef6fc; }
.eyebrow { color: #0875c1; }
.brand-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 24px 17px; margin: -30px -24px 0; color: #fff; background: #075aa6; border-bottom: 3px solid #0a82cf; }
.brand-identity { display: flex; align-items: center; gap: 20px; min-width: 0; }
.header-logo { display: block; width: min(430px, 45vw); height: auto; }
.brand-college { font-size: 21px; font-weight: 700; line-height: 1.15; }
.brand-academies { margin-top: 4px; font-size: 16px; font-weight: 600; }
.brand-academies span { opacity: .72; margin: 0 4px; }
.brand-system { padding-left: 20px; border-left: 1px solid #8ec5ea; font-size: 20px; font-weight: 600; white-space: nowrap; }
.user-menu { position: relative; flex: 0 0 auto; }
.header-button { background: transparent; border: 1px solid #8ec5ea; color: #fff; padding: 7px 11px; }
.header-button:hover { background: #ffffff1f; }
.user-menu > .header-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.user-dropdown { position: absolute; top: calc(100% + 7px); right: 0; z-index: 20; display: none; min-width: 156px; padding: 6px; background: #fff; border: 1px solid #b8d6eb; box-shadow: 0 10px 24px #17324b30; }
.user-menu.open .user-dropdown { display: grid; gap: 4px; }
.user-dropdown .header-button { width: 100%; color: #245273; text-align: left; background: #fff; border: 0; }
.user-dropdown .header-button:hover { color: #0875c1; background: #edf6fc; }
.status-strip { margin: 0 -24px; padding: 9px 24px; color: #245273; background: #e8f3fb; border: 0; border-bottom: 1px solid #c8dfef; }
.main-nav { display: flex; align-items: stretch; margin: 0 -24px 4px; padding: 0 24px; background: #fff; border-bottom: 1px solid #cfdfeb; }
.main-nav-item { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 19px; color: #31546d; background: transparent; border-radius: 0; font-weight: 600; }
.main-nav-item:hover, .main-nav-item.active, .nav-menu.active > .main-nav-item { color: #0875c1; background: #f0f7fc; }
.main-nav-item.active::after, .nav-menu.active > .main-nav-item::after { position: absolute; right: 14px; bottom: 0; left: 14px; height: 3px; content: ''; background: #0875c1; }
.nav-menu { position: relative; }
.nav-caret { width: 0; height: 0; border-top: 5px solid currentColor; border-right: 4px solid transparent; border-left: 4px solid transparent; }
.nav-dropdown { position: absolute; top: calc(100% - 1px); left: 0; z-index: 10; display: none; min-width: 160px; padding: 6px; background: #fff; border: 1px solid #c6dceb; box-shadow: 0 10px 24px #1a4f7620; }
.nav-menu.open .nav-dropdown { display: grid; }
.nav-option { width: 100%; padding: 9px 11px; color: #31546d; text-align: left; background: transparent; }
.nav-option:hover, .nav-option.active { color: #0875c1; background: #edf6fc; }
.legacy-tabs, .settings-tabs { display: none !important; }
.home-heading { padding-top: 8px; }
.auth-panel { margin-top: 8vh; border-color: #bfd6e6; box-shadow: 0 18px 48px #1a4f761c; }
.auth-logo { display: block; width: min(100%, 390px); height: auto; margin: 0 auto 24px; }
.maintenance-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.settings-view > .setting-layout { display: none; }
.data-edit-dialog { border-color: #a9c9df; background: #f3f7fb; box-shadow: 0 18px 60px #153f6240; }
.segment-dialog { width: min(1120px, calc(100% - 28px)); }
.segment-dialog .data-edit-shell { max-height: min(88vh, 820px); }
#segment-dialog-content { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr); gap: 14px; }
#segment-dialog-content .tool { margin: 0; }
#segments .schedule-layout { display: none; }
.schedule-course-list { border-color: #c9ddea; }
.metric, .tool, .table-section { border-color: #cadde9; }
.tag.approved { background: #def0fc; color: #075a9c; }
@media (max-width: 700px) { .shell { padding-top: 0; }.brand-header { margin: 0 -14px; padding: 16px 14px; align-items: flex-start; flex-wrap: wrap; }.header-logo { width: min(360px, 80vw); }.brand-system { padding-left: 12px; font-size: 16px; }.user-menu { margin-left: auto; }.main-nav { margin: 0 -14px 4px; padding: 0 8px; overflow-x: auto; }.main-nav-item { padding: 0 13px; }.status-strip { margin: 0 -14px; padding: 9px 14px; }.page-heading { align-items: flex-start; flex-direction: column; }.auth-logo { margin-bottom: 20px; } #segment-dialog-content { grid-template-columns: 1fr; } }

/* 所有业务列表采用统一分页栏。 */
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; color: #0875c1; font-size: 14px; }
.pagination-summary { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.pagination input, .pagination select { width: auto; min-height: 32px; padding: 4px 7px; }
.pagination input { width: 54px; text-align: center; }
.pagination-actions { display: flex; gap: 7px; }
.pagination-actions button { min-width: 58px; padding: 6px 10px; }

/* 课程教师单输入框实时搜索与点击选择。 */
.teacher-search-results { display: grid; gap: 4px; max-height: 230px; overflow: auto; padding: 5px; border: 1px solid #b9d2e4; border-radius: 4px; background: #fff; box-shadow: 0 6px 15px #17324b18; }
.teacher-search-results .muted { margin: 5px 7px; }
.teacher-search-option { display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; padding: 9px 10px; color: #243a4d; text-align: left; background: #fff; border: 0; }
.teacher-search-option:hover { color: #0875c1; background: #edf6fc; }
.teacher-search-option .teacher-search-employee { flex: 0 0 14ch; width: 14ch; color: #64707b; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.teacher-search-option .teacher-search-name { color: inherit; font-size: 14px; white-space: nowrap; }
.field-label-line { display: flex; align-items: baseline; gap: 4px; min-width: 0; }
.field-label-line .hint { color: #0875c1; font-weight: 500; white-space: nowrap; }
.prefixed-input { display: flex; align-items: center; width: 100%; min-height: 38px; border: 1px solid #bdc9d1; border-radius: 4px; background: #fff; color: #64707b; }
.prefixed-input:focus-within { border-color: #146c64; box-shadow: 0 0 0 2px #146c6422; }
.prefixed-input > span { padding-left: 9px; font-size: 18px; font-weight: 700; }
.prefixed-input input { min-height: 36px; border: 0; outline: 0; padding-left: 5px; }
#review-time-row { margin: 2px 0 4px; }

/* 弹窗只有一个内容滚动区，标题栏和操作栏保持可见。 */
.data-edit-dialog { height: auto; min-height: 0; max-height: min(88vh, 820px); overflow: hidden; }
.data-edit-dialog.dialog-compact { width: min(560px, calc(100% - 28px)); }
.data-edit-dialog.dialog-standard { width: min(700px, calc(100% - 28px)); }
.data-edit-dialog.dialog-wide { width: min(980px, calc(100% - 28px)); }
.data-edit-dialog.dialog-import { width: min(1320px, calc(100vw - 56px)); }
.data-edit-shell { display: block; height: auto; min-height: 0; max-height: min(88vh, 820px); padding: 0; overflow: auto; }
.data-edit-shell > .section-heading { position: sticky; top: 0; z-index: 3; margin: 0; padding: 16px 18px; background: #f3f7fb; border-bottom: 1px solid #c9ddea; }
#data-edit-content, #segment-dialog-content { min-height: 0; padding: 18px; overflow: visible; }
/* 课程导入表格较宽，只保留左侧内容留白；右侧不再出现滚动槽与空白带。 */
.dialog-import #data-edit-content { padding-right: 0; }
.dialog-import #course-import-form { border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.dialog-import .import-preview { width: 100%; min-width: 0; margin-right: 0; padding-right: 0; scrollbar-gutter: auto; }
.dialog-import .import-preview::-webkit-scrollbar { display: none; width: 0; height: 0; }
.segment-dialog { height: min(88vh, 820px); }
.segment-dialog .data-edit-shell { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; max-height: none; overflow: hidden; }
#segment-dialog-content { display: block; }
#segment-dialog-content { overflow: auto; }
#segment-dialog-content .tool + .tool { margin-top: 14px; }
#segment-dialog-content .vertical-options { max-height: none; overflow: visible; }
.data-edit-dialog .dialog-form > .button-row, #segment-actions { position: sticky; bottom: -18px; z-index: 2; margin: 14px -18px -18px; padding: 12px 18px; background: #fff; border-top: 1px solid #d8e5ee; }
#account-dialog .tool { max-height: min(88vh, 680px); overflow: auto; }
#account-dialog .section-heading { position: sticky; top: -18px; z-index: 3; margin: -18px -18px 0; padding: 16px 18px; background: #fff; border-bottom: 1px solid #d8e5ee; }
#account-dialog .button-row { position: sticky; bottom: -18px; z-index: 2; margin: 0 -18px; padding: 12px 18px; background: #fff; border-top: 1px solid #d8e5ee; }
@media (max-width: 700px) { .pagination { align-items: flex-start; flex-direction: column; }.pagination-actions { width: 100%; }.pagination-actions button { flex: 1; min-width: 0; }.data-edit-dialog { max-height: 92vh; }.segment-dialog { height: 92vh; }.data-edit-shell { max-height: 92vh; }.data-edit-shell > .section-heading { padding: 13px 14px; } #data-edit-content, #segment-dialog-content { padding: 14px; }.data-edit-dialog .dialog-form > .button-row, #segment-actions { bottom: -14px; margin: 14px -14px -14px; padding: 10px 14px; } }

/* 分页后业务列表不再使用内部滚动条，随页面自然展开。 */
#all-segments, #course-table, #semester-table, #room-table, #class-table, #account-table, .schedule-course-list { max-height: none; overflow: visible; }
#all-segments thead th, #course-table thead th, #semester-table thead th, #room-table thead th, #class-table thead th, #account-table thead th, .schedule-course-list thead th { position: static; }

/* 一级导航已显示“教学安排”，页面内不再重复显示该标签。 */
#segments > .section-heading .eyebrow { display: none; }

/* 页面保留滚动能力，但不显示浏览器或内部容器的滚动条。 */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* 页眉、学期状态与一级导航贴齐浏览器两侧；正文保留适量内边距。 */
.shell { width: 100%; max-width: none; margin: 0; padding: 0 32px 48px; }
.brand-header { margin: 0 -32px; padding: 19px 32px 17px; }
.status-strip { margin: 0 -32px; padding: 9px 32px; }
.main-nav { margin: 0 -32px 4px; padding: 0 32px; }
@media (max-width: 700px) { .shell { padding: 0 14px 32px; }.brand-header { margin: 0 -14px; padding: 16px 14px; }.status-strip { margin: 0 -14px; padding: 9px 14px; }.main-nav { margin: 0 -14px 4px; padding: 0 8px; } }

/* 一级页面统一导航下方留白；信息维护内部页不重复叠加。 */
.view { padding-top: 8px; }
#admin .settings-view { padding-top: 0; }
