/* Final layout pass: keep the A4 document preview wide and calm. */
.cv-workspace,.letter-workspace{grid-template-columns:minmax(340px,410px) minmax(0,1fr);grid-template-areas:"editor preview" "insights preview";gap:1rem}.cv-editor{grid-area:editor;max-height:72vh}.cv-insights{grid-area:insights}.cv-preview-wrap{grid-area:preview;max-height:calc(100vh - 2rem);overflow:auto;padding:1rem;background:linear-gradient(145deg,#e8eef5,#f8fafc);border:1px solid #cfd9e5;border-radius:10px;box-shadow:var(--shadow-sm)}.preview-toolbar{position:sticky;top:-1rem;z-index:2;padding:.75rem .85rem;margin:0 0 1rem;background:#fff;border-radius:7px;box-shadow:0 2px 8px #082b5c12}.cv-paper{width:210mm;max-width:100%;box-shadow:0 18px 42px #082b5c2b}@media(max-width:1150px){.cv-workspace,.letter-workspace{grid-template-columns:minmax(320px,390px) minmax(0,1fr);grid-template-areas:"editor preview" "insights preview"}.cv-insights{grid-column:auto;grid-template-columns:1fr}.cv-editor{max-height:72vh}.cv-preview-wrap{position:sticky}}@media(max-width:760px){.cv-workspace,.letter-workspace{grid-template-columns:1fr;grid-template-areas:"editor" "preview" "insights"}.cv-editor{max-height:none}.cv-preview-wrap{position:static;max-height:none;overflow:visible;order:initial;padding:.7rem}.cv-insights{grid-template-columns:1fr}.cv-paper{min-height:auto}.preview-toolbar{position:static;flex-direction:column}}
