.cs-reader{width:100%;max-width:none;margin:auto;padding:28px clamp(18px,4vw,64px);background:#fff;color:#182638}.cs-reader-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #e1e7ee}.cs-reader-bar>div,.cs-share,.cs-add-tools{display:flex;flex-wrap:wrap;gap:10px}.cs-reader button,.cs-add-tools button,.cs-toolbar button,.cs-block-actions button{border:1px solid #cbd8e4;border-radius:7px;background:white;color:#164566;padding:9px 12px;cursor:pointer;font:inherit}.cs-reader button:hover,.cs-toolbar button:hover{background:#edf5fc}.cs-reader button:focus-visible,.cs-toolbar button:focus-visible{outline:3px solid #0071be;outline-offset:2px}.cs-hero{width:100%;max-width:none;margin:48px auto 32px}.cs-hero h1{font-size:clamp(2rem,4.5vw,4rem);line-height:1.15;overflow-wrap:anywhere}.cs-subtitle{font-size:1.3rem;color:#40536a}.cs-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:24px;background:#f6f8fb;border-radius:12px}.cs-facts dt{font-weight:700}.cs-facts dd{margin:6px 0;overflow-wrap:anywhere}.cs-section{margin:44px auto;scroll-margin-top:115px}.cs-section h2{font-size:clamp(1.4rem,3vw,2rem);line-height:1.3}.cs-rich{font-size:1.08rem;line-height:1.85;overflow-wrap:anywhere}.cs-rich p,.cs-rich ul,.cs-rich ol,.cs-rich blockquote{max-width:none}.cs-rich img,.cs-section img{max-width:100%;height:auto;border-radius:10px}.cs-rich figure,.cs-section figure{margin:18px 0}.cs-rich table{border-collapse:collapse;display:block;width:100%;overflow-x:auto;max-width:100%;font-size:1rem}.cs-rich th,.cs-rich td{border:1px solid #cdd8e2;min-width:120px;padding:14px;text-align:left}.cs-rich th{background:#f1f6fa;font-weight:700}.cs-rich blockquote{margin:20px 0;padding:20px;background:#f5f8fb}.cs-rich pre{white-space:pre-wrap;background:#f4f6f8;padding:16px}.cs-type-callout,.cs-type-quote,.cs-type-cta{background:#f5f9fc;padding:24px;border-radius:12px}.cs-type-comparison th{background:#eaf3fb}.cs-toc{padding:20px;border:1px solid #d8e1eb;border-radius:10px}.cs-toc nav{display:flex;flex-wrap:wrap;gap:14px;margin-top:15px}.cs-toc summary,.cs-type-faq summary{cursor:pointer;font-weight:700}.cs-type-faq{padding:20px;border-bottom:1px solid #dde5ed}.cs-author{display:flex;gap:24px;margin:45px 0;padding:28px;background:#f6f8fb;border-radius:12px}.cs-author>img{width:88px;height:88px;object-fit:cover;border-radius:50%}.cs-share{padding:24px 0;border-block:1px solid #dce4ec;align-items:center}.cs-align-center{text-align:center!important}.cs-align-right{text-align:right!important}.cs-align-left{text-align:left!important}.cs-focus .site-header,.cs-focus footer,.cs-focus #chat-toggle,.cs-focus #chat-panel{display:none!important}.cs-focus .cs-reader{max-width:none}.cs-reader:fullscreen{max-width:none;width:100%;height:100%;overflow:auto;padding:30px 5vw}.cs-notice{padding:15px;background:#fff3cf}#case-editor fieldset{min-width:0}#case-editor .cs-add-tools{position:sticky;top:85px;background:#fff;padding:12px 0;z-index:3}.cs-edit-block{border:1px solid #d7e1eb;padding:20px;margin:20px 0;border-radius:12px;background:#fff}.cs-block-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.cs-toolbar{display:flex;gap:5px;flex-wrap:wrap;padding:10px;background:#f3f7fa;border:1px solid #cbd8e4;border-radius:8px 8px 0 0}.cs-toolbar button{padding:5px 9px;font-size:.9rem}.cs-editable{min-height:180px;border:1px solid #cbd8e4;padding:18px;border-radius:0 0 8px 8px;outline:none;overflow-x:auto}.cs-editable:focus{border-color:#0071be;box-shadow:0 0 0 2px #d8ecfb}.cs-editable table{display:table}.cs-editable p{min-height:1em}.cs-editable img{max-width:100%}.cs-edit-block label{display:block;margin:10px 0}.cs-edit-block input{width:100%}@media(max-width:700px){.cs-facts{grid-template-columns:1fr 1fr}.cs-author{flex-direction:column}.cs-reader{padding:20px 16px}.cs-hero{margin:28px 0}.cs-edit-block{padding:12px}.cs-toolbar button{padding:7px}.cs-rich{font-size:1rem}.cs-rich td,.cs-rich th{min-width:100px;padding:10px}}@media print{.cs-reader-bar,.cs-share,.cs-related{display:none}.cs-reader{max-width:none}}
.cs-rich{overflow-x:auto}.cs-rich table{display:table;width:100%}.cs-rich p,.cs-rich li{color:#263445}
#case-editor fieldset{border:1px solid #d7e1eb;border-radius:12px;padding:20px;margin-bottom:28px}#case-editor legend{font-weight:700;padding:0 8px}#case-editor .cs-add-tools{position:static}

/* Keep headings and rich text aligned with the full case-study content area. */
.cs-reader .cs-hero h1,.cs-reader .cs-section,.cs-reader .cs-section h2,.cs-reader .cs-rich{max-width:none;width:100%;min-width:0}.cs-author>div{flex:1;min-width:0}

/* Comfortable desktop reading width; responsive on smaller screens. */
.cs-reader{box-sizing:border-box;max-width:1080px;width:100%;padding:28px clamp(16px,3vw,40px)}.cs-focus .cs-reader{max-width:900px}.cs-reader:fullscreen{max-width:none;padding-inline:max(20px,calc((100vw - 1000px)/2))}#case-editor{width:100%;max-width:1080px;margin-inline:auto;box-sizing:border-box}@media(max-width:700px){.cs-reader{padding:20px 16px}}

/* V14: compact article rhythm instead of compounded section spacing. */
.cs-reader .cs-hero{margin:28px 0 20px}
.cs-reader .cs-section{margin:24px 0;padding-block:0}
.cs-reader .cs-section h2{margin:0 0 12px}
.cs-reader .cs-rich{line-height:1.7}
.cs-reader .cs-rich>:first-child{margin-top:0}
.cs-reader .cs-rich>:last-child{margin-bottom:0}
.cs-reader .cs-rich p,.cs-reader .cs-rich ul,.cs-reader .cs-rich ol{margin-block:0 12px}
.cs-reader .cs-type-callout,.cs-reader .cs-type-quote,.cs-reader .cs-type-cta,.cs-reader .cs-type-faq{padding:18px}
.cs-reader .cs-author{margin:24px 0;padding:20px}
.cs-reader .cs-related{margin-top:24px}
.cs-reader #case-copy{display:inline-flex;gap:7px;align-items:center}
.cs-reader-bar>span:empty{display:none}
@media(max-width:600px){.cs-reader .cs-section{margin:20px 0}.cs-reader .cs-facts{grid-template-columns:1fr;gap:12px;padding:16px}}
