/* One drawer frame, matching the AI-answer drawer reference. */
body:has(.plane-shell) :is(dialog.context-drawer[open],dialog.scene-dialog[open],dialog#dialog[open],.gd-task-drawer),html.dark body:has(.plane-shell) :is(dialog.context-drawer[open],dialog.scene-dialog[open],dialog#dialog[open],.gd-task-drawer){position:fixed!important;inset:46px 8px 8px auto!important;left:auto!important;right:8px!important;top:46px!important;bottom:8px!important;width:min(960px,calc(100vw - 76px))!important;max-width:none!important;height:calc(100dvh - 54px)!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:14px 8px 8px 14px!important;background:var(--surface,#fff)!important;color:var(--text)!important;box-shadow:-16px 0 50px #0003!important;overflow:hidden!important;box-sizing:border-box;animation:cx45-open .3s cubic-bezier(.16,1,.3,1) both}
body:has(.plane-shell) :is(dialog.scene-dialog,dialog#dialog)::backdrop{background:rgb(0 0 0 / 50%)!important}
body:has(.plane-shell) :is(.scene-dialog-shell,#dialog-form){display:flex!important;flex-direction:column;height:100%;max-height:none!important;min-height:0;margin:0!important;padding:0!important}
body:has(.plane-shell) :is(.context-drawer,.scene-dialog,#dialog,.gd-task-drawer)>.cx-header,body:has(.plane-shell) :is(.scene-dialog-shell,#dialog-form)>.cx-header{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;flex:none!important;height:auto!important;min-height:84px!important;padding:18px 24px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--line)!important;background:var(--surface)!important;box-sizing:border-box}
body:has(.plane-shell) .cx-header .cx-heading-copy{display:block!important;min-width:0;flex:1;gap:0!important}.cx-header h2{font-size:16px!important;font-weight:550!important;line-height:1.5!important;margin:0!important;border:0!important;overflow-wrap:anywhere}.cx-header p{font-size:12px!important;line-height:1.7!important;color:var(--muted)!important;margin:5px 0 0!important}.cx-header>.icon-button{margin-left:auto!important;width:30px;height:30px;flex:none}.cx-header .icon{width:17px;height:17px;display:inline-block!important;flex:none}.cx-header .cx-title-icon{display:grid!important;place-items:center;width:34px;height:34px;flex:none;border-radius:9px;color:var(--accent,#478b9b);background:var(--soft)}
body:has(.plane-shell) :is(.context-drawer,.scene-dialog,#dialog,.gd-task-drawer) .btn{display:inline-flex!important;align-items:center;justify-content:center;gap:7px!important;min-height:30px!important;height:auto!important;padding:6px 11px!important;border-radius:6px!important;font-size:12px!important;line-height:1.5!important;font-weight:500;white-space:normal}
body:has(.plane-shell) .gd-task-drawer>.cx-header .btn{border:1px solid var(--line)!important;box-shadow:0 1px 2px #00000008!important;background:var(--surface)!important;color:var(--text)!important}
body:has(.plane-shell) :is(.scene-dialog-content,.dialog-body){flex:1!important;min-height:0!important;max-height:none!important;overflow:auto!important}.scene-dialog-content.kb-drawer-columns{padding:0!important}.gd-task-drawer .gd-drawer-body{height:auto!important;min-height:0;flex:1;overflow:auto}.scene-dialog-shell>footer,#dialog-form>.dialog-footer{padding:16px 24px!important;min-height:62px;flex:none;gap:12px!important;border-top:1px solid var(--line);margin:0!important;display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;background:var(--surface)}.gd-task-drawer>footer{flex:none!important}
.plane-shell.plane-refresh .scene-map-nav>button[aria-pressed=true]{box-shadow:none!important;border-left:0!important;border-inline-start:0!important}.plane-shell.plane-refresh .scene-map-nav>button[aria-pressed=true]::before{display:none!important}
.p1-entry-topbar{display:flex;justify-content:flex-end;padding:16px 24px 0;flex:none}.p1-entry-topbar .btn{display:inline-flex;align-items:center;gap:7px;border-radius:6px;min-height:32px}.p1-entry-topbar .icon{width:16px;height:16px}.p1-brand-setup.bf-step-page{display:flex;flex-direction:column}.p1-brand-setup .p1-entry-form{flex:1;min-height:0}
/* A diagnosis reads as findings with evidence, rather than another KPI grid. */
.bp-summary{padding:28px 0 30px;margin:12px 0 32px;border-block:1px solid var(--line);color:var(--text)}.bp-summary>header{display:flex;align-items:center;gap:12px}.bp-summary>header>span{color:var(--muted);flex:none}.bp-summary .icon{width:20px;height:20px;flex:none}.bp-summary h2{font-size:19px;font-weight:550;line-height:1.6;margin:0}.bp-summary>header p{font-size:12px;line-height:1.8;color:var(--muted);margin:5px 0 0}.bp-conclusion{font-size:15px!important;font-weight:500;line-height:1.9!important;max-width:75ch;margin:22px 0!important}.bp-issues{list-style:none!important;padding:0!important;margin:0!important}.bp-issues>li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:16px;padding:24px 0;margin:0!important;border-top:1px solid var(--line)}.bp-symbol{padding-top:4px;color:var(--muted)}.bp-issues h3{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 18px;font-size:14px!important;font-weight:550;line-height:1.7;margin:0 0 10px!important}.bp-issues h3>small{font-weight:400;font-size:12px;color:var(--muted)}.bp-issues p{font-size:13px!important;line-height:1.9!important;color:var(--muted);margin:7px 0!important;max-width:75ch}.bp-action strong{font-size:12px;font-weight:500;color:var(--text);margin-right:12px}.bp-question{font-size:12px!important}.bp-issues .btn{display:inline-flex;align-items:center;gap:7px;margin-top:0;border-radius:6px;white-space:nowrap;min-height:32px}.bp-issues .btn .icon{width:14px;height:14px}.bp-summary>footer p{font-size:12px!important;line-height:1.9!important;color:var(--muted);margin:6px 0!important}.bp-summary>footer{padding-top:18px;border-top:1px solid var(--line)}.bp-evidence>section+section{border-top:1px solid var(--line);margin-top:28px;padding-top:8px}.bp-answer{white-space:pre-wrap;font-size:14px;line-height:1.95;max-width:75ch;overflow-wrap:anywhere}.bp-evidence details{font-size:13px;margin-top:18px;line-height:1.9}.bp-evidence a{overflow-wrap:anywhere}
@media(max-width:700px){body:has(.plane-shell) :is(dialog.context-drawer[open],dialog.scene-dialog[open],dialog#dialog[open],.gd-task-drawer),html.dark body:has(.plane-shell) :is(dialog.context-drawer[open],dialog.scene-dialog[open],dialog#dialog[open],.gd-task-drawer){inset:8px 6px 8px auto!important;top:8px!important;right:6px!important;bottom:8px!important;width:calc(100vw - 12px)!important;height:calc(100dvh - 16px)!important;border-radius:12px!important}body:has(.plane-shell) :is(.context-drawer,.scene-dialog,#dialog,.gd-task-drawer)>.cx-header,body:has(.plane-shell) :is(.scene-dialog-shell,#dialog-form)>.cx-header{padding:16px 14px!important;gap:10px!important;min-height:76px!important}.cx-header .cx-title-icon{display:none!important}.cx-header h2{font-size:15px!important}.cx-header p{font-size:12px!important}.p1-entry-topbar{padding:12px 18px 0}.bp-summary{padding:22px 0;margin-bottom:24px}.bp-summary h2{font-size:17px}.bp-issues>li{grid-template-columns:20px minmax(0,1fr);gap:12px;padding:20px 0}.bp-issues>li>.btn{grid-column:2;justify-self:start;margin-top:2px}.bp-conclusion{font-size:14px!important}.bp-summary .icon{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){body:has(.plane-shell) :is(dialog.context-drawer[open],dialog.scene-dialog[open],dialog#dialog[open],.gd-task-drawer){animation:none!important}}
#mr-problems{scroll-margin-top:86px!important}.p1-entry-root:has(.p1-entry-topbar){position:relative}.p1-entry-topbar{position:absolute;inset:16px 24px auto auto;padding:0!important;z-index:3}.p1-brand-setup:has(.p1-entry-topbar){padding-top:42px!important}
@media(max-width:700px){.p1-entry-topbar{inset:12px 16px auto auto}.p1-brand-setup:has(.p1-entry-topbar){padding-top:48px!important}}
#dialog-form>.cx-header [data-action=close-dialog] .icon{transform:none!important}
