@font-face{font-family:Inter;src:url('/fonts/inter.woff2') format('woff2');font-weight:100 900;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f7f8f5;color:#1e302c;font:15px/1.55 Inter,system-ui,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select,[contenteditable]{outline-color:#24735c;outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:#1b6751}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.3px;line-height:1.18;font-weight:650;margin-bottom:14px}h2{font-size:21px;letter-spacing:-.5px;line-height:1.3}h3{font-size:17px}p{color:#65716a}small,.small{font-size:13px;line-height:1.65}label{display:block;font-size:13px;font-weight:600;margin:18px 0 6px}input,textarea,select{display:block;width:100%;padding:11px 12px;border:1px solid #d8dfd8;border-radius:7px;background:white;color:#243d33;margin-top:7px}textarea{resize:vertical}input[type=checkbox]{width:18px;height:18px;flex-shrink:0;margin:2px 0 0;accent-color:#21674f}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:14px;margin:20px 0}button{border:0;background:transparent;color:inherit}button.primary,a.primary{background:#174d3d;color:white;border:1px solid #174d3d}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;padding:11px 17px;border-radius:7px;text-decoration:none;font-weight:600;font-size:14px}.secondary{border:1px solid #d7ded5;background:#fff}.primary:hover{background:#23654e}.secondary:hover{background:#f1f4ed}.text-button{color:#23654e;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.danger{color:#a53a2b;border:1px solid #ecc9c0;padding:10px 14px;border-radius:6px}.button-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:750;color:#738471;display:block;margin-bottom:14px}.rail{position:fixed;inset:0 auto 0 0;width:216px;background:#173c31;color:#e5efe5;display:flex;flex-direction:column;padding:34px 20px;z-index:10}.brand{font-size:28px;font-weight:800;letter-spacing:-1px;text-decoration:none;color:#f3f6ea;margin:0 12px 48px;line-height:1.05}.brand span{display:block;font-size:12px;letter-spacing:3px;font-weight:400;margin-top:7px;color:#bfd3b7}.rail-label{font-size:9px;letter-spacing:1.4px;color:#8eac9c;margin:0 12px 13px}.nav{padding:13px;border-radius:7px;text-align:left;display:flex;gap:12px;font-size:14px;margin-bottom:7px;color:#c4d6ca}.nav.active,.nav:hover{background:#315446;color:#fff}.rail-bottom{margin-top:auto;border-top:1px solid #ffffff20;padding-top:22px;display:flex;gap:9px;font-size:11px;color:#d1dfd1}.rail-bottom small{display:block;color:#8eac9c;font-size:10px}.connection-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#e8bd76;margin-top:6px}.connection-dot.on{background:#9bcc8b}.logout{text-align:left;font-size:11px;color:#97b09f;margin-top:18px}.main{margin-left:216px}.topline{height:76px;border-bottom:1px solid #e3e7df;display:flex;justify-content:space-between;align-items:center;padding:0 46px;font-size:11px;letter-spacing:1px;color:#64776b}.topline span:last-child{letter-spacing:0;color:#8c968e}.home-wrap{max-width:1350px;margin:auto;padding:52px 48px}.title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.title-row p{margin-bottom:0}.pill{font-size:11px;border:1px solid #d7dfd0;border-radius:30px;padding:8px 14px;white-space:nowrap;background:#eef2e9;color:#58734e}.upload-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:28px}.drop{margin:0;border:1.5px dashed #a9bda3;background:#f0f4e9;border-radius:14px;min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;text-align:center}.drop:hover,.drop.over{background:#e7eedc;border-color:#4d7658}.drop input{position:absolute;width:1px;height:1px;opacity:0}.drop h2{margin:18px 0 6px;font-size:22px}.drop p{font-size:14px;font-weight:400}.drop small{font-size:9px;letter-spacing:1.7px;color:#899480}.file-icon{display:grid;place-items:center;width:48px;height:59px;background:#fff;border:1px solid #bccfbc;border-radius:6px;font-size:25px;font-weight:800;color:#2e6e50;box-shadow:5px 5px 0 #dce7d3}.how{background:white;border:1px solid #e0e5dc;border-radius:14px;padding:28px 32px}.how>div{display:flex;gap:17px;margin-top:24px}.how>div>b{font-size:12px;color:#7e967b;background:#edf2e7;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;flex-shrink:0}.how p{margin:0}.how strong{display:block;color:#2f493c;font-size:14px}.how span:not(.eyebrow){font-size:12px;color:#829080}.recent{margin-top:42px}.section-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dfe5da;padding-bottom:15px}.section-title h2{margin:0;font-size:19px}.section-title h2 small{margin-left:8px;background:#e7eddf;padding:2px 7px;border-radius:4px}.section-title>span{font-size:11px;color:#8b978a}.document-row{display:grid;grid-template-columns:40px 1fr 90px 90px 20px;gap:18px;align-items:center;width:100%;padding:22px 4px;text-align:left;border-bottom:1px solid #e1e6dd}.document-row:hover{background:#eef2e8}.document-row b{font-size:14px;font-weight:600}.document-row small{display:block;color:#869280;font-size:11px}.doc-symbol{height:40px;display:grid;place-items:center;background:white;border:1px solid #dbe2d5;border-radius:6px;color:#54764d;font-size:22px}.status{text-transform:capitalize;font-size:11px;padding:3px 8px;border-radius:5px;background:#edf0e6;color:#73815c;text-align:center}.status.applied{background:#def0e2;color:#296442}.date{font-size:11px;color:#889581}.empty{padding:35px 0;color:#889581;font-size:14px}.footnote{font-size:11px;color:#97a18d;margin-top:28px}.settings-wrap{max-width:1180px;margin:50px auto;padding:0 45px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:30px}.card{background:white;border:1px solid #dfe4dc;border-radius:12px;padding:28px;margin-bottom:22px}.card h2{margin-bottom:20px}.card .primary{margin-top:10px}.steps li{padding:0 0 15px 5px;color:#657767;font-size:14px}.note{background:#fff7e4;color:#7f632a;border:1px solid #ebdbb5;border-radius:7px;padding:14px;font-size:13px;margin:18px 0}.success{background:#edf6e9;border:1px solid #c7dfbd;border-radius:7px;padding:13px;margin-top:20px;font-size:13px;color:#426d3b}.editor-top{height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #dfe5db;padding:0 28px}.editor-top>span{font-size:11px;color:#81917b;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-top>div{display:flex;gap:14px;align-items:center}.editor-top small{font-size:11px;color:#809177}.back{font-size:12px;color:#526a49}.editor-heading{padding:24px 28px;display:flex;gap:20px;align-items:center;justify-content:space-between}.editor-heading h1{font-size:22px;margin-bottom:0;max-width:600px}.editor-heading .eyebrow{font-size:9px;margin-bottom:8px}.tabs{display:flex;background:#e9eee3;border:1px solid #dbe3d4;border-radius:8px;padding:4px;flex-shrink:0}.tabs button{padding:9px 13px;border-radius:5px;font-size:12px;font-weight:550}.tabs .selected{background:white;box-shadow:0 2px 3px #213a1610}.workspace{display:grid;grid-template-columns:230px minmax(350px,1fr) 330px;border-top:1px solid #dfe5da;height:calc(100vh - 177px);min-height:600px}.outline{background:#f7f9f3;border-right:1px solid #dfe5da;overflow:auto;padding:20px 12px}.outline-heading{padding:0 10px 20px;display:flex;align-items:center;justify-content:space-between}.outline-heading b{font-size:13px}.outline-heading small{font-size:10px;color:#8a9781}.outline-item{position:relative;padding-bottom:5px}.outline-row{display:flex;gap:9px;align-items:flex-start;text-align:left;width:100%;padding:10px 9px;border-radius:6px;font-size:11px}.outline-row b{font-weight:500}.outline-row>span{font-size:13px;color:#6d8b5f;flex-shrink:0}.outline-row.selected{background:#e0e9d5;color:#2a5435}.outline-row:hover{background:#eaf0e2}.outline-row.excluded{color:#9a9f92}.order-actions{display:flex;justify-content:flex-end;padding-right:8px;gap:2px}.order-actions button{padding:0 5px;color:#829677;font-size:12px}.add-section{border:1px dashed #b2c3a7;border-radius:6px;padding:12px;width:100%;font-size:12px;margin-top:15px;color:#58754c}.outline-note{font-size:10px;color:#94a089;margin:20px 8px}.canvas{background:#e9ede4;overflow:auto;padding:0 22px 40px}.canvas-top{display:flex;justify-content:space-between;gap:10px;padding:16px 0;font-size:8px;letter-spacing:1px;color:#7e9073}.canvas-top small{font-size:9px;letter-spacing:0}.page{max-width:900px;margin:auto;background:#fff;box-shadow:0 3px 20px #253a2010;border:1px solid #dde4d7;border-radius:7px;overflow:hidden}.page-hero{padding:40px 35px;background:#173c31;color:#fff;cursor:pointer}.page-hero h1{font-size:30px;line-height:1.25;letter-spacing:-.9px}.page-hero h1 span{color:#ead68a}.page-hero .eyebrow{color:#b6c7aa}.page-hero p{color:#d5dfd0;font-size:14px;line-height:1.75}.page-section{padding:28px 35px;border-bottom:1px solid #e5eadf;cursor:pointer}.page-section:hover{background:#f9fbf5}.page-section.focused{box-shadow:inset 3px 0 #5c8453}.page-section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:#8a9781;font-size:9px}.page-section-top small{font-size:9px}.page-section h2{font-size:23px;letter-spacing:-.5px;line-height:1.3;color:#294532}.page .copy{font-size:14px;line-height:1.85;color:#485944;overflow-x:auto}.page p{font-size:14px;line-height:1.85}.page .copy h3{font-size:17px;color:#405836;margin-top:22px}.page .two-column .copy{columns:2;column-gap:25px}.copy table,.rich table{border-collapse:collapse;width:100%;font-size:12px}.copy td,.copy th,.rich td,.rich th{border:1px solid #dce3d4;padding:9px;vertical-align:top}.copy th{background:#edf2e6}.preserved{padding:18px 25px;background:#f0f2eb;border:1px dashed #bcc9af;margin:18px;border-radius:6px;cursor:pointer}.preserved span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#7e8e70;margin-bottom:4px}.preserved b{display:block;font-size:13px;font-weight:550}.preserved small{display:block;font-size:10px;color:#85947b;margin-top:6px}.inspector{background:white;border-left:1px solid #dfe5da;padding:24px 22px;overflow:auto}.inspector h2{font-size:18px}.inspector input,.inspector select,.inspector textarea{font-size:13px;padding:9px}.inspector .small{font-size:11px}.inspector .eyebrow{font-size:9px}.inspector .primary,.inspector .secondary{width:100%;margin-top:15px}.inspector hr{border:0;border-top:1px solid #e4e9df;margin:26px 0}.rich-tools{display:flex;border:1px solid #d8dfd3;border-bottom:0;border-radius:6px 6px 0 0;margin-top:7px;background:#f7f9f3;flex-wrap:wrap}.rich-tools button{font-size:11px;padding:8px 9px;border-right:1px solid #e2e8dc}.rich{border:1px solid #d8dfd3;border-radius:0 0 6px 6px;padding:14px;min-height:170px;max-height:50vh;overflow:auto;font-size:13px;line-height:1.8;color:#405439;background:white}.rich p{color:inherit;margin-bottom:12px}.rich h3{font-size:16px}.rich:focus{border-color:#789b62}.publish-wrap{max-width:1240px;margin:auto;padding:10px 30px;display:grid;grid-template-columns:minmax(430px,1fr) 320px;gap:26px}.target-options{display:flex;gap:12px}.target-options button{padding:12px 14px;border:1px solid #d8e2d0;border-radius:7px;font-size:13px}.target-options .selected{background:#e7f0df;border-color:#8ca67a;color:#416b32}.history-item{border-bottom:1px solid #e3e8dd;padding:14px 0}.history-item b{display:block;font-size:12px;text-transform:capitalize}.history-item small{display:block;font-size:10px;color:#88947f}.history-item button{font-size:11px}.login{min-height:100vh;display:grid;place-items:center;background:#edf2e5}.login-mark{position:absolute;top:40px;left:45px;font-weight:850;font-size:25px;letter-spacing:-1px}.login-mark span{display:block;font-size:11px;letter-spacing:2px;font-weight:450}.login section{max-width:480px;padding:40px;background:#fff;border:1px solid #d8e3cf;border-radius:14px;box-shadow:0 20px 80px #28422110}.login h1{font-size:37px}.login form{margin:25px 0}.login .primary{width:100%;margin-top:15px}.login small{color:#8d9984;font-size:11px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#183d30;color:#fff;padding:14px 22px;border-radius:8px;box-shadow:0 6px 25px #0002;max-width:680px;z-index:100;opacity:0;pointer-events:none;font-size:14px}#toast.show{opacity:1}#toast.error{background:#8f3f2d}.busy{cursor:progress}.busy button,.busy input[type=file]{pointer-events:none}.busy:after{content:'Working…';position:fixed;top:10px;right:15px;background:#e8d791;color:#33452b;border-radius:20px;padding:6px 14px;font-size:12px;z-index:200}summary{cursor:pointer}details li{margin-bottom:7px}@media(min-width:1700px){.workspace{grid-template-columns:255px minmax(400px,1fr) 380px}.inspector{padding:28px}.page-hero,.page-section{padding-left:45px;padding-right:45px}}@media(max-width:1250px){.rail{width:170px;padding-inline:12px}.main{margin-left:170px}.workspace{grid-template-columns:190px minmax(280px,1fr) 290px}.canvas{padding-inline:12px}.page-hero,.page-section{padding:25px}.editor-heading{align-items:flex-start;flex-direction:column}.workspace{height:calc(100vh - 220px)}.home-wrap{padding:35px}.title-row h1{font-size:30px}.publish-wrap{grid-template-columns:1fr}.publish-side{display:grid;grid-template-columns:1fr 1fr;gap:22px}}@media(max-width:1020px){.rail{position:static;width:auto;height:70px;flex-direction:row;align-items:center;padding:12px 20px;gap:10px}.rail .brand{font-size:22px;margin:0 auto 0 0}.rail .brand span{font-size:9px}.rail-label,.rail-bottom{display:none}.rail .nav{margin:0;padding:8px;font-size:12px}.rail .logout{margin:0}.main{margin:0}.workspace{grid-template-columns:170px 1fr;height:auto}.inspector{grid-column:1/-1;max-height:none}.canvas,.outline{max-height:65vh}.settings-grid,.upload-grid{grid-template-columns:1fr}.topline{padding-inline:25px}.topline span:last-child{display:none}.pill{display:none}.editor-top{padding:12px;gap:10px}.editor-top>span{display:none}.editor-heading{padding:20px}.home-wrap{padding:30px 20px}.settings-wrap{padding:0 20px}.document-row{grid-template-columns:30px 1fr 65px;gap:10px}.document-row .date,.document-row>span:last-child{display:none}.title-row h1{font-size:30px}.section-title>span{display:none}.publish-wrap{padding:0 15px}.publish-side{display:block}.login section{margin:90px 20px 25px;padding:28px}.target-options{flex-direction:column}.page .two-column .copy{columns:1}.canvas-top small{display:none}}
/* Theme field mapping: progressive disclosure keeps full-page review visible. */
.theme-mapping-note{background:#e6f2eb;border:1px solid #b5d4c1;border-radius:10px;padding:14px;margin:14px 0}.theme-mapping-note p{font-size:12px;line-height:1.6;margin:8px 0 0}.theme-fields fieldset{min-width:0;border:1px solid #dbe1db;border-radius:8px;padding:12px;margin:14px 0}.theme-fields legend{font-size:12px;font-weight:650;padding:0 6px}.theme-fields legend small{font-weight:400}.theme-row{background:#fafbf8;border:1px solid #e0e5dd;border-radius:7px;margin:8px 0;padding:10px}.theme-row summary,.theme-reference summary,.source-copy summary{cursor:pointer;font-size:12px;font-weight:600;line-height:1.6}.theme-reference{border-bottom:1px solid #e2e7e0;padding:10px 0}.source-copy{background:#fffdf4;border:1px solid #e7dfbd;border-radius:8px;padding:12px;margin:14px 0;max-height:360px;overflow:auto;font-size:13px;line-height:1.6}.source-copy table{font-size:11px;width:100%;border-collapse:collapse}.source-copy td,.source-copy th{border:1px solid #ddd;padding:4px}.mapped-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:18px 0}.mapped-card{border:1px solid #dce5dd;border-radius:10px;background:#f6f9f3;padding:16px;overflow-wrap:anywhere}.mapped-card .mapped-cards{display:block}.mapped-card .mapped-card{padding:8px;margin:6px 0}.mapping-pending{background:#fff4db;color:#795d20;padding:10px 14px;border-radius:6px;font-size:12px}.theme-fields .rich{min-height:90px}.theme-fields .button-row button{min-width:30px}.theme-choices .check{margin:8px 0}.theme-fields input[type=number]{width:100%}

/* AI planning stays in the existing whole-page workflow. */
.ai-settings{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:36px}.ai-settings p{line-height:1.65}.ai-chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.ai-chips span{background:#edf3ef;color:#245444;border-radius:20px;padding:7px 12px;font-size:12px}.ai-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 28px;background:#eef5f1;border-top:1px solid #dce7df;border-bottom:1px solid #dce7df}.ai-bar small{display:block;margin-top:5px;color:#54675d}.ai-section-note{border-left:3px solid #327456;padding:10px 12px;background:#f0f5f1;margin:16px 0}.ai-section-note:empty{display:none}.ai-section-note p{font-size:13px;line-height:1.5;margin:6px 0}.ai-progress{position:fixed;inset:0;z-index:1000;background:#0e2927a8;display:grid;place-items:center;cursor:default}.ai-progress-card{background:#fafbf8;padding:32px;border-radius:20px;width:min(500px,90vw);box-shadow:0 20px 70px #0003}.ai-progress-card h2{font-size:24px}.ai-progress-card progress{width:100%;height:10px;accent-color:#245b47}.ai-progress-text{overflow-wrap:anywhere;line-height:1.6}.ai-attention{color:#99641d;font-size:11px;display:block;margin-top:4px}.workspace{min-height:0}@media(max-width:1000px){.ai-settings{grid-template-columns:1fr}.ai-bar{align-items:flex-start;flex-direction:column;padding:15px}.ai-bar .button-row{flex-wrap:wrap}}

.busy .ai-progress button{pointer-events:auto}.workspace{height:calc(100vh - 260px)}@media(max-width:1250px) and (min-width:1021px){.workspace{height:calc(100vh - 310px)}}@media(max-width:1020px){.workspace{height:auto}}

.comparison-preview{overflow-x:auto;margin:20px 0}.comparison-preview table{min-width:680px;width:100%;border-collapse:collapse}.comparison-preview th,.comparison-preview td{border:1px solid #dce5dd;padding:12px;text-align:left;vertical-align:top}.comparison-preview thead{background:#eaf1e4}.comparison-preview tbody th{background:#f3f6ef}

.review-focus{margin:0 28px 16px;padding:12px 16px;background:#fff8e8;border:1px solid #dfcb97;border-radius:10px;color:#534325}.review-focus summary{cursor:pointer;font-weight:650}.review-focus>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:12px}.review-focus button{text-align:left;white-space:normal;background:#fff;border:1px solid #e4d9c0;padding:12px}.review-focus button b,.review-focus button span{display:block}.review-focus button span{font-size:13px;line-height:1.5;margin-top:5px;font-weight:400}.review-focus>div{max-height:200px;overflow:auto}
.record-search-row{display:flex;gap:8px}.record-search-row input{min-width:0}.record-results{max-height:220px;overflow:auto;display:grid;gap:4px}.record-result{text-align:left;background:#f0f5ef;border:1px solid #d8e3d5;padding:9px;color:#194b3c}.record-chip{border:1px solid #aac7b5;border-radius:20px;padding:6px 10px;margin:3px;background:#e8f3eb;color:#194b3c}.record-report{margin:16px 0}.is-featured{background:#dfeacb}

.draft-desk{max-width:1060px;margin:auto;padding:0 clamp(18px,4vw,60px) 40px}.desk-tools,.desk-strip,.desk-caption,.desk-footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.desk-tools{min-height:65px;border-bottom:1px solid #dbe3dc;color:#627169;font-size:12px}.desk-tools .back{font-weight:650;padding-left:0}.desk-head{display:flex;gap:28px;justify-content:space-between;align-items:center;padding:32px 0 20px}.desk-head h1{font-size:clamp(23px,2.4vw,35px);margin:5px 0 8px}.desk-head p{margin:0;font-size:14px;color:#4d6057}.desk-action{display:grid;justify-items:center;flex-shrink:0;gap:5px}.desk-action .text-button{font-size:12px}.desk-strip{border-block:1px solid #dbe3dc;padding:11px 0;font-size:13px}.desk-strip span,.desk-caption small{color:#55675e}.desk-strip .secondary{margin-left:auto}.desk-caption{justify-content:space-between;margin:22px 0 10px;font-size:11px;letter-spacing:.06em}.desk-caption small{font-size:12px;letter-spacing:0}.draft-desk .page{max-width:none}.draft-desk .page-section{cursor:pointer}.draft-desk .page-section:hover{background:#f7faf7}.desk-checks,.desk-notice{padding:12px 15px;border:1px solid #e3d5b1;border-radius:8px;background:#fff9e9;margin:14px 0;color:#694f23;font-size:13px}.desk-checks summary{font-weight:650;cursor:pointer}.desk-checks button,.desk-checks p{display:block;text-align:left;margin:8px 0;padding:3px 0;color:inherit}.desk-footer{justify-content:flex-end;margin-top:15px}.desk-footer .text-button{font-size:13px}@media(max-width:780px){.desk-head{align-items:start;flex-direction:column;gap:16px}.desk-action{justify-items:start}.desk-tools span{overflow-wrap:anywhere}.desk-strip{gap:8px}.desk-strip .secondary{margin-left:0}.draft-desk{padding-inline:16px}.tabs{flex-wrap:wrap}}

.team-row{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;padding:1rem 0;border-bottom:1px solid #ddd}.team-row select{width:auto}.team-row small{margin-right:auto}.rail .logout{overflow-wrap:anywhere}
