/* Documentation uses the existing object navigation and button system. */
.ed-body{padding-top:24px;color:#253e38}.ed-body p{line-height:1.65}.ed-body h3,.ed-dialog h3{font-size:17px;line-height:1.4;margin:0 0 8px}.ed-body h4{font-size:15px;margin:0 0 12px}.ed-body .ed-muted,.ed-dialog .ed-muted{color:#73807e;font-size:13px;line-height:1.65}.ed-toolbar,.ed-actions,.ed-version-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ed-toolbar{margin-bottom:24px}.ed-toolbar p{margin:4px 0}.ed-toolbar strong{font-size:20px}.ed-actions{justify-content:flex-start}.ed-primary{background:#315d49!important;color:#fff!important;border-color:#315d49!important}.ed-primary:hover{background:#254b3a!important}.ed-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.ed-category{padding:22px;border:1px solid #e1e8e4;border-radius:16px;background:#fafcfb}.ed-category p{font-size:13px;color:#74817d;margin-bottom:0}.ed-category-mark,.ed-file-icon{display:grid;place-items:center;border-radius:11px;background:#ecf2f8;color:#5c7da2;width:42px;height:42px;font-size:24px;margin-bottom:14px}.ed-contract .ed-category-mark,.ed-file-icon.ed-contract{background:#f6efde;color:#a88741}.ed-estimate .ed-category-mark,.ed-file-icon.ed-estimate{background:#e7f1ea;color:#518667}.ed-correspondence .ed-category-mark,.ed-file-icon.ed-correspondence{background:#eeeafa;color:#8575ac}.ed-executive .ed-category-mark,.ed-file-icon.ed-executive{background:#e5f3f1;color:#478c85}.ed-other .ed-category-mark,.ed-file-icon.ed-other{background:#eeefef;color:#7b8482}.ed-access{display:flex;align-items:flex-start;gap:18px;background:#f3f6f4;border:1px solid #dce6df;border-radius:16px;padding:24px;margin-top:20px;max-width:100%}.ed-access p{max-width:800px;color:#66766e;font-size:14px;margin:8px 0 16px}.ed-access small{color:#907637}.ed-lock{display:grid;place-items:center;border-radius:12px;background:#e6eee7;color:#5d8168;width:44px;height:44px;flex-shrink:0;font-size:24px}.ed-filter{display:flex;gap:8px;flex-wrap:wrap}.ed-filter .er-btn{font-size:13px;gap:8px}.ed-filter .er-btn[aria-pressed=true]{background:#edf3ee;border-color:#87a38e;color:#284d38}.ed-filter small{color:#7a8880}.ed-search{display:block;margin:20px 0;font-size:12px;color:#6a7d71;max-width:460px}.ed-search span{display:block;margin-bottom:6px}.ed-search input,.ed-form input:not([type=radio]):not([type=checkbox]),.ed-form select,.ed-form textarea{width:100%;font:inherit;font-size:14px;color:#294339;background:#fff;border:1px solid #ccd9d1;border-radius:9px;padding:11px 12px;box-sizing:border-box}.ed-search input:focus,.ed-form input:focus,.ed-form select:focus,.ed-form textarea:focus{outline:2px solid #83a591;outline-offset:2px}.ed-records{border-top:1px solid #e3e9e5}.ed-record{display:flex;align-items:center;width:100%;gap:18px;padding:20px 8px;text-align:left;border:0;border-bottom:1px solid #e3e9e5;background:#fff;color:inherit;font:inherit;cursor:pointer}.ed-record:hover{background:#f7faf8}.ed-record:focus-visible,.ed-versions button:focus-visible{outline:2px solid #659077;outline-offset:2px}.ed-file-icon{flex-shrink:0;margin:0}.ed-record-title{flex:1;min-width:0}.ed-record-title b{display:block;font-size:15px;overflow-wrap:anywhere}.ed-record-title small{display:block;font-size:12px;color:#819087;margin-top:7px}.ed-record-state{display:flex;align-items:flex-end;flex-direction:column;gap:7px}.ed-record-state small{font-size:12px;color:#7e887f}.ed-pill{display:inline-flex;padding:6px 10px;border-radius:8px;font-size:12px;background:#f1f3f1;color:#76847a;line-height:1.35}.ed-green{background:#eaf4ec;color:#477c54}.ed-amber{color:#ac7a29!important}.ed-empty{text-align:center;padding:48px 20px;color:#718079}.ed-empty p{max-width:520px;margin:10px auto}.ed-empty h3{color:#3e564b}.ed-detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:20px;margin-bottom:20px}.ed-paper{border:1px solid #e0e8e2;border-radius:15px;padding:22px;background:#fff;min-width:0}.ed-version-head{margin-bottom:14px}.ed-version-head h3{margin-bottom:0}.ed-version-head p{margin-bottom:0}.ed-status-line{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 22px}.ed-status-line span{padding:7px 10px;border-radius:8px;font-size:11px;background:#f1f3f2;color:#8d978f}.ed-status-line .is-done{background:#edf5ec;color:#60825d}.ed-change{border-left:3px solid #b9cdbb;padding:8px 12px;background:#f8faf7;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.ed-hash{margin-top:20px;font-size:11px;color:#849088}.ed-hash code{display:block;overflow-wrap:anywhere;padding:10px 0}.ed-extraction{border-top:1px solid #e4ebe5;padding-top:20px;margin-top:20px}.ed-extraction p{font-size:13px;color:#6d7f72}.ed-facts{margin:10px 0}.ed-facts div{display:flex;gap:15px;justify-content:space-between;margin-bottom:12px;font-size:13px}.ed-facts dt{color:#7b8b80}.ed-facts dd{margin:0;font-weight:600}.ed-versions{display:grid;gap:10px;margin-top:18px}.ed-versions button{text-align:left;padding:12px;border:1px solid #e4e9e5;border-radius:10px;background:#fff;font:inherit;color:#4b6354;cursor:pointer}.ed-versions button[aria-pressed=true]{background:#f0f5ef;border-color:#91ae93}.ed-versions b{font-size:14px;display:flex;gap:6px;justify-content:space-between}.ed-versions span{font-size:11px;font-weight:400}.ed-versions small{display:block;font-size:11px;color:#839183;margin-top:6px;overflow-wrap:anywhere}.ed-people article{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid #edf0ed}.ed-people article>div{flex:1}.ed-people article b{font-size:14px}.ed-people article small{display:block;color:#849185;font-size:12px;margin-top:5px}.ed-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eaf0e8;color:#79936a;flex-shrink:0}.ed-participants{margin-bottom:20px}.ed-participants details{font-size:13px;margin:16px 0}.ed-notice{padding:15px 17px;border:1px solid #eddfc5;background:#fbf7ed;color:#93752f;border-radius:10px;font-size:13px;margin:18px 0}.ed-notice p{margin:8px 0}.ed-success{border-color:#d9e8d9;background:#f0f7ef;color:#547951}.ed-history summary,.ed-body details summary{cursor:pointer}.ed-history ol{list-style:none;padding:0;margin:20px 0 0}.ed-history li{display:flex;gap:25px;padding:15px 0;border-top:1px solid #edf0ed;font-size:12px}.ed-history time{color:#809081;min-width:115px}.ed-history li b{font-weight:500;font-size:13px}.ed-history li span{display:block;color:#859282;margin-top:6px}.ed-history li p{white-space:pre-wrap}.ed-dialog{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto;color:#2d4937}.ed-dialog-body{padding:22px}.ed-dialog-body p{font-size:14px;line-height:1.65}.ed-dialog .eo-dialog-head h2{font-size:21px;margin:0}.ed-dialog hr{margin:26px 0;border:0;border-top:1px solid #e3e9e1}.ed-form{display:grid;gap:16px}.ed-form label{display:grid;gap:7px;font-size:13px}.ed-form label.ed-check{display:flex;align-items:flex-start;gap:10px;line-height:1.6}.ed-form textarea{resize:vertical;min-height:72px}.ed-form p{margin:0}.ed-form button{justify-self:start}.ed-form input[type=checkbox],.ed-form input[type=radio]{accent-color:#517950;margin-top:3px}.ed-file{background:#f3f7f1;border:1px dashed #acc0a6;border-radius:12px;padding:18px}.ed-form input[type=file]{padding:10px 0!important;border:0!important;background:transparent!important}.ed-candidates{border:1px solid #d9e5d5;border-radius:10px;padding:12px}.ed-candidates legend{font-size:13px;color:#648257;padding:0 5px}.ed-candidates label{display:flex;align-items:flex-start;gap:10px;padding:8px 0}.ed-candidates small{display:block;color:#7a8c71;line-height:1.6;margin-top:5px}.ed-error{padding:12px 16px;border:1px solid #e7cfc5;background:#fff5ef;color:#ae4c3b;border-radius:9px;font-size:13px;line-height:1.6}.ed-upload-state{color:#668456}.ed-invite{overflow-wrap:anywhere}.ed-body [hidden],.ed-dialog [hidden]{display:none!important}
@media(max-width:1000px){.ed-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-detail-grid{grid-template-columns:1fr}.ed-versions{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}
@media(max-width:600px){.ed-body{padding-top:18px}.ed-toolbar{align-items:flex-start}.ed-toolbar>.ed-actions{width:100%}.ed-category-grid{gap:10px}.ed-category{padding:16px}.ed-category h3{font-size:14px}.ed-category p{font-size:12px}.ed-access{padding:18px;gap:12px}.ed-lock{display:none}.ed-record{flex-wrap:wrap;gap:12px;padding:18px 2px}.ed-record-title{flex-basis:65%}.ed-record-state{align-items:flex-start;flex-direction:row;flex-wrap:wrap;margin-left:54px}.ed-record>span:last-child{display:none}.ed-filter{gap:6px}.ed-filter .er-btn{padding:9px;font-size:12px}.ed-paper{padding:16px}.ed-people article{flex-wrap:wrap}.ed-people article>.ed-pill{margin-left:46px}.ed-people article>.er-btn{font-size:11px;padding:7px}.ed-history li{display:block}.ed-history time{display:block;margin-bottom:8px}.ed-dialog-body{padding:18px}.ed-facts div{display:block}.ed-facts dd{margin-top:6px}.ed-version-head>.er-btn{width:100%}}

/* Category cards open the section before authenticated file access is enabled. */
.ed-category{position:relative}.ed-category-link{color:inherit;text-decoration:none}.ed-category-link::after{content:"";position:absolute;inset:0;border-radius:16px}.ed-category-link:focus-visible{outline:none}.ed-category:focus-within{outline:2px solid #6e937d;outline-offset:3px}.ed-category:hover{border-color:#a9c1ae}.ed-category-open{display:block;margin-top:16px;font-size:12px;color:#52765e}.ed-section-preview{margin:24px 0 8px;border:1px solid #e1e8e4;border-radius:14px;overflow:hidden}.ed-section-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:14px;padding:16px 20px;border-bottom:1px solid #e1e8e4;color:#7c897f;font-size:12px;background:#fafcfb}.ed-section-preview .ed-empty{padding:36px 20px}.ed-toolbar>p{flex:1;min-width:200px}
@media(max-width:600px){.ed-section-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px}.ed-section-columns>span:last-child{display:none}.ed-section-preview .ed-empty{padding:28px 16px}}

/* Documentation category pictograms share the existing tab states. */
.ed-filter .er-btn{display:inline-flex;align-items:center;justify-content:center}
.ed-filter .ed-tab-icon{display:block;width:18px;height:18px;flex:0 0 18px}
.ed-tab-icon-project{color:#5c7da2}.ed-tab-icon-contract{color:#9b7b37}.ed-tab-icon-estimate{color:#518667}.ed-tab-icon-correspondence{color:#8575ac}.ed-tab-icon-executive{color:#478c85}.ed-tab-icon-other{color:#73817b}

.ed-local-toolbar{margin-top:18px}.ed-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:14px;margin:20px 0}
.ed-folder{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:155px;padding:20px;border:1px solid #dce5e0;border-radius:12px;background:#fff;color:#29483b;text-align:left;font:inherit;cursor:pointer}
.ed-folder-add{border-style:dashed;color:#658170;justify-content:center}.ed-folder-add .ed-folder-meta{margin-top:0}.ed-folder-add:disabled{opacity:.5;cursor:default}.ed-folder:hover{border-color:#8faa99}.ed-folder:focus-visible{outline:2px solid #517c63;outline-offset:3px}
.ed-folder-icon{display:block;width:28px;height:28px;color:#567663;margin-bottom:14px}.ed-folder-icon svg{width:100%;height:100%}
.ed-folder-title{font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.ed-folder-meta{display:flex;justify-content:space-between;gap:8px;width:100%;margin-top:auto;padding-top:14px;font-size:11px;color:#7c8c82}
.ed-local-toolbar [aria-pressed=true]{border-color:#8faa99;background:#f1f5f2}
@media(max-width:600px){.ed-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ed-folder{padding:15px;min-height:160px}.ed-folder-title{font-size:13px}.ed-local-toolbar>.ed-actions{width:100%}.ed-local-toolbar .er-btn{flex:1}.ed-local-toolbar>p{min-width:0}}

.ed-discipline-label{display:inline-flex;align-items:center;gap:10px;max-width:100%;vertical-align:middle}.ed-discipline-label>svg{display:block;width:24px;height:24px;flex:0 0 24px;color:#567663}.ed-discipline-label>span{min-width:0;overflow-wrap:anywhere}.ed-pill .ed-discipline-label{gap:6px}.ed-pill .ed-discipline-label>svg{width:16px;height:16px;flex-basis:16px}

.ed-name-options{min-width:0}.ed-name-status{color:#587164;font-size:13px!important}.ed-name-candidates{min-width:0;margin:12px 0;padding:0;border:0}.ed-name-candidates legend{font-size:12px;color:#74827a;margin-bottom:8px}.ed-form .ed-name-choice{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid #dce5df;border-radius:9px;margin-bottom:7px;cursor:pointer}.ed-name-choice:has(input:checked){background:#f1f6f2;border-color:#7f9f89}.ed-name-choice>span{min-width:0}.ed-name-choice b{display:block;font-weight:500;font-size:13px;overflow-wrap:anywhere}.ed-name-choice small{display:block;color:#77877e;font-size:11px;margin-top:4px}.ed-name-excerpt{display:block;margin-top:6px;font-size:11px;color:#829087;line-height:1.5;overflow-wrap:anywhere}.ed-name-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.ed-name-actions .er-btn{font-size:12px;padding:8px 10px}.ed-name-options>.ed-muted{font-size:12px}.ed-form button[type=submit]:disabled{opacity:.55;cursor:wait}

.ed-register-toolbar{justify-content:flex-end}.ed-register-toolbar>[hidden],.ed-search[hidden]{display:none!important}

.ed-file-icon svg{width:23px;height:23px}
/* Keep category pictograms the same size inside both document renderers. */
.dv-root .ed-filter .ed-tab-icon{width:18px;height:18px;flex:0 0 18px}
