:root{font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;--demo-ink:#284a3b;--demo-muted:#526c5d;--demo-height:72px}
.demo-toolbar{position:sticky;top:0;z-index:20;min-height:var(--demo-height);padding:14px 28px;background:#183d30;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #365b49}
.demo-label,.demo-controls{display:flex;align-items:center;gap:14px}.demo-label>span:last-child{font-size:12px;color:#d1e3d7}.demo-pill{font-size:10px;letter-spacing:1.4px;font-weight:700;border:1px solid #729784;border-radius:5px;padding:8px 10px;white-space:nowrap}.demo-controls .btn{background:transparent;border-color:#6c907d;color:#fff;min-height:42px;white-space:nowrap}.demo-controls .btn:hover{background:#315644}.demo-controls .btn:last-child{border-color:transparent;color:#d1e3d7}
.sidebar{top:var(--demo-height);overflow-y:auto}.sidebar-bottom{margin-top:auto}.demo-guide{position:relative;display:flex;align-items:center;gap:20px;padding:25px 28px;margin-bottom:30px;background:#edf3e8;border:1px solid #d5e2cd;border-radius:10px;color:var(--demo-ink)}.demo-step{font-size:38px;font-weight:450;letter-spacing:-2px;color:#708d64;border-right:1px solid #cdddc3;padding-right:22px}.demo-guide>div:nth-child(2){flex:1;min-width:0}.demo-overline{font-size:10px;letter-spacing:1.4px;font-weight:650;color:#49623d}.demo-guide h2{font-size:21px;letter-spacing:-.5px;font-weight:600;line-height:1.25;margin:8px 0}.demo-guide p{font-size:13px;line-height:1.65;color:var(--demo-muted);margin:0;max-width:670px}.demo-guide-actions{display:flex;gap:8px;flex-wrap:wrap;padding-right:10px}.demo-guide-actions .btn{min-height:44px;white-space:nowrap}.demo-guide-close{position:absolute;top:7px;right:7px;padding:5px;color:#526d47}.demo-guide-close .icon{width:16px}.modal-body>.demo-guide{margin:16px;border-radius:8px;padding:20px;gap:14px}.modal-body .demo-guide h2{font-size:18px}.modal-body .demo-guide p{font-size:12px}.modal-body .demo-step{font-size:30px}.demo-upload{text-align:center}.demo-upload>.icon{height:42px;width:42px;color:#477255}.demo-upload h3{font-size:21px;letter-spacing:-.5px}.demo-upload p{font-size:14px;line-height:1.7;color:var(--demo-muted)}.demo-upload .notice{text-align:left}.demo-menu{display:none}.demo-skip{position:fixed;z-index:50;top:5px;left:10px;transform:translateY(-160%);background:#fff;color:#205b4d;padding:12px;border-radius:5px}.demo-skip:focus{transform:translateY(0)}
/* Lift secondary text contrast while keeping Docura's quiet green palette. */
.nav-item,.workspace small,.user small,.nav-label{color:#52685c}.page-heading p,.document-name>span>small,.stat strong small,.date-cell,.table-footer,.activity-row time,.due-row>span:nth-child(2) small,.category,.integration-card p,.team-row small,.team-note,.audit-row small,.version-row small,.detail-history>p,footer{color:#52685c}.stat>div>span,.type-tag,.table-tools select,.table-tools input,.tabs>button,.breadcrumb,.widget h2,.field-confidence,.extraction-intro small{color:#52685c}.green{color:#28643f}.badge.amber{color:#805808}.badge.blue{color:#345c8b}.badge.red{color:#a0443d}.badge.gray{color:#52685c}.table-scroll{max-width:100%;overflow:auto}.main,main,.document-panel{min-width:0}.modal .fields input,.modal .fields select{min-height:42px}.detail-tabs button{min-height:44px}.secondary-review button{min-height:40px}.btn:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #7ba64b;outline-offset:3px}.demo-toolbar button:focus-visible{outline-color:#dcf6c6}.modal-backdrop{z-index:40}.paper-foot{color:#627267}#toast{z-index:60}
@media(max-width:1200px){.demo-guide{flex-wrap:wrap;gap:15px}.demo-guide-actions{padding-left:68px}.demo-guide>div:nth-child(2){flex-basis:70%}}
@media(max-width:680px){:root{--demo-height:110px}.demo-toolbar{padding:10px 15px;gap:7px;flex-wrap:wrap;height:110px}.demo-label{width:100%;gap:9px}.demo-label>span:last-child{font-size:10px}.demo-pill{font-size:9px;padding:6px 8px;letter-spacing:1px}.demo-controls{gap:10px}.demo-controls .btn{font-size:12px;padding:7px 10px;min-height:40px}.sidebar{top:110px;overflow:visible}.sidebar>nav:first-of-type{display:none}.sidebar{height:54px}.demo-menu{display:flex;align-items:center;gap:5px;min-height:42px;font-size:12px;padding:5px;margin-right:10px}.demo-menu .icon{width:18px}.topbar{gap:6px;height:52px}.breadcrumb{flex:1;max-width:none}.top-actions{gap:6px}.demo-nav-open .sidebar{position:sticky;height:auto;min-height:54px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;box-shadow:0 12px 20px #163c3020}.demo-nav-open .sidebar>nav:first-of-type,.demo-nav-open .sidebar>nav:nth-of-type(2){display:grid;grid-template-columns:1fr 1fr;width:100%;margin:0;gap:5px}.demo-nav-open .sidebar>nav .nav-item{display:flex;width:100%;height:44px;font-size:12px;padding:10px;gap:8px}.demo-nav-open .sidebar>nav .nav-item span{display:inline}.demo-nav-open .sidebar-bottom{display:block;width:100%}.demo-nav-open .sidebar-bottom .nav-item{min-height:44px}.demo-nav-open .sidebar-bottom .storage,.demo-nav-open .sidebar-bottom .user{display:none}.demo-guide{padding:20px 17px;gap:12px;margin-bottom:22px}.demo-step{font-size:30px;padding-right:13px}.demo-overline{font-size:9px;letter-spacing:.7px}.demo-guide h2{font-size:19px;line-height:1.3}.demo-guide p{font-size:12px}.demo-guide-actions{padding-left:0;width:100%}.demo-guide-actions .btn.primary{flex:1;justify-content:center;white-space:normal}.demo-guide-close{top:3px;right:3px}.demo-guide>div:nth-child(2){flex-basis:65%}.modal-body>.demo-guide{margin:10px;padding:16px}.modal-body .demo-step{display:none}.modal-body .demo-guide>div:nth-child(2){flex-basis:100%}.stats{grid-template-columns:1fr 1fr}.stat{min-width:0}.stat strong small{font-size:10px}.stat>div>span{font-size:10px}.search{min-width:0}.top-actions>.notification{padding:8px}.table-tools select{max-width:calc(50% - 5px)}.table-tools .view-toggle{margin-left:0}.demo-guide p{max-width:100%}.brand{padding:0}.page-heading .heading-actions{flex-wrap:wrap}.table-footer>div{display:none}footer{font-size:10px}.form-row{gap:10px}.modal .detail-topline{flex-wrap:wrap}.review-actions{position:relative}.fields input,.fields select{width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Portfolio embed: translated metric labels can wrap on narrow screens. */
.stat > div { min-width: 0; }
.stat > div > span { white-space: normal; overflow-wrap: anywhere; }
.tabs { max-width: 100%; overflow-x: auto; }
