/* Our episode: one familiar conversation, from the first idea to the request. */
:root{--paper:#f6f4ed;--ink:#34382e;--olive:#56604a;--muted:#6d7268;--line:#dadcd1;--serif:Georgia,'Times New Roman',serif;--chat:#e9eef1;--bubble:#fff;--user:#faeaa8}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.65 -apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3,p,figure,blockquote{margin:0}
button,input,textarea,select{font:inherit;color:inherit;touch-action:manipulation}
button{cursor:pointer;background:none;border:0}
a{color:inherit;text-decoration:none;touch-action:manipulation}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible,summary:focus-visible{outline:2px solid #986f52;outline-offset:4px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.entry-skip{position:fixed;top:-80px;left:15px;background:var(--olive);color:#fff;padding:12px 18px;z-index:100}.entry-skip:focus{top:12px}
.entry-header{max-width:1280px;margin:auto;padding:0 40px;height:82px;display:flex;align-items:center;gap:35px;border-bottom:1px solid var(--line)}
.entry-brand{font:31px/1 var(--serif);letter-spacing:-1.7px;white-space:nowrap}.entry-brand>span{font-size:27px;margin-left:6px;display:inline-block;transform:rotate(13deg);color:var(--olive)}
.entry-header nav{display:flex;gap:26px;font-size:12px;margin-left:auto}.entry-header nav a,.entry-header nav button{padding:12px 0}
.entry-edition{font-size:10px;color:var(--muted);padding-left:26px;border-left:1px solid var(--line)}
main{max-width:1200px;margin:auto;padding:0 36px}
.entry-hero{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:26px 32px;align-items:start;padding:30px 0 40px}
.entry-copy{grid-column:1/-1}
.entry-eyebrow{font-size:9px;letter-spacing:.12em;color:var(--olive);display:flex;align-items:center;gap:8px}
.entry-copy h1{font-size:29px;font-weight:500;line-height:1.45;letter-spacing:-.055em;margin:6px 0}
.entry-intro{font-size:12px;color:var(--muted);line-height:1.8}
.entry-capability-note{font-size:12px;line-height:1.8;color:var(--olive);padding:12px 14px;margin-top:14px;border:1px solid var(--line);border-radius:8px;background:#eeefe6;max-width:820px}
.entry-conversation{height:700px;min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;background:var(--chat);border:1px solid #d7dfe0;border-radius:20px;overflow:hidden;box-shadow:0 8px 32px #37453808}
.entry-conversation-head{display:flex;align-items:center;gap:12px;padding:16px 20px;background:#fbfcf9;border-bottom:1px solid #dbe1de}
.entry-room-avatar{width:42px;height:42px;display:grid;place-items:center;flex:none;background:var(--olive);color:#fffdf6;border-radius:14px;font-size:27px;line-height:1}
.entry-room-title{min-width:0}.entry-room-title h2{font-size:15px;font-weight:600;letter-spacing:-.025em}.entry-room-title p{font-size:10px;color:var(--muted);margin-top:2px}
#clear-entry{margin-left:auto;font-size:11px;color:var(--muted);min-height:44px;padding:10px 0 10px 10px;white-space:nowrap}
#clear-entry:hover{color:var(--olive);text-decoration:underline;text-underline-offset:4px}
.entry-chat{min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding:24px 20px 12px;overscroll-behavior-y:contain;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#bdc8cc transparent}
.entry-message{display:flex;align-items:flex-start;gap:9px;margin:0 0 20px;min-width:0;max-width:100%}
.entry-avatar{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:11px;background:#6b775d;color:#fffdf6;font-size:21px;line-height:1}
.entry-message-content{min-width:0;max-width:calc(100% - 104px)}
.entry-sender{display:block;font-size:10px;font-weight:500;color:#5b6657;margin-bottom:5px;line-height:1.5}
.entry-bubble{position:relative;background:var(--bubble);border-radius:0 13px 13px 13px;padding:12px 15px;box-shadow:0 1px 2px #38515d0a;font-size:15px;line-height:1.8;overflow-wrap:anywhere;min-width:0}
.entry-bubble::before{content:'';position:absolute;top:0;left:-6px;width:0;height:0;border-top:9px solid var(--bubble);border-left:6px solid transparent}
.entry-bubble>p{white-space:pre-wrap}.entry-bubble p+p{margin-top:12px}
.entry-bubble small{display:block;font-size:10px;line-height:1.7;color:var(--muted);margin-top:10px}
.entry-bubble>a{display:inline-block;font-size:11px;text-decoration:underline;text-underline-offset:3px;margin-top:8px}
.entry-time{align-self:flex-end;flex:none;font-size:9px;line-height:1.4;color:#75818a;white-space:nowrap;margin-bottom:3px}
.entry-message.user{flex-direction:row-reverse;justify-content:flex-start}
.entry-message.user .entry-message-content{max-width:calc(100% - 70px)}
.entry-message.user .entry-sender{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.entry-message.user .entry-bubble{background:var(--user);border-radius:13px 0 13px 13px}
.entry-message.user .entry-bubble::before{left:auto;right:-6px;border-left:0;border-right:6px solid transparent;border-top-color:var(--user)}
.entry-chat-actions,.entry-candidates{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;white-space:normal}
.entry-chat-actions button,.entry-chat-actions a,.entry-candidates button{font-size:13px;line-height:1.7;min-height:44px;padding:9px 11px;background:#f7f8f3;border:1px solid #d4dccb;border-radius:8px;text-align:left;overflow-wrap:anywhere;max-width:100%;color:#4e5b43}
.entry-chat-actions button:hover,.entry-chat-actions a:hover,.entry-candidates button:hover{background:#edf1e5;border-color:#b3c1a4}
.entry-color-dot{display:inline-block;width:14px;height:14px;border:1px solid #0002;border-radius:50%;margin-left:7px;vertical-align:-2px}
.entry-candidates{flex-direction:column;align-items:stretch}
.entry-prompts{display:flex;align-items:center;gap:7px;padding:4px 18px 12px;min-width:0}
.entry-prompts button{flex:none;min-height:34px;border:1px solid #ccd6d7;border-radius:18px;padding:6px 11px;font-size:11px;line-height:1.6;background:#f7fafade;color:#5c696b;white-space:nowrap}
.entry-prompts button:hover{background:#fff;border-color:#abbdbb}
.entry-composer{background:#fff;border-top:1px solid #dce3e4;padding:12px 18px 10px;min-width:0}
.entry-compose-row{display:flex;align-items:flex-end;gap:12px}
#story-input{display:block;flex:1;min-width:0;min-height:54px;height:54px;max-height:112px;resize:none;border:0;background:#fff;line-height:1.7;font-size:14px;padding:5px 2px;margin:0;outline-offset:2px;overflow-y:auto;border-radius:0}
#story-input::placeholder{color:#939c9a;opacity:1}
#entry-send{flex:none;min-width:62px;min-height:42px;padding:10px 14px;margin-bottom:4px;border-radius:9px;background:var(--olive);color:#fffdf6;font-size:12px;font-weight:500;line-height:1.6}
#entry-send:hover{background:#455139}#entry-send:disabled{opacity:.45;cursor:default}
.writing-bottom{font-size:9px;line-height:1.6;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#858c85;margin-top:7px}
#story-count{white-space:nowrap}.entry-demo-note{font-size:9px;line-height:1.7;color:#7b8379;margin-top:4px}
#entry-error,.entry-feedback{font-size:11px;line-height:1.7;margin-top:7px;overflow-wrap:anywhere}#entry-error{color:#955b44}.entry-feedback{color:var(--olive)}#entry-error:empty,.entry-feedback:empty{display:none}
.entry-example{position:sticky;top:24px;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fcfbf5}
.entry-reference-label{font-size:10px;color:var(--muted);margin:1px 2px 11px}
.entry-photo{position:relative;overflow:hidden;aspect-ratio:1;background:#deded6;border-radius:11px}
.entry-photo>img{display:block;width:100%;height:100%;object-fit:cover}
.entry-image-tag{position:absolute;top:10px;left:10px;background:#f7f5ede8;color:#5e6655;border:1px solid #ffffff75;border-radius:5px;padding:4px 7px;font-size:8px}
.entry-example figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 1px 0}
.entry-example-index{font:italic 10px var(--serif);color:#727b64;letter-spacing:.03em}
.entry-example h2{font-size:14px;letter-spacing:-.04em;font-weight:500;line-height:1.7;margin:4px 0}
.entry-example figcaption p{font-size:10px;color:var(--muted);line-height:1.8}
.entry-example figcaption>a{display:grid;place-items:center;border:1px solid #cbd1c0;border-radius:50%;width:30px;height:30px;flex:none;font-size:17px;color:#637053}
.entry-photo-note{margin:14px 1px 2px;font-size:9px;color:var(--muted);line-height:1.9}
.entry-journey{padding:29px 0 31px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 2.2fr;gap:30px;align-items:center}
.entry-journey .entry-eyebrow{font-size:8px}.entry-journey h2{font-size:22px;font-weight:400;letter-spacing:-.05em;margin-top:7px}
.entry-journey ol{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);margin:0;padding:0;gap:20px}.entry-journey li{display:flex;gap:12px}.entry-journey li>span{font:italic 17px var(--serif);color:#899579;margin-top:2px}.entry-journey h3{font-size:11px;font-weight:500;white-space:nowrap;margin-bottom:6px}.entry-journey li p{font-size:10px;color:var(--muted);line-height:1.9}
.entry-primary{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;background:var(--olive);color:#fffdf6;min-height:52px;padding:15px 20px;font-size:13px;line-height:1.6}.entry-primary>span:last-child{font-size:20px;line-height:1}.entry-primary:hover{background:#444f38}
.entry-bottom-note{padding:45px 0;text-align:center}.entry-bottom-note>span{display:block;font-size:28px;color:#788565;margin-bottom:10px}.entry-bottom-note p{font-size:20px;font-weight:400;letter-spacing:-.04em;line-height:1.7}.entry-bottom-note a{display:inline-block;font-size:11px;margin-top:18px;padding-bottom:5px;border-bottom:1px solid var(--line)}
.entry-footer{max-width:1128px;margin:auto;padding:25px 0 34px;border-top:1px solid var(--line);display:flex;align-items:center;gap:25px;flex-wrap:wrap}.entry-footer .entry-brand{font-size:27px}.entry-footer .entry-brand>span{font-size:22px}.entry-footer>p{font:italic 12px var(--serif);color:var(--muted)}.entry-footer>span{margin-left:auto;font-size:9px;color:var(--muted)}

/* Existing request details and inline brief. */
.entry-workspace{padding:55px 0 20px;scroll-margin-top:25px}.workspace-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.workspace-head h2{font-size:30px;font-weight:400;letter-spacing:-.05em;margin-top:10px}.workspace-head>button{font-size:11px;border-bottom:1px solid var(--line);padding:10px 0}.workspace-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);background:#fffdf7}.story-notebook{padding:40px;background:#eeeee5;position:relative}.notebook-label{font-size:10px;letter-spacing:.02em;color:#6e765f}.story-notebook blockquote{font-size:22px;line-height:1.9;letter-spacing:-.03em;margin:23px 0 30px;white-space:pre-wrap;overflow-wrap:anywhere}.notebook-flower{font-size:35px;color:#a3ad94}.story-notebook>p{font-size:11px;color:var(--muted);line-height:1.9;margin-top:15px}#story-brief-form{padding:39px 40px}.workspace-prompt{font-size:18px;letter-spacing:-.03em}.workspace-help{font-size:11px;color:var(--muted);margin-top:7px;margin-bottom:25px}#story-brief-form label{font-size:12px;display:flex;align-items:center;gap:8px;margin-top:20px}#story-brief-form label>span{font-size:9px;color:var(--muted)}#story-brief-form input{width:100%;border:0;border-bottom:1px solid #cfd5c4;background:transparent;font-size:12px;padding:13px 0;margin-top:4px;border-radius:0}#story-brief-form .entry-primary{margin-top:27px}.workspace-limit{font-size:10px;color:var(--muted);line-height:1.8;margin-top:12px}.entry-brief-panel{width:100%;margin-top:25px;padding:30px 35px;border:1px solid var(--line);background:#eeeee5;color:var(--ink);scroll-margin-top:25px}.brief-panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px}#close-brief{flex:none;padding:10px 0;min-height:44px;font-size:11px;border-bottom:1px solid #c9cebf}.entry-brief-panel h2{font-size:28px;letter-spacing:-.05em;font-weight:400;margin:15px 0}.brief-description{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:20px}#brief-text{width:100%;resize:vertical;border:1px solid var(--line);background:#fffdf8;color:var(--ink);font-size:12px;padding:15px;line-height:1.9;margin-bottom:15px}#brief-status{font-size:10px;color:var(--muted);margin-top:12px}
select{font:inherit;color:inherit;touch-action:manipulation}select:focus-visible{outline:2px solid #986f52;outline-offset:4px}#story-brief-form textarea,#story-brief-form select{display:block;width:100%;min-width:0;border:0;border-bottom:1px solid #cfd5c4;background:transparent;font-size:12px;padding:12px 0;margin-top:4px;border-radius:0;line-height:1.8}#story-brief-form textarea{resize:vertical;min-height:70px;white-space:pre-wrap}#story-brief-form select{min-height:46px}.brief-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.brief-fields>div{min-width:0}.field-help{font-size:10px;line-height:1.8;color:var(--muted);margin-top:7px}.brief-extra{border-top:1px solid var(--line);margin-top:25px;padding-top:13px}.brief-extra>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;font-size:12px;padding:9px 0}.brief-extra>summary::-webkit-details-marker{display:none}.brief-extra[open]>summary>span{transform:rotate(45deg)}#story-brief-form .brief-check{align-items:flex-start;gap:9px}#story-brief-form .brief-check input{width:17px;height:17px;margin:2px 0 0;flex:none}#story-brief-form .brief-check span{font-size:11px;color:var(--ink)}.design-guidance{margin-top:20px;padding:15px 17px;background:#eef0e6;border-left:2px solid #8b9879;font-size:11px;line-height:1.85;overflow-wrap:anywhere}.guidance-heading{font-size:11px;font-weight:600;margin:0 0 7px}.design-guidance ul{margin:0;padding-left:16px}.design-guidance li+li{margin-top:7px}#brief-text{min-height:270px;white-space:pre-wrap}

.entry-brief-panel #brief-text{display:block;max-height:650px}
@media(max-width:1050px){
 .entry-header{padding:0 28px;height:74px;gap:24px}.entry-edition{display:none}main{padding:0 28px}.entry-hero{grid-template-columns:minmax(0,1fr) 220px;gap:22px;padding-top:25px}.entry-example{padding:11px}.entry-example h2{font-size:13px}.entry-example figcaption{gap:6px}.entry-photo-note br{display:none}.entry-journey{grid-template-columns:1fr;gap:23px}.entry-footer{margin:0 28px}.entry-footer>span{margin-left:0;flex-basis:100%}.story-notebook{padding:28px}.story-notebook blockquote{font-size:19px}#story-brief-form{padding:28px}.workspace-prompt{font-size:16px}
}
@media(max-width:760px){
 .entry-header{height:65px;padding:0 20px;gap:12px}.entry-brand{font-size:27px}.entry-brand>span{font-size:23px;margin-left:4px}.entry-header nav{font-size:10px;gap:18px}main{padding:0 16px}
 .entry-hero{grid-template-columns:1fr;gap:18px;padding:16px 0 28px}.entry-copy{padding:0 3px}.entry-eyebrow{font-size:8px}.entry-copy h1{font-size:24px;margin:5px 0;line-height:1.4}.entry-intro{font-size:11px;line-height:1.8}
 .entry-conversation{height:calc(100vh - 195px);height:calc(100dvh - 195px);min-height:420px;border-radius:17px}.entry-conversation-head{padding:12px 14px;gap:10px}.entry-room-avatar{width:36px;height:36px;border-radius:12px;font-size:24px}.entry-room-title h2{font-size:14px}.entry-room-title p{font-size:9px}#clear-entry{font-size:10px;min-height:40px;padding-left:6px}
 .entry-chat{padding:20px 12px 10px}.entry-message{gap:7px;margin-bottom:19px}.entry-avatar{width:29px;height:29px;border-radius:10px;font-size:19px}.entry-message-content{max-width:calc(100% - 52px)}.entry-message.guide{position:relative;padding-bottom:13px}.entry-message.guide .entry-time{position:absolute;left:36px;bottom:0;margin:0}.entry-message.user .entry-message-content{max-width:calc(100% - 51px)}.entry-sender{font-size:9px}.entry-bubble{padding:11px 12px;font-size:15px;line-height:1.75}.entry-time{font-size:8px}.entry-chat-actions button,.entry-chat-actions a,.entry-candidates button{font-size:13px;min-height:44px;padding:8px 10px}
 .entry-prompts{gap:6px;padding:4px 12px 10px}.entry-prompts button{font-size:10px;padding:6px 10px;min-height:32px}.entry-composer{padding:11px 12px 9px}.entry-compose-row{gap:9px}#story-input{font-size:16px;height:57px;min-height:57px;line-height:1.55;padding:5px 1px}#entry-send{min-width:54px;min-height:42px;font-size:12px;padding:10px 12px}.writing-bottom{font-size:8px;gap:8px;margin-top:6px}.entry-demo-note{font-size:8px;line-height:1.6;margin-top:4px}#entry-error,.entry-feedback{font-size:10px}
 .entry-example{position:static;display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px 15px;padding:13px;border-radius:14px}.entry-reference-label{grid-column:1/-1;margin:0 0 2px;font-size:10px}.entry-photo{grid-column:1;grid-row:2/4;align-self:start}.entry-image-tag{top:6px;left:6px;font-size:6px;padding:3px 4px}.entry-example figcaption{grid-column:2;padding:0;align-self:center;gap:6px}.entry-example h2{font-size:13px;line-height:1.6}.entry-example figcaption p{font-size:9px}.entry-example figcaption>a{width:27px;height:27px;font-size:16px}.entry-example-index{font-size:9px}.entry-photo-note{grid-column:2;margin:0;font-size:8px;line-height:1.7}.entry-photo-note br{display:none}
 .entry-journey{padding:26px 3px;gap:22px}.entry-journey h2{font-size:22px}.entry-journey ol{grid-template-columns:1fr;gap:18px}.entry-journey li{gap:15px}.entry-journey h3{font-size:12px;margin-bottom:3px}.entry-journey li p{font-size:11px}.entry-journey li p br{display:none}.entry-footer{margin:0 20px;padding:24px 0 36px;gap:12px 20px}.entry-footer>p{font-size:11px}.entry-footer .entry-brand{font-size:25px}.entry-footer>span{font-size:8px}
 .entry-workspace{padding-top:32px}.workspace-head{align-items:flex-start}.workspace-head h2{font-size:23px}.workspace-head .entry-eyebrow{font-size:7px}.workspace-head>button{font-size:10px;white-space:nowrap;margin-top:21px}.workspace-grid{grid-template-columns:1fr}.story-notebook{padding:24px}.story-notebook blockquote{font-size:20px;margin:20px 0}.notebook-flower{font-size:27px}.story-notebook>p{font-size:10px}#story-brief-form{padding:24px}.workspace-prompt{font-size:17px}#story-brief-form input,#story-brief-form textarea,#story-brief-form select{font-size:16px;line-height:1.7}.brief-fields{gap:14px}.brief-extra>summary{min-height:44px}.design-guidance{font-size:11px;padding:13px 14px}.field-help{font-size:10px}#desired-date{min-width:0}.entry-brief-panel{padding:22px 20px;margin-top:20px}.entry-brief-panel h2{font-size:24px}.brief-panel-head{gap:10px}.brief-panel-head .entry-eyebrow{font-size:7px}#close-brief{font-size:10px}#brief-text{font-size:16px}.brief-description{font-size:11px}
}
@media(max-width:370px){
 .entry-header{padding:0 16px}.entry-header nav{gap:12px}.entry-brand{font-size:25px}.entry-brand>span{font-size:21px}main{padding:0 12px}.entry-copy h1{font-size:22px}.entry-intro{font-size:10px}.entry-conversation-head{padding:11px}.entry-chat{padding-left:10px;padding-right:10px}.entry-prompts{padding-left:10px;padding-right:10px;gap:5px}.entry-prompts button{font-size:9px;padding:6px 9px}.entry-example{grid-template-columns:96px minmax(0,1fr);gap:9px 12px}.entry-example h2{font-size:12px}.entry-example figcaption>a{display:none}.workspace-head h2{font-size:21px}.workspace-head>button{font-size:9px}
}
@media(prefers-reduced-motion:reduce){html,.entry-chat{scroll-behavior:auto}*{transition:none!important}}

/* Reference photos stay beside the familiar message composer. */
.entry-composer{position:relative;transition:background-color .15s,box-shadow .15s}
.entry-composer[data-file-drag="true"]{background:#f0f3e9;box-shadow:inset 0 0 0 2px #78866a}
.entry-attachment-toolbar{display:flex;align-items:center;gap:13px;min-height:40px;margin-top:5px}
#entry-attach{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:6px 9px 6px 0;color:var(--olive);font-size:12px;white-space:nowrap}
#entry-attach:disabled{opacity:.45;cursor:default}
.entry-attachment-hint,.entry-photo-help{font-size:10px;color:var(--muted);line-height:1.65}
.entry-photo-help{margin:3px 0 1px}
.entry-attachments{display:flex;gap:10px;padding:6px 2px 5px;max-width:100%;overflow-x:auto}
.entry-attachment{position:relative;flex:0 0 90px;min-width:0}
.entry-attachment>img{display:block;width:82px;height:72px;object-fit:contain;border-radius:9px;border:1px solid var(--line);background:#f6f5f0}
.entry-attachment>span{display:block;font-size:10px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:82px;margin-top:3px}
.entry-attachment-remove{position:absolute;top:-6px;right:0;width:30px;height:30px;border:1px solid #c7cebd;border-radius:50%;background:white;color:var(--ink);font-size:20px;line-height:1}
.entry-attachment-remove:disabled{opacity:.4;cursor:default}
.entry-attachment-status-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#entry-attachment-status{font-size:11px;color:var(--olive);overflow-wrap:anywhere}
#entry-attachment-status:empty{display:none}
#entry-attachment-retry{font-size:11px;border-bottom:1px solid var(--olive);min-height:32px}
.entry-message-photos{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;max-width:100%}
.entry-message-photos img{width:110px;height:100px;object-fit:contain;background:rgba(255,255,255,.65);border-radius:9px;border:1px solid rgba(86,96,74,.15)}
@media(max-width:760px){.entry-attachment-toolbar{gap:9px;margin-top:1px}#entry-attach{font-size:11px;min-height:40px}.entry-attachment-hint,.entry-photo-help{font-size:9px}.entry-attachment-hint{max-width:180px}.entry-attachment>img{height:60px;width:70px}.entry-attachment{flex-basis:78px}.entry-attachment>span{max-width:70px}.entry-attachment-remove{width:30px;height:30px}.entry-message-photos img{width:88px;height:85px}}

/* A selected concept stays visible beside its production details. */
#workspace-confirmed-preview:empty{display:none}#workspace-confirmed-preview{margin-top:18px;border-radius:14px;background:#f7f6f1;overflow:hidden}#workspace-confirmed-preview svg{display:block;width:100%;height:auto;max-height:350px}.story-notebook blockquote{font-size:15px;line-height:1.8;margin:20px 0;max-height:280px;overflow:auto}#workspace-title{max-width:720px}.entry-primary:disabled{opacity:.55;cursor:default}

.workspace-confirmation-status{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 20px;padding:16px 20px;border:1px solid #c5ccba;background:#edf0e4;font-size:13px}.workspace-confirmation-status button{min-height:44px;flex:none;padding:10px 14px;border:1px solid #a7b299;background:#fffdf7;border-radius:8px}@media(max-width:760px){.workspace-confirmation-status{display:block}.workspace-confirmation-status button{margin-top:12px}}

/* Preview cards share the same message stream and keep the composer available. */
.entry-design-message{width:100%;align-items:flex-start}
.entry-design-message .entry-message-content{width:calc(100% - 41px);max-width:calc(100% - 41px)}
.entry-design-message .entry-bubble{padding:14px;line-height:1.65}
.entry-design-message .entry-bubble>p:empty{display:none}
.entry-design-message .entry-time{display:block;margin-top:7px}
.entry-design-message .story-design-studio{width:100%;min-width:0;margin:0;padding:0;border:0}
.entry-conversation:has(.entry-design-message){height:min(920px,calc(100dvh - 110px));min-height:650px}
@media(max-width:760px){
 .entry-conversation:has(.entry-design-message){height:calc(100dvh - 100px);min-height:540px}
 .entry-design-message .entry-avatar{display:none}
 .entry-design-message .entry-message-content{width:100%;max-width:100%}
 .entry-design-message .entry-bubble{padding:12px;border-radius:13px}
 .entry-design-message .entry-bubble::before{display:none}
 .entry-design-message.guide .entry-time{position:static;margin-top:7px}
 .entry-design-message.guide{padding-bottom:0}
}

/* A quiet, familiar typing bubble; the status label remains available to assistive technology. */
.entry-typing-dots{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:46px;min-height:22px;padding:5px 2px;vertical-align:middle}
.entry-typing-dots>span{display:block;width:7px;height:7px;border-radius:50%;background:#8a9584;animation:entry-typing-bounce 1.25s ease-in-out infinite}
.entry-typing-dots>span:nth-child(2){animation-delay:.15s}.entry-typing-dots>span:nth-child(3){animation-delay:.3s}
@keyframes entry-typing-bounce{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-5px);opacity:1}}
@media(prefers-reduced-motion:reduce){.entry-typing-dots>span{animation:none;opacity:.7}}

.entry-pending-photo-label{font-size:11px;color:var(--olive);margin:5px 0 2px}
.entry-sent-photos{margin:3px 0 2px}
#entry-sent-photo-toggle{min-height:34px;padding:4px 9px;border:1px solid var(--line);border-radius:16px;color:var(--olive);font-size:11px;background:#f7f7f2}
#entry-sent-attachments{margin-top:8px}

.entry-color-dot[data-material="clear"]{background:conic-gradient(#e1e5e3 25%,#fff 0 50%,#e1e5e3 0 75%,#fff 0) 0 0/8px 8px;box-shadow:inset 0 0 0 1px #82918d88}

.entry-attachment-role{font-size:12px;padding:5px 8px;border:1px solid #cbd1c1;border-radius:6px;background:#fff;cursor:pointer}.entry-attachment-role[aria-pressed="true"]{background:#566149;color:white}.entry-attachment-toolbar{flex-wrap:wrap}#entry-attach-logo{display:inline-flex;align-items:center;gap:7px;background:none;border:1px solid #cbd1c1;border-radius:8px;color:inherit;padding:8px 12px;font:inherit;cursor:pointer}.entry-attachment{flex-wrap:wrap}

/* The same customer request stays legible alongside the conversation. */
.entry-sidebar{min-width:0;display:grid;gap:18px}
.entry-design-progress{border:1px solid var(--line);border-radius:16px;background:#fbfaf5;overflow:hidden}
.entry-design-progress>summary{cursor:pointer;padding:15px 17px;font-size:14px;font-weight:600;list-style:none}
.entry-design-progress>summary::after{content:'⌄';float:right;color:var(--olive)}
.entry-design-progress>summary span{display:block;font-size:11px;font-weight:400;color:var(--olive);margin-top:4px}
.entry-progress-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0;padding:5px 12px 12px}
.entry-progress-steps li{text-align:center;font-size:10px;color:#787e73;line-height:1.5}
.entry-progress-steps li>span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #cdd3c6;border-radius:50%;margin:0 auto 6px;background:white}
.entry-progress-steps li[data-state="current"]{color:var(--ink);font-weight:700}
.entry-progress-steps li[data-state="current"]>span{background:var(--olive);color:#fff;border-color:var(--olive)}
.entry-progress-steps li[data-state="done"]>span{background:#e7ebdf;color:#3d4932}
.entry-stage-detail{font-size:12px;line-height:1.7;margin:0 16px 13px}
.entry-design-summary{display:grid;grid-template-columns:65px minmax(0,1fr);gap:10px 9px;margin:0;padding:16px;border-top:1px solid var(--line);font-size:12px}
.entry-design-summary dt{color:var(--muted)}.entry-design-summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:110px;overflow:auto}
.entry-progress-note{padding:0 16px 16px;font-size:10px;color:var(--muted)}
.entry-save-panel{font-size:11px;color:var(--muted);padding:0 3px;overflow-wrap:anywhere}
.entry-save-panel[data-state="error"]{color:#794d2d;background:#fff5e8;border:1px solid #e1c9ae;border-radius:10px;padding:12px}
.entry-save-panel button{font-size:11px;min-height:36px;text-decoration:underline;text-underline-offset:3px;padding:7px 7px 0 0}
.entry-sidebar .entry-example{padding:15px;border-radius:15px}.entry-sidebar .entry-photo{max-height:170px}.entry-sidebar .entry-photo img{max-height:170px;object-fit:cover}.entry-sidebar .entry-example h2{font-size:14px}
.entry-inline-examples{padding:32px 0;border-top:1px solid var(--line);scroll-margin-top:20px}
.entry-inline-examples h2{font-size:23px;letter-spacing:-.04em;margin:5px 0 10px;font-weight:500}.entry-inline-examples p{color:var(--muted);font-size:12px;line-height:1.8}
.entry-example-ideas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
.entry-example-ideas article{display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-radius:14px;padding:18px;background:#fbfaf5;min-width:0}
.entry-example-ideas img,.entry-example-symbol{width:110px;height:110px;object-fit:cover;border-radius:10px;flex:none}.entry-example-symbol{display:grid;place-items:center;color:var(--olive);font-size:60px;background:#ebece2}
.entry-example-ideas h3{font-size:15px;font-weight:500;margin-bottom:7px}.entry-example-ideas button,.entry-return-chat{display:inline-block;font-size:12px;min-height:40px;padding:10px 0;text-decoration:underline;text-underline-offset:4px}
.entry-composer-help{font-size:10px;color:var(--muted);margin:3px 0}.entry-composer-help summary{cursor:pointer;min-height:25px;padding:3px 0}.entry-composer-help p{margin:6px 0}
@media(max-width:760px){
 .entry-sidebar{grid-column:1/-1;grid-row:2;gap:6px}.entry-conversation{grid-column:1/-1;grid-row:3}
 .entry-sidebar .entry-example{display:none}.entry-design-progress>summary{padding:10px 13px;font-size:12px}.entry-design-progress>summary span{display:inline;margin-left:12px;font-size:10px}
 .entry-progress-steps{max-width:360px;margin:auto}.entry-design-summary{grid-template-columns:74px minmax(0,1fr);font-size:12px;padding:12px}.entry-stage-detail{margin:0 13px 10px}
 .entry-conversation,.entry-conversation:has(.entry-design-message){height:auto;min-height:0;grid-template-rows:auto auto auto auto}
 .entry-chat{height:clamp(240px,45dvh,420px);min-height:240px;max-height:420px}
 .entry-composer{padding:12px}.entry-photo-help{font-size:10px}.entry-example-ideas{grid-template-columns:1fr}.entry-example-ideas article{gap:13px;padding:14px}.entry-example-ideas img,.entry-example-symbol{width:82px;height:82px}.entry-inline-examples h2{font-size:21px}
}

/* Status link in the chat message that logs a sent quote request. */
.entry-bubble>a.entry-quote-link{display:inline-flex;margin-top:12px;font-size:13px;text-decoration:none}
@media(max-width:700px){.entry-bubble>a.entry-quote-link{font-size:12px}}

/* The picked answer that replaces a reply's choice buttons. */
.entry-chosen{margin-top:10px;font-size:13px;line-height:1.7;color:var(--muted)}

/* Order form shown as a chat message after a design is confirmed: quantity and extra requests only. */
.entry-order-form{display:grid;gap:6px;max-width:440px;margin-top:12px}
.entry-order-form label{margin-top:6px;font-size:12px;color:#46513d}
.entry-order-form input,.entry-order-form textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #cbd3bf;border-radius:8px;background:#fff;color:#30382b;font:inherit;font-size:15px;line-height:1.6}
.entry-order-form input:focus,.entry-order-form textarea:focus{outline:2px solid #8a9a74;outline-offset:1px}
.entry-order-form .studio-primary{justify-self:start;margin-top:10px}
.entry-order-status{min-height:0;font-size:13px;color:#8a4b2f}.entry-order-status:empty{display:none}
@media(max-width:760px){.entry-order-form input,.entry-order-form textarea{font-size:16px}}
.entry-order-image{display:block;width:min(100%,240px);height:auto;margin-top:10px;border-radius:10px;background:#f1f1ea}
.entry-order-summary .entry-chosen{margin-top:6px}.entry-order-summary{margin-top:10px}
@media(max-width:760px){.entry-order-image{width:min(100%,140px)}}
/* Logo placement message (story-start.js syncLogoMessage): small cards to pick the design, the editor, confirm. */
.entry-logo-place{margin-top:12px}
.entry-logo-place .logo-editor{margin:12px 0}
.logo-place-picks{display:flex;flex-wrap:wrap;gap:8px}
.logo-place-pick{display:grid;justify-items:center;gap:4px;width:80px;padding:6px 6px 8px;border:2px solid transparent;border-radius:10px;background:#f7f5ee;color:#353d30;font:inherit;font-size:12px;line-height:1.4;cursor:pointer}
.logo-place-pick[aria-pressed=true]{border-color:#596b43}
.logo-place-pick:disabled{opacity:.5;cursor:default}
.logo-place-pick img{display:block;width:64px;height:64px;object-fit:contain}
.entry-logo-place>.studio-primary{margin-top:4px}
.entry-logo-place>.quote-status{margin:0 0 8px}
.entry-logo-place>.logo-composite-preview{display:block;width:min(100%,240px);margin:10px 0;border-radius:10px}
