:root[data-jig] { --dial-panel-fold-height: auto; --dial-color: var(--color-brand); --dial-color-thumb: var(--color-brand); --dial-color-opaque: var(--color-brand); --jig-width: 360px; --composer-inset: 12px; --composer-min-height: 64px; --composer-press-scale: 0.99; --composer-glow-opacity: 0.4; --composer-glow-spread: 10px; } html[data-jig], [data-jig] body { height: auto; overflow: visible; } [data-jig] body { background: var(--color-ground); } .jig-page { max-width: 67rem; margin: 0 auto; padding: 3rem 2rem 8rem; } .jig-header { max-width: 43rem; margin-bottom: 2rem; } .eyebrow { color: var(--color-text-tertiary); font-size: var(--text-xs); margin-bottom: 1rem; } .jig-header h1 { font-size: var(--text-2xl); line-height: var(--text-2xl--line-height); font-weight: 550; letter-spacing: -0.04em; } .jig-header > p:last-child { margin-top: 0.75rem; color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 1.65; } .jig-page h2 { font-size: var(--text-base); font-weight: 550; } .jig-page h3 { font-size: var(--text-sm); font-weight: 550; } .jig-panel { background: var(--color-page); border-radius: var(--radius-xl); box-shadow: var(--shadow-resting); padding: 1.5rem; } .panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; } .panel-heading p, .gallery-heading p { color: var(--color-text-tertiary); font-size: var(--text-sm); margin-top: 0.375rem; max-width: 32rem; } .panel-heading select { font: inherit; font-size: var(--text-sm); padding: 0.375rem; max-width: 15rem; } .comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0 1.25rem; } .sample { min-width: 0; max-width: var(--jig-width); width: 100%; margin-inline: auto; } .sample h3 { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.375rem; align-items: baseline; } .sample h3 span { font-size: var(--text-xs); font-weight: 400; color: var(--color-text-quaternary); } .chat-context { min-height: 10rem; font-size: var(--text-sm); color: var(--color-chat-body); padding: 1rem 0.75rem; background: var(--color-chat-pane); border-radius: var(--radius-lg); margin-bottom: 0.75rem; } .chat-context p { margin-bottom: 0.75rem; line-height: 1.6; } .chat-context strong { display: block; color: var(--color-text-primary); font-weight: 500; font-size: var(--text-xs); } .agent-example strong { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; } .chopin-mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 1.125rem; height: 1.125rem; color: var(--color-brand); } .chopin-mark[data-circle] { width: 1.5rem; height: 1.5rem; border-radius: var(--radius-full); background: var(--color-brand); color: var(--color-page); } .chopin-mark[data-circle] svg { width: 0.875rem; height: 0.875rem; } .sent-to .chopin-mark, .sent-to .chopin-mark svg { width: 0.75rem; height: 0.75rem; } .composer-preview [data-chat-mention-picker] [aria-label="Planner"]::after { content: ""; display: block; width: 100%; height: 100%; background: var(--color-page); mask: url("../assets/figma/navigation/chopin.svg") center / 65% no-repeat; } .current-chat { height: 8rem; } .current-chat .chat-composer { padding-inline: 0; } .current-chat .chat-transcript { display: none; } .current-chat textarea { outline: none; } .sent-message { border-top: var(--edge-width) solid var(--color-edge); padding-top: 0.5rem; overflow-wrap: anywhere; } .sent-to { display: inline-flex; align-items: center; gap: 0.25rem; margin-left: 0.5rem; color: var(--color-brand); } .jig-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; border-top: var(--edge-width) solid var(--color-edge); padding-top: 1rem; } .jig-footer p { margin-right: auto; font-size: var(--text-xs); color: var(--color-text-tertiary); } #copy-status { font-size: var(--text-xs); color: var(--color-brand); } .copy-output { display: block; width: 100%; min-height: 10rem; margin-top: 0.75rem; padding: 0.75rem; font-size: var(--text-sm); } .copy-output[hidden] { display: none; } .jig-note { font-size: var(--text-xs); color: var(--color-text-tertiary); line-height: 1.65; margin-top: 1rem; } .jig-plan { padding: 2rem 1.5rem; } .plan-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1rem; } .plan-columns h3 { margin-bottom: 0.5rem; } .plan-columns p, .jig-plan li { font-size: var(--text-sm); line-height: 1.65; color: var(--color-text-secondary); } .jig-plan ol { list-style: decimal; padding-left: 1.1rem; margin-top: 1rem; } .gallery-heading { margin: 1rem 0 1.25rem; } .state-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .state-card { background: var(--color-page); padding: 1.25rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-resting); } .state-card > header { display: flex; gap: 0.75rem; min-height: 5rem; margin-bottom: 1rem; } .state-number { color: var(--color-text-quaternary); font-size: var(--text-xs); font-variant-numeric: tabular-nums; padding-top: 0.125rem; } .state-card header p { font-size: var(--text-xs); line-height: 1.6; color: var(--color-text-tertiary); margin-top: 0.25rem; } .state-card .composer-preview { max-width: var(--jig-width); margin-inline: auto; } .composer-preview { min-width: 0; } .composer-preview[data-picker] { padding-top: 8rem; } .composer-surface { position: relative; isolation: isolate; border-radius: var(--radius-lg); } .composer-surface::before { content: ""; pointer-events: none; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0; border: var(--edge-width) solid var(--color-brand); box-shadow: 0 0 var(--composer-glow-spread) var(--color-brand); transition: opacity var(--duration-fast) var(--ease-out); } .composer-surface[data-mode="chopin"] { border-color: color-mix(in srgb, var(--color-brand) 55%, var(--color-control-edge)); } .composer-surface[data-mode="chopin"]::before { opacity: var(--composer-glow-opacity); } .composer-surface:focus-within, .composer-surface[data-focus] { outline: var(--edge-width) solid var(--color-brand); outline-offset: 0; } .composer-surface[data-error] { border-color: var(--color-destructive); } .composer-surface[data-error]::before { opacity: 0; } .composer-draft-input { display: block; width: 100%; border: 0; background: transparent; padding: var(--composer-inset); min-height: var(--composer-min-height); max-height: 14rem; font: inherit; font-size: var(--text-sm); line-height: var(--text-sm--line-height); color: var(--color-text-primary); outline: none; overflow-y: auto; white-space: pre-wrap; overflow-wrap: break-word; } .composer-preview [data-chat-reference-picker], .composer-preview [data-chat-mention-picker] { left: calc(-1 * var(--edge-width)); margin-bottom: calc(0.625rem + var(--edge-width)); } .composer-preview [data-chat-mention-picker] [role="option"] { padding-left: 0.25rem; } .composer-preview [data-chat-reference-picker] { right: calc(-1 * var(--edge-width)); box-shadow: var(--shadow-raised); } .composer-picker-status, .composer-reference-menu[data-truncated] [data-chat-reference-picker] [role="status"] { display: flex; align-items: center; gap: 0.5rem; min-height: 2rem; padding: 0.25rem 0.5rem; color: var(--color-text-tertiary); font-size: var(--text-sm); line-height: var(--text-sm--line-height); } .composer-picker-status[data-error] .composer-reference-status-icon { color: var(--color-destructive-ink); } .composer-reference-status-icon { display: inline-flex; flex-shrink: 0; } .composer-reference-menu[data-truncated] [data-chat-reference-picker] p:not(.composer-picker-status)::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='7.25'/%3E%3Cpath d='M9 12.75V8.75H7.75'/%3E%3Ccircle cx='9' cy='5.75' r='1' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat; } .composer-picker-status svg { flex-shrink: 0; } .composer-reference-menu { display: contents; } @keyframes composer-document-picker-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } @media (prefers-reduced-motion: no-preference) { .composer-reference-menu[data-animate] [data-chat-reference-picker] { animation: composer-document-picker-enter var(--dropdown-open-dur) var(--dropdown-ease); } } .composer-preview [data-chat-reference-picker] [role="option"] { min-height: 2rem; padding-block: 0.25rem; gap: 0.5rem; } .composer-preview [data-chat-reference-picker] [role="option"] > :last-child { max-width: 38%; overflow: hidden; text-overflow: ellipsis; } .composer-draft { position: relative; } .composer-draft-input[data-empty]::before { content: attr(data-placeholder); position: absolute; pointer-events: none; color: var(--color-text-quaternary); } .draft-reference { font-weight: 600; color: var(--color-brand); text-decoration: underline; text-decoration-color: var(--color-brand); text-underline-offset: 0.2em; text-decoration-thickness: var(--edge-width); } .composer-draft-input[aria-disabled="true"] { color: var(--color-text-tertiary); } .composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.25rem; padding: 0 0.5rem 0.5rem; } .composer-mode-trigger { display: inline-flex; } .composer-mode { gap: 0.25rem; min-width: 0; height: 1.75rem; padding-inline: 0.375rem; transition: width var(--duration-fast) var(--ease-out), scale var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out); } .composer-mode-symbol { display: inline-flex; align-items: center; justify-content: center; width: 1.125rem; flex-shrink: 0; } .composer-mode-symbol .chopin-mark, .composer-mode-symbol .chopin-mark svg { width: 0.875rem; height: 0.875rem; } .composer-mode-label { display: inline-block; flex-shrink: 0; text-align: left; } @media (prefers-reduced-motion: no-preference) { :root:not([data-motion-input="keyboard"]) .composer-mode:not(:disabled):active { scale: var(--composer-press-scale); } } :root[data-motion-input="keyboard"] .composer-mode, :root[data-motion-input="keyboard"] .composer-surface::before { transition: none; } .composer-mode[aria-pressed="true"] { color: var(--color-brand-ink); } .composer-surface[data-hover] .composer-mode { background: var(--color-hover); } .composer-actions { display: flex; align-items: center; gap: 0.25rem; } .composer-notice { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem var(--composer-inset) 1rem; margin-bottom: -0.5rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--color-inset); color: var(--color-text-secondary); font-size: var(--text-sm); } .composer-notice[data-error] { background: var(--color-danger-surface); color: var(--color-destructive-ink); } .composer-notice > span { flex: 1; } .composer-notice > svg { flex-shrink: 0; } .composer-unavailable { padding: 1.25rem var(--composer-inset); min-height: calc(var(--composer-min-height) + 2.5rem); font-size: var(--text-sm); line-height: 1.6; } .composer-unavailable strong { font-weight: 500; } .composer-unavailable p { color: var(--color-text-tertiary); margin-top: 0.25rem; } .composer-queue-chat { margin-bottom: 0.75rem; border-radius: var(--radius-lg); background: var(--color-chat-pane); } .status-inventory { margin-top: 2rem; } .status-inventory > p { margin: 0.5rem 0 1rem; color: var(--color-text-tertiary); font-size: var(--text-sm); } .status-list { display: grid; gap: 0.5rem; } .status-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 1rem; padding: 0.75rem; background: var(--color-page); border-radius: var(--radius-md); font-size: var(--text-sm); } .status-row p { color: var(--color-text-secondary); } .page-end { margin-top: 2rem; font-size: var(--text-xs); color: var(--color-text-tertiary); max-width: 40rem; } .jig-header kbd { font: inherit; color: var(--color-text-primary); } @media (max-width: 720px) { .jig-page { padding: 1.5rem 1rem 14rem; } .jig-panel { padding: 1rem; } .panel-heading, .comparison { display: flex; flex-direction: column; } .comparison { gap: 1.5rem; } .status-row { grid-template-columns: 1fr; gap: 0.375rem; } .status-row button { justify-self: start; } .state-gallery, .plan-columns { grid-template-columns: 1fr; } .chat-context { min-height: 7rem; } } @media (prefers-reduced-motion: reduce) { .composer-mode, .composer-surface::before { transition: none; } .composer-preview [data-chat-reference-picker] { animation: none; } }