/* Fit OHM's shell into its left-side iframe, with a simple transcript and
   inline controls for the local v2 creation actions. */
html,body{width:100%;height:100%;min-width:0;background:transparent;overflow:hidden}
.widget.panel{position:absolute;inset:0;float:none;width:100%;height:100%;min-height:0;margin:0;transform:none;box-shadow:none}
.widget.minimized{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;border:1px solid #e5e5e5;border-radius:24px;background:#fff;overflow:hidden}
.widget.minimized .ohm-stage{width:100%;height:100%}
.widget:not(.minimized) .ohm-stage{width:min(100%,45vh);align-self:center}
.creator-options{width:95%;max-width:95%;margin-top:2px;position:sticky;bottom:0;z-index:4;background:#fff;flex-shrink:0}
.creator-options.designs-shown{max-height:54%!important}
.creator-options .design-options button{font-size:9px;line-height:1.4;text-align:center;position:relative;padding:5px;border-radius:10px}
.creator-options .design-options button[aria-pressed=true]{border-color:#444;box-shadow:inset 0 0 0 1px #444}
.creator-options .design-options img{aspect-ratio:1;object-fit:contain;border-radius:7px;background:#fafafa}
.creator-options .design-options .selected-design{display:block;font-size:8px;margin-top:3px;color:#777}
.creator-options .option-note{font-size:9px;line-height:1.6;color:#8b8b8b}
.creator-options .inline-summary{font-size:11px;line-height:1.7;color:#666;white-space:pre-wrap;padding:12px;background:#f6f6f4;border:1px solid #e8e8e5;border-radius:12px;max-height:180px;overflow:auto}
.creator-options .inline-summary summary{cursor:pointer;color:#454545;font-weight:500;list-style-position:inside;font-size:11px}
.creator-options .inline-summary p{margin:10px 0 0;white-space:pre-wrap}
.creator-options .plan-choice{display:flex;align-items:center;justify-content:space-between;gap:8px}
.creator-options .plan-choice small{font-size:9px;color:inherit;opacity:.6}
.creator-options button:disabled{cursor:not-allowed}
.creator-options .build-confirmation{display:flex;align-items:flex-start;gap:7px;font-size:10px;color:#777;line-height:1.6;padding:4px 2px}
.creator-options .build-confirmation input{margin:3px 0 0;accent-color:#222;flex-shrink:0}
.creator-options .progress-copy{display:flex;align-items:center;gap:7px;font-size:10px;color:#777;line-height:1.5}
.creator-options .progress-copy::before{content:"";height:5px;width:5px;border-radius:50%;background:#8ca27d;flex-shrink:0}
.creator-options .saved-choice{font-size:10px;color:#777;line-height:1.6}
.widget .bubble.creator-summary{font-size:12px}
@media(max-height:600px){.widget:not(.minimized) .ohm-stage{width:min(100%,40vh)}.widget .bubble{font-size:12px}.widget .creator-options button{font-size:11px;padding:8px 10px}.widget .creator-options .design-options button{padding:4px;font-size:9px}.creator-options .option-note{font-size:8px}}
@media(max-height:470px){.widget:not(.minimized) .ohm-stage{width:min(100%,34vh)}.widget .widget-head{flex-basis:37px;padding-top:9px;padding-bottom:8px}.widget .composer-wrap{flex-basis:58px;padding-bottom:10px}.creator-options.designs-shown{max-height:58%!important}}
.widget .bubble .reference-image{display:block;max-width:100%;max-height:135px;object-fit:contain;border-radius:10px;margin-bottom:7px;background:white}
.creator-options.extended-options{max-height:60%!important}
.design-placeholder{min-width:0;border:1px solid #e5e5e5;border-radius:10px;background:#fafafa;padding:5px;text-align:center}.design-placeholder>span{display:grid;place-items:center;aspect-ratio:1;color:#888;font-size:10px}.design-placeholder small{display:block;font-size:9px;color:#666}.design-placeholder img{display:block;width:100%}.creator-options .design-error{color:#8d4537;font-size:11px;line-height:1.5}
.widget .bubble.design-message{background:#f7f7f5;color:#222;border:1px solid #e5e5e1;width:90%!important;white-space:normal;padding:10px}.design-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:10px}.design-gallery button{min-width:0;padding:4px;border:1px solid #deded9;background:white;border-radius:10px;color:#222}.design-gallery img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:7px}.design-gallery span{display:block;font-size:9px;line-height:1.35;padding:5px 0 2px}
.widget.reviewing-designs .message-row:has(+.message-row>.design-message)>.bubble{max-height:48px!important}
.widget.reviewing-designs .bubble.design-message{max-height:min(330px,60vh)!important}

/* One scroll area: full messages and inline choices stay in document order. */
.widget.simple-chat .conversation{position:relative;overflow-y:auto;overflow-x:hidden;scroll-behavior:auto;overflow-anchor:none;touch-action:pan-y;margin-bottom:0}
.widget.simple-chat .conversation::before{display:none}
.widget.simple-chat .bubble{position:relative;max-height:none!important;overflow:visible;transform:none;scale:1;animation:none;transition:none}
.widget.simple-chat .bubble.user{align-self:flex-end;background:#191919;color:#fff;border:1px solid #191919;border-radius:18px 18px 5px 18px}
.widget.simple-chat .bubble.ohm{align-self:flex-start;background:#f7f7f5;color:#222;border:1px solid #e5e5e1;border-radius:18px 18px 18px 5px}
.widget.simple-chat .creator-options{align-self:flex-start}
.widget.simple-chat .creator-options{position:static;max-height:none!important;overflow:visible}
.widget.simple-chat .inline-summary{max-height:none;overflow:visible}

/* Choices are controls, distinct from the rounded conversation bubbles. */
.widget.simple-chat .creator-options{gap:8px;padding-top:10px;border-top:0}
.widget.simple-chat .creator-options[data-human-redesign]>.option-note{width:100%;flex-basis:100%;font-size:12px;color:inherit}
.widget.simple-chat :is(.creator-options,.design-gallery) button{border:1px solid #c9cdc3;border-radius:8px;background:#fff;color:#30372b;font-weight:500;box-shadow:0 1px 2px #20281808;transition:background .15s,border-color .15s}
.widget.simple-chat .creator-options>button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:10px 12px}
.widget.simple-chat .creator-options>button:not(:disabled)::after{content:'→';font-size:16px;line-height:1;flex-shrink:0;color:#657456}
.widget.simple-chat .creator-options button.primary{background:#eaf0e2;border-color:#adbb9e;color:#33402a}
.widget.simple-chat :is(.creator-options,.design-gallery) button:hover:not(:disabled){background:#f0f4eb;border-color:#879975}
.widget.simple-chat :is(.creator-options,.design-gallery) button[aria-pressed=true]{background:#eaf0e2;border-color:#71865e;box-shadow:inset 0 0 0 1px #71865e}
.widget.simple-chat :is(.creator-options,.design-gallery) button:focus-visible{outline:2px solid #71865e;outline-offset:3px}
.widget.simple-chat :is(.creator-options,.design-gallery) button:disabled{background:#f5f5f2;border-color:#e2e3dc;color:#8a8d83;box-shadow:none}

/* The character-design invitation gets its own gently shifting colour glow. */
.widget.simple-chat .creator-options:has(>.design-create){align-self:stretch;width:100%;max-width:100%;border-top:0;padding-top:0}
.widget.simple-chat .creator-options button.primary.design-create{align-self:flex-start;width:auto;max-width:90%;border-radius:18px 18px 18px 5px}
.widget.simple-chat .creator-options>button.design-create::after{display:none}
.widget.simple-chat .creator-options button.primary.design-create:not(:disabled){
 background:linear-gradient(115deg,#dec9ff,#fbcce4,#ffd6ad,#c7eee4,#dec9ff);
 background-size:300% 300%;border-color:#ffffffa6;color:#30233e;
 font-weight:600;min-height:46px;animation:design-invitation 7s ease-in-out infinite;
 transition:transform .2s,filter .2s;
}
.widget.simple-chat .creator-options button.primary.design-create:not(:disabled)::after{color:#62477a}
.widget.simple-chat .creator-options button.primary.design-create:hover:not(:disabled){transform:translateY(-1px);filter:saturate(1.2)}
.widget.simple-chat .creator-options button.primary.design-create:active:not(:disabled){transform:translateY(0);filter:saturate(1.05)}
.widget.simple-chat .creator-options button.design-create:disabled{animation:none}
@keyframes design-invitation{
 0%,100%{background-position:0% 50%;box-shadow:0 0 12px #b493ef45,0 4px 14px #e9acd630}
 50%{background-position:100% 50%;box-shadow:0 0 18px #efb88b55,0 4px 16px #8cd6c940}
}
.design-preview{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:18px;border:0;border-radius:24px;background:#fafaf7;color:#242621;overflow:hidden}
.design-preview[open]{display:flex;flex-direction:column;gap:14px}
.design-preview::backdrop{background:transparent}
.design-preview header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.design-preview header span{font-size:11px;color:#76796f;white-space:nowrap}
.design-preview button{border:1px solid #d8dcd1;border-radius:10px;background:#fff;color:#343c2b;padding:11px 13px;font-size:12px;font-weight:500;cursor:pointer}
.design-preview button:hover:not(:disabled){background:#edf1e7;border-color:#97a889}
.design-preview header button{border:0;background:transparent;padding:8px 0}
.design-preview h2{font-size:16px;font-weight:500;line-height:1.4;margin:0}
.design-preview-art{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:16px;overflow:hidden}
.design-preview-art img{width:100%;height:100%;object-fit:contain}
.design-preview-art button{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:42px;padding:0;font-size:25px;background:#ffffffed;box-shadow:0 2px 10px #0000000d}
#design-preview-prev{left:6px}#design-preview-next{right:6px}
.design-preview footer{display:grid;gap:8px}
.design-preview footer button{min-height:44px}
#design-preview-select{background:#e5eddc;border-color:#b7c5a7;color:#304026}
.design-preview button:disabled{opacity:.35;cursor:default}
@media(prefers-reduced-motion:reduce){
 .widget.simple-chat .creator-options button.primary.design-create:not(:disabled){animation:none;background-position:50% 50%;box-shadow:0 0 12px #b493ef35;transition:none;transform:none}
}

.widget.simple-chat .creator-options button.primary.design-create.is-generating{background:linear-gradient(115deg,#dec9ff,#fbcce4,#ffd6ad,#c7eee4,#dec9ff);background-size:300% 300%;border-color:#ffffffa6;color:#30233e;opacity:1;min-height:46px;min-width:132px;font-weight:600;cursor:progress;animation:design-invitation 4s ease-in-out infinite;transition:min-width .25s ease}
.widget.simple-chat .design-create.is-generating span{animation:design-loading-label .3s ease-out both}
.widget.simple-chat .design-create.is-generating::before{content:'';width:12px;height:12px;flex-shrink:0;border:2px solid #62477a30;border-top-color:#62477a;border-radius:50%;animation:design-loading-spin 1s linear infinite}
@keyframes design-loading-spin{to{transform:rotate(360deg)}}
@keyframes design-loading-label{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.widget.simple-chat .creator-options button.primary.design-create.is-generating,.widget.simple-chat .design-create.is-generating::before,.widget.simple-chat .design-create.is-generating span{animation:none;transition:none}}

/* Keep portrait character options uncropped in the chat and image chooser. */
.widget.simple-chat .design-gallery img,.widget.simple-chat .creator-options .design-options img{aspect-ratio:9/16;object-fit:contain}

/* Creation, review, and the finished being share the same widget. */
.creator-chat-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.widget.minimized>.creator-chat-panel{display:flex!important;width:100%;height:100%}
.widget.minimized .creator-chat-panel>:not(.ohm-stage){display:none}
.creator-tabs{display:flex;gap:4px;margin:0 16px 8px;padding:3px;background:#f1f2ed;border-radius:12px;flex-shrink:0}
.creator-tabs button{flex:1;min-height:33px;border:0;border-radius:9px;background:transparent;color:#777c70;font-size:11px;font-weight:500}
.creator-tabs button[aria-selected=true]{background:white;color:#242a20;box-shadow:0 1px 4px #00000009}
.creator-flow-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.creator-flow-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 16px 18px;scrollbar-width:thin;scrollbar-color:#ddd transparent}
.creator-flow-content h2{font-size:18px;font-weight:500;margin:2px 0 16px;letter-spacing:-.4px}
.flow-review-group{margin:0 0 12px;border:1px solid #e7e9e1;border-radius:14px;overflow:hidden}
.flow-review-group>summary{padding:13px 12px;font-size:12px;font-weight:500;cursor:pointer;list-style-position:inside;background:#f8f9f5;line-height:1.4}
.flow-review-group h3{font-size:10px;font-weight:500;color:#767d6b;margin:14px 12px 8px}
.flow-review-track{display:flex;flex-direction:column;padding:10px;gap:9px}
.flow-moment{display:flex;align-items:center;gap:11px;min-width:0;width:100%;padding:7px;background:white;border:1px solid #e9ebe5;border-radius:11px;text-align:left;color:#2e3328}
.flow-moment:hover{background:#fafbf8;border-color:#acb89d}
.flow-moment>img{width:58px;aspect-ratio:9/16;object-fit:contain;background:#f8f8f5;border-radius:7px;flex-shrink:0}
.flow-moment-copy{display:flex;flex-direction:column;min-width:0;gap:5px}
.flow-moment-copy strong{font-size:11px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}
.flow-moment-copy small{font-size:9px;color:#8b917f;line-height:1.4}
.flow-moment-copy .flow-connection{color:#8b633a}
.flow-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 10px 12px}
.flow-review-grid .flow-moment{flex-direction:column;align-items:stretch;gap:7px}
.flow-review-grid .flow-moment>img{width:100%;max-height:160px}
.flow-review-grid .flow-moment-copy strong{font-size:10px}
.flow-review-note{font-size:11px;color:#747968;line-height:1.5;margin:0 0 12px}
.creator-flow-actions{display:flex;flex-direction:column-reverse;gap:7px;flex-shrink:0;padding:12px 16px 16px;background:white;box-shadow:0 -5px 18px #00000004}
.creator-flow-actions button,.creator-test-panel>button{min-height:40px;padding:10px 12px;border:1px solid #d8dfcf;border-radius:10px;background:white;font-size:11px;color:#39432e}
.creator-flow-actions button.primary{background:#e9efdf;border-color:#b9c7a8}
.creator-flow-actions button:disabled{opacity:.5;cursor:default}
.flow-moment-preview>p{font-size:12px;line-height:1.6;color:#69715e;margin:0;max-height:22%;overflow:auto;white-space:pre-wrap}
.creator-test-panel{display:flex;flex-direction:column;flex:1;min-height:0;gap:8px;padding:0 8px 12px;overflow:auto;overscroll-behavior:contain}
.creator-test-panel iframe{width:100%;height:auto;aspect-ratio:9/16;flex:none;border:0;background:transparent}
.creator-test-panel>button{margin:0 8px;flex-shrink:0}
.widget.simple-chat .creator-options.build-options{gap:8px;border-top:0;padding-top:0}
.widget.simple-chat .build-options>button:disabled{min-height:28px;padding:5px 10px;font-size:10px}

/* Waiting is shown in OHM's bubble, never by fading the user's message. */
.widget.simple-chat .bubble.user{--message-opacity:1;opacity:1}
.thinking-dots{display:inline-flex;align-items:center;gap:5px;height:18px;min-width:32px}
.thinking-dots i{width:5px;height:5px;border-radius:50%;background:currentColor;animation:ohm-thinking 1.2s ease-in-out infinite}
.thinking-dots i:nth-child(2){animation-delay:.15s}
.thinking-dots i:nth-child(3){animation-delay:.3s}
@keyframes ohm-thinking{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.thinking-dots i{animation:none;opacity:.65}}
.chat-actions[data-retained="true"] button:disabled{opacity:1;cursor:default}
/* A quiet invitation, then a small set of conversational choices. */
.widget.simple-chat .dreamy-welcome{display:flex;flex-direction:column;align-items:flex-start;align-self:flex-start;justify-content:flex-start;text-align:left;width:100%;max-width:100%;padding:0;margin:0;background:none;border:0;box-shadow:none}
.widget.simple-chat .dreamy-welcome .dream-bubble{display:flex;flex-direction:column;gap:7px;align-items:flex-start;text-align:left;box-shadow:none;cursor:pointer}
.widget.dreaming #wake-touch{cursor:pointer}
.widget.dreaming #wake-touch:hover{background:radial-gradient(ellipse,#ede3ff22,transparent 65%)}
.widget.simple-chat .entry-cards{position:relative;bottom:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:transparent;align-self:flex-start;width:100%;max-width:100%;padding:4px 2px 12px}
.widget.simple-chat .entry-cards .entry-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:116px;padding:15px 13px;border-radius:18px;border:1px solid #e8e3dc;background:radial-gradient(ellipse at 50% 0,#fff5d9 0,transparent 70%),linear-gradient(145deg,#fff,#f8f7fb);color:#49434e;box-shadow:0 4px 18px #f0dfbd30;transition:transform .2s,box-shadow .2s,border-color .2s}
.entry-card .entry-icon{font-size:21px;color:#b69b64}.entry-card strong{font-size:12px;font-weight:600}.entry-card small{font-size:10px;line-height:1.4;color:#8a8490}
.widget.simple-chat .entry-cards .entry-card:not(:disabled):hover,.widget.simple-chat .entry-cards .entry-card:focus-visible{transform:translateY(-3px);border-color:#d4bf96;box-shadow:0 7px 25px #e5ce9355}
.widget.simple-chat .entry-cards .entry-card:disabled{opacity:.5;cursor:not-allowed;background:#f7f6f8;box-shadow:none}
@media(prefers-reduced-motion:reduce){.dreamy-welcome .dream-bubble{animation:none}.widget.simple-chat .entry-cards .entry-card{transition:none;transform:none}}
.widget.simple-chat .entry-cards .entry-card.entry-selected:disabled{opacity:1;background:radial-gradient(ellipse at 50% 0,#fff5d9 0,transparent 70%),linear-gradient(145deg,#fff,#f8f7fb);box-shadow:0 5px 22px #e5ce9344}
.bubble.thinking{transform-origin:top left}
/* Reveal conversational choices in reading order, without moving the grid. */
.widget.simple-chat .entry-cards .entry-card{--entry-opacity:1;animation:ohm-card-arrive 380ms cubic-bezier(.2,.7,.2,1) backwards}
.widget.simple-chat .entry-cards .entry-card:disabled{--entry-opacity:.5}
.widget.simple-chat .entry-cards .entry-card:nth-child(2){animation-delay:110ms}
.widget.simple-chat .entry-cards .entry-card:nth-child(3){animation-delay:220ms}
.widget.simple-chat .entry-cards .entry-card:nth-child(4){animation-delay:330ms}
@keyframes ohm-card-arrive{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:var(--entry-opacity);transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.widget.simple-chat .entry-cards .entry-card{animation:none}}

.widget.simple-chat .dreamy-welcome .dream-bubble{background:#fff;align-self:flex-start;text-align:left}

/* Quiet breath-like bubbles rise beside OHM until the opening wake begins. */
.ohm-sleep-bubbles{display:none;position:absolute;inset:0;pointer-events:none;z-index:5}
.widget.dreaming:not(.minimized) .ohm-sleep-bubbles{display:block}
.ohm-sleep-bubbles span{position:absolute;left:64%;top:42%;padding:7px 12px;border:1px solid #e9e7e3;border-radius:15px 15px 15px 4px;background:#ffffffed;color:#96918b;font-size:13px;line-height:1.2;letter-spacing:.03em;box-shadow:0 3px 12px #00000004;opacity:0;animation:ohm-sleep-rise 9s linear infinite;animation-delay:var(--dream-delay)}
@keyframes ohm-sleep-rise{0%{opacity:0;transform:translate(0,10px) scale(.88)}15%{opacity:.85}65%{opacity:.65}100%{opacity:0;transform:translate(16px,-110px) scale(1.04)}}
@media(prefers-reduced-motion:reduce){.ohm-sleep-bubbles span{animation:none;opacity:.75}.ohm-sleep-bubbles span:not(:first-child){display:none}}
.ohm-sleep-bubbles span{max-width:140px;width:max-content;left:52%;white-space:normal;overflow-wrap:break-word}



.widget.simple-chat .creator-options.mascot-choice-row{display:flex;flex-direction:column;width:78%;max-width:78%;padding-top:0;border-top:0}
.widget.simple-chat .mascot-choice-row .entry-card{width:100%;min-width:0}

/* Reveal real rows progressively; JS owns the single entrance animation. */

.widget.simple-chat .entry-cards .entry-card{animation:none}

/* Compact starting choices, at the same text scale as chat bubbles. */
.widget.simple-chat .creator-options.entry-pills{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:8px;width:100%;padding:4px 0 10px;border:0;background:transparent}
.widget.simple-chat .entry-pills .entry-card{display:inline-flex;flex:0 1 auto;flex-direction:row;align-items:center;gap:8px;width:auto;max-width:100%;min-height:0;padding:10px 14px;border-radius:999px;border:1px solid #e6e1d8;background:#faf9f6;box-shadow:none;text-align:left;transition:background .18s,border-color .18s,transform .18s}
.widget.simple-chat .entry-pills .entry-card .entry-icon{font-size:16px;line-height:1;color:#9b875e}
.widget.simple-chat .entry-pills .entry-card strong{font-size:12px;font-weight:500;line-height:1.4;margin:0}
.widget.simple-chat .entry-pills .entry-card::after{display:none}
.widget.simple-chat .entry-pills .entry-card:not(:disabled):hover{background:#f4f0e7;border-color:#cbb992;transform:translateY(-1px);box-shadow:none}

.widget.simple-chat .creator-options>button.website-pill{display:inline-flex;align-self:flex-start;align-items:center;justify-content:flex-start;gap:8px;width:auto;min-height:0;padding:10px 14px;border-radius:999px;border:1px solid #e6e1d8;background:#faf9f6;color:#49434e;font-size:12px;font-weight:500;line-height:1.4;box-shadow:none;transition:background .18s,border-color .18s,transform .18s}
.widget.simple-chat .creator-options>button.website-pill::after{display:none}
.website-pill .entry-icon{font-size:16px;line-height:1;color:#9b875e}
.widget.simple-chat .creator-options>button.website-pill:not(:disabled):hover{background:#f4f0e7;border-color:#cbb992;transform:translateY(-1px)}

/* Shared chat choice layout: content-sized pills that wrap naturally. */
.widget.simple-chat .creator-options,
.widget.simple-chat .creator-options.entry-cards,
.widget.simple-chat .creator-options.mascot-choice-row{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:8px;width:100%;max-width:100%;padding:4px 0 10px;border-top:0;background:transparent}
.widget.simple-chat .creator-options>button:not(:has(img)){
 display:inline-flex;flex:0 1 auto;flex-direction:row;align-items:center;justify-content:flex-start;align-self:flex-start;gap:8px;
 width:auto;max-width:100%;min-width:0;min-height:0;height:auto;padding:10px 14px;
 border:1px solid #e6e1d8;border-radius:999px;background:#faf9f6;color:#49434e;
 font-size:12px;font-weight:500;line-height:1.4;text-align:left;box-shadow:none;
 transition:background .18s,border-color .18s,transform .18s;
}
.widget.simple-chat .creator-options>button:not(:has(img)) strong{font-size:inherit;font-weight:inherit;line-height:inherit;margin:0}
.widget.simple-chat .creator-options>button:not(:has(img)) small{display:none}
.widget.simple-chat .creator-options>button:not(:has(img))::after{display:none}
.widget.simple-chat .creator-options>button:not(:has(img)) .entry-icon{font-size:16px;line-height:1;color:#9b875e}
.widget.simple-chat .creator-options>button:not(:has(img)):not(:disabled):hover{background:#f4f0e7;border-color:#cbb992;transform:translateY(-1px);box-shadow:none}
.widget.simple-chat .creator-options>button:disabled{opacity:.45}
/* Keep the generation invitation's established glow, within the same pill shape. */
.widget.simple-chat .creator-options>button.design-create{background:linear-gradient(115deg,#dec9ff,#fbcce4,#ffd6ad,#c7eee4,#dec9ff);background-size:300% 300%;animation:design-invitation 7s ease-in-out infinite}
.widget.simple-chat .creator-options>button:has(img){flex-basis:78%;max-width:78%}
.widget.simple-chat .creator-options>button[data-unavailable]>small{display:inline;font-size:9px;color:#8a8490}
@media(prefers-reduced-motion:reduce){.widget.simple-chat .creator-options>button.design-create{animation:none}}

/* Let the conversation reach into the empty space above OHM, with a soft exit. */
.widget.simple-chat .conversation{margin-bottom:-40px;padding-bottom:28px;z-index:2;mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 24px),transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 24px),transparent 100%)}
.widget.simple-chat .creator-options.mascot-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;padding:6px 0 28px}
.mascot-option{position:relative;min-width:0;display:flex}
.widget.simple-chat .mascot-option>button:first-child{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:105px;padding:12px 10px;border:1px solid #e6e1d8;border-radius:24px;background:#faf9f6;font-size:11px;line-height:1.4;color:#49434e;text-align:left;transition:background .18s,border-color .18s}
.widget.simple-chat .mascot-option>button:first-child:hover{background:#f4f0e7;border-color:#cbb992}
.mascot-option img{width:52px;height:62px;object-fit:contain;flex:none;border-radius:10px}
.widget.simple-chat .mascot-option>.mascot-expand{position:absolute;right:7px;bottom:5px;width:24px;height:24px;padding:0;border:0;background:#fff;border-radius:50%;font-size:18px;color:#777}
.mascot-enlarged{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:20px;border:0;border-radius:24px;background:#fff}
.mascot-enlarged[open]{display:flex;flex-direction:column;gap:15px}
.mascot-enlarged>button{align-self:flex-start;border:1px solid #e6e1d8;border-radius:999px;padding:9px 14px;background:#faf9f6}
.mascot-enlarged img{flex:1;min-height:0;width:100%;object-fit:contain}

/* Give the found character the main space in its selection card. */
.widget.simple-chat .mascot-option>button:first-child{min-height:190px;flex-direction:column;text-align:center;padding:12px 10px 28px;border-radius:28px}
.mascot-option img{width:100%;height:132px;object-fit:contain;border-radius:14px}
.mascot-option>button:first-child>span{display:block;font-size:11px;line-height:1.4}

.widget.simple-chat .mascot-option>button:first-child{align-items:stretch;justify-content:flex-end;text-align:left;gap:8px;padding:12px 12px 16px;min-height:202px}
.mascot-option img{width:90%;height:119px;align-self:center;border-radius:14px;overflow:hidden;object-fit:contain;background:#fff}
.mascot-option>button:first-child>span{min-height:46px;display:flex;align-items:flex-end}
.widget.simple-chat .mascot-option>.mascot-expand{top:8px;right:8px;bottom:auto;width:28px;height:28px;display:grid;place-items:center;border:1px solid #e5e2dc;background:#fffffff2;border-radius:50%;box-shadow:0 2px 6px #00000008}
.mascot-expand svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.widget.simple-chat .mascot-option>.mascot-expand:hover{background:#f4f0e7;color:#49434e}

/* Found-character decision: two balanced preview cards with a shared footer. */
.widget.simple-chat .creator-options.mascot-pair{gap:10px;align-items:stretch;padding:8px 0 28px}
.widget.simple-chat .mascot-pair .mascot-option>button:first-child{display:grid;grid-template-rows:142px minmax(54px,auto);align-items:stretch;justify-content:stretch;gap:0;min-height:0;width:100%;padding:0;overflow:hidden;border-radius:18px;border:1px solid #e7e5df;background:#fff;text-align:left;box-shadow:0 3px 12px #29251c05;transition:border-color .18s,box-shadow .18s,transform .18s}
.widget.simple-chat .mascot-pair .mascot-option>button:first-child:hover{background:#fff;border-color:#b9baa9;box-shadow:0 5px 16px #29251c0d;transform:translateY(-2px)}
.mascot-pair .mascot-option img{display:block;width:100%;height:142px;align-self:stretch;border-radius:0;background:#f8f8f5;object-fit:contain;padding:8px;box-sizing:border-box}
.mascot-pair .mascot-option>button:first-child>.mascot-choice-label{display:flex;align-items:center;min-height:54px;padding:12px;font-size:12px;line-height:1.4;font-weight:500;color:#49483f;border-top:1px solid #eeede8}
.mascot-pair .mascot-option>button:first-child>.mascot-new-art{display:grid;place-items:center;min-height:0;height:142px;padding:0;background:radial-gradient(ellipse at center,#f0eee2, #f8f8f5 72%);border:0}
.mascot-new-art svg{width:38px;height:38px;fill:none;stroke:#a6a38e;stroke-width:1.2;stroke-linecap:round}
.widget.simple-chat .mascot-pair .mascot-option>.mascot-expand{top:9px;right:9px;width:28px;height:28px;background:#ffffffed;border:1px solid #e5e4dc;color:#696a5e;box-shadow:0 2px 5px #00000006;z-index:1}

.mascot-pair .mascot-option img{width:calc(100% - 16px);height:126px;margin:8px; padding:0;border-radius:8px;align-self:center}

/* Fill the found-character preview frame without stretching the image. */
.mascot-pair .mascot-option img{display:block;width:100%;height:142px;margin:0;padding:0;object-fit:cover;object-position:center;border-radius:8px;align-self:stretch}

.mascot-pair .mascot-option img{width:calc(100% - 16px);height:126px;margin:8px;padding:0;object-fit:cover;border-radius:8px;align-self:center}
.mascot-pair .purpose-choice-icon{font-size:38px;font-weight:300;color:#a6a38e}
.mascot-pair .mascot-choice-label small{font-size:9px;font-weight:400;color:#96958d;margin-left:auto;padding-left:5px}

.widget.simple-chat .purpose-choices .mascot-option>button:first-child{grid-template-rows:94px minmax(53px,auto);background:#f8f8f5}
.purpose-choices .mascot-option>button:first-child>.mascot-new-art{height:94px;background:transparent}
.purpose-choices .mascot-option>button:first-child>.mascot-choice-label{border-top:0;background:transparent;min-height:53px}

/* Two quiet, compact purpose cards with a single continuous surface. */
.widget.simple-chat .purpose-choices .mascot-option>button:first-child{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;height:147px;min-height:147px;padding:20px 17px 17px;gap:16px;border-radius:21px;background:linear-gradient(145deg,#fffefa,#f4f3ec);border-color:#e6e3d9;box-shadow:0 3px 10px #29251c04}
.purpose-choices .mascot-option>button:first-child>.mascot-new-art{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:9px;border:1px solid #e7e2d6;border-radius:13px;background:#eeebdf;color:#8b8063}
.purpose-choices .purpose-choice-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.purpose-choices .mascot-option>button:first-child>.mascot-choice-label{display:flex;align-items:center;flex-wrap:wrap;width:100%;gap:6px;min-height:0;padding:0;border:0;background:transparent;font-size:14px;line-height:1.4;font-weight:500;color:#34382f}
.purpose-choices .mascot-choice-label small{margin:0;padding:3px 6px;border-radius:6px;background:#eeeee9;color:#92938b;font-size:8px;line-height:1.3}
.widget.simple-chat .purpose-choices .mascot-option>button:first-child:disabled{opacity:.65;background:#f8f8f5;border-color:#eaeae4;box-shadow:none;cursor:not-allowed}
.widget.simple-chat .purpose-choices .mascot-option>button:first-child:not(:disabled):hover{background:linear-gradient(145deg,#fffdf5,#eeeee3);border-color:#b9bba6;box-shadow:0 5px 16px #29251c09;transform:translateY(-2px)}
.widget .composer-wrap:has(.composer-attachment:not([hidden])){flex-basis:auto}
.composer-attachment{position:relative;align-self:flex-start;width:60px;height:60px;margin:0 0 8px 8px;flex-shrink:0}
.composer-attachment[hidden]{display:none}
.composer-attachment img{width:60px;height:60px;object-fit:cover;border:1px solid #e5e5df;border-radius:10px}
.composer-attachment button{position:absolute;top:-5px;right:-5px;border:1px solid #ddd;border-radius:50%;background:white;width:21px;height:21px;padding:0;font-size:16px;line-height:1}

.widget.simple-chat .creator-options.personality-settings{display:flex;flex-direction:column;gap:14px;padding:16px;width:100%;border:1px solid #e7e5df;border-radius:20px;background:#fafaf7}
.personality-axis{display:flex;flex-direction:column;gap:6px;width:100%}
.personality-endpoints{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#66695c}
.personality-axis input{width:100%;margin:0;accent-color:#8b9678;cursor:ew-resize;min-height:26px;touch-action:pan-x}
.widget.simple-chat .personality-settings>button{align-self:flex-end;background:#edf0e5}

.widget.simple-chat .conversation{scrollbar-width:none}
.widget.simple-chat .conversation::-webkit-scrollbar{display:none}
.chat-scroll-rail{position:absolute;right:4px;top:66px;bottom:78px;width:10px;z-index:8;touch-action:none;cursor:pointer;border-radius:8px}
.chat-scroll-rail[hidden]{display:none}
.chat-scroll-thumb{display:block;position:absolute;top:0;left:3px;width:3px;border-radius:5px;background:#bcbdb580;min-height:30px;pointer-events:auto}
.chat-scroll-rail:hover{background:#a0a0960c}
.chat-scroll-rail:hover .chat-scroll-thumb,.chat-scroll-rail:focus-visible .chat-scroll-thumb{background:#92958b}

/* Reading preferences change layout space, not video playback. */
.widget:not(.minimized) .ohm-stage{width:min(100%,var(--ohm-stage-size,45vh))}
.widget.simple-chat .bubble{font-size:var(--chat-font-size,13px)}
.widget.simple-chat .creator-options button:not(.mascot-expand),
.widget.simple-chat .entry-pills .entry-card strong,
.widget.simple-chat .mascot-choice-label,
.widget.simple-chat .personality-endpoints,
.widget #message{font-size:var(--chat-font-size,13px)}
.reading-settings{position:absolute;right:14px;top:53px;z-index:40;width:220px;padding:16px;background:#fff;border:1px solid #e9e7e1;border-radius:18px;box-shadow:0 10px 35px #26251e1a;display:grid;gap:10px}
.reading-settings label{display:flex;justify-content:space-between;font-size:12px;color:#54564d}
.reading-settings input{width:100%;accent-color:#777f68;margin:0 0 8px;cursor:pointer}
.reading-settings button{justify-self:end;border:0;background:#f2f3ef;border-radius:20px;padding:6px 12px;font-size:11px;color:#53594a;cursor:pointer}
.widget .widget-controls #reading-toggle{font-size:13px;font-weight:600;letter-spacing:-.05em}
.widget.minimized .reading-settings{display:none}
/* Transcript selection excludes interactive choices and other controls. */
.conversation .chat-actions,.conversation .design-gallery{user-select:none;-webkit-user-select:none}
.conversation .bubble{user-select:text;-webkit-user-select:text}

.wake-ripple{position:absolute;z-index:35;width:24px;height:24px;margin:-12px;border:1px solid #bfc5b1;border-radius:50%;background:#e6e9df22;pointer-events:none;animation:wake-ripple-expand 1s ease-out forwards}
@keyframes wake-ripple-expand{from{transform:scale(0);opacity:.65}to{transform:scale(65);opacity:0}}
@media(prefers-reduced-motion:reduce){.wake-ripple{animation:none;width:70px;height:70px;margin:-35px;opacity:.4}}

/* A still preview of the finished portrait widget, not a cropped thumbnail. */
.widget.simple-chat .design-gallery.single-design{grid-template-columns:minmax(0,1fr);gap:0;width:86%;margin-inline:auto}
.widget.simple-chat .design-gallery .design-widget-preview{position:relative;display:block;width:100%;aspect-ratio:9/16;padding:0;overflow:hidden;border:1px solid #e2e3dc;border-radius:20px;background:#fff;container-type:inline-size;box-shadow:0 5px 18px #2222220a;text-align:left}
.widget.simple-chat .design-gallery .design-widget-preview img{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:0}
.widget.simple-chat .design-gallery .design-widget-preview:hover{box-shadow:0 0 0 2px #b6bfaa}
.widget.simple-chat .bubble.design-message{max-height:none!important}
.design-widget-ui{position:absolute;inset:0;display:block!important;pointer-events:none;color:#252723;text-align:left;font-weight:400}
.design-widget-ui span{padding:0;line-height:1.4}
.design-widget-ui .design-widget-heading{position:absolute;top:0;left:0;right:0;padding:5% 7%;background:#ffffffd9;font-size:4.6cqw;font-weight:500;backdrop-filter:blur(8px)}
.design-widget-ui .design-widget-chat{position:absolute;top:13%;left:6%;right:6%;display:flex;flex-direction:column;gap:3cqw}
.design-widget-ui .design-widget-message{max-width:82%;padding:3cqw 4cqw;font-size:4.4cqw;box-shadow:0 2px 8px #00000008}
.design-widget-ui .visitor{align-self:flex-end;background:#191919;color:white;border-radius:5cqw 5cqw 1.5cqw 5cqw}
.design-widget-ui .being{align-self:flex-start;background:#ffffffed;border:1px solid #e6e6e1;border-radius:5cqw 5cqw 5cqw 1.5cqw}
.design-widget-ui .design-widget-composer{position:absolute;bottom:3%;left:5%;right:5%;display:flex;align-items:center;gap:3cqw;padding:2cqw 3cqw;border:1px solid #e6e6e1;border-radius:10cqw;background:#fffffff0;box-shadow:0 2px 10px #00000005}
.design-widget-ui .design-widget-placeholder{flex:1;font-size:4cqw;color:#83857e}
.design-widget-ui .design-widget-plus{font-size:7cqw;color:#999}
.design-widget-ui .design-widget-send{display:grid;place-items:center;width:9cqw;height:9cqw;border-radius:50%;background:#858980;color:white;font-size:6cqw}
#design-preview .widget-design-art{flex:0 1 auto;min-height:0;aspect-ratio:9/16;width:min(100%,calc((100dvh - 200px)*9/16));max-height:calc(100dvh - 200px);align-self:center;container-type:inline-size;border:1px solid #e2e3dc;touch-action:pan-y}
#design-preview .widget-design-art>img{display:block;width:100%;height:100%;object-fit:contain}

.widget:not(.minimized) .ohm-stage{transition:width .65s cubic-bezier(.22,.61,.36,1)}
@media(prefers-reduced-motion:reduce){.widget:not(.minimized) .ohm-stage{transition:none}}

/* The modal lives in the browser's top layer: clip it to the widget shell too. */
#design-preview{box-sizing:border-box;border-radius:24px;clip-path:inset(0 round 24px);background:linear-gradient(160deg,#fafbf8,#f1f3ed);padding:16px 18px 20px;isolation:isolate}
#design-preview::backdrop{background:transparent}
#design-preview .widget-design-art{box-sizing:border-box;flex-shrink:1;border:0;border-radius:24px;overflow:hidden;clip-path:inset(0 round 24px);isolation:isolate;box-shadow:0 0 0 1px #222b1912,0 8px 24px #27321a12}
#design-preview .widget-design-art>img{border-radius:inherit}
#design-preview .widget-design-art>.design-widget-ui{border-radius:inherit;overflow:hidden}

/* Intro methods: quiet icon above a clearly grouped title and explanation. */
.widget.simple-chat .entry-method-cards .mascot-option>button:first-child{height:auto;min-height:164px;padding:16px;justify-content:flex-start;gap:14px}
.entry-method-cards .entry-method-copy{display:flex;flex-direction:column;gap:5px;text-align:left;width:100%}
.entry-method-cards .entry-method-copy .mascot-choice-label{font-size:13px;font-weight:600;line-height:1.3;color:#34382f;min-height:0;padding:0;border:0;background:none}
.entry-method-cards .entry-method-description{font-size:10px;line-height:1.45;font-weight:400;color:#7b7c70;text-wrap:pretty}
.widget.simple-chat .entry-method-cards .mascot-option>button:first-child>.mascot-new-art{width:34px;height:34px;padding:6px;border-radius:11px}

.widget.simple-chat .entry-method-cards .entry-method-copy{align-items:flex-start;text-align:left}
.widget.simple-chat .entry-method-cards .entry-method-copy .mascot-choice-label{display:block;width:100%;text-align:left;margin:0;padding:0}

/* Role and quirk choices share a balanced two-column layout. */
.widget.simple-chat .chat-actions[data-use-cases]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}
.widget.simple-chat [data-use-cases] .entry-card{width:100%;height:100%;min-height:132px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;justify-content:center;gap:8px}

.widget.simple-chat .device-video-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.widget.simple-chat .device-video-choices .mascot-option>button:first-child{height:auto;min-height:0;padding:8px;gap:8px;overflow:hidden}
.widget.simple-chat .device-video-choices video{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px;background:white;pointer-events:none}
.widget.simple-chat .device-video-choices .mascot-choice-label{padding:4px 6px 8px!important}

.widget-head>span{display:flex;align-items:center;gap:10px}
.creation-progress{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:32px;padding:4px 5px 6px;border-radius:7px;background:#f3f3ef;color:#73796b;font-size:10px;font-weight:500;letter-spacing:0;line-height:1;overflow:hidden}
.creation-progress:after{content:'';position:absolute;bottom:0;left:0;height:2px;width:var(--creation-progress,0%);background:#9ca788;transition:width .5s ease}
@media(prefers-reduced-motion:reduce){.creation-progress:after{transition:none}}

.widget.simple-chat .chat-actions.role-quick-replies{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}
.widget.simple-chat .role-quick-replies>button{flex:0 1 auto;width:auto;min-width:0;min-height:0;height:auto;padding:10px 14px;border-radius:22px;font-size:var(--chat-font-size,13px);line-height:1.4;text-align:left}

/* Keep streamed numbered journey steps on their own lines. */
.widget.simple-chat .bubble.ohm{white-space:pre-wrap}

/* Focused four-image approval, contained by the existing widget shell. */
.key-review{position:absolute;inset:0;z-index:80;background:#fafaf8;border-radius:inherit;overflow:hidden;display:flex;flex-direction:column;padding:22px;gap:14px;box-sizing:border-box;color:#20221e}
.key-review[hidden]{display:none}.key-review header{flex:none}.key-review h2{font-size:22px;margin:5px 0 0}.key-review small{color:#777c70;font-size:13px}.key-image{min-height:0;flex:1;width:100%;object-fit:contain;border-radius:18px}.key-review footer{flex:none}.key-review footer p{margin:0 0 12px;font-size:16px}.key-review button{border:1px solid #d8dccf;border-radius:99px;background:white;padding:12px 22px;font:inherit;font-size:15px;cursor:pointer;margin:0 8px 4px 0;transition:background .16s,transform .16s}.key-review button:hover{background:#eef1e7;transform:translateY(-1px)}.key-review button.primary{background:#293526;color:white;border-color:#293526}.key-review button:disabled{opacity:.5;cursor:wait}.key-review textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #d8dccf;border-radius:15px;padding:12px;font:inherit;margin:8px 0 12px;resize:none}.key-loading{flex:1;display:grid;align-content:center;text-align:center}.key-loading span{font-size:32px;letter-spacing:8px;animation:key-pulse 1.2s infinite}.key-image.enter{animation:key-enter .28s ease-out}.key-error{color:#9a3928}@keyframes key-enter{from{transform:translateX(35px);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes key-pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.key-image.enter,.key-loading span{animation:none}}

/* Style inspiration uses the widget's full reading space and its own scroll. */
.creator-chat-panel.choosing-style{position:relative}
.choosing-style > :not(.style-gallery){visibility:hidden;pointer-events:none}
.style-gallery{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;min-height:0;background:#fff;color:#242424;padding:12px;gap:10px;text-align:left}
.style-gallery[hidden]{display:none}
.style-gallery header{flex:none;padding:0 3px}
.style-gallery h2{font-family:inherit;font-weight:600;line-height:1.25;margin:0 0 6px;font-size:18px}
.style-gallery p{font-size:12px;line-height:1.5;margin:0 0 5px}
.style-gallery header button{border:0;background:none;padding:5px 0;color:#555;font-size:11px;text-decoration:underline;cursor:pointer}
.style-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;gap:10px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;align-content:start;padding:3px;scrollbar-width:thin}
.style-gallery-grid button{position:relative;display:flex;flex-direction:column;padding:0;border:2px solid #e8e8e6;border-radius:12px;background:#fafaf8;overflow:hidden;text-align:left;color:#242424;cursor:pointer;flex-shrink:0}
.style-gallery-grid button[aria-pressed=true]{border-color:#7043d4;box-shadow:0 0 0 1px #7043d4}
.style-gallery-grid button:disabled:not([aria-pressed=true]){opacity:.6;cursor:default}
.style-gallery-grid img{flex-shrink:0;display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f5f5f2}
.style-gallery-grid button > span:not(.style-heart){font-size:11px;line-height:1.35;padding:8px 30px 8px 8px}
.style-heart{position:absolute;bottom:5px;right:7px;font-size:23px;line-height:1;color:#7043d4}
.style-gallery footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:4px 3px}
.style-gallery footer span{font-size:12px}
.style-gallery footer button{border:0;border-radius:100px;background:#28232d;color:white;padding:10px 20px;font-size:13px;cursor:pointer}
.style-gallery footer button:disabled{opacity:.4;cursor:default}
.style-gallery button:focus-visible{outline:3px solid #8050df;outline-offset:2px}
.style-gallery-notice:empty{display:none}
#browse-styles{background:none;border:0;font-size:22px;color:#64606d;cursor:pointer;padding:3px}

.selected-style-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px 16px;flex:none;max-height:36vh;overflow:auto;background:white;z-index:3}
.selected-style-strip[hidden]{display:none}
.selected-style-strip figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:3px;border:1px solid #e9e7e3;border-radius:10px;overflow:hidden;background:#faf9f7}
.selected-style-strip img{width:100%;height:clamp(65px,12vh,115px);object-fit:contain;background:#f4f3f0}
.selected-style-strip figcaption{font-size:10px;line-height:1.3;padding:0 5px 4px}
.widget.reviewing-concepts:not(.minimized) .ohm-stage{width:min(100%,21vh)!important;max-height:21vh;flex-shrink:0}
.concept-actions{position:relative;bottom:auto;display:flex;flex-wrap:wrap;gap:6px}
.widget.simple-chat .creator-options.concept-actions>button.concept-card{width:100%;display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #dedbd5;border-radius:12px;white-space:normal;padding:10px 12px;gap:4px;height:auto}
.widget.simple-chat .creator-options.concept-actions>button.concept-card strong{font-size:12px;font-weight:600}
.concept-card span{font-size:11px;line-height:1.45;font-weight:400}
.widget.simple-chat .creator-options.concept-actions>button.concept-card[aria-pressed=true]{border-color:#7043d4;box-shadow:inset 0 0 0 1px #7043d4}

/* Contextual moment review uses the same portrait proportions as the live widget. */
.key-review{gap:10px}.key-review h2{font-size:22px;line-height:1.15}.key-context{font-size:13px;line-height:1.4;margin:8px 0}.key-review header small{font-size:11px}
.key-widget-preview{position:relative;flex:1;min-height:0;aspect-ratio:9/16;max-width:100%;align-self:center;overflow:hidden;border-radius:20px;border:1px solid #e5e5e1;background:white;container-type:inline-size}
.key-widget-preview .key-image{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}
.key-preview-head{position:absolute;inset:0 0 auto;display:flex;justify-content:space-between;align-items:center;padding:4% 6%;background:#ffffffdc;font-size:4cqw}.key-preview-head small{font-size:3cqw;color:#777}
.key-example-chat{position:absolute;top:12%;left:6%;right:6%;display:flex;flex-direction:column;gap:3cqw}
.key-example-bubble{max-width:85%;font-size:4cqw;line-height:1.4;padding:3cqw 4cqw;border-radius:4cqw;background:#fff;border:1px solid #e6e6e1;animation:key-chat-arrive .3s both}
.key-example-bubble.visitor{align-self:flex-end;background:#202020;color:white;border-color:#202020}.key-example-bubble.being{align-self:flex-start}
.key-example-composer{position:absolute;left:5%;right:5%;bottom:3%;display:flex;justify-content:space-between;padding:3cqw 4cqw;border-radius:8cqw;background:#ffffffeb;color:#777;font-size:4cqw;border:1px solid #e6e6e1}
.key-review .key-replay{align-self:center;font-size:11px;padding:4px 10px;margin:0;background:transparent;border:0;text-decoration:underline}.key-review footer{display:flex;flex-wrap:wrap;gap:6px}.key-review footer button{font-size:13px;margin:0;padding:10px 15px}
@keyframes key-chat-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.key-example-bubble{animation:none}}

/* Describe questions live in the same transcript and use the creator's controls. */
.describe-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
.widget.simple-chat .describe-categories .describe-category{display:flex;flex-direction:column;align-items:stretch;padding:0;overflow:hidden;border-radius:20px;background:#faf9f6;border-color:#e6e3d9;text-align:left}
.describe-clip{height:94px;overflow:hidden;background:#f8f8f5}
.describe-clip video{width:100%;height:100%;object-fit:contain;display:block}
.describe-category strong{padding:10px 12px;font-size:var(--chat-font-size,13px);font-weight:500}
.describe-actions>details,.describe-actions>.option-note,.describe-actions>.describe-file{width:100%;font-size:12px;line-height:1.5}
.describe-actions>details{color:#66695c;white-space:pre-wrap}
.describe-actions summary{cursor:pointer}
.describe-actions textarea{width:100%;min-height:100px;box-sizing:border-box;font:inherit;border:1px solid #deded6;border-radius:12px;padding:10px}
.describe-file{display:flex;align-items:center;justify-content:space-between;gap:8px}
.describe-actions .conversation-image,.describe-actions .finished-design{max-width:100%;max-height:260px;object-fit:contain}
.widget.describing .bubble ol{white-space:normal;padding-left:20px}
.widget.describing .bubble li{margin:6px 0}

.describe-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
.widget.simple-chat .describe-style-grid .describe-style-choice{display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:0;overflow:hidden;border-radius:18px;border-color:#e6e3d9;background:#faf9f6;text-align:left}
.describe-style-choice img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#f7f5f1}
.describe-style-choice strong{padding:9px 10px;font-size:12px;line-height:1.35;font-weight:500}
.describe-style-choice.preview-unavailable{min-height:76px;justify-content:center}
.palette-choices{display:flex!important;flex-direction:column;gap:10px;width:100%}
.palette-bubble{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px!important;border-radius:20px 20px 20px 5px!important;text-align:left}
.palette-bubble strong{font-size:14px;flex:1;min-width:0}
.palette-swatches{display:flex;flex-shrink:0;gap:3px}
.palette-swatches>span{display:block;width:22px;height:30px;border-radius:5px;border:1px solid #00000012}
.device-preview-choices{display:flex!important;flex-wrap:wrap;gap:8px}
.device-preview-choices button{min-height:40px!important;width:auto!important;flex:0 1 auto;padding:10px 15px!important;border-radius:18px!important;font-size:14px!important}
.device-preview-choices button:hover,.device-preview-choices button:focus-visible,.device-preview-choices button[aria-pressed="true"]{background:#e9ecdf;border-color:#9ba58b}

/* OHM in the private dashboard uses the available height without scaling text. */
.dashboard-dock .widget.panel{border:0;border-radius:0;background:#fff;display:flex;flex-direction:column}
.dashboard-dock .widget-head{flex:none!important;min-height:38px;padding:8px 16px!important;border:0}
.dashboard-dock .widget-head>span,.dashboard-dock #restart,.dashboard-dock #minimize,.dashboard-dock #creator-tabs,.dashboard-dock .creation-progress{display:none!important}
.dashboard-dock .widget-controls{margin-left:auto;gap:14px}
.dashboard-dock .creator-chat-panel{display:flex!important;flex:1;min-height:0}
.dashboard-dock .widget.simple-chat .conversation{flex:1;min-height:80px;margin:0;padding:10px 16px 16px;mask-image:none;-webkit-mask-image:none;overflow:auto}
.dashboard-dock .widget .bubble{font-size:13px;line-height:1.6}
.dashboard-dock .widget:not(.minimized) .ohm-stage{width:150px!important;height:150px!important;min-height:0;max-height:150px;flex:0 0 150px;align-self:center;margin:0;transition:width .3s ease}
.dashboard-dock .widget.dreaming .ohm-stage{width:210px!important;height:210px!important;max-height:210px;flex-basis:210px}
.dashboard-dock .composer-wrap{flex:none!important;padding:8px 12px 16px!important;height:auto!important;min-height:66px}
.dashboard-dock #composer{position:relative!important;inset:auto!important;margin:0;width:100%;box-sizing:border-box}
.workspace-context[hidden]{display:none}.workspace-context{display:flex;gap:8px;align-items:center;background:#f3f0f7;border:1px solid #e3dcea;border-radius:8px;padding:7px 9px;margin-bottom:8px;color:#7c6b91;font-size:11px}.workspace-context>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-context button{border:0;background:none;color:inherit;font-size:16px;cursor:pointer}
.dashboard-dock .creator-flow-panel,.dashboard-dock .creator-test-panel{display:none!important}
@media(max-height:620px){.dashboard-dock .widget:not(.minimized) .ohm-stage{width:100px!important;height:100px!important;max-height:100px;flex-basis:100px}}

.dashboard-dock #message{min-width:0;flex:1}

.dashboard-chat-switcher{flex:none;padding:10px 16px;border-bottom:1px solid #efecf1;background:#fff;z-index:3}.dashboard-chat-switcher[hidden]{display:none}.dashboard-chat-picker{display:flex;gap:7px;align-items:center}.dashboard-chat-picker select{flex:1;min-width:0;border:1px solid #e7e0ec;border-radius:8px;background:#faf8fc;color:#675674;font:11px inherit;padding:9px;outline-offset:3px}.dashboard-chat-picker>button{width:32px;height:32px;border:1px solid #e7e0ec;border-radius:8px;background:white;color:#735d87;font-size:19px}.dashboard-chat-switcher form{padding:10px 0 0}.dashboard-chat-switcher form[hidden]{display:none}.dashboard-chat-switcher form label{font-size:10px;color:#8d8196;display:block;margin-bottom:6px}.dashboard-chat-switcher form input{border:1px solid #e5deeb;border-radius:6px;padding:8px;width:100%;font-size:11px;box-sizing:border-box}.dashboard-chat-switcher form>div{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}.dashboard-chat-switcher form button{font-size:10px;border-radius:6px;padding:7px 9px;border:1px solid #e5deeb;background:#fff}.dashboard-chat-switcher form button[type=submit]{background:#766284;color:white;border-color:#766284}.dashboard-chat-empty{padding:18px 12px;border:1px dashed #e7e0ed;border-radius:12px;font-size:11px;line-height:1.7;color:#978ba1;margin:10px 0}.dashboard-dock #wake-touch{pointer-events:none}.dashboard-dock #creator-tabs{display:none!important}.dashboard-dock #restart{display:none}.dashboard-dock #ohm-sleep-bubbles{display:none}.dashboard-dock .widget{min-height:0}.dashboard-dock .composer-wrap #attach{display:none}.dashboard-dock #browse-styles{display:none!important}
.dashboard-chat-switcher .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dashboard-chat-picker select{font-family:inherit;font-size:11px}

/* Stable controls and a bottom-anchored growing composer. */
.widget.simple-chat .composer-wrap{flex-basis:auto;flex-shrink:0;min-height:64px;height:auto}
.widget.simple-chat #composer{align-items:flex-end}
.widget.simple-chat #message{height:24px;min-height:24px;max-height:132px;resize:none;box-sizing:border-box;line-height:24px}
.thinking-status{font-size:.82em;color:#73796d;margin-left:10px}
#build-estimate{font-size:12px;line-height:1.5;color:#69725e;margin:8px 20px}
.widget .design-gallery:not(.single-design){display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px}
.widget .design-gallery:not(.single-design)>button{flex:0 0 94%;scroll-snap-align:center;position:relative}
.personal-welcome{font-size:inherit;font-weight:600}

.creator-loader{position:absolute;inset:0;background:#fff;z-index:50;display:grid;place-content:center;justify-items:center;gap:14px;color:#69725e;font-size:12px}.portrait-ring{width:70px;height:70px;position:relative;display:block}.portrait-ring img{width:100%;height:100%;object-fit:cover;border-radius:50%}.portrait-ring:after{content:"";position:absolute;inset:-6px;border:2px solid #e5e8df;border-top-color:#859873;border-radius:50%;animation:portrait-spin 1s linear infinite}@keyframes portrait-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.portrait-ring:after{animation:none}}.widget-notso{display:block;text-align:center;font-size:10px;text-decoration:none;color:#81847d;margin:5px auto 0;width:max-content}.widget-notso span{color:#82936d;margin-left:2px}.design-swipe-controls{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:7px;font-size:12px}.design-swipe-controls button{border:0;background:none;font-size:20px;padding:4px 10px;color:inherit}
/* Suggestions belong to the OHM conversation; review stays in the Skills workspace. */
.ohm-skill-proposal{display:grid;gap:8px;margin:8px 0 16px;padding:12px;border:1px solid #dfd2ef;border-radius:18px;background:linear-gradient(135deg,#faf6ff,#fff);max-width:100%;box-shadow:0 0 20px #c9a8e815}
.ohm-skill-proposal-label{font-size:12px;color:#765691;font-weight:600}
.ohm-skill-card{display:flex;gap:10px;align-items:center;text-align:left;background:#fff;border:1px solid #e9e2ef;border-radius:12px;padding:10px;color:inherit;cursor:pointer;font:inherit;transition:border-color .18s,box-shadow .18s}
.ohm-skill-card:hover,.ohm-skill-card:focus-visible{border-color:#ad84cf;box-shadow:0 0 0 3px #b995d520}
.ohm-skill-card img{width:58px;height:58px;object-fit:contain;border-radius:9px;background:#fafafa;flex-shrink:0}
.ohm-skill-card-copy{display:grid;gap:3px;min-width:0}.ohm-skill-card-copy small{font-size:10px;color:#765691}.ohm-skill-card-copy strong{font-size:13px}.ohm-skill-card-copy>span{font-size:12px;color:#6c6473;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ohm-skill-proposal-review{justify-self:start;border:0;background:none;color:#765691;font:inherit;font-size:12px;padding:5px 0;cursor:pointer}.ohm-skill-proposal button:disabled{opacity:.6;cursor:wait}
.initial-skills{display:grid;gap:7px;width:100%;padding:4px 0 14px}.initial-skills-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 2px 8px}.initial-skills-heading strong{font-size:14px}.initial-skills-heading>span{color:#827987;font-size:12px;white-space:nowrap}
.initial-skills .initial-skill-choice{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:11px 12px;border-radius:14px;background:#faf9fb;border:1px solid #e9e5ec;font:inherit;transition:background .16s,border-color .16s;min-height:0}
.initial-skills .initial-skill-choice[aria-pressed="true"]{border-color:#cdb8df;background:#f7f1fc}.initial-skill-check{display:grid;place-items:center;flex:0 0 22px;height:22px;border:1px solid #d9cedf;border-radius:7px;color:#8b6fa2;font-size:14px}.initial-skill-choice[aria-pressed="true"] .initial-skill-check{background:#8b6fa2;color:#fff;border-color:#8b6fa2}
.initial-skill-copy{display:grid;gap:3px}.initial-skill-copy strong{font-size:13px;font-weight:600}.initial-skill-copy>span{font-size:11px;line-height:1.4;color:#756d7a}.initial-skill-locked{font-size:11px;line-height:1.5;color:#827b87;padding:9px 3px}.initial-skills .initial-skill-choice:disabled[aria-pressed="true"]{opacity:1}.initial-skills>button.primary{width:100%;margin-top:3px}
.widget.simple-chat .initial-skills .initial-skill-choice{justify-content:flex-start}.widget.simple-chat .initial-skills .initial-skill-choice::after{display:none}.widget.simple-chat .initial-skills .initial-skill-choice[aria-pressed="true"]{background:#f7f1fc;border-color:#cdb8df;box-shadow:none;color:inherit}

.widget-brand-version{display:flex;align-items:center;justify-content:center;gap:7px;min-height:22px}.widget-brand-version .widget-notso{margin:0}.widget-version{font-size:9px;line-height:1.3;color:#8c8992;white-space:nowrap}
/* Keep the next question and its three choices together in the chat viewport. */
.widget.simple-chat .entry-method-cards{grid-template-columns:1fr;gap:8px}
.widget.simple-chat .entry-method-cards .mascot-option>button:first-child{min-height:68px;padding:12px;flex-direction:row;align-items:center;gap:12px;border-radius:18px}
.widget.simple-chat .entry-method-cards .mascot-option>button:first-child>.mascot-new-art{flex:0 0 30px;width:30px;height:30px}
.widget.simple-chat .entry-method-cards .entry-method-copy{gap:3px}

/* Design review: compact swipable previews, actions always outside the artwork. */
.widget.simple-chat .design-gallery{width:min(68%,156px,calc(36dvh * 9 / 16));margin:12px auto 0;position:relative;}
.widget.simple-chat .design-gallery.single-design{width:min(68%,156px,calc(36dvh * 9 / 16));}
.widget.simple-chat .design-gallery:not(.single-design)>button{flex:0 0 100%;scroll-snap-align:start;}
.widget.simple-chat .design-gallery .design-widget-preview{border-radius:14px;}
.design-choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;}
.design-choice-actions button{min-height:40px;padding:9px 12px;border:1px solid #d6ddcd;border-radius:12px;background:#fff;color:#343c2b;font:inherit;cursor:pointer;}
.design-choice-actions button:first-child{background:#eaf0e2;border-color:#becdaf;}
.design-choice-actions button:hover:not(:disabled){background:#e0e9d6;}
.design-choice-actions button:focus-visible{outline:2px solid #71865e;outline-offset:2px;}
.design-choice-actions button:disabled{opacity:.45;cursor:default;}
#design-preview{padding-bottom:max(16px,env(safe-area-inset-bottom));}
#design-preview header,#design-preview h2,#design-preview footer{flex-shrink:0;}
#design-preview footer{grid-template-columns:1fr 1fr;width:100%;margin-top:auto;}
#design-preview .widget-design-art>img{user-select:none;-webkit-user-drag:none;}
/* Guided builder: one clear next action, with lightweight dashboard-style cards. */
.widget.awaiting-text #composer{border-color:#a890c1;box-shadow:0 0 0 3px #b59ad323;animation:composer-invite 2.6s ease-in-out infinite}
.widget.awaiting-text #composer:focus-within{animation:none;box-shadow:0 0 0 3px #b59ad335}
@keyframes composer-invite{50%{box-shadow:0 0 0 5px #b59ad33c}}
.custom-palette{padding:12px;border:1px solid #e4dce9;border-radius:15px;background:#faf8fc;width:100%;box-sizing:border-box}
.custom-palette summary{cursor:pointer;font-size:13px;font-weight:600}
.custom-palette-swatches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:13px 0}
.custom-palette-swatches input{width:100%;height:40px;min-width:0;border:0;padding:0;border-radius:9px;background:none;cursor:pointer}
.palette-choices .palette-more{font-size:12px;background:transparent;border-color:transparent;align-self:center;padding:6px 12px;color:#776286}
.initial-skills{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.initial-skills-heading,.initial-skills>button,.initial-future-ideas{grid-column:1/-1}
.initial-skill-card{min-width:0;border:1px solid #e5e0e8;border-radius:16px;background:#f8f6fa;padding:13px;opacity:.65;transition:opacity .2s,border-color .2s}
.initial-skill-card.is-enabled{opacity:1;border-color:#d8c9e4}
.initial-skill-top{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:12px}
.initial-skill-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#fff;color:#806496;box-shadow:0 2px 7px #37224a12}
.initial-skill-top small{font-size:9px;color:#80708a;text-align:right}
.initial-skill-card>strong{font-size:12px;line-height:1.35;display:block}
.initial-skill-card>p{font-size:11px;line-height:1.45;margin:6px 0 0;color:#79717f}
.initial-skills .initial-skill-switch{width:33px;height:20px;min-height:0;padding:3px;border:0;border-radius:20px;background:#d4cdd9;display:flex;flex:none}
.initial-skills .initial-skill-switch[aria-checked=true]{background:#9378aa}
.initial-skill-switch>span{width:14px;height:14px;background:white;border-radius:50%;transition:transform .2s}
.initial-skill-switch[aria-checked=true]>span{transform:translateX(13px)}
.initial-future-ideas{font-size:11px;color:#796b83;padding:10px 3px}.initial-future-ideas summary{cursor:pointer}.initial-future-ideas p{line-height:1.5}
.knowledge-choices button[aria-pressed=true]{background:#f1ebf7;border-color:#ba9fce;color:#72528c}
.design-reveal-button{background:linear-gradient(110deg,#ead7fa,#ffe1cf,#d8e3ff,#ead7fa)!important;background-size:300% 100%!important;color:#4e385c!important;border:1px solid #d8bde9!important;box-shadow:0 0 18px #be93df55;animation:design-reveal-glow 3.5s ease-in-out infinite}
.design-loading-label{font-size:13px;color:#887293;padding:12px 6px;animation:design-loading 2s ease-in-out infinite}
@keyframes design-reveal-glow{50%{background-position:100% 0;box-shadow:0 0 26px #bd93de77}}
@keyframes design-loading{50%{opacity:.55}}
@media(prefers-reduced-motion:reduce){.widget.awaiting-text #composer,.design-reveal-button,.design-loading-label{animation:none}.initial-skill-switch>span{transition:none}}
.widget.simple-chat .chat-actions.initial-skills{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;justify-items:stretch}
.widget.simple-chat .initial-skill-switch::after{display:none}
/* Alpha v0.4: compact editable palettes, neutral skill cards and saved choices. */
.palette-option{width:100%;border:1px solid #e0e1dc;border-radius:17px;background:#f7f7f4;overflow:hidden}
.palette-row{display:flex;align-items:center;gap:2px;padding:4px}
.palette-row .palette-bubble{border:0!important;background:transparent!important;box-shadow:none!important;flex:1;padding:11px!important;min-width:0}
.palette-row .palette-edit{padding:5px 8px!important;min-height:28px;font-size:11px;background:transparent;border:0;color:#72766b}
.palette-editor{padding:0 14px 12px}.palette-editor[hidden]{display:none}.palette-editor .custom-palette-swatches{margin:5px 0 10px}
.palette-swatches>span{width:18px;height:27px}
.initial-skill-card{background:#f3f4f1;border-color:#e0e2dc}.initial-skill-card.is-enabled{background:#f3f4f1;border-color:#d6d9d0}
.initial-skill-icon{color:#666e5e}.initial-skill-card>p{color:#707568}
.widget.simple-chat .initial-skills .initial-skill-switch{width:38px!important;height:24px!important;min-height:24px!important;padding:3px!important;border-radius:18px!important;background:#c8cdc3!important;box-shadow:inset 0 0 0 1px #00000008!important;justify-content:flex-start!important}
.widget.simple-chat .initial-skills .initial-skill-switch[aria-checked=true]{background:#64755b!important}
.initial-skill-switch>span{width:18px;height:18px;flex:none;box-shadow:0 1px 3px #0003}
.initial-skill-switch[aria-checked=true]>span{transform:translateX(14px)}
.initial-skills .initial-skill-switch:disabled{opacity:1;cursor:default}
.chat-selection{width:100%;box-sizing:border-box;opacity:.65;margin:10px 0;pointer-events:none}
.saved-palette{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:14px;border-radius:16px;background:#f3f4f1;border:1px solid #e0e2dc;font-size:13px}
.saved-personality{display:grid;gap:12px;padding:15px;border-radius:16px;background:#f3f4f1;border:1px solid #e0e2dc}
.saved-personality label{display:grid;gap:5px;font-size:12px}.saved-personality input{width:100%;accent-color:#87917a}
.saved-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.saved-skills .initial-skill-switch::after{display:none!important}
.is-past-choice{opacity:.65;pointer-events:none}.is-past-choice .design-gallery{max-height:190px!important}.is-past-choice .design-widget-preview{max-width:135px!important}
.bubble.user.ui-choice{background:transparent;padding:0}.ui-choice>button{font:inherit;font-size:13px;color:#606759;background:#eff0eb;border:1px solid #dce0d4;border-radius:20px;padding:10px 14px;opacity:.7;cursor:default}
.controls-loading{width:fit-content;min-height:20px}.design-generation-status{font-size:13px}
.saved-knowledge{display:flex;gap:6px;flex-wrap:wrap}.saved-knowledge span{padding:9px 12px;background:#eff0eb;border:1px solid #dce0d4;border-radius:20px;font-size:12px}

/* Stable native chat: keep each next action fully inside the scroll viewport. */
.widget.simple-chat .conversation{margin-bottom:0;padding-bottom:18px;scroll-padding-bottom:18px;mask-image:none;-webkit-mask-image:none}
.widget .bubble .selected-image{width:84px;height:105px;object-fit:cover;margin:0 0 8px;border-radius:10px}
.palette-option{transition:border-color .16s,background .16s,box-shadow .16s}
.palette-option:hover,.palette-option:focus-within{background:#eef0e9;border-color:#aab79e;box-shadow:0 3px 14px #53654712}
.palette-option.is-selected{background:#edf1e6;border-color:#899b74}
.palette-option.is-selected .palette-bubble strong{padding:4px 12px;border-radius:14px;background:#667957;color:#fff}
.widget.simple-chat .generation-controls button,[data-generation-kind] button{width:100%;min-height:48px;white-space:normal}
[data-generation-kind] button:disabled{opacity:1;cursor:wait}
.saved-skills{opacity:1}.saved-skills .initial-skill-card{opacity:1}

/* Keep visual edge transforms inside the native scroll layout boundary. */
.widget.simple-chat .conversation{position:relative;scroll-behavior:auto}

/* Fade the clipped chat boundary gently into its white backdrop, independently
   of item scale and native scrolling. Latest controls retain 18px clearance. */
.widget.simple-chat .conversation{mask-image:linear-gradient(to bottom,transparent,#000 14px,#000 calc(100% - 14px),transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14px,#000 calc(100% - 14px),transparent)}

/* Alpha v0.4.6: a roomier transcript and side controls around design previews. */
.widget.simple-chat:not(.minimized) .conversation{margin-bottom:-32px}
.dashboard-dock .widget.simple-chat:not(.minimized) .conversation{margin-bottom:0}
.design-review-carousel{position:relative;display:flex;justify-content:center;align-items:center;width:100%;margin-top:10px}
.widget.simple-chat .design-review-carousel .design-gallery{width:min(76%,184px,calc(42dvh * 9 / 16));margin:0 auto}
.design-review-carousel .design-swipe-controls{position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center;pointer-events:none;margin:0;gap:0}
.design-review-carousel .design-swipe-controls button{pointer-events:auto;width:30px;height:42px;padding:0;border-radius:18px;background:#ffffffd9;border:1px solid #e3e5df;font-size:24px}
#design-preview .widget-design-art{overflow:visible;clip-path:none;width:min(76%,calc((100dvh - 210px) * 9 / 16))}
#design-preview-prev{left:-38px}#design-preview-next{right:-38px}
#design-preview-count{display:none!important}
.name-choices{display:grid;grid-template-columns:1fr 1fr}
.emotion-review-status{display:block;font-size:11px;color:#828875;margin:0 10px 12px}
/* Continuous dashboard conversation, using the familiar OHM widget. */
.dashboard-dock .dashboard-chat-switcher{display:none!important}
.dashboard-dock .widget.panel{background:#fff;border:0}
.dashboard-dock .widget .bubble{background:#f5f5f6;border:1px solid #ededf0;color:#26262c;border-radius:18px;box-shadow:none}
.dashboard-dock .widget .bubble.user{background:#ececef;color:#26262c}
.dashboard-dock .widget:not(.minimized) .ohm-stage{width:190px!important;height:190px!important;max-height:190px;flex-basis:190px}
.dashboard-dock .dashboard-chat-empty{border:0;background:#f6f6f7;color:#6d6d77;font-size:13px;border-radius:16px}
.dashboard-dock #workspace-context{font-size:11px;color:#7a7a83;background:#fafafa;border-color:#eee}
.context-invitation{transition:opacity .18s,transform .18s}.context-invitation.is-leaving{opacity:0;transform:translateY(-5px);pointer-events:none}
.invitation-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.invitation-actions button{border:1px solid #ddddE2;background:white;color:#313139;border-radius:10px;padding:9px 11px;font:500 12px/1.4 inherit;text-align:left;cursor:pointer}
.invitation-actions button:hover{border-color:#85858e;background:#f9f9fa}
.invitation-actions .invitation-primary{background:#1c1c20;color:white;border-color:#1c1c20}
@media(max-height:650px){.dashboard-dock .widget:not(.minimized) .ohm-stage{width:120px!important;height:120px!important;max-height:120px;flex-basis:120px}}
@media(prefers-reduced-motion:reduce){.context-invitation{transition:none}}
.context-invitation{position:relative;padding-right:27px!important}.invitation-dismiss{position:absolute;right:7px;top:6px;border:0;background:none;color:#8b8b95;font-size:18px;cursor:pointer}
.studio-chat-card{border:1px solid #e1e1e6;border-radius:16px;background:#fafafa;padding:14px;margin:12px 0;color:#25252c;font-size:12px;line-height:1.5}
.studio-chat-card p{max-height:130px;overflow:auto;color:#73737d}.studio-chat-card>img{display:block;width:100%;max-height:180px;object-fit:contain;border-radius:10px}

/* A quiet progress track beneath the playful emotion-generation message. */
[data-generation-kind="emotions"]{flex-direction:column;align-items:stretch;gap:8px}
.emotion-loading-progress{display:block;width:100%;height:3px;border:0;border-radius:999px;overflow:hidden;appearance:none;background:#24272012;color:#777f69}
.emotion-loading-progress::-webkit-progress-bar{background:#24272012;border-radius:999px}
.emotion-loading-progress::-webkit-progress-value{background:#777f69;border-radius:999px;transition:width .3s ease}
.emotion-loading-progress::-moz-progress-bar{background:#777f69;border-radius:999px}
@media(prefers-reduced-motion:reduce){.emotion-loading-progress::-webkit-progress-value{transition:none}}

/* Match built-being launchers: a round, close character crop. OHM's source
   artwork is square, so cover retains its centered face. */
.widget.minimized{border-radius:50%}
.widget.minimized .ohm-stage img,
.widget.minimized .ohm-stage video {
  object-fit:cover;
  object-position:50% 75%;
  transform:scale(1.3);
  transform-origin:50% 50%;
}

.widget.simple-chat .chat-actions.initial-skills.company-tasks{grid-template-columns:minmax(0,1fr)}
.company-tasks .initial-skill-card{position:relative;padding:12px 14px;opacity:1}
.company-tasks .initial-skill-top{position:absolute;right:12px;top:11px;margin:0}
.company-tasks .initial-skill-icon{display:none}
.company-tasks .initial-skill-card>strong{padding-right:46px;min-height:22px;font-size:13px}
.company-tasks .initial-skill-card>p{margin-top:3px;font-size:12px}
.initial-skill-card .task-example{display:block;margin-top:8px;color:var(--text,#32382f);font-size:12px;line-height:1.45}
.initial-skill-card .task-details{display:block;margin-top:7px;color:#596152;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
