astrbot_plugin_imagestudio/frontend/standalone-web/src/styles/app.css

8406 行
164 KiB
CSS

/* Application-wide styles extracted from App.vue.
These rules were an 8,395-line unscoped <style> block inside the single-file
component -- 37% of App.vue by line count. Because the block carried no
`scoped` attribute, every rule was already global, so moving it into a
plain stylesheet import is exactly equivalent at runtime.
Splitting it out is the prerequisite for breaking App.vue apart: any
component extracted from the template depends on selectors defined here, and
while they lived inside the component there was no way to move markup out
without either duplicating CSS or silently losing it. */
.navigation-shell {
--bg: #111522;
--bg-soft: #1a1f2d;
--panel: #182231;
--panel-muted: #202b3b;
--text: #edf4fb;
--text-soft: #9aa8ba;
--rail: var(--primary);
--rail-cutout: #111522;
--workbench-pad: 22px;
--rail-space: 244px;
--topbar-content-offset: calc(var(--rail-space) + var(--workbench-pad));
--topbar-offset: calc(0px - var(--rail-space) - var(--workbench-pad));
--rail-duration: 340ms;
--rail-ease: cubic-bezier(0.22, 1, 0.36, 1);
--border: rgba(215, 226, 244, 0.13);
--shadow: 0 18px 45px rgba(4, 8, 18, 0.34);
box-sizing: border-box;
display: grid;
grid-template-columns: 244px minmax(0, 1fr);
min-height: 100vh;
color: var(--text);
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
linear-gradient(180deg, #151a27 0%, #232938 100%);
background-size: 80px 80px, auto;
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
letter-spacing: 0;
transition: grid-template-columns var(--rail-duration) var(--rail-ease);
}
.navigation-shell.rail-collapsed {
--rail-space: 76px;
grid-template-columns: 76px minmax(0, 1fr);
}
.navigation-shell.rail-collapsed:has(.rail:hover),
.navigation-shell.rail-collapsed:has(.rail:focus-within) {
--rail-space: 244px;
grid-template-columns: 244px minmax(0, 1fr);
}
.navigation-shell[data-theme="light"] {
--bg: #f3f6fb;
--bg-soft: #e7edf5;
--panel: #ffffff;
--panel-muted: #f1f5f9;
--text: #18202b;
--text-soft: #667085;
--rail-cutout: #f3f6fb;
--border: rgba(32, 41, 56, 0.14);
--shadow: 0 18px 45px rgba(78, 88, 111, 0.18);
background:
linear-gradient(90deg, rgba(61, 72, 92, 0.05) 1px, transparent 1px),
linear-gradient(180deg, #f3f6fb 0%, #fafbfc 100%);
background-size: 80px 80px, auto;
}
.navigation-shell,
.navigation-shell *,
.navigation-shell *::before,
.navigation-shell *::after {
box-sizing: border-box;
}
body {
margin: 0;
}
#app {
min-height: 100vh;
}
.navigation-shell button,
.navigation-shell input,
.navigation-shell select,
.navigation-shell textarea {
font: inherit;
}
.navigation-shell button {
min-height: 34px;
border: 1px solid var(--border);
border-radius: 6px;
color: var(--text);
background: var(--panel);
cursor: pointer;
}
.navigation-shell button:disabled {
cursor: not-allowed;
opacity: 0.65;
}
.navigation-shell h1,
.navigation-shell h2,
.navigation-shell p,
.navigation-shell ul,
.navigation-shell dl,
.navigation-shell dd {
margin: 0;
}
.navigation-shell ul {
padding: 0;
list-style: none;
}
.rail {
position: sticky;
top: 0;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: stretch;
width: 100%;
height: 100vh;
padding: 16px 12px 14px;
color: var(--text);
background: color-mix(in srgb, var(--bg-soft) 94%, transparent);
border-right: 1px solid var(--border);
overflow: hidden;
z-index: 24;
backdrop-filter: blur(18px);
}
.brand {
display: flex;
align-items: center;
gap: 10px;
min-height: 48px;
padding: 2px 4px 12px;
overflow: hidden;
}
.brand-mark {
display: grid;
place-items: center;
flex: 0 0 38px;
width: 38px;
height: 38px;
border-radius: 7px;
color: #ffffff;
background: var(--primary);
box-shadow: 0 8px 20px var(--primary-soft);
font-weight: 800;
}
.brand-copy {
min-width: 0;
opacity: 1;
transition: opacity 160ms ease;
}
.brand strong,
.brand small {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.brand strong {
font-size: 14px;
}
.brand small {
margin-top: 2px;
color: var(--text-soft);
font-size: 11px;
}
.icon-nav {
flex: 1 1 auto;
width: 100%;
min-height: 0;
margin: 8px 0;
border: 0;
background: transparent;
overflow: hidden;
}
.nav-scroll {
display: grid;
align-content: start;
gap: 16px;
width: 100%;
height: 100%;
padding: 0 2px 8px;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
}
.nav-scroll::-webkit-scrollbar {
width: 4px;
}
.nav-scroll::-webkit-scrollbar-thumb {
border-radius: 4px;
background: var(--border);
}
.nav-group {
display: grid;
gap: 6px;
}
.nav-group-label {
padding: 0 8px;
color: var(--text-soft);
font-size: 10px;
font-weight: 800;
}
.nav-group-items {
display: grid;
gap: 4px;
}
.icon-nav button {
position: relative;
display: flex;
align-items: center;
gap: 10px;
width: 100%;
min-height: 48px;
padding: 6px 8px;
border-color: transparent;
border-radius: 7px;
color: var(--text-soft);
background: transparent;
text-align: left;
transition:
color 160ms ease,
background 160ms ease,
border-color 160ms ease;
}
.icon-nav button:hover {
color: var(--text);
border-color: var(--border);
background: var(--panel-muted);
}
.icon-nav button.active {
color: var(--text);
border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
background: var(--primary-soft);
}
.icon-nav button.active::before {
content: "";
position: absolute;
top: 9px;
bottom: 9px;
left: -2px;
width: 3px;
border-radius: 3px;
background: var(--primary);
}
.nav-glyph {
display: grid;
place-items: center;
flex: 0 0 32px;
width: 32px;
height: 32px;
border: 1px solid var(--border);
border-radius: 6px;
color: inherit;
background: var(--panel);
font-weight: 800;
font-size: 14px;
line-height: 1;
}
.icon-nav button.active .nav-glyph {
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.nav-copy {
display: grid;
gap: 2px;
min-width: 0;
}
.nav-label,
.nav-copy small {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.nav-label {
color: currentColor;
font-size: 13px;
}
.nav-copy small {
color: var(--text-soft);
font-size: 10px;
}
.rail-collapsed .brand-copy,
.rail-collapsed .nav-group-label,
.rail-collapsed .nav-copy,
.rail-collapsed .rail-pin-label {
display: none;
}
.rail-collapsed .rail:hover .brand-copy,
.rail-collapsed .rail:focus-within .brand-copy,
.rail-collapsed .rail:hover .nav-group-label,
.rail-collapsed .rail:focus-within .nav-group-label,
.rail-collapsed .rail:hover .nav-copy,
.rail-collapsed .rail:focus-within .nav-copy,
.rail-collapsed .rail:hover .rail-pin-label,
.rail-collapsed .rail:focus-within .rail-pin-label {
display: grid;
}
.workbench {
min-width: 0;
padding: var(--workbench-pad);
}
.topbar {
position: sticky;
z-index: 20;
top: 0;
display: grid;
grid-template-columns: minmax(190px, 0.72fr) minmax(260px, 1fr) auto;
gap: 14px;
align-items: center;
margin: calc(0px - var(--workbench-pad)) calc(0px - var(--workbench-pad)) 18px var(--topbar-offset);
padding: 18px var(--workbench-pad) 18px var(--topbar-content-offset);
background:
linear-gradient(90deg, var(--primary-soft), transparent 48%),
linear-gradient(90deg, rgba(20, 24, 38, 0.94), rgba(25, 30, 45, 0.86));
backdrop-filter: blur(18px);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navigation-shell[data-theme="light"] .topbar {
background:
linear-gradient(90deg, var(--primary-soft), transparent 48%),
linear-gradient(90deg, rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.88));
border-bottom-color: var(--border);
}
.active-heading {
min-width: 0;
}
.active-heading span,
.overview-strip span,
.panel header span {
color: var(--text-soft);
font-size: 12px;
font-weight: 700;
}
.topbar .active-heading span {
color: rgba(255, 255, 255, 0.62);
}
.navigation-shell[data-theme="light"] .topbar .active-heading span {
color: var(--text-soft);
}
.active-heading h1 {
overflow: hidden;
color: #ffffff;
font-size: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.navigation-shell[data-theme="light"] .active-heading h1 {
color: var(--text);
}
.search-box {
position: relative;
display: grid;
grid-template-columns: 24px minmax(0, 1fr);
align-items: center;
min-width: 0;
min-height: 42px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
padding: 0 12px;
color: rgba(255, 255, 255, 0.74);
background: rgba(255, 255, 255, 0.08);
}
.navigation-shell[data-theme="light"] .search-box {
color: var(--text-soft);
border-color: var(--border);
background: var(--panel);
}
.search-box input {
min-width: 0;
border: 0;
outline: 0;
color: #ffffff;
background: transparent;
}
.navigation-shell[data-theme="light"] .search-box input {
color: var(--text);
}
.search-box input::placeholder {
color: currentColor;
opacity: 0.7;
}
.search-results,
.notification-popover,
.palette-panel,
.notification-panel,
.log-popover {
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
background: var(--panel);
box-shadow: var(--shadow);
}
.search-results {
position: absolute;
z-index: 40;
top: calc(100% + 8px);
right: 0;
left: 0;
display: grid;
gap: 6px;
padding: 8px;
}
.search-results button {
display: grid;
gap: 3px;
min-height: 48px;
padding: 8px;
text-align: left;
background: transparent;
}
.search-results button:hover,
.search-results button.active,
.filter-tabs button.active,
.palette-panel button:hover {
border-color: var(--primary);
background: var(--primary-soft);
}
.search-results small,
.panel small,
.image-card small,
.notification-list small,
.notification-list time,
.empty-state span,
.state-card span {
color: var(--text-soft);
}
.search-results p {
padding: 12px;
color: var(--text-soft);
}
.top-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
min-width: 0;
}
.backend-status-chip {
display: inline-flex;
align-items: center;
gap: 7px;
min-height: 34px;
max-width: 164px;
padding: 0 10px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 8px;
color: rgba(255, 255, 255, 0.82);
background: rgba(255, 255, 255, 0.08);
white-space: nowrap;
}
.backend-status-chip span {
flex: 0 0 auto;
width: 8px;
height: 8px;
border-radius: 999px;
background: #8ea0b8;
}
.backend-status-chip strong {
min-width: 0;
overflow: hidden;
font-size: 12px;
line-height: 1;
text-overflow: ellipsis;
}
.backend-status-chip.connected span {
background: #39d28f;
box-shadow: 0 0 0 4px rgba(57, 210, 143, 0.14);
}
.backend-status-chip.preview span,
.backend-status-chip.checking span {
background: #e0b84c;
box-shadow: 0 0 0 4px rgba(224, 184, 76, 0.14);
}
.backend-status-chip.error span {
background: #ff6a6a;
box-shadow: 0 0 0 4px rgba(255, 106, 106, 0.14);
}
.navigation-shell[data-theme="light"] .backend-status-chip {
color: var(--text);
border-color: var(--border);
background: rgba(255, 255, 255, 0.72);
}
.backend-connection-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: -6px 0 18px;
padding: 12px 14px;
border: 1px solid rgba(224, 184, 76, 0.3);
border-radius: 8px;
background: rgba(224, 184, 76, 0.1);
}
.backend-connection-banner.error {
border-color: rgba(255, 106, 106, 0.3);
background: rgba(255, 106, 106, 0.1);
}
.backend-connection-banner div {
display: grid;
gap: 4px;
min-width: 0;
}
.backend-connection-banner strong {
font-size: 13px;
}
.backend-connection-banner span {
color: var(--text-soft);
font-size: 12px;
line-height: 1.5;
}
.backend-connection-banner button {
flex: 0 0 auto;
min-height: 32px;
padding: 0 12px;
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.theme-switch {
position: relative;
display: inline-grid;
grid-template-columns: 1fr 1fr;
width: 76px;
min-height: 34px;
padding: 4px;
overflow: hidden;
border-color: rgba(255, 255, 255, 0.13);
background: rgba(255, 255, 255, 0.1);
transition:
background 220ms ease,
border-color 220ms ease,
box-shadow 220ms ease;
}
.theme-switch::before {
content: "";
position: absolute;
z-index: 0;
top: 4px;
bottom: 4px;
left: 4px;
width: calc(50% - 4px);
border-radius: 6px;
background: var(--primary);
box-shadow: 0 8px 18px var(--primary-strong);
transform: translateX(0);
transition:
transform 260ms var(--rail-ease),
background 220ms ease,
box-shadow 220ms ease;
}
.navigation-shell[data-theme="light"] .theme-switch {
background: var(--panel-muted);
}
[data-theme="dark"] .theme-switch::before {
transform: translateX(calc(100% + 0px));
}
.theme-switch span {
position: relative;
z-index: 1;
display: grid;
place-items: center;
min-height: 26px;
border-radius: 6px;
color: rgba(255, 255, 255, 0.72);
transition:
color 180ms ease,
transform 180ms ease;
}
.navigation-shell[data-theme="light"] .theme-switch span {
color: var(--text-soft);
}
.theme-switch span.active {
color: #ffffff;
transform: scale(1.04);
}
.icon-button {
position: relative;
display: grid;
place-items: center;
width: 38px;
padding: 0;
color: #ffffff;
background: rgba(255, 255, 255, 0.1);
transition:
color 180ms ease,
background 180ms ease,
border-color 180ms ease,
box-shadow 180ms ease,
transform 180ms ease;
}
.icon-button:hover,
.icon-button[aria-expanded="true"] {
border-color: var(--primary);
background: var(--primary-soft);
box-shadow: 0 8px 18px var(--primary-soft);
transform: translateY(-1px);
}
.navigation-shell[data-theme="light"] .icon-button {
color: var(--text);
background: var(--panel);
}
.icon-button b {
position: absolute;
top: -7px;
right: -7px;
display: grid;
place-items: center;
min-width: 20px;
height: 20px;
border-radius: 999px;
padding: 0 5px;
color: #ffffff;
background: var(--danger);
font-size: 11px;
animation: badge-pop 220ms var(--rail-ease);
}
.ui-icon {
position: relative;
display: inline-block;
width: 18px;
height: 18px;
color: currentColor;
}
.ui-icon::before,
.ui-icon::after {
content: "";
position: absolute;
box-sizing: border-box;
}
.icon-sun {
border: 2px solid currentColor;
border-radius: 999px;
transform: scale(0.78);
box-shadow:
0 -8px 0 -6px currentColor,
0 8px 0 -6px currentColor,
8px 0 0 -6px currentColor,
-8px 0 0 -6px currentColor,
6px 6px 0 -6px currentColor,
-6px 6px 0 -6px currentColor,
6px -6px 0 -6px currentColor,
-6px -6px 0 -6px currentColor;
}
.icon-moon::before {
inset: 2px 1px 1px 5px;
border-radius: 999px;
background: currentColor;
}
.icon-moon::after {
inset: 0 4px 3px 0;
border-radius: 999px;
background: var(--panel-muted);
}
[data-theme="dark"] .icon-moon::after {
background: var(--primary);
}
.icon-bell::before {
left: 4px;
top: 3px;
width: 10px;
height: 11px;
border: 2px solid currentColor;
border-bottom: 0;
border-radius: 9px 9px 3px 3px;
}
.icon-bell::after {
left: 5px;
bottom: 2px;
width: 8px;
height: 4px;
border-top: 2px solid currentColor;
border-radius: 999px;
box-shadow: 3px 3px 0 -2px currentColor;
}
.icon-palette::before {
inset: 2px;
border: 2px solid currentColor;
border-radius: 50% 55% 46% 58%;
}
.icon-palette::after {
width: 4px;
height: 4px;
left: 5px;
top: 5px;
border-radius: 999px;
background: currentColor;
box-shadow:
6px 1px 0 currentColor,
3px 7px 0 currentColor;
}
.icon-file::before {
inset: 2px 3px;
border: 2px solid currentColor;
border-radius: 3px;
background:
linear-gradient(135deg, transparent 0 50%, currentColor 51% 63%, transparent 64%) top right / 8px 8px no-repeat;
}
.icon-file::after {
left: 6px;
right: 6px;
top: 9px;
height: 2px;
background: currentColor;
box-shadow: 0 4px 0 currentColor;
opacity: 0.78;
}
.refresh-button {
padding: 0 14px;
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.notification-wrap,
.log-wrap {
position: relative;
}
.notification-popover,
.log-popover {
position: absolute;
z-index: 35;
top: calc(100% + 10px);
padding: 12px;
}
.notification-popover {
right: -54px;
width: 250px;
display: grid;
gap: 10px;
opacity: 0;
visibility: hidden;
transform: translateY(-6px) scale(0.98);
transform-origin: top right;
pointer-events: none;
transition:
opacity 180ms ease,
transform 220ms var(--rail-ease),
visibility 180ms ease;
}
.log-popover {
right: -64px;
width: 340px;
display: grid;
gap: 10px;
}
.notification-wrap:hover .notification-popover,
.notification-wrap:focus-within .notification-popover {
opacity: 1;
visibility: visible;
transform: translateY(0) scale(1);
pointer-events: auto;
}
.notification-popover ul,
.log-popover ul {
display: grid;
gap: 8px;
}
.notification-popover li,
.log-list li {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
color: var(--text-soft);
font-size: 13px;
}
.notification-popover li span:last-child,
.log-list li span:last-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.notification-popover li {
animation: none;
}
.overlay-pop-enter-active,
.overlay-pop-leave-active,
.panel-drop-enter-active,
.panel-drop-leave-active {
transition:
opacity 200ms ease,
transform 240ms var(--rail-ease),
filter 240ms ease;
}
.overlay-pop-enter-from,
.overlay-pop-leave-to {
opacity: 0;
filter: blur(2px);
transform: translateY(-6px) scale(0.98);
}
.panel-drop-enter-from,
.panel-drop-leave-to {
opacity: 0;
filter: blur(2px);
transform: translateY(-10px) scale(0.985);
}
.overlay-pop-enter-to,
.overlay-pop-leave-from,
.panel-drop-enter-to,
.panel-drop-leave-from {
opacity: 1;
filter: blur(0);
transform: translateY(0) scale(1);
}
.card-list-enter-active,
.card-list-leave-active,
.card-list-move {
transition:
opacity 190ms ease,
transform 230ms var(--rail-ease);
}
.card-list-enter-from,
.card-list-leave-to {
opacity: 0;
transform: translateY(6px) scale(0.985);
}
.notification-wrap:hover .notification-popover li,
.notification-wrap:focus-within .notification-popover li {
animation: card-rise 220ms var(--rail-ease) both;
animation-delay: calc(var(--card-index, 0) * 26ms);
}
.palette-panel {
position: fixed;
z-index: 45;
top: 74px;
right: 22px;
display: grid;
grid-template-columns: minmax(190px, 1fr) 96px 96px;
gap: 12px;
align-items: end;
padding: 12px;
}
.palette-panel > div {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.palette-panel button {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 0 10px;
background: var(--panel-muted);
}
.swatch {
width: 14px;
height: 14px;
border-radius: 4px;
border: 1px solid var(--border);
}
.palette-panel label {
display: grid;
gap: 5px;
color: var(--text-soft);
font-size: 12px;
}
.palette-panel input {
width: 100%;
min-height: 34px;
border: 1px solid var(--border);
border-radius: 6px;
padding: 2px;
background: var(--panel);
}
.notification-panel {
position: fixed;
z-index: 42;
top: 76px;
right: 22px;
width: min(520px, calc(100vw - 44px));
max-height: calc(100vh - 98px);
overflow: auto;
padding: 16px;
}
.notification-panel header,
.log-popover header,
.panel header,
.inline-actions,
.image-card > div:last-child {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.notification-panel h2,
.panel h2 {
font-size: 20px;
}
.log-popover header strong {
display: block;
font-size: 18px;
}
.log-popover header span {
color: var(--text-soft);
font-size: 12px;
font-weight: 700;
}
.inline-actions,
.filter-tabs {
flex-wrap: wrap;
}
.inline-actions button,
.filter-tabs button,
.panel header button,
.compact-panel > button {
padding: 0 12px;
background: var(--panel-muted);
}
.filter-tabs {
display: flex;
gap: 8px;
margin-top: 14px;
}
.notification-list {
display: grid;
gap: 10px;
margin-top: 14px;
}
.notification-list li {
display: grid;
grid-template-columns: 48px minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
padding: 10px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-muted);
animation: card-rise 260ms var(--rail-ease) both;
animation-delay: calc(var(--card-index, 0) * 30ms);
}
.notification-list li.unread {
border-color: var(--primary);
background: var(--primary-soft);
}
.notification-thumb {
display: grid;
place-items: center;
width: 48px;
height: 48px;
border-radius: 8px;
color: #ffffff;
background: var(--primary);
overflow: hidden;
}
.notification-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.notification-thumb.failed {
background: var(--danger);
}
.notification-thumb.warning {
background: var(--warn);
}
.notification-thumb.system {
background: var(--neutral);
}
.notification-list li > div:nth-child(2) {
display: grid;
gap: 3px;
min-width: 0;
}
.notification-list strong,
.notification-list small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.overview-strip {
display: grid;
grid-template-columns: minmax(260px, 1.05fr) repeat(3, minmax(160px, 0.82fr)) minmax(360px, 420px);
gap: 14px;
align-items: stretch;
margin-bottom: 14px;
}
.welcome-copy,
.quick-create,
.signal-card,
.panel,
.state-card,
.empty-state {
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
box-shadow: var(--shadow);
}
.welcome-copy {
display: grid;
align-content: center;
gap: 8px;
min-height: 132px;
padding: 18px;
}
.welcome-copy h2 {
font-size: 28px;
line-height: 1.1;
}
.welcome-copy p {
max-width: 520px;
color: var(--text-soft);
}
.quick-create {
display: grid;
place-items: center;
gap: 8px;
min-height: 132px;
padding: 16px;
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
font-weight: 800;
}
.quick-create span {
display: grid;
place-items: center;
width: 34px;
height: 34px;
border-radius: 8px;
color: var(--primary);
background: #ffffff;
font-size: 22px;
}
.signal-card,
.metric-card {
position: relative;
display: grid;
gap: 8px;
overflow: hidden;
padding: 16px;
}
.signal-card::before,
.metric-card::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 3px;
background: transparent;
}
.overview-strip > *,
.panel,
.detail-hero,
.generate-hero,
.materials-hero,
.generate-status-grid article {
animation: surface-rise 280ms var(--rail-ease) both;
}
.metric-card,
.queue-list li,
.side-image-card,
.suggestion-card,
.image-card,
.generate-feature-card,
.materials-category-chip,
.materials-library-card,
.materials-action-card,
.state-card,
.empty-state {
animation: card-rise 260ms var(--rail-ease) both;
}
.signal-card strong,
.metric-card strong {
font-size: 24px;
}
.signal-card.good,
.metric-card.good {
border-color: var(--accent-strong);
background: var(--panel);
}
.signal-card.good::before,
.metric-card.good::before {
background: var(--accent);
}
.signal-card.warn,
.metric-card.warn {
border-color: var(--warn-strong);
background: var(--panel);
}
.signal-card.warn::before,
.metric-card.warn::before {
background: var(--warn);
}
.signal-card.bad,
.metric-card.bad {
border-color: var(--danger-strong);
background: var(--panel);
}
.signal-card.bad::before,
.metric-card.bad::before {
background: var(--danger);
}
.signal-card.idle,
.metric-card.idle {
background: var(--panel);
}
.signal-card.idle::before,
.metric-card.idle::before {
background: var(--neutral);
}
.dashboard-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
gap: 14px;
align-items: stretch;
}
.queue-page {
display: grid;
gap: 14px;
}
.queue-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 132px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 18px;
background:
linear-gradient(120deg, var(--primary-soft), transparent 44%),
var(--panel);
box-shadow: var(--shadow);
}
.queue-hero > div:first-child {
display: grid;
gap: 8px;
min-width: 0;
}
.queue-hero span,
.queue-board-panel header span,
.queue-detail-panel header span,
.queue-actions-panel header span {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.queue-hero h2 {
font-size: 30px;
line-height: 1.1;
}
.queue-hero p {
max-width: 720px;
color: var(--text-soft);
}
.queue-hero-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
flex-wrap: wrap;
}
.queue-hero-actions button:first-child {
border-color: var(--primary);
color: #ffffff;
background: var(--primary);
}
.queue-status-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
.queue-workbench {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
gap: 14px;
align-items: start;
}
.queue-board-panel,
.queue-side-column {
display: grid;
gap: 14px;
}
.queue-board-panel header {
align-items: flex-start;
}
.queue-filter-tabs {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
.queue-filter-tabs button {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 34px;
border-radius: 8px;
padding: 0 10px;
color: var(--text-soft);
background: var(--panel-muted);
font-size: 12px;
font-weight: 900;
}
.queue-filter-tabs button.active {
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.queue-filter-tabs b {
display: grid;
place-items: center;
min-width: 22px;
height: 22px;
border-radius: 999px;
background: color-mix(in srgb, currentColor 12%, transparent);
font-size: 11px;
}
.queue-task-list {
display: flex;
flex-direction: column;
gap: 10px;
max-height: min(70vh, 760px);
overflow-y: auto;
padding-right: 4px;
scrollbar-gutter: stable;
}
.queue-task-card {
display: grid;
grid-template-columns: 88px minmax(0, 1fr) 70px;
gap: 12px;
align-items: center;
flex: 0 0 auto;
width: 100%;
height: auto;
min-height: 88px;
box-sizing: border-box;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
text-align: left;
background: var(--panel);
box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}
.queue-task-card.active,
.queue-task-card:hover {
border-color: var(--primary);
background: var(--primary-soft);
}
.queue-task-status {
display: inline-grid;
place-items: center;
align-self: center;
min-height: 32px;
border-radius: 8px;
padding: 0 10px;
color: var(--text-soft);
background: var(--panel-muted);
font-size: 12px;
font-weight: 900;
white-space: nowrap;
}
.rail-pin {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
min-height: 38px;
padding: 0 10px;
border-color: var(--border);
border-radius: 7px;
color: var(--text-soft);
background: transparent;
transition:
color 160ms ease,
border-color 160ms ease,
background 160ms ease;
}
.rail-pin:hover,
.rail-pin.active {
color: var(--text);
border-color: var(--primary);
background: var(--primary-soft);
}
.rail-pin-label {
overflow: hidden;
font-size: 11px;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.queue-task-card.is-good .queue-task-status {
color: #ffffff;
background: var(--accent);
}
.queue-task-card.is-warn .queue-task-status {
color: #ffffff;
background: var(--warn);
}
.queue-task-card.is-bad .queue-task-status {
color: #ffffff;
background: var(--danger);
}
.queue-task-main {
display: grid;
gap: 7px;
min-width: 0;
}
.queue-task-main strong,
.queue-task-main small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.queue-task-main small,
.queue-task-meta small {
color: var(--text-soft);
}
.queue-task-meta {
display: grid;
gap: 4px;
align-self: center;
justify-items: end;
min-width: 0;
}
.queue-task-meta b {
color: var(--text);
font-size: 18px;
}
.queue-detail-panel dl {
display: grid;
gap: 8px;
}
.queue-detail-panel dl div {
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
gap: 10px;
align-items: start;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel-muted);
}
.queue-detail-panel dt {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.queue-detail-panel dd {
min-width: 0;
overflow-wrap: anywhere;
color: var(--text);
line-height: 1.35;
}
.queue-action-grid {
display: grid;
gap: 10px;
}
.queue-action-card {
position: relative;
display: grid;
gap: 6px;
min-height: 112px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
text-align: left;
background: var(--panel);
}
.queue-action-card::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 3px;
background: var(--neutral);
}
.queue-action-card.good::before {
background: var(--accent);
}
.queue-action-card.warn::before {
background: var(--warn);
}
.queue-action-card.bad::before {
background: var(--danger);
}
.queue-action-card span,
.queue-action-card small {
color: var(--text-soft);
}
.queue-action-card strong {
color: var(--text);
}
.queue-action-card em {
justify-self: start;
border-radius: 8px;
padding: 6px 10px;
color: #ffffff;
background: var(--primary);
font-style: normal;
font-size: 12px;
font-weight: 900;
}
.queue-action-card:disabled {
opacity: 0.56;
}
.queue-page-error {
margin: 0;
}
.queue-skeleton-list span {
min-height: 88px;
}
.materials-page {
display: grid;
gap: 10px;
}
.materials-view-tabs {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
border: 1px solid var(--border);
border-radius: 10px;
padding: 7px;
background: var(--panel);
}
.materials-view-tabs button {
display: grid;
gap: 3px;
min-width: 0;
min-height: 54px;
border: 1px solid transparent;
border-radius: 8px;
padding: 8px 11px;
color: var(--text);
text-align: left;
background: transparent;
}
.materials-view-tabs button:hover,
.materials-view-tabs button.active {
border-color: var(--primary);
background: var(--primary-soft);
}
.materials-view-tabs strong,
.materials-view-tabs small {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.materials-view-tabs small {
color: var(--text-soft);
font-size: 11px;
}
.materials-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 86px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 14px 16px;
background:
linear-gradient(120deg, var(--accent-soft), transparent 44%),
var(--panel);
box-shadow: var(--shadow);
}
.materials-hero > div:first-child {
display: grid;
gap: 5px;
min-width: 0;
}
.materials-hero span,
.materials-library-panel header span,
.materials-actions-panel header span {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.materials-hero h2 {
font-size: 23px;
line-height: 1.1;
}
.materials-hero p {
max-width: 760px;
overflow: hidden;
color: var(--text-soft);
font-size: 12px;
line-height: 1.4;
text-overflow: ellipsis;
white-space: nowrap;
}
.materials-hero-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
flex-wrap: wrap;
}
.materials-hero-actions button:first-child {
border-color: var(--primary);
color: #ffffff;
background: var(--primary);
}
.materials-status-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.materials-status-grid .metric-card {
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 3px;
min-height: 54px;
padding: 9px 12px;
}
.materials-status-grid .metric-card strong {
grid-column: 2;
grid-row: 1 / 3;
font-size: 18px;
line-height: 1;
}
.materials-status-grid .metric-card span,
.materials-status-grid .metric-card small {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.materials-page-message {
margin: 0;
}
.materials-workbench {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
gap: 10px;
align-items: stretch;
}
.materials-main-column,
.materials-side-column {
display: grid;
gap: 10px;
min-width: 0;
}
.materials-library-panel header,
.materials-actions-panel header {
align-items: flex-start;
}
.materials-library-panel header em {
color: var(--text-soft);
font-size: 12px;
font-style: normal;
font-weight: 800;
}
.materials-library-header-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
}
.materials-primary-add {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 34px;
border-color: color-mix(in srgb, var(--primary) 72%, white 8%);
color: #fff;
background: var(--primary);
font-weight: 900;
}
.materials-primary-add span {
color: inherit !important;
font-size: 16px !important;
line-height: 1;
}
.materials-library-panel {
display: grid;
align-content: start;
gap: 6px;
min-height: 640px;
}
.materials-actions-panel {
display: grid;
align-content: start;
gap: 10px;
min-height: 640px;
}
.materials-filter-strip {
display: flex;
gap: 8px;
overflow-x: auto;
padding: 1px 0 3px;
}
.materials-semantic-filters {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
align-items: end;
gap: 8px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 9px;
background: var(--panel-muted);
}
.materials-semantic-filters label {
display: grid;
gap: 4px;
}
.materials-semantic-filters span {
color: var(--text-soft);
font-size: 10px;
font-weight: 900;
}
.materials-semantic-filters select,
.materials-semantic-filters button {
min-height: 34px;
border: 1px solid var(--border);
border-radius: 6px;
padding: 0 8px;
color: var(--text);
background: var(--panel);
font: inherit;
}
.materials-semantic-filters button {
cursor: pointer;
}
.materials-category-chip {
display: inline-flex;
align-items: center;
gap: 8px;
flex: 0 0 auto;
min-height: 34px;
border: 1px solid var(--border);
border-radius: 999px;
padding: 0 10px;
color: var(--text-soft);
background: var(--panel-muted);
font-size: 12px;
font-weight: 900;
}
.materials-category-chip.active,
.materials-category-chip:hover {
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.materials-category-chip.add {
border-style: dashed;
color: var(--primary);
background: var(--panel);
}
.materials-category-chip.add:hover {
color: #ffffff;
border-style: solid;
background: var(--primary);
}
.materials-category-chip b {
display: grid;
place-items: center;
min-width: 22px;
height: 22px;
border-radius: 999px;
background: color-mix(in srgb, currentColor 14%, transparent);
font-size: 11px;
}
.materials-subfilter-strip {
display: flex;
align-items: center;
gap: 7px;
overflow-x: auto;
min-height: 40px;
border: 1px solid var(--border);
border-radius: 8px;
margin: 0;
padding: 5px 8px;
background: var(--panel-muted);
}
.materials-subfilter-strip > span {
flex: 0 0 auto;
color: var(--text-soft);
font-size: 11px;
font-weight: 900;
}
.materials-subfilter-strip button {
display: inline-flex;
align-items: center;
gap: 6px;
flex: 0 0 auto;
min-height: 28px;
border: 1px solid var(--border);
border-radius: 999px;
padding: 0 9px;
color: var(--text-soft);
background: var(--panel);
font-size: 11px;
font-weight: 900;
}
.materials-subfilter-strip button.active,
.materials-subfilter-strip button:hover {
color: #ffffff;
border-color: var(--accent);
background: var(--accent);
}
.materials-subfilter-strip b {
display: grid;
place-items: center;
min-width: 18px;
height: 18px;
border-radius: 999px;
background: color-mix(in srgb, currentColor 14%, transparent);
font-size: 10px;
}
.materials-library-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-content: start;
gap: 10px;
max-height: 680px;
overflow-y: auto;
padding-right: 2px;
}
.materials-library-card {
display: grid;
grid-template-columns: 94px minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr) auto;
gap: 10px;
min-width: 0;
min-height: 150px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
color: var(--text);
text-align: left;
background: var(--panel);
}
.materials-library-card.active,
.materials-library-card:hover {
border-color: var(--primary);
background: var(--primary-soft);
}
.materials-library-thumb {
display: block;
grid-row: 1 / 3;
overflow: hidden;
border-radius: 8px;
background: var(--panel-muted);
aspect-ratio: 3 / 4;
}
.materials-library-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.materials-library-copy {
display: grid;
align-content: start;
gap: 6px;
min-width: 0;
}
.materials-library-copy small,
.materials-library-copy em {
color: var(--text-soft);
font-size: 12px;
font-style: normal;
}
.materials-library-copy strong {
overflow: hidden;
color: var(--text);
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.materials-library-copy em {
display: -webkit-box;
overflow: hidden;
line-height: 1.35;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.materials-library-tags {
display: flex;
align-items: flex-end;
gap: 6px;
flex-wrap: wrap;
min-width: 0;
}
.materials-library-tags b {
max-width: 100%;
overflow: hidden;
border-radius: 999px;
padding: 4px 7px;
color: var(--text-soft);
background: var(--panel-muted);
font-size: 11px;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.materials-detail-backdrop {
align-items: center;
}
.materials-detail-card {
display: grid;
grid-template-columns: minmax(340px, 0.82fr) minmax(420px, 1fr);
gap: 14px;
width: min(82vw, 1180px);
height: min(78vh, 760px);
min-height: 0;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
padding: 14px;
background: var(--panel);
box-shadow: 0 30px 80px rgba(15, 23, 42, 0.42);
}
.materials-detail-card-preview {
position: relative;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.64)),
linear-gradient(90deg, rgba(127, 139, 161, 0.09) 1px, transparent 1px),
var(--panel-muted);
background-size: auto, 30px 30px, auto;
}
.materials-detail-card-preview img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.materials-detail-card-preview figcaption {
position: absolute;
inset: auto 14px 14px 14px;
display: grid;
gap: 4px;
border-radius: 8px;
padding: 10px 12px;
color: #ffffff;
background: rgba(15, 23, 42, 0.58);
}
.materials-detail-card-preview span,
.materials-detail-card-info header span,
.materials-detail-card-info dt {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.materials-detail-card-preview figcaption span {
color: rgba(255, 255, 255, 0.72);
}
.materials-detail-card-preview strong {
overflow: hidden;
color: #ffffff;
font-size: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.materials-detail-card-info {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 14px;
min-width: 0;
min-height: 0;
}
.materials-detail-card-info.has-tabs {
grid-template-rows: auto auto minmax(0, 1fr);
}
.materials-detail-card-info header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.materials-detail-card-info header > div {
display: grid;
gap: 4px;
min-width: 0;
}
.materials-detail-card-info header strong {
overflow: hidden;
color: var(--text);
font-size: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.materials-detail-card-info header button {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
background: var(--panel-muted);
font-size: 22px;
line-height: 1;
}
.materials-detail-card-info dl {
display: grid;
align-content: start;
gap: 10px;
min-height: 0;
overflow-y: auto;
margin: 0;
padding-right: 2px;
}
.materials-detail-card-info dl div {
display: grid;
gap: 8px;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
background: var(--panel-muted);
}
.materials-detail-card-info dd {
margin: 0;
overflow-wrap: anywhere;
color: var(--text);
font-size: 14px;
line-height: 1.5;
}
.materials-category-create-backdrop {
align-items: center;
}
.materials-category-create-card {
display: grid;
gap: 14px;
width: min(520px, calc(100vw - 32px));
max-height: min(82vh, 720px);
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
padding: 14px;
background: var(--panel);
box-shadow: 0 30px 80px rgba(15, 23, 42, 0.42);
}
.materials-category-create-card header,
.materials-category-create-card footer {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.materials-category-create-card header > div {
display: grid;
gap: 4px;
min-width: 0;
}
.materials-category-create-card header span,
.materials-category-create-body label > span,
.materials-category-create-body dt {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.materials-category-create-card header strong {
color: var(--text);
font-size: 20px;
line-height: 1.18;
}
.materials-category-create-card header button {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border-radius: 8px;
color: var(--text);
background: var(--panel-muted);
font-size: 22px;
line-height: 1;
}
.materials-category-create-body {
display: grid;
gap: 10px;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
}
.materials-category-create-body label {
display: grid;
gap: 6px;
min-width: 0;
}
.materials-category-create-body input,
.materials-category-create-body textarea {
width: 100%;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 11px;
color: var(--text);
background: var(--panel-muted);
outline: none;
}
.materials-category-create-body textarea {
resize: vertical;
}
.materials-category-create-body input:focus,
.materials-category-create-body textarea:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px var(--primary-soft);
}
.materials-category-create-body dl {
display: grid;
gap: 8px;
margin: 0;
}
.materials-category-create-body dl div {
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
gap: 10px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel-muted);
}
.materials-category-create-body dd {
min-width: 0;
margin: 0;
overflow-wrap: anywhere;
color: var(--text);
line-height: 1.4;
}
.materials-category-create-error {
border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--border));
border-radius: 8px;
padding: 9px 10px;
color: var(--danger);
background: color-mix(in srgb, var(--danger) 9%, transparent);
font-size: 12px;
font-weight: 800;
}
.materials-category-create-card footer {
justify-content: flex-end;
}
.materials-category-create-card footer button {
min-width: 90px;
padding: 0 12px;
font-weight: 900;
}
.materials-category-create-card footer button[type="submit"] {
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.materials-action-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.materials-action-card {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 5px;
align-content: start;
min-height: 86px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
text-align: left;
background: var(--panel);
}
.materials-action-card::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 3px;
background: var(--neutral);
}
.materials-action-card.primary::before {
background: var(--primary);
}
.materials-action-card.accent::before {
background: var(--accent);
}
.materials-action-card.warn::before {
background: var(--warn);
}
.materials-action-card.danger::before {
background: var(--danger);
}
.materials-action-card span,
.materials-action-card small,
.materials-action-card i {
min-width: 0;
overflow: hidden;
color: var(--text-soft);
text-overflow: ellipsis;
}
.materials-action-card span {
display: none;
}
.materials-action-card small {
grid-column: 1 / 3;
display: -webkit-box;
overflow: hidden;
line-height: 1.32;
text-overflow: ellipsis;
white-space: normal;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.materials-action-card strong {
min-width: 0;
overflow: hidden;
color: var(--text);
font-size: 13px;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.materials-action-card em {
grid-column: 2;
grid-row: 1;
justify-self: end;
border-radius: 8px;
padding: 5px 8px;
color: #ffffff;
background: var(--primary);
font-style: normal;
font-size: 11px;
font-weight: 900;
}
.materials-action-card i {
display: none;
font-size: 11px;
font-style: normal;
white-space: nowrap;
}
.materials-action-card:disabled {
opacity: 0.56;
}
.materials-skeleton-list span {
min-height: 150px;
}
.materials-status-grid .metric-card strong {
font-size: 20px;
}
.performance-detail-page {
display: grid;
gap: 14px;
}
.generate-page {
display: grid;
gap: 14px;
}
.generate-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 132px;
padding: 18px;
border: 1px solid var(--border);
border-radius: 8px;
background:
linear-gradient(120deg, var(--primary-soft), transparent 42%),
var(--panel);
box-shadow: var(--shadow);
}
.generate-hero > div {
display: grid;
gap: 8px;
min-width: 0;
}
.generate-hero span,
.generate-section header span {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.generate-hero h2 {
font-size: 30px;
line-height: 1.1;
}
.generate-hero p {
max-width: 720px;
color: var(--text-soft);
}
.generate-mode-actions {
display: grid;
grid-template-columns: repeat(3, minmax(138px, 1fr));
gap: 12px;
flex: 0 1 680px;
min-width: min(100%, 480px);
}
.generate-mode-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 74px;
padding: 0 18px;
color: var(--text);
border-color: var(--border);
background:
linear-gradient(135deg, var(--primary-soft), transparent 52%),
var(--panel);
font-size: 16px;
font-weight: 900;
transition:
border-color 180ms ease,
background 180ms ease,
box-shadow 180ms ease,
color 180ms ease,
transform 180ms ease;
}
.generate-mode-button:hover,
.generate-mode-button.active {
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
box-shadow: 0 14px 28px var(--primary-strong);
transform: translateY(-1px);
}
.generate-mode-page {
display: grid;
gap: 14px;
}
.image-generation-workspace {
display: grid;
gap: 14px;
}
.image-generation-canvas {
display: grid;
grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
gap: 14px;
height: clamp(700px, calc(100vh - 250px), 900px);
max-height: clamp(620px, calc(100vh - 430px), 760px);
min-height: 0;
}
.image-preview-panel,
.image-display-panel,
.image-chat-panel {
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
box-shadow: var(--shadow);
}
.image-preview-panel {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 12px;
min-width: 0;
min-height: 0;
padding: 14px;
}
.image-preview-panel header,
.image-info-card header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.image-preview-panel header span,
.image-info-card header span,
.image-chat-panel span {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.image-preview-panel h2 {
font-size: 22px;
}
.image-preview-list {
display: grid;
grid-auto-rows: max-content;
align-content: start;
gap: 10px;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
}
.navigation-shell .image-preview-card {
display: grid;
grid-template-columns: 64px minmax(0, 1fr);
gap: 10px;
align-items: center;
min-height: 82px;
padding: 8px;
text-align: left;
background: var(--panel-muted);
}
.image-preview-card.active,
.image-preview-card:hover {
border-color: var(--primary);
background: var(--primary-soft);
}
.preview-thumb {
position: relative;
display: grid;
place-items: center;
width: 64px;
height: 64px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text-soft);
background:
linear-gradient(135deg, var(--primary-soft), transparent),
var(--panel);
font-size: 12px;
font-weight: 900;
}
.preview-thumb img {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.image-preview-card > span:last-child {
display: grid;
gap: 4px;
min-width: 0;
}
.image-preview-card strong,
.image-preview-card small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.image-preview-card small,
.image-preview-empty span,
.image-stage-empty span,
.image-chat-panel small {
color: var(--text-soft);
}
.image-preview-empty,
.image-stage-empty {
display: grid;
place-items: center;
align-content: center;
gap: 8px;
min-height: 180px;
border: 1px dashed var(--border);
border-radius: 8px;
padding: 18px;
text-align: center;
background: var(--panel-muted);
}
.image-display-panel {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
gap: 14px;
min-width: 0;
min-height: 0;
padding: 14px;
}
.image-stage {
position: relative;
display: grid;
place-items: center;
min-width: 0;
min-height: 520px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background:
linear-gradient(90deg, rgba(127, 139, 161, 0.08) 1px, transparent 1px),
linear-gradient(180deg, var(--panel-muted), var(--panel));
background-size: 48px 48px, auto;
}
.image-stage-button {
position: absolute;
inset: 0;
display: grid;
place-items: center;
width: 100%;
height: 100%;
min-width: 0;
overflow: hidden;
border: 0;
padding: 0;
background: transparent;
cursor: zoom-in;
}
.image-stage-button img {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.image-info-card {
align-self: start;
display: grid;
gap: 12px;
min-width: 0;
max-height: 100%;
overflow-y: auto;
border: 2px solid var(--accent);
border-radius: 8px;
padding: 14px;
background:
linear-gradient(135deg, var(--accent-soft), transparent 48%),
var(--panel);
}
.image-info-card header {
align-items: flex-start;
flex-direction: column;
}
.image-info-card header strong {
max-width: 100%;
overflow: hidden;
font-size: 18px;
text-overflow: ellipsis;
white-space: nowrap;
}
.image-info-card dl {
display: grid;
gap: 8px;
}
.image-info-card dl div {
display: grid;
gap: 3px;
padding-top: 8px;
border-top: 1px solid var(--border);
}
.image-info-card dt {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.image-info-card dd {
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.35;
white-space: normal;
}
.image-chat-panel {
display: grid;
grid-template-columns: minmax(170px, 235px) minmax(0, 1fr);
gap: 10px;
align-items: start;
padding: 12px;
}
.image-chat-intro {
display: grid;
gap: 4px;
align-content: start;
min-width: 0;
padding-top: 4px;
}
.prompt-mode-switch {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 4px;
margin-top: 8px;
border: 1px solid var(--border);
border-radius: 9px;
padding: 3px;
background: var(--panel-muted);
}
.prompt-mode-switch button {
min-height: 30px;
border: 0;
border-radius: 6px;
padding: 0 8px;
color: var(--text-soft);
background: transparent;
font-size: 12px;
font-weight: 800;
}
.prompt-mode-switch button.active {
color: #fff;
background: var(--primary);
box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 35%, transparent);
}
.image-chat-panel strong {
font-size: 18px;
}
.image-last-request {
display: inline;
overflow: hidden;
max-width: 100%;
color: var(--text-soft);
text-overflow: ellipsis;
white-space: nowrap;
}
.image-composer {
display: grid;
grid-template-rows: minmax(86px, auto) auto;
gap: 8px;
width: 100%;
min-width: 0;
min-height: 146px;
border: 1px solid var(--border);
border-radius: 24px;
padding: 12px;
background: var(--panel-muted);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.navigation-shell[data-theme="light"] .image-composer {
background: #f8fafc;
}
.image-composer-input {
position: relative;
min-width: 0;
min-height: 86px;
}
.image-composer textarea {
position: relative;
z-index: 1;
width: 100%;
min-height: 86px;
resize: vertical;
border: 0;
padding: 2px;
color: var(--text);
background: transparent;
font: inherit;
line-height: 1.45;
outline: 0;
}
.image-composer-hint {
position: absolute;
z-index: 2;
inset: 0;
display: grid;
align-content: start;
gap: 8px;
padding: 2px;
pointer-events: none;
transition:
opacity 140ms ease,
transform 140ms ease;
}
.image-composer-hint p {
display: flex;
gap: 8px;
min-width: 0;
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
line-height: 1.45;
}
.image-composer-hint strong {
flex: 0 0 auto;
color: var(--text-soft);
font-size: inherit;
font-weight: inherit;
line-height: inherit;
}
.image-composer-hint span {
overflow: hidden;
min-width: 0;
color: inherit;
font-size: inherit;
font-weight: inherit;
line-height: inherit;
text-overflow: ellipsis;
white-space: nowrap;
}
.image-composer:focus-within {
border-color: var(--primary);
box-shadow: 0 0 0 3px var(--primary-soft);
}
.image-composer:focus-within .image-composer-hint {
opacity: 0;
transform: translateY(-3px);
}
.image-composer-toolbar,
.image-composer-left,
.image-composer-right {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
}
.image-composer-toolbar {
justify-content: space-between;
}
.image-composer-left {
flex: 1 1 auto;
overflow: hidden;
}
.image-composer-right {
flex: 0 0 auto;
}
.composer-icon-button,
.composer-send-button {
display: grid;
place-items: center;
flex: 0 0 auto;
width: 34px;
min-height: 34px;
border-radius: 999px;
padding: 0;
border-color: transparent;
color: var(--text-soft);
background: transparent;
font-weight: 900;
}
.composer-icon-button:hover,
.model-select-control:hover {
color: var(--text);
background: var(--panel);
}
.composer-send-button {
color: #ffffff;
background: #111827;
font-size: 19px;
line-height: 1;
transition:
opacity 160ms ease,
transform 160ms ease;
}
.composer-send-button:hover:not(:disabled) {
transform: translateY(-1px);
}
.composer-send-button:disabled {
cursor: default;
opacity: 0.38;
}
.model-select-control {
display: inline-flex;
align-items: center;
gap: 4px;
max-width: min(380px, 42vw);
min-height: 34px;
border-radius: 999px;
padding: 0 7px;
color: var(--text);
background: transparent;
font-weight: 800;
}
.model-select-control select {
min-width: 76px;
max-width: 280px;
border: 0;
color: inherit;
background: transparent;
font: inherit;
font-weight: 800;
outline: 0;
}
.navigation-shell[data-theme="dark"] select,
.navigation-shell[data-theme="dark"] .model-select-control select {
color-scheme: dark;
}
.navigation-shell[data-theme="dark"] .model-select-control option {
color: var(--text);
background: #172334;
}
.model-state {
flex: 0 0 auto;
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.model-state-link {
min-height: 28px;
padding: 0 9px;
border-color: var(--warn-strong);
color: var(--warn);
background: var(--warn-soft);
}
.model-state-link:hover {
border-color: var(--primary);
color: var(--text);
background: var(--primary-soft);
}
.model-state-error {
max-width: min(360px, 42vw);
overflow: hidden;
color: var(--danger);
text-overflow: ellipsis;
white-space: nowrap;
}
.composer-shortcut {
display: inline-grid;
place-items: center;
min-height: 30px;
padding: 0 9px;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text-soft);
background: var(--panel-muted);
font-size: 11px;
font-weight: 800;
white-space: nowrap;
}
.image-viewer-backdrop {
position: fixed;
z-index: 80;
inset: 0;
display: grid;
place-items: center;
padding: 28px;
background: rgba(15, 23, 42, 0.58);
backdrop-filter: blur(10px);
}
.image-viewer-card {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 12px;
width: min(92vw, 1280px);
height: min(88vh, 920px);
min-height: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 14px;
background: var(--panel);
box-shadow: 0 28px 72px rgba(15, 23, 42, 0.38);
}
.image-viewer-card header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.image-viewer-card header > div:first-child {
display: grid;
gap: 4px;
min-width: 0;
}
.image-viewer-card header span {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.image-viewer-card header strong {
overflow: hidden;
font-size: 18px;
text-overflow: ellipsis;
white-space: nowrap;
}
.image-viewer-actions {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 8px;
}
.image-viewer-actions button,
.image-viewer-actions span {
display: inline-grid;
place-items: center;
min-width: 38px;
min-height: 34px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 0 10px;
color: var(--text);
background: var(--panel-muted);
font-weight: 800;
}
.image-viewer-actions button:hover {
border-color: var(--primary);
background: var(--primary-soft);
}
.image-viewer-stage {
position: relative;
display: grid;
place-items: center;
min-height: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background:
linear-gradient(90deg, rgba(127, 139, 161, 0.08) 1px, transparent 1px),
linear-gradient(180deg, var(--panel-muted), var(--panel));
background-size: 48px 48px, auto;
cursor: grab;
touch-action: none;
}
.image-viewer-stage.dragging {
cursor: grabbing;
}
.image-viewer-stage img {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
object-fit: contain;
transform-origin: center;
transition: transform 140ms ease;
user-select: none;
pointer-events: none;
}
.image-viewer-stage.dragging img {
transition: none;
}
.workflow-workspace {
display: grid;
gap: 14px;
min-width: 0;
}
.workflow-status-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.workflow-layout {
display: grid;
grid-template-columns: minmax(210px, 260px) minmax(420px, 1fr) minmax(250px, 300px);
grid-template-areas: "nodes main side";
gap: 14px;
height: clamp(720px, calc(100vh - 220px), 980px);
min-height: 0;
}
.workflow-surface {
position: relative;
display: grid;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 14px;
background:
linear-gradient(180deg, rgba(127, 139, 161, 0.045), transparent 48%),
var(--panel);
box-shadow: var(--shadow);
}
.workflow-surface::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 3px;
background: linear-gradient(90deg, var(--primary), var(--accent));
}
.workflow-main-column,
.workflow-side-column {
display: grid;
min-width: 0;
min-height: 0;
gap: 14px;
}
.workflow-main-column {
grid-template-rows: minmax(0, 1fr) auto;
}
.workflow-side-column {
grid-template-rows: minmax(0, 1fr);
}
.workflow-node-flow,
.workflow-preview-panel,
.workflow-actions-panel,
.workflow-detail-scroll {
display: grid;
grid-column: 1 / -1;
align-content: start;
gap: 12px;
min-width: 0;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
}
.workflow-section-header,
.workflow-draft-board header,
.workflow-actions header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.workflow-section-header > div {
display: grid;
gap: 4px;
min-width: 0;
}
.workflow-section-header span,
.workflow-section-header em,
.workflow-draft-board header span,
.workflow-draft-board header em,
.workflow-actions header span,
.workflow-actions header em,
.workflow-node-card small,
.workflow-node-card em,
.workflow-group-card small,
.workflow-group-card em,
.workflow-subnode-card small,
.workflow-subnode-card em,
.workflow-draft-copy small,
.workflow-node-info dt,
.workflow-action-card small {
color: var(--text-soft);
font-size: 12px;
font-style: normal;
font-weight: 800;
}
.workflow-section-header strong {
overflow: hidden;
font-size: 20px;
line-height: 1.15;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-preview-tools {
display: inline-flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
flex-wrap: wrap;
}
.workflow-preview-tools button {
min-height: 30px;
border-color: var(--primary);
padding: 0 10px;
color: #ffffff;
background: var(--primary);
font-size: 12px;
font-weight: 900;
}
.workflow-compare-trigger {
display: inline-grid;
place-items: center;
min-height: 30px;
border: 1px solid var(--primary);
border-radius: 8px;
padding: 0 10px;
color: #ffffff;
background: var(--primary);
font-size: 12px;
font-weight: 900;
cursor: pointer;
}
.workflow-preview-tools button:disabled {
cursor: default;
opacity: 0.42;
}
.workflow-preview-tools-import em {
min-height: 28px;
border-radius: 999px;
padding: 6px 10px;
color: #ffffff;
background: var(--primary);
}
.workflow-node-list {
display: flex;
flex-direction: column;
gap: 10px;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
}
.workflow-node-group {
position: relative;
display: grid;
flex: 0 0 auto;
gap: 8px;
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
background:
linear-gradient(180deg, rgba(127, 139, 161, 0.055), transparent 54%),
var(--panel-muted);
transition:
border-color 160ms ease,
background 160ms ease,
box-shadow 160ms ease;
}
.workflow-node-group::before {
content: "";
position: absolute;
top: 58px;
bottom: 37px;
left: 37px;
width: 1px;
background: linear-gradient(180deg, var(--border), color-mix(in srgb, var(--border) 72%, transparent));
pointer-events: none;
}
.workflow-node-group.active,
.workflow-node-group:hover {
border-color: var(--primary);
background:
linear-gradient(180deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent 58%),
var(--panel);
box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}
.workflow-node-group.done::before {
background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 56%, var(--border)), var(--border));
}
.workflow-node-group.running::before {
background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 56%, var(--border)), var(--border));
}
.workflow-node-group.review::before {
background: linear-gradient(180deg, color-mix(in srgb, var(--warn) 56%, var(--border)), var(--border));
}
.workflow-node-group.locked {
border-color: color-mix(in srgb, var(--neutral) 52%, var(--border));
background:
linear-gradient(180deg, color-mix(in srgb, var(--neutral) 7%, transparent), transparent 58%),
var(--panel-muted);
}
.workflow-group-card {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 44px minmax(0, 1fr);
gap: 10px;
width: 100%;
min-height: 100px;
border: 1px solid transparent;
border-radius: 8px;
padding: 8px;
text-align: left;
background: transparent;
}
.workflow-group-card:hover {
background: var(--primary-soft);
}
.workflow-group-card:disabled {
cursor: default;
}
.workflow-group-card:disabled:hover {
background: transparent;
}
.workflow-group-index {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border-radius: 14px;
color: #ffffff;
background: var(--neutral);
font-size: 15px;
font-weight: 900;
box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}
.workflow-node-group.done .workflow-group-index {
background: var(--accent);
}
.workflow-node-group.running .workflow-group-index {
background: var(--primary);
}
.workflow-node-group.review .workflow-group-index {
background: var(--warn);
}
.workflow-group-copy {
display: grid;
gap: 6px;
min-width: 0;
}
.workflow-group-copy strong {
overflow: hidden;
color: var(--text);
font-size: 16px;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-group-copy em {
display: -webkit-box;
overflow: hidden;
line-height: 1.35;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.workflow-subnode-list {
position: relative;
z-index: 1;
display: grid;
gap: 6px;
min-width: 0;
padding-left: 52px;
}
.workflow-subnode-list::before {
display: none;
}
.workflow-subnode-card {
position: relative;
display: grid;
grid-template-columns: 32px minmax(0, 1fr);
gap: 8px;
min-width: 0;
min-height: 58px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
text-align: left;
background: var(--panel);
}
.workflow-subnode-card::before {
content: "";
position: absolute;
top: 50%;
left: -24px;
width: 24px;
height: 1px;
background: var(--border);
transform: translateY(-50%);
pointer-events: none;
}
.workflow-subnode-card.active,
.workflow-subnode-card:hover {
border-color: var(--primary);
background: var(--primary-soft);
}
.workflow-subnode-card.locked {
border-style: dashed;
border-color: color-mix(in srgb, var(--neutral) 58%, var(--border));
background: color-mix(in srgb, var(--neutral) 5%, var(--panel));
}
.workflow-subnode-card.locked:hover,
.workflow-subnode-card.locked.active {
border-color: color-mix(in srgb, var(--primary) 55%, var(--neutral));
background: color-mix(in srgb, var(--primary) 6%, var(--panel));
}
.workflow-subnode-card.locked .workflow-subnode-index {
color: var(--text-soft);
background: color-mix(in srgb, var(--neutral) 16%, var(--panel-muted));
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--neutral) 42%, var(--border));
}
.workflow-subnode-card.locked .workflow-subnode-copy small span {
margin-right: 4px;
color: var(--warn);
font-weight: 900;
}
.workflow-subnode-index {
position: relative;
z-index: 1;
display: grid;
place-items: center;
width: 28px;
height: 28px;
border-radius: 999px;
color: #ffffff;
background: var(--neutral);
font-size: 11px;
font-weight: 900;
}
.workflow-subnode-card.done .workflow-subnode-index {
background: var(--accent);
}
.workflow-node-group.done .workflow-subnode-card::before {
background: color-mix(in srgb, var(--accent) 56%, var(--border));
}
.workflow-subnode-card.running .workflow-subnode-index {
background: var(--primary);
}
.workflow-node-group.running .workflow-subnode-card::before {
background: color-mix(in srgb, var(--primary) 56%, var(--border));
}
.workflow-subnode-card.review .workflow-subnode-index {
background: var(--warn);
}
.workflow-node-group.review .workflow-subnode-card::before {
background: color-mix(in srgb, var(--warn) 56%, var(--border));
}
.workflow-subnode-copy {
display: grid;
gap: 3px;
min-width: 0;
}
.workflow-subnode-copy strong {
overflow: hidden;
color: var(--text);
font-size: 13px;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-subnode-copy em {
overflow: hidden;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-node-group.done .workflow-node-progress i,
.workflow-subnode-card.done .workflow-node-progress i {
background: var(--accent);
}
.workflow-node-group.waiting .workflow-node-progress i,
.workflow-subnode-card.waiting .workflow-node-progress i {
background: var(--neutral);
}
.workflow-node-group.review .workflow-node-progress i,
.workflow-subnode-card.review .workflow-node-progress i {
background: var(--warn);
}
.workflow-node-card {
position: relative;
display: grid;
grid-template-columns: 42px minmax(0, 1fr);
gap: 10px;
min-height: 122px;
padding: 10px;
text-align: left;
background: var(--panel-muted);
}
.workflow-node-card::after {
content: "";
position: absolute;
top: 16px;
bottom: -16px;
left: 30px;
width: 1px;
background: var(--border);
}
.workflow-node-card:last-child::after {
display: none;
}
.workflow-node-card.active,
.workflow-node-card:hover {
border-color: var(--primary);
background: var(--primary-soft);
}
.workflow-node-card.done .workflow-node-index {
background: var(--accent);
}
.workflow-node-card.running .workflow-node-index {
background: var(--primary);
}
.workflow-node-card.waiting .workflow-node-index {
background: var(--neutral);
}
.workflow-node-card.review .workflow-node-index {
background: var(--warn);
}
.workflow-node-index {
position: relative;
z-index: 1;
display: grid;
place-items: center;
width: 38px;
height: 38px;
border-radius: 999px;
color: #ffffff;
font-size: 13px;
font-weight: 900;
box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}
.workflow-node-copy {
display: grid;
gap: 5px;
min-width: 0;
}
.workflow-node-copy strong,
.workflow-draft-copy strong {
overflow: hidden;
color: var(--text);
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-node-copy em {
display: -webkit-box;
overflow: hidden;
line-height: 1.35;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.workflow-node-progress {
display: block;
height: 5px;
overflow: hidden;
border-radius: 999px;
background: rgba(99, 111, 131, 0.18);
}
.workflow-node-progress i {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, var(--primary), var(--accent));
transition: none;
}
.workflow-node-card.done .workflow-node-progress i {
background: var(--accent);
}
.workflow-node-card.waiting .workflow-node-progress i {
background: var(--neutral);
}
.workflow-node-card.review .workflow-node-progress i {
background: var(--warn);
}
.workflow-node-meta {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
min-width: 0;
}
.workflow-node-meta b {
min-width: 0;
max-width: 100%;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 999px;
padding: 3px 7px;
color: var(--text-soft);
background: var(--panel);
font-size: 11px;
font-weight: 900;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-profile-import-stage {
display: grid;
grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
grid-template-rows: minmax(0, 1fr) auto;
gap: 12px;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
background:
linear-gradient(90deg, rgba(127, 139, 161, 0.08) 1px, transparent 1px),
linear-gradient(180deg, var(--panel-muted), var(--panel));
background-size: 48px 48px, auto;
}
.workflow-profile-import-card,
.workflow-profile-import-current {
display: grid;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.workflow-profile-import-card.create {
position: relative;
align-content: start;
gap: 16px;
min-height: 0;
padding: 22px;
}
.workflow-profile-import-card.select {
grid-template-rows: auto minmax(0, 1fr);
gap: 12px;
min-height: 0;
padding: 14px;
}
.workflow-profile-import-card.select header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.workflow-profile-import-card.select header > div,
.workflow-profile-import-copy {
display: grid;
gap: 4px;
min-width: 0;
}
.workflow-profile-import-card span,
.workflow-profile-import-card em,
.workflow-profile-import-current span,
.workflow-profile-import-current dt {
color: var(--text-soft);
font-size: 12px;
font-style: normal;
font-weight: 800;
}
.workflow-profile-import-card strong,
.workflow-profile-import-current strong {
overflow: hidden;
color: var(--text);
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-profile-import-card p,
.workflow-profile-import-current p,
.workflow-profile-import-current dd,
.workflow-profile-import-profile-field small,
.workflow-profile-import-profile-field em {
color: var(--text-soft);
line-height: 1.45;
}
.workflow-profile-import-copy {
max-width: min(100%, 520px);
padding-right: 62px;
}
.workflow-profile-import-copy strong {
font-size: 22px;
}
.workflow-profile-import-copy p {
font-size: 15px;
}
.workflow-profile-import-create-action {
position: absolute;
right: 22px;
bottom: 22px;
display: grid;
place-items: center;
width: 62px;
height: 62px;
border: 1px solid color-mix(in srgb, var(--primary) 58%, transparent);
border-radius: 16px;
color: #ffffff;
background: linear-gradient(135deg, var(--primary), var(--accent));
font-size: 34px;
font-weight: 900;
box-shadow: 0 18px 32px color-mix(in srgb, var(--primary) 28%, transparent);
}
.workflow-profile-import-create-action:hover {
transform: translateY(-1px);
}
.workflow-profile-import-list {
display: grid;
align-content: start;
grid-template-columns: minmax(0, 1fr);
gap: 12px;
min-height: 0;
overflow-y: auto;
padding: 2px 6px 16px 2px;
}
.workflow-profile-import-list button {
position: relative;
display: grid;
grid-template-columns: minmax(128px, 0.36fr) minmax(0, 0.32fr) minmax(0, 0.32fr);
grid-template-areas:
"portrait name identity"
"portrait style style"
"portrait summary summary";
grid-template-rows: minmax(58px, auto) minmax(72px, auto) minmax(92px, 1fr);
gap: 10px;
min-width: 0;
min-height: 268px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
color: var(--text);
text-align: left;
background: var(--panel-muted);
transition:
border-color 160ms ease,
box-shadow 160ms ease,
background 160ms ease;
}
.workflow-profile-import-list button:hover,
.workflow-profile-import-list button.active {
border-color: var(--primary);
background:
linear-gradient(90deg, var(--primary-soft), transparent 68%),
var(--panel-muted);
box-shadow:
inset 3px 0 0 var(--primary),
0 14px 28px rgba(63, 126, 220, 0.14);
}
.workflow-profile-import-list button.active::after {
content: "";
position: absolute;
top: 14px;
right: 14px;
width: 10px;
height: 10px;
border: 2px solid #ffffff;
border-radius: 999px;
background: var(--accent);
box-shadow: 0 0 0 2px var(--accent-soft);
}
.workflow-profile-import-profile-portrait {
position: relative;
grid-area: portrait;
display: grid;
align-content: end;
align-self: stretch;
box-sizing: border-box;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
margin-bottom: 2px;
min-height: 0;
padding: 12px;
background:
radial-gradient(circle at 24% 68%, color-mix(in srgb, var(--profile-color-c) 26%, transparent), transparent 34%),
linear-gradient(135deg, var(--profile-color-a), var(--profile-color-b) 56%, var(--profile-color-c)),
linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 18%, transparent 82%, rgba(15, 23, 42, 0.16)),
linear-gradient(90deg, rgba(127, 139, 161, 0.09) 1px, transparent 1px),
var(--panel);
background-size: auto, auto, auto, 28px 28px, auto;
}
.workflow-profile-import-profile-field {
display: grid;
align-content: start;
gap: 6px;
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel);
}
.workflow-profile-import-profile-field.name {
grid-area: name;
}
.workflow-profile-import-profile-field.identity {
grid-area: identity;
}
.workflow-profile-import-profile-field.style {
grid-area: style;
}
.workflow-profile-import-profile-field.summary {
grid-area: summary;
}
.workflow-profile-import-profile-field strong,
.workflow-profile-import-profile-field em {
overflow: hidden;
min-width: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-profile-import-profile-field.summary strong {
display: -webkit-box;
white-space: normal;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.workflow-profile-import-current {
grid-column: 1 / -1;
grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1fr);
gap: 8px 16px;
padding: 12px 14px;
}
.workflow-profile-import-current > span,
.workflow-profile-import-current > strong,
.workflow-profile-import-current > p {
grid-column: 1;
}
.workflow-profile-import-current dl {
display: grid;
grid-column: 2;
grid-row: 1 / span 3;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
min-width: 0;
}
.workflow-profile-import-current dl div {
display: grid;
gap: 4px;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
background: var(--panel-muted);
}
.workflow-profile-import-current dd {
overflow: hidden;
margin: 0;
color: var(--text);
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-persona-split-stage {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-auto-rows: auto;
align-content: start;
gap: 12px;
min-width: 0;
min-height: 0;
overflow-y: auto;
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
background:
linear-gradient(90deg, rgba(127, 139, 161, 0.08) 1px, transparent 1px),
linear-gradient(180deg, var(--panel-muted), var(--panel));
background-size: 48px 48px, auto;
}
.workflow-persona-split-summary,
.workflow-persona-split-group,
.workflow-persona-split-note {
display: grid;
align-content: start;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
}
.workflow-persona-split-summary {
grid-column: 1 / -1;
gap: 12px;
padding: 14px;
}
.workflow-persona-split-summary.detail {
grid-column: auto;
gap: 10px;
padding: 12px;
}
.workflow-persona-split-summary header,
.workflow-persona-split-group header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.workflow-persona-split-summary header > div,
.workflow-persona-split-group header > div {
display: grid;
gap: 5px;
min-width: 0;
}
.workflow-persona-split-note {
gap: 5px;
}
.workflow-persona-split-summary span,
.workflow-persona-split-group span,
.workflow-persona-split-summary dt,
.workflow-persona-split-note span {
color: var(--text-soft);
font-size: 12px;
font-weight: 900;
}
.workflow-persona-split-summary strong,
.workflow-persona-split-group strong,
.workflow-persona-split-note strong {
min-width: 0;
color: var(--text);
}
.workflow-persona-split-summary em,
.workflow-persona-split-group header em,
.workflow-persona-split-field em {
flex: 0 0 auto;
justify-self: start;
border: 1px solid var(--border);
border-radius: 999px;
padding: 4px 8px;
color: var(--text-soft);
background: var(--panel-muted);
font-size: 11px;
font-style: normal;
font-weight: 900;
line-height: 1;
}
.workflow-persona-split-summary p,
.workflow-persona-split-note p,
.workflow-persona-split-field small,
.workflow-persona-split-summary small {
color: var(--text-soft);
line-height: 1.5;
}
.workflow-persona-split-summary dl {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.workflow-persona-split-summary.detail dl {
grid-template-columns: 1fr;
gap: 8px;
}
.workflow-persona-split-summary dl div {
display: grid;
gap: 4px;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel-muted);
}
.workflow-persona-split-summary dd {
overflow: hidden;
margin: 0;
color: var(--text);
font-weight: 900;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-persona-split-group {
gap: 12px;
padding: 12px;
}
.workflow-persona-split-fields {
display: grid;
align-content: start;
grid-auto-rows: auto;
gap: 8px;
}
.workflow-persona-split-field-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.workflow-persona-split-field-heading button,
.workflow-persona-split-field-actions button {
flex: 0 0 auto;
border: 1px solid var(--border);
border-radius: 6px;
padding: 4px 8px;
color: var(--text-soft);
background: var(--panel);
font-size: 11px;
font-weight: 800;
}
.workflow-persona-split-field-heading button:hover,
.workflow-persona-split-field-actions button:hover {
border-color: var(--primary);
color: var(--text);
}
.workflow-persona-split-field textarea,
.workflow-persona-split-field input {
width: 100%;
min-width: 0;
border: 1px solid var(--primary);
border-radius: 6px;
padding: 8px;
color: var(--text);
background: var(--panel);
font: inherit;
resize: vertical;
}
.workflow-persona-split-field-actions {
display: flex;
justify-content: flex-end;
gap: 6px;
}
.workflow-persona-split-field-actions button:first-child {
border-color: var(--primary);
color: #ffffff;
background: var(--primary);
}
.workflow-persona-split-error {
grid-column: 1 / -1;
margin: 0;
border: 1px solid color-mix(in srgb, var(--danger) 55%, var(--border));
border-radius: 8px;
padding: 10px 12px;
color: var(--danger);
background: color-mix(in srgb, var(--danger) 10%, var(--panel));
}
.workflow-persona-split-field {
position: relative;
display: grid;
gap: 5px;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 10px 10px 12px;
background: var(--panel-muted);
}
.workflow-persona-split-field::before {
content: "";
position: absolute;
top: 10px;
bottom: 10px;
left: 0;
width: 3px;
border-radius: 999px;
background: var(--neutral);
}
.workflow-persona-split-field.ready::before {
background: var(--accent);
}
.workflow-persona-split-field strong {
display: -webkit-box;
overflow: hidden;
line-height: 1.35;
text-overflow: ellipsis;
white-space: normal;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.workflow-persona-split-field.ready em {
color: color-mix(in srgb, var(--accent) 78%, #ffffff);
}
.workflow-persona-split-field.pending em {
color: color-mix(in srgb, var(--warn) 78%, #ffffff);
}
.workflow-persona-split-note {
grid-column: 1 / -1;
padding: 12px;
}
.workflow-prompt-plan-stage,
.workflow-material-bind-stage {
display: grid;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
background:
linear-gradient(90deg, rgba(127, 139, 161, 0.08) 1px, transparent 1px),
linear-gradient(180deg, var(--panel-muted), var(--panel));
background-size: 48px 48px, auto;
}
.workflow-prompt-plan-stage {
grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
gap: 12px;
}
.workflow-prompt-plan-list,
.workflow-material-bind-stage {
align-content: start;
overflow-y: auto;
padding-right: 2px;
}
.workflow-prompt-plan-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
min-width: 0;
min-height: 0;
}
.workflow-prompt-plan-card,
.workflow-prompt-plan-guard article,
.workflow-material-bind-card {
display: grid;
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
}
.workflow-prompt-plan-card {
align-content: start;
gap: 10px;
min-height: 236px;
padding: 12px;
}
.workflow-prompt-plan-card header,
.workflow-prompt-plan-guard article,
.workflow-material-bind-main {
display: grid;
min-width: 0;
}
.workflow-prompt-plan-card header {
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: start;
}
.workflow-prompt-plan-card header > div {
display: grid;
gap: 4px;
min-width: 0;
}
.workflow-prompt-plan-card span,
.workflow-prompt-plan-card dt,
.workflow-prompt-plan-guard span,
.workflow-material-bind-copy small,
.workflow-material-bind-card b,
.workflow-material-bind-stages span {
color: var(--text-soft);
font-size: 11px;
font-weight: 900;
}
.workflow-prompt-plan-card strong,
.workflow-prompt-plan-guard strong,
.workflow-material-bind-copy strong {
min-width: 0;
overflow: hidden;
color: var(--text);
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-prompt-plan-card header em,
.workflow-prompt-plan-guard em,
.workflow-material-bind-card b,
.workflow-material-bind-stages span {
justify-self: start;
border: 1px solid var(--border);
border-radius: 999px;
padding: 4px 8px;
background: var(--panel-muted);
font-style: normal;
line-height: 1;
white-space: nowrap;
}
.workflow-prompt-plan-card p {
display: -webkit-box;
overflow: hidden;
color: var(--text);
line-height: 1.45;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}
.workflow-prompt-plan-card dl {
display: grid;
gap: 8px;
min-width: 0;
margin: 0;
}
.workflow-prompt-plan-card dl div {
display: grid;
gap: 6px;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
background: var(--panel-muted);
}
.workflow-prompt-plan-card dd {
display: flex;
flex-wrap: wrap;
gap: 5px;
min-width: 0;
margin: 0;
color: var(--text);
line-height: 1.42;
}
.workflow-prompt-plan-card dd span {
max-width: 100%;
overflow: hidden;
border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
border-radius: 999px;
padding: 3px 7px;
color: color-mix(in srgb, var(--primary) 82%, var(--text));
background: var(--primary-soft);
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-prompt-plan-guard {
display: grid;
align-content: start;
gap: 10px;
min-width: 0;
min-height: 0;
overflow-y: auto;
}
.workflow-prompt-plan-guard article {
gap: 8px;
padding: 10px;
}
.workflow-prompt-plan-guard strong {
display: -webkit-box;
color: var(--text-soft);
line-height: 1.45;
white-space: normal;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
}
.workflow-material-bind-stage {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.workflow-material-bind-card {
position: relative;
align-content: start;
gap: 9px;
min-height: 176px;
padding: 10px;
overflow: visible;
z-index: 1;
}
.workflow-material-bind-card.picker-open {
z-index: 40;
}
.workflow-material-bind-main {
grid-template-columns: 64px minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
min-width: 0;
min-height: 74px;
border-color: var(--border);
padding: 8px;
color: var(--text);
background: var(--panel-muted);
text-align: left;
}
.workflow-material-bind-main:hover {
border-color: var(--primary);
background: var(--primary-soft);
}
.workflow-material-bind-main:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.workflow-material-bind-main:disabled:hover {
border-color: var(--border);
background: var(--panel-muted);
}
.workflow-material-bind-swatch {
display: block;
width: 58px;
aspect-ratio: 1;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background:
radial-gradient(circle at 24% 72%, color-mix(in srgb, var(--profile-color-c) 28%, transparent), transparent 34%),
linear-gradient(135deg, var(--profile-color-a), var(--profile-color-b) 56%, var(--profile-color-c));
}
.workflow-material-bind-copy {
display: grid;
gap: 4px;
min-width: 0;
}
.workflow-material-bind-copy em {
display: -webkit-box;
overflow: hidden;
color: var(--text-soft);
font-size: 12px;
font-style: normal;
font-weight: 800;
line-height: 1.35;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.workflow-material-bind-stages {
display: flex;
flex-wrap: wrap;
gap: 6px;
min-width: 0;
}
.workflow-material-picker {
position: fixed;
top: 50%;
right: auto;
bottom: auto;
left: 50%;
z-index: 200;
width: min(420px, calc(100vw - 40px));
max-height: min(72vh, 640px);
transform: translate(-50%, -50%);
transform-origin: center;
}
.workflow-preview-stage {
position: relative;
display: grid;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background:
linear-gradient(90deg, rgba(127, 139, 161, 0.08) 1px, transparent 1px),
linear-gradient(180deg, var(--panel-muted), var(--panel));
background-size: 48px 48px, auto;
}
.workflow-generation-placeholder {
display: grid;
place-items: center;
align-content: center;
gap: 10px;
min-height: 100%;
padding: 32px 20px;
color: var(--text);
text-align: center;
background:
radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 42%),
linear-gradient(135deg, color-mix(in srgb, var(--panel-muted) 92%, var(--primary)), var(--panel));
}
.workflow-generation-placeholder > span {
max-width: 280px;
color: var(--text-soft);
font-size: 12px;
line-height: 1.5;
}
.workflow-generation-placeholder-art {
display: flex;
align-items: flex-end;
justify-content: center;
gap: 7px;
width: 74px;
height: 64px;
padding: 10px 12px;
border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--border));
border-radius: 16px;
background: color-mix(in srgb, var(--panel) 72%, var(--primary-soft));
box-shadow: 0 14px 32px color-mix(in srgb, var(--primary) 12%, transparent);
}
.workflow-generation-placeholder-art span {
display: block;
width: 10px;
height: 20px;
border-radius: 999px;
background: var(--primary);
opacity: 0.42;
animation: workflow-generation-placeholder-pulse 1.1s ease-in-out infinite;
}
.workflow-generation-placeholder-art span:nth-child(2) {
height: 32px;
opacity: 0.78;
animation-delay: 0.14s;
}
.workflow-generation-placeholder-art span:nth-child(3) {
height: 25px;
opacity: 0.56;
animation-delay: 0.28s;
}
@keyframes workflow-generation-placeholder-pulse {
0%,
100% {
transform: scaleY(0.7);
}
50% {
transform: scaleY(1);
}
}
@media (prefers-reduced-motion: reduce) {
.workflow-generation-placeholder-art span {
animation: none;
}
}
.workflow-preview-main {
position: relative;
display: grid;
place-items: center;
align-self: stretch;
justify-self: stretch;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid transparent;
border-radius: 8px;
width: auto;
height: auto;
padding: 0;
background: transparent;
cursor: zoom-in;
}
.workflow-preview-main:hover {
border-color: var(--primary);
}
.workflow-preview-main img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.workflow-preview-caption {
position: absolute;
right: 10px;
bottom: 10px;
left: 10px;
overflow: hidden;
border-radius: 8px;
padding: 6px 8px;
color: #ffffff;
background: rgba(15, 23, 42, 0.56);
font-size: 12px;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-preview-caption b {
margin-left: 8px;
color: #d9fff2;
}
.workflow-draft-board {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 8px;
min-height: 224px;
max-height: 340px;
min-width: 0;
}
.workflow-draft-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
gap: 10px;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
}
.workflow-draft-grid > article {
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
gap: 7px;
min-width: 0;
min-height: 206px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
text-align: left;
background: var(--panel-muted);
}
.workflow-draft-grid > article.active {
border-color: var(--primary);
background: var(--primary-soft);
}
.workflow-draft-grid > article.focused {
box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 22%, transparent);
}
.workflow-draft-grid > article.final {
border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
background: color-mix(in srgb, var(--accent) 10%, var(--panel-muted));
}
.workflow-draft-select {
display: grid;
grid-template-rows: minmax(82px, 1fr) auto;
gap: 7px;
min-width: 0;
min-height: 0;
border: 0;
border-radius: 8px;
padding: 0;
color: var(--text);
text-align: left;
background: transparent;
}
.workflow-draft-select:hover {
background: color-mix(in srgb, var(--primary) 7%, transparent);
}
.workflow-draft-select:disabled,
.workflow-candidate-actions button:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.workflow-draft-thumb {
position: relative;
display: grid;
place-items: center;
aspect-ratio: 16 / 10;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
}
.workflow-draft-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.workflow-draft-thumb em {
position: absolute;
right: 6px;
bottom: 6px;
border-radius: 999px;
padding: 2px 6px;
color: #ffffff;
background: rgba(15, 23, 42, 0.62);
font-size: 11px;
font-style: normal;
font-weight: 900;
}
.workflow-draft-thumb strong {
position: absolute;
top: 6px;
left: 6px;
display: grid;
place-items: center;
min-width: 24px;
min-height: 24px;
border-radius: 999px;
padding: 0 7px;
color: #ffffff;
background: var(--primary);
font-size: 12px;
font-weight: 900;
box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
}
.workflow-draft-thumb b {
position: absolute;
top: 6px;
right: 6px;
border-radius: 999px;
padding: 4px 7px;
color: #071711;
background: var(--accent);
font-size: 11px;
font-weight: 900;
}
.workflow-draft-copy {
display: grid;
gap: 3px;
min-width: 0;
}
.workflow-candidate-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 5px;
}
.workflow-candidate-actions button {
min-height: 28px;
border: 1px solid var(--border);
border-radius: 7px;
padding: 4px 6px;
color: var(--text-soft);
background: var(--panel);
font-size: 11px;
font-weight: 800;
}
.workflow-candidate-actions button:hover,
.workflow-candidate-actions button.active {
border-color: var(--primary);
color: var(--text);
background: var(--primary-soft);
}
.workflow-candidate-actions .workflow-candidate-final.active {
border-color: var(--accent);
color: var(--text);
background: color-mix(in srgb, var(--accent) 16%, var(--panel));
}
.workflow-node-info {
display: grid;
align-content: start;
gap: 8px;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
}
.workflow-node-info div {
display: grid;
gap: 5px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel-muted);
}
.workflow-node-info dd {
overflow-wrap: anywhere;
color: var(--text);
line-height: 1.42;
}
.workflow-lock-notice {
display: grid;
gap: 6px;
border: 1px solid color-mix(in srgb, var(--warn) 38%, var(--border));
border-radius: 8px;
padding: 10px;
background: color-mix(in srgb, var(--warn) 9%, var(--panel-muted));
}
.workflow-lock-notice span {
color: var(--warn);
font-size: 11px;
font-weight: 900;
text-transform: uppercase;
}
.workflow-lock-notice strong {
min-width: 0;
overflow: hidden;
color: var(--text);
font-size: 14px;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-lock-notice p {
color: var(--text-soft);
line-height: 1.42;
}
.workflow-lock-notice.progression {
border-color: color-mix(in srgb, var(--primary) 34%, var(--border));
background: color-mix(in srgb, var(--primary) 8%, var(--panel-muted));
}
.workflow-lock-notice.progression span {
color: var(--primary);
}
.workflow-actions {
display: grid;
grid-template-rows: auto auto minmax(0, 1fr);
gap: 10px;
min-height: 0;
}
.workflow-action-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
}
.workflow-action-card {
display: grid;
align-content: start;
gap: 8px;
min-width: 0;
min-height: 142px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel-muted);
}
.workflow-action-card.primary {
border-top-color: var(--primary);
}
.workflow-action-card.accent {
border-color: color-mix(in srgb, var(--accent) 52%, var(--border));
}
.workflow-action-card.warn {
border-color: color-mix(in srgb, var(--warn) 52%, var(--border));
}
.workflow-action-card.neutral {
border-color: color-mix(in srgb, var(--neutral) 52%, var(--border));
}
.workflow-action-card.disabled {
opacity: 0.72;
}
.workflow-action-card > div {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
}
.workflow-lifecycle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:2px}.workflow-lifecycle>span{grid-column:1/-1;overflow:hidden;color:var(--text-soft);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.workflow-lifecycle button{width:100%;min-width:0;min-height:32px;border:1px solid var(--border);border-radius:7px;padding:0 8px;color:var(--text);background:var(--panel-muted);font:inherit;white-space:nowrap}.workflow-lifecycle button:last-child{grid-column:1/-1}.workflow-lifecycle button:hover{border-color:var(--primary);background:var(--primary-soft)}.workflow-lifecycle button:disabled{opacity:.5}
.workflow-lifecycle-detail{overflow:auto;max-height:220px;margin:0 0 10px;border:1px solid var(--border);border-radius:7px;padding:9px;background:var(--panel-muted);font-size:10px}
.workflow-action-card strong {
overflow: hidden;
font-size: 15px;
text-overflow: ellipsis;
white-space: nowrap;
}
.workflow-action-card p {
display: -webkit-box;
overflow: hidden;
color: var(--text-soft);
line-height: 1.4;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.workflow-action-card button {
justify-self: start;
align-self: end;
min-width: 72px;
min-height: 32px;
padding: 0 10px;
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.workflow-action-card .feature-action {
min-width: 72px;
}
.workflow-chat-panel {
animation: card-rise 240ms var(--rail-ease) both;
}
.viewer-fade-enter-active,
.viewer-fade-leave-active {
transition:
opacity 180ms ease,
transform 180ms ease;
}
.viewer-fade-enter-from,
.viewer-fade-leave-to {
opacity: 0;
transform: scale(0.985);
}
.quick-profile-viewer-backdrop {
padding: 26px;
}
.quick-profile-detail-backdrop {
padding: 28px;
}
.quick-profile-detail-card {
display: grid;
grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
gap: 16px;
width: min(1080px, calc(100vw - 56px));
height: min(78vh, 720px);
min-height: 520px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 16px;
background:
radial-gradient(circle at 24% 18%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 36%),
var(--panel);
box-shadow: 0 30px 84px rgba(15, 23, 42, 0.42);
}
.quick-profile-detail-card-portrait {
position: relative;
display: grid;
align-items: end;
min-width: 0;
min-height: 0;
margin: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.64)),
linear-gradient(90deg, rgba(127, 139, 161, 0.09) 1px, transparent 1px),
var(--panel-muted);
background-size: auto, 30px 30px, auto;
}
.quick-profile-detail-card-portrait img {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.quick-profile-detail-card-portrait figcaption {
position: relative;
z-index: 1;
display: grid;
gap: 4px;
margin: 14px;
border-radius: 8px;
padding: 10px 12px;
color: #ffffff;
background: rgba(15, 23, 42, 0.56);
}
.quick-profile-detail-card-portrait span,
.quick-profile-detail-card-info header span,
.quick-profile-detail-card-info dt {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.quick-profile-detail-card-portrait figcaption span {
color: rgba(255, 255, 255, 0.72);
}
.quick-profile-detail-card-portrait strong {
overflow: hidden;
color: #ffffff;
font-size: 22px;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-detail-card-info {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 14px;
min-width: 0;
min-height: 0;
}
.quick-profile-detail-card-info header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.quick-profile-detail-card-info header > div {
display: grid;
gap: 4px;
min-width: 0;
}
.quick-profile-detail-card-info header strong {
overflow: hidden;
color: var(--text);
font-size: 22px;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-detail-card-info header button {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
background: var(--panel-muted);
font-size: 22px;
line-height: 1;
}
.quick-profile-detail-card-info dl {
display: grid;
gap: 10px;
min-height: 0;
overflow-y: auto;
margin: 0;
}
.quick-profile-detail-card-info dl div {
display: grid;
gap: 8px;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
background: var(--panel-muted);
}
.quick-profile-detail-card-info dd {
margin: 0;
color: var(--text);
font-size: 15px;
line-height: 1.55;
}
.quick-profile-viewer-card {
display: grid;
grid-template-columns: minmax(0, 1.72fr) minmax(330px, 0.58fr);
gap: 14px;
width: min(84vw, 1680px);
height: min(84vh, 980px);
min-height: 0;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
padding: 14px;
background: var(--panel);
box-shadow: 0 30px 80px rgba(15, 23, 42, 0.42);
}
.quick-profile-viewer-media {
display: grid;
place-items: center;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background:
linear-gradient(90deg, rgba(127, 139, 161, 0.08) 1px, transparent 1px),
linear-gradient(180deg, var(--panel-muted), var(--panel));
background-size: 48px 48px, auto;
cursor: zoom-in;
touch-action: none;
}
.quick-profile-viewer-media.zoomed {
cursor: grab;
}
.quick-profile-viewer-media.dragging {
cursor: grabbing;
}
.quick-profile-viewer-frame {
display: grid;
place-items: center;
max-width: 100%;
max-height: 100%;
overflow: hidden;
border-radius: 7px;
aspect-ratio: var(--quick-profile-target-ratio);
transform-origin: center;
transition: transform 140ms ease;
user-select: none;
pointer-events: none;
}
.quick-profile-viewer-media.dragging .quick-profile-viewer-frame {
transition: none;
}
.quick-profile-viewer-frame.landscape {
width: 100%;
height: auto;
}
.quick-profile-viewer-frame.portrait {
width: auto;
height: 100%;
}
.quick-profile-viewer-frame img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
user-select: none;
pointer-events: none;
}
.quick-profile-viewer-info {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 12px;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 14px;
background:
linear-gradient(180deg, rgba(127, 139, 161, 0.045), transparent 44%),
var(--panel-muted);
}
.quick-profile-viewer-info header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
}
.quick-profile-viewer-info header > div {
display: grid;
gap: 4px;
min-width: 0;
}
.quick-profile-viewer-info header span,
.quick-profile-viewer-info dt {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.quick-profile-viewer-info header strong {
overflow: hidden;
font-size: 20px;
line-height: 1.15;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-viewer-info header button {
flex: 0 0 auto;
min-height: 34px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 0 10px;
color: var(--text);
background: var(--panel);
font-weight: 800;
}
.quick-profile-viewer-info dl {
display: grid;
align-content: start;
gap: 10px;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
}
.quick-profile-viewer-info dl div {
display: grid;
gap: 5px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel);
}
.quick-profile-viewer-info dd {
overflow-wrap: anywhere;
color: var(--text);
line-height: 1.45;
}
.quick-profile-workspace {
display: grid;
gap: 14px;
min-width: 0;
}
.quick-profile-layout {
display: grid;
grid-template-columns: minmax(260px, 310px) minmax(0, 0.92fr) minmax(0, 1.08fr);
grid-template-areas:
"library detail image"
"library materials materials"
"library commands commands";
gap: 14px;
align-items: stretch;
}
.quick-profile-surface {
position: relative;
display: grid;
gap: 12px;
align-content: start;
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 14px;
background:
linear-gradient(180deg, rgba(127, 139, 161, 0.045), transparent 48%),
var(--panel);
box-shadow: var(--shadow);
}
.quick-profile-surface::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 3px;
background: linear-gradient(90deg, var(--primary), var(--accent));
}
.quick-profile-library {
grid-area: library;
grid-template-rows: auto minmax(0, 1fr);
min-height: 620px;
}
.quick-profile-detail {
grid-area: detail;
min-height: 460px;
}
.quick-profile-image-panel {
grid-area: image;
grid-template-columns: minmax(0, 1fr) 205px;
grid-template-rows: auto minmax(0, 1fr);
align-items: stretch;
min-height: 460px;
}
.quick-profile-image-panel .quick-profile-section-header {
grid-column: 1 / -1;
}
.quick-profile-material-zone {
grid-area: materials;
overflow: visible;
}
.quick-profile-command-zone {
grid-area: commands;
}
.quick-profile-section-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
min-height: 42px;
}
.quick-profile-section-header > div {
display: grid;
gap: 4px;
min-width: 0;
}
.quick-profile-section-header span,
.quick-profile-section-header em {
color: var(--text-soft);
font-size: 12px;
font-style: normal;
font-weight: 800;
}
.quick-profile-section-header strong {
overflow: hidden;
font-size: 20px;
line-height: 1.15;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-detail .quick-profile-section-header {
padding-right: 70px;
}
.quick-profile-library-list {
display: grid;
align-content: start;
gap: 10px;
min-height: 0;
max-height: min(72vh, 760px);
overflow-y: auto;
padding: 4px 2px 2px 0;
}
.quick-profile-library-list button {
position: relative;
display: grid;
grid-template-columns: 58px minmax(0, 1fr);
gap: 5px 10px;
align-items: center;
min-width: 0;
min-height: 92px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
color: var(--text);
background: var(--panel-muted);
text-align: left;
transition:
border-color 160ms ease,
box-shadow 160ms ease,
background 160ms ease,
transform 160ms ease;
}
.quick-profile-library-list button:hover,
.quick-profile-library-list button.active {
border-color: var(--primary);
background:
linear-gradient(90deg, var(--primary-soft), transparent 72%),
var(--panel-muted);
box-shadow:
inset 3px 0 0 var(--primary),
0 10px 22px rgba(63, 126, 220, 0.14);
transform: none;
}
.quick-profile-library-list button.active::after {
content: "";
position: absolute;
top: 10px;
right: 10px;
width: 9px;
height: 9px;
border: 2px solid #ffffff;
border-radius: 999px;
background: var(--accent);
box-shadow: 0 0 0 2px var(--accent-soft);
}
.quick-profile-library-add-card {
border-style: dashed;
background:
linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, transparent), transparent 62%),
var(--panel-muted);
}
.quick-profile-library-add-card:hover {
border-style: solid;
}
.quick-profile-library-add-icon {
grid-row: span 2;
display: grid;
place-items: center;
width: 58px;
height: 58px;
border-radius: 14px;
color: #ffffff;
background: linear-gradient(135deg, var(--primary), var(--accent));
font-size: 28px;
font-weight: 900;
box-shadow: 0 12px 24px color-mix(in srgb, var(--primary) 22%, transparent);
}
.quick-profile-library-thumb {
grid-row: span 2;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
aspect-ratio: 1;
background: var(--panel);
}
.quick-profile-library-thumb img,
.quick-profile-material-media img,
.quick-profile-image-types img,
.quick-profile-hero-image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.quick-profile-library-copy {
display: grid;
gap: 3px;
min-width: 0;
}
.quick-profile-library-copy strong,
.quick-profile-library-copy small,
.quick-profile-library-copy em,
.quick-profile-library-meta {
overflow: hidden;
min-width: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-library-copy strong {
font-size: 16px;
}
.quick-profile-library-copy small,
.quick-profile-library-copy em,
.quick-profile-library-meta {
color: var(--text-soft);
font-size: 12px;
font-style: normal;
font-weight: 700;
}
.quick-profile-library-meta {
grid-column: 2;
}
.quick-profile-curl-button {
position: absolute;
top: 0;
right: 0;
z-index: 2;
width: 58px;
height: 58px;
overflow: hidden;
border: 0;
border-radius: 0 8px 0 8px;
padding: 0;
background: linear-gradient(
135deg,
color-mix(in srgb, var(--primary) 72%, #ffffff 28%),
color-mix(in srgb, var(--primary) 92%, #ffffff 8%)
);
box-shadow: -8px 10px 18px rgba(15, 23, 42, 0.16);
color: transparent;
cursor: pointer;
}
.quick-profile-curl-button::before {
content: "";
position: absolute;
inset: 0;
clip-path: polygon(0 0, 0 100%, 100% 100%);
background: linear-gradient(135deg, #ffffff 0%, #f7fbff 56%, #dce8f8 100%);
filter: drop-shadow(5px -5px 7px rgba(15, 23, 42, 0.14));
transition: filter 180ms ease;
}
.quick-profile-curl-button::after {
content: "";
position: absolute;
top: 34px;
right: 7px;
width: 40px;
height: 2px;
border-radius: 999px;
background: rgba(15, 23, 42, 0.18);
box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);
transform: rotate(-45deg);
transform-origin: center;
}
.quick-profile-curl-button:hover::before {
filter: brightness(1.04);
}
.quick-profile-curl-button span {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
}
.quick-profile-profile-card {
display: grid;
grid-template-columns: 230px minmax(0, 0.45fr) minmax(0, 0.55fr);
grid-template-areas:
"portrait name identity"
"portrait style style"
"portrait summary summary";
grid-template-rows: minmax(62px, auto) minmax(82px, auto) minmax(150px, 1fr);
gap: 10px;
align-content: stretch;
min-width: 0;
min-height: 360px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel-muted);
}
.quick-profile-profile-portrait {
position: relative;
grid-area: portrait;
display: grid;
align-items: center;
align-self: stretch;
min-width: 0;
margin: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
width: 100%;
min-height: 0;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.7)),
linear-gradient(90deg, rgba(127, 139, 161, 0.09) 1px, transparent 1px),
var(--panel);
background-size: auto, 28px 28px, auto;
}
.quick-profile-profile-portrait::before,
.quick-profile-profile-portrait::after {
display: none;
}
.quick-profile-profile-portrait::before {
top: 10px;
height: 24px;
border: 1px solid rgba(127, 139, 161, 0.18);
border-radius: 999px;
background:
linear-gradient(90deg, var(--primary-soft), transparent 58%),
rgba(255, 255, 255, 0.68);
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.quick-profile-profile-portrait::after {
bottom: 10px;
height: 30px;
border-top: 1px solid rgba(127, 139, 161, 0.18);
border-bottom: 1px solid rgba(127, 139, 161, 0.1);
border-radius: 8px;
background:
radial-gradient(circle at 16px 50%, var(--accent) 0 3px, transparent 4px),
radial-gradient(circle at 34px 50%, rgba(127, 139, 161, 0.34) 0 2px, transparent 3px),
linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(127, 139, 161, 0.08));
}
.quick-profile-portrait-button {
position: relative;
z-index: 1;
display: grid;
align-items: center;
width: 100%;
height: 100%;
border: 0;
padding: 0;
color: inherit;
background: transparent;
cursor: zoom-in;
}
.quick-profile-image-empty {
display: grid;
place-items: center;
width: 100%;
height: 100%;
min-height: 44px;
padding: 10px;
color: var(--text-soft);
background:
linear-gradient(135deg, transparent 0 48%, rgba(127, 139, 161, 0.12) 49% 51%, transparent 52%),
var(--panel-muted);
font-size: 12px;
font-weight: 800;
text-align: center;
}
.quick-profile-profile-portrait img {
display: block;
width: 100%;
height: auto;
aspect-ratio: var(--quick-profile-target-ratio);
object-fit: contain;
}
.quick-profile-profile-portrait figcaption {
position: absolute;
right: 8px;
bottom: 8px;
left: 8px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
padding: 6px 8px;
color: #ffffff;
background: rgba(15, 23, 42, 0.55);
font-size: 12px;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
backdrop-filter: blur(8px);
}
.quick-profile-profile-field {
display: grid;
align-content: center;
gap: 6px;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel);
}
.quick-profile-profile-field.name {
grid-area: name;
}
.quick-profile-profile-field.identity {
grid-area: identity;
}
.quick-profile-profile-field.style {
grid-area: style;
}
.quick-profile-profile-field.summary {
grid-area: summary;
align-content: start;
gap: 10px;
}
.quick-profile-profile-field span {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.quick-profile-profile-field strong {
overflow: hidden;
font-size: 26px;
line-height: 1.08;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-profile-field p,
.quick-profile-profile-field small {
display: -webkit-box;
overflow: hidden;
margin: 0;
color: var(--text);
line-height: 1.42;
-webkit-box-orient: vertical;
}
.quick-profile-profile-field p {
-webkit-line-clamp: 2;
}
.quick-profile-profile-field.summary p {
-webkit-line-clamp: 2;
}
.quick-profile-profile-field small {
color: var(--text-soft);
font-size: 13px;
font-weight: 700;
-webkit-line-clamp: 3;
}
.quick-profile-profile-field.summary small {
margin-top: 3px;
padding-top: 8px;
border-top: 1px solid var(--border);
}
.quick-profile-hero-image {
position: relative;
grid-column: 1;
min-width: 0;
margin: 0;
width: 100%;
overflow: hidden;
align-self: center;
justify-self: stretch;
border: 1px solid var(--border);
border-radius: 8px;
aspect-ratio: 16 / 9;
background:
linear-gradient(90deg, rgba(127, 139, 161, 0.08) 1px, transparent 1px),
linear-gradient(180deg, var(--panel-muted), var(--panel));
background-size: 44px 44px, auto;
}
.quick-profile-hero-button {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
border: 0;
padding: 0;
color: inherit;
background: transparent;
cursor: zoom-in;
text-align: left;
transform-origin: center;
animation: quick-profile-image-enter 360ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
.quick-profile-hero-button img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.quick-profile-image-swap-enter-active,
.quick-profile-image-swap-leave-active {
animation: quick-profile-image-enter 360ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
transition:
opacity 340ms ease,
transform 340ms var(--rail-ease),
filter 340ms ease;
will-change: opacity, transform, filter;
}
.quick-profile-image-swap-leave-active {
animation-name: quick-profile-image-leave;
pointer-events: none;
}
.quick-profile-image-swap-enter-from {
opacity: 0;
filter: blur(4px);
transform: translateX(12px) scale(0.985);
}
.quick-profile-image-swap-enter-to,
.quick-profile-image-swap-leave-from {
opacity: 1;
filter: blur(0);
transform: translateX(0) scale(1);
}
.quick-profile-image-swap-leave-to {
opacity: 0;
filter: blur(3px);
transform: translateX(-12px) scale(1.015);
}
@keyframes quick-profile-image-enter {
from {
opacity: 0;
filter: blur(4px);
transform: translateX(12px) scale(0.985);
}
to {
opacity: 1;
filter: blur(0);
transform: translateX(0) scale(1);
}
}
@keyframes quick-profile-image-leave {
from {
opacity: 1;
filter: blur(0);
transform: translateX(0) scale(1);
}
to {
opacity: 0;
filter: blur(3px);
transform: translateX(-12px) scale(1.015);
}
}
.quick-profile-hero-caption {
position: absolute;
right: 8px;
bottom: 8px;
left: 8px;
display: grid;
gap: 2px;
border: 1px solid rgba(255, 255, 255, 0.22);
border-radius: 8px;
padding: 7px 9px;
color: #ffffff;
background: rgba(15, 23, 42, 0.58);
backdrop-filter: blur(10px);
}
.quick-profile-hero-caption span {
font-size: 12px;
font-weight: 800;
opacity: 0.76;
}
.quick-profile-hero-caption strong {
overflow: hidden;
font-size: 16px;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-image-types {
display: grid;
grid-column: 2;
grid-template-columns: 1fr;
grid-template-rows: repeat(4, minmax(0, 1fr));
align-content: stretch;
gap: 8px;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
scroll-snap-type: y proximity;
}
.quick-profile-image-types button {
position: relative;
display: grid;
grid-template-columns: 52px minmax(0, 1fr);
grid-template-rows: auto auto;
gap: 4px 8px;
align-items: center;
min-width: 0;
min-height: 82px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 6px;
color: var(--text);
background: var(--panel-muted);
text-align: left;
scroll-snap-align: start;
transition:
border-color 180ms ease,
background 180ms ease,
box-shadow 180ms ease,
transform 180ms ease;
}
.quick-profile-image-types button:hover,
.quick-profile-image-types button.active {
border-color: var(--primary);
background: var(--primary-soft);
}
.quick-profile-image-types button.active {
box-shadow:
inset 3px 0 0 var(--primary),
0 10px 22px rgba(63, 126, 220, 0.12);
transform: translateX(-1px);
}
.quick-profile-image-types button > span {
grid-row: span 2;
overflow: hidden;
border-radius: 8px;
aspect-ratio: 1;
background: var(--panel);
}
.quick-profile-image-types button > span img {
object-fit: contain;
}
.quick-profile-image-types strong,
.quick-profile-image-types small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-image-types small,
.quick-profile-image-types em {
color: var(--text-soft);
font-size: 11px;
font-style: normal;
font-weight: 700;
}
.quick-profile-image-types em {
position: absolute;
top: 8px;
right: 8px;
border: 1px solid rgba(255, 255, 255, 0.24);
border-radius: 999px;
padding: 2px 6px;
color: #ffffff;
background: rgba(15, 23, 42, 0.55);
}
.quick-profile-material-strip {
display: grid;
grid-template-columns: repeat(5, minmax(148px, 1fr));
gap: 10px;
overflow: visible;
padding: 3px 0 4px;
}
.quick-profile-material-slot {
position: relative;
min-width: 0;
}
.quick-profile-material-card {
display: grid;
grid-template-columns: 64px minmax(0, 1fr);
gap: 6px 10px;
align-items: center;
width: 100%;
height: 100%;
min-width: 0;
min-height: 96px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
color: var(--text);
background: var(--panel-muted);
text-align: left;
transition:
border-color 160ms ease,
background 160ms ease,
box-shadow 160ms ease,
transform 160ms ease;
}
.quick-profile-material-card.active,
.quick-profile-material-card.expanded,
.quick-profile-material-card:hover {
border-color: var(--primary);
background: var(--primary-soft);
box-shadow: 0 8px 18px rgba(63, 126, 220, 0.12);
transform: none;
}
.quick-profile-material-media {
position: relative;
display: grid;
place-items: center;
grid-row: span 3;
overflow: hidden;
border-radius: 8px;
aspect-ratio: 1;
background: var(--panel);
}
.quick-profile-material-media img {
width: 100%;
height: 100%;
object-fit: cover;
}
.quick-profile-material-media.empty {
border: 1px dashed color-mix(in srgb, var(--text-soft) 42%, transparent);
background:
linear-gradient(
135deg,
transparent 45%,
color-mix(in srgb, var(--text-soft) 34%, transparent) 46% 54%,
transparent 55%
),
color-mix(in srgb, var(--panel) 72%, var(--panel-muted));
}
.quick-profile-empty-media-mark {
border-radius: 999px;
padding: 2px 6px;
color: var(--text-soft);
background: color-mix(in srgb, var(--panel-muted) 72%, transparent);
font-size: 11px;
font-weight: 900;
}
.quick-profile-material-copy {
display: grid;
gap: 3px;
min-width: 0;
}
.quick-profile-material-copy strong,
.quick-profile-material-copy small,
.quick-profile-material-copy em {
overflow: hidden;
min-width: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-material-copy small,
.quick-profile-material-copy em {
color: var(--text-soft);
font-size: 12px;
font-style: normal;
font-weight: 800;
}
.quick-profile-material-picker {
position: absolute;
bottom: calc(100% + 10px);
left: 0;
z-index: 35;
display: grid;
gap: 10px;
width: min(318px, calc(100vw - 72px));
transform-origin: bottom left;
border: 1px solid color-mix(in srgb, var(--primary) 38%, var(--border));
border-radius: 8px;
padding: 10px;
background:
linear-gradient(180deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent 34%),
var(--panel);
box-shadow: 0 22px 46px rgba(15, 23, 42, 0.2);
transition:
width 240ms var(--rail-ease),
max-height 240ms var(--rail-ease),
transform 240ms var(--rail-ease);
}
.quick-profile-material-picker.accessory {
grid-template-rows: auto auto minmax(0, 1fr);
width: min(760px, calc(100vw - 96px));
max-height: min(66vh, 590px);
}
.quick-profile-material-picker.accessory.filtered {
width: min(318px, calc(100vw - 72px));
max-height: min(58vh, 520px);
}
.quick-profile-material-slot:nth-child(n + 4) .quick-profile-material-picker {
right: 0;
left: auto;
transform-origin: bottom right;
}
.quick-profile-material-picker::after {
content: "";
position: absolute;
bottom: -7px;
left: 28px;
width: 12px;
height: 12px;
border-right: 1px solid color-mix(in srgb, var(--primary) 38%, var(--border));
border-bottom: 1px solid color-mix(in srgb, var(--primary) 38%, var(--border));
background: var(--panel);
transform: rotate(45deg);
}
.quick-profile-material-slot:nth-child(n + 4) .quick-profile-material-picker::after {
right: 28px;
left: auto;
}
.quick-profile-material-picker-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.quick-profile-material-picker-header > div {
display: grid;
gap: 3px;
min-width: 0;
}
.quick-profile-material-picker-header span,
.quick-profile-material-picker-header small {
color: var(--text-soft);
font-size: 11px;
font-weight: 800;
}
.quick-profile-material-picker-header strong {
overflow: hidden;
font-size: 15px;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-material-picker-groups {
display: flex;
flex-wrap: wrap;
gap: 6px;
max-height: 72px;
min-height: 0;
overflow-y: auto;
padding-right: 2px;
}
.quick-profile-material-picker-groups button {
border: 1px solid var(--border);
border-radius: 999px;
padding: 5px 10px;
color: var(--text-soft);
background: var(--panel-muted);
font-size: 12px;
font-weight: 800;
transition:
border-color 160ms ease,
background 160ms ease,
color 160ms ease;
}
.quick-profile-material-picker-groups button:hover,
.quick-profile-material-picker-groups button.active {
border-color: var(--primary);
color: var(--text);
background: var(--primary-soft);
}
.quick-profile-material-picker.accessory.filtered .quick-profile-material-picker-groups {
flex-wrap: nowrap;
max-height: none;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 2px;
}
.quick-profile-material-picker-list {
position: relative;
display: grid;
gap: 8px;
max-height: 392px;
overflow-y: auto;
overscroll-behavior: contain;
padding-right: 4px;
transition: none;
}
.quick-profile-material-picker-list.accessory {
grid-template-columns: repeat(2, minmax(0, 1fr));
max-height: min(44vh, 420px);
}
.quick-profile-material-picker-list.accessory.filtered {
grid-template-columns: 1fr;
max-height: min(42vh, 392px);
}
.quick-profile-material-picker-choice {
display: grid;
grid-template-columns: 58px minmax(0, 1fr);
gap: 10px;
align-items: center;
min-height: 72px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 7px;
color: var(--text);
background: var(--panel-muted);
text-align: left;
transition:
border-color 160ms ease,
background 160ms ease,
box-shadow 160ms ease;
}
.quick-profile-material-picker-choice:hover,
.quick-profile-material-picker-choice.active {
border-color: var(--primary);
background: var(--primary-soft);
box-shadow: 0 8px 18px rgba(63, 126, 220, 0.12);
}
.quick-profile-material-picker-choice.none {
background:
linear-gradient(
135deg,
color-mix(in srgb, var(--panel) 70%, transparent),
color-mix(in srgb, var(--primary) 8%, transparent)
),
var(--panel-muted);
}
.quick-profile-material-picker.accessory .quick-profile-material-picker-choice.none,
.quick-profile-material-picker.accessory .quick-profile-material-picker-choice.add {
grid-column: 1 / -1;
}
.quick-profile-material-picker-choice.add {
border-style: dashed;
background:
radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 44%),
var(--panel-muted);
}
.quick-profile-material-picker-media,
.quick-profile-material-none-icon,
.quick-profile-material-add-icon {
display: grid;
place-items: center;
overflow: hidden;
border-radius: 8px;
aspect-ratio: 1;
color: var(--primary);
background: var(--panel);
font-weight: 900;
}
.quick-profile-material-picker-media img {
width: 100%;
height: 100%;
object-fit: cover;
}
.quick-profile-material-none-icon {
color: var(--text-soft);
background:
linear-gradient(135deg, transparent 45%, color-mix(in srgb, var(--text-soft) 42%, transparent) 46% 54%, transparent 55%),
var(--panel);
}
.quick-profile-material-add-icon {
border: 1px dashed color-mix(in srgb, var(--primary) 45%, var(--border));
font-size: 26px;
background: color-mix(in srgb, var(--primary) 8%, var(--panel));
}
.quick-profile-material-picker-copy {
display: grid;
gap: 3px;
min-width: 0;
}
.quick-profile-material-picker-copy strong,
.quick-profile-material-picker-copy small,
.quick-profile-material-picker-copy em {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-material-picker-copy small {
color: var(--text-soft);
font-size: 11px;
font-weight: 900;
}
.quick-profile-material-picker-copy strong {
font-size: 13px;
}
.quick-profile-material-picker-copy em {
color: var(--text-soft);
font-size: 11px;
font-style: normal;
font-weight: 700;
}
.material-picker-pop-enter-active,
.material-picker-pop-leave-active {
transition:
opacity 160ms ease,
transform 160ms ease;
}
.material-picker-pop-enter-from,
.material-picker-pop-leave-to {
opacity: 0;
transform: translateY(6px) scale(0.98);
}
.material-choice-scale-enter-active,
.material-choice-scale-leave-active,
.material-choice-scale-move {
transition:
opacity 180ms ease,
transform 220ms var(--rail-ease);
}
.material-choice-scale-enter-from,
.material-choice-scale-leave-to {
opacity: 0;
transform: scale(0.96);
}
.material-choice-scale-leave-active {
position: absolute;
}
.quick-profile-command-list {
display: grid;
grid-template-columns: repeat(6, minmax(126px, 1fr));
gap: 10px;
}
.quick-profile-command-card {
display: grid;
grid-template-rows: auto auto 1fr auto;
gap: 8px;
min-width: 0;
min-height: 134px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel-muted);
animation: card-rise 260ms var(--rail-ease) both;
}
.quick-profile-command-card.accent {
border-color: color-mix(in srgb, var(--accent) 52%, var(--border));
}
.quick-profile-command-card.warn {
border-color: color-mix(in srgb, var(--warn) 52%, var(--border));
}
.quick-profile-command-card.neutral {
border-color: color-mix(in srgb, var(--neutral) 52%, var(--border));
}
.quick-profile-command-card.disabled {
opacity: 0.72;
}
.quick-profile-command-top {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
}
.quick-profile-command-top small {
overflow: hidden;
color: var(--text-soft);
font-size: 12px;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-command-card > strong {
overflow: hidden;
font-size: 16px;
text-overflow: ellipsis;
white-space: nowrap;
}
.quick-profile-command-card p {
display: -webkit-box;
overflow: hidden;
color: var(--text-soft);
line-height: 1.45;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.quick-profile-command-card button {
justify-self: start;
align-self: end;
min-width: 80px;
padding: 0 12px;
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.quick-profile-command-card .feature-action {
min-width: 80px;
}
.quick-profile-command-card.disabled button,
.quick-profile-command-card.disabled .feature-action {
filter: grayscale(0.5);
}
.generation-notice,
.generation-error {
margin: 12px 0 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 12px;
line-height: 1.5;
font-size: 13px;
font-weight: 750;
}
.generation-notice {
border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
color: color-mix(in srgb, var(--accent) 72%, var(--text));
background: color-mix(in srgb, var(--accent) 10%, var(--panel-muted));
}
.generation-error {
border-color: color-mix(in srgb, var(--danger) 48%, var(--border));
color: color-mix(in srgb, var(--danger) 76%, var(--text));
background: color-mix(in srgb, var(--danger) 10%, var(--panel-muted));
}
.external-profile-import-backdrop {
z-index: 87;
padding: 24px;
}
.external-profile-import-card {
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
gap: 14px;
width: min(92vw, 1080px);
max-height: min(86vh, 820px);
min-height: 560px;
overflow: hidden;
border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
border-radius: 8px;
padding: 16px;
color: var(--text);
background:
linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 38%),
var(--panel);
box-shadow: 0 28px 72px rgba(15, 23, 42, 0.38);
}
.external-profile-import-card > header,
.external-profile-import-card > footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.external-profile-import-card > header > div {
display: grid;
gap: 4px;
min-width: 0;
}
.external-profile-import-card > header span,
.external-profile-import-card > footer span,
.external-profile-import-source > span,
.external-profile-import-preview span,
.external-profile-import-preview dt {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.external-profile-import-card > header strong {
overflow: hidden;
font-size: 22px;
text-overflow: ellipsis;
white-space: nowrap;
}
.external-profile-import-card > header button {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
background: var(--panel-muted);
font-size: 22px;
line-height: 1;
}
.external-profile-import-card > header button:hover {
border-color: var(--accent);
background: var(--accent-soft);
}
.external-profile-import-body {
display: grid;
grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
gap: 12px;
min-height: 0;
}
.external-profile-import-source,
.external-profile-import-preview {
display: grid;
min-width: 0;
min-height: 0;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-muted);
}
.external-profile-import-source {
grid-template-rows: auto minmax(0, 1fr);
gap: 10px;
padding: 12px;
}
.external-profile-import-source textarea {
width: 100%;
min-width: 0;
min-height: 0;
resize: none;
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
color: var(--text);
background: var(--panel);
font: inherit;
line-height: 1.55;
outline: none;
}
.external-profile-import-source textarea:focus {
border-color: var(--accent);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.external-profile-import-preview {
grid-template-rows: auto minmax(0, 1fr);
overflow: hidden;
}
.external-profile-import-preview > header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
border-bottom: 1px solid var(--border);
padding: 12px;
}
.external-profile-import-preview > header > div {
display: grid;
gap: 4px;
min-width: 0;
}
.external-profile-import-preview strong {
color: var(--text);
font-size: 20px;
}
.external-profile-import-preview em {
flex: 0 0 auto;
border: 1px solid var(--border);
border-radius: 999px;
padding: 4px 8px;
color: var(--text-soft);
background: var(--panel);
font-size: 12px;
font-style: normal;
font-weight: 800;
}
.external-profile-import-preview dl {
display: grid;
align-content: start;
gap: 8px;
min-height: 0;
overflow-y: auto;
padding: 12px;
}
.external-profile-import-preview dl div {
display: grid;
gap: 6px;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
background: var(--panel);
}
.external-profile-import-preview dl div.pending {
border-style: dashed;
background:
linear-gradient(90deg, color-mix(in srgb, var(--warn) 7%, transparent), transparent 70%),
var(--panel);
}
.external-profile-import-preview dt {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.external-profile-import-preview dt span {
flex: 0 0 auto;
border-radius: 999px;
padding: 2px 7px;
color: var(--text);
background: var(--accent-soft);
font-size: 11px;
}
.external-profile-import-preview dl div.pending dt span {
color: #8b5a0b;
background: var(--warn-soft);
}
.external-profile-import-preview dd {
display: -webkit-box;
overflow: hidden;
min-height: 44px;
margin: 0;
color: var(--text);
line-height: 1.45;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}
.external-profile-import-card > footer {
align-items: center;
}
.external-profile-import-card > footer span {
min-width: 0;
}
.external-profile-import-card > footer button {
flex: 0 0 auto;
border-color: var(--accent);
padding: 0 14px;
color: #ffffff;
background: var(--accent);
}
.external-profile-import-card > footer button:first-of-type {
color: var(--text);
border-color: var(--border);
background: var(--panel-muted);
}
.external-profile-import-card > footer button:disabled {
cursor: not-allowed;
opacity: 0.58;
}
.persona-questionnaire-backdrop {
z-index: 86;
}
.persona-questionnaire-card {
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
gap: 14px;
width: min(88vw, 1040px);
max-height: min(86vh, 840px);
min-height: 560px;
border: 1px solid color-mix(in srgb, var(--primary) 34%, var(--border));
border-radius: 8px;
padding: 16px;
background:
linear-gradient(180deg, color-mix(in srgb, var(--primary) 8%, transparent), transparent 36%),
var(--panel);
box-shadow: 0 28px 72px rgba(15, 23, 42, 0.38);
}
.persona-questionnaire-card header,
.persona-questionnaire-card footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.persona-questionnaire-card header > div:first-child {
display: grid;
gap: 4px;
min-width: 0;
}
.persona-questionnaire-card header span,
.persona-questionnaire-card footer span {
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
}
.persona-questionnaire-card header strong {
overflow: hidden;
font-size: 22px;
text-overflow: ellipsis;
white-space: nowrap;
}
.persona-questionnaire-card header button {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text);
background: var(--panel-muted);
font-size: 22px;
line-height: 1;
}
.persona-questionnaire-card header button:hover {
border-color: var(--primary);
background: var(--primary-soft);
}
.persona-questionnaire-body {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
min-height: 0;
overflow-y: auto;
padding-right: 4px;
}
.persona-questionnaire-body label {
display: grid;
grid-template-rows: auto minmax(112px, 1fr);
gap: 8px;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
background: var(--panel-muted);
}
.persona-questionnaire-body label.compact {
grid-template-rows: auto 42px;
}
.persona-questionnaire-body label.wide {
grid-column: 1 / -1;
}
.persona-questionnaire-body label span {
color: var(--text-soft);
font-size: 12px;
font-weight: 900;
}
.persona-questionnaire-body textarea,
.persona-questionnaire-body input,
.persona-questionnaire-body select {
width: 100%;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
color: var(--text);
background: var(--panel);
font: inherit;
line-height: 1.55;
outline: none;
}
.persona-questionnaire-body textarea {
min-height: 112px;
resize: vertical;
}
.persona-questionnaire-body input,
.persona-questionnaire-body select {
min-height: 42px;
}
.persona-questionnaire-body textarea::placeholder,
.persona-questionnaire-body input::placeholder {
color: var(--text-soft);
opacity: 0.72;
}
.persona-questionnaire-body textarea:focus,
.persona-questionnaire-body input:focus,
.persona-questionnaire-body select:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}
.persona-questionnaire-card footer {
align-items: center;
}
.persona-questionnaire-card footer span {
min-width: 0;
}
.persona-questionnaire-footer-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
flex: 0 0 auto;
min-width: 0;
}
.questionnaire-mode-switch {
display: inline-grid;
grid-template-columns: 1fr 1fr;
min-height: 36px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-muted);
}
.questionnaire-mode-switch button {
min-height: 34px;
border: 0;
border-radius: 0;
padding: 0 11px;
color: var(--text-soft);
background: transparent;
font-size: 12px;
font-weight: 900;
white-space: nowrap;
}
.questionnaire-mode-switch button.active {
color: #ffffff;
background: var(--primary);
}
.questionnaire-mode-switch button + button {
border-left: 1px solid var(--border);
}
.persona-questionnaire-footer-actions > button {
flex: 0 0 auto;
border-color: var(--primary);
padding: 0 14px;
color: #ffffff;
background: var(--primary);
}
.persona-questionnaire-footer-actions .questionnaire-import-button {
min-width: 132px;
white-space: nowrap;
}
.persona-questionnaire-footer-actions > button:disabled {
opacity: 0.62;
}
.generate-status-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
.generate-status-grid article,
.generate-feature-card {
position: relative;
display: grid;
overflow: hidden;
min-width: 0;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
box-shadow: var(--shadow);
}
.generate-status-grid article {
gap: 6px;
padding: 14px;
}
.generate-status-grid article::before,
.generate-feature-card::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 3px;
background: var(--primary);
}
.generate-status-grid strong {
font-size: 24px;
}
.generate-status-grid small,
.generate-feature-card p,
.feature-state {
color: var(--text-soft);
}
.generate-section {
display: grid;
gap: 12px;
}
.generate-section header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.generate-section h2 {
font-size: 20px;
}
.generate-card-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.generate-feature-card {
gap: 10px;
min-height: 220px;
padding: 14px;
animation: card-rise 260ms var(--rail-ease) both;
}
.generate-feature-card.primary::before {
background: var(--primary);
}
.generate-feature-card.accent::before {
background: var(--accent);
}
.generate-feature-card.warn::before {
background: var(--warn);
}
.generate-feature-card.danger::before {
background: var(--danger);
}
.generate-feature-card.neutral::before {
background: var(--neutral);
}
.generate-feature-card.disabled {
background:
linear-gradient(135deg, rgba(127, 139, 161, 0.08), transparent 44%),
var(--panel);
}
.generate-card-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.feature-badge,
.feature-action {
display: inline-flex;
align-items: center;
width: max-content;
max-width: 100%;
min-height: 26px;
border-radius: 999px;
padding: 0 9px;
color: #ffffff;
background: var(--primary);
font-size: 12px;
font-weight: 800;
}
.feature-state {
overflow: hidden;
max-width: 48%;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 12px;
font-weight: 700;
}
.generate-feature-card strong {
font-size: 20px;
}
.generate-feature-card p {
line-height: 1.55;
}
.generate-feature-card code {
overflow: hidden;
width: 100%;
border: 1px solid var(--border);
border-radius: 6px;
padding: 8px;
color: var(--text-soft);
background: var(--panel-muted);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.generate-feature-card button {
justify-self: start;
align-self: end;
padding: 0 12px;
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.detail-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 132px;
padding: 18px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
box-shadow: var(--shadow);
}
.detail-hero > div {
display: grid;
gap: 8px;
min-width: 0;
}
.detail-hero span,
.performance-breakdown header span {
color: var(--text-soft);
font-size: 12px;
font-weight: 700;
}
.detail-hero h2 {
font-size: 28px;
line-height: 1.1;
}
.detail-hero p {
color: var(--text-soft);
}
.detail-hero button {
flex: 0 0 auto;
padding: 0 14px;
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.performance-metric-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}
.performance-detail-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}
.detail-error {
margin-top: 0;
}
.main-column,
.monitor-column {
display: grid;
gap: 14px;
min-width: 0;
}
.monitor-column {
align-self: stretch;
}
.panel {
min-width: 0;
padding: 16px;
}
.queue-panel {
border-color: var(--accent-strong);
}
.images-panel {
border-color: var(--accent-strong);
}
.suggestions-panel {
border-color: var(--primary-strong);
}
.monitor-panel {
border-color: var(--primary-strong);
}
.performance-summary-panel {
border-color: var(--primary-strong);
}
.summary-metric-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
margin-top: 14px;
}
.queue-list {
display: grid;
gap: 10px;
margin-top: 14px;
}
.queue-list li {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
gap: 12px;
align-items: center;
min-width: 0;
padding: 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-muted);
}
.queue-main {
display: grid;
gap: 6px;
min-width: 0;
}
.queue-main strong,
.queue-main small,
.image-card strong,
.image-card small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.progress-track {
height: 6px;
overflow: hidden;
border-radius: 999px;
background: rgba(99, 111, 131, 0.18);
}
.progress-track span {
display: block;
height: 100%;
border-radius: inherit;
background: var(--primary);
}
.status-pill {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 58px;
min-height: 25px;
border-radius: 999px;
padding: 0 8px;
font-size: 12px;
font-weight: 700;
}
.is-good {
color: #14735e;
background: var(--accent-soft);
}
.is-warn {
color: #8b5a0b;
background: var(--warn-soft);
}
.is-bad {
color: #a11d38;
background: var(--danger-soft);
}
.is-idle {
color: var(--text-soft);
background: var(--neutral-soft);
}
.row-actions {
display: flex;
gap: 6px;
}
.row-actions button,
.image-card button {
display: grid;
place-items: center;
width: 32px;
min-height: 32px;
padding: 0;
background: var(--panel);
}
.image-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
margin-top: 14px;
}
.image-card {
display: grid;
gap: 8px;
min-width: 0;
padding: 10px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-muted);
}
.side-images-panel {
align-self: stretch;
height: 100%;
}
.side-image-list {
display: grid;
gap: 12px;
margin-top: 14px;
}
.side-image-card {
display: grid;
gap: 8px;
min-width: 0;
padding: 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: linear-gradient(180deg, var(--accent-soft), var(--panel));
}
.side-image-card .thumb {
aspect-ratio: 16 / 10;
}
.side-image-card strong {
overflow: hidden;
color: var(--text);
font-size: 14px;
text-overflow: ellipsis;
white-space: nowrap;
}
.thumb,
.image-skeleton {
display: block;
aspect-ratio: 4 / 3;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 8px;
background:
linear-gradient(135deg, var(--primary-soft), transparent),
var(--panel);
}
.thumb {
display: grid;
place-items: center;
color: var(--text-soft);
font-weight: 800;
}
.thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.suggestion-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
margin-top: 14px;
}
.suggestion-card {
display: grid;
gap: 8px;
min-height: 128px;
padding: 14px;
text-align: left;
background: var(--panel-muted);
}
.suggestion-card span {
width: max-content;
max-width: 100%;
border-radius: 999px;
padding: 4px 8px;
color: #ffffff;
background: var(--primary);
font-size: 12px;
font-weight: 700;
}
.suggestion-card.retry {
border-color: var(--danger-strong);
}
.suggestion-card.confirm {
border-color: var(--warn-strong);
}
.suggestion-card.cost {
border-color: var(--warn-strong);
}
.suggestion-card.flow {
border-color: var(--accent-strong);
}
.suggestion-card.config {
border-color: var(--primary-strong);
}
.state-card,
.empty-state {
display: grid;
gap: 8px;
margin-top: 14px;
padding: 14px;
background: var(--panel-muted);
box-shadow: none;
}
.state-card.bad {
border-color: var(--danger-strong);
}
.state-card button {
justify-self: start;
padding: 0 12px;
}
.empty-state.calm {
border-color: var(--primary-strong);
}
.empty-state-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 4px;
}
.empty-state-actions button {
min-height: 32px;
padding: 0 11px;
}
.empty-state-actions button:first-child {
color: #ffffff;
border-color: var(--primary);
background: var(--primary);
}
.skeleton-list {
display: grid;
gap: 10px;
margin-top: 14px;
}
.skeleton-list span,
.image-skeleton {
min-height: 72px;
border-radius: 8px;
background: linear-gradient(90deg, var(--panel-muted), var(--primary-soft), var(--panel-muted));
background-size: 220% 100%;
animation: pulse 1.6s ease-in-out infinite;
}
.metric-stack {
display: grid;
gap: 10px;
margin-top: 14px;
}
.metric-card {
border: 1px solid var(--border);
border-radius: 8px;
box-shadow: none;
}
.performance-breakdown dl {
display: grid;
gap: 8px;
margin-top: 14px;
}
.performance-breakdown dl div {
display: flex;
justify-content: space-between;
gap: 12px;
padding: 8px 0;
border-top: 1px solid var(--border);
}
.performance-breakdown dt {
color: var(--text-soft);
}
.performance-breakdown dd {
font-weight: 800;
}
.compact-panel {
display: grid;
gap: 10px;
}
.compact-panel > button {
text-align: left;
}
.log-list {
display: grid;
gap: 8px;
}
.log-list li {
animation: card-rise 220ms var(--rail-ease) both;
animation-delay: calc(var(--card-index, 0) * 28ms);
}
.dot {
flex: 0 0 auto;
width: 9px;
height: 9px;
border-radius: 999px;
background: var(--text-soft);
}
.dot.completed {
background: var(--accent);
}
.dot.failed {
background: var(--danger);
}
.dot.warning {
background: var(--warn);
}
.dot.system {
background: var(--neutral);
}
.empty-row {
padding: 12px;
color: var(--text-soft);
}
@keyframes pulse {
0% {
background-position: 0% 50%;
}
100% {
background-position: 220% 50%;
}
}
@keyframes card-rise {
from {
opacity: 0;
transform: translateY(6px) scale(0.985);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
@keyframes surface-rise {
from {
opacity: 0;
transform: translateY(10px) scale(0.992);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
@keyframes badge-pop {
0% {
transform: scale(0.78);
}
70% {
transform: scale(1.08);
}
100% {
transform: scale(1);
}
}
@media (max-width: 1180px) {
.overview-strip {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dashboard-layout,
.queue-workbench,
.materials-workbench {
grid-template-columns: 1fr;
}
.materials-action-grid {
grid-template-columns: 1fr;
}
.image-generation-canvas,
.image-display-panel {
grid-template-columns: 1fr;
}
.quick-profile-layout {
grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
grid-template-areas:
"library detail"
"library image"
"materials materials"
"commands commands";
}
.workflow-layout {
grid-template-columns: minmax(210px, 260px) minmax(420px, 1fr) minmax(250px, 300px);
grid-template-areas: "nodes main side";
height: clamp(720px, calc(100vh - 220px), 980px);
}
.workflow-node-flow {
grid-area: nodes;
min-height: 520px;
}
.workflow-main-column {
grid-area: main;
}
.workflow-side-column {
grid-area: side;
grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
grid-template-rows: minmax(0, 1fr);
}
.quick-profile-command-list {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.quick-profile-material-strip {
grid-template-columns: repeat(3, minmax(160px, 1fr));
}
.quick-profile-material-picker.accessory {
width: min(560px, calc(100vw - 72px));
}
.quick-profile-material-picker-list.accessory {
grid-template-columns: 1fr;
}
.image-generation-canvas {
height: auto;
max-height: none;
}
.workflow-preview-stage {
min-height: 380px;
}
.workflow-persona-split-stage {
min-height: 380px;
}
.image-preview-panel {
max-height: 360px;
}
.image-stage {
min-height: 420px;
}
.generate-status-grid,
.queue-status-grid,
.materials-status-grid,
.generate-card-grid,
.workflow-action-grid,
.performance-metric-grid,
.performance-detail-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.monitor-column {
grid-template-columns: 1fr;
}
.side-images-panel {
min-height: auto;
}
}
@media (max-width: 760px) {
.materials-view-tabs {
grid-template-columns: 1fr;
}
.navigation-shell {
grid-template-columns: 1fr;
padding-bottom: 88px;
}
.navigation-shell.rail-collapsed {
grid-template-columns: 1fr;
}
.rail {
position: fixed;
z-index: 50;
top: auto;
right: 0;
bottom: 0;
left: 0;
height: auto;
padding: 8px 10px;
background: transparent;
border-right: 0;
backdrop-filter: none;
}
.rail-pin {
display: none;
}
.brand {
display: none;
}
.icon-nav {
width: min(100%, 640px);
height: 64px;
min-height: 0;
max-height: none;
margin: 0 auto;
border: 1px solid var(--border);
border-radius: 8px;
clip-path: none;
background: color-mix(in srgb, var(--panel) 94%, transparent);
box-shadow: 0 12px 30px rgba(4, 8, 18, 0.22);
backdrop-filter: blur(18px);
overflow: hidden;
}
.rail-collapsed .icon-nav {
opacity: 1;
transform: none;
}
.nav-scroll {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
gap: 6px;
width: 100%;
height: 100%;
margin: 0;
padding: 8px;
overflow-x: auto;
overflow-y: hidden;
}
.nav-group,
.nav-group-items {
display: contents;
}
.nav-group-label {
display: none;
}
.icon-nav button {
display: grid;
flex: 0 0 64px;
grid-template-rows: 22px auto;
gap: 2px;
width: 64px;
min-height: 48px;
padding: 3px 5px;
border-radius: 7px;
text-align: center;
}
.icon-nav button.active::before {
top: auto;
right: 12px;
bottom: -3px;
left: 12px;
width: auto;
height: 3px;
}
.nav-glyph {
width: 22px;
height: 22px;
min-width: 22px;
margin: 0 auto;
border: 0;
background: transparent;
}
.nav-copy,
.nav-label {
position: static;
display: block;
overflow: visible;
width: auto;
height: auto;
clip: auto;
clip-path: none;
color: currentColor;
font-size: 10px;
font-weight: 700;
line-height: 1;
white-space: nowrap;
}
.rail-collapsed .nav-copy,
.rail-collapsed .rail:hover .nav-copy,
.rail-collapsed .rail:focus-within .nav-copy {
display: block;
}
.nav-copy small {
display: none;
}
.workbench {
padding: 14px;
}
.topbar {
position: relative;
grid-template-columns: 1fr;
margin: -14px -14px 14px;
padding: 14px;
}
.top-actions {
justify-content: flex-start;
flex-wrap: wrap;
}
.backend-connection-banner {
align-items: stretch;
flex-direction: column;
}
.backend-connection-banner button {
justify-self: start;
width: fit-content;
}
.palette-panel {
top: 118px;
right: 14px;
left: 14px;
grid-template-columns: 1fr;
}
.notification-panel {
top: 118px;
right: 14px;
width: calc(100vw - 28px);
}
.log-popover {
right: 0;
width: min(340px, calc(100vw - 28px));
}
.notification-popover {
right: auto;
left: 0;
}
.overview-strip,
.generate-status-grid,
.queue-status-grid,
.materials-status-grid,
.materials-library-grid,
.generate-card-grid,
.workflow-action-grid,
.image-grid,
.suggestion-grid,
.summary-metric-grid,
.performance-metric-grid,
.performance-detail-grid,
.monitor-column {
grid-template-columns: 1fr;
}
.queue-hero {
align-items: flex-start;
flex-direction: column;
}
.materials-hero,
.queue-hero {
align-items: flex-start;
flex-direction: column;
}
.queue-hero-actions,
.materials-hero-actions {
justify-content: flex-start;
width: 100%;
}
.queue-board-panel header,
.materials-library-panel header {
align-items: stretch;
flex-direction: column;
}
.queue-filter-tabs {
justify-content: flex-start;
}
.queue-task-card {
grid-template-columns: 1fr;
}
.queue-task-meta {
justify-items: start;
}
.materials-library-grid {
max-height: none;
}
.quick-profile-layout {
grid-template-columns: 1fr;
grid-template-areas:
"library"
"detail"
"image"
"materials"
"commands";
}
.workflow-layout {
grid-template-columns: 1fr;
grid-template-areas: none;
}
.workflow-node-flow,
.workflow-main-column,
.workflow-side-column {
grid-area: auto;
min-height: auto;
}
.workflow-side-column {
grid-template-columns: 1fr;
grid-template-rows: auto;
}
.workflow-node-list {
max-height: 420px;
}
.workflow-preview-stage {
min-height: 360px;
}
.workflow-persona-split-stage,
.workflow-persona-split-summary dl {
grid-template-columns: 1fr;
}
.workflow-persona-split-summary,
.workflow-persona-split-note {
grid-column: auto;
}
.workflow-draft-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.quick-profile-library {
min-height: auto;
}
.quick-profile-library-list {
max-height: 360px;
}
.quick-profile-command-list,
.quick-profile-material-strip {
grid-template-columns: 1fr;
}
.persona-questionnaire-backdrop {
padding: 16px;
}
.persona-questionnaire-card {
width: min(100%, 680px);
min-height: 0;
}
.persona-questionnaire-body {
grid-template-columns: 1fr;
}
.persona-questionnaire-body label.wide {
grid-column: auto;
}
.persona-questionnaire-card footer {
align-items: flex-start;
flex-direction: column;
}
.persona-questionnaire-footer-actions {
align-items: stretch;
flex-direction: column;
width: 100%;
}
.persona-questionnaire-footer-actions > button,
.questionnaire-mode-switch {
width: 100%;
}
.external-profile-import-backdrop {
padding: 16px;
}
.external-profile-import-card {
width: min(100%, 760px);
max-height: calc(100vh - 32px);
min-height: 0;
}
.external-profile-import-body {
align-content: start;
grid-template-columns: 1fr;
overflow-y: auto;
padding-right: 4px;
}
.external-profile-import-source {
min-height: 312px;
}
.external-profile-import-source textarea {
min-height: 240px;
}
.external-profile-import-preview {
min-height: 320px;
}
.external-profile-import-card > footer {
align-items: flex-start;
flex-direction: column;
}
.quick-profile-material-picker,
.quick-profile-material-picker.accessory {
right: auto;
left: 0;
width: min(318px, calc(100vw - 48px));
}
.quick-profile-material-slot:nth-child(n + 4) .quick-profile-material-picker {
right: auto;
left: 0;
}
.quick-profile-material-slot:nth-child(n + 4) .quick-profile-material-picker::after {
right: auto;
left: 28px;
}
.quick-profile-material-picker-list.accessory {
grid-template-columns: 1fr;
}
.quick-profile-image-panel {
grid-template-columns: 1fr;
}
.quick-profile-hero-image,
.quick-profile-image-types {
grid-column: auto;
}
.quick-profile-image-types {
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-template-rows: auto;
}
.detail-hero {
align-items: flex-start;
flex-direction: column;
}
.generate-hero {
align-items: flex-start;
flex-direction: column;
}
.generate-mode-actions {
width: 100%;
min-width: 0;
}
.image-chat-panel {
grid-template-columns: 1fr;
}
.image-viewer-backdrop {
padding: 14px;
}
.image-viewer-card {
width: calc(100vw - 28px);
height: min(86vh, 760px);
}
.quick-profile-viewer-card {
grid-template-columns: 1fr;
grid-template-rows: minmax(280px, 1fr) auto;
width: calc(100vw - 28px);
height: min(86vh, 780px);
}
.quick-profile-detail-card {
grid-template-columns: 1fr;
grid-template-rows: minmax(280px, 1fr) minmax(0, auto);
width: calc(100vw - 28px);
height: min(86vh, 780px);
min-height: 0;
}
.materials-detail-card {
grid-template-columns: 1fr;
grid-template-rows: minmax(260px, 1fr) minmax(0, auto);
width: calc(100vw - 28px);
height: min(86vh, 760px);
min-height: 0;
}
.materials-category-create-card {
width: calc(100vw - 28px);
max-height: min(86vh, 720px);
}
.materials-category-create-body dl div {
grid-template-columns: 1fr;
}
.quick-profile-viewer-info {
max-height: 320px;
}
.quick-profile-detail-card-info,
.materials-detail-card-info {
max-height: 340px;
}
.image-viewer-card header {
align-items: flex-start;
flex-direction: column;
}
.image-viewer-actions {
justify-content: flex-start;
}
}
@media (max-width: 560px) {
.icon-nav button {
min-height: 48px;
}
.nav-glyph {
width: 22px;
height: 22px;
}
.welcome-copy h2 {
font-size: 24px;
}
.generate-mode-actions {
grid-template-columns: 1fr;
}
.quick-profile-profile-card {
grid-template-columns: 1fr;
grid-template-areas:
"portrait"
"name"
"identity"
"style"
"summary";
grid-template-rows: auto;
}
.quick-profile-image-types {
grid-template-columns: 1fr;
}
.navigation-shell .image-preview-card {
grid-template-columns: 56px minmax(0, 1fr);
min-height: 74px;
}
.preview-thumb {
width: 56px;
height: 56px;
}
.image-stage {
min-height: 300px;
}
.queue-list li,
.notification-list li {
grid-template-columns: 1fr;
}
.materials-library-card {
grid-template-columns: 1fr;
}
.materials-library-thumb {
grid-row: auto;
aspect-ratio: 16 / 9;
}
.row-actions,
.notification-list li > button {
justify-self: start;
}
.external-profile-import-card {
padding: 12px;
}
.external-profile-import-card > header {
align-items: flex-start;
}
.external-profile-import-card > header strong {
font-size: 18px;
white-space: normal;
}
.external-profile-import-card > footer button {
width: 100%;
}
}
.workflow-material-bind-stage {
overflow: visible;
}
.workflow-material-bind-card .workflow-material-picker {
position: absolute;
top: auto;
right: auto;
bottom: calc(100% + 10px);
left: 0;
z-index: 200;
width: min(360px, calc(100vw - 72px));
max-height: min(66vh, 590px);
transform: none;
transform-origin: bottom left;
}
.workflow-material-bind-card:nth-child(2n) .workflow-material-picker {
right: 0;
left: auto;
transform-origin: bottom right;
}
.workflow-material-bind-card .workflow-material-picker.placement-down {
top: calc(100% + 10px);
right: auto;
bottom: auto;
left: 0;
transform-origin: top left;
}
.workflow-material-bind-card:nth-child(2n) .workflow-material-picker.placement-down {
right: 0;
left: auto;
transform-origin: top right;
}
.workflow-layout {
grid-template-columns: minmax(150px, 22%) minmax(0, 52%) minmax(180px, 26%);
grid-template-areas: "nodes main side";
height: clamp(720px, calc(100vh - 220px), 980px);
min-width: 0;
}
.workflow-node-flow { grid-area: nodes; }
.workflow-main-column { grid-area: main; }
.workflow-side-column { grid-area: side; }
@media (max-width: 760px) {
.workflow-layout {
grid-template-columns: minmax(150px, 22%) minmax(260px, 52%) minmax(180px, 26%);
grid-template-areas: "nodes main side";
height: auto;
min-height: 720px;
overflow-x: auto;
}
.workflow-node-flow,
.workflow-main-column,
.workflow-side-column {
min-width: 0;
min-height: 0;
}
}
.workflow-main-column {
grid-template-rows: minmax(520px, 1fr) minmax(250px, auto);
}
.workflow-preview-panel {
min-height: 520px;
}
.workflow-composer-shell {
min-height: 250px;
overflow: visible;
}
.workflow-composer-shell > .workflow-composer-panel {
min-height: 230px;
}