.brief-story,.brief-story * {box-sizing:border-box}
.brief-story {position:absolute;inset:0;display:grid;align-items:center;background:#20251f;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;isolation:isolate;overflow:hidden}
.motion-page .brief-story {top:50px}
.brief-composition {width:min(1010px,calc(100% - 64px));margin:0 auto;padding:14px 0 58px}
.brief-heading {text-align:center;margin:0 auto clamp(18px,3.4vh,38px)}
.brief-story small,.brief-story header>span:last-child,.brief-story footer>span:first-child,.source-heading>span,.doc-source {font-size:11px;line-height:1.4;font-weight:500;letter-spacing:.01em}
.brief-heading>small {color:#c1c9b9}
.brief-story .brief-heading h2 {font-size:clamp(25px,3vw,41px);line-height:1.1;letter-spacing:-.048em;font-weight:570;color:#fafbf8;margin:9px 0 7px}
.brief-story .brief-heading p {font-size:15px;color:#ccd2c6;margin:0;line-height:1.45}
.brief-workspace {height:clamp(337px,48svh,404px);position:relative;isolation:isolate}
.brief-window {position:absolute;left:0;top:0;width:calc(50% - 15px);height:100%;display:flex;flex-direction:column;text-align:left;background:#fff;color:#222620;border-radius:12px;overflow:hidden;border:1px solid #d7ddcf;box-shadow:0 12px 35px #11190f24;transform-origin:center center;will-change:transform,opacity}
.brief-window>header,.brief-window>footer {position:static;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 19px;border:0;box-shadow:none;min-height:41px;background:#f9faf6;color:#60695b}
.brief-window>header {border-bottom:1px solid #dfe3da}
.brief-window>footer {margin-top:auto;border-top:1px solid #dfe3da;min-height:44px}
.brief-window .service {display:flex;align-items:center;gap:5px;color:#282e25;font-size:13px;font-weight:650;letter-spacing:-.025em}
.brief-window .service-mark {display:inline-flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px}
.service-mark svg {width:100%;height:100%;fill:currentColor}
.service-mark.chatgpt {background:#10a37f;color:white;border-radius:4px;padding:2px}
.service-mark.claude {color:#d97757}
.summary-source {display:inline-flex;align-items:center;gap:4px}
.summary-source .service-mark {width:15px;height:15px}
.brief-logo {height:17px;width:17px;object-fit:contain}
.brief-window h3 {font-size:21px;line-height:1.17;font-weight:600;letter-spacing:-.044em;color:#20251f;margin:0}
.source-heading {display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding:17px 19px 13px}
.source-heading>span,.doc-source {color:#626d5b}
.transcript-window {position:relative;margin:0 18px;overflow:hidden;flex:1;min-height:0;mask-image:linear-gradient(transparent,#000 5%,#000 94%,transparent)}
.transcript-lines {position:relative;margin-right:12px}
.utterance {padding:6px 8px;margin:0 0 8px;max-width:90%;width:fit-content}
.brief-story .utterance p,.brief-story .dest-body p,.brief-story dd {font-size:14px;line-height:1.43;letter-spacing:-.012em;margin:0}
.utterance.by-user {margin-left:auto;padding:8px 12px;background:#eef1e9;border-radius:10px 10px 2px 10px}
.utterance small,.draft>small,.pasted>small {color:#555f4f;font-weight:650}
.utterance mark {background:#dee6d2;color:#35432a;font-weight:600}
.illustrated-action {display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 12px;border-radius:16px;background:#465437;color:white;font-size:12px;font-weight:580}
.illustrated-action img {filter:brightness(0) invert(1);width:14px;height:14px}
.source.activated .illustrated-action {background:#303b25;box-shadow:0 0 0 3px #d1dac7}
.brief-window.summary {background:#fffffc}
.summary-body {min-height:0;flex:1;display:flex;flex-direction:column;padding:clamp(12px,2svh,22px) clamp(14px,2vw,23px) 12px}
.summary-body h3 {margin:0 0 12px}
.result-metrics {display:grid;grid-template-columns:1fr 1.65fr 1fr;gap:5px;margin:12px 0 0;padding:12px 0;border-top:1px solid #dfe4d8;border-bottom:1px solid #dfe4d8}
.result-metrics div {display:flex;flex-direction:column-reverse;align-items:flex-start;gap:3px}
.result-metrics dt {font-size:11px;color:#616c59}
.brief-story .result-metrics dd {font-size:clamp(16px,1.7vw,22px);font-weight:620;letter-spacing:-.045em;line-height:1.15;color:#35442c;white-space:nowrap;font-variant-numeric:tabular-nums}
.result-metrics dd span {color:#79866c;font-size:.75em;vertical-align:.08em}
.result-text {min-height:0;overflow:auto;white-space:pre-line;line-height:1.48;font-size:13px;color:#394034}
.result-text:focus-visible {outline:2px solid #738365;outline-offset:2px}
@media(max-width:390px){.result-metrics{grid-template-columns:.85fr 1.55fr 1fr}.result-text{font-size:12px}}
.brief-story .doc-source {margin:0 0 5px}
.dest-body {padding:14px 20px;overflow:auto}
.dest-body .pasted {margin-left:auto;max-width:94%;background:#eef1e9;border-radius:12px 12px 3px 12px;padding:9px 12px}
.brief-story .pasted p {font-size:12px;line-height:1.42;color:#50594a;margin-top:3px}
.brief-story .draft h3 {font-size:19px;margin:4px 0 6px}
.brief-story .draft strong {font-weight:600;background:rgb(221 230 210 / var(--emphasis,0));color:#38482d}
.scroll-stage:has(.brief-story:not([aria-hidden="true"])) .chapter-seek button {color:#c4ccbd}
.scroll-stage .chapter-seek button[aria-current] {color:white}
.scroll-stage .chapter-seek i {background:#626d59}
.scroll-stage .chapter-seek i::after {background:#e1e7da}
.static-brief {position:relative;height:calc(100svh - var(--header-space,0px));min-height:500px}
.static-brief .brief-story {top:0}
@media(max-width:799px){
 .brief-composition {width:min(490px,calc(100% - 28px));padding-bottom:50px}
 .brief-window {width:100%}
 .brief-workspace {height:395px;max-height:55svh;min-height:330px}
 .brief-heading {text-align:left;margin-bottom:19px}
 .brief-story .brief-heading p {font-size:13px}
 .brief-window h3 {font-size:19px}
 .brief-story .dest-body p,.brief-story dd,.brief-story .utterance p {font-size:13px}
 .brief-story .pasted p {font-size:11.5px}
}
@media(max-height:700px) and (min-width:800px){.brief-composition{padding-bottom:30px}.brief-workspace{height:350px}.brief-story dl>div{padding:6px 0}.summary-body{padding-top:10px}}
@media(max-height:570px){.brief-heading>small,.brief-heading>p{display:none}.brief-heading{margin-bottom:8px}.brief-composition{padding:4px 0 37px}.brief-workspace{min-height:0;height:calc(100svh - 154px)}.summary-body,.dest-body{overflow:auto}}
.brief-window button.illustrated-action {border:0;font-family:inherit;cursor:pointer}
.brief-window button.illustrated-action:hover {background:#35432c}
.brief-window button.illustrated-action:focus-visible {outline:2px solid #738365;outline-offset:2px}
.brief-story .pasted p {white-space:pre-line}
.transcript-track {position:absolute;top:9px;bottom:10px;right:1px;width:4px;border-radius:4px;background:#e1e5da;pointer-events:none}
.transcript-track i {display:block;width:100%;background:#79866d;border-radius:inherit}
.brief-story .summarize {pointer-events:none}
.dest-body .draft {margin-top:15px}
@media(max-width:420px){.scroll-stage .chapter-seek {gap:9px}.scroll-stage .chapter-seek button {font-size:11px}}

.brief-story .draft p + p {margin-top:7px}
