/* Material Snapshot Progressive Disclosure Styles */ /* ========================================================================== */ .anomalous-material-prompt-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; } .anomalous-material-mini-btn { padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--amb-border); color: var(--amb-text-soft); font-size: 0.7rem; cursor: pointer; transition: all 0.15s; } .anomalous-material-mini-btn:hover { background: rgba(255, 255, 255, 0.14); color: var(--amb-text-main); } /* Chips list for node types */ .anomalous-material-chip-flow { display: flex; flex-wrap: wrap; gap: 6px; } .anomalous-material-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--amb-border); color: var(--amb-text-muted); font-size: 0.73rem; } .anomalous-material-chip-count { font-size: 0.68rem; opacity: 0.6; } /* Lazy, two-level disclosure for the exact serialized node parameters. */ .anomalous-material-node-list { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; } .anomalous-material-node-detail { overflow: hidden; border: 1px solid var(--amb-border); border-radius: 7px; background: rgba(5, 7, 11, 0.22); } .anomalous-material-node-detail.is-selected { border-color: color-mix(in srgb, var(--amb-link) 34%, transparent); background: color-mix(in srgb, var(--amb-link) 4%, transparent); } .anomalous-material-node-select { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; flex: 0 0 16px; margin: 0; border-radius: 4px; border: 1.5px solid var(--amb-border-strong); background-color: rgba(20, 10, 16, 0.6); cursor: pointer; position: relative; outline: none; display: inline-grid; place-content: center; vertical-align: middle; transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; } .anomalous-material-node-select:hover { border-color: color-mix(in srgb, var(--amb-link) 60%, transparent); background-color: color-mix(in srgb, var(--amb-link) 8%, transparent); } .anomalous-material-node-select:checked { background-color: var(--amb-btn-primary-bg); border-color: var(--amb-link); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230b0f17' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E"); background-size: 11px 11px; background-position: center; background-repeat: no-repeat; box-shadow: 0 0 8px color-mix(in srgb, var(--amb-link) 35%, transparent); } .anomalous-material-node-select:focus-visible { outline: 2px solid var(--amb-link); outline-offset: 2px; } .anomalous-material-node-detail > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; color: #d8dee9; cursor: pointer; user-select: none; list-style: none; } .anomalous-material-node-detail > summary::-webkit-details-marker { display: none; } .anomalous-material-node-detail > summary:hover { background: rgba(255, 255, 255, 0.035); } .anomalous-material-node-detail[open] > summary { border-bottom: 1px solid var(--amb-border); } .anomalous-material-node-heading { display: flex; min-width: 0; flex: 1; align-items: center; flex-wrap: wrap; gap: 6px; } .anomalous-material-node-heading strong, .anomalous-material-node-heading small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .anomalous-material-node-heading strong { font-size: 0.77rem; font-weight: 600; } .anomalous-material-node-heading small { color: #788396; font-size: 0.67rem; font-family: monospace; } .anomalous-material-node-count { flex-shrink: 0; color: #8290a5; font-size: 0.68rem; } .anomalous-material-prompt-role-select { width: auto; max-width: 190px; flex: 0 1 190px; padding-block: 5px; font-size: 0.68rem; } .anomalous-material-node-save, .anomalous-workbench-save-selected-btn { flex: 0 0 auto; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--amb-link) 24%, transparent); border-radius: 6px; background: color-mix(in srgb, var(--amb-link) 8%, transparent); color: #8fe1d4; font-size: 0.66rem; cursor: pointer; } .anomalous-material-node-save:hover, .anomalous-workbench-save-selected-btn:hover:not(:disabled) { border-color: color-mix(in srgb, var(--amb-link) 42%, transparent); background: color-mix(in srgb, var(--amb-link) 14%, transparent); color: #d8fff8; } .anomalous-material-node-save:disabled, .anomalous-workbench-save-selected-btn:disabled { cursor: default; opacity: 0.5; } .anomalous-material-node-parameter-content { display: flex; flex-direction: column; gap: 7px; padding: 9px; } .anomalous-material-node-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #7f8a9d; font-size: 0.67rem; } .anomalous-material-node-meta button { margin-left: auto; } .anomalous-material-parameter-row { display: grid; grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.025); } .anomalous-material-parameter-label { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 5px; padding-top: 2px; color: #aab3c2; font-size: 0.7rem; } .anomalous-material-parameter-label code { color: #687487; font-size: 0.62rem; } .anomalous-material-volatile-badge { padding: 1px 5px; border: 1px solid rgba(245, 158, 11, 0.22); border-radius: 999px; background: rgba(245, 158, 11, 0.08); color: #d6a756; font-size: 0.59rem; } .anomalous-material-parameter-value { max-height: 150px; overflow: auto; margin: 0; padding: 6px 8px; border: 1px solid var(--amb-border); border-radius: 5px; background: rgba(0, 0, 0, 0.18); color: #d5dae4; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.67rem; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; } @media (max-width: 560px) { .anomalous-material-parameter-row { grid-template-columns: 1fr; } } /* Material Prompt Station */ .anomalous-material-prompt-station { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid rgba(81, 221, 190, 0.2); border-radius: 8px; background: rgba(13, 17, 23, 0.65); } .anomalous-material-prompt-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .anomalous-material-prompt-title-sec { display: flex; align-items: center; gap: 8px; } .anomalous-material-prompt-title { font-size: 0.76rem; font-weight: 600; color: #6ee7b7; } .anomalous-material-prompt-count { font-size: 0.68rem; color: var(--amb-text-dim); } .anomalous-material-copy-prompt-btn { padding: 3px 8px; border: 1px solid rgba(81, 221, 190, 0.3); border-radius: 5px; background: rgba(81, 221, 190, 0.1); color: #8fe1d4; font-size: 0.68rem; cursor: pointer; transition: all 0.15s ease; } .anomalous-material-copy-prompt-btn:hover { background: rgba(81, 221, 190, 0.22); border-color: rgba(81, 221, 190, 0.5); color: var(--amb-text-main); } .anomalous-material-prompt-body { max-height: 180px; overflow-y: auto; font-family: inherit; font-size: 0.74rem; line-height: 1.45; color: var(--amb-text-soft); white-space: pre-wrap; word-break: break-word; padding: 7px 9px; background: rgba(0, 0, 0, 0.28); border-radius: 5px; border: 1px solid var(--amb-border); } /* Model Categorized Groups */ .anomalous-tag-base { background: rgba(255, 255, 255, 0.08); color: var(--amb-text-soft); border: 1px solid var(--amb-border-strong); } .theme-abyssal-scarlet .anomalous-tag-base { background: rgba(220, 20, 60, 0.18); color: #ff3366; border: 1px solid rgba(220, 20, 60, 0.45); } .anomalous-tag-lora { background: rgba(192, 132, 252, 0.12); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.25); } .anomalous-tag-vae { background: rgba(251, 146, 60, 0.12); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.25); } .anomalous-tag-clip { background: color-mix(in srgb, var(--amb-link) 12%, transparent); color: var(--amb-link); border: 1px solid color-mix(in srgb, var(--amb-link) 25%, transparent); } .anomalous-tag-other { background: rgba(148, 163, 184, 0.12); color: var(--amb-text-muted); border: 1px solid rgba(148, 163, 184, 0.25); } /* ========================================================================== Image Detail Studio Workbench (Studio Windowed Modal & Bento Design) ========================================================================== */ .anomalous-workbench-overlay { position: fixed; inset: 0; z-index: 1000000; display: flex; align-items: center; justify-content: center; width: 100vw; height: 100vh; padding: clamp(16px, 2.5vw, 24px); box-sizing: border-box; background: rgba(3, 4, 7, 0.88); backdrop-filter: blur(16px); overflow: hidden; user-select: none; } .anomalous-workbench-overlay.is-suspended { visibility: hidden; pointer-events: none; } .anomalous-workbench-dialog { position: relative; display: flex; flex-direction: column; width: min(1600px, 96vw); height: min(940px, 94vh); background: var(--amb-bg-page); border-radius: 16px; border: 1px solid var(--amb-border); box-shadow: 0 32px 96px rgba(0, 0, 0, 0.88), 0 0 0 1px rgba(255, 255, 255, 0.05); overflow: hidden; } /* Workbench Top Header */ .anomalous-workbench-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; height: 54px; padding: 0 18px; border-bottom: 1px solid var(--amb-border); background: var(--amb-bg-page); gap: 16px; } .anomalous-workbench-header-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; } .anomalous-workbench-back-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--amb-border); background: rgba(255, 255, 255, 0.04); color: var(--amb-text-soft); font-size: 20px; cursor: pointer; transition: all 0.15s; line-height: 1; } .anomalous-workbench-back-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--amb-text-main); border-color: var(--amb-border-strong); } .anomalous-workbench-title-box { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; } .anomalous-workbench-title-filename { font-size: 0.92rem; font-weight: 600; color: var(--amb-text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .anomalous-workbench-title-tags { display: flex; align-items: center; gap: 6px; flex-shrink: 0; } .anomalous-workbench-tag { padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--amb-border); color: var(--amb-text-muted); font-size: 0.68rem; font-weight: 500; } .anomalous-workbench-tag.is-ext { background: rgba(255, 255, 255, 0.08); border-color: var(--amb-border-strong); color: var(--amb-text-soft); font-weight: 700; } .theme-abyssal-scarlet .anomalous-workbench-tag.is-ext { background: rgba(220, 20, 60, 0.1); border-color: rgba(220, 20, 60, 0.25); color: #dc143c; } /* Center switcher counter */ .anomalous-workbench-header-center { display: flex; align-items: center; gap: 10px; flex-shrink: 0; background: rgba(0, 0, 0, 0.35); padding: 3px 8px; border-radius: 999px; border: 1px solid var(--amb-border); } .anomalous-workbench-nav-btn { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: none; background: transparent; color: var(--amb-text-soft); font-size: 18px; cursor: pointer; transition: all 0.15s; line-height: 1; } .anomalous-workbench-nav-btn:not(:disabled):hover { background: rgba(255, 255, 255, 0.12); color: var(--amb-text-main); } .anomalous-workbench-nav-btn:disabled { opacity: 0.25; cursor: not-allowed; } .anomalous-workbench-counter { font-size: 0.8rem; font-weight: 600; color: var(--amb-text-main); font-variant-numeric: tabular-nums; padding: 0 4px; } /* Right buttons */ .anomalous-workbench-header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .anomalous-workbench-tool-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--amb-border); background: rgba(255, 255, 255, 0.04); color: var(--amb-text-soft); font-size: 15px; cursor: pointer; transition: all 0.15s; } .anomalous-workbench-tool-btn:hover, .anomalous-workbench-tool-btn.is-active { background: color-mix(in srgb, var(--amb-link) 15%, transparent); border-color: color-mix(in srgb, var(--amb-link) 35%, transparent); color: var(--amb-link); } .anomalous-workbench-close-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--amb-border); background: rgba(239, 68, 68, 0.1); color: #fca5a5; font-size: 20px; cursor: pointer; transition: all 0.15s; line-height: 1; } .anomalous-workbench-close-btn:hover { background: rgba(239, 68, 68, 0.25); color: var(--amb-text-main); border-color: rgba(239, 68, 68, 0.4); transform: scale(1.05); } /* Main Body: Left Thumbnail Rail + Center Stage Area + Right Inspector */ .anomalous-workbench-body { display: grid; grid-template-columns: auto minmax(0, 1.45fr) minmax(460px, 0.95fr); flex: 1; min-height: 0; overflow: hidden; } /* Left Canvas Stage Area */ .anomalous-workbench-stage-area { position: relative; display: flex; flex-direction: column; min-height: 0; height: 100%; background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.035) 0%, transparent 68%), #07080c; overflow: hidden; } .anomalous-workbench-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; } .anomalous-workbench-stage-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; pointer-events: auto; transition: transform 0.06s ease-out; transform-origin: center center; filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.6)); } /* Floating Prev/Next Glass Nav Arrows */ .anomalous-workbench-float-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 12; display: flex; align-items: center; justify-content: center; width: 44px; height: 84px; border-radius: 12px; background: rgba(15, 18, 26, 0.55); backdrop-filter: blur(10px); border: 1px solid var(--amb-border); color: var(--amb-text-main); font-size: 32px; cursor: pointer; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); line-height: 1; opacity: 0.65; } .anomalous-workbench-float-nav.is-prev { left: 16px; } .anomalous-workbench-float-nav.is-next { right: 16px; } .anomalous-workbench-float-nav:hover { opacity: 1; background: color-mix(in srgb, var(--amb-link) 20%, transparent); border-color: color-mix(in srgb, var(--amb-link) 45%, transparent); color: var(--amb-text-main); transform: translateY(-50%) scale(1.08); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px color-mix(in srgb, var(--amb-link) 25%, transparent); } /* Floating Zoom Bar */ .anomalous-workbench-zoom-bar { position: absolute; bottom: 18px; right: 18px; z-index: 12; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 9px; background: rgba(14, 17, 24, 0.85); backdrop-filter: blur(12px); border: 1px solid var(--amb-border-strong); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); } .anomalous-workbench-zoom-bar button { padding: 3px 8px; border-radius: 5px; border: 1px solid transparent; background: transparent; color: var(--amb-text-soft); font-size: 0.72rem; font-weight: 500; cursor: pointer; transition: all 0.15s; } .anomalous-workbench-zoom-bar button:hover { background: rgba(255, 255, 255, 0.1); color: var(--amb-text-main); } /* Left Filmstrip Rail */ .anomalous-workbench-filmstrip { width: 116px; height: 100%; min-height: 0; padding: 12px 10px; border-right: 1px solid var(--amb-border); background: var(--amb-bg-page); overflow-x: hidden; overflow-y: auto; box-sizing: border-box; transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), padding 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s ease; } .anomalous-workbench-filmstrip.is-hidden { width: 0 !important; min-width: 0 !important; padding: 0 !important; border-right: none !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; } .anomalous-workbench-filmstrip::-webkit-scrollbar { width: 4px; } .anomalous-workbench-filmstrip::-webkit-scrollbar-track { background: transparent; } .anomalous-workbench-filmstrip::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 4px; } .anomalous-workbench-filmstrip::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--amb-link) 45%, transparent); } .anomalous-workbench-filmstrip-track { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; } .anomalous-workbench-filmstrip-thumb { position: relative; flex: 0 0 92px; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 2px solid var(--amb-border); background: var(--amb-bg-panel); cursor: pointer; box-sizing: border-box; transition: border-color 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease; } .anomalous-workbench-filmstrip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .anomalous-workbench-filmstrip-thumb:hover { border-color: rgba(255, 255, 255, 0.45); transform: scale(1.04); } .anomalous-workbench-filmstrip-thumb.is-active { border-color: var(--amb-link); box-shadow: 0 0 8px color-mix(in srgb, var(--amb-link) 35%, transparent), inset 0 0 0 1px var(--amb-link); transform: scale(1.04); } .anomalous-workbench-thumb-index { position: absolute; bottom: 4px; right: 4px; font-size: 10px; font-weight: 700; line-height: 1; color: var(--amb-text-muted); background: rgba(10, 13, 20, 0.82); backdrop-filter: blur(4px); padding: 2px 5px; border-radius: 4px; pointer-events: none; transition: color 0.15s, background 0.15s; } .anomalous-workbench-filmstrip-thumb.is-active .anomalous-workbench-thumb-index { color: var(--amb-link); background: rgba(13, 23, 27, 0.92); font-weight: 800; } /* Right Inspector Panel */ .anomalous-workbench-inspector { display: flex; flex-direction: column; min-height: 0; height: 100%; border-left: 1px solid var(--amb-border); background: var(--amb-bg-page); } .anomalous-workbench-inspector-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; user-select: text; } /* Inspector Top Actions Toolbar */ .anomalous-workbench-inspector-toolbar { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; } .anomalous-workbench-action-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 3px 10px 3px 10px; border: 1px solid var(--amb-border-strong); background: rgba(255, 255, 255, 0.05); color: var(--amb-text-main); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); white-space: nowrap; user-select: none; box-sizing: border-box; position: relative; overflow: hidden; } .anomalous-workbench-action-icon { width: 14px; height: 14px; flex-shrink: 0; stroke: currentColor; transition: transform 0.18s ease; } .anomalous-workbench-action-btn:hover .anomalous-workbench-action-icon { transform: scale(1.1); } .anomalous-workbench-action-btn:hover { background: rgba(255, 255, 255, 0.09); color: var(--amb-text-main); border-color: var(--amb-border-strong); } .anomalous-workbench-action-btn.is-primary { background: var(--amb-btn-primary-bg); border-color: var(--amb-border-hover); color: var(--amb-btn-primary-text); } .anomalous-workbench-action-btn.is-primary:hover { background: var(--amb-btn-primary-hover); border-color: var(--amb-border-hover); color: var(--amb-btn-primary-text); box-shadow: none; transform: translateY(-1px); } .anomalous-workbench-action-btn.is-primary:active { transform: translateY(0) scale(0.98); } .anomalous-workbench-action-btn.is-save { background: rgba(255, 255, 255, 0.04); border-color: var(--amb-border-strong); box-shadow: none; color: var(--amb-text-soft); flex: 0 0 auto; } .anomalous-workbench-action-btn.is-save:hover { background: rgba(255, 255, 255, 0.09); color: var(--amb-text-main); border-color: color-mix(in srgb, var(--amb-link) 40%, transparent); box-shadow: none; transform: translateY(-1px); } .anomalous-workbench-action-btn.is-save.is-active, .anomalous-workbench-action-btn.is-save[aria-expanded="true"] { background: color-mix(in srgb, var(--amb-link) 20%, transparent); border-color: color-mix(in srgb, var(--amb-link) 50%, transparent); color: var(--amb-text-main); box-shadow: none; } .anomalous-workbench-action-btn.is-save:active { transform: translateY(0) scale(0.98); } /* Segmented Tabs Bar */ .anomalous-workbench-tabs-bar { display: flex; background: rgba(0, 0, 0, 0.38); padding: 3px; border-radius: 10px; border: 1px solid var(--amb-border); gap: 3px; flex-shrink: 0; } .anomalous-workbench-tab-btn { flex: 1; padding: 7px 8px; border-radius: 7px; border: none; background: transparent; color: var(--amb-text-muted); font-size: 0.74rem; font-weight: 600; cursor: pointer; transition: all 0.15s; text-align: center; white-space: nowrap; } .anomalous-workbench-tab-btn:hover { color: var(--amb-text-main); background: rgba(255, 255, 255, 0.04); } .anomalous-workbench-tab-btn.is-active { background: rgba(255, 255, 255, 0.09); color: var(--amb-link); box-shadow: none; } .anomalous-workbench-tab-btn:active { transform: scale(0.97); } /* Tab Panels */ .anomalous-workbench-tab-panel { display: flex; flex-direction: column; gap: 12px; } /* Bento Specs Grid */ .anomalous-workbench-specs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .anomalous-workbench-spec-card { display: flex; flex-direction: column; gap: 5px; padding: 8px 10px; border-radius: var(--amb-radius-control, 6px); background: var(--amb-bg-card, var(--amb-bg-card-hover)); border: 1px solid var(--amb-border, var(--amb-border)); transition: background-color 0.15s ease, border-color 0.15s ease; position: relative; user-select: text; } .anomalous-workbench-spec-card:hover { background: var(--amb-bg-card-hover, var(--amb-bg-card-hover)); border-color: var(--amb-border-hover, var(--amb-border-strong)); } .anomalous-workbench-spec-card.is-wide { grid-column: 1 / -1; } .anomalous-workbench-spec-card.is-seed { border-color: rgba(245, 158, 11, 0.28); background: rgba(245, 158, 11, 0.035); } .anomalous-workbench-spec-card.is-seed:hover { border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.06); } .anomalous-workbench-spec-card.is-res { border-color: color-mix(in srgb, var(--amb-link) 25%, transparent); background: color-mix(in srgb, var(--amb-link) 4%, transparent); } .theme-abyssal-scarlet .anomalous-workbench-spec-card.is-res { border-color: rgba(220, 20, 60, 0.25); background: rgba(220, 20, 60, 0.035); } /* Card Click-to-copy interaction */ .anomalous-workbench-spec-card.is-copyable { cursor: pointer; } .anomalous-workbench-spec-card.is-copyable:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); } .anomalous-workbench-spec-card.is-copyable:active { transform: translateY(0) scale(0.99); } .anomalous-workbench-spec-card.is-copied { border-color: color-mix(in srgb, var(--amb-link) 60%, transparent) !important; background: color-mix(in srgb, var(--amb-link) 8%, transparent) !important; box-shadow: 0 0 14px color-mix(in srgb, var(--amb-link) 25%, transparent) !important; } .anomalous-workbench-spec-header { display: flex; align-items: center; justify-content: space-between; gap: 6px; } .anomalous-workbench-spec-label { font-size: 0.68rem; color: #8a96a8; font-weight: 500; } .anomalous-workbench-copy-indicator { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; opacity: 0; transition: opacity 0.15s ease, transform 0.15s ease; color: var(--amb-text-muted); pointer-events: none; } .anomalous-workbench-spec-card.is-copyable:hover .anomalous-workbench-copy-indicator, .anomalous-workbench-spec-card.is-copyable:focus-visible .anomalous-workbench-copy-indicator { opacity: 1; transform: scale(1.05); } .anomalous-workbench-spec-card.is-copyable:focus-visible { outline: 2px solid color-mix(in srgb, var(--amb-link) 55%, transparent); outline-offset: 1px; } .anomalous-workbench-spec-copy-icon { width: 12px; height: 12px; stroke: currentColor; } .anomalous-workbench-spec-copy-icon.is-success { stroke: var(--amb-link); } .anomalous-workbench-spec-copy-icon.is-error { stroke: #f87171; } .anomalous-workbench-copy-badge { font-size: 10px; font-weight: 600; color: var(--amb-link); animation: anomalous-fade-in 0.15s ease forwards; } .anomalous-workbench-copy-badge.is-error { color: #f87171; } .anomalous-workbench-spec-card.is-copy-failed { border-color: rgba(239, 68, 68, 0.5) !important; background: rgba(239, 68, 68, 0.06) !important; } @keyframes anomalous-fade-in { from { opacity: 0; transform: translateX(2px); } to { opacity: 1; transform: translateX(0); } } .anomalous-workbench-spec-val { color: var(--amb-text-main); font-size: 0.94rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; } .anomalous-workbench-spec-val.is-mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-numeric: tabular-nums; } /* Generation Parameter Preset Section */ .anomalous-workbench-generation-save { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--amb-link) 6%, transparent) 0%, color-mix(in srgb, var(--amb-link) 4%, transparent) 100%); border: 1px solid color-mix(in srgb, var(--amb-link) 20%, transparent); margin-top: 4px; transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; } .anomalous-workbench-generation-save:hover { background: linear-gradient(135deg, color-mix(in srgb, var(--amb-link) 10%, transparent) 0%, color-mix(in srgb, var(--amb-link) 8%, transparent) 100%); border-color: color-mix(in srgb, var(--amb-link) 35%, transparent); box-shadow: 0 3px 12px color-mix(in srgb, var(--amb-link) 8%, transparent); } .anomalous-workbench-generation-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; } .anomalous-workbench-generation-title { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; color: var(--amb-text-main); } .anomalous-workbench-generation-icon { width: 13px; height: 13px; stroke: var(--amb-link); flex-shrink: 0; } .anomalous-workbench-generation-hint { font-size: 0.66rem; color: #8e9dae; line-height: 1.35; } .anomalous-workbench-generation-btn { flex-shrink: 0; padding: 6px 13px; border-radius: 7px; background: var(--amb-btn-primary-bg); border: 1px solid color-mix(in srgb, var(--amb-link) 45%, transparent); color: var(--amb-btn-primary-text); font-size: 0.74rem; font-weight: 600; cursor: pointer; transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease; white-space: nowrap; user-select: none; border-color: var(--amb-border-hover); } .anomalous-workbench-generation-btn:hover:not(:disabled) { background: var(--amb-btn-primary-hover); border-color: var(--amb-border-hover); color: var(--amb-btn-primary-text); box-shadow: none; transform: translateY(-1px); } .anomalous-workbench-generation-btn:active:not(:disabled) { transform: translateY(0) scale(0.97); } .anomalous-workbench-generation-btn:disabled { opacity: 0.55; cursor: default; } /* Prompts Station */ .anomalous-workbench-prompts-wrap { display: flex; flex-direction: column; gap: 12px; } .anomalous-workbench-prompt-card { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 11px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--amb-border); border-left-width: 3.5px; } .anomalous-workbench-prompt-card.is-positive { border-left-color: var(--amb-link); background: linear-gradient(90deg, color-mix(in srgb, var(--amb-link) 4%, transparent) 0%, rgba(255, 255, 255, 0.02) 40%); } .anomalous-workbench-prompt-card.is-negative { border-left-color: #f43f5e; background: linear-gradient(90deg, rgba(244, 63, 94, 0.04) 0%, rgba(255, 255, 255, 0.02) 40%); } .anomalous-workbench-prompt-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .anomalous-workbench-prompt-title { font-size: 0.78rem; font-weight: 700; color: var(--amb-text-main); } .anomalous-workbench-mini-action-btn { padding: 3px 8px; border-radius: 5px; border: 1px solid var(--amb-border); background: rgba(255, 255, 255, 0.04); color: var(--amb-text-soft); font-size: 0.7rem; font-weight: 500; cursor: pointer; transition: all 0.15s; } .anomalous-workbench-mini-action-btn:hover { background: rgba(255, 255, 255, 0.12); color: var(--amb-text-main); border-color: var(--amb-border-strong); } .anomalous-workbench-mini-action-btn.is-copied { background: color-mix(in srgb, var(--amb-link) 20%, transparent); color: var(--amb-link); border-color: var(--amb-link); } .anomalous-workbench-prompt-content { color: #d1d9e6; font-size: 0.8rem; line-height: 1.55; max-height: 5.6em; overflow: hidden; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; transition: max-height 0.25s ease; } .anomalous-workbench-prompt-content.is-expanded { max-height: none; overflow-y: visible; } /* Models & LoRA Section */ .anomalous-workbench-models-wrap { display: flex; flex-direction: column; gap: 12px; } .anomalous-workbench-model-group { display: flex; flex-direction: column; gap: 6px; } .anomalous-workbench-model-group-title { font-size: 0.72rem; font-weight: 700; color: var(--amb-text-muted); margin-bottom: 2px; } .anomalous-workbench-model-card { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--amb-border); transition: all 0.15s; } .anomalous-workbench-model-card:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--amb-border-strong); } .anomalous-workbench-model-thumb { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 7px; overflow: hidden; border: 1px solid var(--amb-border); background: var(--amb-bg-page); } .anomalous-workbench-model-thumb img, .anomalous-workbench-model-thumb video { width: 100%; height: 100%; object-fit: cover; } .anomalous-workbench-model-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; } .anomalous-workbench-model-name { font-size: 0.8rem; font-weight: 600; color: var(--amb-text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .anomalous-workbench-lora-badge { display: inline-block; padding: 1px 6px; border-radius: 4px; background: rgba(192, 132, 252, 0.12); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.25); font-size: 0.68rem; font-weight: 600; width: fit-content; } .anomalous-workbench-model-notes { font-size: 0.68rem; color: #c4b48a; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .anomalous-workbench-model-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; } .anomalous-workbench-model-tag { padding: 2px 7px; border-radius: 999px; font-size: 0.66rem; font-weight: 700; } .anomalous-workbench-model-tag.is-base { background: rgba(255, 255, 255, 0.08); color: var(--amb-text-soft); border: 1px solid var(--amb-border-strong); } .theme-abyssal-scarlet .anomalous-workbench-model-tag.is-base { background: rgba(220, 20, 60, 0.18); color: #ff3366; border: 1px solid rgba(220, 20, 60, 0.45); } .anomalous-workbench-model-tag.is-lora { background: rgba(192, 132, 252, 0.12); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.25); } .anomalous-workbench-model-tag.is-clip { background: color-mix(in srgb, var(--amb-link) 12%, transparent); color: var(--amb-link); border: 1px solid color-mix(in srgb, var(--amb-link) 25%, transparent); } .anomalous-workbench-model-tag.is-vae { background: rgba(251, 146, 60, 0.12); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.25); } .anomalous-workbench-model-tag.is-other { background: rgba(148, 163, 184, 0.12); color: var(--amb-text-muted); border: 1px solid rgba(148, 163, 184, 0.25); } /* Nodes Section */ .anomalous-workbench-nodes-wrap { display: flex; flex-direction: column; gap: 10px; } .anomalous-workbench-action-row { display: flex; justify-content: flex-end; } .anomalous-workbench-node-list-box { display: flex; flex-direction: column; gap: 6px; } .anomalous-workbench-node-selection-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--amb-link) 14%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--amb-link) 4%, transparent); } .anomalous-workbench-node-selection-count { flex: 1 1 180px; color: #8fa0b5; font-size: 0.7rem; } .anomalous-workbench-save-selected-btn { margin-left: auto; } /* Loading & Error Box */ .anomalous-workbench-loading-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 20px; color: var(--amb-text-muted); font-size: 0.82rem; text-align: center; } .anomalous-workbench-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--amb-link) 15%, transparent); border-top-color: var(--amb-link); animation: anomalous-spin 0.8s linear infinite; } @keyframes anomalous-spin { to { transform: rotate(360deg); } } .anomalous-workbench-error-box { padding: 24px; text-align: center; color: #f87171; font-size: 0.82rem; } .anomalous-workbench-muted { color: var(--amb-text-dim); font-size: 0.78rem; font-style: italic; } /* Progressive disclosure shared by material capture surfaces. */ .anomalous-recipe-prompt-role-select[hidden] { display: none !important; } .anomalous-notebook-fold, .anomalous-secondary-actions { padding: 8px; } .anomalous-notebook-fold > summary, .anomalous-secondary-actions > summary { cursor: pointer; color: var(--input-text, var(--amb-text-soft)); padding: 4px; } .anomalous-notebook-fold > p { color: var(--amb-text-muted); font-size: 13px; } .anomalous-notebook-fold > button { margin: 6px 8px 0 0; } /* duplicate workbench-generation-save selector cleaned up */ .anomalous-notebook-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .anomalous-nb-editor .anomalous-nb-textarea { font: inherit; line-height: 1.6; padding: 12px; box-sizing: border-box; } /* Material application and prompt composition: structural styling, no animation or blur. */ .anomalous-material-application-result { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .anomalous-material-application-result { margin-top: 10px; } .anomalous-material-dragging { opacity: 0 !important; } .anomalous-material-dragging, .anomalous-material-dragging * { pointer-events: none !important; } .anomalous-material-drag-hint { position: fixed; left: 24px; top: 24px; max-width: 240px; z-index: 1000002; pointer-events: none; padding: 10px 14px; border: 1px solid #68cdb9; border-radius: 8px; background: var(--amb-bg-card-hover); color: var(--amb-text-main); } /* ========================================================================== Prompt Composer & Paper Note Studio / Material Drag System ========================================================================== */ /* 1. Modal Dragging State: Instantly ghost modal to reveal ComfyUI canvas */ #anomalous-modal.anomalous-material-dragging { pointer-events: none !important; } #anomalous-modal.anomalous-material-dragging #anomalous-container { opacity: 0 !important; pointer-events: none !important; transform: scale(0.985); transition: opacity 0.16s cubic-bezier(0.4, 0, 0.2, 1), transform 0.16s cubic-bezier(0.4, 0, 0.2, 1); } /* 2. Drag Cursor & Hover Feedback */ .anomalous-paper-note[draggable="true"] { cursor: grab; } .anomalous-paper-note[draggable="true"]:active { cursor: grabbing; } /* 3. Drag Follower Floating Badge */ .anomalous-material-drag-hint { position: fixed; z-index: 999999; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--amb-radius-control, 6px); background: var(--amb-bg-panel, var(--amb-bg-panel)); border: 1px solid var(--amb-border, var(--amb-border-strong)); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); color: var(--amb-text-main, var(--amb-text-main)); font-size: 0.8rem; font-weight: 500; line-height: 1.2; backdrop-filter: blur(8px); transition: border-color 0.15s ease, background-color 0.15s ease; } .anomalous-material-drag-hint.is-target-valid { border-color: var(--amb-border-hover, var(--amb-border-strong)); background: var(--amb-bg-card-hover, var(--amb-bg-card-hover)); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6); color: var(--amb-text-main); } .anomalous-material-drag-hint.is-target-refused { border-color: rgba(245, 158, 11, 0.55); color: #fcd34d; } /* Prompt boxes on the canvas while a prompt is dragged: outlined by role, the target solid. */ .anomalous-prompt-box { outline: 2px dashed rgba(156, 163, 175, 0.75); outline-offset: 2px; } .anomalous-prompt-box.is-positive { outline-color: rgba(74, 222, 128, 0.85); } .anomalous-prompt-box.is-negative { outline-color: rgba(248, 113, 113, 0.9); } .anomalous-prompt-box.is-both { outline-color: rgba(192, 132, 252, 0.9); } .anomalous-prompt-box.is-hover { outline-style: solid; outline-width: 3px; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12); } /* What a release would write, laid over the target box (and its partner) while the pointer is on it. */ .anomalous-prompt-preview { position: fixed; z-index: 999998; box-sizing: border-box; overflow: hidden; padding: 6px 8px; border-radius: var(--amb-radius-control); background: var(--amb-bg-input); color: var(--amb-text-main); line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; pointer-events: none; opacity: 0.94; } .anomalous-prompt-preview-tag { float: right; margin: 0 0 4px 8px; padding: 0 6px; border-radius: 999px; background: var(--amb-bg-card-hover); color: var(--amb-text-muted); font-size: 10px; line-height: 16px; } .anomalous-prompt-preview.is-positive .anomalous-prompt-preview-tag { color: rgba(74, 222, 128, 0.95); } .anomalous-prompt-preview.is-negative .anomalous-prompt-preview-tag { color: rgba(248, 113, 113, 0.95); } .anomalous-prompt-preview.is-both .anomalous-prompt-preview-tag { color: rgba(192, 132, 252, 0.95); }