.dc-app{--dc-line:#dce6e0;--dc-ink:#193c36;--dc-muted:#60776d;--dc-green:#147d72;margin:16px 0 24px;color:var(--dc-ink)}
.dc-app *{box-sizing:border-box}
.dc-app button,.dc-app input,.dc-app select,.dc-app textarea{font:inherit}
.dc-app [hidden]{display:none!important}
.dc-app :focus-visible{outline:3px solid #a58de5;outline-offset:3px}
.dc-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}
.dc-heading h1{font-size:clamp(26px,3vw,39px);line-height:1.13;letter-spacing:-1.2px;margin:0 0 11px;max-width:800px}
.dc-heading p:not(.pf-eyebrow){max-width:720px;color:var(--dc-muted);font-size:13px;line-height:1.65;margin:0}
.dc-heading>.dc-actions{flex-shrink:0;justify-content:flex-end}
.dc-btn,.dc-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;border:1px solid var(--dc-line);border-radius:8px;background:#fff;color:var(--dc-ink);font-size:11px!important;font-weight:650!important;line-height:1.35;padding:9px 13px;cursor:pointer;text-decoration:none}
.dc-btn:hover,.dc-icon:hover{border-color:#94baab;background:#f0f6f2}
.dc-primary{background:var(--dc-green);border-color:var(--dc-green);color:#fff}
.dc-primary:hover{background:#106c62;color:#fff;border-color:#106c62}
.dc-icon{width:36px;padding:5px;font-size:19px!important;flex-shrink:0}
.dc-app button:disabled{opacity:.42;cursor:default}
.dc-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.dc-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 17px;border:1px solid var(--dc-line);border-radius:14px 14px 0 0;background:#fff}
.dc-project-title{flex:1;min-width:150px;max-width:410px}
.dc-project-title input{width:100%;background:#fff;color:var(--dc-ink);font-size:15px!important;font-weight:700!important;border:0;border-bottom:1px solid transparent;border-radius:0;padding:4px 1px}
.dc-project-title input:focus{border-bottom-color:var(--dc-green)}
.dc-project-title>span{display:block;font-size:10px;line-height:1.5;color:var(--dc-muted);padding-top:2px;min-height:17px}
.dc-conflict{padding:14px 18px;background:#fff5df;border:1px solid #e6d0a3;border-top:0}
.dc-conflict p{font-size:12px;margin:0 0 10px;color:#72501e}
.dc-layout{display:grid;grid-template-columns:170px minmax(0,1fr) 292px;min-height:750px;background:#eef3f0;border:1px solid var(--dc-line);border-top:0;border-radius:0 0 14px 14px;overflow:hidden;align-items:start}
.dc-outline-panel{padding:19px 12px;background:#fbfcfb;border-right:1px solid var(--dc-line);align-self:stretch;max-height:1100px;overflow:auto}
.dc-app h2{font-size:14px;line-height:1.3;letter-spacing:-.2px;margin:0 0 14px}
.dc-panel-heading{display:flex;align-items:baseline;justify-content:space-between;gap:6px}
.dc-panel-heading>span{font-size:10px;color:var(--dc-muted);white-space:nowrap}
.dc-help{font-size:10px;line-height:1.7;color:var(--dc-muted);margin:8px 0 15px}
.dc-add{width:100%;padding-inline:8px}
.dc-outline{list-style:none;display:grid;gap:8px;padding:0;margin:16px 0 20px}
.dc-outline li{margin:0;border:1px solid transparent;border-radius:8px}
.dc-outline li.is-selected{border-color:#91b9a9;background:#e6f1e9}
.dc-outline button{width:100%;display:flex;align-items:flex-start;gap:9px;border:0;border-radius:8px;background:transparent;color:var(--dc-ink);padding:11px 8px;cursor:pointer;text-align:left;font-size:11px;line-height:1.45}
.dc-outline button:hover{background:#eaf2ed}
.dc-outline button>span:last-child{overflow-wrap:anywhere;min-width:0}
.dc-index{font-size:10px;color:var(--dc-green);font-weight:700;letter-spacing:.03em;flex-shrink:0;margin-top:1px}
.dc-text-button{background:none;border:0;color:var(--dc-green);font-size:10px!important;line-height:1.5;text-align:left;padding:4px 0;cursor:pointer;font-weight:650!important}
.dc-stage{min-width:0;align-self:stretch}
.dc-stage-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--dc-line);flex-wrap:wrap;background:#f5f8f5}
.dc-stage-toolbar>span{font-size:10px;color:var(--dc-muted)}
.dc-stage-toolbar .dc-btn{min-height:31px;font-size:10px!important;padding:6px 8px}
.dc-stage-toolbar .dc-icon{width:30px;min-height:31px;font-size:17px!important}
.dc-preview-meta{display:flex;justify-content:space-between;gap:14px;padding:18px 24px 0;font-size:10px;color:var(--dc-muted)}
.dc-preview-meta>span:first-child{letter-spacing:.04em}
.dc-canvas-wrap{padding:17px 24px 22px;max-height:910px;overflow:auto;scrollbar-width:thin;scrollbar-color:#bacdc2 transparent}
.dc-canvas{width:100%;max-width:794px;margin:auto;container-type:inline-size}
.dc-paper{--document-ink:#173c35;--document-accent:#147d72;--document-muted:#61756f;width:100%;min-height:calc(100cqw * 297 / 210);padding:10.5%;color:var(--document-ink);font:14px/1.65 Arial,sans-serif;font-size:clamp(10px,2cqw,15px);background:white;box-shadow:0 5px 27px #20382a13;border:1px solid #e6ece7;overflow-wrap:anywhere}
.dc-theme-classic{--document-ink:#2d2926;--document-accent:#796349;--document-muted:#71685f;font-family:Georgia,'Times New Roman',serif}
.dc-theme-minimal{--document-ink:#202124;--document-accent:#202124;--document-muted:#6b7280}
.dc-document-header{padding:0 0 1.6em;border-bottom:2px solid var(--document-accent);margin:0 0 2em}
.dc-paper .dc-document-title{font-size:2.55em;line-height:1.15;letter-spacing:-.035em;margin:0 0 .45em;color:var(--document-ink);font-weight:700;white-space:pre-wrap}
.dc-paper .dc-document-subtitle{font-size:1.18em;line-height:1.5;margin:0 0 .6em;color:var(--document-muted);white-space:pre-wrap}
.dc-paper .dc-document-author{font-size:.92em;line-height:1.5;margin:0;color:var(--document-muted);white-space:pre-wrap}
.dc-document-section{position:relative;margin:0 -.55em 1.65em;padding:.35em .55em;min-height:2.1em;border-radius:3px;outline:1px solid transparent;cursor:text}
.dc-document-section:hover{outline-color:#d9e7dd}
.dc-document-section.is-selected{outline-color:#a3c7b8;background:#147d7204}
.dc-paper .dc-section-heading{font-size:1.45em;line-height:1.3;letter-spacing:-.02em;font-weight:700;color:var(--document-accent);margin:0 0 .6em;white-space:pre-wrap}
.dc-paper .dc-paragraph{font-size:1em;line-height:1.65;margin:0 0 .8em;white-space:pre-wrap;orphans:3;widows:3}
.dc-paper .dc-bullets{margin:.65em 0;padding-left:1.6em;font-size:1em;line-height:1.65}
.dc-paper .dc-bullets li{margin:.35em 0;white-space:pre-wrap}
.dc-paper .dc-empty-section{font:inherit;color:#81998c;font-style:italic;margin:0;font-size:.93em}
.dc-preview-note{padding:0 24px 5px;margin:0 0 15px;max-width:760px}
.dc-validation{margin:14px 22px 0;padding:11px 13px;border:1px solid #e6d0a3;background:#fff5df;color:#72501e;border-radius:7px;font-size:11px;line-height:1.5}
.dc-inspector{background:#fff;border-left:1px solid var(--dc-line);align-self:stretch;max-height:1100px;overflow:auto;min-width:0}
.dc-tabs{display:flex;gap:3px;padding:8px;background:#f8faf8;border-bottom:1px solid var(--dc-line);position:sticky;top:0;z-index:1}
.dc-tabs button{flex:1;min-height:38px;padding:7px 6px;border:0;border-radius:6px;font-size:11px!important;color:var(--dc-muted);background:transparent;cursor:pointer}
.dc-tabs button[aria-selected=true]{background:#e4efe8;color:var(--dc-ink);font-weight:700}
.dc-panel{padding:20px 17px}
.dc-panel label{display:grid;gap:6px;font-size:11px;font-weight:650;margin:0 0 15px;line-height:1.5}
.dc-panel input,.dc-panel select,.dc-panel textarea{width:100%;min-width:0;max-width:100%;border:1px solid var(--dc-line);border-radius:7px;color:var(--dc-ink);background:#fff;padding:9px 10px;font-size:12px!important;font-weight:400!important;line-height:1.65}
.dc-panel textarea{resize:vertical;min-height:65px}
.dc-panel textarea:invalid:not(:placeholder-shown){border-color:#b86245}
.dc-panel input:disabled,.dc-panel select:disabled,.dc-panel textarea:disabled{background:#f4f6f4;color:#687e73}
.dc-panel #dc-edit-form>label:nth-child(2){margin-bottom:6px}
.dc-pair{display:grid;grid-template-columns:.7fr 1.3fr;gap:10px}
.dc-export-actions{border-top:1px solid var(--dc-line);padding-top:21px;margin-top:24px;display:grid;gap:9px}
.dc-export-actions h2{margin:0 0 3px}
.dc-ai-notice{padding:12px;border:1px solid #e1e9e3;background:#f7faf7;border-radius:7px}
.dc-panel #dc-generate,.dc-panel #dc-cancel-ai{width:100%;margin-bottom:8px}
.dc-panel #dc-ai-status{font-size:11px;line-height:1.65;margin:8px 0 0;overflow-wrap:anywhere}
.dc-storage-note{font-size:11px;color:var(--dc-muted);line-height:1.7;margin:15px 3px}
.dc-notice{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:1100;background:#193c36;color:white;max-width:min(680px,92vw);border-radius:10px;padding:13px 19px;font-size:12px;line-height:1.55;box-shadow:0 8px 25px #173e352b}
.dc-dialog{width:820px;max-width:calc(100vw - 30px);max-height:88vh;overflow:auto;border:1px solid var(--dc-line);border-radius:16px;padding:25px;color:var(--dc-ink);background:#fff}
.dc-dialog::backdrop{background:#0d2928b3;backdrop-filter:blur(3px)}
.dc-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.dc-dialog-head h2{font-size:21px;margin:0;letter-spacing:-.5px}
.dc-dialog h3{font-size:13px;line-height:1.4;margin:0 0 12px}
.dc-template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.dc-template{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:13px 10px;border:1px solid var(--dc-line);border-radius:10px;background:#f8faf7;color:var(--dc-ink);cursor:pointer;min-width:0}
.dc-template:hover{border-color:#8fb5a3;background:#edf5ee}
.dc-template strong{font-size:11px;line-height:1.4;margin:0 0 5px}
.dc-template>span:last-child{font-size:9px;line-height:1.5;color:var(--dc-muted)}
.dc-template-sheet{width:38px;height:48px;background:#fff;border:1px solid #d2ded6;box-shadow:2px 3px 0 #dbe8df;border-radius:2px;margin:0 0 16px;padding:10px 7px;display:grid;align-content:start;gap:5px}
.dc-template-sheet i{display:block;height:2px;background:#c5d9ce}
.dc-template-sheet i:first-child{width:70%;height:3px;background:#3b856c}
.dc-template-sheet i:last-child{width:75%}
.dc-template[data-document-template=blank] .dc-template-sheet i{opacity:0}
.dc-template[data-document-template=letter] .dc-template-sheet i:first-child{margin-left:auto;width:60%;background:#957b5d}
.dc-template[data-document-template=meeting] .dc-template-sheet i{background:linear-gradient(to right,#59896d 10%,transparent 10% 22%,#c5d9ce 22%)}
.dc-project-list-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--dc-line);padding-top:21px;margin-top:24px;gap:16px}
.dc-project-list-heading h3{margin:0}
.dc-project-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--dc-line)}
.dc-open-project{flex:1;min-width:0;text-align:left;border:0;background:transparent;color:var(--dc-ink);padding:5px 0;font-size:13px!important;line-height:1.5;font-weight:650!important;cursor:pointer;overflow-wrap:anywhere}
.dc-project-row small{display:block;font-size:10px;color:var(--dc-muted);font-weight:400;margin-top:4px}
.dc-empty{padding:22px;border:1px dashed #ccdcd1;border-radius:8px;background:#f8faf8;color:var(--dc-muted);font-size:12px;text-align:center}
.dc-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0;border:0}
.dc-hero-art{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:21/10;object-fit:cover;border-radius:18px}
.dc-launch-note{font-size:12px;line-height:1.7;color:#60776d}
@media(max-width:1180px){.dc-heading{align-items:flex-start}.dc-heading>.dc-actions{max-width:185px}.dc-topbar{flex-wrap:wrap}.dc-project-title{max-width:none;min-width:220px}.dc-layout{grid-template-columns:145px minmax(0,1fr) 270px}.dc-outline-panel{padding:16px 10px}.dc-panel{padding:17px 14px}.dc-canvas-wrap{padding:14px 17px 20px}.dc-preview-meta{padding:16px 17px 0}.dc-stage-toolbar{padding:11px 12px}.dc-stage-toolbar>.dc-actions{gap:4px}}
@media(max-width:960px){.dc-layout{grid-template-columns:150px minmax(0,1fr);min-height:0}.dc-inspector{grid-column:1/-1;border-left:0;border-top:1px solid var(--dc-line);max-height:none}.dc-panel{padding:22px;max-width:850px}.dc-panel #dc-edit-form{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.dc-panel #dc-edit-form>label:first-child{grid-column:1/-1}.dc-panel #dc-edit-form>label:nth-child(2){grid-column:1;grid-row:2}.dc-panel #dc-edit-form>#dc-body-hint{grid-column:1;grid-row:3}.dc-panel #dc-edit-form>label:nth-child(4){grid-column:2;grid-row:2}.dc-panel #dc-edit-form>#dc-bullets-hint{grid-column:2;grid-row:3}.dc-panel #dc-ai-form{max-width:650px}.dc-tabs{position:static;justify-content:flex-start}.dc-tabs button{flex:0 1 160px}.dc-outline-panel{max-height:1000px}.dc-canvas-wrap{max-height:850px}.dc-heading h1{font-size:32px}.dc-heading>.dc-actions{max-width:none}}
@media(max-width:650px){.dc-heading{flex-direction:column;gap:18px;margin-bottom:21px}.dc-heading h1{font-size:28px;letter-spacing:-.8px}.dc-heading p:not(.pf-eyebrow){font-size:12px}.dc-heading>.dc-actions{justify-content:flex-start}.dc-topbar{padding:12px;gap:11px}.dc-topbar>.dc-actions{gap:5px}.dc-topbar .dc-btn{font-size:10px!important;padding:8px 10px}.dc-topbar .dc-icon{width:32px}.dc-layout{grid-template-columns:1fr}.dc-outline-panel{border-right:0;border-bottom:1px solid var(--dc-line);padding:13px;max-height:none}.dc-outline-panel .dc-panel-heading{float:left;width:calc(100% - 140px)}.dc-outline-panel .dc-add{float:right;width:130px;font-size:10px!important;min-height:32px}.dc-outline-panel>.dc-help{clear:both;margin:8px 0}.dc-outline{display:flex;gap:6px;overflow:auto;margin:8px 0 10px;padding:3px}.dc-outline li{flex:0 0 150px;max-width:180px}.dc-outline button{min-height:48px;padding:8px;font-size:10px}.dc-outline-panel .dc-text-button{font-size:10px!important}.dc-inspector{grid-column:1}.dc-stage-toolbar{gap:9px}.dc-stage-toolbar .dc-btn{font-size:10px!important;padding:7px}.dc-preview-meta{padding:15px 14px 0}.dc-canvas-wrap{padding:13px 13px 18px;max-height:760px}.dc-preview-note{padding-inline:14px}.dc-panel{padding:18px}.dc-panel #dc-edit-form{display:block}.dc-panel #dc-edit-form>label{margin-bottom:10px}.dc-paper{padding:9.5%;font-size:clamp(10px,2cqw,15px)}.dc-paper .dc-document-title{font-size:2.25em}.dc-dialog{padding:18px}.dc-dialog-head h2{font-size:19px}.dc-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-template{padding:14px;display:grid;grid-template-columns:40px 1fr;gap:4px 11px}.dc-template-sheet{grid-row:1/3;margin:0}.dc-template>span:last-child{grid-column:2}.dc-template strong{font-size:11px;align-self:end}.dc-template>span:last-child{font-size:10px}.dc-project-row{gap:8px;flex-wrap:wrap}.dc-open-project{flex-basis:100%}.dc-storage-note{font-size:10px}.dc-app .dc-conflict{padding:13px}.dc-notice{font-size:11px}}
@media(prefers-reduced-motion:reduce){.dc-app *{scroll-behavior:auto!important;transition:none!important}}
@page{size:A4;margin:20mm}
@media print{.pf-header,.pf-footer,.pf-toast,.pf-skip,.dc-heading,.dc-topbar,.dc-conflict,.dc-outline-panel,.dc-inspector,.dc-stage-toolbar,.dc-preview-meta,.dc-preview-note,.dc-storage-note,.dc-notice,.dc-dialog,.dc-validation{display:none!important}.pf-main{margin:0;padding:0;max-width:none;min-height:0}.dc-app{margin:0}.dc-layout,.dc-stage,.dc-canvas-wrap,.dc-canvas{display:block;width:auto;max-width:none;max-height:none;min-height:0;overflow:visible;margin:0;padding:0;border:0;background:none;container-type:normal}.dc-paper{width:auto;min-height:0;padding:0;margin:0;border:0;box-shadow:none;font-size:11pt;line-height:1.55;-webkit-print-color-adjust:exact;print-color-adjust:exact}.dc-document-section,.dc-document-section.is-selected{margin:0 0 7mm;padding:0;outline:0;background:none;cursor:default}.dc-paper .dc-section-heading{break-after:avoid;page-break-after:avoid}.dc-paper .dc-empty-section{display:none}.dc-document-title,.dc-section-heading{break-after:avoid}.dc-paragraph{orphans:3;widows:3}}
