/* 业务组件专用；沿用 shell 的颜色与公共组件，不包含登录或公共导航。 */
.ops-page { min-width: 0; }
.ops-pagehead { align-items: flex-start; }
.ops-pagehead .eyebrow { letter-spacing: 1.25px; }
.ops-page-description { max-width: 790px; }
.ops-page-actions, .ops-row-actions, .ops-detail-actions, .ops-import-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ops-page-actions { padding-top: 14px; }
.ops-readonly { color: var(--muted, #53657e); border: 1px solid var(--line, #d7e1ee); border-radius: 5px; padding: 5px 10px; font-size: 12px; }
.ops-guidance { background: #e3eaf2; border: 1px solid #cad6e5; padding: 10px 16px; border-radius: 8px; font-size: 12px; margin: -5px 0 17px; color: #3a4f69; line-height: 1.75; }
.ops-guidance > span { margin-right: 10px; font-weight: 700; }
.panel.ops-list-panel { padding: 0; overflow: hidden; }
.ops-status-tabs { display: flex; flex-wrap: wrap; gap: 3px 15px; padding: 0 20px; border-bottom: 1px solid var(--line, #d7e1ee); background: #f8fbfe; }
.ops-status-tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 15px 2px 13px; color: #57708f; font-size: 12px; white-space: nowrap; }
.ops-status-tabs button:hover { color: var(--brand, #1d419a); }
.ops-status-tabs button.active { color: var(--brand, #1d419a); border-bottom-color: var(--brand, #1d419a); font-weight: 700; }
.ops-status-tabs button span { font: 11px/1.25 Consolas, monospace; background: #e5ebf2; padding: 2px 6px; border-radius: 4px; }
.ops-status-tabs button.active span { background: #d2deed; }
.toolbar.ops-toolbar { padding: 0 20px; margin: 17px 0; gap: 8px; }
.ops-toolbar label { font-weight: 400; }
.ops-toolbar input, .ops-toolbar select { padding: 8px 10px; height: 37px; font-size: 12px; }
.ops-toolbar .btn { padding: 8px 12px; font-size: 12px; }
.ops-search { flex: 1 1 230px; max-width: 380px; }
.ops-search input { width: 100%; }
.ops-list-count { white-space: nowrap; font-size: 11px; margin-left: auto; }
.ops-focus-note { padding: 0 20px 16px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted, #53657e); }
.ops-table { width: 100%; font-size: 12px; }
.ops-table th { font-size: 11px; padding-top: 11px; padding-bottom: 11px; letter-spacing: .2px; }
.ops-table td { padding-top: 16px; padding-bottom: 16px; }
.ops-table th:first-child, .ops-table td:first-child { padding-left: 20px; }
.ops-table th:last-child, .ops-table td:last-child { padding-right: 20px; }
.ops-table tbody tr:hover { background: #f4f8fc; }
.ops-table .ops-focused { background: #e6eff9; }
.ops-code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-variant-numeric: tabular-nums; letter-spacing: .05px; }
.ops-record-link { display: inline-grid; text-align: left; gap: 5px; padding: 0; color: var(--brand, #1d419a); background: transparent; border: 0; }
.ops-record-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ops-record-link > span { font-size: 11px; }
.ops-record-link > strong { color: var(--ink, #192c49); font-size: 13px; font-weight: 600; }
.ops-secondary { display: block; font-size: 11px; color: var(--muted, #53657e); margin-top: 5px; line-height: 1.55; overflow-wrap: anywhere; }
.ops-table td { overflow-wrap: anywhere; }
.ops-table .ops-text-cell { min-width: 130px; max-width: 300px; white-space: pre-wrap; }
.ops-actions-col { min-width: 170px; }
.ops-row-actions { gap: 5px; }
.ops-row-actions .tiny { font-size: 11px; padding: 5px 8px; white-space: nowrap; }
.ops-tag { font-weight: 550; padding: 3px 9px; border-radius: 5px; font-size: 11px; }
.ops-good { background: #e5f4eb; color: #256242; }
.ops-warn { background: #f5ead2; color: #895b1d; }
.ops-info { background: #e4effc; color: #265485; }
.ops-neutral { background: #e6ecf3; color: #526a87; }
.ops-quiet { background: #e9edf1; color: #526985; }
.ops-city-flow { font-weight: 600; white-space: nowrap; }
.ops-city-flow > span { margin: 0 8px; color: #94a6bd; }
.ops-media { color: #8a6228; font-size: 11px; }
.ops-scope-note { font-size: 11px; padding: 12px 0 0; }
.ops-progress { height: 4px; background: #e1e8f0; border-radius: 4px; width: 120px; margin-top: 7px; overflow: hidden; }
.ops-progress > span { display: block; height: 100%; background: #217fc4; }
.ops-empty { padding: 56px 20px 64px; }
.ops-empty h3 { font-size: 15px; margin: 10px 0 7px; color: var(--ink, #192c49); }
.ops-empty p { font-size: 12px; }
.ops-empty-mark { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid #c8d4e3; border-radius: 10px; background: #ecf2f9; font-size: 23px; font-weight: 400; color: #758dab; }
.ops-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.ops-fields { align-items: start; }
.ops-field { display: grid; gap: 7px; font-size: 13px; font-weight: 600; }
.ops-field input:not([type=checkbox]), .ops-field textarea, .ops-field select { width: 100%; font-size: 13px; font-weight: 400; }
.ops-field small { font-size: 11px; font-weight: 400; line-height: 1.7; }
.ops-wide { grid-column: 1 / -1; }
.ops-required { color: #a16533; font-weight: 500; }
.ops-checkbox { display: flex; align-items: flex-start; gap: 8px; border: 1px solid #d0d9e3; background: #f5f9fd; border-radius: 7px; padding: 11px; font-size: 12px; font-weight: 400; }
.ops-checkbox input[type=checkbox] { width: 15px; height: 15px; margin: 3px 0 0; flex: 0 0 15px; accent-color: #1d419a; }
.ops-form-note, .ops-warning-note, .ops-success-note { padding: 12px 14px; border-radius: 7px; font-size: 12px; line-height: 1.8; }
.ops-form-note { color: #4e647e; background: #eaf0f7; border: 1px solid #d3ddea; }
.ops-warning-note { color: #886022; background: #fbf3e4; border: 1px solid #ead9b7; }
.ops-success-note { color: #286548; background: #ecf7f0; border: 1px solid #cee8d8; }
.ops-form-error { padding: 10px 13px; border-radius: 7px; background: #fff0f2; color: #9b263c; font-size: 12px; }
.ops-form-error[hidden] { display: none; }
.ops-modal-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; border-top: 1px solid var(--line, #d7e1ee); padding-top: 15px; margin-top: 4px; }
.ops-modal-actions .btn { font-size: 12px; }
.btn.ops-danger { background: #a82c3c; color: #fff; border-color: #a82c3c; }
.btn.ops-danger:hover { background: #7f2031; }
.btn.ops-danger-text { color: #9d2538; }
.ops-detail-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 19px; }
.ops-detail-heading h2 { font-size: 24px; margin: 6px 0 4px; }
.ops-detail-heading p.muted { font-size: 12px; }
.ops-definition { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px; padding: 17px; border: 1px solid #d6dfea; background: #f7fafd; border-radius: 9px; margin: 0 0 18px; }
.ops-definition dt { color: var(--muted, #53657e); font-size: 11px; margin-bottom: 4px; }
.ops-definition dd { margin: 0; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.ops-detail-actions { margin: 16px 0; }
.ops-detail-note { font-size: 12px; margin: 15px 0; }
.ops-detail-section { margin: 22px 0; }
.ops-detail-section h3 { font-size: 14px; padding-bottom: 11px; border-bottom: 1px solid #d9e0e9; margin-bottom: 13px; }
.ops-detail-section h3 .muted { font-size: 11px; font-weight: 400; margin-left: 5px; }
.ops-detail-section > p { font-size: 13px; }
.ops-preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.ops-warning-note p { font-size: 12px; margin-top: 4px; }
.ops-related { display: grid; gap: 8px; }
.ops-related > div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #d9e0e9; border-radius: 7px; }
.ops-related .btn { margin-left: auto; }
.ops-history { list-style: none; margin: 0; padding: 0 0 0 5px; }
.ops-history li { display: flex; gap: 15px; padding: 0 0 20px; position: relative; }
.ops-history li:not(:last-child)::before { content: ''; position: absolute; left: 4px; top: 10px; bottom: -2px; width: 1px; background: #cdd9e7; }
.ops-history-dot { width: 9px; height: 9px; flex: 0 0 9px; border: 2px solid #6580a1; background: #f5f9fd; border-radius: 50%; margin-top: 6px; z-index: 1; }
.ops-history p { font-size: 12px; margin-bottom: 3px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ops-history small { font-size: 11px; }
.ops-count-summary { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #d1dbe8; border-radius: 8px; margin-bottom: 15px; overflow: hidden; }
.ops-count-summary > span { padding: 11px; font-size: 11px; color: #506783; background: #eff4fb; }
.ops-count-summary > span:not(:last-child) { border-right: 1px solid #d1dbe8; }
.ops-count-summary b { display: block; font: 600 23px/1.5 Consolas, monospace; color: #2a4362; }
.ops-count-table { min-width: 610px; }
.ops-count-table th, .ops-count-table td { padding-left: 8px !important; padding-right: 8px !important; }
.ops-count-table td { vertical-align: top; }
.ops-import-tools { justify-content: space-between; align-items: flex-end; }
.ops-import-tools .ops-field { flex: 1; min-width: 210px; }
.ops-import-tools input[type=file] { font-size: 12px; padding: 7px; }
.ops-import-tools .btn { font-size: 12px; }
.ops-import-form textarea[data-csv-text] { font-family: Consolas, 'PingFang SC', monospace; font-size: 11px; line-height: 1.75; min-height: 125px; }
.ops-import-form [data-csv-status] { font-size: 12px; }
.ops-import-errors { margin: 12px 0; color: #932b3c; font-size: 12px; }
.ops-import-errors summary { cursor: pointer; font-weight: 600; }
.ops-import-errors ul { max-height: 150px; overflow-y: auto; margin: 8px 0; padding-left: 22px; line-height: 1.9; }
.ops-csv-preview { max-height: 360px; margin: 12px 0; border: 1px solid #d2dce8; border-radius: 7px; }
.ops-csv-preview .ops-table { min-width: 640px; }
.ops-csv-preview th { position: sticky; top: 0; z-index: 1; }
.ops-csv-preview td { padding: 10px !important; }
.ops-error-text { color: #99273b; font-size: 11px; }
@media (min-width: 1200px) { .ops-table td { padding-top: 18px; padding-bottom: 18px; } }
@media (max-width: 850px) {
  .ops-page-actions { padding-top: 0; }
  .ops-status-tabs { padding: 0 14px; gap: 2px 12px; }
  .toolbar.ops-toolbar { padding: 0 14px; }
  .ops-table { min-width: 780px; }
  .ops-list-count { margin-left: 0; }
  .ops-status-tabs button { font-size: 11px; }
}
@media (max-width: 600px) {
  .ops-search { flex-basis: 100%; max-width: none; }
  .ops-toolbar select { max-width: 130px; }
  .ops-guidance { padding: 10px 12px; }
  .ops-status-tabs { column-gap: 12px; }
  .ops-status-tabs button { padding-top: 12px; padding-bottom: 10px; }
  .ops-definition { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .ops-detail-heading h2 { font-size: 21px; }
  .ops-detail-actions .btn { font-size: 11px; padding: 7px 10px; }
  .ops-count-summary { grid-template-columns: 1fr 1fr; }
  .ops-count-summary > span { border-bottom: 1px solid #d1dbe8; }
  .ops-count-summary > span:nth-child(2) { border-right: none; }
  .ops-count-summary > span:nth-child(n+3) { border-bottom: none; }
  .ops-modal-actions { flex-wrap: wrap; }
}
