/* Writer 3 uses the application palette, type and controls. No independent shell or fixed monitor assumption. */ .writer3{color:var(--pd-text);max-width:1540px;margin:0 auto;padding:clamp(1rem,2.2vw,2rem) clamp(.5rem,1.5vw,1.5rem) 1.5rem;min-width:0} .writer3-header{display:flex;align-items:center;gap:1.1rem;margin-bottom:1.6rem;min-width:0}.writer3-cover{width:54px;height:78px;object-fit:cover;flex-shrink:0;border-radius:5px;box-shadow:var(--pd-shadow)}.writer3-cover-empty{display:grid;place-items:center;color:var(--pd-on-accent);background:linear-gradient(145deg,var(--pd-accent),var(--pd-accent-hover));border-left:4px solid color-mix(in srgb,var(--pd-on-accent) 30%,transparent);font-size:1.8rem} .writer3-identity{min-width:0;flex:1}.writer3-title{display:flex;align-items:center;gap:.6rem}.writer3-title h1{font-size:clamp(1.55rem,2.6vw,2.15rem);margin:0;color:var(--pd-heading);overflow-wrap:anywhere}.writer3-header .eyebrow{margin:0 0 .3rem}.writer3-header .muted{margin:.4rem 0 0;font-size:.95rem}.writer3-connection{max-width:270px;display:grid;gap:.3rem;text-align:right;font-size:.78rem;color:var(--pd-muted)}.writer3-connection a{color:var(--pd-accent)} .writer3-home-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,1.8vw,1.8rem)}.writer3-choice{display:flex;align-items:center;flex-direction:column;text-align:center;justify-content:flex-start;gap:.8rem;padding:clamp(1.3rem,2vw,1.8rem) 1.3rem;min-height:260px;color:var(--pd-text);text-decoration:none;background:linear-gradient(140deg,var(--pd-surface-2),var(--pd-surface));border:1px solid color-mix(in srgb,var(--pd-accent) 60%,var(--pd-border));border-radius:12px;box-shadow:var(--pd-shadow);transition:border-color .15s,background .15s}.writer3-choice:hover{color:var(--pd-text);border-color:var(--pd-accent);background:var(--pd-hover)}.writer3-choice h2{font-size:1.35rem;margin:0;color:var(--pd-heading)}.writer3-choice p{margin:0;font-size:1rem;line-height:1.55}.writer3-choice small{display:block;min-height:2.4em;font-size:.82rem;color:var(--pd-muted);max-width:32ch}.writer3-choice-icon{width:34px;height:34px;stroke:var(--pd-accent);stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;margin-bottom:.2rem}.writer3-cta{display:inline-flex;align-items:center;justify-content:center;gap:.8rem;padding:.65rem 1.2rem;border:1px solid var(--pd-accent);background:var(--pd-accent);color:var(--pd-on-accent);border-radius:24px;text-decoration:none;font-weight:600;font-size:.9rem;width:fit-content}.writer3-cta:hover{color:var(--pd-on-accent);background:var(--pd-accent-hover);border-color:var(--pd-accent-hover)}.writer3-choice .writer3-cta{margin-top:auto} .writer3-scope-notice{color:var(--pd-muted);margin-bottom:1.5rem}.writer3-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);align-items:start;gap:1.4rem}.writer3-panel{min-width:0;border:1px solid var(--pd-border);border-radius:12px;padding:clamp(1.1rem,2vw,1.8rem);background:var(--pd-surface);box-shadow:var(--pd-shadow)}.writer3-panel h2{font-size:1.45rem;color:var(--pd-heading);margin:0 0 .8rem}.writer3-panel h3{font-size:1.05rem;color:var(--pd-heading);margin:0 0 .5rem}.writer3-panel>p{line-height:1.6;max-width:70ch}.writer3-main{border-top-color:color-mix(in srgb,var(--pd-accent) 70%,var(--pd-border))}.writer3-reference{background:linear-gradient(145deg,var(--pd-surface),var(--pd-surface-2))}.writer3-caption{font-size:.82rem;line-height:1.6;color:var(--pd-muted);margin:1.1rem 0 0}.writer3-inset{margin:1.3rem 0;padding-top:1.2rem;border-top:1px solid var(--pd-border-subtle)}.writer3-inset:last-child{margin-bottom:0}.writer3-inset p{margin-bottom:.6rem}.writer3-link-list{display:grid;gap:0}.writer3-link-list>a,.writer3-link-list>button{display:flex;align-items:center;justify-content:space-between;gap:.6rem;width:100%;padding:.85rem 0;color:var(--pd-text);background:transparent;border:0;border-bottom:1px solid var(--pd-border-subtle);font:inherit;font-size:.95rem;text-align:left;text-decoration:none}.writer3-link-list>a:hover,.writer3-link-list>button:hover{color:var(--pd-accent)}.writer3-link-list>a>span,.writer3-link-list>button>span{color:var(--pd-accent)} .writer3-explore-paths{display:grid;gap:.8rem;margin:1.3rem 0}.writer3-explore-paths>a{display:flex;align-items:center;gap:1.1rem;padding:1rem;border:1px solid var(--pd-border-subtle);background:var(--pd-surface-2);border-radius:8px;color:var(--pd-text);text-decoration:none}.writer3-explore-paths>a:hover{border-color:var(--pd-accent)}.writer3-explore-paths p{font-size:.87rem;margin:0;line-height:1.5;color:var(--pd-muted)}.writer3-path-mark{font-size:.85rem;color:var(--pd-accent);font-variant-numeric:tabular-nums}.writer3-explore-paths>a>span:last-child{margin-left:auto;color:var(--pd-accent)}.writer3-focus-kind{color:var(--pd-accent);font-weight:600}.writer3 .writer-objective-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.writer3 .writer-objective-form label{display:grid;gap:.5rem;font-size:.9rem}.writer3 .writer-objective-form>.button-row{grid-column:1/-1;flex-wrap:wrap}.writer3 .button-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.writer3 .writer-work-toolbar{padding:1rem 0 0;margin:1.4rem 0 0;border-bottom:0;background:transparent}.writer3 .writer-work-toolbar .muted{font-size:.79rem}.writer3 .writer-work-toolbar .button-row{gap:.75rem}.writer3-upcoming{list-style:none;padding:0;margin:1rem 0}.writer3-upcoming li{display:flex;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--pd-border-subtle)}.writer3-upcoming time{font-size:.8rem;color:var(--pd-muted);min-width:85px}.writer3-upcoming small{display:block;color:var(--pd-muted);font-size:.8rem;margin-top:.25rem}.writer3-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1.5rem 0}.writer3-stat-grid strong{font-size:clamp(1.2rem,2vw,1.9rem);font-weight:600;display:block}.writer3-stat-grid span{font-size:.85rem;color:var(--pd-muted)} .writer3 a:focus-visible,.writer3 button:focus-visible,.writer3 select:focus-visible{outline:3px solid var(--pd-focus);outline-offset:4px}.writer3 a:not(.writer3-choice):not(.writer3-cta){text-underline-offset:.2em} @media(min-width:1100px) and (min-height:800px){.writer3-home{padding-top:clamp(1.4rem,4vh,3rem)}.writer3-home-choices{margin-top:1.4rem}} @media(max-width:1000px){.writer3-workspace{grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr);gap:1rem}.writer3-connection{max-width:210px}.writer3-choice h2{font-size:1.2rem}.writer3-desktop-break{display:none}} @media(max-width:760px){.writer3{padding:.9rem .25rem 1.3rem}.writer3-header{flex-wrap:wrap;gap:.8rem;margin-bottom:1.2rem}.writer3-cover{width:42px;height:61px}.writer3-connection{width:100%;max-width:none;text-align:left;display:flex;flex-wrap:wrap;gap:.8rem;padding-left:0}.writer3-home-choices,.writer3-workspace{grid-template-columns:1fr;gap:1rem}.writer3-choice{min-height:0;gap:.65rem;padding:1.3rem}.writer3-choice small{min-height:0}.writer3-choice-icon{width:28px;height:28px}.writer3 .writer-objective-form{grid-template-columns:1fr}.writer3-stat-grid{gap:.4rem}.writer3-stat-grid strong{font-size:1.2rem}} @media(prefers-reduced-motion:reduce){.writer3-choice{transition:none}} .writer3-panel:focus-visible{outline:3px solid var(--pd-focus);outline-offset:3px} .writer3 .writer3-choice p{color:var(--pd-text)} /* Enhanced destination workspace; without script the original fluid panels remain available. */ .writer3-viewport{height:auto;display:flex;flex-direction:column;box-sizing:border-box;padding-top:1rem;padding-bottom:.6rem;overflow:visible} .writer3-viewport>.writer3-header{flex:none;margin-bottom:.6rem} .writer3-layout-tools{display:flex;justify-content:flex-end;gap:.5rem;flex:none;padding:0 0 .5rem} .writer3-layout-tools button,.writer3-companion-close{min-height:40px} .writer3-split{--writer-divider-size:18px;flex:1;min-height:0;position:relative;grid-template-columns:minmax(0,1fr) var(--writer-divider-size) var(--writer-companion-width);gap:0;align-items:stretch} .writer3-split>.writer3-panel{min-height:0;max-height:none;height:auto;overflow:visible;scrollbar-gutter:stable;overflow-wrap:anywhere} .writer3-divider{cursor:col-resize;touch-action:none;position:relative;border-radius:4px;align-self:stretch;min-height:44px} .writer3-divider::after{content:"";position:absolute;left:7px;top:calc(50% - 24px);height:48px;width:4px;background:var(--pd-muted);border-radius:4px} .writer3-divider:hover::after,.writer3-divider:focus-visible::after{background:var(--pd-accent)} .writer3-divider:focus-visible{outline:2px solid var(--pd-focus);outline-offset:-3px} .writer3-dragging,.writer3-dragging *{user-select:none!important;cursor:col-resize!important} .writer3-split[data-collapsed=true],.writer3-split[data-narrow=true]{grid-template-columns:minmax(0,1fr)} .writer3-split[data-narrow=true][data-overlay=true]>.writer3-reference{position:absolute;inset:0 0 0 auto;width:min(100%,520px);z-index:20;box-shadow:var(--pd-shadow);background:var(--pd-surface);border:2px solid var(--pd-accent)} .writer3-companion-close{display:none;margin:0 0 1rem auto} .writer3-flow{height:auto;min-height:0} .writer3-flow .writer3-split{flex:none;min-height:0} .writer3-flow .writer3-split>.writer3-panel{height:auto;overflow:visible} .writer3-flow .writer3-split[data-overlay=true]>.writer3-reference{height:100%;overflow:auto} .writer3-viewport [hidden]{display:none!important} @media(pointer:coarse){.writer3-split:not([data-narrow=true]):not([data-collapsed=true]){--writer-divider-size:44px;grid-template-columns:minmax(0,1fr) var(--writer-divider-size) var(--writer-companion-width)}.writer3-divider::after{left:20px}.writer3-layout-tools button,.writer3-companion-close{min-height:44px}} .writer3-shell:has(.writer3-viewport){padding-bottom:0;margin-bottom:0} .writer3-shell:has(.writer3-viewport)>main{padding-bottom:0!important} .writer3-split[data-narrow=true] .writer3-companion-close{display:block} /* Phase2C: observed wrapping, reading width and utility hierarchy. */ .writer3-path-mark{flex:0 0 2ch;white-space:nowrap;overflow-wrap:normal} .writer3-explore-paths>a>div{min-width:0} .writer3-layout-tools{align-items:center} .writer3-layout-tools .plotline-help-icon-wrapper{margin:0} .writer3-session-block{margin-top:1.4rem;padding-top:1.1rem;border-top:1px solid var(--pd-border-subtle)} .writer3 .writer3-session-block .writer-work-toolbar{margin:0;padding:.4rem 0 0;border:0} .writer3 .writer-work-toolbar .muted{max-width:80ch} .writer3-focus-actions{margin-top:1.1rem} .writer3 [data-record-kind-choice]{max-width:36ch;margin-top:1rem} .writer3 [data-focus-message]:empty,.writer3 [data-focus-recording-hint]:empty{display:none} .writer3-layout-tools .plotline-help-icon{min-height:0} .writer3-layout-tooltip{pointer-events:none} .writer3 [data-save-focus]{background:var(--pd-accent);border-color:var(--pd-accent);color:var(--pd-on-accent)!important} .writer3 [data-save-focus]:hover{background:var(--pd-accent-hover);border-color:var(--pd-accent-hover)} .writer3-authoring{margin-top:1.4rem;border-top:1px solid var(--pd-border-subtle);padding-top:1.2rem} .writer3-authoring-heading{display:flex;gap:.8rem;align-items:baseline;justify-content:space-between}.writer3-authoring-heading h3{margin:0}.writer3-authoring-card{padding:1rem 0;border-bottom:1px solid var(--pd-border-subtle)} .writer3-recorded-field{margin-top:.7rem}.writer3-recorded-field strong{font-size:.84rem;color:var(--pd-muted);font-weight:500}.writer3-recorded-field p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.3rem 0;max-width:75ch} .writer3-inline-field{margin:.8rem 0}.writer3-inline-field label{display:block;margin-bottom:.35rem}.writer3-inline-field textarea{resize:vertical;min-height:5rem}.writer3-authoring-details{margin:1rem 0}.writer3-authoring-details>summary{padding:.7rem 0;color:var(--pd-accent);cursor:pointer} .writer3-reference-summary{padding-bottom:1rem;border-bottom:1px solid var(--pd-border-subtle);font-size:.9rem}.writer3-reminder-preview{padding-left:1.2rem;white-space:pre-wrap}.writer3-reminder-preview li{margin:.5rem 0;max-width:75ch}.writer3-scene-choice{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between;align-items:center;padding:.6rem 0} .writer3 [data-authoring-save]{background:var(--pd-accent);color:var(--pd-on-accent);border-color:var(--pd-accent)}.writer3 [data-authoring-error]{color:var(--pd-text);border-left:3px solid var(--pd-accent);padding:.7rem} .writer3-main>.writer3-focus-kind{margin:.4rem 0}.writer3-main>.writer3-caption{margin:.4rem 0}.writer3-recording-about{font-size:.8rem;color:var(--pd-muted);margin:.6rem 0}.writer3-recording-about>summary{cursor:pointer;color:var(--pd-accent)} /* Contain positioned accessibility labels within each scrolling panel, not the document viewport. */ .writer3-split>.writer3-panel{position:relative} .writer3-window-actions{margin:.8rem 0 1rem} /* Compact shared destination chrome reclaims reading/work area at every viewport. */ .writer3-viewport{padding-top:.4rem;padding-bottom:.3rem} .writer3-viewport>.writer3-header{gap:.7rem;margin-bottom:.35rem} .writer3-viewport .writer3-cover{width:32px;height:46px;font-size:1.2rem} .writer3-viewport .writer3-title h1{font-size:1.5rem} .writer3-viewport .writer3-header .eyebrow{font-size:.68rem;margin-bottom:.1rem} .writer3-viewport .writer3-header .muted{font-size:.82rem;margin-top:.15rem} .writer3-viewport .writer3-layout-tools{padding-bottom:.3rem} .writer3-viewport .writer3-layout-tools button{min-height:32px} .writer3-destination[data-writer-destination=Review] .writer3-main{padding:.7rem clamp(.6rem,1.5vw,1.3rem)} .writer3 .manuscript-reader:not([data-focus=true]) .reader-controls{margin:.25rem 0;gap:.4rem} .writer3 .manuscript-reader:not([data-focus=true]) .reader-status{margin:.6rem 0} .writer3 .manuscript-reader:not([data-focus=true]) .reader-page,.writer3 .manuscript-reader:not([data-focus=true]) .reader-empty{margin:.8rem auto;padding:clamp(.8rem,2vw,1.6rem)} .writer3 .manuscript-reader:not([data-focus=true]) .reader-page header{margin-bottom:.8rem} .review-recorded{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-width:75ch} [data-review-form]{margin:.8rem 0;padding:.7rem 0;border-block:1px solid var(--pd-border-subtle)} [data-review-error]{border-left:3px solid var(--pd-accent);padding:.6rem} .writer3 .reader-metadata summary{font-size:.82rem;color:var(--pd-muted)} .investigation{max-width:1200px;margin:1rem auto;padding:0 1rem}.investigation-choice{display:flex;gap:.7rem;padding:.8rem;border:1px solid var(--pd-border);border-radius:8px;margin:.6rem 0;align-items:baseline}.investigation-choice:has(input:checked){border-color:var(--pd-accent)}.investigation-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;margin:1rem 0}.investigation textarea{margin:.6rem 0}.investigation pre{max-height:28rem;overflow:auto}.investigation fieldset{min-width:0} @media(max-width:800px){.investigation>.writer3-workspace{grid-template-columns:minmax(0,1fr)}} /* Writer Workspace Layout Phase1: fluid working surfaces, measured sticky chrome, document scrolling. */ .writer3-destination{max-width:none;width:100%;height:auto;overflow:visible} .writer3-destination .writer3-header{padding:0;margin-bottom:.75rem} .writer3-destination .writer3-header .eyebrow,.writer3-destination .writer3-header>.writer3-cover,.writer3-destination .writer3-header>.writer3-cover-empty{display:none} .writer3-destination .writer3-header h1{font-size:1.5rem} .writer3-destination .writer3-header .muted{margin:.2rem 0;font-size:.9rem} .writer3-destination .writer3-split{flex:none;align-items:start} .writer3-destination .writer3-split>.writer3-main{height:auto;max-height:none;overflow:visible;scrollbar-gutter:auto;width:100%} .writer3-destination .writer3-split>.writer3-reference{position:sticky;top:var(--writer-sticky-top,8px);height:auto;max-height:calc(100dvh - var(--writer-sticky-top,8px) - 8px);overflow:auto;align-self:start} .writer3-destination .writer3-divider{position:sticky;top:var(--writer-sticky-top,8px);height:var(--writer-divider-height,44px);align-self:start} .writer3-destination .writer3-split[data-narrow=true][data-overlay=true]>.writer3-reference{position:fixed;inset:var(--writer-sticky-top,8px) 8px 8px auto;max-height:calc(100dvh - var(--writer-sticky-top,8px) - 16px);height:auto;width:min(calc(100% - 16px),520px)} .writer3-destination .writer3-main .writer3-inset,.writer3-destination .writer3-main .writer3-session-block,.writer3-destination .writer3-main .manuscript-reader{width:100%;max-width:none} .writer3-destination:has(.manuscript-reader[data-reading=true]) .writer3-split{grid-template-columns:minmax(0,1fr)} .writer3-destination:has(.manuscript-reader[data-reading=true]) .writer3-reference,.writer3-destination:has(.manuscript-reader[data-reading=true]) .writer3-divider{display:none!important} .writer3-destination:has(.manuscript-reader[data-reading=true]) [data-review-record],.manuscript-reader[data-reading=true]>.reader-metadata,.manuscript-reader[data-reading=true]>details,.manuscript-reader[data-reading=true]>footer{display:none} /* Phase 2 working surfaces use the accepted shared shell and theme. */ .writer2-single{display:block}.writer2-single>.writer3-main{width:100%;max-width:none} .writer2-explore{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));align-items:start} .writer2-explore>.writer3-panel{min-width:0;max-height:none;overflow:visible} .writer2-tile{border-block-start:1px solid var(--pd-border);padding:1rem 0}.writer2-tile h3{font-size:1.2rem}.writer2-tile .button-row{margin-top:.6rem}.writer2-tile button:not(.btn){border:0;background:none;color:var(--pd-accent);text-decoration:underline;padding:.3rem} [data-focus-wizard] fieldset{min-width:0;border:0;padding:.5rem 0}[data-focus-wizard] legend{font-size:1.15rem}[data-focus-wizard] label{display:block;margin:.6rem 0}[data-focus-wizard] textarea{width:100%} .writer2-activities{padding-left:1.4rem}.writer2-activities li{padding:1rem;border-bottom:1px solid var(--pd-border)}.writer2-activities li>*{display:block} .writer2-chapter-context{margin-bottom:1rem}.writer2-chapter-context>summary{cursor:pointer;color:var(--pd-accent)} .writer3-destination:has(.manuscript-reader[data-reading=true]) .writer2-chapter-context{display:none} @container (min-width:1200px){.writer3-main:has(.writer2-chapter-context[open]){display:grid;grid-template-columns:minmax(180px, .28fr) minmax(0,1fr);gap:1rem;align-items:start}.writer2-chapter-context{position:sticky;top:var(--writer-sticky-top,8px);min-width:0}.writer3-main:has(.writer2-chapter-context)>.manuscript-reader{min-width:0}.writer3-main:has(.manuscript-reader[data-reading=true]){display:block}} .writer3-destination .writer3-workspace{container-type:inline-size} @media(max-width:1050px){.writer2-explore{grid-template-columns:minmax(0,1fr)}}