.dt-modal{position:fixed;inset:0;z-index:2147483300;display:none;padding:24px;background:rgba(8,25,40,.66);backdrop-filter:blur(5px)}
.dt-modal.open{display:flex}
.dt-panel{position:relative;box-sizing:border-box;width:min(1180px,100%);height:min(860px,calc(100vh - 48px));display:flex;flex-direction:column;margin:auto;border:1px solid #cbd7e3;border-radius:21px;background:#f6f8fa;color:#17243a;box-shadow:0 30px 90px rgba(8,25,40,.36);overflow:hidden}
.dt-panel-small{width:min(850px,100%)}
.dt-panel-head{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid #d7e0e8;background:#fff}
.dt-panel-head h2{margin:0;font-size:27px;letter-spacing:-.03em}.dt-beta-badge{display:inline-block;margin-left:7px;padding:4px 7px;border:1px solid #ed6328;border-radius:999px;color:#d95018;font:650 10px/1 Inter,system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;vertical-align:5px}
.dt-panel-head p{margin:6px 0 0;color:#56677d;font-size:14px;line-height:1.5}
.dt-close{box-sizing:border-box;width:38px;height:38px;flex:0 0 38px;padding:0;border:1px solid #d2dce5;border-radius:10px;background:#fff;color:#21334a;font-size:23px;cursor:pointer}
.dt-guide-layout{min-height:0;flex:1;display:grid;grid-template-columns:330px minmax(0,1fr)}
.dt-guide-nav{padding:18px;border-right:1px solid #d9e2e9;background:#fff;overflow:auto}
.dt-stage-intro{margin-bottom:17px;padding:15px;border:1.5px solid #aebdca;border-radius:12px;background:#f7f9fb}.dt-stage-intro span{display:block;margin-bottom:5px;color:#e95d22;font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}.dt-stage-intro h2{margin:0;color:#17243a;font-size:18px;line-height:1.28;letter-spacing:-.02em}.dt-stage-intro p{margin:8px 0 0;color:#40536b;font-size:13px;line-height:1.5}
.dt-project-fields{display:grid;gap:10px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #e0e6ec}
.dt-project-fields label{color:#405168;font-size:13px;font-weight:700}
.dt-project-fields input,.dt-project-fields textarea{box-sizing:border-box;width:100%;margin-top:4px;padding:10px;border:1px solid #ccd7e1;border-radius:8px;background:#fff;color:#1f3048;font:400 14px/1.45 inherit}
.dt-project-fields textarea{min-height:64px;resize:vertical}
.dt-stage-nav{display:grid;gap:7px}
.dt-stage-nav>div,.dt-stage-button,.dt-step-button{box-sizing:border-box;width:100%}
.dt-stage-button{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:1.5px solid #b5c3cf;border-radius:10px;background:#f8fafc;color:#2c3d54;text-align:left;cursor:pointer}
.dt-stage-button.active{border-color:#ff9b70;background:#fff6f1}
.dt-stage-button span{font-size:13px;font-weight:700;line-height:1.35}
.dt-stage-button small{color:#68788e;font-size:12px}
.dt-step-list{display:grid;gap:4px;margin-top:8px;padding-left:9px}
.dt-step-button{min-height:39px;padding:8px 9px;border:0;border-left:2px solid #b7c4cf;background:transparent;color:#43566e;font-size:13px;line-height:1.4;text-align:left;cursor:pointer}
.dt-step-button.done{color:#2f6b4f}
.dt-step-button.active{border-left-color:#ff6f32;background:#fff7f3;color:#182942;font-weight:700}
.dt-guide-main{padding:27px 30px 40px;overflow:auto}
.dt-step-kicker{margin:0 0 7px;color:#e95d22;font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
.dt-guide-main h2{margin:0;font-size:30px;letter-spacing:-.035em}
.dt-step-why,.dt-step-purpose{margin:11px 0 22px;color:#40536b;font-size:15px;line-height:1.65}
.dt-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.dt-guide-section{padding:17px;border:1.5px solid #aebdca;border-radius:13px;background:#fff}
.dt-guide-section.wide{grid-column:1/-1}
.dt-guide-section h3{margin:0 0 9px;font-size:16px}
.dt-guide-section p,.dt-guide-section li{color:#40536b;font-size:14px;line-height:1.58}
.dt-guide-section p{margin:0}
.dt-guide-section ul{margin:0;padding-left:19px}
.dt-tool-links,.dt-term-links{display:flex;flex-wrap:wrap;gap:7px}
.dt-tool-link,.dt-term-link{display:inline-flex;align-items:center;padding:8px 10px;border:1.5px solid #afbecb;border-radius:8px;background:#f8fafc;color:#29435f;font-size:12px;font-weight:700;line-height:1.35;text-decoration:none;cursor:pointer}
.dt-tool-link{border-color:#294a67;background:#173a57;color:#fff}
.dt-step-footer{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px -30px -40px;padding:16px 30px 22px;border-top:1px solid #d7e0e8;background:#fff}
.dt-step-advisory{color:#f15a24;font-size:12px;font-weight:500;line-height:1.45}
.dt-step-controls{display:flex;gap:8px}
.dt-step-controls button{min-width:88px;min-height:42px;padding:9px 13px;border:1.5px solid #aebdca;border-radius:8px;background:#fff;color:#293b52;font-size:14px;font-weight:700;cursor:pointer}

/* Keep Guided Project navigation independent from legacy tool button styles. */
.dt-modal .dt-stage-button{box-sizing:border-box!important;display:flex!important;width:100%!important;height:auto!important;min-height:44px!important;margin:0!important;padding:10px 11px!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border:1.5px solid #b5c3cf!important;border-radius:10px!important;background:#f8fafc!important;color:#2c3d54!important;box-shadow:none!important;transform:none!important;text-align:left!important;white-space:normal!important;overflow:visible!important}
.dt-modal .dt-stage-button.active{border-color:#ff9b70!important;background:#fff6f1!important}
.dt-modal .dt-stage-button span,.dt-modal .dt-stage-button small{width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:left!important;white-space:normal!important}
.dt-modal .dt-stage-button span{color:#2c3d54!important;font-size:13px!important;font-weight:700!important;line-height:1.35!important}
.dt-modal .dt-stage-button small{color:#68788e!important;font-size:12px!important;font-weight:400!important;line-height:1.35!important}
.dt-modal .dt-step-button{box-sizing:border-box!important;display:block!important;width:100%!important;height:auto!important;min-height:39px!important;margin:0!important;padding:8px 9px!important;border:0!important;border-left:2px solid #b7c4cf!important;border-radius:0!important;background:transparent!important;color:#43566e!important;box-shadow:none!important;transform:none!important;font-size:13px!important;font-weight:400!important;line-height:1.4!important;text-align:left!important;white-space:normal!important;overflow:visible!important}
.dt-modal .dt-step-button:hover{background:#f8fafc!important;box-shadow:none!important;transform:none!important}
.dt-modal .dt-step-button.done{color:#2f6b4f!important}
.dt-modal .dt-step-button.active{border-left-color:#ff6f32!important;background:#fff7f3!important;color:#182942!important;font-weight:700!important}
.dt-modal .dt-step-controls button{box-sizing:border-box!important;display:inline-flex!important;width:auto!important;height:auto!important;min-width:88px!important;min-height:42px!important;margin:0!important;padding:9px 13px!important;align-items:center!important;justify-content:center!important;border:1.5px solid #aebdca!important;border-radius:8px!important;background:#fff!important;color:#293b52!important;box-shadow:none!important;transform:none!important;font-size:14px!important;font-weight:700!important;line-height:1.35!important;text-align:center!important;white-space:normal!important}
.dt-glossary-layout{min-height:0;flex:1;display:grid;grid-template-columns:390px minmax(0,1fr)}
.dt-glossary-nav{padding:19px;border-right:1px solid #d9e2e9;background:#fff;overflow:hidden;display:flex;flex-direction:column}
.dt-search{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #cbd6df;border-radius:9px;color:#203149;font-family:inherit;font-size:14px;font-weight:400;line-height:1.4}
.dt-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.dt-filter-row select{width:100%;padding:9px;border:1px solid #d1dbe4;border-radius:8px;background:#fff;color:#405168;font-family:inherit;font-size:14px;font-weight:400;line-height:1.4}
.dt-glossary-count{margin:11px 0 8px;color:#17243a;font-size:13px}
.dt-glossary-letter{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;margin:0 0 8px;border-radius:8px;background:#102b43;color:#fff;font-size:15px;font-weight:850;transition:background-color .18s ease,color .18s ease}
.dt-glossary-list{display:grid;gap:5px;overflow:auto}
.dt-glossary-item{padding:10px 11px;border:1px solid transparent;border-radius:9px;background:#f7f9fb;color:#17243a;text-align:left;cursor:pointer}
.dt-glossary-item:hover,.dt-glossary-item.active{border-color:#c6d3de;background:#fff}
.dt-glossary-item strong,.dt-glossary-item span{display:block}
.dt-glossary-item strong{font-size:14px}
.dt-glossary-item span{margin-top:3px;color:#17243a;font-size:13px;font-weight:400}
.dt-glossary-detail{padding:30px 34px;overflow:auto}
.dt-glossary-detail h2{margin:0;font-size:32px;letter-spacing:-.035em}
.dt-glossary-category{display:inline-block;margin:10px 0 22px;padding:5px 8px;border-radius:99px;background:#e8edf2;color:#495b70;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.06em}
.dt-definition{color:#17243a;font-size:16px;line-height:1.65}
.dt-detail-block{margin-top:20px;padding-top:17px;border-top:1px solid #d7e0e7}
.dt-detail-block h3{margin:0 0 7px;font-size:16px}
.dt-detail-block p{margin:0;color:#17243a;font-size:15px;line-height:1.6}
.dt-beta-note{margin-top:18px}

/* Keep shared glossary panels independent from legacy tool-page element styles. */
.dt-modal .dt-glossary-list{align-content:start!important;grid-auto-rows:max-content!important}
.dt-modal .dt-glossary-item{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;height:auto!important;min-height:52px!important;margin:0!important;padding:9px 11px!important;border:1px solid transparent!important;border-radius:9px!important;background:#f7f9fb!important;color:#17243a!important;box-shadow:none!important;transform:none!important;text-align:left!important;line-height:1.35!important;white-space:normal!important;overflow:hidden!important}
.dt-modal .dt-glossary-item:hover:not(.active){border-color:#adc5d8!important;background:#edf5fb!important;box-shadow:none!important;transform:none!important}
.dt-modal .dt-glossary-item:focus-visible{border-color:#ff6f32!important;outline:3px solid rgba(255,111,50,.3)!important;outline-offset:1px!important}
.dt-modal .dt-glossary-item.active{border-color:#102b43!important;background:#102b43!important;box-shadow:none!important;transform:none!important}
.dt-modal .dt-glossary-item strong,.dt-modal .dt-glossary-item span{box-sizing:border-box!important;display:block!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;text-align:left!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important}
.dt-modal .dt-glossary-item strong{color:#17243a!important;font-size:14px!important;font-weight:650!important}
.dt-modal .dt-glossary-item span{margin-top:3px!important;color:#17243a!important;font-size:13px!important;font-weight:400!important}
.dt-modal .dt-glossary-item.active strong,.dt-modal .dt-glossary-item.active span{color:#fff!important}
.dt-modal .dt-glossary-detail{box-sizing:border-box!important;text-align:left!important}
.dt-modal .dt-glossary-detail h2{display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#17243a!important;box-shadow:none!important;text-align:left!important}
.dt-modal .dt-definition{display:block!important;width:auto!important;height:auto!important;margin:0 0 4px!important;padding:0!important;border:0!important;background:transparent!important;color:#17243a!important;box-shadow:none!important;text-align:left!important;font-size:16px!important;font-weight:400!important}
.dt-modal .dt-detail-block{box-sizing:border-box!important;display:block!important;width:auto!important;height:auto!important;min-height:0!important;margin:20px 0 0!important;padding:17px 0 0!important;border:0!important;border-top:1px solid #d7e0e7!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:left!important}
.dt-modal .dt-detail-block h3,.dt-modal .dt-detail-block p{display:block!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:left!important}
.dt-modal .dt-detail-block h3{margin:0 0 7px!important;color:#17243a!important;font-size:16px!important;font-weight:700!important;line-height:1.35!important}
.dt-modal .dt-detail-block p{margin:0!important;color:#17243a!important;font-size:15px!important;font-weight:400!important;line-height:1.6!important}
.dt-chat-body{min-height:0;flex:1;display:flex;flex-direction:column}
.dt-chat-log{min-height:0;flex:1;padding:24px 26px;overflow:auto}
.dt-chat-message{max-width:78%;margin-bottom:13px;padding:13px 15px;border-radius:14px;color:#30445d;font-size:14px;line-height:1.62}
.dt-chat-message.assistant{background:#fff;border:1px solid #d6e0e8}
.dt-chat-message.user{margin-left:auto;background:#173a57;color:#fff}
.dt-chat-message h3{margin:0 0 7px;color:#1c2e46;font-size:17px}
.dt-gilbert-intro{display:grid;grid-template-columns:72px minmax(0,1fr);gap:15px;align-items:start}.dt-gilbert-intro img{box-sizing:border-box;width:72px;height:72px;border:1px solid #9babb9;border-radius:50%;background:#fff;object-fit:cover;object-position:50% 27%}.dt-gilbert-intro h3{margin-top:2px}
.dt-chat-message p{margin:0 0 8px}
.dt-chat-message p:last-child{margin-bottom:0}
.dt-gilbert-suggestions{display:grid;gap:7px;margin-top:11px}
.dt-gilbert-suggestions button{padding:9px 11px;border:1.5px solid #b8c7d3;border-radius:9px;background:#f8fafc;color:#263d57;font:inherit;font-size:13px;text-align:left;cursor:pointer}
.dt-gilbert-suggestions button:hover{border-color:#173a57;background:#eef3f7}
.dt-gilbert-suggestions .dt-gilbert-more{border-color:#f15a24;background:#fff;color:#d84a17;font-weight:700;text-align:center}
.dt-quick-questions{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:7px;padding:0 26px 13px}
.dt-quick-questions button{padding:8px 11px;border:1px solid #ccd8e2;border-radius:99px;background:#fff;color:#344a64;font-size:13px;line-height:1.35;cursor:pointer}
.dt-chat-compose{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:14px 18px;border-top:1px solid #d7e0e8;background:#fff}
.dt-chat-compose input{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #c8d4de;border-radius:9px;color:#263950;font-family:inherit;font-size:14px;font-weight:400;line-height:1.4}
.dt-chat-compose button{padding:0 18px;border:1px solid #173a57;border-radius:9px;background:#173a57;color:#fff;font-size:14px;font-weight:750;cursor:pointer}
.dt-empty{padding:22px;border:1px dashed #cbd6df;border-radius:12px;background:#fff;color:#56677d;font-size:14px}
.dt-noscript{margin:0 0 20px;padding:15px;border:1px solid #ecd781;border-radius:12px;background:#fff9dc;color:#51471f;font-size:14px}
@media(max-width:900px){.dt-guide-layout,.dt-glossary-layout{grid-template-columns:1fr}.dt-guide-nav,.dt-glossary-nav{max-height:300px;border-right:0;border-bottom:1px solid #d9e2e9}.dt-guide-grid{grid-template-columns:1fr}.dt-panel{height:calc(100vh - 24px)}.dt-modal{padding:12px}}
@media(max-width:560px){.dt-panel-head{padding:18px}.dt-guide-main,.dt-glossary-detail{padding:22px 18px}.dt-chat-message{max-width:92%}.dt-filter-row{grid-template-columns:1fr}.dt-step-footer{margin:20px -18px -22px;padding:15px 18px 20px;align-items:flex-start;flex-direction:column}.dt-step-controls{width:100%}.dt-step-controls button{flex:1}.dt-gilbert-intro{grid-template-columns:52px minmax(0,1fr)}.dt-gilbert-intro img{width:52px;height:52px}}
@media print{.dt-modal{display:none!important}}

/* Plain orange status text beside the title; intentionally not a badge or pill. */
.dt-beta-badge{display:inline;margin-left:8px;padding:0;border:0;border-radius:0;background:transparent;color:#ff6f32;font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;vertical-align:4px}
