/* Routeweaver-style right-side introduction and contextual explanation drawer. */
.prototype-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.explain-toggle { border: 1px solid #64877f; background: #193c40; color: #e8f2df; border-radius: 3px; font-size: 12px; font-weight: 700; padding: 9px 12px; min-height: 38px; white-space: nowrap; }
.explain-toggle:hover { background: #294e4b; border-color: #a7c6a9; }
.explanation-open { overflow: hidden; }
.explain-guide { position: fixed; inset: 0; width: min(600px,100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid #95a18a; border-radius: 0; color: #e8f2ec; background: #10252e; box-shadow: -20px 0 70px #0007; overflow: hidden; }
.explain-guide[open] { display: flex; flex-direction: column; }
.explain-guide::backdrop { background: #03101ab3; backdrop-filter: blur(2px); }
.explanation-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 26px; background: #18313a; border-bottom: 1px solid #4d665f; flex-shrink: 0; }
.explanation-kicker { color: #c9cd9d; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.explanation-header h2 { margin: 6px 0 0; font: 800 26px/1.2 Manrope,sans-serif; letter-spacing: -.035em; }
.explanation-header h2:focus { outline: none; }
.explanation-close { background: transparent; color: #e4eeea; border: 1px solid #7a9694; border-radius: 3px; padding: 9px 12px; min-height: 38px; font-size: 13px; white-space: nowrap; }
.explanation-close:hover { background: #36515a; }
.explanation-tabs { display: flex; gap: 8px; padding: 13px 26px; background: #142e38; border-bottom: 1px solid #3b5559; flex-shrink: 0; }
.explanation-tabs button { border: 1px solid transparent; border-radius: 3px; color: #b5cec9; background: transparent; padding: 9px 12px; min-height: 38px; font-size: 13px; font-weight: 700; }
.explanation-tabs button[aria-pressed="true"] { color: #ecf2d3; background: #344b46; border-color: #8b9f84; }
.explanation-content { padding: 25px 26px 35px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; overflow-wrap: anywhere; }
.explanation-content p { margin: 0 0 14px; color: #c4d6d1; font-size: 14px; line-height: 1.7; }
.explanation-content strong { color: #e2ece7; }
.explanation-content a { color: #c8decc; font-size: 13px; line-height: 1.6; text-underline-offset: 4px; }
.explanation-content a:hover { color: #f0efbf; }
.explanation-content .guide-lede { font: 700 21px/1.45 Manrope,sans-serif; color: #eff1dc; margin-bottom: 14px; }
.explanation-content .guide-copy { font-size: 16px; line-height: 1.65; color: #c8dad4; margin-bottom: 22px; }
.guide-boundary { border: 1px solid #718078; border-left: 3px solid #c2c494; border-radius: 3px; background: #1c343c; padding: 16px 17px; margin-bottom: 24px; }
.guide-boundary > strong { font-size: 14px; color: #e5e9c9; }
.guide-boundary p { font-size: 13px; margin: 8px 0 0; line-height: 1.65; }
.guide-section { margin: 25px 0 0; padding-top: 22px; border-top: 1px solid #3b5559; }
.guide-section h3 { font: 700 16px/1.4 Manrope,sans-serif; color: #e7edcf; margin: 0 0 15px; }
.guide-portals { display: grid; gap: 11px; }
.guide-portal { --portal-color: #66b4db; text-align: left; min-width: 0; width: 100%; background: #0d222c; color: #e5eeea; border: 1px solid #385862; border-left: 3px solid var(--portal-color); border-radius: 3px; padding: 15px 16px; white-space: normal; }
.guide-portal[data-guide-role="broker"],.guide-role-links button[data-guide-role="broker"] { --portal-color: #e0b96e; }
.guide-portal[data-guide-role="carrier"],.guide-role-links button[data-guide-role="carrier"] { --portal-color: #c494d1; }
.guide-portal:hover { background: #1b343d; border-color: var(--portal-color); }
.guide-portal > span { display: block; color: var(--portal-color); font-size: 11px; font-weight: 700; letter-spacing: .04em; margin-bottom: 7px; }
.guide-portal > strong { font: 700 16px Manrope,sans-serif; }
.guide-portal > .guide-portal-copy { display: block; margin: 8px 0 9px; color: #c4d6d1; font-size: 14px; font-weight: 400; line-height: 1.7; letter-spacing: normal; }
.guide-portal > small { font-size: 12px; line-height: 1.6; color: #bfd6cf; display: block; }
.guide-use-cases { display: grid; gap: 19px; }
.guide-choice { display: block; width: 100%; text-align: left; border: 1px solid #52727a; background: #17343e; color: #e6efed; border-radius: 3px; padding: 15px 16px; white-space: normal; }
.guide-choice:hover { background: #244854; border-color: #9eccc9; }
.guide-choice strong { display: block; font: 700 16px/1.4 Manrope,sans-serif; }
.guide-choice > span { display: block; font-size: 14px; line-height: 1.65; color: #c2d7d3; margin: 7px 0 10px; }
.guide-choice > small { color: #b1d6c9; font-size: 12px; }
.guide-use-cases article > a { display: inline-block; margin-top: 8px; }
.guide-how ol { padding-left: 21px; margin: 0 0 17px; }
.guide-how li { color: #c4d6d1; font-size: 14px; line-height: 1.65; margin: 0 0 11px; padding-left: 4px; }
.explanation-content .guide-entry { font-size: 13px; color: #9fc6c4; border-top: 1px solid #45605f; margin: 24px 0 20px; padding-top: 18px; }
.guide-start { display: block; width: 100%; border: 1px solid #c0c29a; background: #4a6257; color: #f4f5de; padding: 13px 15px; font-size: 15px; font-weight: 700; border-radius: 3px; }
.guide-start:hover { background: #5b796a; }
.guide-start.secondary { background: #1e4247; border-color: #70a29a; }
.guide-footer-links { display: flex; flex-direction: column; gap: 12px; margin-top: 17px; }
.explanation-content .guide-footnote { font-size: 12px; line-height: 1.65; color: #9bb6b6; margin-top: 17px; }
.guide-context { background: #1d3b44; border-left: 3px solid #a8d6ce; padding: 17px 18px; }
.guide-context > span { display: block; font-size: 12px; line-height: 1.5; color: #aed6c9; margin-bottom: 10px; }
.guide-context h3 { font: 700 17px/1.5 Manrope,sans-serif; margin: 0 0 12px; }
.guide-context > a { display: inline-block; margin-top: 4px; }
.guide-role-links { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-role-links button { --portal-color: #66b4db; background: #0d222c; color: #d7e5e0; border: 1px solid #496670; border-radius: 3px; padding: 9px 11px; font-size: 12px; min-height: 38px; }
.guide-role-links button[aria-current="true"] { border-color: var(--portal-color); color: var(--portal-color); }
.guide-shared-load { display: grid; gap: 8px; }
.guide-shared-load button { display: block; text-align: left; padding: 13px 15px; background: #15313a; color: #e2ece7; border: 1px solid #507075; border-radius: 3px; }
.guide-shared-load button:hover { background: #244854; }
.guide-shared-load strong { display: block; font-size: 14px; margin-bottom: 6px; }
.guide-shared-load span { display: block; color: #b7cecb; font-size: 13px; line-height: 1.6; }
.guide-evidence { display: grid; gap: 17px; }
.guide-evidence article { border: 1px solid #465e5e; border-radius: 3px; background: #132b34; padding: 16px; }
.guide-evidence article > strong { font-size: 14px; }
.guide-evidence p { margin: 8px 0 10px; font-size: 13px; }
.guide-section.guide-boundary { padding: 17px; margin-bottom: 0; }
.explain-guide button:focus-visible,.explain-guide a:focus-visible,.explain-toggle:focus-visible { outline: 3px solid #a7dfdc; outline-offset: 3px; }
@media (max-width: 1100px) { .prototype-name { display: none; } }
@media (max-width: 780px) { .prototype-actions { width: 100%; justify-content: flex-end; } .prototype-actions .reset-button { margin-left: 0; } }
@media (max-width: 600px) {
  .explanation-header { padding: 19px 18px; gap: 12px; }
  .explanation-header h2 { font-size: 23px; }
  .explanation-tabs { padding: 12px 18px; gap: 5px; }
  .explanation-tabs button { padding: 8px 10px; }
  .explanation-content { padding: 22px 18px 30px; }
  .explanation-content .guide-lede { font-size: 20px; }
  .explanation-content .guide-copy { font-size: 15px; }
  .guide-boundary,.guide-context { padding: 15px; }
  .explanation-close { font-size: 12px; padding: 9px; }
}
@media print { .explain-guide,.explain-toggle { display: none !important; } }
