loopable / web /src /styles /wave44 /voice-agent.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
a9ca0aa verified
Raw History Blame Contribute Delete
6.78 kB
/* Voice properties. Provider controls and raw-number surfaces deliberately do not exist here. */
.voice-agent-properties {
min-width: 0;
overflow: auto;
padding: 24px;
color: var(--lp-ink);
}
.voice-agent-heading,
.voice-agent-section-head,
.voice-agent-save-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.voice-agent-heading {
padding-bottom: 16px;
border-bottom: 1px solid var(--lp-line);
}
.voice-agent-eyebrow {
margin: 0 0 4px;
color: var(--lp-muted);
font-size: var(--lp-fs-2xs);
font-weight: 600;
}
.voice-agent-heading h1,
.voice-agent-section h2 {
margin: 0;
font-size: var(--lp-fs-md);
font-weight: 600;
}
.voice-agent-status,
.voice-agent-harness-state,
.voice-agent-section-state {
flex: 0 0 auto;
border-radius: var(--lp-r-pill);
padding: 4px 8px;
background: var(--lp-yellow-tint);
color: var(--lp-yellow-deep);
font-size: var(--lp-fs-2xs);
font-weight: 600;
}
.voice-agent-status.is-ready {
background: var(--lp-green-tint);
color: var(--lp-green-deep);
}
.voice-agent-section-state {
background: var(--lp-surface-2);
color: var(--lp-muted);
}
.voice-agent-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
margin-top: 16px;
}
.voice-agent-section {
min-width: 0;
margin-top: 16px;
padding: 16px;
border: 1px solid var(--lp-line);
border-radius: var(--lp-r-md);
background: var(--lp-surface);
}
.voice-agent-grid .voice-agent-section { margin-top: 0; }
.voice-agent-details {
display: grid;
gap: 10px;
margin: 16px 0;
}
.voice-agent-details div {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 16px;
}
.voice-agent-details dt,
.voice-agent-note {
color: var(--lp-muted);
font-size: var(--lp-fs-xs);
}
.voice-agent-details dd {
min-width: 0;
margin: 0;
overflow-wrap: anywhere;
text-align: right;
font-size: var(--lp-fs-sm);
}
.voice-agent-note {
margin: 8px 0 0;
line-height: 1.5;
}
.voice-agent-reasons {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 0 0 16px;
padding: 0;
list-style: none;
}
.voice-agent-reasons li {
border-radius: var(--lp-r-pill);
padding: 4px 8px;
background: var(--lp-surface-2);
color: var(--lp-muted);
font-size: var(--lp-fs-2xs);
}
.voice-agent-disabled-control,
.voice-agent-save,
.voice-agent-harness-submit {
border: 0;
background: transparent;
font: inherit;
color: inherit;
border-radius: var(--lp-r-md);
font-size: var(--lp-fs-xs);
font-weight: 600;
}
.voice-agent-disabled-control {
padding: 0;
color: var(--lp-muted);
cursor: not-allowed;
opacity: 0.7;
}
.voice-agent-config-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-top: 16px;
}
.voice-agent-field,
.voice-agent-harness-fields label {
display: grid;
align-content: start;
gap: 6px;
color: var(--lp-muted);
font-size: var(--lp-fs-2xs);
font-weight: 600;
}
.voice-agent-field-note {
color: var(--lp-muted);
font-size: var(--lp-fs-2xs);
font-weight: 400;
}
.voice-agent-field.is-wide { grid-column: 1 / -1; }
.voice-agent-field input,
.voice-agent-field select,
.voice-agent-field textarea,
.voice-agent-revision output,
.voice-agent-harness-fields input,
.voice-agent-harness-fields select {
box-sizing: border-box;
min-width: 0;
min-height: 36px;
border: 1px solid var(--lp-line);
border-radius: var(--lp-r-sm);
outline: 0;
padding: 0 10px;
background: var(--lp-surface);
color: var(--lp-ink);
font: inherit;
font-size: var(--lp-fs-xs);
font-weight: 400;
}
.voice-agent-field textarea {
min-height: 72px;
padding-block: 8px;
resize: vertical;
line-height: 1.45;
}
.voice-agent-revision output {
display: flex;
align-items: center;
background: var(--lp-surface-2);
font-variant-numeric: tabular-nums;
}
.voice-agent-field input:focus,
.voice-agent-field select:focus,
.voice-agent-field textarea:focus,
.voice-agent-harness-fields input:focus,
.voice-agent-harness-fields select:focus {
border-color: var(--lp-blue-deep);
outline: 2px solid var(--lp-blue-tint);
outline-offset: 1px;
}
.voice-agent-field input:disabled,
.voice-agent-field select:disabled,
.voice-agent-field textarea:disabled,
.voice-agent-harness-fields input:disabled,
.voice-agent-harness-fields select:disabled {
cursor: not-allowed;
opacity: 0.55;
}
.voice-agent-save-row {
justify-content: flex-start;
margin-top: 16px;
}
.voice-agent-save,
.voice-agent-harness-submit {
padding: 8px 12px;
background: var(--lp-primary);
color: var(--lp-surface);
cursor: pointer;
transition: transform 120ms ease-out, opacity 120ms ease-out;
}
.voice-agent-save:disabled,
.voice-agent-harness-submit:disabled {
cursor: not-allowed;
opacity: 0.55;
}
.voice-agent-save-state {
min-height: 1lh;
color: var(--lp-muted);
font-size: var(--lp-fs-xs);
}
.voice-agent-contact {
margin: 16px 0 0;
padding: 10px;
border-radius: var(--lp-r-sm);
background: var(--lp-yellow-tint);
color: var(--lp-yellow-deep);
font-size: var(--lp-fs-xs);
}
.voice-agent-number { font-variant-numeric: tabular-nums; }
.voice-agent-harness-fields {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
margin-top: 16px;
}
.voice-agent-harness-submit { margin-top: 16px; }
.voice-agent-save:focus-visible,
.voice-agent-harness-submit:focus-visible,
.voice-agent-disabled-control:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: 2px;
}
.voice-agent-result {
margin: 12px 0 0;
color: var(--lp-green-deep);
font-size: var(--lp-fs-xs);
}
.voice-agent-result.is-error,
.voice-agent-save-state.is-error { color: var(--lp-red-deep); }
.voice-agent-save-state.is-saved { color: var(--lp-green-deep); }
@media (hover: hover) and (pointer: fine) {
.voice-agent-save:not(:disabled):hover,
.voice-agent-harness-submit:not(:disabled):hover { opacity: 0.9; }
}
.voice-agent-save:not(:disabled):active,
.voice-agent-harness-submit:not(:disabled):active { transform: scale(0.97); }
/* W44 QA: the live save receipt shares the ordinary automation header action row with Run now. */
.auto-run-control {
display: inline-flex;
align-items: center;
gap: 8px;
}
.auto-save-receipt { align-self: center; }
@media (max-width: 760px) {
.voice-agent-grid,
.voice-agent-config-fields,
.voice-agent-harness-fields { grid-template-columns: 1fr; }
.voice-agent-field.is-wide { grid-column: auto; }
.voice-agent-section-head,
.voice-agent-save-row {
align-items: flex-start;
flex-direction: column;
}
}
@media (prefers-reduced-motion: reduce) {
.voice-agent-save,
.voice-agent-harness-submit { transition: none; }
}