| /* Turn-scoped interactions take over the composer's in-flow slot so the |
| conversation and any live browser remain visible while Maka waits. */ |
| .maka-composer-interaction-slot { |
| display: contents; |
| } |
| |
| .maka-sandbox-boundary-prompt-inner { |
| display: grid; |
| gap: var(--space-3); |
| padding: var(--space-3) var(--space-4); |
| } |
| |
| .maka-sandbox-boundary-copy h2, |
| .maka-sandbox-boundary-copy p { |
| margin: 0; |
| } |
| |
| .maka-sandbox-boundary-copy h2 { |
| font: var(--maka-text-heading-4); |
| color: var(--text-primary); |
| } |
| |
| .maka-sandbox-boundary-copy p { |
| font: var(--maka-text-supporting); |
| margin-top: var(--space-1); |
| color: var(--text-secondary); |
| } |
| |
| .maka-sandbox-boundary-scopes { |
| display: grid; |
| gap: var(--space-1); |
| max-height: min(208px, 40vh); |
| margin: 0; |
| padding: 0; |
| overflow-y: auto; |
| list-style: none; |
| } |
| |
| .maka-sandbox-boundary-scopes li { |
| font: var(--maka-text-supporting); |
| display: flex; |
| min-width: 0; |
| align-items: baseline; |
| justify-content: space-between; |
| gap: var(--space-3); |
| color: var(--text-secondary); |
| } |
| |
| .maka-sandbox-boundary-scopes code { |
| min-width: 0; |
| color: var(--text-primary); |
| overflow-wrap: anywhere; |
| white-space: normal; |
| } |
| |
| .maka-sandbox-boundary-scopes span { |
| flex: none; |
| color: var(--text-tertiary); |
| } |
| |
| .maka-sandbox-boundary-actions { |
| display: flex; |
| justify-content: flex-end; |
| gap: var(--space-2); |
| } |
| |
| .maka-composer-interaction { |
| width: 100%; |
| } |
| |
| .maka-composer-interaction-inner { |
| width: min(var(--maka-chat-measure), 100%); |
| box-sizing: border-box; |
| display: grid; |
| gap: var(--space-2); |
| margin: 0 auto; |
| padding: var(--space-2-5); |
| overflow: hidden; |
| border: var(--border-width-hairline) solid var(--border); |
| border-radius: var(--radius-surface); |
| background: var(--background); |
| box-shadow: 0 0 0 1px oklch(from var(--foreground) l c h / var(--composer-ring-alpha, 0.035)); |
| container-type: inline-size; |
| } |
| |
| .maka-question-progress { |
| font: var(--maka-text-supporting); |
| flex: 0 0 auto; |
| color: var(--muted-foreground); |
| font-variant-numeric: tabular-nums; |
| white-space: nowrap; |
| } |
| |
| .maka-question-options { |
| display: grid; |
| gap: var(--space-1-5); |
| } |
| |
| .maka-question-other-answer { |
| width: 100%; |
| min-width: 0; |
| } |
| |
| .maka-interaction-actions.maka-question-actions { |
| display: grid; |
| grid-template-columns: auto auto minmax(0, 1fr) auto; |
| } |
| |
| .maka-question-submit { |
| grid-column: 4; |
| } |
| |
| .maka-interaction-header { |
| min-width: 0; |
| } |
| |
| .maka-interaction-title-row { |
| min-width: 0; |
| display: flex; |
| align-items: baseline; |
| justify-content: space-between; |
| gap: var(--space-2); |
| } |
| |
| .maka-interaction-title { |
| font: var(--maka-text-heading-3); |
| min-width: 0; |
| margin: 0; |
| color: var(--foreground); |
| } |
| |
| .maka-interaction-actions { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| gap: var(--space-2); |
| padding-top: var(--space-1-5); |
| border-top: var(--border-width-hairline) solid var(--border); |
| } |
| |
| @container (max-width: 460px) { |
| .maka-interaction-actions { |
| align-items: flex-start; |
| flex-direction: column; |
| } |
| |
| .maka-interaction-actions.maka-question-actions { |
| grid-template-columns: repeat(3, minmax(0, 1fr)); |
| flex-direction: initial; |
| } |
| |
| .maka-question-actions > button { |
| width: 100%; |
| } |
| |
| .maka-question-submit { |
| grid-column: auto; |
| } |
| } |