.dg-help-page{margin:0;background:linear-gradient(125deg,#f7fbfd,#eef9f8);color:#0f172a;font-family:Inter,Arial,sans-serif;min-height:100vh}.dg-help-page *,.dg-help-widget *{box-sizing:border-box}/* Header matches the existing View Plans brand and navy header. */
.dg-help-header{position:sticky;top:0;z-index:40;border-bottom:1px solid rgba(148,163,184,.22);background:rgba(15,23,42,.97);backdrop-filter:blur(14px)}.dg-help-header__inner{width:min(1180px,calc(100% - 32px));min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 auto}.dg-help-brand{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-size:22px;font-weight:900;letter-spacing:-.045em;white-space:nowrap}.dg-help-brand__mark{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:rgba(255,255,255,.10);color:#fff;font-size:13px;box-shadow:0 12px 28px rgba(0,0,0,.22)}.dg-help-brand__word>span{color:#2dd4bf}.dg-help-header nav{display:flex;gap:20px;align-items:center}.dg-help-header nav a{font-size:14px;color:#e2e8f0;text-decoration:none;padding:8px 0}.dg-help-header nav a:hover{color:#5eead4}
.dg-help-main{max-width:1240px;margin:auto;padding:50px 24px 80px}.dg-help-main h1{font-size:clamp(32px,4.5vw,58px);letter-spacing:-.04em;margin:0 0 12px}.dg-help-subtitle{font-size:18px;color:#64748b;margin:0 0 30px;line-height:1.6}.dg-help-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px}.dg-help-search{display:block;width:100%;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:18px 20px;font-size:16px;color:#0f172a}.dg-help-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 18px;border-bottom:1px solid #cbd5e1}.dg-help-tabs button{border:0;border-bottom:3px solid transparent;background:none;padding:12px 10px;color:#64748b;font-size:13px;cursor:pointer}.dg-help-tabs button[aria-pressed=true]{color:#0f766e;border-color:#14b8a6;font-weight:700}.dg-help-list details{border:1px solid #dbe5ed;border-radius:11px;background:#fff;margin:9px 0;overflow:hidden}.dg-help-list summary{list-style:none;font-weight:700;font-size:15px;cursor:pointer;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;line-height:1.4}.dg-help-list summary::-webkit-details-marker{display:none}.dg-help-list summary::after{content:'⌄';font-size:22px;font-weight:400}.dg-help-list details[open] summary::after{content:'⌃'}.dg-help-list details[open] summary{border-bottom:1px solid #edf2f7}.dg-help-answer{padding:19px 22px;line-height:1.75;font-size:14px;color:#475569;background:#fbfdff}.dg-help-answer p{margin:0}.dg-help-count{font-size:12px;color:#64748b;margin:15px 5px}.dg-help-support{align-self:start;background:#eaf9f7;border:1px solid #c5e9e4;border-radius:14px;padding:26px;line-height:1.6}.dg-help-support h2{font-size:23px;margin:0 0 8px}.dg-help-support p{font-size:14px;margin:8px 0}.dg-help-support a{color:#0f766e;font-size:14px;overflow-wrap:anywhere}.dg-help-support button{margin-top:15px;border:0;border-radius:9px;background:#0f766e;color:#fff;font-weight:700;padding:12px 18px;cursor:pointer}.dg-help-footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid #e2e8f0;padding:22px 24px;font-size:12px;color:#64748b;max-width:1240px;margin:auto}.dg-help-footer nav{display:flex;gap:20px}.dg-help-footer a{color:#475569}.dg-help-nav-link{color:#0f766e;font-weight:700;font-size:13px;text-decoration:none;margin-left:auto;margin-right:18px;white-space:nowrap}.dg-help-widget{position:fixed;right:22px;bottom:22px;z-index:390;font-family:Inter,Arial,sans-serif;color:#0f172a}.dg-help-launcher{display:flex;align-items:center;gap:9px;border:0;border-radius:999px;background:#071f3b;color:#fff;padding:14px 19px;box-shadow:0 8px 28px #0f172a22;cursor:pointer;font-weight:700;font-size:14px}.dg-help-panel{width:390px;max-width:calc(100vw - 30px);background:#fff;border:1px solid #dbe5ed;border-radius:16px;overflow:hidden;box-shadow:0 16px 50px #0f172a26;display:flex;flex-direction:column;max-height:min(690px,calc(100dvh - 44px))}.dg-help-panel[hidden],.dg-help-launcher[hidden],.dg-help-list details[hidden]{display:none!important}.dg-help-panel-head{background:#0f172a;color:white;padding:18px;display:flex;align-items:center;gap:12px}.dg-help-spark{color:#2dd4bf;font-size:28px}.dg-help-panel-head strong{display:block;font-size:16px}.dg-help-panel-head small{display:block;color:#cbd5e1;margin-top:4px;font-size:12px}.dg-help-close{margin-left:auto;background:none;border:0;color:#fff;font-size:25px;cursor:pointer;padding:2px 8px}.dg-help-messages{overflow-y:auto;padding:17px;min-height:160px;max-height:360px;display:flex;flex-direction:column;gap:13px;overscroll-behavior:contain}.dg-help-message{font-size:13px;line-height:1.65;border-radius:12px;padding:13px;background:#f1f5f9;white-space:pre-wrap;overflow-wrap:anywhere}.dg-help-message.user{background:#dff6f2;margin-left:30px}.dg-help-message a{display:block;color:#0f766e;font-weight:600;font-size:12px;margin-top:9px;white-space:normal}.dg-help-chips{display:flex;flex-wrap:wrap;gap:7px;padding:4px 17px 12px}.dg-help-chips button,.dg-help-chips a{border:1px solid #99d6cb;background:#fff;color:#0f766e;border-radius:999px;font-size:12px;padding:8px 11px;cursor:pointer;text-decoration:none}.dg-help-form{display:flex;gap:8px;margin:0 15px 10px;border:1px solid #cbd5e1;border-radius:24px;padding:6px}.dg-help-input{width:100%;min-width:0;border:0;background:none;padding:7px 9px;font-size:13px;outline:none;color:#0f172a}.dg-help-send{background:#0d9488;border:0;border-radius:50%;color:white;width:36px;flex-shrink:0;font-size:20px;cursor:pointer}.dg-help-send:disabled{opacity:.5;cursor:wait}.dg-help-note{font-size:10px;line-height:1.5;color:#64748b;padding:0 17px 15px;margin:0}.dg-help-note a{color:#0f766e}.dg-help-page button:focus-visible,.dg-help-page a:focus-visible,.dg-help-page summary:focus-visible,.dg-help-search:focus-visible,.dg-help-widget button:focus-visible,.dg-help-widget a:focus-visible,.dg-help-form:focus-within{outline:3px solid #5eead4;outline-offset:3px}.dg-help-empty{padding:24px;color:#64748b;font-size:14px}.dg-help-page noscript{display:block;padding:18px;background:#fffbeb}.dg-help-chips button:disabled{opacity:.5}.dg-help-nav-link:hover{text-decoration:underline}@media(max-width:900px){.dg-help-layout{grid-template-columns:1fr}.dg-help-support{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:18px}.dg-help-support h2{margin:0;font-size:19px}.dg-help-support p{margin:0}.dg-help-main{padding-top:34px}.dg-help-header nav{gap:14px}.dg-help-header nav a{font-size:12px}}@media(max-width:600px){.dg-help-header{padding:16px;gap:10px;flex-wrap:wrap}.dg-help-header nav{gap:16px;width:100%;overflow:auto}.dg-help-brand{font-size:21px}.dg-help-main{padding:28px 16px 90px}.dg-help-subtitle{font-size:15px}.dg-help-tabs{gap:0}.dg-help-tabs button{font-size:11px;padding:10px 8px}.dg-help-list summary{padding:17px 15px;font-size:14px}.dg-help-answer{padding:16px;font-size:13px}.dg-help-widget{right:12px;bottom:12px}.dg-help-panel{width:calc(100vw - 24px);max-width:none;max-height:calc(100dvh - 24px)}.dg-help-messages{max-height:calc(100dvh - 300px)}.dg-help-launcher{padding:12px 16px;font-size:12px}.dg-help-nav-link{font-size:12px;margin-right:10px}.dg-help-footer{padding-bottom:90px}}

.dg-help-support-panel{margin:0 17px 12px;padding:12px;background:#ecfdf5;border:1px solid #99d6cb;border-radius:10px;font-size:12px;line-height:1.6}.dg-help-support-panel[hidden]{display:none}.dg-help-support-panel a{display:block;color:#0f766e;overflow-wrap:anywhere}.dg-help-support-panel button{margin-top:8px;border:1px solid #99d6cb;border-radius:6px;background:white;padding:6px 10px;cursor:pointer}.dg-help-support-status{display:block;margin-top:6px;color:#475569}@media(max-width:600px){.dg-help-header{padding:0}.dg-help-header__inner{flex-wrap:wrap;gap:8px;padding:12px 0}.dg-help-header nav{width:100%;overflow:auto;gap:16px}}

.dg-help-title-brand{font-weight:900;letter-spacing:-.045em}.dg-help-title-brand>span{color:#2dd4bf}

.dg-help-launcher-guard{color:#2dd4bf}

/* V9.7 analytical explanation controls; existing analysis styling is preserved. */
.dg-help-context{padding:10px 17px 6px;font-size:11px;line-height:1.5;color:#475569;background:#f8fafc}.dg-help-explain-finding{display:block;margin-top:12px;padding:7px 10px;border:1px solid #8fcfc5;border-radius:8px;background:#effaf7;color:#116c65;font-size:11px;font-weight:700;cursor:pointer}.dg-help-explain-finding:hover{background:#dff5ee}.dg-help-explain-finding:focus-visible{outline:3px solid #5eead4;outline-offset:2px}.dg-help-chips [aria-pressed="false"]{color:#64748b;border-color:#cbd5e1}.dg-help-panel{width:440px;max-width:calc(100vw - 30px);max-height:min(760px,calc(100dvh - 44px))}.dg-help-messages{max-height:400px}@media(max-width:600px){.dg-help-panel{width:calc(100vw - 24px);max-width:none;max-height:calc(100dvh - 24px)}.dg-help-messages{max-height:calc(100dvh - 370px)}}

/* Approved analysis-only assistant docking; other pages retain their launcher. */
.dg-help-analysis-docked>.dg-help-launcher{display:none}
.dg-help-sidebar-slot{margin-top:auto;padding-top:14px;border-top:1px solid #ffffff26;flex-shrink:0}
.dg-help-sidebar-slot .dg-help-launcher{width:100%;justify-content:center;padding:12px 8px;font-size:12px;border:1px solid #ffffff26}
.dg-help-launcher-icon{width:36px;height:36px;padding:0;justify-content:center;flex-shrink:0}
.dg-help-launcher-icon .dg-help-launcher-label{display:none}
[data-dg-help-header-slot]{flex-shrink:0;margin-left:auto}
@media(min-width:1180px){
  .dg-paid-analysis-sidebar:has([data-dg-help-sidebar-slot]){overflow:hidden!important}
  .dg-paid-analysis-sidebar:has([data-dg-help-sidebar-slot]) .dg-paid-analysis-sidebar__nav{min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;flex-shrink:1;margin-bottom:14px}
  .dg-paid-analysis-sidebar:has([data-dg-help-sidebar-slot]) .dg-analysis-nav-button{min-width:0;box-sizing:border-box}
  .dg-paid-analysis-sidebar:has([data-dg-help-sidebar-slot]) .dg-analysis-nav-button>span{min-width:0;overflow-wrap:anywhere}
  .is-sidebar-collapsed .dg-help-sidebar-slot{width:100%}
  .is-sidebar-collapsed .dg-help-sidebar-slot .dg-help-launcher{width:32px;height:36px;padding:0;border-radius:9px}
  .is-sidebar-collapsed .dg-help-sidebar-slot .dg-help-launcher-label{display:none}
  .dg-risk-header [data-dg-help-header-slot]{display:none}
}
