2311 lines
40 KiB
CSS
2311 lines
40 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--bg: #070a0f;
|
|
--panel: #0f1620;
|
|
--panel-soft: #131d29;
|
|
--panel-strong: #0a1018;
|
|
--line: #253548;
|
|
--line-soft: rgba(148, 163, 184, 0.2);
|
|
--text: #e8f1fb;
|
|
--muted: #93a8bf;
|
|
--blue: #3378f6;
|
|
--cyan: #19d6c3;
|
|
--green: #24c58d;
|
|
--amber: #f2b84d;
|
|
--red: #fb7185;
|
|
--shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
background:
|
|
linear-gradient(90deg, rgba(51, 120, 246, 0.05) 1px, transparent 1px),
|
|
linear-gradient(180deg, rgba(25, 214, 195, 0.045) 1px, transparent 1px),
|
|
#070a0f;
|
|
background-size: 72px 72px;
|
|
color: var(--text);
|
|
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.topbar {
|
|
height: 66px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 0 18px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: rgba(7, 10, 15, 0.95);
|
|
}
|
|
|
|
.brand,
|
|
.top-actions,
|
|
.viewer-tools {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 31px;
|
|
height: 31px;
|
|
flex: 0 0 auto;
|
|
border-radius: 9px;
|
|
background: linear-gradient(135deg, var(--cyan), var(--blue));
|
|
box-shadow: 0 0 22px rgba(25, 214, 195, 0.22);
|
|
}
|
|
|
|
.brand h1,
|
|
.login-panel h1 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.brand p,
|
|
.login-panel p {
|
|
margin: 4px 0 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.top-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.viewer-tools {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.settings-panel {
|
|
position: fixed;
|
|
inset: 66px 0 0 0;
|
|
z-index: 18;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
background: rgba(7, 10, 15, 0.62);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.settings-shell {
|
|
width: min(760px, calc(100vw - 24px));
|
|
height: 100%;
|
|
padding: 18px;
|
|
border-left: 1px solid var(--line);
|
|
background: linear-gradient(180deg, rgba(15, 22, 32, 0.98), rgba(8, 13, 20, 0.98));
|
|
box-shadow: -24px 0 54px rgba(0, 0, 0, 0.38);
|
|
overflow: auto;
|
|
}
|
|
|
|
.settings-head,
|
|
.settings-card-head,
|
|
.settings-actions,
|
|
.settings-metrics {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.settings-head {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.settings-head h2,
|
|
.settings-card h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.settings-head h2 {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.settings-head p {
|
|
margin: 5px 0 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.settings-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.settings-card {
|
|
min-width: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
padding: 16px;
|
|
background: rgba(10, 16, 24, 0.9);
|
|
}
|
|
|
|
.settings-card h3 {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.switch-line {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.settings-row {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin: 18px 0;
|
|
}
|
|
|
|
.settings-row label {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.settings-row input {
|
|
width: 100%;
|
|
height: 42px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
padding: 0 12px;
|
|
color: var(--text);
|
|
background: rgba(6, 10, 15, 0.92);
|
|
}
|
|
|
|
.settings-actions {
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.cache-progress {
|
|
height: 10px;
|
|
margin: 18px 0 12px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.18);
|
|
}
|
|
|
|
.cache-progress span {
|
|
display: block;
|
|
width: 0%;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, var(--cyan), var(--blue));
|
|
transition: width 0.25s ease;
|
|
}
|
|
|
|
.cache-message {
|
|
min-height: 42px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.settings-metrics {
|
|
flex-wrap: wrap;
|
|
justify-content: flex-start;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.cache-root {
|
|
display: block;
|
|
margin-top: 14px;
|
|
padding: 10px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
color: #bce7ff;
|
|
background: rgba(6, 10, 15, 0.88);
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.top-actions .ghost-btn,
|
|
.viewer-tools .ghost-btn,
|
|
.viewer-tools .primary-btn,
|
|
.viewer-tools .state-btn {
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 8px 20px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.workspace {
|
|
height: calc(100vh - 66px);
|
|
display: grid;
|
|
grid-template-columns: 338px minmax(0, 1fr);
|
|
gap: 12px;
|
|
padding: 12px;
|
|
transition: grid-template-columns 0.22s ease;
|
|
}
|
|
|
|
.workspace.case-collapsed {
|
|
grid-template-columns: 54px minmax(0, 1fr);
|
|
}
|
|
|
|
.workspace.case-collapsed .case-panel {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
transform: none;
|
|
}
|
|
|
|
.workspace.case-collapsed .case-panel > :not(.panel-head),
|
|
.workspace.case-collapsed .panel-head .panel-title-row > div,
|
|
.workspace.case-collapsed .panel-head #caseCount {
|
|
display: none;
|
|
}
|
|
|
|
.workspace.case-collapsed .case-panel .panel-head {
|
|
justify-content: center;
|
|
padding: 9px 7px;
|
|
}
|
|
|
|
.icon-btn {
|
|
width: 38px;
|
|
height: 34px;
|
|
display: grid;
|
|
grid-template-columns: 8px 1fr;
|
|
grid-template-rows: repeat(2, 1fr);
|
|
gap: 4px;
|
|
flex: 0 0 auto;
|
|
border: 1px solid rgba(148, 163, 184, 0.38);
|
|
border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(25, 38, 56, 0.95), rgba(9, 15, 23, 0.95));
|
|
padding: 7px;
|
|
}
|
|
|
|
.icon-btn span {
|
|
border: 2px solid #afbfd2;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.icon-btn span:first-child {
|
|
grid-row: 1 / 3;
|
|
}
|
|
|
|
.icon-btn span:nth-child(2),
|
|
.icon-btn span:nth-child(3) {
|
|
grid-column: 2;
|
|
}
|
|
|
|
.icon-btn.active {
|
|
border-color: rgba(25, 214, 195, 0.66);
|
|
background: rgba(20, 184, 166, 0.18);
|
|
}
|
|
|
|
.panel {
|
|
min-height: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
background: linear-gradient(180deg, rgba(15, 22, 32, 0.96), rgba(10, 16, 24, 0.96));
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.panel-head {
|
|
min-height: 52px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 14px;
|
|
}
|
|
|
|
.panel-title-row {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.panel-title-row .icon-btn {
|
|
width: 34px;
|
|
height: 32px;
|
|
border-radius: 11px;
|
|
}
|
|
|
|
.panel-head.compact {
|
|
min-height: 42px;
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.panel-head h2,
|
|
.case-strip h2 {
|
|
margin: 0;
|
|
font-size: 17px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.panel-head p,
|
|
.case-strip p {
|
|
margin: 4px 0 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.case-panel {
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.search-input,
|
|
.login-panel input,
|
|
.notes {
|
|
width: calc(100% - 28px);
|
|
margin: 0 14px 10px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
background: rgba(6, 10, 15, 0.86);
|
|
color: var(--text);
|
|
outline: none;
|
|
}
|
|
|
|
.search-input,
|
|
.login-panel input {
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.notes {
|
|
min-height: 58px;
|
|
resize: none;
|
|
padding: 10px;
|
|
}
|
|
|
|
.tool-pane .notes {
|
|
width: 100%;
|
|
margin: 10px 0 0;
|
|
}
|
|
|
|
.filter-row,
|
|
.part-filter,
|
|
.model-filter,
|
|
.chip-rail,
|
|
.tag-line {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 0 14px 10px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.tool-pane .chip-rail {
|
|
padding: 0 0 10px;
|
|
}
|
|
|
|
.filter,
|
|
.chip,
|
|
.tag,
|
|
.status-pill,
|
|
.ghost-btn,
|
|
.primary-btn,
|
|
.state-btn {
|
|
min-height: 30px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
white-space: nowrap;
|
|
border-radius: 10px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.filter,
|
|
.chip,
|
|
.tag {
|
|
border: 1px solid var(--line);
|
|
background: rgba(8, 13, 20, 0.82);
|
|
color: #b7c7dc;
|
|
font-size: 12px;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.filter.active,
|
|
.chip.active {
|
|
border-color: rgba(25, 214, 195, 0.78);
|
|
color: #ccfbf1;
|
|
background: rgba(20, 184, 166, 0.16);
|
|
}
|
|
|
|
.tag {
|
|
min-height: 24px;
|
|
border-radius: 999px;
|
|
font-style: normal;
|
|
}
|
|
|
|
.tag.green {
|
|
border-color: rgba(36, 197, 141, 0.58);
|
|
color: #b8f7da;
|
|
background: rgba(36, 197, 141, 0.11);
|
|
}
|
|
|
|
.tag.amber {
|
|
border-color: rgba(242, 184, 77, 0.62);
|
|
color: #ffe1a6;
|
|
background: rgba(242, 184, 77, 0.13);
|
|
}
|
|
|
|
.tag.red {
|
|
border-color: rgba(251, 113, 133, 0.62);
|
|
color: #fecdd3;
|
|
background: rgba(251, 113, 133, 0.12);
|
|
}
|
|
|
|
.case-list,
|
|
.series-list,
|
|
.stl-list {
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 4px 12px 12px;
|
|
}
|
|
|
|
.case-list {
|
|
flex: 1;
|
|
}
|
|
|
|
.load-more-btn {
|
|
width: 100%;
|
|
min-height: 38px;
|
|
margin: 2px 0 8px;
|
|
border: 1px solid rgba(45, 212, 191, 0.4);
|
|
border-radius: 12px;
|
|
background: rgba(20, 184, 166, 0.08);
|
|
color: #bffbf2;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.case-card,
|
|
.series-card,
|
|
.stl-row {
|
|
width: 100%;
|
|
display: block;
|
|
margin: 0 0 10px;
|
|
border: 1px solid transparent;
|
|
border-radius: 14px;
|
|
background: rgba(9, 15, 23, 0.88);
|
|
color: var(--text);
|
|
text-align: left;
|
|
}
|
|
|
|
.case-card,
|
|
.series-card {
|
|
padding: 13px;
|
|
}
|
|
|
|
.series-card {
|
|
position: relative;
|
|
padding-right: 48px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.series-check {
|
|
position: absolute;
|
|
top: 13px;
|
|
right: 13px;
|
|
width: 30px;
|
|
height: 30px;
|
|
display: inline-flex !important;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 !important;
|
|
padding: 0;
|
|
border: 2px solid rgba(45, 212, 191, 0.9);
|
|
border-radius: 999px;
|
|
background: rgba(13, 148, 136, 0.22);
|
|
color: #ccfbf1 !important;
|
|
font-size: 15px !important;
|
|
font-weight: 950 !important;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.18), 0 0 18px rgba(20, 184, 166, 0.18);
|
|
}
|
|
|
|
.series-card:not(.registration-selected) .series-check {
|
|
border-color: rgba(148, 163, 184, 0.42);
|
|
background: rgba(15, 23, 42, 0.82);
|
|
color: transparent !important;
|
|
box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.98);
|
|
}
|
|
|
|
.series-card:not(.registration-selected) .series-check:hover,
|
|
.series-check:focus-visible {
|
|
border-color: rgba(45, 212, 191, 0.95);
|
|
background: rgba(20, 184, 166, 0.18);
|
|
outline: none;
|
|
}
|
|
|
|
.series-card.registration-selected .series-check {
|
|
border-color: rgba(153, 246, 228, 0.96);
|
|
background: linear-gradient(180deg, rgba(20, 184, 166, 0.96), rgba(13, 148, 136, 0.82));
|
|
color: #ecfeff !important;
|
|
}
|
|
|
|
.case-card.active,
|
|
.series-card.active,
|
|
.stl-row.active {
|
|
border-color: rgba(51, 120, 246, 0.92);
|
|
background: linear-gradient(180deg, rgba(20, 45, 88, 0.96), rgba(10, 18, 31, 0.96));
|
|
}
|
|
|
|
.series-card.registration-selected {
|
|
border-color: rgba(20, 184, 166, 0.82);
|
|
}
|
|
|
|
.series-card.skipped {
|
|
opacity: 0.54;
|
|
filter: grayscale(0.95);
|
|
background: rgba(8, 12, 18, 0.7);
|
|
}
|
|
|
|
.series-card.skipped.active {
|
|
opacity: 0.78;
|
|
border-color: rgba(148, 163, 184, 0.5);
|
|
background: linear-gradient(180deg, rgba(34, 41, 53, 0.86), rgba(12, 17, 24, 0.9));
|
|
}
|
|
|
|
.series-card.skipped .mini-tags i {
|
|
border-color: rgba(148, 163, 184, 0.48);
|
|
background: rgba(148, 163, 184, 0.12);
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.case-card strong,
|
|
.series-card strong {
|
|
display: block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
color: #f1f7ff;
|
|
font-size: 15px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.case-card span,
|
|
.series-card span,
|
|
.case-card small,
|
|
.series-card small,
|
|
.stl-row small {
|
|
display: block;
|
|
margin-top: 6px;
|
|
overflow: hidden;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mini-tags {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 6px;
|
|
max-width: 100%;
|
|
margin-top: 9px;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.mini-tags::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.mini-tags i {
|
|
min-height: 22px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex: 0 0 auto;
|
|
border: 1px solid rgba(25, 214, 195, 0.5);
|
|
border-radius: 999px;
|
|
background: rgba(20, 184, 166, 0.12);
|
|
color: #ccfbf1;
|
|
font-size: 11px;
|
|
font-style: normal;
|
|
font-weight: 800;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.case-card .tag {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.card-line {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.main-panel {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.case-strip {
|
|
min-height: 74px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.case-strip .tag-line {
|
|
padding: 0;
|
|
}
|
|
|
|
.work-grid {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: 300px minmax(420px, 1fr) 330px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.registration-board {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: 360px minmax(520px, 1.08fr) minmax(420px, 0.92fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.tool-dock {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: 44px minmax(0, 1fr);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tool-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
border-bottom: 1px solid var(--line);
|
|
background: rgba(6, 10, 15, 0.55);
|
|
}
|
|
|
|
.tool-tabs button {
|
|
border: 0;
|
|
border-right: 1px solid rgba(148, 163, 184, 0.2);
|
|
background: rgba(18, 24, 36, 0.72);
|
|
color: #c5d3e5;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.tool-tabs button.active {
|
|
background: linear-gradient(180deg, rgba(75, 86, 111, 0.88), rgba(30, 39, 58, 0.9));
|
|
color: #ffffff;
|
|
box-shadow: inset 0 -2px 0 rgba(25, 214, 195, 0.75);
|
|
}
|
|
|
|
.tool-pane {
|
|
min-height: 0;
|
|
display: none;
|
|
overflow-y: auto;
|
|
padding: 10px;
|
|
}
|
|
|
|
.tool-pane.active {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.patient-card {
|
|
flex: 0 0 auto;
|
|
margin-bottom: 10px;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
border-radius: 10px;
|
|
background: linear-gradient(180deg, rgba(28, 35, 49, 0.92), rgba(15, 21, 31, 0.92));
|
|
padding: 12px;
|
|
}
|
|
|
|
.patient-card strong {
|
|
display: block;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 13px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.patient-card dl {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 9px 14px;
|
|
margin: 12px 0 0;
|
|
}
|
|
|
|
.patient-card div {
|
|
min-width: 0;
|
|
}
|
|
|
|
.patient-card dt {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.patient-card dd {
|
|
margin: 3px 0 0;
|
|
overflow: hidden;
|
|
color: #edf5ff;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tool-section-title {
|
|
min-height: 34px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
flex: 0 0 auto;
|
|
margin: 8px -10px 8px;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.15);
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.15);
|
|
background: rgba(24, 31, 45, 0.9);
|
|
color: #f1f7ff;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.tool-section-title button {
|
|
border: 1px solid rgba(45, 212, 191, 0.34);
|
|
border-radius: 8px;
|
|
background: rgba(8, 17, 26, 0.62);
|
|
color: #d9fbff;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
padding: 6px 9px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tool-section-title button:hover {
|
|
border-color: rgba(45, 212, 191, 0.76);
|
|
background: rgba(20, 184, 166, 0.16);
|
|
}
|
|
|
|
.title-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.tool-section-title em {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
}
|
|
|
|
.matched-series {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.matched-series .series-card {
|
|
border-color: rgba(25, 214, 195, 0.75);
|
|
background: rgba(20, 184, 166, 0.12);
|
|
}
|
|
|
|
.compact-list {
|
|
min-height: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.tool-pane .compact-list {
|
|
flex: 1;
|
|
}
|
|
|
|
.series-panel,
|
|
.right-panel {
|
|
min-height: 0;
|
|
}
|
|
|
|
.series-panel,
|
|
.stl-panel,
|
|
.pose-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.right-panel {
|
|
display: grid;
|
|
grid-template-rows: minmax(220px, 0.88fr) minmax(320px, 1.12fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.viewer-panel {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dicom-panel {
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
}
|
|
|
|
.viewer-head {
|
|
min-height: 58px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--line);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.fusion-panel .viewer-head {
|
|
align-content: center;
|
|
flex-wrap: wrap;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.dicom-panel .viewer-head {
|
|
align-content: center;
|
|
flex-wrap: wrap;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.viewer-head h2 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.viewer-head p {
|
|
margin: 3px 0 0;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.fusion-head-stack {
|
|
width: 100%;
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.fusion-action-row,
|
|
.fusion-control-row,
|
|
.mapping-toolbar,
|
|
.mapping-title-row {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.fusion-action-row {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.fusion-save-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.fusion-control-row,
|
|
.mapping-toolbar {
|
|
justify-content: space-between;
|
|
overflow-x: auto;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.segmented {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
gap: 7px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.segmented button {
|
|
min-width: 72px;
|
|
min-height: 34px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
background: rgba(18, 28, 42, 0.88);
|
|
color: #c6d4e5;
|
|
font-weight: 900;
|
|
line-height: 1.1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.segmented button.active {
|
|
border-color: rgba(51, 120, 246, 0.9);
|
|
background: var(--blue);
|
|
color: white;
|
|
}
|
|
|
|
.mini-segmented button {
|
|
min-width: 56px;
|
|
min-height: 30px;
|
|
}
|
|
|
|
.display-segmented {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin: 0 0 12px;
|
|
border-radius: 12px;
|
|
background: rgba(148, 163, 184, 0.08);
|
|
padding: 6px;
|
|
}
|
|
|
|
.tool-pane > .display-segmented:first-child {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
#modelDetailControls {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.display-segmented button {
|
|
min-height: 34px;
|
|
border: 1px solid transparent;
|
|
border-radius: 9px;
|
|
background: transparent;
|
|
color: #93a8bf;
|
|
font-weight: 950;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.display-segmented button.active {
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
background: rgba(255, 255, 255, 0.92);
|
|
color: #1d4ed8;
|
|
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.ghost-btn,
|
|
.primary-btn,
|
|
.state-btn {
|
|
flex: 0 0 auto;
|
|
min-height: 34px;
|
|
border: 1px solid rgba(148, 163, 184, 0.34);
|
|
padding: 0 12px;
|
|
background: linear-gradient(180deg, rgba(25, 38, 56, 0.95), rgba(9, 15, 23, 0.95));
|
|
color: var(--text);
|
|
}
|
|
|
|
.ghost-btn:disabled,
|
|
.primary-btn:disabled,
|
|
.state-btn:disabled {
|
|
cursor: wait;
|
|
opacity: 0.62;
|
|
}
|
|
|
|
.viewer-tools .ghost-btn:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.ghost-btn.accent {
|
|
border-color: rgba(25, 214, 195, 0.56);
|
|
color: #bffbf2;
|
|
}
|
|
|
|
.primary-btn {
|
|
border-color: rgba(51, 120, 246, 0.85);
|
|
background: var(--blue);
|
|
color: white;
|
|
}
|
|
|
|
.state-btn {
|
|
border-color: rgba(36, 197, 141, 0.62);
|
|
color: #b8f7da;
|
|
background: rgba(36, 197, 141, 0.14);
|
|
}
|
|
|
|
.state-btn.unregistered {
|
|
border-color: rgba(242, 184, 77, 0.66);
|
|
color: #ffe1a6;
|
|
background: rgba(242, 184, 77, 0.12);
|
|
}
|
|
|
|
.status-pill {
|
|
height: 31px;
|
|
border: 1px solid var(--line);
|
|
color: var(--muted);
|
|
padding: 0 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.status-pill.online {
|
|
border-color: rgba(36, 197, 141, 0.54);
|
|
color: #b8f7da;
|
|
background: rgba(36, 197, 141, 0.1);
|
|
}
|
|
|
|
.status-pill.offline {
|
|
border-color: rgba(251, 113, 133, 0.6);
|
|
color: #fecdd3;
|
|
background: rgba(251, 113, 133, 0.1);
|
|
}
|
|
|
|
.user-badge {
|
|
max-width: 140px;
|
|
overflow: hidden;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#saveState.ok,
|
|
#autoState.ok {
|
|
color: #b8f7da;
|
|
}
|
|
|
|
#saveState.warn,
|
|
#autoState.warn {
|
|
color: #ffe1a6;
|
|
}
|
|
|
|
#saveState.error,
|
|
#autoState.error {
|
|
color: #fecdd3;
|
|
}
|
|
|
|
.fusion-stage {
|
|
position: relative;
|
|
height: 100%;
|
|
min-height: 520px;
|
|
margin: 12px 12px 0;
|
|
overflow: hidden;
|
|
border: 1px solid #1e293b;
|
|
border-radius: 24px;
|
|
background: #000;
|
|
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.48), 0 8px 10px -6px rgba(0, 0, 0, 0.36);
|
|
}
|
|
|
|
#fusionViewport {
|
|
position: absolute;
|
|
inset: 0;
|
|
cursor: grab;
|
|
touch-action: none;
|
|
}
|
|
|
|
#fusionViewport:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
#fusionViewport canvas {
|
|
display: block;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.fusion-hud {
|
|
position: absolute;
|
|
top: 16px;
|
|
z-index: 10;
|
|
max-width: 46%;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 12px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
color: rgba(255, 255, 255, 0.62);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
padding: 8px 10px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.fusion-status {
|
|
left: 16px;
|
|
}
|
|
|
|
.fusion-meta {
|
|
right: 16px;
|
|
border-color: rgba(34, 211, 238, 0.22);
|
|
background: rgba(8, 47, 73, 0.5);
|
|
color: #cffafe;
|
|
}
|
|
|
|
.fusion-reset-btn {
|
|
position: absolute;
|
|
top: 64px;
|
|
right: 16px;
|
|
z-index: 11;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 12px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
color: rgba(255, 255, 255, 0.72);
|
|
padding: 0 12px;
|
|
font-size: 10px;
|
|
font-weight: 900;
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.fusion-reset-btn:hover {
|
|
border-color: rgba(103, 232, 249, 0.34);
|
|
color: #cffafe;
|
|
}
|
|
|
|
.fusion-reset-btn svg {
|
|
width: 13px;
|
|
height: 13px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-width: 2;
|
|
}
|
|
|
|
.fusion-axis-inset {
|
|
position: absolute;
|
|
right: 12px;
|
|
bottom: 12px;
|
|
z-index: 10;
|
|
width: 66px;
|
|
height: 66px;
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 9px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
padding: 6px;
|
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.fusion-axis-inset svg {
|
|
display: block;
|
|
width: 54px;
|
|
height: 54px;
|
|
}
|
|
|
|
.fusion-axis-inset line {
|
|
stroke-width: 2.2;
|
|
stroke-linecap: round;
|
|
}
|
|
|
|
.fusion-axis-inset circle {
|
|
fill: #e5e7eb;
|
|
}
|
|
|
|
.fusion-axis-inset text {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 8px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.fusion-axis-inset .axis-x {
|
|
stroke: #ef4444;
|
|
}
|
|
|
|
.fusion-axis-inset .axis-y {
|
|
stroke: #22c55e;
|
|
}
|
|
|
|
.fusion-axis-inset .axis-z {
|
|
stroke: #38bdf8;
|
|
}
|
|
|
|
.fusion-axis-inset .axis-x-text {
|
|
fill: #fecaca;
|
|
}
|
|
|
|
.fusion-axis-inset .axis-y-text {
|
|
fill: #bbf7d0;
|
|
}
|
|
|
|
.fusion-axis-inset .axis-z-text {
|
|
fill: #bae6fd;
|
|
}
|
|
|
|
.fusion-webgl-error {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(2, 6, 23, 0.92);
|
|
padding: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.fusion-webgl-error > div {
|
|
max-width: 420px;
|
|
border: 1px solid rgba(252, 211, 77, 0.2);
|
|
border-radius: 16px;
|
|
background: rgba(15, 23, 42, 0.9);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
|
|
color: #fef3c7;
|
|
padding: 22px;
|
|
}
|
|
|
|
.fusion-webgl-error strong {
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 950;
|
|
}
|
|
|
|
.fusion-webgl-error p {
|
|
margin: 12px 0 0;
|
|
color: rgba(254, 243, 199, 0.78);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.fusion-loading {
|
|
position: absolute;
|
|
left: 40px;
|
|
right: 40px;
|
|
bottom: 32px;
|
|
z-index: 12;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 12px;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
padding: 12px;
|
|
}
|
|
|
|
.fusion-loading span {
|
|
display: inline-block;
|
|
max-width: calc(100% - 54px);
|
|
margin-bottom: 8px;
|
|
overflow: hidden;
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 10px;
|
|
font-weight: 900;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.fusion-loading div {
|
|
height: 8px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.fusion-loading i,
|
|
.top-loading span {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: 999px;
|
|
background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent);
|
|
}
|
|
|
|
.fusion-loading i {
|
|
width: 0;
|
|
background: #3b82f6;
|
|
transition: width 0.18s ease;
|
|
}
|
|
|
|
.fusion-loading i.indeterminate {
|
|
width: 34%;
|
|
animation: sweep 1.1s ease-in-out infinite;
|
|
}
|
|
|
|
.top-loading span {
|
|
width: 34%;
|
|
animation: sweep 1.1s ease-in-out infinite;
|
|
}
|
|
|
|
.fusion-loading em {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
display: block;
|
|
margin: 0;
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 10px;
|
|
font-style: normal;
|
|
font-weight: 900;
|
|
text-align: right;
|
|
}
|
|
|
|
.top-loading {
|
|
position: fixed;
|
|
top: 66px;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 30;
|
|
height: 3px;
|
|
background: rgba(37, 53, 72, 0.82);
|
|
overflow: hidden;
|
|
}
|
|
|
|
@keyframes sweep {
|
|
from {
|
|
transform: translateX(-110%);
|
|
}
|
|
to {
|
|
transform: translateX(320%);
|
|
}
|
|
}
|
|
|
|
.slice-range-panel {
|
|
min-height: 82px;
|
|
display: grid;
|
|
grid-template-rows: auto 26px auto;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.slice-range-head,
|
|
.slice-range-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.slice-range-head strong {
|
|
color: #dbeafe;
|
|
font-size: 13px;
|
|
font-weight: 950;
|
|
}
|
|
|
|
.slice-range-head span,
|
|
.slice-range-foot span {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.slice-range-head span {
|
|
color: #8fb5ff;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
.dual-range {
|
|
position: relative;
|
|
height: 26px;
|
|
}
|
|
|
|
.dual-range::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 11px;
|
|
left: 0;
|
|
right: 0;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.22);
|
|
}
|
|
|
|
.dual-range input {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
pointer-events: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.dual-range input::-webkit-slider-thumb {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.dual-range input::-moz-range-thumb {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.dicom-stage {
|
|
position: relative;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: #000;
|
|
}
|
|
|
|
.mapping-viewport {
|
|
position: absolute;
|
|
inset: 0 54px 0 0;
|
|
overflow: hidden;
|
|
touch-action: none;
|
|
cursor: grab;
|
|
}
|
|
|
|
.mapping-viewport.dragging {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.mapping-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transform-origin: center center;
|
|
}
|
|
|
|
.dicom-stage img,
|
|
.dicom-stage canvas {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
image-rendering: auto;
|
|
}
|
|
|
|
.dicom-stage canvas {
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mapping-slice-rail {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 6;
|
|
width: 54px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
border-left: 1px solid rgba(148, 163, 184, 0.18);
|
|
background: #0f172a;
|
|
}
|
|
|
|
.mapping-slice-rail::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 26px;
|
|
bottom: 56px;
|
|
left: 50%;
|
|
width: 8px;
|
|
transform: translateX(-50%);
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.18);
|
|
}
|
|
|
|
#mappingSliceSlider {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: min(66vh, 520px);
|
|
height: 34px;
|
|
transform: rotate(-90deg);
|
|
appearance: none;
|
|
background: transparent;
|
|
}
|
|
|
|
#mappingSliceSlider::-webkit-slider-runnable-track {
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
#mappingSliceSlider::-webkit-slider-thumb {
|
|
appearance: none;
|
|
width: 25px;
|
|
height: 25px;
|
|
margin-top: -8.5px;
|
|
border: 3px solid #93c5fd;
|
|
border-radius: 7px;
|
|
background: #60a5fa;
|
|
box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
|
|
}
|
|
|
|
#mappingSliceSlider::-moz-range-track {
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
#mappingSliceSlider::-moz-range-thumb {
|
|
width: 22px;
|
|
height: 22px;
|
|
border: 3px solid #93c5fd;
|
|
border-radius: 7px;
|
|
background: #60a5fa;
|
|
}
|
|
|
|
#mappingSliceLabel {
|
|
position: absolute;
|
|
right: 9px;
|
|
bottom: 14px;
|
|
color: #c8f7ff;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
writing-mode: vertical-rl;
|
|
}
|
|
|
|
.crosshair {
|
|
position: absolute;
|
|
z-index: 3;
|
|
pointer-events: none;
|
|
opacity: 0.82;
|
|
}
|
|
|
|
.crosshair.horizontal {
|
|
top: 50%;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: rgba(52, 211, 153, 0.72);
|
|
}
|
|
|
|
.crosshair.vertical {
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 50%;
|
|
width: 1px;
|
|
background: rgba(248, 113, 113, 0.72);
|
|
}
|
|
|
|
.dicom-overlay {
|
|
position: absolute;
|
|
z-index: 4;
|
|
max-width: 48%;
|
|
color: rgba(255, 255, 255, 0.86);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
text-shadow: 0 1px 2px #000;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.dicom-overlay.top-left {
|
|
top: 12px;
|
|
left: 12px;
|
|
}
|
|
|
|
.dicom-overlay.top-right {
|
|
top: 12px;
|
|
right: 12px;
|
|
text-align: right;
|
|
}
|
|
|
|
.dicom-overlay.bottom-left {
|
|
bottom: 12px;
|
|
left: 12px;
|
|
}
|
|
|
|
.annotation-tags {
|
|
min-height: 36px;
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
overflow-x: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
.annotation-tags span {
|
|
flex: 0 0 auto;
|
|
border: 1px solid rgba(25, 214, 195, 0.55);
|
|
border-radius: 999px;
|
|
background: rgba(20, 184, 166, 0.12);
|
|
color: #ccfbf1;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
.mapping-summary {
|
|
min-height: 110px;
|
|
max-height: 162px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
overflow: hidden;
|
|
border-top: 1px solid var(--line);
|
|
background: #070c14;
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.mapping-summary-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
color: #dbeafe;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.mapping-summary-head em {
|
|
flex: 0 0 auto;
|
|
color: #c8f7ff;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
font-style: normal;
|
|
}
|
|
|
|
.mapping-legend {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 6px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.mapping-legend .legend-item {
|
|
min-width: 0;
|
|
display: grid;
|
|
grid-template-columns: 12px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 7px;
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
color: #b6c8dd;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.mapping-legend .legend-color {
|
|
width: 10px;
|
|
height: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.mapping-legend .legend-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mapping-legend .legend-meta {
|
|
color: #9debf4;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.slice-row span {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
input[type="range"] {
|
|
accent-color: var(--cyan);
|
|
}
|
|
|
|
.stl-row {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
gap: 10px;
|
|
align-items: start;
|
|
padding: 10px;
|
|
}
|
|
|
|
.stl-row input {
|
|
margin-top: 3px;
|
|
accent-color: var(--cyan);
|
|
}
|
|
|
|
.stl-row strong {
|
|
display: block;
|
|
overflow: hidden;
|
|
color: #e8f1fb;
|
|
font-size: 13px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pose-grid {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 0 0 12px;
|
|
}
|
|
|
|
.pose-control {
|
|
display: grid;
|
|
grid-template-columns: 62px 28px minmax(96px, 1fr) 28px minmax(82px, 96px);
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
|
|
.pose-control label {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.pose-control input[type="number"] {
|
|
width: 100%;
|
|
height: 36px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: rgba(6, 10, 15, 0.86);
|
|
color: var(--text);
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
text-align: center;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
.pose-control button,
|
|
.pose-actions button,
|
|
.auto-box button {
|
|
min-height: 28px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: rgba(8, 13, 20, 0.82);
|
|
color: #c6d4e5;
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.pose-control button:hover,
|
|
.pose-actions button:hover,
|
|
.auto-box button:hover {
|
|
border-color: rgba(25, 214, 195, 0.65);
|
|
color: #ccfbf1;
|
|
}
|
|
|
|
.quick-row {
|
|
grid-column: 2 / span 3;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 6px;
|
|
}
|
|
|
|
.pose-actions {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.flip-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
padding: 0 0 12px;
|
|
}
|
|
|
|
.flip-row button {
|
|
min-height: 32px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 9px;
|
|
background: rgba(8, 13, 20, 0.82);
|
|
color: #c6d4e5;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.flip-row button.active {
|
|
border-color: rgba(25, 214, 195, 0.78);
|
|
color: #ccfbf1;
|
|
background: rgba(20, 184, 166, 0.16);
|
|
}
|
|
|
|
.auto-box {
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 10px;
|
|
background: rgba(8, 13, 20, 0.62);
|
|
padding: 10px;
|
|
}
|
|
|
|
.compact-auto {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.auto-settings-panel {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.wide-action {
|
|
width: 100%;
|
|
min-height: 34px;
|
|
}
|
|
|
|
.auto-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.auto-options label {
|
|
min-height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 8px;
|
|
background: rgba(15, 22, 32, 0.82);
|
|
color: #c7d6e8;
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.auto-result {
|
|
min-height: 36px;
|
|
margin-top: 8px;
|
|
border-radius: 8px;
|
|
background: rgba(7, 10, 15, 0.78);
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
padding: 8px;
|
|
}
|
|
|
|
.auto-progress {
|
|
display: grid;
|
|
gap: 8px;
|
|
min-height: 92px;
|
|
border: 1px solid rgba(59, 130, 246, 0.34);
|
|
border-radius: 8px;
|
|
background: rgba(7, 10, 15, 0.72);
|
|
padding: 9px 10px;
|
|
}
|
|
|
|
.auto-progress-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.auto-progress-head b {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #dbeafe;
|
|
font-size: 12px;
|
|
font-weight: 950;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.auto-progress-track {
|
|
height: 7px;
|
|
overflow: hidden;
|
|
border-radius: 99px;
|
|
background: rgba(148, 163, 184, 0.18);
|
|
}
|
|
|
|
.auto-progress-track i {
|
|
display: block;
|
|
width: 0%;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, #22d3ee, #3b82f6);
|
|
transition: width 160ms ease;
|
|
}
|
|
|
|
.auto-progress-head span {
|
|
color: #c7d2fe;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
font-weight: 950;
|
|
text-align: right;
|
|
}
|
|
|
|
.auto-progress-steps {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 4px;
|
|
}
|
|
|
|
.auto-progress-steps span {
|
|
min-width: 0;
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
border-radius: 7px;
|
|
background: rgba(15, 23, 42, 0.62);
|
|
color: #8ea3bb;
|
|
font-size: 10px;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
padding: 5px 3px;
|
|
text-align: center;
|
|
}
|
|
|
|
.auto-progress-steps span.active {
|
|
border-color: rgba(34, 211, 238, 0.68);
|
|
background: rgba(8, 145, 178, 0.2);
|
|
color: #cffafe;
|
|
}
|
|
|
|
.auto-progress-steps span.done {
|
|
border-color: rgba(52, 211, 153, 0.42);
|
|
background: rgba(20, 184, 166, 0.12);
|
|
color: #a7f3d0;
|
|
}
|
|
|
|
.auto-progress p {
|
|
margin: 0;
|
|
color: #9fb3c8;
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.pose-control.locked,
|
|
.flip-row.locked,
|
|
.pose-actions.locked,
|
|
.auto-settings-panel.locked {
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.pose-control button:disabled,
|
|
.pose-control input:disabled,
|
|
.pose-actions button:disabled,
|
|
.flip-row button:disabled,
|
|
.auto-box button:disabled,
|
|
.auto-box input:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.compact-title {
|
|
min-height: 28px;
|
|
margin-top: 4px;
|
|
background: rgba(15, 22, 32, 0.64);
|
|
}
|
|
|
|
.empty-state {
|
|
padding: 22px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-shell {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 90;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(2, 6, 12, 0.72);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.modal-panel {
|
|
width: min(960px, calc(100vw - 36px));
|
|
max-height: calc(100vh - 36px);
|
|
overflow: auto;
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
background: linear-gradient(180deg, rgba(18, 28, 42, 0.98), rgba(8, 13, 20, 0.98));
|
|
box-shadow: var(--shadow);
|
|
padding: 16px;
|
|
}
|
|
|
|
.modal-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.modal-head h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.modal-head p {
|
|
margin: 5px 0 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.modal-options {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.modal-actions {
|
|
margin: 12px 0 0;
|
|
}
|
|
|
|
.auto-config-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(240px, 0.85fr) minmax(300px, 1.15fr);
|
|
gap: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.tool-pane .auto-config-grid,
|
|
.tool-pane .auto-weight-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.tool-pane .auto-config-grid {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.tool-pane .auto-weight-grid {
|
|
gap: 8px;
|
|
}
|
|
|
|
.auto-config-grid section,
|
|
.auto-weight-grid {
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 12px;
|
|
background: rgba(8, 13, 20, 0.56);
|
|
padding: 12px;
|
|
}
|
|
|
|
.modal-section-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
color: #dbeafe;
|
|
font-size: 13px;
|
|
font-weight: 950;
|
|
}
|
|
|
|
.modal-section-head button {
|
|
min-height: 28px;
|
|
border: 1px solid rgba(25, 214, 195, 0.48);
|
|
border-radius: 8px;
|
|
background: rgba(20, 184, 166, 0.1);
|
|
color: #ccfbf1;
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
padding: 0 9px;
|
|
}
|
|
|
|
.bone-option-list {
|
|
max-height: 220px;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.bone-option-list label,
|
|
.auto-weight-grid label {
|
|
min-height: 34px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 9px;
|
|
background: rgba(15, 22, 32, 0.74);
|
|
color: #c7d6e8;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.bone-option-list label {
|
|
min-width: 0;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.bone-option-list label span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.bone-option-list label em {
|
|
margin-left: auto;
|
|
color: #9debf4;
|
|
font-size: 10px;
|
|
font-style: normal;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.bone-option-list label.likely {
|
|
border-color: rgba(25, 214, 195, 0.36);
|
|
background: rgba(20, 184, 166, 0.1);
|
|
}
|
|
|
|
.modal-slider {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 86px;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-slider input[type="number"],
|
|
.auto-weight-grid input {
|
|
width: 100%;
|
|
height: 34px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: rgba(6, 10, 15, 0.86);
|
|
color: var(--text);
|
|
font-weight: 900;
|
|
text-align: center;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.auto-weight-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.auto-weight-grid label {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.auto-weight-grid input {
|
|
max-width: 86px;
|
|
flex: 0 0 86px;
|
|
}
|
|
|
|
.auto-pose-result {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.tool-pane .auto-pose-result {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.compact-empty {
|
|
padding: 12px;
|
|
}
|
|
|
|
.auto-pose-result span {
|
|
min-height: 50px;
|
|
display: grid;
|
|
grid-template-rows: auto auto auto;
|
|
align-items: center;
|
|
justify-content: center;
|
|
row-gap: 2px;
|
|
border: 1px solid rgba(25, 214, 195, 0.38);
|
|
border-radius: 10px;
|
|
background: rgba(20, 184, 166, 0.09);
|
|
color: #ccfbf1;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.auto-pose-result span.changed {
|
|
border-color: rgba(52, 211, 153, 0.72);
|
|
background: rgba(20, 184, 166, 0.18);
|
|
box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.12);
|
|
}
|
|
|
|
.auto-pose-result span.muted {
|
|
border-color: rgba(148, 163, 184, 0.28);
|
|
background: rgba(15, 23, 42, 0.58);
|
|
color: #9fb3c8;
|
|
}
|
|
|
|
.auto-pose-result b,
|
|
.auto-pose-result strong,
|
|
.auto-pose-result small {
|
|
display: block;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.auto-pose-result strong {
|
|
color: #e6fffb;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.auto-pose-result small {
|
|
color: #8fb3c9;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.login-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 100;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(5, 8, 12, 0.92);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.login-panel {
|
|
width: min(420px, calc(100vw - 36px));
|
|
border: 1px solid var(--line);
|
|
border-radius: 18px;
|
|
background: linear-gradient(180deg, rgba(19, 29, 41, 0.98), rgba(10, 16, 24, 0.98));
|
|
box-shadow: var(--shadow);
|
|
padding: 26px;
|
|
}
|
|
|
|
.login-panel .brand-mark {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.login-panel input {
|
|
width: 100%;
|
|
margin: 12px 0 0;
|
|
}
|
|
|
|
.login-panel button {
|
|
width: 100%;
|
|
min-height: 40px;
|
|
margin-top: 14px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: var(--blue);
|
|
color: white;
|
|
font-weight: 900;
|
|
}
|
|
|
|
#loginError {
|
|
display: block;
|
|
min-height: 18px;
|
|
margin-top: 10px;
|
|
color: var(--red);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
@media (max-width: 1500px) {
|
|
.workspace {
|
|
grid-template-columns: 310px minmax(0, 1fr);
|
|
}
|
|
|
|
.work-grid {
|
|
grid-template-columns: 270px minmax(360px, 1fr) 300px;
|
|
}
|
|
|
|
.registration-board {
|
|
grid-template-columns: 320px minmax(460px, 1fr) minmax(360px, 0.8fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1250px) {
|
|
.registration-board {
|
|
overflow-x: auto;
|
|
grid-template-columns: 320px 560px 420px;
|
|
}
|
|
|
|
.settings-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|