.page { height: 100vh; padding: 8px; background: #f3f4f6; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; } .header { height: 48px; display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .logo { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; } .title { width: 160px; height: auto; } .toolbar { margin-top: 8px; height: 38px; display: flex; align-items: center; gap: 6px; padding-left: 6px; flex-shrink: 0; } .tool-icon { width: 24px; height: 24px; flex-shrink: 0; } .upload-trigger { width: 32px; } .upload-box { flex: 1; min-width: 0; height: 28px; border-radius: 6px; border: 0.5px solid #4e5969; background: #f7f8fa; display: flex; align-items: center; justify-content: center; padding: 0 6px; box-sizing: border-box; } .upload-text { width: 100%; color: #4e5969; font-size: 10px; line-height: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .export-box { background: #fff; border: 0.5px solid #e5e6eb; border-radius: 4px; padding: 2px 4px; display: flex; align-items: center; gap: 4px; flex-shrink: 0; } .export-main { width: 9px; height: 21px; } .export-icon { width: 24px; height: 24px; } .preview-panel { margin-top: 8px; border: 0.4px solid #f99595; border-radius: 6.4px; background: #fff; padding: 3.2px; box-sizing: border-box; flex: 1; min-height: 220px; display: flex; flex-direction: column; overflow: hidden; } .preview-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; } .preview-title { width: 78px; height: 14px; flex-shrink: 0; } .preview-controls { flex: 0 1 auto; width: 286px; max-width: calc(100% - 82px); min-width: 0; display: flex; align-items: center; gap: 4px; overflow-x: auto; overflow-y: hidden; } .preview-controls::-webkit-scrollbar { display: none; } .control-item, .picker-item, .direction-item { display: flex; align-items: center; gap: 4px; flex-shrink: 0; } .control-icon { width: 14px; height: 14px; } .select-pill { height: 14px; border: 0.5px solid #c9aee0; border-radius: 4px; padding: 0 2px; display: flex; align-items: center; gap: 2px; color: #606060; font-size: 12px; line-height: 1; box-sizing: border-box; } .select-pill.wide { min-width: 40px; } .select-arrow { width: 10px; height: 8px; } .inline-label { color: #000; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; } .direction-switch { min-width: 43px; height: 14px; border-radius: 58px; background: #c9cdd4; padding: 1px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 1px; } .direction-switch.on { background: #9b6bc2; } .direction-text { color: #4e5969; font-size: 8px; line-height: 1; padding: 0 1px; } .direction-switch.on .direction-text { color: #fff; } .direction-thumb { width: 11.67px; height: 11.67px; border-radius: 999px; background: #fff; } .direction-switch.on .direction-thumb { margin-left: 0; } .direction-switch:not(.on) { flex-direction: row-reverse; } .error-text { margin-top: 4px; color: #cb272d; font-size: 12px; } .preview-canvas { margin-top: 3px; width: 100%; height: auto; flex: 1; min-height: 120px; border-radius: 4px; background: #f7f8fa; } .bottom-panels { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 300px; min-height: 180px; flex-shrink: 0; } .panel { border: 1px solid #f7e0e0; border-radius: 16px; background: #fff; padding: 8px; box-sizing: border-box; height: 100%; overflow: hidden; } .data-panel { display: flex; flex-direction: column; min-height: 0; } .data-scroll { margin-top: 12px; flex: 1; height: 0; min-height: 0; display: flex; flex-direction: column; gap: 12px; } .empty-tip { color: #86909c; font-size: 12px; line-height: 1.4; } .log-panel { display: flex; flex-direction: column; gap: 8px; min-height: 0; } .panel-title { width: 128px; height: auto; } .panel-title-log { width: 123px; } .field-group { display: flex; flex-direction: column; gap: 6px; } .field-title { display: flex; align-items: center; gap: 4px; color: #1d2129; font-size: 14px; font-weight: 500; padding: 2px 0; } .field-title image { width: 14px; height: 14px; } .column-list { position: relative; display: flex; flex-direction: column; gap: 4px; } .column-list-line { position: absolute; left: 8px; top: 0; bottom: 14px; width: 1px; background: #c9cdd4; } .row { position: relative; min-height: 24px; display: flex; align-items: center; gap: 8px; padding-left: 20px; padding-bottom: 8px; box-sizing: border-box; } .row-link { position: absolute; left: 8px; top: 9px; width: 10px; height: 1px; background: #c9cdd4; } .row image { width: 18px; height: 18px; flex-shrink: 0; } .label { flex: 1; min-width: 0; color: #86909c; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .log-list { flex: 1; height: 0; min-height: 0; display: flex; flex-direction: column; gap: 6px; } .log-item { color: #1d2129; font-size: 12px; line-height: 1.4; } .footer { margin-top: 6px; color: #86909c; font-size: 14px; line-height: 1.3; flex-shrink: 0; } .theme-sheet-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.2); z-index: 10; } .theme-sheet { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 16px 16px 0 0; padding: 12px 32px 32px; z-index: 11; box-sizing: border-box; } .theme-title { color: #9b6bc2; font-size: 14px; text-align: center; } .theme-list { margin-top: 8px; height: 216px; min-height: 216px; } .theme-list-spacer { height: 90px; } .theme-row { display: flex; align-items: center; gap: 8px; height: 36px; } .theme-row + .theme-row { margin-top: 0; } .theme-row image { width: 18px; height: 18px; } .theme-bar { flex: 1; height: 20px; border-radius: 2px; overflow: hidden; display: flex; } .theme-color { flex: 1; height: 100%; }