.write-choice{max-width:860px;margin:36px auto 70px}.write-choice .back{margin-bottom:54px}.eyebrow{font-size:11px;letter-spacing:1.6px;color:var(--muted);margin-bottom:13px}.write-choice h1{font-size:36px;letter-spacing:-1.3px;margin:0 0 10px}.choice-lead{color:var(--muted);font-size:16px;margin-bottom:38px}.write-paths{display:grid;grid-template-columns:1fr 1fr;gap:20px}.write-path{position:relative;text-align:left;display:flex;flex-direction:column;align-items:flex-start;padding:32px;min-height:310px;border:1px solid var(--line);background:var(--panel);border-radius:12px;transition:border-color .2s,background .2s}.write-path:hover:not(:disabled){border-color:var(--accent);background:var(--panel)}.path-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:var(--soft);margin-bottom:27px}.path-icon svg{width:23px;height:23px}.conversation-path .path-icon{background:var(--sage);color:var(--accent)}.path-number{position:absolute;right:28px;top:30px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.write-path strong{font-size:25px;font-weight:650;letter-spacing:-.7px;margin-bottom:9px}.write-path>span:not([class]){font-size:15px;color:var(--muted);line-height:1.75}.path-bottom{width:100%;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:20px;margin-top:27px;font-size:13px}.choice-note{font-size:13px;color:var(--muted);margin:25px 0}.resume-note{display:flex;align-items:center;gap:9px;font-size:13px;padding:15px 0;border-bottom:1px solid var(--line);margin-bottom:0}.resume-note svg{width:16px}.studio{margin-top:22px;margin-bottom:20px}.shell:has(.studio) .topbar{height:76px}.shell:has(.studio) .searchbox{display:none}.shell:has(.studio) .top-actions{margin-left:auto}.shell:has(.studio) #footer{display:none}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.studio-heading-left,.studio-heading-right{display:flex;align-items:center;gap:15px}.studio-heading h1{font-size:21px;letter-spacing:-.6px;margin:0;white-space:nowrap}.studio-heading .icon-button{padding:8px;min-width:36px}.studio-heading-right>span{font-size:11px;color:var(--muted)}.studio-heading-right>.primary{font-size:13px}.write-switch{display:flex;background:var(--soft);padding:3px;border-radius:8px;gap:2px}.write-switch button{font-size:12px;min-height:32px;padding:6px 11px;border-radius:5px;white-space:nowrap}.write-switch button[aria-pressed=true]{background:var(--panel);box-shadow:0 1px 4px #0000000d;font-weight:650}.write-switch svg{width:13px;height:13px;margin-right:3px}.studio-error{color:var(--red);font-size:13px;margin:0;line-height:1.7}.studio-error:not(:empty){padding:12px 0}.studio-columns{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);height:calc(100dvh - 180px);min-height:560px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--panel)}.studio-left,.studio-right{min-width:0;min-height:0;display:flex;flex-direction:column}.studio-left{border-right:1px solid var(--line)}.studio-pane-label{display:flex;align-items:center;justify-content:space-between;gap:12px;height:52px;min-height:52px;padding:0 24px;border-bottom:1px solid var(--line);font-size:13px;background:var(--panel)}.studio-pane-label>span{display:flex;align-items:center;gap:8px;font-weight:600}.studio-pane-label svg{width:16px;height:16px;color:var(--muted)}.studio-pane-label small{font-size:11px}.studio-pane-label button{font-size:12px;min-height:32px;padding:6px 8px}.studio-pane-label button svg{width:13px;height:13px;margin-right:3px}.studio-messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px}.chat-welcome{padding:35px 4px 20px}.welcome-mark{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:50%;background:var(--sage);color:var(--accent);margin-bottom:22px}.welcome-mark svg{width:23px;height:23px}.chat-welcome h2{font-size:25px;letter-spacing:-.8px;font-weight:650;margin-bottom:12px}.chat-welcome p{font-size:14px;color:var(--muted);line-height:1.85;margin-bottom:28px}.starter-questions{display:flex;flex-direction:column;align-items:start;gap:8px}.starter-questions button{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:40px;text-align:left;font-size:12px;padding:10px 13px;border:1px solid var(--line);border-radius:7px;background:var(--bg);width:100%}.starter-questions svg{width:14px;height:14px;color:var(--muted)}.conversation-message{margin:0 0 25px;font-size:14px;line-height:1.85}.conversation-message .message-who{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:650;margin-bottom:8px;color:var(--muted)}.message-who svg{width:13px;height:13px}.conversation-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}.conversation-message.user{padding:14px 17px;background:var(--soft);border-radius:9px;margin-left:28px}.conversation-message.assistant{padding:0 5px}.conversation-message.assistant .message-who{color:var(--accent)}.message-photos{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}.message-photos img{height:100px;max-width:145px;object-fit:cover;border-radius:6px}.conversation-message.pending p{font-size:12px;color:var(--muted)}.thinking-dots{letter-spacing:3px;font-size:20px;animation:thinking 1.4s infinite}.conversation-error{font-size:13px;border-left:2px solid var(--red);padding:10px 15px;background:var(--rose);border-radius:0 5px 5px 0;margin:10px 0}.conversation-error p{margin:0 0 5px}.conversation-error button{font-size:12px;padding:4px;min-height:30px}.conversation-error svg{width:13px;height:13px}.chat-composer{margin:0 20px;border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:12px 12px 8px;flex-shrink:0}.chat-composer:focus-within{border-color:var(--accent)}.chat-composer textarea{border:0;background:transparent;resize:none;width:100%;min-height:62px;max-height:150px;padding:3px 4px;font-size:14px;line-height:1.75;outline:none!important}.composer-actions{display:flex;align-items:center;gap:8px}.composer-actions>button:first-child{font-size:12px;padding:6px;min-height:36px}.composer-actions svg{width:17px;height:17px}.composer-actions>span{margin-left:auto;font-size:10px;color:var(--muted)}.composer-actions .send-message{width:34px;min-height:34px;background:var(--ink);color:var(--inverse);border-radius:50%;padding:7px;margin-left:5px}.composer-actions .send-message:hover:not(:disabled){background:var(--accent)}.chat-footnote{font-size:10px;color:var(--muted);padding:0 20px;text-align:center;line-height:1.6;margin:9px 0 14px}.composer-attachments{display:flex;gap:8px}.composer-attachments figure{margin:0 0 8px}.composer-attachments img{width:64px;height:64px;object-fit:cover;border-radius:6px}.composer-attachments figcaption{font-size:10px;color:var(--muted)}.studio-right{background:var(--bg)}.studio-preview-scroll{padding:28px 30px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.live-draft{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:24px;min-height:400px}.draft-byline{display:flex;align-items:center;gap:8px;margin-bottom:20px;font-size:11px}.draft-byline .avatar{width:25px;height:25px;font-size:10px}.draft-state{margin-left:auto;font-size:10px;color:var(--muted);background:var(--soft);padding:2px 7px;border-radius:4px}.draft-photos{margin-bottom:22px;display:grid;gap:7px}.draft-photos img{display:block;width:100%;max-height:330px;object-fit:contain;background:var(--bg);border-radius:5px}.draft-photos.multiple{grid-template-columns:1fr 1fr}.draft-photos.multiple img{height:185px;object-fit:cover}.draft-categories{display:flex;gap:7px;font-size:11px;color:var(--muted);margin-bottom:10px}.live-draft h2{font-size:25px;line-height:1.45;letter-spacing:-.8px;margin:0 0 14px;font-weight:650}.draft-summary{font-size:14px;color:var(--muted);line-height:1.8;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.draft-prose{font-size:14px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}.draft-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:24px}.draft-tags span{font-size:10px;color:var(--muted);background:var(--soft);padding:4px 7px;border-radius:4px}.draft-resource{padding:15px;background:var(--soft);border-radius:6px;margin-top:18px}.draft-resource>span{font-size:11px;color:var(--muted)}.draft-resource pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;margin:7px 0 0}.draft-reference{overflow-wrap:anywhere}.preview-foot{display:flex;align-items:center;gap:6px;padding:12px 23px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);background:var(--panel)}.preview-foot svg{width:12px;height:12px}.preview-foot>span{margin-left:auto}.draft-empty{margin:36px auto;max-width:310px;padding:24px 5px;text-align:center}.empty-page-icon{display:inline-grid;place-items:center;width:54px;height:66px;background:var(--panel);border:1px solid var(--line);border-radius:6px;margin-bottom:24px;color:var(--muted)}.empty-page-icon svg{width:24px;height:24px}.draft-empty h2{font-size:19px;font-weight:600;margin:0 0 10px}.draft-empty p{font-size:13px;color:var(--muted);line-height:1.9}.page-skeleton{border:1px solid var(--line);background:var(--panel);border-radius:7px;padding:25px;margin:30px auto;width:80%;opacity:.6}.page-skeleton span{display:block;height:5px;background:var(--soft);margin:9px 0}.page-skeleton span:first-child{height:7px;width:60%;margin-bottom:17px}.page-skeleton span:last-child{width:75%}.studio-editor-scroll{padding:24px;overflow:auto;flex:1;min-height:0}.studio-editor label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.studio-editor input,.studio-editor textarea{width:100%;border:1px solid var(--line);background:var(--panel);border-radius:6px;padding:10px 12px;font-size:14px;line-height:1.8;resize:vertical}.studio-editor #studio-title{font-size:18px;font-weight:600}.studio-editor .field{margin-bottom:22px}.studio-resources{border-top:1px solid var(--line);padding-top:15px;font-size:12px;margin:22px 0}.studio-resources summary{cursor:pointer;margin-bottom:14px}.studio-photo-controls>button{font-size:12px;border-radius:6px}.studio-photo-controls>small{display:block;font-size:11px;margin:9px 0 12px}.editor-photos{display:flex;flex-wrap:wrap;gap:8px}.editor-photos figure{margin:0;position:relative}.editor-photos img{width:100px;height:100px;border-radius:5px;object-fit:cover}.editor-photos button{position:absolute;right:3px;top:3px;padding:3px;width:25px;min-height:25px;background:var(--panel);border-radius:50%}.editor-photos button svg{width:14px;height:14px}.draft-working{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--accent);padding:0 0 14px}.draft-working svg{width:14px;height:14px;animation:spin 2s linear infinite}.studio.dragging .studio-columns{outline:3px dashed var(--accent);outline-offset:3px}.studio-mobile-tabs{display:none}.article-extra-image{display:block;width:100%;height:auto;max-height:550px;object-fit:contain;border-radius:8px;margin:18px 0;background:var(--soft)}
#studio-review{border:1px solid var(--line);border-radius:12px;padding:27px;background:var(--panel);color:var(--ink);width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 12px 70px #00000026}#studio-review::backdrop{background:#1b211b66}.review-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:15px}.review-dialog-head .eyebrow{font-size:10px;margin-bottom:8px}.review-dialog-head h2{font-size:25px;margin-bottom:15px}.review-dialog-head button{margin-top:-8px;margin-right:-10px}.review-draft-title{font-size:15px;font-weight:600;padding:13px;background:var(--soft);border-radius:6px;margin-bottom:14px}.review-filters{font-size:13px;margin:10px 0 22px}.review-filters summary{cursor:pointer;margin-bottom:15px}.review-filters fieldset{border:0;padding:0;margin:15px 0}.review-filters legend{font-size:12px;color:var(--muted);margin-bottom:8px}.review-filters .choice{font-size:12px;min-height:36px;padding:6px 8px}.review-dialog-actions{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:20px;margin-top:16px}
@keyframes thinking{50%{opacity:.35}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.shell:has(.studio){max-width:1450px}.studio-columns{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.studio-preview-scroll{padding:32px 48px}.live-draft{padding:30px}.draft-prose{font-size:15px}}
@media(max-width:1050px){.studio-heading-right>span{display:none}.studio-heading-left{gap:9px}.studio-heading h1{font-size:18px}.studio-pane-label{padding:0 17px}.studio-pane-label small{display:none}.studio-preview-scroll{padding:22px 19px}.studio-messages{padding:22px 18px}.live-draft{padding:20px}.studio-columns{grid-template-columns:1fr 1fr}.studio-heading-right>.primary{font-size:12px;padding:9px 12px}.composer-actions>span{font-size:9px}.studio-heading .icon-button{min-width:30px;padding:5px}}
@media(max-width:820px){.studio{margin-top:17px}.shell:has(.studio) .topbar{height:68px;display:flex;padding:0;gap:18px}.shell:has(.studio) .topbar .brand{font-size:30px}.shell:has(.studio) .topbar .nav{margin-left:auto}.shell:has(.studio) .top-actions{margin-left:0}.shell:has(.studio) .write-button{display:none}.studio-heading{flex-wrap:wrap;gap:10px;margin-bottom:15px}.studio-heading-left{flex:1}.studio-heading h1{display:none}.studio-heading-right{margin-left:auto}.studio-heading-right .primary{font-size:11px;min-height:38px;padding:8px 10px}.studio-heading-right svg{width:14px;height:14px}.studio-mobile-tabs{display:flex;border-bottom:1px solid var(--line);gap:20px;margin:0 0 12px}.studio-mobile-tabs button{font-size:13px;min-height:40px;padding:7px 2px;border-radius:0;color:var(--muted)}.studio-mobile-tabs button[aria-pressed=true]{color:var(--ink);border-bottom:2px solid var(--ink);font-weight:650}.draft-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--accent);vertical-align:middle;margin-left:4px}.studio-columns{display:block;height:calc(100dvh - 220px);min-height:510px}.studio-left,.studio-right{height:100%;border:0}.studio[data-mobile=conversation] .studio-right{display:none}.studio[data-mobile=preview] .studio-left{display:none}.studio-pane-label{height:46px;min-height:46px;padding:0 18px;font-size:12px}.studio-pane-label small{display:block;font-size:10px}.studio-preview-scroll{padding:20px}.studio-messages{padding:20px}.chat-welcome{padding:24px 0 12px}.chat-welcome h2{font-size:24px}.chat-composer{margin:0 14px}.chat-composer textarea{font-size:16px;min-height:60px}.chat-footnote{font-size:9px;margin-bottom:12px}.write-choice{margin:24px auto 35px}.write-choice .back{margin-bottom:32px}.write-choice h1{font-size:29px}.choice-lead{font-size:14px;margin-bottom:24px}.write-paths{gap:14px}.write-path{padding:23px;min-height:290px}.write-path strong{font-size:22px}.write-path>span:not([class]){font-size:13px}.studio-editor input,.studio-editor textarea{font-size:16px}.studio-editor-scroll{padding:20px}.studio-right .studio-editor{padding:0}.live-draft h2{font-size:25px}.draft-prose{font-size:15px}.composer-actions>span{font-size:9px}}
@media(max-width:480px){.write-paths{grid-template-columns:1fr}.write-path{min-height:0;padding:23px 25px}.path-icon{position:absolute;right:25px;top:25px;margin:0}.path-number{display:none}.write-path strong{padding-right:55px;font-size:23px}.path-bottom{margin-top:20px;padding-top:15px}.choice-note,.resume-note{font-size:12px}.studio-heading-left{gap:5px}.write-switch button{font-size:11px;padding:6px 9px}.write-switch svg{display:none}.studio-heading-right>.primary{font-size:11px}.studio-heading-right>.primary svg{display:none}.studio-preview-scroll{padding:15px}.live-draft{padding:18px}.studio-messages{padding:18px 15px}.conversation-message.user{margin-left:15px}.studio-pane-label small{display:none}.composer-actions>span{display:none}.composer-actions .send-message{margin-left:auto}.chat-footnote{font-size:9px}.studio-mobile-tabs{gap:24px}.preview-foot{padding:12px 15px}.preview-foot>span{font-size:9px}#studio-review{padding:21px}.review-dialog-head h2{font-size:23px}.draft-photos.multiple img{height:140px}}
@media(prefers-reduced-motion:reduce){.thinking-dots,.draft-working svg{animation:none}.write-path{transition:none}}
.context-count{display:inline-block;min-width:18px;margin-left:4px;padding:0 4px;border-radius:4px;background:var(--soft);font-variant-numeric:tabular-nums;color:var(--muted)}
#studio-context{border:1px solid var(--line);border-radius:12px;padding:27px;background:var(--panel);color:var(--ink);width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 12px 70px #00000026}#studio-context::backdrop{background:#1b211b66}.context-lead{font-size:14px;line-height:1.85;color:var(--muted);margin-bottom:25px}.context-group{margin:25px 0}.context-group h3{font-size:12px;color:var(--muted);font-weight:600;margin:0 0 10px}.context-entry{padding:14px 0;border-top:1px solid var(--line)}.context-entry>p{font-size:14px;line-height:1.8;margin:0 0 7px;overflow-wrap:anywhere}.context-entry-actions{display:flex;align-items:flex-start;gap:12px}.context-entry-actions details{min-width:0;flex:1;font-size:11px;color:var(--muted)}.context-entry-actions summary{cursor:pointer;min-height:30px;padding:6px 0}.context-entry-actions button{font-size:11px;min-height:30px;padding:5px 8px;color:var(--accent);white-space:nowrap}.context-entry blockquote{font-size:13px;line-height:1.8;margin:8px 0 0;border-left:2px solid var(--line);padding:2px 12px;white-space:pre-wrap;overflow-wrap:anywhere}.context-entry blockquote span{display:block;font-size:10px;margin-bottom:4px}.context-note,.context-empty{font-size:12px;line-height:1.8;color:var(--muted)}.context-note{border-top:1px solid var(--line);padding-top:18px;margin-top:25px}@media(max-width:480px){#studio-context{padding:21px}.context-lead{font-size:13px}.context-entry-actions button{min-height:36px}}
/* The chosen first photo is also the gallery cover; no generation wait on publish. */
.editor-photos .representative-photo{position:static;display:block;width:100%;min-height:32px;padding:5px 8px;margin-top:4px;border-radius:4px;font-size:11px;background:var(--soft);color:var(--muted)}
.editor-photos .representative-photo[aria-pressed=true]{background:var(--ink);color:var(--inverse)}
.draft-auto-cover{margin-bottom:22px}
.draft-auto-cover .cover{height:auto;aspect-ratio:3/2}
