.dw{max-width:1500px}.dw label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}.dw input,.dw textarea,.dw select{max-width:100%;box-sizing:border-box}.dw textarea{width:100%;min-height:90px;white-space:pre-wrap}.dw fieldset{border:0;padding:0;min-width:0}.dw-controls,.dw-actions,.dw-block-head{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.dw-actions{margin:16px 0}.dw-controls>label{flex:1;min-width:110px}.dw-controls input[type=checkbox]{width:auto}.dw-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}.dw-block{border-top:1px solid #d9d9d9;padding:18px 0}.dw-block-head{justify-content:space-between}.dw-paper{background:white;color:#202522;padding:28px;box-shadow:0 8px 30px #193a2112;overflow-wrap:anywhere;white-space:pre-wrap}.dw-paper p{max-width:75ch}.dw-paper img{max-width:100%;height:auto}.dw-paper figure{margin:16px 0}.dw-table-scroll{overflow-x:auto;max-width:100%}.dw table{width:100%;border-collapse:collapse;table-layout:fixed}.dw td,.dw th{border:1px solid #d9d9d9;padding:8px;overflow-wrap:anywhere}.dw th{background:#f1f3f1}.dw td textarea{min-width:75px;min-height:65px}.dw-table-scroll table:has(textarea){min-width:350px}.dw-thumb{max-width:180px;max-height:150px}.dw-break{border:0;border-top:1px dashed #6c766c;margin:30px 0}.dw-export{border-top:1px solid #d9d9d9;padding:20px 0}.dw-export a{margin-right:12px}.dw-list{display:grid;gap:12px;margin-top:24px}.dw-document{display:flex;justify-content:space-between;text-align:left;width:100%}.dw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.dw :focus-visible{outline:3px solid #416a42;outline-offset:3px}.dw :disabled{opacity:.65;cursor:wait}.dw ::selection{background:#d4e8cb}.dw input[type=file]{width:100%}#dw-status{white-space:pre-wrap}.dw details{margin:20px 0}.dw summary{cursor:pointer;font-weight:600}@media(max-width:850px){.dw-columns{grid-template-columns:1fr}.dw-paper{padding:18px}.dw-document{flex-direction:column;gap:8px}.dw-actions .btn{flex:1;min-width:125px}}

.dw-pdf-controls{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:18px}.dw-pdf-controls label{max-width:250px}.dw-pdf-controls p{color:#425343}.dw-pdf-paper{width:100%;overflow-x:auto;background:#e9ede8;padding:16px;box-sizing:border-box}.dw-pdf-paper img{display:block;width:100%;max-width:1200px;height:auto;max-height:none;margin:0 auto;background:#fff;box-shadow:0 4px 18px #193a2118}@media(max-width:600px){.dw-pdf-paper{padding:6px}.dw-pdf-controls{gap:6px}}
.dw-columns>div,.dw-columns>aside{min-width:0}
.dw-table-scroll{position:relative}

.dw-business{margin:24px 0;padding:20px 0;border-top:1px solid #d9d9d9}.dw-business h3{margin:0 0 12px}.dw-business h4{margin:24px 0 10px}.dw-business-entry{padding:16px 0;border-top:1px solid #d9d9d9;max-width:75ch}.dw-business-entry textarea{min-height:64px}.dw-business button{margin:4px 6px 4px 0}.dw-business dl{overflow-wrap:anywhere}.dw-business dd{margin:4px 0 14px}.dw-checks p{max-width:75ch;overflow-wrap:anywhere}.dw-business .dw-paper{margin:18px 0;max-height:560px;overflow:auto}.dw-business input,.dw-business textarea{caret-color:#294a2c}.dw-business select{min-width:0}.dw-business .dw-actions label{max-width:100%}@media(max-width:600px){.dw-business{padding:16px 0}.dw-business .dw-actions{align-items:stretch}.dw-business .dw-actions label{width:100%}.dw-business .dw-paper{max-height:420px}}

/* Keep editing cells usable inside the local table scroller; export widths stay unchanged. */
.dw-edit-table.dw-cols-1{min-width:350px}.dw-edit-table.dw-cols-2{min-width:350px}.dw-edit-table.dw-cols-3{min-width:350px}.dw-edit-table.dw-cols-4{min-width:440px}.dw-edit-table.dw-cols-5{min-width:550px}.dw-edit-table.dw-cols-6{min-width:660px}.dw-edit-table.dw-cols-7{min-width:770px}.dw-edit-table.dw-cols-8{min-width:880px}.dw-edit-table.dw-cols-9{min-width:990px}.dw-edit-table.dw-cols-10{min-width:1100px}.dw-edit-table.dw-cols-11{min-width:1210px}.dw-edit-table.dw-cols-12{min-width:1320px}

.dw-sample p,.dw-sample li,.dw-sample summary,.dw-sample h4{overflow-wrap:anywhere}.dw-sample input[type=file]{max-width:100%;box-sizing:border-box}.dw-sample p{max-width:75ch}.dw-sample summary{cursor:pointer}.dw-sample button:focus-visible,.dw-sample summary:focus-visible{outline:2px solid #294a2c;outline-offset:3px}@media(max-width:600px){.dw-sample .dw-actions{flex-direction:column;align-items:stretch}.dw-sample button{max-width:100%;white-space:normal}}
#dw-private{padding-bottom:20px;margin-bottom:24px;border-bottom:1px solid #d9d9d9}#dw-private select,#dw-template-name{width:min(100%,36rem)}#dw-template-recovery{max-width:75ch;overflow-wrap:anywhere}.dw-block details .dw-controls{align-items:flex-end}.dw-block details .dw-controls label{min-width:140px}@media(max-width:600px){#dw-private button,#dw-template-recovery button{max-width:100%;white-space:normal}.dw-block details .dw-controls label{min-width:0;flex-basis:100%}}

.dw-indent{flex:1 1 150px;min-width:0}.dw-indent label{min-width:0}.dw-indent input,.dw-indent select{width:100%}.dw-indent-note{font:12px/1.5 sans-serif;color:#425343;margin:12px 0 4px!important;text-indent:0!important}.dw-merge{margin:16px 0}.dw-merge p{max-width:75ch}.dw-merge input{width:100%}.dw-merge .dw-actions{margin:10px 0}.dw td textarea{resize:vertical}@media(max-width:600px){.dw-indent{flex-basis:100%}.dw-merge .dw-controls>label{min-width:0;flex-basis:calc(50% - 10px)}.dw-merge .btn{max-width:100%;white-space:normal}}
