.camera-shell { min-width: 320px; } .camera-header { position: sticky; z-index: 30; top: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; } .header-status, .header-actions, .workspace-tools, .overlay-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-width: 0; } .header-status { justify-content: center; } .run-status { overflow: hidden; max-width: 420px; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; } .button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: var(--surface-raised); cursor: pointer; font-size: .8rem; font-weight: 720; transition: border-color 140ms ease, background 140ms ease, transform 140ms ease; } .button:hover, .button:focus-visible, .mini-button:hover, .mini-button:focus-visible { border-color: var(--mint); outline: none; transform: translateY(-1px); } .button:disabled { cursor: wait; opacity: .48; transform: none; } .button--primary { border-color: rgb(101 242 191 / 55%); color: #06130f; background: var(--mint); } .button--ghost { background: rgb(255 255 255 / 3%); } .button--full { width: 100%; } .file-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); } .camera-layout { display: grid; grid-template-columns: minmax(600px, 1fr) minmax(350px, 410px); min-height: calc(100vh - 65px); } .scene-workspace { min-width: 0; padding: clamp(22px, 3vw, 42px); } .workspace-heading, .section-heading, .array-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; } .workspace-heading { margin-bottom: 20px; } .workspace-heading .eyebrow, .section-heading .eyebrow, .array-heading .eyebrow { margin-bottom: 7px; } .workspace-heading h1 { margin-bottom: 4px; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.055em; } .workspace-meta, .section-copy { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; } .workspace-import { display: grid; gap: 7px; justify-items: end; } .workspace-tools { justify-content: flex-end; } .import-order { margin: 0; color: var(--muted); font-size: .64rem; } .scene-canvas-card { position: relative; overflow: hidden; min-height: 520px; border: 1px solid var(--line); border-radius: 22px; background: #07110f; box-shadow: var(--shadow); } #scene-canvas { display: block; width: 100%; height: clamp(520px, 64vh, 760px); } .canvas-message { position: absolute; top: 32px; left: 50%; display: grid; width: min(440px, calc(100% - 48px)); gap: 6px; color: var(--muted); text-align: center; pointer-events: none; transform: translateX(-50%); } .canvas-message strong { color: #cfe2db; font-size: .9rem; } .canvas-message span { font-size: .74rem; } .canvas-message.is-hidden { display: none; } .canvas-badge { position: absolute; right: 14px; bottom: 14px; max-width: calc(100% - 28px); overflow: hidden; padding: 7px 10px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 999px; color: #d7e8e2; background: rgb(8 17 15 / 80%); backdrop-filter: blur(10px); font: 650 .7rem ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; } .overlay-toolbar { justify-content: space-between; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / 2%); } .band-legend { display: flex; flex: 1 1 360px; flex-wrap: wrap; gap: 7px; } .legend-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #0b1714; cursor: pointer; font-size: .68rem; } .legend-toggle input { accent-color: var(--band-color, var(--mint)); } .legend-swatch { width: 9px; height: 9px; border-radius: 50%; background: var(--band-color, var(--mint)); } .range-field, .check-field { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .7rem; font-weight: 650; } .range-field input { width: 110px; accent-color: var(--mint); } .check-field input { width: 17px; height: 17px; accent-color: var(--mint); } .result-section, .history-section { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgb(255 255 255 / 2%); } .section-heading h2 { margin: 0; font-size: 1.05rem; } .result-chip { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .68rem; } .empty-result { margin-top: 14px; padding: 18px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: .78rem; line-height: 1.6; text-align: center; } .metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; margin-top: 14px; } .metric-card { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #0b1714; } .metric-card span { display: block; margin-bottom: 7px; color: var(--muted); font-size: .66rem; } .metric-card strong { display: block; overflow: hidden; font-size: 1.15rem; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; } .metric-card small { display: block; margin-top: 5px; color: var(--muted); font-size: .62rem; } .text-button, .mini-button { padding: 5px 7px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; font-size: .68rem; } .history-list { display: grid; gap: 8px; margin-top: 14px; } .history-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; } .history-empty { padding: 12px; color: var(--muted); font-size: .72rem; text-align: center; } .history-card { display: grid; grid-template-columns: minmax(150px, 1.5fr) repeat(4, minmax(85px, .75fr)); gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #0b1714; } .history-card strong, .history-card span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .history-card strong { font-size: .78rem; } .history-card span { color: var(--muted); font-size: .67rem; } .control-panel { position: sticky; top: 65px; align-self: start; overflow-y: auto; max-height: calc(100vh - 65px); padding: 16px; border-left: 1px solid var(--line); background: rgb(12 24 21 / 90%); backdrop-filter: blur(18px); } .array-card, .asset-card, .control-section, .output-card, .validation-card { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgb(255 255 255 / 2%); } .array-card + section, .control-panel section + section { margin-top: 11px; } .array-heading { align-items: flex-start; } .array-heading h2 { margin: 0; font-size: .95rem; } .array-heading > strong { color: var(--mint); font: 750 .78rem ui-monospace, SFMono-Regular, Consolas, monospace; } .array-preset-field { display: grid; gap: 6px; margin-top: 12px; } .array-preset-field span { color: var(--muted); font-size: .66rem; font-weight: 650; } .array-preset-field select { width: 100%; min-height: 37px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #0b1714; } .array-preset-field select:focus { border-color: var(--mint); outline: 2px solid rgb(101 242 191 / 11%); } #array-canvas { display: block; width: 100%; height: 265px; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: #07110f; } #array-meta { margin: 9px 0 0; color: var(--muted); font: 600 .66rem ui-monospace, SFMono-Regular, Consolas, monospace; } .section-title { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; } .section-title > span, .section-title > div > span { color: var(--mint); font: 750 .66rem ui-monospace, SFMono-Regular, Consolas, monospace; } .section-title h2 { margin: 0; font-size: .88rem; } .section-title--spread { justify-content: space-between; } .section-title--spread > div { display: flex; align-items: center; gap: 9px; } .source-summary { display: grid; gap: 7px; } .source-line { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .69rem; } .source-line strong { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; } .asset-list { display: grid; gap: 7px; margin-top: 10px; } .asset-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: .66rem; } .asset-status strong { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; } .asset-status.is-ready span { color: var(--mint); } .asset-status.is-error span { color: var(--danger); } .asset-empty { color: var(--muted); font-size: .68rem; } .builder-link { display: block; margin-top: 11px; color: var(--cyan); font-size: .68rem; text-decoration: none; } .output-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .output-save-state { margin: 9px 0 0; color: var(--muted); font-size: .65rem; text-align: center; } .output-save-state.is-dirty { color: var(--amber); } .field { display: grid; min-width: 0; gap: 6px; } .field > span { color: var(--muted); font-size: .67rem; font-weight: 650; } .field input, .field select, .band-editor input { width: 100%; min-height: 37px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #0b1714; } .field input:focus, .field select:focus, .band-editor input:focus { border-color: var(--mint); outline: 2px solid rgb(101 242 191 / 11%); } .field--wide + .field--wide, .field--wide + .field-grid { margin-top: 9px; } .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 9px; } .workload-summary { margin: 11px 0 0; padding: 10px; border-radius: 9px; color: var(--muted); background: #0b1714; font: 600 .66rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; } .workload-summary.is-warning { color: var(--amber); } .band-editor-list { display: grid; gap: 9px; } .band-editor { display: grid; grid-template-columns: minmax(70px, 1fr) minmax(62px, .8fr) minmax(62px, .8fr) 34px; gap: 6px; padding: 9px; border: 1px solid var(--line); border-radius: 11px; background: #0b1714; } .band-editor input { min-width: 0; font-size: .68rem; } .band-editor input[type="color"] { padding: 3px; } .band-editor__remove { border: 0; border-radius: 8px; color: var(--danger); background: rgb(255 123 115 / 8%); cursor: pointer; } .mini-button { border-color: var(--line); } .validation-card { display: flex; align-items: flex-start; gap: 11px; } .validation-dot { width: 10px; height: 10px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 5px rgb(145 170 162 / 8%); } .validation-card strong { font-size: .8rem; } .validation-card p { margin: 4px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.5; } .validation-card.is-valid .validation-dot { background: var(--mint); box-shadow: 0 0 0 5px rgb(101 242 191 / 10%); } .validation-card.is-invalid .validation-dot { background: var(--danger); box-shadow: 0 0 0 5px rgb(255 123 115 / 10%); } .validation-card.is-warning .validation-dot { background: var(--amber); box-shadow: 0 0 0 5px rgb(255 197 110 / 10%); } .is-hidden { display: none !important; } @media (max-width: 1120px) { .camera-header { grid-template-columns: auto 1fr; } .header-status { justify-content: flex-end; } .header-actions { grid-column: 1 / -1; justify-content: flex-end; } .camera-layout { grid-template-columns: 1fr; } .control-panel { position: static; max-height: none; border-top: 1px solid var(--line); border-left: 0; } } @media (max-width: 760px) { .camera-header, .workspace-heading { align-items: stretch; } .camera-header { position: static; display: flex; flex-direction: column; } .header-status, .header-actions, .workspace-tools { justify-content: flex-start; width: 100%; } .workspace-import { justify-items: start; } .header-actions .button, .workspace-tools .button { flex: 1 1 calc(50% - 5px); } .scene-workspace { padding: 18px; } .workspace-heading { flex-direction: column; } .scene-canvas-card { min-height: 380px; } #scene-canvas { height: 420px; } .history-card { grid-template-columns: 1fr 1fr; } .history-card strong { grid-column: 1 / -1; } } @media (max-width: 430px) { .field-grid, .band-editor, .output-actions { grid-template-columns: 1fr; } .band-editor__remove { min-height: 34px; } .metric-grid { grid-template-columns: 1fr 1fr; } }