/* vue-vben-admin light shell: white sider, 48px header, #f0f2f5 content, 8px cards. */
.ico { display: inline-block; flex: 0 0 auto; vertical-align: -0.125em; overflow: visible; }
.nav-item .ico, .circle .ico, .logout .ico, .search .ico { pointer-events: none; }
.metric-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #e6f4ff; color: #0960bd; }
.metric-icon.amber { background: #fff7e6; color: #fa8c16; }
.metric-icon.plum { background: #f9f0ff; color: #722ed1; }
.metric-icon.ink { background: #f5f5f5; color: rgba(0,0,0,.65); }
.metrics strong { color: rgba(0,0,0,.88); font-weight: 600; }
.text-button, .row-action, .question-foot button, .asset-card footer button, .work-body button, .paper-head button, .paper-card footer button { color: #0960bd; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px 0 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.status.live { background: #f6ffed; color: #389e0d; border-color: #b7eb8f; }
.status.review { background: #fff7e6; color: #d46b08; border-color: #ffd591; }
.status.draft { background: #fafafa; color: rgba(0, 0, 0, .45); border-color: #d9d9d9; }
.status.expired { background: #fff2f0; color: #cf1322; border-color: #ffa39e; }
.status.off { background: #fafafa; color: rgba(0, 0, 0, .45); border-color: #d9d9d9; }
table { width: 100%; border-collapse: collapse; }
.recent th, .entitlement-panel th, .co-table th, th { background: #fafafa; color: rgba(0,0,0,.88); font-weight: 600; }
.recent tr:hover td, .entitlement-panel tr:hover td, .co-table tr:hover td { background: #fafafa; }
.heading { align-items: flex-start; margin-bottom: 16px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.heading > div:first-child { min-width: 0; }
.heading .search { width: 220px; }
.eyebrow { letter-spacing: 0; text-transform: none; font-size: 12px; font-weight: 500; }
.search { transition: border-color .2s; }
.search:focus-within { border-color: #0960bd; box-shadow: 0 0 0 2px rgba(9,96,189,.12); }
.header-user { display: flex; align-items: center; gap: 8px; margin-left: 4px; padding-left: 8px; }
.header-user b, .header-user small { display: block; line-height: 1.2; }
.header-user b { font-size: 13px; font-weight: 500; }
.header-user small { color: rgba(0,0,0,.45); font-size: 12px; }
.badge { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ff4d4f; color: #fff; font-size: 10px; font-style: normal; line-height: 16px; }
.logout { display: grid; place-items: center; width: 28px; height: 28px; margin-left: auto; border: 0; border-radius: 6px; background: transparent; color: rgba(0,0,0,.65); }
.logout:hover { background: rgba(0,0,0,.04); color: #0960bd; }
.chart-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; margin: 16px 0; }
.chart-card .panel-head { align-items: center; }
.chart-card h2 { display: flex; align-items: center; gap: 8px; }
.chart-box { position: relative; height: 280px; padding: 4px 16px 16px; }
.chart-box canvas { display: block; }
.asset-card, .question, .work, .paper-card, .day-card, .filters, .series-card, .asset-tabs { border: 1px solid #f0f0f0; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.asset-card, .question, .work, .paper-card, .series-card { border-radius: 8px; }
.dialog { border: 0; border-radius: 8px; }
#dialog-root.dialog-open { pointer-events: auto; }
.dialog.series-dialog,
.dialog.service-preview,
.dialog.archive-view { width: min(1080px, calc(100vw - 64px)); }
.dialog.archive-view .segmented { display: flex; width: 100%; margin-bottom: 16px; border: 0; border-bottom: 1px solid #f0f0f0; border-radius: 0; background: transparent; }
.dialog.archive-view .segmented button { height: 40px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: rgba(0, 0, 0, .65); }
.dialog.archive-view .segmented button.active { border-bottom-color: #0960bd; background: transparent; color: #0960bd; }
.dialog-layer { position: absolute; inset: 0; z-index: 5; }
.dialog-layer .scrim { background: rgba(0, 0, 0, .45); }
.dialog.service-preview { display: flex; flex-direction: column; max-height: calc(100vh - 48px); overflow: hidden; }
.dialog.service-preview .dialog-body { overflow: auto; }
.dialog.series-dialog .series-table { border: 1px solid #f0f0f0; border-radius: 8px; box-shadow: none; }
.dialog.series-dialog .series-table th,
.dialog.series-dialog .series-table td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 13px; text-align: left; }
.dialog.series-dialog .series-table td b { font-size: 13px; }
.scrim { background: rgba(0,0,0,.45); }
#toast { border-radius: 8px; background: rgba(0,0,0,.75); }
#login-screen { background: #f0f2f5; }
.login-card { border-radius: 8px; background: #fff; color: rgba(0,0,0,.88); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.login-card .brand-mark { background: #0960bd; color: #fff; }
.login-card h1 { font-weight: 600; }
.login-card p, .login-hint { color: rgba(0,0,0,.45); }
.login-card label { color: rgba(0,0,0,.88); }
.login-card input { height: 36px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; color: rgba(0,0,0,.88); }
.captcha-line { display: flex; gap: 8px; align-items: center; }
.captcha-line input { flex: 1; width: 1%; min-width: 0; letter-spacing: .12em; }
.captcha-refresh { flex: 0 0 108px; display: block; width: 108px; height: 36px; margin: 0; padding: 0; overflow: hidden; border: 1px solid #d9d9d9; border-radius: 6px; background: #fafafa; line-height: 0; cursor: pointer; appearance: none; }
.captcha-refresh:hover { border-color: #0960bd; }
.captcha-refresh img { display: block; width: 100%; height: 100%; object-fit: fill; }
.login-card input:focus { border-color: #0960bd; outline: 0; box-shadow: 0 0 0 2px rgba(9,96,189,.12); }
.login-card .btn { height: 36px; border-radius: 6px; background: #0960bd; }
.login-card .btn:hover { background: #004a99; }
#login-error { color: #ff4d4f; }
.co-notice { background: #e6f4ff; color: rgba(0,0,0,.65); border: 1px solid #91caff; border-radius: 8px; }
.co-modal { border-radius: 8px; color: rgba(0,0,0,.88); background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.co-modal::backdrop { background: rgba(0,0,0,.45); }
.co-modal header, .co-modal footer { border-color: #f0f0f0; }
.co-fields input, .co-fields select, .co-fields textarea, .co-modal-body > label input, .co-tools input, .co-tools select { border-color: #d9d9d9; border-radius: 6px; color: rgba(0,0,0,.88); }
.co-fields input:focus, .co-fields select:focus, .co-fields textarea:focus { border-color: #0960bd; outline: 0; box-shadow: 0 0 0 2px rgba(9,96,189,.12); }
.co-hero { background: linear-gradient(135deg, #e6f4ff, #f0f5ff); }
.co-buy { background: #fff; border-top: 1px solid #f0f0f0; }
.co-buy b { color: #fa8c16; }
.co-buy .btn { background: #0960bd; border-radius: 6px; }
.co-table .btn { border-radius: 6px; }
#view-commerce .co-table th,
#view-commerce .co-table td,
.co-modal .co-table th,
.co-modal .co-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  text-align: left;
  vertical-align: middle;
}
#view-commerce .co-table th,
.co-modal .co-table th { color: rgba(0, 0, 0, .88); font-size: 13px; font-weight: 600; }
#view-commerce .co-table small,
.co-modal .co-table small { margin-top: 4px; color: rgba(0, 0, 0, .45); font-size: 12px; }
#view-commerce .co-table .btn,
.co-modal .co-table .btn { height: 28px; min-height: 28px; padding: 0 10px; border-color: #d9d9d9; border-radius: 6px; background: #fff; color: #0960bd; font-weight: 500; }
#view-commerce .co-table .btn:hover,
.co-modal .co-table .btn:hover { border-color: #0960bd; }
#view-commerce .co-table .btn.shelf-on { color: #389e0d; border-color: #b7eb8f; }
#view-commerce .co-table .btn.shelf-on:hover { border-color: #389e0d; }
#view-commerce .co-table .btn.shelf-off { color: #cf1322; border-color: #ffa39e; }
#view-commerce .co-table .btn.shelf-off:hover { border-color: #cf1322; }
.segmented .btn { min-height: 32px; border-radius: 0; box-shadow: none; }
.segmented .btn.ghost { border-color: transparent; border-right: 1px solid #f0f0f0; }
.segmented .btn.primary { border-color: transparent; }
@media (max-width: 1200px) { .chart-grid { grid-template-columns: 1fr; } }

/* Content workspace: same light admin surface as the shell. */
#view-content .asset-tabs,
#view-content .display-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#view-content .asset-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  margin-bottom: -1px;
  padding: 0 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(0, 0, 0, .65);
  font-weight: 500;
}
#view-content .asset-tabs button .ico { color: currentColor; }
#view-content .asset-tabs button:hover { color: #0960bd; }
#view-content .asset-tabs button.active {
  border-color: transparent;
  border-bottom-color: #0960bd;
  background: transparent;
  color: #0960bd;
}
#view-content .toolbar { margin: 0 0 16px; }
#view-content .toolbar .search { height: 32px; max-width: 280px; border-color: #d9d9d9; border-radius: 6px; background: #fff; }
#view-content .filter {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: rgba(0, 0, 0, .88);
  font-size: 13px;
  font-weight: 500;
}
#view-content .filter:hover,
#view-content .filter.active { border-color: #0960bd; background: #e6f4ff; color: #0960bd; }

/* Shared image upload used by dialogs and commerce forms. */
.image-picker {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 12px;
  border: 1px dashed #91caff;
  border-radius: 8px;
  background: #f7fbff;
  cursor: pointer;
  font-weight: 400;
}
.image-picker:hover,
.image-picker:focus-within { border-color: #0960bd; background: #f0f5ff; }
.image-picker.has-file { border-style: solid; background: #fff; }
.field .image-picker input[type="file"],
.co-fields .image-picker input[type="file"],
.image-picker input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.image-picker-preview {
  display: grid;
  flex: 0 0 64px;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #d6e4ff;
}
.image-picker-preview i {
  width: 16px;
  height: 16px;
  background:
    linear-gradient(#0960bd, #0960bd) center / 2px 14px no-repeat,
    linear-gradient(#0960bd, #0960bd) center / 14px 2px no-repeat;
}
.image-picker-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-picker-copy { display: grid; gap: 4px; min-width: 0; }
.image-picker-copy b { color: #0960bd; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-picker-copy small,
.image-picker-copy small:not(:empty) { margin: 0; color: rgba(0, 0, 0, .45); font-size: 12px; font-weight: 400; }
.co-fields label.image-picker { display: flex; flex-direction: row; gap: 12px; }
.upload-box {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  min-height: 96px;
  padding: 16px;
  border: 1px dashed #91caff;
  border-radius: 8px;
  background: #f7fbff;
  color: #0960bd;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.upload-box small { display: block; margin: 0; color: rgba(0, 0, 0, .45); font-size: 12px; font-weight: 400; }
.co-image-row { padding: 8px; border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; }
.co-image-row img { width: 56px; height: 56px; border-radius: 6px; }
.co-image-row button { height: 28px; padding: 0 10px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; color: #0960bd; font-size: 12px; }
.co-image-row button:hover { border-color: #0960bd; }
#view-content .series-card { cursor: pointer; }
#view-content .series-empty,
#view-content .series-empty-cell { padding: 28px 16px; color: rgba(0, 0, 0, .45); text-align: center; }
#view-content .series-empty { border: 1px dashed #d9d9d9; border-radius: 8px; background: #fff; }
#view-content .series-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #91caff;
  border-radius: 8px;
  background: #e6f4ff;
}
#view-content .series-note span { color: #0960bd; font-size: 12px; font-weight: 600; }
#view-content .series-note b { color: rgba(0, 0, 0, .88); font-size: 13px; font-weight: 500; }
#view-content .series-note small { flex: 1 1 auto; margin-left: auto; color: rgba(0, 0, 0, .45); font-size: 12px; text-align: right; }
#view-content .series-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: stretch; }
#view-content .series-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
#view-content .series-card:hover { border-color: #91caff; transform: none; }
#view-content .series-card-body { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; min-height: 0; padding: 16px; }
#view-content .series-card-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
#view-content .series-card .status { margin-top: 2px; }
#view-content .series-cover {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e6f4ff;
  color: #0960bd;
  font-size: 0;
}
#view-content .series-cover.video { background: #f9f0ff; color: #722ed1; }
#view-content .series-cover.audio { background: #e6fffb; color: #08979c; }
#view-content .series-cover.ppt { background: #fff7e6; color: #d46b08; }
#view-content .series-cover.dubbing { background: #fff0f6; color: #c41d7f; }
#view-content .series-card h3 { margin: 0 0 2px; font-size: 14px; font-weight: 600; }
#view-content .series-card p,
#view-content .series-card-body > small { margin: 0; color: rgba(0, 0, 0, .45); font-size: 12px; }
#view-content .series-card footer { margin: auto 0 0; padding-top: 12px; border-top: 1px solid #f0f0f0; }
#view-content .series-card footer button { font-size: 13px; font-weight: 500; }
#view-content .series-header .btn { height: 32px; }
#view-content .series-breadcrumb { color: #0960bd; font-weight: 500; }
#view-content .series-table th,
#view-content .series-table td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 13px; text-align: left; }
#view-content .island-nav > button:hover,
#view-content .island-nav > button.active { background: #e6f4ff; color: #0960bd; }
#view-content .island-nav > button > span,
#view-content .island-nav > button.active b { color: #0960bd; }
#view-content .island-cover {
  align-items: center;
  min-height: 0;
  padding: 16px 18px;
  background: #f0f5ff;
}
#view-content .island-cover span { color: #0960bd; font-size: 12px; font-weight: 600; }
#view-content .island-cover h2 { margin: 4px 0; color: rgba(0, 0, 0, .88); font-size: 16px; font-weight: 600; }
#view-content .island-cover p { color: rgba(0, 0, 0, .45); font-size: 12px; }
#view-content .series-mini-cover { width: 36px; height: 36px; border-radius: 8px; background: #e6f4ff; color: #0960bd; }
#view-content .island-series-items article > button { color: #0960bd; font-size: 13px; font-weight: 500; }
#view-content .stage-item:hover,
#view-content .stage-item.active { background: #e6f4ff; }
#view-content .stage-item.active b { color: #0960bd; }
#view-content .stage-index { border-radius: 6px; background: #f5f5f5; color: rgba(0, 0, 0, .65); }
#view-content .stage-item.active .stage-index { background: #0960bd; color: #fff; }
#view-content .stage-chip { border-radius: 4px; background: #e6f4ff; color: #0960bd; font-weight: 500; }
#view-content .week-row button { height: 32px; border-color: #d9d9d9; border-radius: 6px; color: rgba(0, 0, 0, .65); }
#view-content .week-row button.active { border-color: #0960bd; background: #e6f4ff; color: #0960bd; }
#view-content .day-card,
#view-content .new-day { border-radius: 8px; }
#view-content .day-card { border-color: #f0f0f0; }
#view-content .new-day { border-color: #91caff; background: #f0f5ff; color: #0960bd; }
#view-content section.assessment { border: 1px solid #91caff; border-radius: 8px; background: #f0f5ff; }
#view-content .paper-card { border-radius: 8px; border-top: 0; }
#view-content .paper-card.practice { border-top: 2px solid #0960bd; background: #fff; }

/* Practice workspace */
#view-practice .practice-segmented { display: flex; width: 100%; gap: 0; margin: 0 0 16px; padding: 0; border: 0; border-bottom: 1px solid #f0f0f0; border-radius: 0; background: transparent; overflow: visible; }
#view-practice .practice-segmented button { display: inline-flex; align-items: center; gap: 6px; height: 40px; margin-bottom: -1px; padding: 0 16px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: rgba(0, 0, 0, .65); font-weight: 500; box-shadow: none; }
#view-practice .practice-segmented button .ico { color: currentColor; }
#view-practice .practice-segmented button:hover { color: #0960bd; }
#view-practice .practice-segmented button.active { border-bottom-color: #0960bd; background: transparent; color: #0960bd; box-shadow: none; }
#view-practice .practice-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }

/* Question bank: keep the filter and type tabs in place; scroll only the list. */
html:has(#view-practice.active .practice-layout),
html:has(#view-practice.active .practice-layout) body { height: 100%; overflow: hidden; }
.workspace:has(#view-practice.active .practice-layout) { height: 100vh; overflow: hidden; }
.workspace:has(#view-practice.active .practice-layout) main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
#view-practice.active:has(.practice-layout) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
#view-practice.active:has(.practice-layout) .heading { flex: none; }
#view-practice.active:has(.practice-layout) .practice-layout {
  flex: 1 1 auto;
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
}
#view-practice .filters { align-self: start; max-height: 100%; overflow: hidden; }
#view-practice .questions {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
#view-practice .chips,
#view-practice .question-toolbar { flex: none; }
#view-practice #question-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-bottom: 4px;
}
#view-practice .question-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#view-practice .question-toolbar .search { width: 280px; height: 32px; border-color: #d9d9d9; border-radius: 6px; }
#view-practice .tags button.active { border-color: #0960bd; background: #e6f4ff; color: #0960bd; }
#view-practice .practice-empty { padding: 28px 16px; border: 1px dashed #d9d9d9; border-radius: 8px; color: rgba(0, 0, 0, .45); text-align: center; font-size: 13px; }
#view-practice .placement-filters { display: flex; align-items: center; gap: 8px; }
#view-practice .placement-filters select { height: 32px; border: 1px solid #d9d9d9; border-radius: 6px; padding: 0 8px; background: #fff; font-size: 13px; }
#view-practice .placement-filters span { color: rgba(0, 0, 0, .45); font-size: 13px; white-space: nowrap; }
#view-practice .filters { gap: 14px; padding: 16px; border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
#view-practice .filters > b { font-size: 14px; font-weight: 600; }
#view-practice .filters label { color: rgba(0, 0, 0, .88); font-size: 13px; }
#view-practice .filters select { height: 32px; margin-top: 6px; border: 1px solid #d9d9d9; border-radius: 6px; padding: 0 8px; }
#view-practice .filters select:focus { border-color: #0960bd; outline: 0; box-shadow: 0 0 0 2px rgba(9, 96, 189, .12); }
#view-practice .tags { gap: 8px; }
#view-practice .tags span { color: rgba(0, 0, 0, .45); font-size: 12px; }
#view-practice .tags button { height: 24px; padding: 0 8px; border: 1px solid #d9d9d9; border-radius: 4px; background: #fafafa; color: rgba(0, 0, 0, .65); font-size: 12px; }
#view-practice .tags button:hover { border-color: #0960bd; color: #0960bd; }
#view-practice .chips { gap: 0; padding: 0; border-bottom: 1px solid #f0f0f0; }
#view-practice .chips button { height: 36px; margin-bottom: -1px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: rgba(0, 0, 0, .65); font-size: 13px; font-weight: 500; }
#view-practice .chips button:hover,
#view-practice .chips button.active { background: transparent; color: #0960bd; font-weight: 500; }
#view-practice .chips button.active { border-bottom-color: #0960bd; }
#view-practice .question-toolbar { margin: 12px 0; }
#view-practice .question-toolbar span { font-size: 13px; }
#view-practice .question-list { gap: 12px; }
#view-practice .question { padding: 16px; border: 1px solid #f0f0f0; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
#view-practice .question-type { padding: 0 8px; border-radius: 4px; background: #e6f4ff; color: #0960bd; font-size: 12px; font-weight: 500; line-height: 22px; }
#view-practice .question time { font-size: 12px; }
#view-practice .question h3 { margin: 10px 0 4px; font-size: 14px; font-weight: 600; }
#view-practice .question-foot { align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; font-size: 12px; }
#view-practice .question-foot button { color: #0960bd; font-size: 13px; font-weight: 500; }
#view-practice .paper-intro,
#view-practice .assessment-rule-card,
#view-practice .certificate-separation { align-items: center; margin-bottom: 16px; padding: 10px 12px; border: 1px solid #91caff; border-radius: 8px; background: #e6f4ff; }
#view-practice .paper-intro { display: flex; flex-wrap: wrap; gap: 4px 12px; border-left: 1px solid #91caff; }
#view-practice .paper-intro span,
#view-practice .assessment-rule-card span,
#view-practice .certificate-separation span { color: #0960bd; font-size: 12px; font-weight: 600; }
#view-practice .assessment-rule-card b,
#view-practice .certificate-separation b { margin-top: 2px; color: rgba(0, 0, 0, .88); font-size: 13px; font-weight: 500; }
#view-practice .paper-intro small,
#view-practice .assessment-rule-card small,
#view-practice .certificate-separation small { margin-top: 2px; color: rgba(0, 0, 0, .45); font-size: 12px; }
#view-practice .certificate-separation { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
#view-practice .certificate-separation span { grid-column: 1; grid-row: 1 / span 2; }
#view-practice .certificate-separation b,
#view-practice .certificate-separation small { grid-column: 2; }
#view-practice .paper-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
#view-practice .paper-card { display: flex; flex-direction: column; height: 100%; min-width: 0; min-height: 0; margin: 0; padding: 16px; border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
#view-practice .paper-card.practice { border-top: 2px solid #0960bd; background: #fff; }
#view-practice .paper-card.assessment { margin: 0; border-top: 2px solid #fa8c16; background: #fff; }
#view-practice .paper-card .status { white-space: nowrap; }
#view-practice .paper-head button,
#view-practice .paper-card footer button { color: #0960bd; font-size: 13px; font-weight: 500; }
#view-practice .paper-card h3 { margin: 12px 0 6px; font-size: 14px; font-weight: 600; }
#view-practice .paper-card p,
#view-practice .paper-card footer span { color: rgba(0, 0, 0, .45); font-size: 12px; }
#view-practice .paper-card > p { flex: 1 1 auto; }
#view-practice .paper-card footer { align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid #f0f0f0; }
#view-practice .paper-card footer span { min-width: 0; }
#view-practice .paper-card footer button { flex: none; white-space: nowrap; }
#view-practice .table-tools .search { width: 280px; height: 32px; border-color: #d9d9d9; border-radius: 6px; }
#view-practice .service-table th,
#view-practice .service-table td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 13px; text-align: left; }
#view-practice .table-sub { font-size: 12px; }

/* Rights workspace */
#view-rights .co-tools { gap: 12px; margin: 0 0 16px; padding: 8px 12px; border: 1px solid #91caff; border-radius: 8px; background: #e6f4ff; }
#view-rights .co-tools .btn { height: 28px; min-height: 28px; border-radius: 6px; background: #fff; }
#view-rights .co-tools > span { color: rgba(0, 0, 0, .65); font-size: 13px; }
#view-rights .co-table,
#view-rights .entitlement-panel,
#view-rights .service-state-card,
#view-rights .detail-panel { border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
#view-rights .co-table th,
#view-rights .co-table td,
#view-rights .service-table th,
#view-rights .service-table td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 13px; text-align: left; }
#view-rights .co-table small,
#view-rights .table-sub { margin-top: 4px; color: rgba(0, 0, 0, .45); font-size: 12px; }
#view-rights .co-table .btn { height: 28px; min-height: 28px; padding: 0 10px; border-color: #d9d9d9; border-radius: 6px; background: #fff; color: #0960bd; font-weight: 500; }
#view-rights .co-table .btn:hover { border-color: #0960bd; }
#view-rights .service-list-summary { gap: 8px; margin-bottom: 16px; }
#view-rights .service-list-summary span { min-height: 32px; padding: 4px 12px; border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; color: rgba(0, 0, 0, .45); font-size: 13px; }
#view-rights .service-list-summary b { color: #0960bd; font-size: 16px; font-weight: 600; }
#view-rights .table-tools .search { width: 280px; height: 32px; border-color: #d9d9d9; border-radius: 6px; }
#view-rights .table-tools .list-filters { display: flex; align-items: center; gap: 8px; flex: none; }
#view-rights .filter-field { display: inline-flex; align-items: center; height: 32px; padding-left: 10px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; }
#view-rights .filter-field > span { color: rgba(0, 0, 0, .45); font-size: 13px; white-space: nowrap; }
#view-rights .filter-field select,
#view-rights .filter-field select:hover,
#view-rights .filter-field select:focus,
#view-rights .filter-field select:focus-visible { height: 30px; min-width: 96px; border-color: transparent; border-radius: 6px; background-color: transparent; box-shadow: none; color: rgba(0, 0, 0, .88); font-weight: 500; }
#view-rights .filter-field:hover { border-color: #4096ff; }
#view-rights .filter-field:focus-within { border-color: #0960bd; box-shadow: 0 0 0 2px rgba(9, 96, 189, .12); }
#view-rights .table-tools .btn.ghost { height: 32px; border-color: #d9d9d9; border-radius: 6px; background: #fff; font-weight: 500; }
#view-rights .child { background: #e6f4ff; color: #0960bd; }
#view-rights .guard-note { margin: 0 16px 16px; border-radius: 8px; background: #f0f5ff; }
#view-rights .guard-note b { color: #0960bd; font-size: 12px; font-weight: 600; }
#view-rights .guard-note span { border-radius: 4px; background: #fff; color: rgba(0, 0, 0, .65); font-size: 12px; }
#view-rights .boundary-callout { margin: 0 16px 16px; border-radius: 8px; background: #e6f4ff; color: rgba(0, 0, 0, .65); }
#view-rights .boundary-callout b { color: #0960bd; font-size: 12px; }
#view-rights .boundary-callout span,
#view-rights .boundary-callout b { font-size: 12px; }
#view-rights .detail-tabs { gap: 0; margin-bottom: 16px; padding: 0; border: 0; border-bottom: 1px solid #f0f0f0; border-radius: 0; background: transparent; }
#view-rights .detail-tabs button { height: 36px; min-height: 36px; margin-bottom: -1px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: rgba(0, 0, 0, .65); font-size: 13px; font-weight: 500; box-shadow: none; }
#view-rights .detail-tabs button.active { border-bottom-color: #0960bd; background: transparent; color: #0960bd; }
#view-rights .next-action-card { border: 1px solid #91caff; border-radius: 8px; background: #f0f5ff; }
#view-rights .student-identity-bar,
#view-rights .app-state-badge { border-color: #f0f0f0; border-radius: 8px; background: #fff; color: rgba(0, 0, 0, .65); }
#view-rights .app-state-badge { border: 1px solid #91caff; background: #e6f4ff; font-size: 12px; font-weight: 500; }
#view-rights .app-state-badge i { background: #0960bd; }
#view-rights .service-state-card { display: block; border-radius: 8px; }
#view-rights .service-state-card > div span { border-radius: 6px; background: #e6f4ff; color: #0960bd; }
#view-rights .back-link { color: #0960bd; font-size: 13px; font-weight: 500; }

/* Keep dialog chrome fixed; only the middle pane scrolls. */
.dialog {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dialog-head,
.dialog-foot {
  flex: 0 0 auto;
  background: #fff;
}
.dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.dialog.drawer { overflow: hidden; }
.co-modal[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  top: 50%;
  bottom: auto;
  height: fit-content;
  max-height: min(90vh, calc(100vh - 48px));
  margin-top: 0;
  margin-bottom: 0;
  transform: translateY(-50%);
}
.co-modal form { display: contents; }
.co-modal header,
.co-modal footer {
  flex: 0 0 auto;
  position: static;
  background: #fff;
}
.co-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

/* Same-row cards share width and height. */
.paper-grid,
.asset-grid,
.archive-grid,
.days,
.metrics,
.service-state-grid {
  align-items: stretch;
}
.paper-grid,
.asset-grid,
.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.service-state-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1320px) {
  .service-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.paper-card,
.asset-card,
.work,
.day-card,
.new-day,
.metrics article,
.service-state-card {
  min-width: 0;
  height: 100%;
}
.paper-card {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.paper-card > p { flex: 1 1 auto; }
.paper-card footer { margin-top: auto; }
.paper-card footer span { min-width: 0; }
.paper-card footer button { flex: none; white-space: nowrap; }
.work { display: flex; flex-direction: column; }
.work-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.work-body footer { margin-top: auto; }
.service-state-card { display: flex; flex-direction: column; }
.service-state-card > p { flex: 1 1 auto; }

/* One dropdown treatment for filters, dialogs, and commerce forms. */
select,
.field select,
.filters select,
.dialog select,
.co-fields select,
.co-tools select,
.co-modal select,
#view-practice .filters select,
#view-practice .placement-filters select {
  -webkit-appearance: none;
  appearance: none;
  height: 32px;
  padding: 0 28px 0 11px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238c8c8c%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 12px;
  color: rgba(0, 0, 0, .88);
  font-size: 13px;
  line-height: 30px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select,
.filters select,
.dialog select,
.co-fields select,
.co-modal select { width: 100%; }
.field select,
.dialog select {
  height: auto;
  min-height: 40px;
  padding: 9px 30px 9px 10px;
  border-radius: 8px;
  line-height: 1.5;
}
.co-fields select,
.co-modal select {
  height: 36px;
  min-height: 36px;
  padding: 0 30px 0 11px;
  line-height: 34px;
}
.co-tools select {
  height: auto;
  padding: 10px 30px 10px 14px;
  line-height: 1.5;
}
select:hover { border-color: #4096ff; }
select:focus,
select:focus-visible {
  border-color: #0960bd;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(9, 96, 189, .12);
}
select:disabled {
  border-color: #d9d9d9;
  background-color: #f5f5f5;
  color: rgba(0, 0, 0, .25);
  cursor: not-allowed;
}
select.select-open {
  border-color: #0960bd;
  box-shadow: 0 0 0 2px rgba(9, 96, 189, .12);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230960bd%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m18%2015-6-6-6%206%22%2F%3E%3C%2Fsvg%3E");
}
.select-menu {
  position: fixed;
  inset: auto;
  z-index: 80;
  width: max-content;
  height: fit-content;
  max-height: 256px;
  margin: 0;
  padding: 4px;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: rgba(0, 0, 0, .88);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05);
}
.select-menu:not(.open) { display: none; }
.select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 5px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  cursor: pointer;
}
.select-option:hover:not(:disabled):not(.selected) { background: rgba(0, 0, 0, .04); }
.select-option.selected { background: #e6f4ff; font-weight: 600; }
.select-option i {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-left: auto;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22rgba(0%2C0%2C0%2C.25)%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22%2F%3E%3C%2Fsvg%3E") center / 12px 12px no-repeat;
}
.select-option:disabled { color: rgba(0, 0, 0, .25); cursor: not-allowed; }
.co-modal.picker-open,
.dialog.picker-open { overflow: visible; }
input[type="date"],
input[type="datetime-local"],
input[type="month"],
.field input[type="date"],
.field input[type="datetime-local"],
.field input[type="month"],
.co-fields input[type="date"],
.co-fields input[type="datetime-local"],
.co-fields input[type="month"] {
  padding-right: 32px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238c8c8c%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%202v4%22%2F%3E%3Cpath%20d%3D%22M16%202v4%22%2F%3E%3Crect%20width%3D%2218%22%20height%3D%2218%22%20x%3D%223%22%20y%3D%224%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2010h18%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px 14px;
  cursor: pointer;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
  display: none;
  opacity: 0;
  pointer-events: none;
}
.date-picker,
.date-picker:popover-open {
  position: fixed;
  inset: auto;
  width: 280px;
  height: fit-content;
  margin: 0;
  padding: 12px;
  overflow: visible;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fff;
  color: rgba(0, 0, 0, .88);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.date-picker:not(.open) { display: none; }
dialog.picker-open { overflow: visible; }
.date-picker-head { display: flex; align-items: center; gap: 2px; margin-bottom: 8px; }
.date-picker-head b { flex: 1; text-align: center; font-size: 14px; font-weight: 600; }
.date-picker-head button,
.date-picker-grid button,
.date-picker-months button,
.date-picker-foot button {
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, .88);
  cursor: pointer;
}
.date-picker-head button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: rgba(0, 0, 0, .65);
  font-size: 16px;
}
.date-picker-head button:hover,
.date-picker-grid button:hover:not(:disabled):not(.selected),
.date-picker-months button:hover:not(:disabled):not(.selected) { background: #e6f4ff; color: #0960bd; }
.date-picker-week,
.date-picker-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.date-picker-week span { color: rgba(0, 0, 0, .45); font-size: 12px; line-height: 28px; text-align: center; }
.date-picker-grid button { height: 32px; border-radius: 6px; font-size: 13px; }
.date-picker-grid button.out,
.date-picker-grid button:disabled,
.date-picker-months button:disabled { color: rgba(0, 0, 0, .25); }
.date-picker-grid button:disabled,
.date-picker-months button:disabled { cursor: not-allowed; }
.date-picker-grid button.today,
.date-picker-months button.today { color: #0960bd; font-weight: 600; }
.date-picker-grid button.selected,
.date-picker-months button.selected { background: #0960bd; color: #fff; font-weight: 600; }
.date-picker-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.date-picker-months button { height: 36px; border-radius: 6px; font-size: 13px; }
.date-picker-time { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: rgba(0, 0, 0, .65); font-size: 13px; }
.date-picker-time select {
  width: 72px;
  height: 32px;
  padding: 0 24px 0 8px;
  line-height: 30px;
}
.date-picker-foot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0f0f0; }
.date-picker-foot button { color: #0960bd; font-size: 13px; font-weight: 500; }
.service-state-card .state-card-control { margin-top: auto; }

.sidebar { padding-bottom: 0; }
.nav { flex: 1 1 auto; min-height: 0; }
.sider-footer { position: relative; display: flex; align-items: center; justify-content: space-between; flex: none; height: 48px; margin: auto -8px 0; padding: 0 8px; border-top: 1px solid #f0f0f0; }
.sider-footer > button,
.sider-footer .header-slot > button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: rgba(0, 0, 0, .65); }
.sider-footer > button:hover,
.sider-footer .header-slot > button:hover { background: rgba(0, 0, 0, .04); color: #0960bd; }
.app-shell { transition: grid-template-columns .2s ease; }
.sidebar { min-width: 0; overflow: visible; }
.app-shell.sider-collapsed { grid-template-columns: 64px minmax(0, 1fr); }
.app-shell.sider-collapsed .sidebar { width: 64px; }
.app-shell.sider-collapsed .brand > div,
.app-shell.sider-collapsed .nav p,
.app-shell.sider-collapsed #sider-search { display: none; }
.app-shell.sider-collapsed .brand,
.app-shell.sider-collapsed .nav-item,
.app-shell.sider-collapsed .sider-footer { justify-content: center; }
.app-shell.sider-collapsed .brand { padding: 0; }
.app-shell.sider-collapsed .nav-item { gap: 0; padding: 0; font-size: 0; }
.app-shell.sider-collapsed .nav-item .ico { width: 16px; height: 16px; }
.nav-caret { display: inline-flex; align-items: center; margin-left: auto; color: rgba(0, 0, 0, .45); transition: transform .2s ease; }
.nav-group.open > .nav-item { color: #0960bd; }
.nav-group.open > .nav-item .nav-caret { color: #0960bd; transform: rotate(180deg); }
.nav-group.open > .nav-item.active { background: transparent; }
.nav-sub { display: none; margin: 0 0 6px; padding-left: 28px; }
.nav-group.open .nav-sub { display: grid; gap: 2px; }
.nav-sub button { display: flex; align-items: center; width: 100%; height: 32px; margin: 0; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: rgba(0, 0, 0, .65); font-size: 13px; font-weight: 500; text-align: left; }
.nav-sub button:hover { background: rgba(0, 0, 0, .04); color: rgba(0, 0, 0, .88); }
.nav-sub button.active { background: #e6f4ff; color: #0960bd; }
.app-shell.sider-collapsed .nav-group .nav-sub,
.app-shell.sider-collapsed .nav-caret { display: none; }
.app-shell.sider-collapsed .nav-group.open > .nav-item.active { background: #e6f4ff; color: #0960bd; }
.header-slot { position: relative; }
.header-pop,
.user-menu,
.menu-search { position: absolute; z-index: 12; border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.header-pop { top: 40px; right: 0; width: 280px; padding: 12px; }
.header-pop .search { width: 100%; }
.user-menu { top: 40px; right: 0; width: 240px; padding: 8px; }
.user-menu-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; margin-bottom: 4px; border-bottom: 1px solid #f0f0f0; }
.user-menu-head b,
.user-menu-head small,
.user-menu-head em { display: block; line-height: 1.3; }
.user-menu-head b { font-size: 14px; font-weight: 600; }
.user-menu-head em { display: inline-block; margin-top: 2px; padding: 0 6px; border-radius: 4px; background: #fff0f6; color: #c41d7f; font-size: 12px; font-style: normal; }
.user-menu-head small { margin-top: 2px; color: rgba(0, 0, 0, .45); font-size: 12px; }
.user-menu button { display: flex; align-items: center; gap: 8px; width: 100%; height: 36px; margin: 0; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: rgba(0, 0, 0, .88); font-size: 13px; text-align: left; }
.user-menu button:hover { background: #f5f5f5; }
.user-menu #logout { margin-top: 4px; border-top: 1px solid #f0f0f0; border-radius: 0 0 6px 6px; color: rgba(0, 0, 0, .88); }
.user-trigger { width: 32px; padding: 0; }
.menu-search { right: 0; bottom: 44px; width: 220px; padding: 8px; }
.menu-search .search { width: 100%; margin-bottom: 8px; }
.menu-search button { display: flex; align-items: center; gap: 8px; width: 100%; height: 34px; border: 0; border-radius: 6px; background: transparent; color: rgba(0, 0, 0, .88); font-size: 13px; text-align: left; }
.menu-search button:hover,
.menu-search button.active { background: #e6f4ff; color: #0960bd; }
.menu-search p { margin: 8px 4px; color: rgba(0, 0, 0, .45); font-size: 12px; }

input[type="date"],
input[type="datetime-local"],
input[type="month"],
.field input[type="date"],
.field input[type="datetime-local"],
.field input[type="month"],
.co-fields input[type="date"],
.co-fields input[type="datetime-local"],
.co-fields input[type="month"] {
  padding-right: 32px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238c8c8c%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%202v4%22%2F%3E%3Cpath%20d%3D%22M16%202v4%22%2F%3E%3Crect%20width%3D%2218%22%20height%3D%2218%22%20x%3D%223%22%20y%3D%224%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2010h18%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px 14px;
  cursor: pointer;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}
.date-picker,
.date-picker:popover-open {
  position: fixed;
  inset: auto;
  width: 280px;
  height: fit-content;
  margin: 0;
  padding: 12px;
  overflow: visible;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fff;
  color: rgba(0, 0, 0, .88);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.date-picker:not(.open) { display: none; }
dialog.picker-open { overflow: visible; }
.date-picker-head,
.date-picker-foot,
.date-picker-time { display: flex; align-items: center; }
.date-picker-head { justify-content: space-between; margin-bottom: 8px; }
.date-picker-head b { font-size: 14px; font-weight: 600; }
.date-picker-head button,
.date-picker-grid button,
.date-picker-months button,
.date-picker-foot button {
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, .88);
  cursor: pointer;
}
.date-picker-head button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: rgba(0, 0, 0, .65);
  font-size: 16px;
}
.date-picker-head button:hover,
.date-picker-grid button:hover:not(:disabled):not(.selected),
.date-picker-months button:hover:not(:disabled):not(.selected) { background: #e6f4ff; color: #0960bd; }
.date-picker-week,
.date-picker-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.date-picker-week span { color: rgba(0, 0, 0, .45); font-size: 12px; line-height: 28px; text-align: center; }
.date-picker-grid button { height: 32px; border-radius: 6px; font-size: 13px; }
.date-picker-grid button.out,
.date-picker-grid button:disabled,
.date-picker-months button:disabled { color: rgba(0, 0, 0, .25); }
.date-picker-grid button:disabled,
.date-picker-months button:disabled { cursor: not-allowed; }
.date-picker-grid button.today,
.date-picker-months button.today { color: #0960bd; font-weight: 600; }
.date-picker-grid button.selected,
.date-picker-months button.selected,
.date-picker-grid button.selected.today,
.date-picker-months button.selected.today { background: #0960bd; color: #fff; font-weight: 600; }
.date-picker-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.date-picker-months button { height: 40px; border-radius: 6px; font-size: 13px; }
.date-picker-time { gap: 8px; margin-top: 8px; color: rgba(0, 0, 0, .65); font-size: 13px; }
.date-picker-time select {
  width: 72px;
  height: 32px;
  padding: 0 24px 0 8px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background-color: #fff;
  font-size: 13px;
}
.date-picker-foot { justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0f0f0; }
.date-picker-foot button { color: #0960bd; font-size: 13px; }
.date-picker-foot button:hover { color: #004a99; }

/* Form controls share one height, border, and focus ring. */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.date-field { position: relative; display: block; width: 100%; }
.date-face {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  display: flex;
  align-items: center;
  color: rgba(0, 0, 0, .25);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}
.date-field:not(.is-empty) .date-face { display: none; }
.date-field.is-empty input,
.date-field.is-empty input::-webkit-datetime-edit,
.date-field.is-empty input::-webkit-datetime-edit-fields-wrapper,
.date-field.is-empty input::-webkit-datetime-edit-text,
.date-field.is-empty input::-webkit-datetime-edit-year-field,
.date-field.is-empty input::-webkit-datetime-edit-month-field,
.date-field.is-empty input::-webkit-datetime-edit-day-field,
.date-field.is-empty input::-webkit-datetime-edit-hour-field,
.date-field.is-empty input::-webkit-datetime-edit-minute-field {
  color: transparent;
}
input.date-open,
.field input:focus,
.field textarea:focus,
.co-fields input:focus,
.co-fields textarea:focus {
  border-color: #0960bd;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(9, 96, 189, .12);
}
.co-modal {
  width: min(880px, calc(100vw - 48px));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05);
}
.co-modal.co-large { width: min(960px, calc(100vw - 48px)); }
.co-modal header,
.co-modal footer { padding: 16px 24px; border-color: #f0f0f0; }
.co-modal header small { letter-spacing: 0; color: rgba(0, 0, 0, .45); font-size: 12px; font-weight: 400; }
.co-modal header h2 { margin: 2px 0 0; font-size: 16px; font-weight: 600; }
.co-modal header .btn {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(0, 0, 0, .45);
  font-size: 16px;
}
.co-modal header .btn:hover { background: rgba(0, 0, 0, .04); color: rgba(0, 0, 0, .88); }
.co-modal footer { gap: 8px; }
.co-modal footer .btn { min-width: 72px; height: 32px; border-radius: 6px; }
.co-modal footer .btn.ghost,
.co-modal footer .btn.secondary { border: 1px solid #d9d9d9; background: #fff; color: rgba(0, 0, 0, .88); }
.co-modal footer .btn.ghost:hover,
.co-modal footer .btn.secondary:hover { border-color: #0960bd; color: #0960bd; }
.co-modal footer .btn.primary { border-color: #0960bd; background: #0960bd; }
.co-modal-body { padding: 16px 24px 8px; }
.co-modal fieldset {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fafafa;
}
.co-modal legend { padding: 0; color: rgba(0, 0, 0, .88); font-size: 14px; font-weight: 600; line-height: 22px; }
.co-fields { gap: 16px; }
.co-fields label,
.co-modal-body > label { gap: 6px; color: rgba(0, 0, 0, .88); font-size: 14px; font-weight: 400; }
.co-fields input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.co-fields textarea,
.co-modal-body > label input:not([type="file"]) {
  height: 36px;
  padding: 4px 11px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background-color: #fff;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.co-fields input[type="date"],
.co-fields input[type="datetime-local"],
.co-fields input[type="month"],
.field input[type="date"],
.field input[type="datetime-local"],
.field input[type="month"] { padding-right: 32px; }
.co-fields textarea { height: auto; min-height: 76px; padding: 8px 11px; line-height: 1.6; resize: vertical; }
.co-fields input:hover,
.co-fields textarea:hover,
.co-modal-body > label input:hover { border-color: #4096ff; }
.co-fields input::placeholder,
.co-fields textarea::placeholder { color: rgba(0, 0, 0, .25); }
.co-help { margin: 0 0 8px; color: rgba(0, 0, 0, .45); font-size: 12px; line-height: 1.7; }
.dialog { border-radius: 8px; box-shadow: 0 6px 16px rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05); }
.dialog-head,
.dialog-foot { padding: 16px 24px; }
.dialog-head h2 { font-size: 16px; font-weight: 600; }
.dialog-body { padding: 20px 24px; }
.dialog .close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
}
.dialog .close:hover { background: rgba(0, 0, 0, .04); color: rgba(0, 0, 0, .88); }
.field label { color: rgba(0, 0, 0, .88); font-size: 14px; font-weight: 400; }
.field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.field textarea {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]) { min-height: 36px; }
.field textarea { min-height: 76px; line-height: 1.6; }
.field input:hover,
.field textarea:hover { border-color: #4096ff; }
.field select { min-height: 36px; border-radius: 6px; }

/* Operations workbench: Ant Design page, statistic and card. */
.workspace:has(#view-dashboard.active) main {
  padding: 24px;
  background: #f0f2f5;
}
#view-dashboard { color: rgba(0, 0, 0, .88); }
.wb { display: flex; flex-direction: column; gap: 16px; }
.wb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wb-head h1 { margin: 0; color: rgba(0, 0, 0, .88); font-size: 20px; font-weight: 600; line-height: 28px; }
.wb-head p { margin: 4px 0 0; color: rgba(0, 0, 0, .45); font-size: 14px; line-height: 22px; }
.wb-head .btn { flex: none; }
.wb-alert { display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px; border: 1px solid #91caff; border-radius: 8px; background: #e6f4ff; }
.wb-alert-ico { display: grid; place-items: center; height: 22px; color: #1677ff; }
.wb-alert p { margin: 0; color: rgba(0, 0, 0, .88); font-size: 14px; line-height: 22px; }
.wb-metrics, .wb-grid { display: grid; gap: 16px; }
.wb-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wb-grid { grid-template-columns: 1fr 1fr; }
.wb-stat, .wb-card {
  min-width: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .03), 0 1px 6px -1px rgba(0, 0, 0, .02), 0 2px 4px 0 rgba(0, 0, 0, .02);
}
.wb-stat { display: flex; flex-direction: column; padding: 20px 24px 12px; }
.wb-stat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wb-stat-label { display: block; color: rgba(0, 0, 0, .45); font-size: 14px; line-height: 22px; }
.wb-stat-num { display: block; margin-top: 4px; color: rgba(0, 0, 0, .88); font-size: 30px; font-weight: 500; line-height: 38px; font-variant-numeric: tabular-nums; }
.wb-stat-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 8px; background: #e6f4ff; color: #1677ff; }
.wb-stat-ico.amber { background: #fff7e6; color: #fa8c16; }
.wb-stat-ico.violet { background: #f9f0ff; color: #722ed1; }
.wb-stat-ico.green { background: #f6ffed; color: #52c41a; }
.wb-stat-note { margin: 8px 0 0; color: rgba(0, 0, 0, .45); font-size: 12px; line-height: 20px; }
.wb-stat-foot { margin: 12px -24px 0; padding: 8px 24px 4px; border-top: 1px solid #f0f0f0; }
.wb-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 24px; border-bottom: 1px solid #f0f0f0; }
.wb-card h2 { margin: 0; color: rgba(0, 0, 0, .88); font-size: 16px; font-weight: 600; line-height: 24px; }
.wb-extra { color: rgba(0, 0, 0, .45); font-size: 14px; line-height: 22px; }
.wb-card-body { padding: 16px 24px 20px; }
.wb-chart { position: relative; height: 280px; }
.wb-chart canvas { display: block; width: 100%; height: 100%; }
.wb-sub { margin: 0 0 4px; color: rgba(0, 0, 0, .45); font-size: 14px; line-height: 22px; }
.wb-lines { display: flex; flex-direction: column; }
.wb-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.wb-line:last-child { border-bottom: 0; }
.wb-line b, .wb-line small { display: block; }
.wb-line b { color: rgba(0, 0, 0, .88); font-size: 14px; font-weight: 500; line-height: 22px; }
.wb-line small { margin-top: 2px; color: rgba(0, 0, 0, .45); font-size: 12px; font-weight: 400; line-height: 20px; }
.wb-link { border: 0; padding: 0; background: transparent; color: #0960bd; font-size: 14px; font-weight: 400; line-height: 22px; white-space: nowrap; }
.wb-link:hover { color: #4096ff; }
.wb-empty { margin: 0; padding: 28px 0 12px; color: rgba(0, 0, 0, .25); font-size: 14px; line-height: 22px; text-align: center; }
.wb-jumps { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1280px) {
  .wb-metrics { grid-template-columns: 1fr 1fr; }
  .wb-grid { grid-template-columns: 1fr; }
}

/* Shared page chrome: gray canvas, title on the canvas, flat cards. */
.heading .btn { margin-top: 2px; }
.panel,
.entitlement-panel,
.co-table,
.filters,
.island-nav,
.island-detail,
.course-board,
.service-queue,
.detail-panel,
.audit-panel,
.decision-panel {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .03), 0 1px 6px -1px rgba(0, 0, 0, .02), 0 2px 4px 0 rgba(0, 0, 0, .02);
}
.panel-head { align-items: center; min-height: 56px; padding: 12px 24px; border-bottom: 1px solid #f0f0f0; }
.panel-head h2 { color: rgba(0, 0, 0, .88); font-size: 16px; font-weight: 600; }
.panel-head p { margin: 2px 0 0; color: rgba(0, 0, 0, .45); font-size: 12px; }
.quick-actions,
.series-note,
section.assessment,
.paper-intro,
.assessment-summary,
.assessment-rule-card,
.certificate-separation {
  border: 1px solid #91caff;
  border-radius: 8px;
  background: #e6f4ff;
  color: rgba(0, 0, 0, .88);
}
.quick-actions > span,
.series-note span,
.section-kicker,
.assessment-rule-card span,
.certificate-separation span,
.paper-intro span,
.assessment-summary span { color: #0960bd; font-weight: 600; letter-spacing: 0; }
.quick-actions button { height: 32px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; color: rgba(0, 0, 0, .88); font-weight: 500; }
.quick-actions button:hover { border-color: #0960bd; color: #0960bd; }
.student-summary,
.support-preview { border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.decision-panel { padding: 20px 24px; background: #fff; }
.decision-panel h2 { color: rgba(0, 0, 0, .88); font-size: 16px; font-weight: 600; }
.decision-check span { border-radius: 6px; background: #fafafa; color: rgba(0, 0, 0, .65); font-size: 12px; font-weight: 400; }
.service-pipeline { margin-bottom: 16px; border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.pipeline-intro { border-bottom-color: #f0f0f0; }
.pipeline-steps button:hover { background: #fafafa; }
.pipeline-steps button > span { border-radius: 6px; background: #e6f4ff; color: #0960bd; }
.pipeline-steps strong { color: rgba(0, 0, 0, .88); }
.prototype-note { border-radius: 4px; background: #fafafa; color: rgba(0, 0, 0, .45); font-weight: 400; }
.work { border-radius: 8px; }
.work-art,
.work-art.video { background: #f0f5ff; color: #0960bd; }
.work-art.video { background: #fff7e6; color: #d46b08; }
.child,
.rabbit,
.monkey,
.owl { background: #e6f4ff; color: #0960bd; font-weight: 600; }
.metrics article { border: 0; border-radius: 8px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .03), 0 1px 6px -1px rgba(0, 0, 0, .02), 0 2px 4px 0 rgba(0, 0, 0, .02); }
.metrics strong { color: rgba(0, 0, 0, .88); font-size: 30px; font-weight: 500; }
.metric-icon,
.metric-icon.amber,
.metric-icon.plum,
.metric-icon.ink { border-radius: 8px; background: #e6f4ff; color: #1677ff; }
.metric-icon.amber { background: #fff7e6; color: #fa8c16; }
.metric-icon.plum { background: #f9f0ff; color: #722ed1; }
.info-grid > div,
.summary-receipt > div,
.audit-timeline > div::before { border-color: #f0f0f0; }
.audit-timeline i { border-color: #91caff; }
.student-identity-bar,
.next-action-card,
.service-state-card,
.app-state-badge { box-shadow: none; }
.day-card.lock { background: #fafafa; }
.island-cover { background: #f0f5ff; }
.island-nav > button:hover,
.island-nav > button.active { background: #e6f4ff; }
.island-nav > button > span { color: #0960bd; }
.co-tools { gap: 8px; margin: 0 0 16px; }
.co-tools input,
.co-tools select { height: 32px; padding: 0 11px; border: 1px solid #d9d9d9; border-radius: 6px; color: rgba(0, 0, 0, .88); font-size: 14px; }
.co-tools select { padding-right: 28px; }
.co-tools input { min-width: 240px; }
.co-receipt { border-radius: 8px; background: #fafafa; }
.co-modal fieldset { border-color: #f0f0f0; border-radius: 8px; }
#view-archive .segmented { display: flex; width: 100%; margin-bottom: 16px; border: 0; border-bottom: 1px solid #f0f0f0; border-radius: 0; background: transparent; }
#view-archive .segmented button { height: 40px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: rgba(0, 0, 0, .65); }
#view-archive .segmented button.active { border-bottom-color: #0960bd; background: transparent; color: #0960bd; }

/* Ant Design 5 controls. Primary stays on the vben token #0960bd. */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: none; }

.btn,
.filter,
.week-row button,
.quick-actions button {
  height: 32px;
  min-height: 32px;
  padding: 4px 15px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .02);
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.btn:hover,
.filter:hover,
.week-row button:hover,
.quick-actions button:hover { color: #0960bd; border-color: #0960bd; }
.btn:active,
.filter:active { color: #004a99; border-color: #004a99; }
.btn.primary,
.login-card .btn,
.co-buy .btn,
.co-modal footer .btn.primary {
  border-color: #0960bd;
  background: #0960bd;
  color: #fff;
  box-shadow: 0 2px 0 rgba(9, 96, 189, .1);
}
.btn.primary:hover,
.login-card .btn:hover,
.co-buy .btn:hover,
.co-modal footer .btn.primary:hover { border-color: #1677ff; background: #1677ff; color: #fff; }
.btn.primary:active,
.login-card .btn:active { border-color: #004a99; background: #004a99; color: #fff; }
.btn.secondary,
.btn.ghost,
.co-modal footer .btn.ghost,
.co-modal footer .btn.secondary { border-color: #d9d9d9; background: #fff; color: rgba(0, 0, 0, .88); box-shadow: 0 2px 0 rgba(0, 0, 0, .02); }
.btn.secondary:hover,
.btn.ghost:hover,
.co-modal footer .btn.ghost:hover,
.co-modal footer .btn.secondary:hover { border-color: #0960bd; background: #fff; color: #0960bd; }
.btn:disabled { color: rgba(0, 0, 0, .25); background: rgba(0, 0, 0, .04); border-color: #d9d9d9; box-shadow: none; cursor: not-allowed; }
.text-button,
.row-action,
.question-foot button,
.asset-card footer button,
.work-body button,
.paper-head button,
.paper-card footer button,
.island-items article > button,
.island-series-items article > button {
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #0960bd;
  font-size: 14px;
  font-weight: 400;
}
.text-button:hover,
.row-action:hover,
.question-foot button:hover,
.asset-card footer button:hover,
.work-body button:hover,
.paper-head button:hover,
.paper-card footer button:hover { color: #1677ff; background: transparent; }
.small-add { width: 32px; height: 32px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; color: rgba(0, 0, 0, .88); box-shadow: 0 2px 0 rgba(0, 0, 0, .02); }
.small-add:hover { border-color: #0960bd; color: #0960bd; }
.co-table .btn,
.service-table .btn,
#view-commerce .co-table .btn,
#view-rights .co-table .btn,
.co-modal .co-table .btn {
  height: 24px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 22px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .02);
}

.panel,
.metrics article,
.asset-card,
.question,
.work,
.paper-card,
.day-card,
.series-card,
.filters,
.login-card,
.chart-card,
.service-pipeline {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .03), 0 1px 6px -1px rgba(0, 0, 0, .02), 0 2px 4px 0 rgba(0, 0, 0, .02);
}
.asset-card:hover,
.series-card:hover,
.question:hover,
.work:hover,
.paper-card:hover,
.day-card:hover { border-color: #d9d9d9; transform: none; box-shadow: 0 1px 2px -2px rgba(0, 0, 0, .16), 0 3px 6px 0 rgba(0, 0, 0, .12), 0 5px 12px 4px rgba(0, 0, 0, .09); }
.panel-head {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid #f0f0f0;
}
.panel-head h2 { margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; }
.panel-head p { margin: 0; color: rgba(0, 0, 0, .45); font-size: 14px; }
.metrics article { min-height: 0; padding: 20px 24px; }
.asset-card,
.question,
.paper-card,
.day-card { padding: 16px 24px; }
.paper-card.practice,
.paper-card.assessment,
#view-content .paper-card.practice,
#view-practice .paper-card.practice,
#view-practice .paper-card.assessment { border-top: 1px solid #f0f0f0; }
.quick-actions,
.series-note,
.paper-intro,
.assessment-summary,
.student-summary,
section.assessment {
  border: 1px solid #91caff;
  border-radius: 8px;
  background: #e6f4ff;
  color: rgba(0, 0, 0, .88);
  box-shadow: none;
}
.quick-actions > span,
.series-note span,
.paper-intro span,
.assessment-summary span,
section.assessment b { color: #0960bd; font-weight: 600; }
.new-day,
#view-content .new-day {
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  background: #fff;
  color: rgba(0, 0, 0, .88);
  font-weight: 400;
}
.new-day:hover,
#view-content .new-day:hover { border-color: #0960bd; color: #0960bd; }
.upload-box {
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  background: #fafafa;
  color: rgba(0, 0, 0, .88);
  font-weight: 400;
}
.upload-box:hover { border-color: #0960bd; }
.asset-tabs,
#view-content .asset-tabs {
  gap: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.asset-tabs button,
#view-content .asset-tabs button {
  height: 46px;
  margin: 0 16px -1px 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  font-weight: 400;
}
.asset-tabs button.active,
#view-content .asset-tabs button.active {
  border-color: transparent;
  border-bottom-color: #0960bd;
  background: transparent;
  color: #0960bd;
  font-weight: 600;
}

table { border-collapse: separate; border-spacing: 0; background: #fff; }
table th,
table td,
.recent th,
.recent td,
.entitlement-panel th,
.entitlement-panel td,
.co-table th,
.co-table td,
.series-table th,
.series-table td,
.service-table th,
.service-table td,
.task-table th,
.task-table td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  vertical-align: middle;
}
table th,
.recent th,
.entitlement-panel th,
.co-table th,
.series-table th,
.service-table th,
.task-table th {
  background: #fafafa;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  font-weight: 600;
}
table tr:hover td,
.recent tr:hover td,
.entitlement-panel tr:hover td,
.co-table tr:hover td,
.series-table tr:hover td,
.service-table tr:hover td { background: #fafafa; }
table td b,
.recent td b,
.co-table td b { font-size: 14px; font-weight: 600; }
table td small,
.recent td small,
.co-table td small,
.task-table td small { color: rgba(0, 0, 0, .45); font-size: 12px; }

.field label,
.co-fields label,
.co-modal-body > label,
.filters label { color: rgba(0, 0, 0, .88); font-size: 14px; font-weight: 400; }
.field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea,
.co-fields input,
.co-fields select,
.co-fields textarea,
.co-modal-body > label input,
.filters select,
.login-card input,
.search {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  box-shadow: none;
}
.field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.field select,
.co-fields input,
.co-fields select,
.co-modal-body > label input,
.filters select,
.login-card input,
.captcha-refresh {
  height: 32px;
  min-height: 32px;
  padding: 4px 11px;
}
.captcha-refresh { flex-basis: 96px; width: 96px; padding: 0; }
.field textarea,
.co-fields textarea { min-height: 76px; padding: 4px 11px; line-height: 1.5715; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover,
.co-fields input:hover,
.co-fields select:hover,
.co-fields textarea:hover,
.filters select:hover,
.login-card input:hover,
.search:hover { border-color: #4096ff; }
.field input:focus,
.field select:focus,
.field textarea:focus,
.co-fields input:focus,
.co-fields select:focus,
.co-fields textarea:focus,
.filters select:focus,
.login-card input:focus,
.search:focus-within {
  border-color: #0960bd;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(9, 96, 189, .1);
}
.field input::placeholder,
.field textarea::placeholder,
.co-fields input::placeholder,
.co-fields textarea::placeholder { color: rgba(0, 0, 0, .25); }
.dialog,
.co-modal { border: 0; border-radius: 8px; box-shadow: 0 6px 16px 0 rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05); }
.dialog-head h2,
.co-modal header h2 { font-size: 16px; font-weight: 600; }

.planner-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.planner-stat { display: flex; align-items: center; gap: 12px; min-height: 88px; padding: 16px 18px; border: 1px solid transparent; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .03), 0 1px 6px -1px rgba(0, 0, 0, .02), 0 2px 4px 0 rgba(0, 0, 0, .02); }
.planner-stat > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; font-style: normal; }
.planner-stat b { display: block; font-size: 28px; font-weight: 600; line-height: 1.1; }
.planner-stat em { display: block; margin-top: 2px; color: rgba(0, 0, 0, .88); font-size: 14px; font-style: normal; font-weight: 600; }
.planner-stat span { display: block; color: rgba(0, 0, 0, .45); font-size: 12px; }
.planner-stat.amber { background: linear-gradient(180deg, #fff7e6 0%, #fff 72%); border-color: #ffd591; }
.planner-stat.amber > i { background: #fff7e6; color: #d46b08; }
.planner-stat.amber b { color: #d46b08; }
.planner-stat.green { background: linear-gradient(180deg, #f6ffed 0%, #fff 72%); border-color: #b7eb8f; }
.planner-stat.green > i { background: #f6ffed; color: #389e0d; }
.planner-stat.green b { color: #389e0d; }
.planner-stat.orange { background: linear-gradient(180deg, #fff2e8 0%, #fff 72%); border-color: #ffbb96; }
.planner-stat.orange > i { background: #fff2e8; color: #d4380d; }
.planner-stat.orange b { color: #d4380d; }
.planner-stat.blue { background: linear-gradient(180deg, #e6f4ff 0%, #fff 72%); border-color: #91caff; }
.planner-stat.blue > i { background: #e6f4ff; color: #0960bd; }
.planner-stat.blue b { color: #0960bd; }
.planner-primary { overflow: hidden; }
.assign-locked { display: flex; align-items: baseline; gap: 8px; min-height: 32px; }
.assign-locked b { font-size: 14px; font-weight: 600; }
.assign-locked small { color: rgba(0, 0, 0, .45); font-size: 12px; }

/* Ant Design 5 Select. Later form rules reset background and drop the arrow, so this block wins. */
select,
.field select,
.filters select,
.dialog select,
.co-fields select,
.co-tools select,
.co-modal select,
.co-modal-body select,
#view-practice .filters select,
#view-practice .placement-filters select,
.date-picker-time select {
  -webkit-appearance: none;
  appearance: none;
  height: 32px;
  min-height: 32px;
  padding: 0 28px 0 11px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22rgba(0%2C0%2C0%2C.25)%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 12px 12px;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  font-weight: 400;
  line-height: 30px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.field select,
.filters select,
.dialog select,
.co-fields select,
.co-modal select,
.co-modal-body select { width: 100%; }
select:hover { border-color: #4096ff; }
select:focus,
select:focus-visible,
select.select-open {
  border-color: #0960bd;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(9, 96, 189, .1);
}
select.select-open {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22rgba(0%2C0%2C0%2C.25)%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m18%2015-6-6-6%206%22%2F%3E%3C%2Fsvg%3E");
}
select:disabled,
select:disabled:hover {
  border-color: #d9d9d9;
  background-color: rgba(0, 0, 0, .04);
  color: rgba(0, 0, 0, .25);
  box-shadow: none;
  cursor: not-allowed;
}
.date-picker-time select { width: 72px; padding: 0 22px 0 8px; background-position: right 6px center; }
#view-rights .filter-field select,
#view-rights .filter-field select:hover,
#view-rights .filter-field select:focus,
#view-rights .filter-field select:focus-visible,
#view-rights .filter-field select.select-open {
  width: auto;
  height: 30px;
  min-height: 30px;
  border-color: transparent;
  background-color: transparent;
  box-shadow: none;
  font-weight: 400;
}
.select-menu {
  z-index: 1050;
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05);
}
.select-option { min-height: 32px; padding: 5px 12px; border-radius: 4px; font-size: 14px; font-weight: 400; line-height: 22px; }
.select-option:hover:not(:disabled) { background: rgba(0, 0, 0, .04); }
.select-option.selected,
.select-option.selected:hover { background: #e6f4ff; color: rgba(0, 0, 0, .88); font-weight: 600; }
.co-modal.picker-open,
.dialog.picker-open { overflow: visible; }
.planner-primary .panel-head { background: linear-gradient(90deg, #e6f4ff 0%, #fff 42%); }
.planner-row-alert td { background: #fff7e6; }
.planner-primary tr.planner-row-alert:hover td { background: #ffe7ba; }
.planner-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.planner-entry { display: flex; align-items: center; gap: 12px; width: 100%; height: auto; min-height: 72px; padding: 14px 16px; border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; color: rgba(0, 0, 0, .88); box-shadow: 0 1px 2px rgba(0, 0, 0, .03); text-align: left; }
.planner-entry:hover { border-color: #91caff; background: #fff; color: rgba(0, 0, 0, .88); }
.planner-entry > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; font-style: normal; }
.planner-entry .tone-blue { background: #e6f4ff; color: #0960bd; }
.planner-entry .tone-amber { background: #fff7e6; color: #d46b08; }
.planner-entry .tone-plum { background: #f9f0ff; color: #722ed1; }
.planner-entry b,
.planner-entry small { display: block; }
.planner-entry b { font-size: 14px; font-weight: 600; }
.planner-entry small { margin-top: 2px; color: rgba(0, 0, 0, .45); font-size: 12px; font-weight: 400; }
.planner-entry em { margin-left: auto; color: #0960bd; font-size: 14px; font-style: normal; white-space: nowrap; }
@media (max-width: 1120px) {
  .planner-stats,
  .planner-entries { grid-template-columns: 1fr 1fr; }
}

/* List pages: keep the title, filters and pager in place. Scroll only the rows. */
html:has(.view.active > .table-card),
html:has(.view.active > .table-card) body { height: 100%; overflow: hidden; }
.workspace:has(.view.active > .table-card) { height: 100vh; overflow: hidden; }
.workspace:has(.view.active > .table-card) main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.view.active:has(> .table-card) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.view.active:has(> .table-card) > * { flex: none; }
.view.active:has(> .table-card) > .table-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.table-card > .table-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.table-card > .table-tools,
.table-card > .panel-head,
.table-card > .table-pager { flex: none; }
.table-scroll { background: #fff; }
.table-scroll table { width: 100%; }
.table-scroll thead th { position: sticky; top: 0; z-index: 2; background: #fafafa; }
.table-scroll tr.is-paged-out { display: none; }
.table-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-height: 56px;
  margin-top: auto;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
}
.table-pager-total { margin-right: auto; color: rgba(0, 0, 0, .88); font-size: 14px; }
.table-pager-pages { display: flex; align-items: center; gap: 8px; }
.table-pager-pages button,
.table-pager-pages span {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  margin: 0;
  padding: 0 6px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  line-height: 30px;
}
.table-pager-pages span { border-color: transparent; background: transparent; }
.table-pager-pages button:hover:not(:disabled):not(.active) { border-color: #0960bd; color: #0960bd; }
.table-pager-pages button.active { border-color: #0960bd; color: #0960bd; font-weight: 600; }
.table-pager-pages button:disabled { border-color: #d9d9d9; color: rgba(0, 0, 0, .25); cursor: not-allowed; }
.table-pager-size { display: flex; align-items: center; gap: 8px; color: rgba(0, 0, 0, .88); font-size: 14px; white-space: nowrap; }
.table-pager-size select { width: 88px; }

/* Product finish: drop the prototype greens, parchment, and annotation type. */
body { -webkit-font-smoothing: antialiased; }
.app-shell { grid-template-columns: 224px minmax(0, 1fr); background: #f0f2f5; }
.sidebar { background: #fff; border-right: 1px solid #f0f0f0; }
.brand { height: 48px; }
.brand b { font-size: 15px; letter-spacing: .2px; }
.nav p { margin: 16px 12px 6px; color: rgba(0, 0, 0, .45); font-size: 12px; font-weight: 500; }
.nav-item { height: 40px; border-radius: 8px; font-weight: 400; }
.nav-item.active,
.nav-sub button.active,
html[data-boot-view="dashboard"] .nav-item[data-view="dashboard"],
html[data-boot-view="content"] .nav-item[data-view="content"],
html[data-boot-view="practice"] .nav-item[data-view="practice"],
html[data-boot-view="commerce"] .nav-item[data-view="commerce"],
html[data-boot-view="rights"] .nav-item[data-view="rights"],
html[data-boot-view="archive"] .nav-item[data-view="archive"] { background: #e6f4ff; color: #0960bd; font-weight: 600; }
.topbar { height: 48px; border-bottom: 0; box-shadow: 0 1px 4px rgba(0, 21, 41, .08); }
.crumb { gap: 8px; color: rgba(0, 0, 0, .45); }
.crumb i { color: rgba(0, 0, 0, .25); }
.crumb b { font-weight: 500; }
main { padding: 16px; }
.heading { align-items: flex-end; margin-bottom: 16px; padding: 4px 4px 0; }
.heading .eyebrow {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin: 0 0 8px;
  padding: 0 8px;
  border-radius: 4px;
  background: #f0f5ff;
  color: #0960bd !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}
.heading h1 { font-size: 20px; font-weight: 600; line-height: 28px; }
.heading h1 + p,
.wb-head p { max-width: 720px; color: rgba(0, 0, 0, .45); font-size: 14px; line-height: 22px; }
.co-notice {
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid #91caff;
  border-radius: 8px;
  background: #e6f4ff;
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  line-height: 22px;
}

.asset-grid,
.archive-grid,
.paper-grid,
.series-grid { gap: 16px; }
.asset-card,
.work,
.paper-card,
.day-card,
.series-card,
.question {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .03), 0 1px 6px -1px rgba(0, 0, 0, .02), 0 2px 4px 0 rgba(0, 0, 0, .02);
}
.asset-card { min-height: 0; padding: 16px; }
.asset-thumb,
.asset-thumb.video,
.asset-thumb.audio,
.asset-thumb.ppt,
.asset-thumb.dubbing,
.work-art,
.work-art.video,
.series-cover,
.series-cover.video,
.series-cover.audio,
.series-cover.ppt,
.series-cover.dubbing,
.series-mini-cover,
.island-thumb {
  border-radius: 8px;
  background: #f0f5ff;
  color: #0960bd;
}
.asset-thumb { height: 88px; font-size: 28px; }
.asset-thumb.video,
.work-art.video,
.series-cover.video { background: #f9f0ff; color: #722ed1; }
.asset-thumb.audio,
.series-cover.audio { background: #e6fffb; color: #08979c; }
.asset-thumb.ppt,
.series-cover.ppt,
.island-thumb { background: #fff7e6; color: #d46b08; }
.asset-thumb.dubbing,
.series-cover.dubbing { background: #fff0f6; color: #c41d7f; }
.asset-card h3,
.work-body h3,
.paper-card h3,
.day-card h3,
.series-card h3,
.question h3 { font-size: 14px; font-weight: 600; }
.asset-card p,
.work-body p,
.work-body footer,
.paper-card p,
.paper-card footer span,
.day-card p,
.gates small,
.question p,
.question time,
.question-foot,
.series-card p { color: rgba(0, 0, 0, .45); font-size: 12px; line-height: 20px; }
.question-type,
.stage-chip,
.tags button {
  border-radius: 4px;
  background: #e6f4ff;
  color: #0960bd;
  font-size: 12px;
  font-weight: 500;
}
.tags button { height: 24px; border: 1px solid #d9d9d9; background: #fafafa; color: rgba(0, 0, 0, .65); }
.tags button:hover,
.tags button.active { border-color: #0960bd; background: #e6f4ff; color: #0960bd; }
.stage-item:hover,
.stage-item.active,
.island-nav > button:hover,
.island-nav > button.active { background: #e6f4ff; }
.stage-index,
.rule-index,
.queue-mark,
.queue-mark.amber,
.queue-mark.plum,
.queue-mark.forest {
  border-radius: 6px;
  background: #f5f5f5;
  color: rgba(0, 0, 0, .65);
  font-weight: 600;
}
.stage-item.active .stage-index,
.queue-mark { background: #e6f4ff; color: #0960bd; }
.queue-mark.amber { background: #fff7e6; color: #d46b08; }
.queue-mark.plum { background: #f9f0ff; color: #722ed1; }
.queue-mark.forest { background: #f6ffed; color: #389e0d; }
.day-num,
.island-cover span,
.island-nav > button > span,
.rule em { color: #0960bd; font-weight: 600; }
.day-card.lock { background: #fafafa; opacity: 1; }
.week-row button.active { border-color: #0960bd; background: #e6f4ff; color: #0960bd; font-weight: 500; }
.gates .done { color: #389e0d; }
.new-day,
.island-nav .new-channel {
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  background: #fff;
  color: rgba(0, 0, 0, .65);
  font-weight: 500;
}
.new-day:hover,
.island-nav .new-channel:hover { border-color: #0960bd; color: #0960bd; background: #f0f5ff; }

.certificate-box { gap: 16px; }
.certificate-preview {
  border: 1px solid #ffe58f;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffbe6 0%, #fff 42%);
  box-shadow: none;
}
.certificate-preview i { background: #fff; color: #d48806; border: 1px solid #ffe58f; font-weight: 600; }
.certificate-preview p,
.certificate-preview span { color: rgba(0, 0, 0, .45); font-size: 12px; line-height: 20px; }
.certificate-preview h2 { color: rgba(0, 0, 0, .88); font-size: 24px; font-weight: 600; }
.certificate-preview b { color: #d48806; font-weight: 600; }
.rule b,
.queue-list b,
.todo-list b,
.progress-row b { font-size: 14px; font-weight: 500; }
.rule small,
.queue-list small,
.todo-list small,
.progress-row small,
.progress-row > span { font-size: 12px; }
.progress-track { height: 8px; border-radius: 100px; background: #f5f5f5; }
.progress-track i { background: #0960bd; }
.todo-list em,
.queue-list em { padding: 0 8px; border-radius: 4px; background: #fff7e6; color: #d46b08; font-size: 12px; line-height: 22px; }
.dot { background: #0960bd; }
.dot.amber { background: #fa8c16; }
.dot.plum { background: #722ed1; }

.page-canvas {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fafafa;
  color: rgba(0, 0, 0, .45);
  font-family: "Noto Sans SC Variable", "Noto Sans SC", sans-serif;
}
.zone { border-color: #0960bd; background: rgba(9, 96, 189, .06); }
.zone-copy button { border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; color: #0960bd; font-weight: 400; }
.zone-copy button:hover { border-color: #0960bd; }

.service-state-card { border-radius: 8px; }
.service-state-card > b { font-size: 16px; font-weight: 600; }
.service-state-card > p,
.service-state-card > div small,
.pipeline-steps small,
.table-sub { font-size: 12px; }
.service-state-card > div span,
.service-state-card.order > div span,
.service-state-card.assessment > div span,
.service-state-card.placement > div span,
.service-state-card.entitlement > div span,
.pipeline-steps button > span { border-radius: 6px; background: #e6f4ff; color: #0960bd; font-weight: 600; }
.service-state-card.order > div span,
.service-state-card.placement > div span { background: #fff7e6; color: #d46b08; }
.service-state-card.assessment > div span { background: #f9f0ff; color: #722ed1; }
.service-state-card.entitlement > div span { background: #f6ffed; color: #389e0d; }
.detail-tabs { gap: 0; padding: 0; border: 0; border-bottom: 1px solid #f0f0f0; border-radius: 0; background: transparent; }
.detail-tabs button { min-height: 40px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: rgba(0, 0, 0, .65); font-size: 14px; font-weight: 400; box-shadow: none; }
.detail-tabs button.active { border-bottom-color: #0960bd; background: transparent; color: #0960bd; box-shadow: none; }
.section-kicker { color: #0960bd; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.next-action-card,
.student-identity-bar,
.app-state-badge { border-radius: 8px; }
.island-cover { min-height: 120px; border-radius: 0; background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%); }
.island-cover h2 { color: rgba(0, 0, 0, .88); font-size: 20px; font-weight: 600; }
.island-cover p { color: rgba(0, 0, 0, .45); font-size: 12px; }

#login-screen {
  display: grid;
  grid-template-columns: minmax(460px, 1.15fr) minmax(440px, .85fr);
  place-items: stretch;
  min-height: 100vh;
  background: #fff;
}
.login-brand {
  display: flex;
  align-items: center;
  padding: 72px;
  background:
    radial-gradient(900px 420px at 0% 100%, rgba(255, 255, 255, .16), transparent 55%),
    linear-gradient(165deg, #071a33 0%, #0b3a73 46%, #0960bd 100%);
  color: #fff;
}
.login-brand-inner { max-width: 420px; }
.login-brand .brand-mark { width: 44px; height: 44px; border-radius: 10px; background: #fff; color: #0960bd; font-size: 20px; }
.login-brand h2 { margin: 20px 0 8px; font-size: 32px; font-weight: 600; line-height: 40px; }
.login-brand p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 16px; }
.login-brand ul { margin: 36px 0 0; padding: 0; list-style: none; }
.login-brand li { position: relative; margin-top: 14px; padding-left: 22px; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 22px; }
.login-brand li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #91caff; }
.login-pane { display: grid; place-items: center; padding: 48px 32px; background: #f5f7fa; }
.login-pane .login-card {
  width: min(400px, 100%);
  margin: 0;
  padding: 36px 32px 28px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}
.login-pane .brand-mark { width: 40px; height: 40px; border-radius: 8px; background: #0960bd; color: #fff; font-size: 18px; }
.login-pane h1 { margin: 16px 0 0; color: rgba(0, 0, 0, .88); font-size: 24px; font-weight: 600; }
.login-pane .login-card > p { margin: 4px 0 8px; color: rgba(0, 0, 0, .45); font-size: 14px; }
.login-pane label { color: rgba(0, 0, 0, .88); font-size: 14px; font-weight: 400; }
.login-pane .login-hint { color: rgba(0, 0, 0, .45); font-size: 12px; line-height: 20px; }
