.reply-studio {max-width:1024px;margin-inline:auto;}
.reply-workspace {margin-top:22px;border-top:1px solid var(--theme-line);padding-top:22px;}
.coach-intro,.voice-toolbar,.coach-header {display:flex;gap:20px;align-items:center;}
.coach-intro {background:var(--theme-wash);border-radius:12px;padding:clamp(16px,2.3vw,32px);}
.coach-intro .loco-portrait {width:clamp(80px,9vw,112px);}
.coach-intro .mascot,.voice-toolbar .mascot,.coach-header .mascot {width:100%;height:auto;max-height:100px;}
.coach-intro h2 {font-size:clamp(19px,1.65vw,25px);}
.coach-intro p,.coach-content p {line-height:1.75;}
.coach-intro p {max-width:39em;margin-top:6px;}
.voice-toolbar .loco-portrait {width:74px;}
.voice-toolbar .loco-portrait figcaption {font-size:10px;}
.voice-toolbar strong {font-size:18px;}
.voice-toolbar .link {margin-top:7px;}
.reply-note,.public-draft {margin:22px 0 16px;}
.reply-note {border-block:1px solid var(--theme-line);padding:14px 0;}
.reply-note summary,.coach-context summary {cursor:pointer;font-weight:650;width:fit-content;}
.reply-note label:not(.note-choice),.public-draft>label {display:block;font-weight:700;margin:14px 0 7px;}
.reply-note label small,.field-help {color:#625854;font-weight:400;font-size:14px;}
.field-help {margin-top:6px;}
.reply-note textarea {min-height:78px;}
.note-choice {display:flex;align-items:center;gap:8px;font-size:15px;margin:13px 0 0;}
.note-choice input {width:18px;height:18px;accent-color:var(--theme-ink);}
.reply-note input:not([type=checkbox]),.voice-fields input,.voice-fields select {width:100%;padding:10px 12px;border:1px solid #d2c7c5;border-radius:7px;font:inherit;color:inherit;background:#fff;}
.public-draft textarea {min-height:135px;}
.learn-edit {display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding-top:12px;}
#reply-coach {padding:0;width:min(560px,calc(100vw - 28px));max-width:none;max-height:88dvh;overflow:auto;box-shadow:0 20px 70px #31231f29;}
.coach-header {gap:14px;border-bottom:1px solid var(--theme-line);padding:18px 24px;background:var(--theme-paper);}
.coach-header .loco-portrait {width:70px;}
.coach-header h2 {font-size:clamp(19px,2vw,24px);outline:none;}
.coach-header small {display:block;font-size:14px;color:#695d58;}
.coach-close {margin-left:auto;align-self:flex-start;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;color:#615752;padding:7px;white-space:nowrap;}
.coach-content {padding:22px 24px 26px;}
.coach-prompt {font-size:18px;font-weight:700;display:block;}
.coach-content textarea {margin-top:12px;min-height:94px;}
.voice-examples {display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px;}
.voice-chip {border:1px solid var(--theme-line);border-radius:18px;padding:6px 12px;background:var(--theme-paper);font-size:14px;}
.voice-chip:hover {border-color:var(--theme-ink);}
.coach-context {border-top:1px solid var(--theme-line);margin-top:18px;padding-top:14px;font-size:14px;}
.coach-context p {margin-top:5px;overflow-wrap:anywhere;}
.owner-said,.coach-content blockquote {background:var(--theme-wash);border-radius:8px;padding:12px 16px;white-space:pre-wrap;overflow-wrap:anywhere;}
.voice-summary {margin:16px 0;}
.voice-summary div {display:grid;grid-template-columns:8.5em 1fr;gap:6px;padding:8px 0;border-bottom:1px solid var(--theme-line);}
.voice-summary dt {color:#574c45;}
.voice-summary dd {margin:0;font-weight:700;overflow-wrap:anywhere;}
.voice-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0;}
.voice-fields label {min-width:0;}
.voice-fields label:last-child {grid-column:1/-1;}
.voice-fields span {display:block;font-size:14px;font-weight:700;margin-bottom:5px;}
.reply-studio [hidden] {display:none;}
@media(max-width:560px){
 .coach-intro{align-items:flex-start;gap:12px;display:grid;grid-template-columns:60px 1fr;}
 .coach-intro .loco-portrait{width:60px;}.coach-intro .loco-portrait figcaption{font-size:10px;}
 .coach-intro p{font-size:15px;}.coach-intro .actions{gap:12px;}
 .coach-header,.coach-content{padding:16px;}.voice-fields{grid-template-columns:1fr;}
 .coach-header .loco-portrait{width:56px;}.coach-header{gap:10px;}.coach-close{font-size:14px;}
}
#note-advice {margin-top:12px;color:#50463e;font-size:15px;line-height:1.7;}
#note-advice .advice-example {margin:5px 0 8px;font-weight:650;}
.coach-header .loco-portrait figcaption {flex-direction:column;align-items:center;font-size:11px;}
.coach-header .loco-portrait figcaption span,.coach-intro .loco-portrait figcaption span,.voice-toolbar .loco-portrait figcaption span {white-space:nowrap;}
