:root { color-scheme: dark; --bg: #06080c; --panel: #10151d; --panel-2: #151c27; --panel-3: #202b3a; --stroke: #2a3444; --stroke-strong: #3a475c; --muted: #92a3ba; --text: #eff5ff; --blue: #3474f6; --cyan: #19d4c2; --green: #12b981; --amber: #f0b54e; --red: #fb7185; --shadow: 0 18px 58px rgba(0, 0, 0, 0.38); } * { box-sizing: border-box; } .hidden { display: none !important; } body { margin: 0; min-width: 1280px; min-height: 100vh; background: linear-gradient(90deg, rgba(25, 212, 194, 0.05) 0 1px, transparent 1px 100%), linear-gradient(180deg, rgba(52, 116, 246, 0.04) 0 1px, transparent 1px 100%), #06080c; background-size: 42px 42px; color: var(--text); font-family: "Aptos", "Segoe UI", "Microsoft YaHei", sans-serif; } button, input, select { font: inherit; } button { border: 0; cursor: pointer; } button:disabled { cursor: wait; opacity: 0.66; } .login-overlay { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(6, 8, 12, 0.86); backdrop-filter: blur(14px); } .login-overlay.hidden { display: none; } .login-panel { width: 380px; padding: 28px; border: 1px solid var(--stroke); border-radius: 10px; background: linear-gradient(180deg, rgba(21, 28, 39, 0.98), rgba(8, 11, 16, 0.98)); box-shadow: var(--shadow); } .brand-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 8px; background: var(--blue); font-weight: 800; } .login-panel h1 { margin: 18px 0 24px; font-size: 24px; } .login-panel label { display: block; margin-bottom: 14px; color: var(--muted); } .login-panel span { display: block; margin-bottom: 7px; font-size: 13px; } .login-panel input, .search, .note-input, .settings-form input, .settings-form select { width: 100%; border: 1px solid var(--stroke); border-radius: 8px; outline: none; background: #080c12; color: var(--text); } .login-panel input, .search, .note-input, .settings-form input, .settings-form select { height: 38px; padding: 0 12px; } .login-panel button, .primary-btn { height: 40px; border-radius: 8px; background: var(--blue); color: white; font-weight: 700; } .login-panel button, .primary-btn { width: 100%; } #loginError { min-height: 18px; color: var(--red); font-size: 13px; } .app-shell { min-height: 100vh; display: grid; grid-template-rows: 66px 1fr; } .topbar { display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--stroke); background: rgba(8, 11, 17, 0.95); backdrop-filter: blur(12px); } .product { display: flex; align-items: center; gap: 14px; } .logo-dot { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--cyan), var(--blue)); } .product strong { display: block; font-size: 17px; } .product span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; } .top-actions { display: flex; align-items: center; gap: 10px; } .status-pill { min-width: 118px; height: 32px; display: grid; place-items: center; border: 1px solid var(--stroke); border-radius: 999px; color: var(--muted); font-size: 12px; } .status-pill.online { border-color: rgba(18, 185, 129, 0.35); color: #9af4cf; background: rgba(18, 185, 129, 0.08); } .status-pill.offline { border-color: rgba(251, 113, 133, 0.35); color: #fecdd3; background: rgba(251, 113, 133, 0.08); } .ghost-btn, .dark-btn, .tool-row button, .segmented button, .icon-btn { height: 34px; padding: 0 13px; border: 1px solid var(--stroke); border-radius: 8px; background: var(--panel-2); color: var(--text); white-space: nowrap; word-break: keep-all; } .ghost-btn:hover, .dark-btn:hover, .tool-row button:hover, .segmented button:hover { border-color: var(--stroke-strong); background: #1b2532; } .dark-btn { background: #070a10; } .workspace { height: calc(100vh - 66px); display: grid; grid-template-columns: 300px 450px minmax(650px, 1fr); gap: 14px; padding: 14px; } .study-pane, .series-pane, .viewer-pane { min-height: 0; border: 1px solid var(--stroke); border-radius: 8px; background: rgba(16, 21, 29, 0.9); box-shadow: var(--shadow); } .study-pane, .series-pane { padding: 14px; display: grid; grid-template-rows: auto auto auto auto auto 1fr; gap: 12px; } .series-pane { grid-template-rows: auto 1fr; } .pane-head, .annotation-head, .settings-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .pane-head h2, .annotation-head h2 { margin: 0; font-size: 15px; } .pane-head span, .annotation-head span, .settings-title span { color: var(--muted); font-size: 12px; } .sort-tools { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; } .series-head-tools { max-width: 330px; } .sort-btn { height: 26px; min-width: 68px; padding: 0 8px; border: 1px solid var(--stroke); border-radius: 7px; background: #0b0f16; color: var(--muted); font-size: 11px; } .sort-arrow { display: inline-block; min-width: 10px; margin-left: 2px; color: #d7e4fa; font-weight: 800; text-align: center; } .sort-btn.active { border-color: var(--blue); background: rgba(52, 116, 246, 0.2); color: var(--text); } .study-filter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .study-part-filter { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; } .study-filter button, .study-part-filter button { height: 30px; flex: 0 0 auto; border: 1px solid var(--stroke); border-radius: 7px; background: #0b0f16; color: var(--muted); font-size: 12px; } .study-part-filter button { min-width: 66px; padding: 0 10px; } .study-filter button.active, .study-part-filter button.active { border-color: rgba(25, 212, 194, 0.62); color: #baf8ee; background: rgba(25, 212, 194, 0.08); } .study-list, .series-grid { min-height: 0; overflow: auto; padding-right: 4px; } .study-card { position: relative; width: 100%; padding: 12px; margin-bottom: 10px; border: 1px solid transparent; border-radius: 8px; background: #0b0f16; color: var(--text); text-align: left; cursor: pointer; } .study-card-status-stack { position: absolute; top: 10px; right: 10px; max-width: 96px; display: grid; justify-items: end; gap: 6px; } .study-status-badge { min-width: 48px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; border: 1px solid rgba(146, 163, 186, 0.25); border-radius: 999px; color: var(--muted); font-size: 10px; font-style: normal; font-weight: 800; cursor: pointer; } .study-part-tags { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px; } .study-part-tags em { max-width: 92px; padding: 2px 6px; overflow: hidden; border: 1px solid rgba(25, 212, 194, 0.34); border-radius: 999px; color: #baf8ee; background: rgba(25, 212, 194, 0.07); font-size: 10px; font-style: normal; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; } .study-status-badge:hover { border-color: rgba(239, 245, 255, 0.58); color: var(--text); } .study-status-badge.status-complete { border-color: rgba(18, 185, 129, 0.62); color: #9af4cf; background: rgba(18, 185, 129, 0.09); } .study-status-badge.status-incomplete { border-color: rgba(240, 181, 78, 0.56); color: #ffe0a3; background: rgba(240, 181, 78, 0.09); } .study-card.active { border-color: rgba(52, 116, 246, 0.82); background: linear-gradient(180deg, rgba(52, 116, 246, 0.22), #0b0f16); } .study-card strong, .series-card strong { display: block; font-size: 14px; } .study-card strong, .study-patient { max-width: calc(100% - 104px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .study-patient, .study-meta span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; } .study-meta { margin-top: 8px; display: grid; gap: 4px; } .study-meta span { margin-top: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .study-summary-line { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px; } .study-summary-line:has(.study-export-btn) { grid-template-columns: minmax(0, 1fr) 28px; } .study-summary-line .study-export-btn { justify-self: end; } .study-export-btn { width: 28px; min-width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid var(--stroke); border-radius: 50%; background: rgba(21, 28, 39, 0.92); color: #dbe8ff; font-size: 11px; font-style: normal; font-weight: 800; } .study-export-btn:hover { border-color: rgba(25, 212, 194, 0.68); color: #baf8ee; background: rgba(25, 212, 194, 0.1); } .study-export-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .series-grid { display: grid; grid-template-columns: 1fr; align-content: start; gap: 12px; } .series-card { width: 100%; min-height: 156px; display: grid; grid-template-columns: 142px minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid transparent; border-radius: 8px; background: #0b0f16; color: var(--text); text-align: left; } .series-card.active { border-color: rgba(25, 212, 194, 0.72); background: #0d141c; } .series-card.skipped { border-color: rgba(240, 181, 78, 0.36); background: linear-gradient(180deg, rgba(240, 181, 78, 0.1), #0b0f16 42%); } .thumb { position: relative; width: 132px; height: 132px; align-self: start; overflow: hidden; border: 1px solid #1d2734; border-radius: 6px; background: linear-gradient(45deg, rgba(255, 255, 255, 0.025) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.025) 75%), #020306; } .thumb img { width: 100%; height: 100%; display: block; object-fit: contain; } .thumb-state { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 12px; background: rgba(2, 3, 6, 0.62); } .thumb-ready .thumb-state { display: none; } .thumb-failed .thumb-state { color: #fecdd3; } .thumb b, .thumb i { position: absolute; right: 8px; padding: 3px 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.74); color: #f8fafc; font-size: 11px; font-style: normal; } .thumb b { bottom: 8px; } .thumb i { top: 8px; background: rgba(240, 181, 78, 0.86); color: #1b1305; font-weight: 700; } .series-copy { min-width: 0; display: grid; align-content: start; gap: 7px; } .loading-card { pointer-events: none; opacity: 0.78; } .series-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .shot-time, .series-copy small { color: var(--muted); font-size: 12px; } .tag-line { display: flex; flex-wrap: wrap; gap: 6px; } .tag-line em { max-width: 100%; padding: 3px 7px; overflow: hidden; border: 1px solid rgba(146, 163, 186, 0.18); border-radius: 999px; color: #c8d6ea; font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; } .tag-line .tag-manual { border-color: rgba(25, 212, 194, 0.58); color: #baf8ee; background: rgba(25, 212, 194, 0.08); } .tag-line .tag-ai { border-color: rgba(240, 181, 78, 0.65); color: #ffe0a3; background: rgba(240, 181, 78, 0.1); } .tag-line .tag-warn { border-color: rgba(251, 113, 133, 0.72); color: #fecdd3; background: rgba(251, 113, 133, 0.1); } .viewer-pane { min-width: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; } .viewer-toolbar { display: flex; align-items: center; gap: 10px; min-width: 0; overflow-x: auto; overflow-y: hidden; padding: 12px; border-bottom: 1px solid var(--stroke); background: rgba(8, 11, 17, 0.86); } .viewer-toolbar::-webkit-scrollbar { height: 6px; } .viewer-toolbar::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(146, 163, 186, 0.34); } .segmented { flex: 0 0 auto; display: flex; gap: 5px; padding: 5px; border: 1px solid var(--stroke); border-radius: 9px; background: var(--panel); } .segmented button.active { border-color: var(--blue); background: var(--blue); } .segmented button, .tool-row button { flex: 0 0 auto; } .tool-row { flex: 0 0 auto; display: flex; gap: 6px; margin-left: auto; } .viewer-stage { min-height: 0; display: grid; grid-template-rows: minmax(360px, 1fr) auto; } .image-wrap { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; background: #000; cursor: grab; } .image-wrap.dragging { cursor: grabbing; } #dicomImage { max-width: calc(100% - 64px); max-height: 100%; object-fit: contain; transform-origin: center center; will-change: transform; user-select: none; } .image-empty { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: var(--muted); font-size: 13px; letter-spacing: 0; pointer-events: none; background: rgba(0, 0, 0, 0.22); } .image-empty.hidden { display: none; } .image-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: rgba(245, 248, 255, 0.86); font-family: "Consolas", "Cascadia Mono", monospace; font-size: 14px; line-height: 1.25; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95); } .image-overlay.hidden { display: none; } .ov { position: absolute; max-width: 42%; white-space: pre-line; } .ov-left-top { top: 12px; left: 14px; } .ov-right-top { top: 12px; right: 54px; text-align: right; } .ov-left-bottom { left: 14px; bottom: 12px; } .ov-right-bottom { right: 54px; bottom: 12px; text-align: right; } .slice-rail { position: absolute; top: 16px; right: 12px; bottom: 16px; width: 38px; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; padding: 10px 0; border: 1px solid rgba(146, 163, 186, 0.24); border-radius: 8px; background: rgba(8, 12, 18, 0.86); backdrop-filter: blur(6px); } #sliceSlider { width: 28px; height: 100%; writing-mode: vertical-lr; direction: ltr; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; } #sliceSlider::-webkit-slider-runnable-track { width: 4px; height: 100%; border-radius: 999px; background: rgba(146, 163, 186, 0.38); } #sliceSlider::-webkit-slider-thumb { width: 16px; height: 16px; margin-left: -6px; border: 2px solid #d8fbff; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 0 3px rgba(25, 212, 194, 0.16); -webkit-appearance: none; appearance: none; } #sliceSlider::-moz-range-track { width: 4px; height: 100%; border-radius: 999px; background: rgba(146, 163, 186, 0.38); } #sliceSlider::-moz-range-progress { background: transparent; } #sliceSlider::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #d8fbff; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 0 3px rgba(25, 212, 194, 0.16); } #sliceText { margin-top: 8px; color: var(--muted); font-size: 11px; writing-mode: vertical-rl; } .annotation-panel { min-width: 0; padding: 12px; border-top: 1px solid var(--stroke); background: var(--panel); } .annotation-head { margin-bottom: 10px; } .ai-btn { min-width: 86px; color: #baf8ee; } .source-legend { display: flex; gap: 12px; margin: -2px 0 10px; color: var(--muted); font-size: 12px; } .source-legend span { display: flex; align-items: center; gap: 5px; } .manual-dot, .ai-dot { width: 9px; height: 9px; display: inline-block; border-radius: 999px; } .manual-dot { background: var(--cyan); } .ai-dot { background: var(--amber); } .part-grid { display: grid; grid-template-columns: repeat(7, minmax(78px, 1fr)); gap: 8px; } .part-grid label, .phase-options label { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 0 10px; border: 1px solid var(--stroke); border-radius: 8px; color: var(--text); background: #0b0f16; white-space: nowrap; } .part-grid label:has(input:checked), .phase-options label:has(input:checked) { border-color: rgba(25, 212, 194, 0.58); background: rgba(25, 212, 194, 0.1); } .part-grid label.manual-selected, .phase-options label.manual-selected { border-color: rgba(25, 212, 194, 0.72); box-shadow: inset 3px 0 0 rgba(25, 212, 194, 0.95); } .part-grid label.ai-selected, .phase-options label.ai-selected { border-color: rgba(240, 181, 78, 0.72); background: rgba(240, 181, 78, 0.1); box-shadow: inset 3px 0 0 rgba(240, 181, 78, 0.95); } .phase-options label.warn-option:has(input:checked) { border-color: rgba(251, 113, 133, 0.78); color: #fecdd3; background: rgba(251, 113, 133, 0.12); } .part-grid .skip-option:has(input:checked) { border-color: rgba(240, 181, 78, 0.72); background: rgba(240, 181, 78, 0.12); } .part-grid input:disabled + * { color: var(--muted); } .phase-box { display: none; margin-top: 10px; } .phase-box.visible { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; } .phase-box > span { color: var(--muted); font-size: 12px; } .phase-options { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; } .phase-options label { flex: 0 0 126px; } .chest-window-options label { flex-basis: 132px; } .annotation-actions { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px; margin-top: 10px; } .note-input { height: 38px; } .save-btn { height: 38px; } .modal { position: fixed; inset: 0; z-index: 12; display: grid; place-items: center; background: rgba(6, 8, 12, 0.68); backdrop-filter: blur(12px); } .modal.hidden { display: none; } .modal-card { width: min(900px, 86vw); max-height: 82vh; overflow: auto; border: 1px solid #d7e1ef; border-radius: 10px; background: #f8fafc; color: #132033; box-shadow: var(--shadow); } .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #e2e8f0; } .modal-head h2 { margin: 0 0 4px; font-size: 18px; } .modal-head span { color: #7890ad; font-size: 13px; } .icon-btn { width: 36px; padding: 0; background: #eef2f7; color: #18304f; } .info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 24px; } .export-modal-card { width: min(820px, 90vw); } .export-modal-tools, .export-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-bottom: 1px solid #e2e8f0; } .export-modal-foot { border-top: 1px solid #e2e8f0; border-bottom: 0; } .export-modal-tools span, .export-modal-foot span { color: #53677f; font-size: 13px; } .export-modal-tools div { display: flex; gap: 8px; } .export-modal-tools button, .export-modal-foot button { height: 34px; padding: 0 13px; border: 1px solid #cdd8e7; border-radius: 8px; background: white; color: #17314f; font-weight: 700; } .export-modal-foot button { min-width: 130px; border-color: #1d5ff0; background: #1d5ff0; color: white; } .export-modal-foot button:disabled { cursor: not-allowed; opacity: 0.55; } .export-series-list { max-height: 52vh; overflow: auto; padding: 12px 24px; } .export-series-item { min-height: 74px; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 12px; border: 1px solid #dce6f2; border-radius: 8px; background: white; color: #132033; } .export-series-item + .export-series-item { margin-top: 8px; } .export-series-item.skipped { background: #fff8ed; } .export-series-item input { margin-top: 3px; accent-color: #19a99a; } .export-series-item strong, .export-series-item span, .export-series-item em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .export-series-item strong { color: #132033; font-size: 14px; } .export-series-item span { margin-top: 5px; color: #53677f; font-size: 12px; } .export-series-item em { margin-top: 6px; color: #08776c; font-size: 12px; font-style: normal; font-weight: 700; } .export-empty { margin: 0; padding: 24px; color: #53677f; text-align: center; } .info-card, .settings-section { padding: 16px; border-radius: 8px; background: #f1f5f9; } .info-card h3, .settings-title h3 { margin: 0 0 12px; font-size: 14px; } .info-row { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; color: #7b8da7; font-size: 13px; } .info-row b { color: #14233a; text-align: right; overflow-wrap: anywhere; } .settings-content { max-width: 1180px; display: grid; gap: 14px; margin: 0 auto; padding: 24px; color: #132033; } .settings-page { min-height: calc(100vh - 66px); overflow: auto; background: rgba(6, 8, 12, 0.78); } .settings-page-head { max-width: 1180px; margin: 0 auto; padding: 22px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; } .settings-page-head h1 { margin: 0; font-size: 22px; } .settings-page-head span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; } .settings-section.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .settings-section { border: 1px solid #dbe6f3; color: #132033; box-shadow: 0 12px 28px rgba(12, 24, 44, 0.1); } .settings-section h3, .settings-section strong, .settings-section label { color: #132033; } .settings-title span { color: #53677f; } .settings-form { display: grid; grid-template-columns: 1fr 1fr 140px 88px; gap: 8px; margin: 10px 0 14px; } .settings-form input, .settings-form select { border-color: #cdd8e7; background: white; color: #132033; } .settings-form input::placeholder { color: #64748b; } .settings-form button { border-radius: 8px; background: #1d5ff0; color: white; font-weight: 700; } .settings-action { width: 100%; height: 36px; margin-top: 12px; border: 1px solid rgba(52, 116, 246, 0.45); border-radius: 8px; background: rgba(52, 116, 246, 0.16); color: #1d4ed8; font-weight: 800; } .settings-action:disabled { cursor: wait; opacity: 0.58; } .settings-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid #dce6f2; border-radius: 8px; background: white; color: #132033; font-size: 13px; } .settings-table th, .settings-table td { padding: 9px 10px; border-bottom: 1px solid #e5edf7; text-align: left; } .settings-table th { color: #41546b; font-weight: 700; } .settings-table td { color: #1f2f46; } .settings-table tbody tr:nth-child(even) { background: #f8fbff; } .role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .role-card { min-height: 78px; padding: 12px; border: 1px solid #dce5f1; border-radius: 8px; background: white; color: #132033; } .role-card strong { display: block; margin-bottom: 8px; } .role-card span, .settings-section dd, .settings-section dt { color: #53677f; font-size: 13px; } .settings-section dl { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px 12px; margin: 12px 0 0; } .settings-section dt, .settings-section dd { margin: 0; } .settings-section dd { color: #17263d; overflow-wrap: anywhere; } .error-line { color: var(--red); font-size: 13px; } ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: var(--panel-3); background-clip: padding-box; }