:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #17263b;
  background: #f4f7fb;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 244px;
  display: flex; flex-direction: column; z-index: 10;
  background: #18283d; color: #d8e4f2;
  border-right: 1px solid #30445d;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  min-height: 88px; padding: 20px 22px;
  border-bottom: 1px solid #2b3c53;
}
.brand-mark {
  display: grid; place-items: center; width: 39px; height: 39px;
  border-radius: 11px; background: #3778e4; color: white;
  font-size: 20px; font-weight: 750;
}
.brand strong { display: block; color: white; font-size: 16px; letter-spacing: .02em; }
.brand small { display: block; margin-top: 3px; color: #8ea6c2; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.side-nav { display: flex; flex-direction: column; gap: 4px; padding: 24px 13px; overflow-y: auto; }
.nav-caption { padding: 10px 13px 7px; color: #8298b2; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.nav-caption:not(:first-child) { margin-top: 15px; }
.nav-link {
  display: flex; align-items: center; gap: 13px; width: 100%;
  border: 0; border-radius: 9px; padding: 11px 14px;
  background: transparent; color: #b8cadf; text-align: left;
  font-size: 14px; font-weight: 550; transition: background .16s, color .16s;
}
.nav-link:hover { background: #263a53; color: white; }
.nav-link.active { color: white; background: #315d9a; box-shadow: inset 3px 0 #70abff; }
.nav-group.open { color: white; background: #263a53; }
.nav-caret { margin-left: auto; color: #90a9c5; font-size: 17px; line-height: 1; transition: transform .16s; }
.nav-group.open .nav-caret { transform: rotate(180deg); }
.sub-nav { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 7px 23px; padding-left: 10px; border-left: 1px solid #3b506b; }
.sub-link { padding: 8px 12px; color: #a9bed6; font-size: 12px; }
.nav-dot { width: 7px; height: 7px; flex: none; border-radius: 2px; background: #6d87a6; }
.nav-link.active .nav-dot { background: #d7eaff; }
.sidebar-foot { margin-top: auto; padding: 17px 23px; border-top: 1px solid #2b3c53; color: #91a8c2; font-size: 12px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #55c79d; }
.workspace { margin-left: 244px; min-height: 100vh; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 112px; padding: 22px clamp(24px, 4vw, 58px);
  background: white; border-bottom: 1px solid #e3eaf2;
}
.eyebrow { color: #6682a6; font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 6px 0 3px; font-size: clamp(23px, 2.1vw, 29px); line-height: 1.2; letter-spacing: -.03em; }
.topbar p { margin: 0; color: #75869c; font-size: 13px; }
.identity { display: flex; align-items: center; gap: 10px; max-width: 250px; }
.identity-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #e9f0ff; color: #386dbe; font-weight: 750; }
.identity small { display: block; color: #8190a5; font-size: 10px; }
.identity strong { display: block; overflow: hidden; color: #34435a; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
#main-content { max-width: 1540px; min-height: calc(100vh - 112px); padding: 32px clamp(24px, 4vw, 58px) 70px; margin: 0 auto; }
.view { animation: fade-in .18s ease-out; }
@keyframes fade-in { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.section-heading, .card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2, .card h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.section-heading p, .card-head p { margin: 6px 0 0; color: #74859a; font-size: 13px; }
.as-of { align-self: center; color: #8593a7; font-size: 12px; white-space: nowrap; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 22px; }
.stat-card {
  display: flex; flex-direction: column; min-height: 143px; padding: 20px 22px;
  background: white; border: 1px solid #e2e9f1; border-left: 4px solid #6088d8;
  border-radius: 12px; box-shadow: 0 3px 14px #173b6608;
}
.stat-card span { color: #5f7189; font-size: 13px; font-weight: 650; }
.stat-card strong { margin-top: 15px; color: #152842; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.stat-card small { margin-top: auto; color: #98a6b8; font-size: 10px; }
.stat-card.accent-green { border-left-color: #2bb487; }
.stat-card.accent-amber { border-left-color: #e6aa3c; }
.stat-card.accent-red { border-left-color: #e67777; }
.card {
  min-width: 0; margin-bottom: 20px; padding: 24px 26px;
  background: #fff; border: 1px solid #e2e9f1; border-radius: 12px;
  box-shadow: 0 3px 14px #173b6608;
}
.card-head { margin-bottom: 22px; }
.card-head h3 { font-size: 17px; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.narrow-card { max-width: 880px; }
.filter-grid { display: grid; grid-template-columns: minmax(145px,1.1fr) repeat(3,minmax(125px,1fr)) auto; align-items: end; gap: 12px; }
label { display: flex; flex-direction: column; gap: 7px; color: #52647b; font-size: 12px; font-weight: 650; }
input, select, textarea {
  width: 100%; min-width: 0; min-height: 38px; padding: 8px 11px;
  border: 1px solid #d6e0ea; border-radius: 7px; outline: none;
  background: white; color: #273b54; font-size: 13px; font-weight: 450;
}
textarea { min-height: 72px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #5b91dc; box-shadow: 0 0 0 3px #5b91dc24; }
input::placeholder { color: #a9b5c4; }
button:not(.nav-link) {
  min-height: 38px; padding: 8px 15px; border: 1px solid #2d70cd;
  border-radius: 7px; background: #367bd5; color: #fff; font-size: 13px; font-weight: 650;
}
button:not(.nav-link):hover { background: #266bbf; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.button-quiet { color: #4170ae; background: #f3f7fd; border-color: #dce8f7; }
button.button-quiet:hover { background: #e6f0fc; }
button.button-secondary { color: #35577d; background: #f3f6fa; border-color: #d9e2ec; }
button.button-secondary:hover { background: #e9eff6; }
button.button-danger { color: #b84f57; background: #fff4f4; border-color: #f4d8da; }
button.button-danger:hover { background: #fee9ea; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 10px; border-bottom: 1px solid #edf1f5; text-align: left; font-size: 13px; }
th { color: #7a8ca1; background: #f8fafc; font-size: 11px; font-weight: 750; letter-spacing: .04em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcff; }
th.number, td.number { text-align: right; }
td a { margin-left: 11px; color: #3976c9; text-decoration: none; font-weight: 600; }
td a:hover { text-decoration: underline; }
.status-chip { display: inline-block; padding: 5px 9px; border-radius: 99px; background: #eaf1fa; color: #4c6687; font-size: 11px; font-weight: 700; }
.status-chip.active { background: #e6f7f0; color: #18815d; }
.status-chip.disabled, .status-chip.retired { background: #fceced; color: #ab4b55; }
.status-chip.pending, .status-chip.migrating { background: #fff3de; color: #a5701b; }
.inline-status { min-height: 18px; margin: 17px 0; color: #718399; font-size: 12px; }
.inline-status[data-error="true"] { color: #bb4a57; }
.detail-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.detail-grid>div { min-height: 76px; padding: 14px; border: 1px solid #e8eef5; border-radius: 8px; background: #f9fbfd; }
.detail-grid span { display: block; color: #8392a5; font-size: 11px; }
.detail-grid strong { display: block; margin-top: 11px; overflow-wrap: anywhere; font-size: 13px; }
.subsection { margin-top: 21px; padding-top: 18px; border-top: 1px solid #e9eef4; }
.subsection h4 { margin: 0 0 14px; font-size: 14px; }
.subsection summary, .editor summary { color: #3e6ba4; font-size: 13px; font-weight: 700; cursor: pointer; }
.subsection[open] summary, .editor[open] summary { margin-bottom: 15px; }
.actions { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.actions label { min-width: 210px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: end; }
.stack-form { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.stack-form button { align-self: start; margin-top: 3px; }
.check-row { flex-direction: row; align-items: center; }
.check-row input { width: 16px; height: 16px; min-height: auto; }
.hint { color: #74859a; font-size: 12px; }
.editor { margin-top: 20px; padding-top: 17px; border-top: 1px solid #edf1f5; }
.edit-panel { margin-top: 22px; padding: 21px; border: 1px solid #d7e6f6; border-radius: 10px; background: #f6faff; }
.edit-panel h4 { margin: 0; color: #233a56; font-size: 15px; }
.edit-panel .card-head { margin-bottom: 17px; }
.edit-panel .stack-form button { align-self: auto; margin-top: 0; }
.edit-panel .inline-status { margin-bottom: 0; }
.record { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf1f5; }
.record.expanded { flex-wrap: wrap; }
.inline-action { flex: 1 0 100%; margin: 4px 0 8px; padding: 14px; border: 1px solid #d9e6f3; border-radius: 8px; background: #f8fbff; }
.inline-fields { display: flex; flex-wrap: wrap; gap: 12px; }
.inline-fields label { flex: 1 1 180px; }
.inline-action .actions { margin-top: 12px; }
.inline-action .inline-status { margin: 10px 0 0; }
.record span { overflow-wrap: anywhere; color: #34465b; font-size: 12px; }
.record button { flex: none; }
.result-block, pre { overflow: auto; max-height: 380px; padding: 15px; border-radius: 8px; background: #f6f8fb; color: #3d4d63; font-size: 11px; line-height: 1.55; }
pre:empty { display: none; }
#toast {
  position: fixed; z-index: 20; right: 28px; bottom: 25px;
  max-width: min(420px,calc(100vw - 32px)); padding: 12px 16px;
  border-radius: 8px; background: #254970; color: white;
  box-shadow: 0 8px 25px #142e4d3b; font-size: 13px;
}
#toast[data-error="true"] { background: #a54450; }
@media (max-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .sidebar { position: static; width: 100%; height: auto; }
  .brand { min-height: 62px; padding: 12px 20px; }
  .side-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 8px 14px 13px; }
  .sub-nav { flex: none; flex-direction: row; align-items: center; margin: 0; padding: 0; border: 0; }
  .sub-link { white-space: nowrap; }
  .nav-caption, .sidebar-foot { display: none; }
  .nav-link { width: auto; flex: none; white-space: nowrap; }
  .workspace { margin-left: 0; }
  .topbar { min-height: 94px; padding: 18px 22px; }
  #main-content { padding: 24px 20px 50px; }
  .two-column { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
  .identity { display: none; }
  .stat-grid { gap: 10px; }
  .stat-card { min-height: 115px; padding: 15px; }
  .stat-card strong { font-size: 27px; }
  .card { padding: 18px; }
  .filter-grid, .form-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { flex-direction: column; }
}
/* List-first navigation and dedicated editor/detail views. */
.toolbar { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.toolbar button { white-space: nowrap; }
.filter-bar { display: flex; align-items: end; gap: 12px; margin-bottom: 22px; }
.filter-bar label { min-width: 260px; max-width: 520px; }
.breadcrumbs { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: #7d8fa6; font-size: 13px; }
.breadcrumbs a { color: #367bd5; text-decoration: none; }
.breadcrumbs button { margin-left: auto; }
.notice { padding: 14px 17px; margin-bottom: 18px; border: 1px solid #d8e8f6; border-radius: 8px; color: #38638e; background: #f0f7fd; font-size: 13px; line-height: 1.7; }
.notice[data-error="true"] { color: #a54450; background: #fff3f3; border-color: #f4d8da; }
.form-card { max-width: 800px; }
.editor-fields { display: grid; gap: 22px; }
.readonly-value { display: block; padding: 11px 13px; background: #f4f7fb; border: 1px solid #e2e9f1; border-radius: 7px; color: #5f7189; font-size: 13px; font-weight: 450; overflow-wrap: anywhere; }
.field-hint { font-weight: 450; color: #8392a5; font-size: 12px; line-height: 1.6; }
.check-row { flex-wrap: wrap; }
.check-row .field-hint { flex-basis: 100%; }
.form-footer { border-top: 1px solid #e9eef4; padding-top: 18px; margin-top: 0; }
.stack-form .form-footer button { align-self: auto; margin-top: 0; }
.row-actions { min-width: 100px; }
.row-actions a { display: inline-block; margin: 4px 12px 4px 0; }
.table-action { color: #367bd5; font-size: 13px; text-decoration: none; font-weight: 600; cursor: pointer; }
.table-action:hover { text-decoration: underline; }
.table-action.danger { color: #b84f57; }
.cell-identity strong { display: block; margin-bottom: 5px; font-weight: 600; }
.cell-identity small { display: block; color: #8999ad; font-size: 11px; overflow-wrap: anywhere; }
.cell-identity { max-width: 280px; }
.empty-state { padding: 40px 10px; margin: 0; text-align: center; color: #8392a5; font-size: 13px; }
.summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 25px 0; }
.summary-grid dt { font-size: 12px; color: #8392a5; margin-bottom: 8px; }
.summary-grid dd { margin: 0; color: #34465b; font-size: 13px; overflow-wrap: anywhere; }
.card>summary { cursor: pointer; color: #3e6ba4; font-size: 13px; font-weight: 600; }
.card>.actions { gap: 18px; }
#pki-downloads { margin-top: 22px; }
#import-preview { margin-top: 24px; }
#import-file { max-width: 680px; }
@media (max-width: 850px) {
  .card-head { flex-wrap: wrap; }
  .toolbar { width: 100%; }
  .summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-bar label { min-width: 180px; }
}
/* Batch inventory: list actions, delivery and assignment have separate surfaces. */
.batch-page { min-width: 0; }
.batch-page .card-head { align-items: center; }
.batch-page .card-head p { max-width: 620px; line-height: 1.6; }
.batch-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.batch-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 38px; padding: 8px 14px; border: 1px solid #d9e2ec; border-radius: 7px;
  color: #35577d; background: #f3f6fa; font-size: 13px; font-weight: 650;
  line-height: 1.4; text-decoration: none; white-space: nowrap;
}
.batch-button.is-primary { color: #fff; background: #367bd5; border-color: #2d70cd; }
.batch-button.is-primary:hover { color: #fff; background: #266bbf; text-decoration: none; }
.batch-button.is-secondary { color: #35577d; background: #f3f6fa; border-color: #d9e2ec; }
.batch-button.is-secondary:hover { color: #274e7c; background: #e9eff6; text-decoration: none; }
.batch-button:focus-visible, .batch-tab:focus-visible { outline: 3px solid #367bd550; outline-offset: 3px; }
.batch-filters {
  display: grid; grid-template-columns: minmax(220px,1.2fr) minmax(220px,1fr) auto;
  align-items: end; gap: 16px; padding: 18px; border: 1px solid #e8eef5;
  border-radius: 9px; background: #f8fafc;
}
.batch-filter-actions { display: flex; gap: 8px; }
.batch-filter-hint { margin: 10px 0 20px; color: #8291a5; font-size: 12px; line-height: 1.6; }
.batch-list table { min-width: 760px; }
.batch-list td { padding-top: 17px; padding-bottom: 17px; vertical-align: middle; }
.batch-list th:first-child { min-width: 190px; }
.batch-list th:last-child { min-width: 115px; }
.batch-list .cell-identity { max-width: 250px; }
.batch-list .cell-identity small { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 10px; }
.batch-progress-cell { min-width: 105px; }
.batch-progress-cell strong { display: block; color: #34465b; font-size: 14px; font-variant-numeric: tabular-nums; }
.batch-cell-note { display: block; margin-top: 4px; color: #8291a5; font-size: 11px; }
.batch-progress-cell progress { display: block; width: 100%; max-width: 150px; height: 5px; margin-top: 8px; border: 0; border-radius: 9px; overflow: hidden; background: #e8eef5; accent-color: #5589d1; }
.batch-progress-cell progress::-webkit-progress-bar { background: #e8eef5; border-radius: 9px; }
.batch-progress-cell progress::-webkit-progress-value { background: #5589d1; border-radius: 9px; }
.batch-progress-cell progress::-moz-progress-bar { background: #5589d1; border-radius: 9px; }
.batch-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 160px; }
.batch-badge { display: inline-flex; padding: 4px 8px; border-radius: 6px; font-size: 11px; line-height: 1.5; font-weight: 650; white-space: nowrap; }
.batch-badge.tone-neutral { color: #6d7e93; background: #eff3f7; }
.batch-badge.tone-success { color: #1c805e; background: #e7f6ef; }
.batch-badge.tone-warning { color: #a47220; background: #fff4df; }
.batch-badge.tone-info { color: #3975b9; background: #eaf2fc; }
.batch-list-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #edf1f5; margin-top: 15px; padding-top: 15px; }
.batch-list-footer .inline-status { margin: 0; }
.batch-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 230px; padding: 38px 20px; text-align: center; }
.batch-empty-title { color: #344b67; font-size: 16px; font-weight: 650; }
.batch-empty p { max-width: 460px; margin: 10px 0 20px; color: #8191a6; font-size: 13px; line-height: 1.7; }
.batch-empty .hint { margin-top: 0; }
.batch-related { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 0 4px; font-size: 12px; }
.batch-related>span { color: #8a99ad; }
.batch-related a { font-size: 12px; }
.batch-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: -12px; color: #8a99ad; font-size: 12px; }
.batch-id { font-family: ui-monospace, SFMono-Regular, monospace; overflow-wrap: anywhere; }
.batch-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-top: 22px; margin-top: 22px; border-top: 1px solid #edf1f5; }
.batch-metrics>div+div { padding-left: 24px; border-left: 1px solid #edf1f5; }
.batch-metrics span { display: block; color: #6c7f97; font-size: 12px; }
.batch-metrics strong { display: block; margin: 8px 0; color: #243a56; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.batch-metrics small { color: #8a99ad; font-size: 11px; }
.batch-task-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.batch-task-grid .card { display: flex; flex-direction: column; }
.batch-task-grid .card-head { align-items: flex-start; margin-bottom: 15px; }
.batch-task-grid .card-head h3 { font-size: 16px; }
.batch-task-facts { display: grid; gap: 9px; margin: 0; }
.batch-task-facts>div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.batch-task-facts dt { color: #8291a5; }
.batch-task-facts dd { margin: 0; color: #4d627e; text-align: right; }
.batch-note { color: #8291a5; font-size: 12px; line-height: 1.7; margin: 14px 0; }
.batch-task-grid .batch-toolbar { margin-top: auto; padding-top: 4px; }
.batch-task-grid .batch-progress-cell { margin: 5px 0; }
.batch-task-grid .batch-progress-cell progress { max-width: none; }
.batch-action-status { margin-top: 0; padding: 13px 16px; background: #f0f7fd; border: 1px solid #d8e8f6; border-radius: 8px; }
.batch-records { padding-top: 0; }
.batch-tabs { display: flex; gap: 24px; border-bottom: 1px solid #e8eef5; margin-bottom: 22px; overflow-x: auto; }
button.batch-tab { position: relative; flex: none; min-height: 53px; padding: 15px 1px; border: 0; border-radius: 0; background: transparent; color: #7d8ea5; font-weight: 600; white-space: nowrap; }
button.batch-tab:hover { background: transparent; color: #367bd5; }
button.batch-tab[aria-selected="true"] { color: #367bd5; }
button.batch-tab[aria-selected="true"]::after { content: ''; position: absolute; height: 3px; left: 0; right: 0; bottom: -1px; border-radius: 3px 3px 0 0; background: #367bd5; }
.batch-tab-panel>.batch-section { margin-bottom: 0; padding: 0; }
.batch-tab-panel .card-head { margin-bottom: 20px; }
.batch-tab-panel table { min-width: 650px; }
@media (max-width: 1180px) {
  .batch-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .batch-filter-actions { grid-column: 1/-1; }
}
@media (max-width: 850px) {
  .batch-task-grid { grid-template-columns: 1fr; gap: 0; }
  .batch-page .card-head { flex-wrap: wrap; }
  .batch-toolbar { width: 100%; }
}
@media (max-width: 540px) {
  .batch-filters { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .batch-metrics { gap: 12px; }
  .batch-metrics>div+div { padding-left: 12px; }
  .batch-metrics strong { font-size: 24px; }
  .batch-metrics small { line-height: 1.6; display: block; }
  .batch-task-facts>div { flex-wrap: wrap; }
  .batch-list-footer { flex-wrap: wrap; }
  .batch-tabs { gap: 20px; }
}
.batch-list .cell-identity small { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1000px) {
  .batch-page .card-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .batch-toolbar { width: 100%; }
  .batch-task-grid { grid-template-columns: 1fr; gap: 0; }
  .batch-list table { min-width: 0; }
  .batch-list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .batch-list tbody { display: block; }
  .batch-list tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 20px 0; border-bottom: 1px solid #edf1f5; }
  .batch-list tbody tr:last-child { border-bottom: 0; }
  .batch-list td { display: block; border: 0; padding: 0; min-width: 0; }
  .batch-list td:first-child { grid-column: 1/-1; }
  .batch-list td:nth-child(2)::before, .batch-list td:nth-child(3)::before { display: block; color: #7a8ca1; font-size: 11px; margin-bottom: 7px; }
  .batch-list td:nth-child(2)::before { content: '生成进度'; }
  .batch-list td:nth-child(3)::before { content: '环境分配'; }
  .batch-list td:nth-child(5) { display: none; }
  .batch-list .row-actions { align-self: end; text-align: right; }
  .batch-list .row-actions a { margin-right: 0; margin-left: 12px; }
  .batch-list .cell-identity { max-width: none; }
  .batch-list .cell-identity small { max-width: 100%; }
}

.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f4f6fa}
.auth-card{width:min(100%,420px);padding:32px;background:white;border:1px solid #e2e7ee;border-radius:16px;box-shadow:0 12px 36px #182b4512}
.auth-card h1{font-size:24px;margin:28px 0 20px}.auth-card form{display:grid;gap:18px}.auth-card label{display:grid;gap:8px}.auth-card input{width:100%}.auth-card #auth-logout{margin-top:16px}.identity{gap:12px}.identity a{font-size:13px}
