:root {
  --his-blue: #087bc1;
  --his-dark: #075b91;
  --line: #c8d0d4;
  --soft-line: #dfe5e8;
  --paper: #fff;
  --work: #eef3f6;
  --text: #24292d;
  --muted: #66727a;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { min-width: 1180px; color: var(--text); background: #dfe7eb; font: 12px/1.35 "Microsoft YaHei", "SimSun", sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.scene { display: none; position: fixed; inset: 0; }
.scene.active { display: flex; }

/* HIS */
#his-scene { flex-direction: column; background: #e8eef1; }
.his-titlebar { height: 38px; flex: none; display: flex; align-items: center; color: #fff; background: linear-gradient(#0e8bd1, #0876b8); border-bottom: 1px solid #075987; }
.brand { height: 100%; min-width: 220px; display: flex; align-items: center; gap: 11px; padding: 0 12px; border-right: 1px solid rgba(255,255,255,.24); }
.hospital-name { font: bold 12px "SimSun", sans-serif; letter-spacing: 1px; }
.brand strong { font-size: 17px; font-weight: 600; }
.his-titlebar nav { flex: 1; display: flex; height: 100%; }
.his-titlebar nav button, .title-actions button { min-width: 78px; border: 0; border-right: 1px solid rgba(255,255,255,.13); background: transparent; color: #fff; }
.his-titlebar nav button:hover, .title-actions button:hover { background: rgba(0,0,0,.12); }
.title-actions { height: 100%; display: flex; align-items: center; gap: 15px; padding-left: 12px; white-space: nowrap; }
.title-actions button { min-width: 52px; }

.patient-toolbar { height: 36px; flex: none; display: flex; align-items: center; gap: 7px; padding: 3px 8px; background: #f8fafb; border-bottom: 1px solid #bfc8cd; }
.patient-toolbar label { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.patient-toolbar input { width: 148px; height: 25px; padding: 2px 5px; border: 1px solid #aeb9bf; background: #fff; }
.patient-toolbar label:nth-child(3) input { width: 92px; }
.patient-toolbar .quick-search { width: 175px; }
.patient-toolbar button, .document-toolbar button, .clinical-tabs button, .patient-banner button {
  height: 26px; padding: 0 10px; border: 1px solid #aeb9bf; background: linear-gradient(#fff,#e9eef1); border-radius: 1px;
}
.patient-toolbar button:active, .document-toolbar button:active { background: #dce5e9; }
.patient-toolbar button.primary { color: #fff; border-color: #05836f; background: #079b82; }
.patient-toolbar .check { margin-left: auto; }
.patient-toolbar .check input { width: auto; height: auto; }
.current-count { color: #fff; padding: 3px 7px; background: #3ca869; }
.notice-line { height: 24px; flex: none; padding: 4px 10px; color: #b73939; background: #fff8e5; border-bottom: 1px solid #e4d8b7; }

.his-workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: 285px minmax(620px, 1fr) 250px; }
.patient-queue, .clinical-area, .right-tools { min-width: 0; background: #fff; border-right: 1px solid #aeb9bf; }
.patient-queue { overflow: auto; }
table { border-collapse: collapse; }
.queue-table { width: 100%; table-layout: fixed; font-family: "SimSun", sans-serif; }
.queue-table th { height: 27px; background: #eef3f5; border: 1px solid #c7d0d4; font-weight: normal; }
.queue-table td { height: 24px; padding: 2px 5px; border-right: 1px solid #d5dcdf; border-bottom: 1px solid #dfe4e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-table th:nth-child(1) { width: 45px; }.queue-table th:nth-child(2) { width: 58px; }.queue-table th:nth-child(4) { width: 36px; }.queue-table th:nth-child(5) { width: 43px; }
.queue-table .group-row { padding-left: 8px; font-weight: bold; color: #33464f; background: #edf2f4; }
.queue-table tr.selected td { color: #fff; background: #1598d7; }

.clinical-area { display: flex; flex-direction: column; background: #d9e7f2; }
.patient-banner { height: 36px; flex: none; display: flex; align-items: center; gap: 14px; padding: 3px 9px; background: #f4f8fa; border-bottom: 1px solid #b9c4ca; }
.patient-banner strong { color: #be2a2a; font-size: 14px; }
.patient-banner button:first-of-type { margin-left: auto; }
.clinical-tabs { height: 31px; flex: none; display: flex; align-items: flex-end; padding-left: 3px; background: #e9eef1; border-bottom: 1px solid #9eabb1; }
.clinical-tabs button { height: 29px; min-width: 66px; padding: 0 8px; border-bottom: 0; }
.clinical-tabs button.active { position: relative; top: 1px; color: #086fa9; background: #fff; border-top: 2px solid #0782c4; }
.document-toolbar { height: 32px; flex: none; display: flex; gap: 4px; align-items: center; padding: 3px 7px; background: #fff; border-bottom: 1px solid #c4cdd1; }
.document-toolbar button { height: 24px; padding: 0 8px; }
.record-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 142px 1fr; padding: 7px; gap: 7px; overflow: hidden; }
.record-tree { padding: 8px 6px; background: #fff; border: 1px solid #aeb9bf; }
.record-tree strong { display: block; padding: 4px 7px 8px; border-bottom: 1px solid #d2d9dc; }
.record-tree button { width: 100%; height: 27px; text-align: left; padding-left: 17px; border: 0; background: #fff; }
.record-tree button.active { color: #075f94; background: #d9effb; }
.record-paper { width: min(680px, 95%); height: 100%; margin: 0 auto; padding: 20px 26px; overflow: auto; background: #fff; border: 1px solid #8ca1ae; box-shadow: 0 0 2px rgba(0,0,0,.28); }
.record-paper h1 { margin: 0 0 14px; text-align: center; font: bold 18px "SimSun", sans-serif; }
.paper-meta { display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 7px; border-bottom: 1px solid #333; }
.record-item { display: grid; grid-template-columns: 64px 1fr; margin-top: 8px; align-items: start; }
.record-item label { padding-top: 4px; font-weight: bold; font-family: "SimSun", sans-serif; }
.record-item textarea { width: 100%; height: 51px; resize: none; padding: 4px 5px; border: 1px solid transparent; line-height: 1.65; background: #fff; }
.record-item textarea:hover, .record-item textarea:focus { border-color: #aeb9bf; outline: none; }
.doctor-sign { margin-top: 16px; text-align: right; }

.right-tools { padding: 0 7px; background: #f8fafb; }
.tool-title { height: 34px; margin: 0 -7px 6px; padding: 8px 10px; font-weight: bold; background: #e7edef; border-bottom: 1px solid #bdc7cc; }
.tool-tabs { display: flex; border-bottom: 1px solid #aeb9bf; }
.tool-tabs button { flex: 1; height: 27px; border: 1px solid #bac4c9; border-bottom: 0; background: #edf2f4; }
.tool-tabs button.active { color: #0873ae; background: #fff; }
.right-tools > input { width: 100%; height: 26px; margin: 7px 0; padding: 3px 6px; border: 1px solid #aeb9bf; }
.tool-group { margin-bottom: 8px; border: 1px solid #c6ced2; background: #fff; }
.tool-group strong { display: block; padding: 6px 8px; background: #edf2f4; border-bottom: 1px solid #d1d8dc; }
.tool-group button { display: block; width: 100%; height: 27px; text-align: left; padding-left: 17px; border: 0; border-bottom: 1px solid #edf0f2; background: #fff; }
.tool-group button:hover { background: #e6f3fa; }
.statusbar { height: 25px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 9px; color: #526068; background: linear-gradient(#f5f7f8,#dce3e6); border-top: 1px solid #aeb9bf; }

/* dialogs */
.modal-mask { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; background: rgba(30,42,48,.32); }
.legacy-dialog { color: #252b2f; background: #f8f9fa; border: 1px solid #6f8b9a; box-shadow: 0 5px 22px rgba(0,0,0,.32); }
.dialog-title { height: 32px; display: flex; align-items: center; justify-content: space-between; padding-left: 10px; color: #fff; font-weight: bold; background: #087fc2; }
.dialog-title button { width: 34px; height: 31px; border: 0; color: #fff; background: transparent; font-size: 18px; }
.dialog-title button:hover { background: #d94a45; }
.dialog-body { padding: 30px 44px 22px; }
.dialog-body label { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.dialog-body input { height: 27px; border: 1px solid #aeb9bf; }
.dialog-body .check input { width: auto; }
.dialog-foot { min-height: 48px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 8px 14px; border-top: 1px solid #cdd5d9; background: #f1f4f5; }
.dialog-foot button { min-width: 78px; height: 28px; border: 1px solid #9ca9af; background: linear-gradient(#fff,#e5eaed); }
.dialog-foot button.primary { color: #fff; border-color: #0870aa; background: #087fc2; }
.time-dialog { width: 535px; }
.time-dialog .dialog-foot { justify-content: center; }

.order-dialog { width: 690px; }
.order-patient { padding: 8px 12px; color: #8b2424; background: #fff7df; border-bottom: 1px solid #e1d4af; }
.order-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; padding: 18px 22px; background: #fff; }
.order-form label { display: grid; grid-template-columns: 76px 1fr; align-items: center; }
.order-form label.wide { grid-column: 1 / -1; }
.order-form input, .order-form select, .order-form textarea { width: 100%; height: 29px; padding: 3px 6px; border: 1px solid #aeb9bf; background: #fff; }
.order-form textarea { height: 55px; resize: none; }

.duplicate-dialog { width: 860px; }
.warning-title { background: #bb6d12; }
.duplicate-summary { padding: 11px 15px; color: #6c3d08; font-weight: bold; background: #fff4d6; border-bottom: 1px solid #e1c589; }
.duplicate-summary span { display: block; margin-top: 5px; color: #775b37; font-weight: normal; }
.duplicate-dialog table { width: calc(100% - 28px); margin: 14px; background: #fff; }
.duplicate-dialog th, .duplicate-dialog td { height: 32px; padding: 5px 8px; text-align: left; border: 1px solid #cbd3d7; }
.duplicate-dialog th { background: #e6eef2; }
.link { padding: 0 6px; border: 0; color: #056ca5; background: transparent; }
.link:hover { text-decoration: underline; }
.continue-reason { display: grid; grid-template-columns: 1fr 1.4fr; gap: 15px; padding: 4px 15px 15px; }
.continue-reason label { display: grid; grid-template-columns: 86px 1fr; align-items: center; }
.continue-reason input, .continue-reason select { height: 29px; border: 1px solid #aeb9bf; }

.report-dialog { width: 760px; background: #fff; }
.report-head { padding: 20px 24px 12px; text-align: center; }
.report-head strong { display: block; font: bold 18px "SimSun", sans-serif; }
.report-head span { display: block; margin-top: 6px; font-size: 15px; }
.report-dialog > table { width: calc(100% - 48px); margin: 0 24px; }
.report-dialog th, .report-dialog td { height: 31px; padding: 5px 8px; border: 1px solid #bec8cd; }
.report-dialog th { width: 78px; background: #eff3f5; font-weight: normal; }
.report-text { min-height: 92px; margin: 0 24px; padding: 12px 5px; border-bottom: 1px solid #c9d0d4; }
.report-text p { line-height: 1.8; }
.report-sign { padding: 12px 24px; text-align: right; }

/* simulated browser and cloud page */
.browser-scene { flex-direction: column; background: #fff; }
.browser-tabs { height: 37px; display: flex; align-items: flex-end; padding: 5px 10px 0; background: #e7ebee; border-bottom: 1px solid #bfc6ca; }
.browser-tabs .tab { width: 245px; height: 30px; padding: 7px 12px; background: #fff; border: 1px solid #c5cbcf; border-bottom: 0; border-radius: 5px 5px 0 0; }
.browser-tabs > button { margin-left: auto; align-self: center; border: 0; font-size: 20px; background: transparent; }
.addressbar { height: 39px; display: flex; align-items: center; gap: 4px; padding: 5px 8px; background: #f8f9fa; border-bottom: 1px solid #d5dade; }
.addressbar button { width: 31px; height: 27px; border: 0; background: transparent; font-size: 16px; }
.addressbar span { flex: 1; height: 27px; padding: 6px 12px; color: #565e63; background: #eef1f3; border-radius: 14px; }
.cloud-page { flex: 1; min-height: 0; overflow: auto; background: #f4f6f8; }
.cloud-header { height: 44px; display: flex; align-items: center; padding: 0 16px; color: #fff; background: #1477bf; }
.cloud-header strong { font-size: 16px; }
.cloud-header span { margin-left: 13px; padding-left: 13px; border-left: 1px solid rgba(255,255,255,.5); font-size: 14px; }
.cloud-header button { margin-left: auto; height: 27px; color: #fff; border: 1px solid rgba(255,255,255,.65); background: transparent; }
.auth-page { width: 700px; margin: 90px auto 0; }
.auth-title { padding: 13px 0; text-align: center; font-size: 22px; font-weight: bold; }
.auth-panel { display: grid; grid-template-columns: 280px 1fr; min-height: 330px; background: #fff; border: 1px solid #d2d9dd; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.qr-wrap { padding: 34px; text-align: center; border-right: 1px solid #e0e5e8; }
.qr-grid { width: 190px; height: 190px; display: grid; grid-template-columns: repeat(25, 1fr); grid-template-rows: repeat(25, 1fr); margin: 0 auto 22px; padding: 9px; background: #fff; border: 1px solid #b9c2c7; }
.qr-cell.on { background: #111; }
.qr-wrap button { width: 190px; height: 30px; border: 1px solid #0875b6; color: #fff; background: #1487cb; }
.auth-fields { padding: 36px 28px; }
.auth-fields table { width: 100%; }
.auth-fields th, .auth-fields td { padding: 9px 5px; text-align: left; border-bottom: 1px solid #e1e5e7; }
.auth-fields th { width: 82px; color: #68747a; font-weight: normal; }
.auth-fields p { margin-top: 24px; color: #87570a; line-height: 1.7; }
.query-block, .result-block { margin: 10px 14px; background: #fff; border: 1px solid #d7dee2; }
.query-block h2, .result-title h2 { margin: 0; padding: 8px 12px; border-left: 4px solid #1477bf; font-size: 14px; }
.query-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; padding: 12px; border-top: 1px solid #e4e8ea; }
.query-row label { display: grid; gap: 5px; color: #59666d; }
.query-row input, .query-row select { width: 175px; height: 29px; padding: 3px 6px; border: 1px solid #bfc9ce; background: #fff; }
.query-row label:nth-child(4) input { width: 205px; }
.query-row label:nth-child(5) input { width: 225px; }
.blue { height: 29px; padding: 0 18px; border: 1px solid #0b6fa9; color: #fff; background: #147fc1; }
.result-title { display: flex; align-items: center; justify-content: space-between; padding-right: 12px; }
.result-title span { color: #557062; }
.result-table { width: 100%; table-layout: fixed; border-top: 1px solid #d4dce0; }
.result-table th { height: 35px; padding: 4px 6px; background: #eaf2f8; border: 1px solid #d5dde1; font-weight: normal; }
.result-table td { height: 38px; padding: 5px 7px; border: 1px solid #e0e5e7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-table tr:hover td { background: #f2f8fc; }
.result-table th:nth-child(1) { width: 46px; }.result-table th:nth-child(2) { width: 210px; }.result-table th:nth-child(3) { width: 72px; }
.result-table th:nth-child(4) { width: 140px; }.result-table th:nth-child(5) { width: 82px; }.result-table th:nth-child(6) { width: 138px; }
.result-table th:nth-child(7) { width: 70px; }.result-table th:nth-child(8) { width: 120px; }.result-table th:nth-child(9) { width: 140px; }
.pager { padding: 10px 12px; text-align: right; }
.pager button { min-width: 28px; height: 26px; margin-left: 4px; border: 1px solid #c6ced2; background: #fff; }
.pager button.active { color: #fff; background: #147fc1; }

/* viewer */
.viewer-scene { flex-direction: column; color: #d8d8d8; background: #090909; }
.viewer-toolbar { height: 42px; flex: none; display: flex; align-items: center; padding: 0 10px; background: #242424; border-bottom: 1px solid #555; }
.viewer-brand { width: 180px; font-weight: bold; color: #fff; }
.viewer-actions { display: flex; gap: 4px; }
.viewer-toolbar button, .viewer-left button { height: 27px; border: 1px solid #555; color: #ddd; background: #2f2f2f; }
.viewer-toolbar button.active, .viewer-toolbar button:hover, .viewer-left button:hover { color: #fff; border-color: #40a468; background: #383838; }
.viewer-workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: 150px 1fr 176px; }
.viewer-left { background: #282828; border-right: 1px solid #4d4d4d; overflow: auto; }
.viewer-section { padding: 10px 7px; border-bottom: 1px solid #4a4a4a; }
.viewer-section strong { display: block; margin-bottom: 8px; color: #ededed; }
.viewer-section > button { display: block; width: 100%; margin-bottom: 4px; text-align: left; padding-left: 12px; }
.layout-buttons { display: flex; gap: 3px; }
.layout-buttons button { flex: 1; height: 27px; border: 1px solid #555; color: #ddd; background: #333; }
.report-mini p { margin: 6px 0; color: #bdbdbd; line-height: 1.5; }
.viewport-grid { min-width: 0; display: flex; background: #000; }
.dicom-viewport { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #34a75b; }
.dicom-viewport img { max-width: 82%; max-height: 82%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.image-layer { width: min(74vh, 72vw); height: min(74vh, 72vw); position: relative; transform-origin: center; display: flex; align-items: center; justify-content: center; }
.image-layer img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.image-layer svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.measure-line { stroke: #42e0ad; stroke-width: 2; }.measure-point { fill: #42e0ad; }.measure-text { fill: #fff; font-size: 15px; font-family: Arial, sans-serif; }
.corner { position: absolute; z-index: 4; font: 11px/1.45 Arial, sans-serif; color: #e7e7e7; text-shadow: 1px 1px #000; pointer-events: none; }
.corner.top-left { left: 7px; top: 7px; }.corner.top-right { top: 7px; right: 7px; text-align: right; }
.corner.bottom-left { left: 7px; bottom: 7px; }.corner.bottom-right { right: 7px; bottom: 7px; text-align: right; }
.orientation { position: absolute; z-index: 4; font: bold 13px Arial; color: #e8e8e8; }
.orientation.top { top: 7px; left: 50%; }.orientation.left { left: 7px; top: 50%; }.orientation.right { right: 7px; top: 50%; }
.compare-viewport { border-left: 1px solid #5e5e5e; filter: contrast(1.14) brightness(.85); }
.viewer-loading { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #090909; }
.viewer-loading span, .full-loading span { width: 27px; height: 27px; border: 4px dotted #ddd; border-top-color: #cb7a27; border-radius: 50%; animation: spin 1.1s linear infinite; }
.viewer-loading p { margin-top: 12px; color: #aaa; }
.series-panel { background: #202020; border-left: 1px solid #4d4d4d; overflow: auto; }
.patient-study { display: grid; grid-template-columns: 1fr auto; gap: 4px; padding: 9px; border-bottom: 1px solid #4d4d4d; }
.patient-study strong { color: #fff; }.patient-study span:last-child { grid-column: 1 / -1; color: #aaa; }
.series { width: 100%; display: grid; grid-template-columns: 70px 1fr; gap: 7px; align-items: center; padding: 7px; text-align: left; color: #cfcfcf; border: 0; border-bottom: 1px solid #404040; background: #202020; }
.series img { width: 70px; height: 70px; object-fit: cover; filter: grayscale(1); }
.series.active { outline: 1px solid #3daf63; outline-offset: -2px; background: #292929; }
.viewer-status { height: 24px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 8px; color: #bbb; background: #252525; border-top: 1px solid #505050; }

.full-loading { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; background: rgba(239,244,247,.94); }
.full-loading > div { width: 242px; min-height: 94px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f8fafb; border: 1px solid #c1cbd0; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.full-loading span { width: 20px; height: 20px; border-width: 3px; border-color: #b9c4c9; border-top-color: #087fc2; }
.full-loading p { margin: 9px 0 2px; color: #59666d; }.full-loading small { color: #7c878d; }
.toast { position: fixed; left: 50%; top: 66px; z-index: 1000; transform: translateX(-50%); min-width: 230px; padding: 9px 18px; color: #fff; text-align: center; background: rgba(38,47,52,.92); border: 1px solid #10171a; }
@keyframes spin { to { transform: rotate(360deg); } }

/* independent authorization window */
body.auth-window { position: relative; min-width: 1000px; overflow: hidden; color: #333; background: #fff; }
.scan-shell { position: fixed; inset: 0; z-index: 2; background: rgba(255,255,255,.88); }
.scan-topline { height: 32px; padding: 8px 13px; color: #606b71; border-bottom: 1px solid #e2e5e7; background: rgba(255,255,255,.96); }
.scan-topline span { display: inline-block; width: 4px; height: 13px; margin-right: 5px; vertical-align: -2px; background: #1979b8; }
.watermark-grid { position: fixed; inset: 33px 0 0; z-index: 1; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 132px; overflow: hidden; padding: 24px 5px; color: rgba(92,112,124,.075); background: #fff; pointer-events: none; }
.watermark-grid span { align-self: center; justify-self: center; width: 130px; transform: rotate(-29deg); font: 10px/1.35 Arial, sans-serif; text-align: center; }
.scan-mode { display: none; position: absolute; left: 50%; top: 47%; width: 320px; transform: translate(-50%,-50%); text-align: center; }
.scan-mode.active { display: block; }
.scan-mode h1 { margin: 0 0 22px; font-size: 20px; font-weight: 600; color: #3a3f42; }
.qr-button { width: 128px; height: 128px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; padding: 4px; border: 0; background: #fff; }
.qr-button img { display: block; width: 120px; height: 120px; object-fit: fill; image-rendering: pixelated; filter: grayscale(1) contrast(2.35); }
.qr-button:hover { outline: 1px solid #aeb9bf; }
.manual-refresh { display: block; margin: 0 auto 8px; padding: 0; color: #7d8589; border: 0; background: transparent; font-size: 11px; }
.manual-refresh:hover { color: #34799c; text-decoration: underline; }
.scan-mode p { margin: 4px 0; color: #757d81; font-size: 11px; }
.mode-switch { height: 30px; margin-top: 13px; padding: 0 13px; color: #4e6d7c; border: 1px solid #8aa8b5; background: #fff; }
.mode-switch:hover { color: #176e9d; border-color: #4f98bc; background: #f6fbfd; }
.authorization-results { position: fixed; inset: 0; z-index: 4; overflow: auto; background: #f4f6f8; }
.authorization-results .cloud-header { position: sticky; top: 0; z-index: 2; }
.result-table-scroll { width: 100%; overflow: hidden; border-top: 1px solid #d4dce0; }
.result-table-scroll .result-table { width: 100%; min-width: 0; border-top: 0; }
.result-table-scroll .result-table th:nth-child(1) { width: 42px; }
.result-table-scroll .result-table th:nth-child(2) { width: 250px; }
.result-table-scroll .result-table th:nth-child(3) { width: 62px; }
.result-table-scroll .result-table th:nth-child(4) { width: 250px; }
.result-table-scroll .result-table th:nth-child(5) { width: 72px; }
.result-table-scroll .result-table th:nth-child(6) { width: 128px; }
.result-table-scroll .result-table th:nth-child(7) { width: 52px; }
.result-table-scroll .result-table th:nth-child(8) { width: 112px; }
.result-table-scroll .result-table th:nth-child(9) { width: 126px; }
.index-number { font-family: Arial, sans-serif; text-overflow: ellipsis; }
.link-anchor { display: inline-block; text-decoration: none; }
.link-anchor:hover { text-decoration: underline; }

@media (max-width: 1280px) {
  .his-workspace { grid-template-columns: 265px minmax(600px, 1fr) 225px; }
  .his-titlebar nav button { min-width: 65px; }
  .record-layout { grid-template-columns: 125px 1fr; }
}
