mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 22:26:38 +03:00
1706 lines
35 KiB
CSS
1706 lines
35 KiB
CSS
/*
|
|
* Isolated dev gallery for the production Live chrome.
|
|
*
|
|
* Runtime fidelity anchors:
|
|
* - skill/scripts/live-browser.js: C, barPaletteForTheme, initBar,
|
|
* buildConfigureRow, buildGeneratingRow, buildCyclingRow, initParamsPanel,
|
|
* initGlobalBar, pending-copy dock, annotation overlay, designPanelCss.
|
|
* - skill/scripts/live/ui-core.mjs: authoritative surface/state inventory.
|
|
*
|
|
* The --lvg-live-* values intentionally mirror the standalone injected script
|
|
* rather than the surrounding site theme. Live uses this dark chrome on both
|
|
* light and dark host pages so its controls stay recognizable everywhere.
|
|
*/
|
|
|
|
.live-ui-gallery {
|
|
--lvg-live-brand: oklch(84% 0.19 80.46);
|
|
--lvg-live-brand-hover: oklch(86% 0.07 84);
|
|
--lvg-live-brand-soft: oklch(84% 0.19 80.46 / 0.18);
|
|
--lvg-live-ink: oklch(4% 0.004 95);
|
|
--lvg-live-surface: oklch(15% 0.008 95);
|
|
--lvg-live-chat: oklch(22% 0.012 82);
|
|
--lvg-live-toggle: oklch(27% 0 0);
|
|
--lvg-live-text: oklch(91% 0 0);
|
|
--lvg-live-text-dim: oklch(72% 0 0);
|
|
--lvg-live-border: oklch(92% 0 0 / 0.13);
|
|
--lvg-live-hairline: oklch(92% 0 0 / 0.12);
|
|
--lvg-live-patina: oklch(70% 0.12 188);
|
|
--lvg-live-patina-pale: oklch(82% 0.07 188);
|
|
--lvg-live-patina-soft: oklch(70% 0.12 188 / 0.28);
|
|
--lvg-live-warning: oklch(58% 0.15 35);
|
|
--lvg-live-success: oklch(45% 0.18 145);
|
|
--lvg-live-success-surface: oklch(95% 0.05 145);
|
|
--lvg-live-font: system-ui, -apple-system, sans-serif;
|
|
--lvg-live-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
--lvg-live-shadow: 0 16px 36px -12px oklch(0% 0 0 / 0.6);
|
|
--lvg-live-soft-shadow: 0 4px 20px oklch(0% 0 0 / 0.08), 0 1px 3px oklch(0% 0 0 / 0.06);
|
|
--lvg-live-ease: cubic-bezier(0.22, 1, 0.36, 1);
|
|
--lvg-fs-9: 0.59375rem;
|
|
--lvg-fs-10: 0.625rem;
|
|
--lvg-fs-10-5: 0.65625rem;
|
|
--lvg-fs-11: 0.6875rem;
|
|
--lvg-fs-11-5: 0.71875rem;
|
|
--lvg-fs-12: 0.75rem;
|
|
--lvg-fs-13: 0.8125rem;
|
|
--lvg-fs-14: 0.875rem;
|
|
--lvg-fs-15: 0.9375rem;
|
|
|
|
container: live-ui-gallery / inline-size;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
height: clamp(580px, calc(100dvh - 112px), 820px);
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
color: var(--ks-text);
|
|
background: var(--ks-lacquer-raised);
|
|
font-family: var(--ks-font);
|
|
}
|
|
|
|
/* Stable contract with the dev-only Live Lab shell. The outer toolbar owns
|
|
* the view title; this component owns every pixel below it when UI is active. */
|
|
.live-lab-ui-panel:has(> .live-ui-gallery) {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.live-lab-workbench[data-active-view='ui'] .live-lab-ui-panel:has(> .live-ui-gallery) {
|
|
height: calc(100dvh - 112px);
|
|
min-height: 560px;
|
|
}
|
|
|
|
.live-lab-workbench[data-active-view='ui'] .live-ui-gallery {
|
|
height: 100%;
|
|
}
|
|
|
|
.live-ui-gallery *,
|
|
.live-ui-gallery *::before,
|
|
.live-ui-gallery *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.live-ui-gallery button,
|
|
.live-ui-gallery input,
|
|
.live-ui-gallery select {
|
|
font: inherit;
|
|
}
|
|
|
|
.live-ui-gallery__header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
display: grid;
|
|
grid-template-areas:
|
|
'readout controls'
|
|
'states states';
|
|
grid-template-rows: 36px 40px;
|
|
grid-template-columns: minmax(0, 1fr) minmax(250px, 390px);
|
|
column-gap: 16px;
|
|
min-height: 77px;
|
|
padding: 0 12px;
|
|
background: var(--ks-lacquer-deep);
|
|
border-bottom: 1px solid var(--ks-rule);
|
|
}
|
|
|
|
.live-ui-gallery__control-panel {
|
|
grid-area: controls;
|
|
min-width: 0;
|
|
align-self: center;
|
|
}
|
|
|
|
.live-ui-gallery__sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.live-ui-gallery__select-row {
|
|
display: grid;
|
|
grid-template-columns: 32px minmax(0, 1fr) 32px;
|
|
gap: 4px;
|
|
}
|
|
|
|
.live-ui-gallery__select-row select,
|
|
.live-ui-gallery__step {
|
|
min-height: 32px;
|
|
color: var(--ks-champagne);
|
|
background: var(--ks-graphite);
|
|
border: 1px solid var(--ks-rule);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.live-ui-gallery__select-row select {
|
|
width: 100%;
|
|
padding: 0 30px 0 10px;
|
|
font-size: var(--lvg-fs-12);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.live-ui-gallery__step {
|
|
padding: 0;
|
|
color: var(--ks-kinpaku);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.live-ui-gallery__select-row select:focus-visible,
|
|
.live-ui-gallery__step:focus-visible,
|
|
.live-ui-gallery__quick-nav button:focus-visible,
|
|
.live-ui-gallery [data-live-gallery-preview] button:focus-visible,
|
|
.live-ui-gallery [data-live-gallery-preview] input:focus-visible {
|
|
outline: 2px solid var(--ks-kinpaku);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.live-ui-gallery__quick-nav {
|
|
grid-area: states;
|
|
display: flex;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
padding: 7px 0;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
overscroll-behavior-inline: contain;
|
|
scrollbar-color: var(--ks-graphite-2) transparent;
|
|
scrollbar-width: thin;
|
|
border-top: 1px solid var(--ks-rule);
|
|
}
|
|
|
|
.live-ui-gallery__quick-group {
|
|
display: inline-flex;
|
|
flex: 0 0 auto;
|
|
gap: 6px;
|
|
align-items: center;
|
|
padding-right: 12px;
|
|
border-right: 1px solid var(--ks-rule);
|
|
}
|
|
|
|
.live-ui-gallery__quick-group:last-child {
|
|
padding-right: 0;
|
|
border-right: 0;
|
|
}
|
|
|
|
.live-ui-gallery__quick-group > span {
|
|
white-space: nowrap;
|
|
color: var(--ks-text-faint);
|
|
font-family: var(--ks-mono);
|
|
font-size: var(--ks-type-eyebrow-size);
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.live-ui-gallery__quick-group > div {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 3px;
|
|
}
|
|
|
|
.live-ui-gallery__quick-nav button {
|
|
min-height: 24px;
|
|
padding: 3px 7px;
|
|
color: var(--ks-text-muted);
|
|
background: transparent;
|
|
border: 1px solid var(--ks-rule);
|
|
border-radius: 3px;
|
|
font-size: var(--lvg-fs-12);
|
|
cursor: pointer;
|
|
transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
|
|
}
|
|
|
|
.live-ui-gallery__quick-nav button:hover {
|
|
color: var(--ks-champagne);
|
|
border-color: var(--ks-text-faint);
|
|
}
|
|
|
|
.live-ui-gallery__quick-nav button[aria-current="true"] {
|
|
color: var(--ks-lacquer-deep);
|
|
background: var(--ks-kinpaku);
|
|
border-color: var(--ks-kinpaku);
|
|
}
|
|
|
|
.live-ui-gallery__state-readout {
|
|
grid-area: readout;
|
|
display: flex;
|
|
min-width: 0;
|
|
gap: 8px;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.live-ui-gallery__state-readout span {
|
|
color: var(--ks-patina);
|
|
font-family: var(--ks-mono);
|
|
font-size: var(--ks-type-eyebrow-size);
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.live-ui-gallery__state-readout strong {
|
|
overflow: hidden;
|
|
color: var(--ks-champagne);
|
|
font-size: var(--lvg-fs-14);
|
|
font-weight: 600;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.live-ui-gallery__previews {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
min-height: 0;
|
|
padding: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.live-ui-gallery__preview {
|
|
container: live-ui-preview / inline-size;
|
|
display: grid;
|
|
grid-template-rows: 34px minmax(0, 1fr);
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: var(--ks-lacquer-deep);
|
|
border: 1px solid var(--ks-rule);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.live-ui-gallery__preview > header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 34px;
|
|
padding: 0 10px;
|
|
color: var(--ks-text-muted);
|
|
border-bottom: 1px solid var(--ks-rule);
|
|
}
|
|
|
|
.live-ui-gallery__preview > header h3 {
|
|
margin: 0;
|
|
color: var(--ks-champagne);
|
|
font-size: var(--lvg-fs-14);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.live-ui-gallery__preview > header code {
|
|
margin-left: auto;
|
|
padding: 2px 5px;
|
|
color: var(--ks-text-faint);
|
|
background: var(--ks-graphite);
|
|
border-radius: 3px;
|
|
font-family: var(--ks-mono);
|
|
font-size: var(--lvg-fs-11);
|
|
}
|
|
|
|
.live-ui-gallery__theme-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--ks-patina);
|
|
}
|
|
|
|
.live-ui-gallery__preview:first-child .live-ui-gallery__theme-dot {
|
|
background: var(--ks-kinpaku);
|
|
}
|
|
|
|
.live-ui-stage {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
isolation: isolate;
|
|
font-family: var(--lvg-live-font);
|
|
}
|
|
|
|
.live-ui-stage.is-light {
|
|
color: oklch(20% 0.018 95);
|
|
background: oklch(96% 0.012 95);
|
|
}
|
|
|
|
.live-ui-stage.is-dark {
|
|
color: oklch(91% 0 0);
|
|
background: oklch(8% 0.008 95);
|
|
}
|
|
|
|
.lvg-host-page {
|
|
position: absolute;
|
|
inset: 0;
|
|
padding: 34px 28px 86px;
|
|
background-image: linear-gradient(to right, currentColor 1px, transparent 1px);
|
|
background-size: 42px 100%;
|
|
background-position: 28px 0;
|
|
}
|
|
|
|
.is-light .lvg-host-page {
|
|
background-color: oklch(97% 0.012 95);
|
|
background-image: linear-gradient(to right, oklch(25% 0.02 95 / 0.055) 1px, transparent 1px);
|
|
}
|
|
|
|
.is-dark .lvg-host-page {
|
|
background-color: oklch(8% 0.008 95);
|
|
background-image: linear-gradient(to right, oklch(91% 0 0 / 0.05) 1px, transparent 1px);
|
|
}
|
|
|
|
.lvg-host-kicker {
|
|
margin: 0 0 8px;
|
|
font-family: var(--lvg-live-mono);
|
|
font-size: var(--lvg-fs-10);
|
|
font-weight: 600;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
opacity: 0.62;
|
|
}
|
|
|
|
.lvg-host-target {
|
|
position: relative;
|
|
max-width: 25rem;
|
|
min-height: 142px;
|
|
padding: 22px 24px;
|
|
border-left: 3px solid currentColor;
|
|
}
|
|
|
|
.is-light .lvg-host-target {
|
|
background: oklch(99% 0.008 95);
|
|
box-shadow: 0 18px 42px -30px oklch(20% 0.02 95 / 0.38);
|
|
}
|
|
|
|
.is-dark .lvg-host-target {
|
|
background: oklch(12% 0.008 95);
|
|
box-shadow: 0 18px 42px -30px oklch(0% 0 0 / 0.8);
|
|
}
|
|
|
|
.lvg-host-target h4 {
|
|
max-width: 15ch;
|
|
margin: 0;
|
|
font-size: var(--ks-type-title-size);
|
|
line-height: 1.08;
|
|
letter-spacing: -0.02em;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.lvg-host-target p {
|
|
max-width: 37ch;
|
|
margin: 12px 0 0;
|
|
font-size: var(--lvg-fs-13);
|
|
line-height: 1.55;
|
|
opacity: 0.68;
|
|
}
|
|
|
|
.lvg-host-target[data-edited="true"] h4 {
|
|
background: color-mix(in oklch, var(--lvg-live-brand) 24%, transparent);
|
|
box-shadow: inset 0 -1px var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-host-page.has-insert .lvg-host-target {
|
|
margin-top: 130px;
|
|
}
|
|
|
|
.lvg-selection-outline {
|
|
position: absolute;
|
|
top: 70px;
|
|
left: 26px;
|
|
width: min(25.25rem, calc(100% - 52px));
|
|
height: 150px;
|
|
border: 2px solid var(--lvg-live-brand);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.lvg-edit-badge {
|
|
position: absolute;
|
|
top: 42px;
|
|
right: max(26px, calc(100% - 430px));
|
|
z-index: 8;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.lvg-edit-badge button {
|
|
min-height: 22px;
|
|
padding: 2px 8px;
|
|
color: var(--lvg-live-text-dim);
|
|
background: var(--lvg-live-chat);
|
|
border: 1px solid var(--lvg-live-hairline);
|
|
border-radius: 6px;
|
|
box-shadow: 0 4px 16px oklch(0% 0 0 / 0.16), 0 1px 3px oklch(0% 0 0 / 0.08);
|
|
font-family: var(--lvg-live-font);
|
|
font-size: var(--lvg-fs-10);
|
|
font-weight: 600;
|
|
line-height: 1rem;
|
|
letter-spacing: 0.06em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-edit-badge .is-primary,
|
|
.lvg-edit-badge .is-icon {
|
|
color: var(--lvg-live-ink);
|
|
background: var(--lvg-live-brand);
|
|
border-color: var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-edit-badge .is-icon {
|
|
display: inline-flex;
|
|
width: 22px;
|
|
min-width: 22px;
|
|
height: 22px;
|
|
padding: 4px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.lvg-live-context {
|
|
position: absolute;
|
|
top: 230px;
|
|
left: 50%;
|
|
z-index: 10;
|
|
display: block;
|
|
width: min(35rem, calc(100% - 24px));
|
|
min-width: 0;
|
|
padding: 5px;
|
|
overflow: visible;
|
|
color: var(--lvg-live-text);
|
|
background: var(--lvg-live-ink);
|
|
border: 1px solid var(--lvg-live-border);
|
|
border-radius: 8px;
|
|
box-shadow: var(--lvg-live-soft-shadow);
|
|
transform: translateX(-50%);
|
|
font-family: var(--lvg-live-font);
|
|
font-size: var(--lvg-fs-13);
|
|
}
|
|
|
|
.lvg-live-context.is-configure {
|
|
height: 38px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: var(--lvg-live-surface);
|
|
}
|
|
|
|
.lvg-live-context.is-configure.has-picker {
|
|
overflow: visible;
|
|
}
|
|
|
|
.lvg-configure-row {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 36px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.lvg-configure-input-shell {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 100%;
|
|
padding: 0 6px 0 7px;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.lvg-selection-pill {
|
|
display: inline-flex;
|
|
min-width: 32px;
|
|
height: 22px;
|
|
padding: 1px 4px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--lvg-live-patina);
|
|
background: transparent;
|
|
border: 1px solid var(--lvg-live-patina);
|
|
border-radius: 7px;
|
|
font-family: var(--lvg-live-mono);
|
|
font-size: var(--lvg-fs-12);
|
|
font-weight: 600;
|
|
line-height: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-configure-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
width: 100%;
|
|
height: 18px;
|
|
padding: 0;
|
|
color: oklch(94% 0.02 82);
|
|
caret-color: oklch(94% 0.02 82);
|
|
background: transparent;
|
|
border: 0;
|
|
outline: 0;
|
|
font-family: var(--lvg-live-font);
|
|
font-size: var(--lvg-fs-12);
|
|
font-weight: 500;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.lvg-configure-input::placeholder {
|
|
color: var(--lvg-live-text-dim);
|
|
opacity: 1;
|
|
}
|
|
|
|
.lvg-configure-trailing {
|
|
display: inline-flex;
|
|
height: 100%;
|
|
flex-shrink: 0;
|
|
align-items: stretch;
|
|
border-left: 1px solid var(--lvg-live-hairline);
|
|
}
|
|
|
|
.lvg-configure-modifiers {
|
|
display: inline-flex;
|
|
height: 100%;
|
|
padding: 0 10px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.lvg-configure-modifier {
|
|
height: 18px;
|
|
padding: 0;
|
|
color: var(--lvg-live-text-dim);
|
|
background: transparent;
|
|
border: 0;
|
|
font-size: var(--lvg-fs-12);
|
|
font-weight: 500;
|
|
line-height: 18px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-configure-modifier:hover {
|
|
color: var(--lvg-live-text);
|
|
}
|
|
|
|
.lvg-configure-modifier.is-count {
|
|
font-family: var(--lvg-live-mono);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.lvg-configure-voice,
|
|
.lvg-configure-submit {
|
|
display: inline-flex;
|
|
width: 36px;
|
|
height: 36px;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
border-left: 1px solid var(--lvg-live-hairline);
|
|
border-radius: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-configure-voice {
|
|
color: var(--lvg-live-text-dim);
|
|
background: transparent;
|
|
}
|
|
|
|
.lvg-configure-voice:hover,
|
|
.lvg-configure-voice[aria-pressed="true"] {
|
|
color: var(--lvg-live-brand);
|
|
background: var(--lvg-live-toggle);
|
|
}
|
|
|
|
.lvg-configure-voice[aria-pressed="true"] svg {
|
|
animation: lvg-voice-pulse 1.1s ease-in-out infinite;
|
|
}
|
|
|
|
.lvg-configure-submit {
|
|
color: var(--lvg-live-ink);
|
|
background: var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-live-context[data-locked="true"] {
|
|
border-color: var(--lvg-live-patina-soft);
|
|
}
|
|
|
|
.lvg-live-context[data-locked="true"] :is(input, button) {
|
|
cursor: not-allowed;
|
|
opacity: 0.58;
|
|
}
|
|
|
|
.lvg-action-picker {
|
|
position: absolute;
|
|
top: auto;
|
|
right: 0;
|
|
bottom: calc(100% + 6px);
|
|
z-index: 12;
|
|
width: min(25rem, calc(100vw - 56px));
|
|
padding: 6px;
|
|
color: var(--lvg-live-text);
|
|
background: var(--lvg-live-ink);
|
|
border: 1px solid var(--lvg-live-border);
|
|
border-radius: 8px;
|
|
box-shadow: var(--lvg-live-shadow);
|
|
}
|
|
|
|
.lvg-action-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 3px;
|
|
}
|
|
|
|
.lvg-action-chip {
|
|
display: flex;
|
|
min-width: 0;
|
|
padding: 8px 6px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: var(--lvg-live-text);
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
font-size: var(--lvg-fs-11);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-action-chip:hover,
|
|
.lvg-action-chip[aria-pressed="true"] {
|
|
color: var(--lvg-live-brand);
|
|
background: var(--lvg-live-brand-soft);
|
|
}
|
|
|
|
.lvg-action-chip span:first-child {
|
|
display: flex;
|
|
height: 20px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.lvg-generation-row,
|
|
.lvg-cycling-row,
|
|
.lvg-status-row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.lvg-generation-row {
|
|
gap: 8px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.lvg-generation-label {
|
|
flex-shrink: 0;
|
|
color: var(--lvg-live-text);
|
|
font-size: var(--lvg-fs-12);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-generation-status {
|
|
margin-left: auto;
|
|
color: var(--lvg-live-text-dim);
|
|
font-size: var(--lvg-fs-11);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-dots {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.lvg-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: var(--lvg-live-text-dim);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
button.lvg-dot {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-dot.is-active {
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--lvg-live-brand);
|
|
opacity: 1;
|
|
}
|
|
|
|
.lvg-dot.is-pending {
|
|
background: transparent;
|
|
border: 1.5px solid var(--lvg-live-hairline);
|
|
opacity: 0.4;
|
|
transform: scale(0.85);
|
|
}
|
|
|
|
.lvg-cycling-row {
|
|
gap: 6px;
|
|
padding: 1px 2px;
|
|
}
|
|
|
|
.lvg-nav-button {
|
|
display: inline-flex;
|
|
width: 26px;
|
|
height: 26px;
|
|
padding: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--lvg-live-text);
|
|
background: transparent;
|
|
border: 1px solid var(--lvg-live-hairline);
|
|
border-radius: 5px;
|
|
font-size: var(--lvg-fs-13);
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-nav-button[disabled] {
|
|
opacity: 0.3;
|
|
cursor: default;
|
|
}
|
|
|
|
.lvg-variant-counter {
|
|
min-width: 24px;
|
|
color: var(--lvg-live-text-dim);
|
|
font-family: var(--lvg-live-mono);
|
|
font-size: var(--lvg-fs-11);
|
|
font-weight: 500;
|
|
text-align: center;
|
|
}
|
|
|
|
.lvg-tune-button {
|
|
display: inline-flex;
|
|
padding: 4px 10px;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--lvg-live-text);
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: 5px;
|
|
font-size: var(--lvg-fs-11);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-tune-button:hover,
|
|
.lvg-tune-button[aria-expanded="true"] {
|
|
color: var(--lvg-live-brand);
|
|
background: var(--lvg-live-brand-soft);
|
|
}
|
|
|
|
.lvg-tune-badge {
|
|
display: inline-flex;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
padding: 0 4px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: inherit;
|
|
background: var(--lvg-live-hairline);
|
|
border-radius: 999px;
|
|
font-family: var(--lvg-live-mono);
|
|
font-size: var(--lvg-fs-9);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.lvg-tune-button[aria-expanded="true"] .lvg-tune-badge {
|
|
color: oklch(98% 0 0);
|
|
background: var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-cycling-spacer {
|
|
flex: 1;
|
|
}
|
|
|
|
.lvg-arrival-progress {
|
|
color: var(--lvg-live-text-dim);
|
|
font-size: var(--lvg-fs-11);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-accept {
|
|
padding: 5px 14px;
|
|
color: var(--lvg-live-ink);
|
|
background: var(--lvg-live-brand);
|
|
border: 0;
|
|
border-radius: 5px;
|
|
font-size: var(--lvg-fs-11);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-discard {
|
|
padding: 4px 6px;
|
|
color: var(--lvg-live-text-dim);
|
|
background: transparent;
|
|
border: 1px solid var(--lvg-live-hairline);
|
|
border-radius: 5px;
|
|
font-size: var(--lvg-fs-11);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-tune-panel {
|
|
position: absolute;
|
|
top: 36px;
|
|
left: -1px;
|
|
z-index: -1;
|
|
width: calc(100% + 2px);
|
|
padding: 20px 18px 14px;
|
|
color: var(--lvg-live-text);
|
|
background: var(--lvg-live-ink);
|
|
border-radius: 0 0 10px 10px;
|
|
box-shadow: 0 14px 26px -18px oklch(0% 0 0 / 0.65);
|
|
}
|
|
|
|
.lvg-tune-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px 16px;
|
|
}
|
|
|
|
.lvg-param {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.lvg-param-header {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.lvg-param-header strong,
|
|
.lvg-param-header output {
|
|
font-size: var(--lvg-fs-10-5);
|
|
}
|
|
|
|
.lvg-param-header strong {
|
|
color: var(--lvg-live-text);
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.lvg-param-header output {
|
|
color: var(--lvg-live-text-dim);
|
|
font-family: var(--lvg-live-mono);
|
|
}
|
|
|
|
.lvg-param input[type="range"] {
|
|
width: 100%;
|
|
accent-color: var(--lvg-live-brand);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-param-steps {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 1px;
|
|
padding: 2px;
|
|
background: var(--lvg-live-hairline);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.lvg-param-steps button {
|
|
padding: 5px 4px;
|
|
color: var(--lvg-live-text);
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 3px;
|
|
font-size: var(--lvg-fs-10-5);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-param-steps button[aria-pressed="true"] {
|
|
color: oklch(98% 0 0);
|
|
background: var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-param-toggle {
|
|
position: relative;
|
|
width: 36px;
|
|
height: 20px;
|
|
padding: 0;
|
|
align-self: flex-start;
|
|
background: var(--lvg-live-hairline);
|
|
border: 0;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-param-toggle::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
width: 16px;
|
|
height: 16px;
|
|
background: oklch(98% 0 0);
|
|
border-radius: 50%;
|
|
box-shadow: 0 1px 2px oklch(0% 0 0 / 0.2);
|
|
transition: left 180ms var(--lvg-live-ease);
|
|
}
|
|
|
|
.lvg-param-toggle[aria-pressed="true"] {
|
|
background: var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-param-toggle[aria-pressed="true"]::after {
|
|
left: 18px;
|
|
}
|
|
|
|
.lvg-status-row {
|
|
gap: 8px;
|
|
padding: 2px 8px;
|
|
}
|
|
|
|
.lvg-spinner {
|
|
width: 14px;
|
|
height: 14px;
|
|
flex-shrink: 0;
|
|
border: 2px solid var(--lvg-live-hairline);
|
|
border-top-color: var(--lvg-live-brand);
|
|
border-radius: 50%;
|
|
animation: lvg-spin 600ms linear infinite;
|
|
}
|
|
|
|
.lvg-status-row span:last-child {
|
|
color: var(--lvg-live-text-dim);
|
|
font-size: var(--lvg-fs-12);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.lvg-live-context.is-confirmed {
|
|
background: var(--lvg-live-success-surface);
|
|
border-color: oklch(75% 0.12 145 / 0.4);
|
|
}
|
|
|
|
.lvg-live-context.is-confirmed .lvg-status-row span:first-child {
|
|
color: var(--lvg-live-success);
|
|
font-size: var(--lvg-fs-15);
|
|
}
|
|
|
|
.lvg-live-context.is-confirmed .lvg-status-row span:last-child {
|
|
color: oklch(49% 0.08 188);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.lvg-annotation-layer {
|
|
position: absolute;
|
|
top: 70px;
|
|
left: 26px;
|
|
z-index: 7;
|
|
width: min(25.25rem, calc(100% - 52px));
|
|
height: 150px;
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.lvg-annotation-layer svg {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: visible;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.lvg-annotation-layer path {
|
|
fill: none;
|
|
stroke: var(--lvg-live-brand);
|
|
stroke-width: 3;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.lvg-annotation-clear {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
padding: 5px 12px;
|
|
color: oklch(99% 0 0);
|
|
background: var(--lvg-live-ink);
|
|
border: 0;
|
|
border-radius: 999px;
|
|
box-shadow: 0 1px 3px oklch(0% 0 0 / 0.2);
|
|
font-size: var(--lvg-fs-10);
|
|
font-weight: 500;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-annotation-pin {
|
|
position: absolute;
|
|
top: 60px;
|
|
left: 155px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
}
|
|
|
|
.lvg-annotation-pin::before {
|
|
content: '';
|
|
width: 14px;
|
|
height: 14px;
|
|
flex-shrink: 0;
|
|
background: var(--lvg-live-brand);
|
|
border: 2px solid oklch(99% 0 0);
|
|
border-radius: 50%;
|
|
box-shadow: 0 1px 3px oklch(0% 0 0 / 0.25);
|
|
}
|
|
|
|
.lvg-annotation-pin span {
|
|
max-width: 220px;
|
|
margin-top: -2px;
|
|
padding: 4px 8px;
|
|
color: oklch(99% 0 0);
|
|
background: var(--lvg-live-ink);
|
|
border-radius: 3px;
|
|
font-size: var(--lvg-fs-12);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.lvg-insert-placeholder {
|
|
position: absolute;
|
|
top: 86px;
|
|
left: 28px;
|
|
width: min(25rem, calc(100% - 56px));
|
|
height: 92px;
|
|
background: transparent;
|
|
border: 2px dotted var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-insert-placeholder::before,
|
|
.lvg-insert-placeholder::after {
|
|
content: '';
|
|
position: absolute;
|
|
background: var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-insert-placeholder::before {
|
|
top: 50%;
|
|
left: -5px;
|
|
width: 10px;
|
|
height: 2px;
|
|
}
|
|
|
|
.lvg-insert-placeholder::after {
|
|
top: -5px;
|
|
left: 50%;
|
|
width: 2px;
|
|
height: 10px;
|
|
}
|
|
|
|
.lvg-live-global {
|
|
position: absolute;
|
|
bottom: 14px;
|
|
left: 50%;
|
|
z-index: 20;
|
|
display: flex;
|
|
width: max-content;
|
|
max-width: calc(100% - 16px);
|
|
align-items: stretch;
|
|
color: var(--lvg-live-text);
|
|
background: var(--lvg-live-ink);
|
|
border: 1px solid var(--lvg-live-border);
|
|
border-radius: 8px;
|
|
box-shadow: var(--lvg-live-shadow);
|
|
overflow: hidden;
|
|
transform: translateX(-50%);
|
|
font-family: var(--lvg-live-font);
|
|
font-size: var(--lvg-fs-12);
|
|
line-height: 1;
|
|
}
|
|
|
|
.lvg-live-brand {
|
|
position: relative;
|
|
display: inline-flex;
|
|
padding: 0 6px 0 14px;
|
|
align-items: center;
|
|
align-self: stretch;
|
|
justify-content: center;
|
|
color: var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-live-brand[data-connected="false"] {
|
|
color: oklch(62% 0 0 / 0.78);
|
|
}
|
|
|
|
.lvg-agent-dot {
|
|
position: absolute;
|
|
right: 4px;
|
|
bottom: 7px;
|
|
width: 6px;
|
|
height: 6px;
|
|
background: oklch(77% 0.13 82);
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 2px var(--lvg-live-ink);
|
|
animation: lvg-agent-dot 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
.lvg-global-inner {
|
|
display: flex;
|
|
padding: 4px 5px 4px 2px;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.lvg-global-mode {
|
|
display: inline-flex;
|
|
min-width: 30px;
|
|
padding: 6px 8px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
color: var(--lvg-live-text-dim);
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
font-size: var(--lvg-fs-11-5);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-global-mode:hover {
|
|
color: var(--lvg-live-text);
|
|
}
|
|
|
|
.lvg-global-mode[data-active="true"] {
|
|
color: var(--lvg-live-brand);
|
|
background: var(--lvg-live-toggle);
|
|
}
|
|
|
|
.lvg-global-mode svg {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.lvg-design-mark {
|
|
display: inline-grid;
|
|
width: 14px;
|
|
height: 14px;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: 1fr 1fr;
|
|
flex-shrink: 0;
|
|
overflow: hidden;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 0 0 1px var(--lvg-live-border);
|
|
}
|
|
|
|
.lvg-design-mark i:nth-child(1) { background: var(--lvg-live-brand); }
|
|
.lvg-design-mark i:nth-child(2) { background: var(--lvg-live-patina); }
|
|
.lvg-design-mark i:nth-child(3) { background: var(--lvg-live-text); }
|
|
.lvg-design-mark i:nth-child(4) { background: oklch(34% 0 0); }
|
|
|
|
.lvg-detect-badge {
|
|
display: inline-flex;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
padding: 0 5px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--lvg-live-ink);
|
|
background: var(--lvg-live-brand);
|
|
border-radius: 7px;
|
|
font-family: var(--lvg-live-mono);
|
|
font-size: var(--lvg-fs-10);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.lvg-steer {
|
|
display: inline-flex;
|
|
width: 104px;
|
|
height: 28px;
|
|
margin: 0 4px 0 6px;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
color: var(--lvg-live-text-dim);
|
|
background: var(--lvg-live-chat);
|
|
border: 1px solid transparent;
|
|
border-radius: 7px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-steer[data-expanded="true"] {
|
|
width: min(280px, 40vw);
|
|
}
|
|
|
|
.lvg-steer[data-processing="true"] {
|
|
border-color: var(--lvg-live-patina-soft);
|
|
animation: lvg-steer-processing 1.6s ease-in-out infinite;
|
|
}
|
|
|
|
.lvg-steer-icon,
|
|
.lvg-steer-voice {
|
|
display: inline-flex;
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--lvg-live-text-dim);
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.lvg-steer-voice {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-steer-hint {
|
|
flex: 1;
|
|
min-width: 0;
|
|
font-size: var(--lvg-fs-11-5);
|
|
font-weight: 500;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-steer input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 0 6px;
|
|
color: var(--lvg-live-text);
|
|
caret-color: var(--lvg-live-brand);
|
|
background: transparent;
|
|
border: 0;
|
|
outline: 0;
|
|
font-size: var(--lvg-fs-11-5);
|
|
}
|
|
|
|
.lvg-steer input::placeholder {
|
|
color: var(--lvg-live-text-dim);
|
|
opacity: 1;
|
|
}
|
|
|
|
.lvg-steer-dots {
|
|
display: inline-flex;
|
|
flex: 1;
|
|
padding: 0 12px 0 2px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.lvg-steer-dots i {
|
|
width: 4px;
|
|
height: 4px;
|
|
background: var(--lvg-live-patina-pale);
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 6px var(--lvg-live-patina-soft);
|
|
animation: lvg-steer-dot 1.05s ease-in-out infinite;
|
|
}
|
|
|
|
.lvg-steer-dots i:nth-child(2) { animation-delay: 140ms; }
|
|
.lvg-steer-dots i:nth-child(3) { animation-delay: 280ms; }
|
|
|
|
.lvg-global-divider {
|
|
width: 1px;
|
|
height: 18px;
|
|
margin: 0 4px 0 2px;
|
|
background: var(--lvg-live-hairline);
|
|
}
|
|
|
|
.lvg-global-exit {
|
|
display: inline-flex;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--lvg-live-text-dim);
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-agent-tooltip,
|
|
.lvg-live-toast {
|
|
position: absolute;
|
|
left: 50%;
|
|
z-index: 30;
|
|
padding: 6px 9px;
|
|
color: var(--lvg-live-text);
|
|
background: var(--lvg-live-chat);
|
|
border: 1px solid var(--lvg-live-hairline);
|
|
border-radius: 7px;
|
|
box-shadow: var(--lvg-live-shadow);
|
|
transform: translateX(-50%);
|
|
font-size: var(--lvg-fs-11);
|
|
font-weight: 500;
|
|
line-height: 1.35;
|
|
text-align: center;
|
|
}
|
|
|
|
.lvg-agent-tooltip {
|
|
bottom: 63px;
|
|
width: 220px;
|
|
}
|
|
|
|
.lvg-live-toast {
|
|
bottom: 66px;
|
|
max-width: min(420px, calc(100% - 32px));
|
|
padding: 8px 16px;
|
|
color: oklch(99% 0 0);
|
|
background: var(--lvg-live-ink);
|
|
border: 0;
|
|
font-size: var(--lvg-fs-12);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.lvg-pending-dock {
|
|
position: absolute;
|
|
bottom: 58px;
|
|
left: 50%;
|
|
z-index: 25;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transform: translateX(-50%);
|
|
font-family: var(--lvg-live-font);
|
|
}
|
|
|
|
.lvg-pending-pill,
|
|
.lvg-pending-decision {
|
|
display: inline-flex;
|
|
height: 30px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 999px;
|
|
font-size: var(--lvg-fs-12);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.lvg-pending-pill {
|
|
gap: 8px;
|
|
padding: 7px 12px 7px 14px;
|
|
color: var(--lvg-live-ink);
|
|
background: var(--lvg-live-brand);
|
|
border: 0;
|
|
box-shadow: 0 4px 16px oklch(0% 0 0 / 0.16), 0 1px 3px oklch(0% 0 0 / 0.1);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-pending-pill[aria-busy="true"] {
|
|
cursor: wait;
|
|
filter: brightness(0.98);
|
|
}
|
|
|
|
.lvg-pending-count {
|
|
display: inline-flex;
|
|
min-width: 17px;
|
|
height: 17px;
|
|
padding: 0 5px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: oklch(4% 0.004 95 / 0.18);
|
|
border-radius: 999px;
|
|
font-family: var(--lvg-live-mono);
|
|
font-size: var(--lvg-fs-10);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.lvg-pending-spinner {
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 2px solid currentColor;
|
|
border-top-color: transparent;
|
|
border-radius: 50%;
|
|
animation: lvg-spin 600ms linear infinite;
|
|
}
|
|
|
|
.lvg-pending-trash {
|
|
display: inline-flex;
|
|
width: 30px;
|
|
height: 30px;
|
|
padding: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--lvg-live-text-dim);
|
|
background: var(--lvg-live-chat);
|
|
border: 1px solid var(--lvg-live-hairline);
|
|
border-radius: 50%;
|
|
box-shadow: 0 4px 16px oklch(0% 0 0 / 0.12), 0 1px 3px oklch(0% 0 0 / 0.08);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-pending-decision {
|
|
padding: 0 12px;
|
|
color: var(--lvg-live-text-dim);
|
|
background: var(--lvg-live-chat);
|
|
border: 1px solid var(--lvg-live-hairline);
|
|
box-shadow: 0 4px 16px oklch(0% 0 0 / 0.12), 0 1px 3px oklch(0% 0 0 / 0.08);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-pending-decision.is-primary {
|
|
color: var(--lvg-live-ink);
|
|
background: var(--lvg-live-brand);
|
|
border-color: var(--lvg-live-brand);
|
|
}
|
|
|
|
.lvg-design-panel {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
bottom: 72px;
|
|
z-index: 22;
|
|
display: flex;
|
|
width: min(440px, calc(100% - 24px));
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
color: oklch(15% 0 0);
|
|
background: var(--lvg-live-ink);
|
|
border: 1.5px solid var(--lvg-live-border);
|
|
border-radius: 14px;
|
|
box-shadow: var(--lvg-live-shadow);
|
|
}
|
|
|
|
.lvg-design-header {
|
|
display: flex;
|
|
padding: 10px 10px 10px 14px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: var(--lvg-live-text);
|
|
border-bottom: 1px solid var(--lvg-live-hairline);
|
|
}
|
|
|
|
.lvg-design-title {
|
|
flex: 1;
|
|
font-family: var(--lvg-live-mono);
|
|
font-size: var(--lvg-fs-11-5);
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.lvg-design-tabs {
|
|
display: inline-flex;
|
|
padding: 2px;
|
|
gap: 2px;
|
|
background: var(--lvg-live-hairline);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.lvg-design-tabs button {
|
|
padding: 4px 10px;
|
|
color: var(--lvg-live-text-dim);
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 5px;
|
|
font-family: var(--lvg-live-mono);
|
|
font-size: var(--lvg-fs-10);
|
|
font-weight: 600;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-design-tabs button[aria-selected="true"] {
|
|
color: var(--lvg-live-text);
|
|
background: var(--lvg-live-ink);
|
|
}
|
|
|
|
.lvg-design-close {
|
|
display: inline-flex;
|
|
width: 26px;
|
|
height: 26px;
|
|
padding: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--lvg-live-text-dim);
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lvg-design-body {
|
|
flex: 1;
|
|
padding: 12px 12px 20px;
|
|
overflow-y: auto;
|
|
background: oklch(94% 0 0);
|
|
}
|
|
|
|
.lvg-design-tile {
|
|
margin: 0 4px 10px;
|
|
padding: 16px;
|
|
background: oklch(98.5% 0 0);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.lvg-design-meta {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
color: oklch(55% 0 0);
|
|
font-family: var(--lvg-live-mono);
|
|
font-size: var(--lvg-fs-10);
|
|
font-weight: 500;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.lvg-design-meta strong {
|
|
color: oklch(15% 0 0);
|
|
font-family: var(--lvg-live-font);
|
|
font-size: var(--lvg-fs-12);
|
|
letter-spacing: 0.05em;
|
|
text-transform: none;
|
|
}
|
|
|
|
.lvg-design-swatch {
|
|
height: 72px;
|
|
margin-top: 10px;
|
|
background: linear-gradient(135deg, var(--lvg-live-brand), oklch(61% 0.085 78));
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.lvg-design-type {
|
|
margin: 8px 0 4px;
|
|
color: oklch(15% 0 0);
|
|
font-family: var(--ks-font-display);
|
|
font-size: var(--ks-type-headline-size);
|
|
font-weight: 300;
|
|
line-height: 0.95;
|
|
}
|
|
|
|
.lvg-design-copy {
|
|
margin: 6px 0 0;
|
|
color: oklch(35% 0 0);
|
|
font-size: var(--lvg-fs-11-5);
|
|
line-height: 1.45;
|
|
}
|
|
|
|
@keyframes lvg-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
@keyframes lvg-voice-pulse {
|
|
0%, 100% { opacity: 0.55; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
@keyframes lvg-agent-dot {
|
|
0%, 100% { opacity: 0.45; transform: scale(0.9); }
|
|
50% { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
@keyframes lvg-steer-processing {
|
|
0%, 100% { border-color: var(--lvg-live-patina-soft); box-shadow: 0 0 0 0 transparent; }
|
|
50% { border-color: oklch(82% 0.07 188 / 0.55); box-shadow: 0 0 14px oklch(70% 0.12 188 / 0.18); }
|
|
}
|
|
|
|
@keyframes lvg-steer-dot {
|
|
0%, 70%, 100% { opacity: 0.28; transform: scale(0.82); }
|
|
35% { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
@container live-ui-preview (max-width: 540px) {
|
|
.lvg-global-mode span:not(.lvg-design-mark):not(.lvg-detect-badge) {
|
|
display: none;
|
|
}
|
|
|
|
.lvg-live-brand {
|
|
padding-left: 9px;
|
|
}
|
|
|
|
.lvg-steer {
|
|
width: 88px;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.lvg-steer[data-expanded="true"] {
|
|
width: min(230px, 42cqi);
|
|
}
|
|
|
|
.lvg-tune-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.lvg-arrival-progress {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@container live-ui-gallery (max-width: 680px) {
|
|
.live-ui-gallery__header {
|
|
grid-template-areas:
|
|
'readout'
|
|
'controls'
|
|
'states';
|
|
grid-template-rows: 30px 36px 40px;
|
|
grid-template-columns: 1fr;
|
|
min-height: 107px;
|
|
}
|
|
|
|
.live-ui-gallery__previews {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: repeat(2, minmax(340px, 1fr));
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
|
|
@container live-ui-preview (max-width: 390px) {
|
|
.lvg-host-page {
|
|
padding-inline: 18px;
|
|
background-position: 18px 0;
|
|
}
|
|
|
|
.lvg-selection-outline,
|
|
.lvg-annotation-layer {
|
|
left: 16px;
|
|
width: calc(100% - 32px);
|
|
}
|
|
|
|
.lvg-insert-placeholder {
|
|
left: 18px;
|
|
width: calc(100% - 36px);
|
|
}
|
|
|
|
.lvg-configure-modifiers {
|
|
padding-inline: 7px;
|
|
gap: 6px;
|
|
}
|
|
|
|
.lvg-configure-modifier:first-child {
|
|
max-width: 4.5rem;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.lvg-cycling-row {
|
|
gap: 4px;
|
|
}
|
|
|
|
.lvg-tune-button span:not(.lvg-tune-badge) {
|
|
display: none;
|
|
}
|
|
|
|
.lvg-accept {
|
|
padding-inline: 10px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.live-ui-gallery *,
|
|
.live-ui-gallery *::before,
|
|
.live-ui-gallery *::after {
|
|
scroll-behavior: auto !important;
|
|
animation-duration: 1ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 1ms !important;
|
|
}
|
|
}
|