/* Phase 22B.4A — Pocket Guide foundation + contextual guidance + conversational boundary */
.dvh22b1-guide{--pg-green:#103f36;--pg-deep:#0c2f29;--pg-cream:#fbf6e8;--pg-paper:#fffdf6;--pg-gold:#e7a82d;--pg-border:rgba(16,63,54,.16);position:relative;z-index:9900}
.dvh22b1-launcher{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:9903;display:flex;align-items:center;gap:9px;min-height:46px;padding:8px 15px 8px 9px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:var(--pg-green);color:var(--pg-cream);box-shadow:0 12px 32px rgba(10,45,39,.28);font:inherit;cursor:pointer}
.dvh22b1-launcher span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--pg-gold);color:#182f2a;font-weight:900;font-size:17px}
.dvh22b1-launcher strong{font-size:13px;letter-spacing:.01em}
.dvh22b1-launcher:hover,.dvh22b1-launcher:focus-visible{transform:translateY(-1px);box-shadow:0 15px 36px rgba(10,45,39,.34);outline:none}
.dvh22b1-launcher[aria-expanded="true"]{display:none}
.dvh22b1-backdrop{position:fixed;inset:0;z-index:9901;background:rgba(5,25,22,.38);backdrop-filter:blur(2px)}
.dvh22b1-drawer{position:fixed;z-index:9902;right:max(18px,env(safe-area-inset-right));bottom:76px;width:min(420px,calc(100vw - 36px));max-height:min(690px,calc(100vh - 105px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(16,63,54,.22);border-radius:20px;background:var(--pg-paper);box-shadow:0 24px 70px rgba(4,33,28,.3);color:#183a33}
.dvh22b1-drawer[hidden],.dvh22b1-backdrop[hidden]{display:none!important}
.dvh22b1-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px 13px;background:var(--pg-green);color:var(--pg-cream)}
.dvh22b1-head span{display:block;margin-bottom:2px;color:#cddbd5;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.dvh22b1-head h2{margin:0;font-size:20px;line-height:1.1;color:var(--pg-cream)}
.dvh22b1-head button{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font:700 24px/1 inherit;cursor:pointer}
.dvh22b1-body{overflow:auto;padding:12px 14px 9px;overscroll-behavior:contain;scroll-padding-top:10px}
.dvh22b1-welcome{padding:10px 12px;border:1px solid var(--pg-border);border-radius:14px;background:#f6f2e6}
.dvh22b1-welcome strong{display:block;font-size:15px;color:#113c33}.dvh22b1-welcome p{margin:4px 0 0;font-size:12px;line-height:1.45;color:#557067}
.dvh22b1-suggestions{display:grid;gap:5px;margin-top:8px}
.dvh22b1-suggestions button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 11px;border:1px solid var(--pg-border);border-radius:12px;background:#fff;color:#183d35;text-align:left;font:700 12px/1.25 inherit;cursor:pointer}
.dvh22b1-suggestions button span{color:#a56e05;font-size:16px}.dvh22b1-suggestions button:hover,.dvh22b1-suggestions button:focus-visible{border-color:rgba(231,168,45,.72);background:#fffaf0;outline:none}
.dvh22b1-search{margin-top:10px;padding-top:9px;border-top:1px solid var(--pg-border)}
.dvh22b1-search label{display:block;margin-bottom:6px;font-size:11px;font-weight:850;color:#244a41}.dvh22b1-search>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.dvh22b1-search input{width:100%;min-width:0;height:39px;padding:0 11px;border:1px solid rgba(16,63,54,.22);border-radius:10px;background:#fff;color:#173d34;font:inherit;font-size:12px}.dvh22b1-search input:focus{border-color:#b87d0d;box-shadow:0 0 0 3px rgba(231,168,45,.14);outline:none}
.dvh22b1-search button{height:39px;padding:0 14px;border:0;border-radius:10px;background:var(--pg-deep);color:#fff;font:800 12px/1 inherit;cursor:pointer}
.dvh22b1-search small{display:block;margin-top:6px;color:#6e7e78;font-size:10px;line-height:1.35}
.dvh22b1-results-head{display:flex;align-items:center;justify-content:space-between;margin:11px 1px 5px}.dvh22b1-results-head strong{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6a756f}.dvh22b1-results-head button{border:0;background:transparent;color:#9d6700;font:800 11px/1 inherit;cursor:pointer}
.dvh22b1-results{display:grid;gap:5px}.dvh22b1-topic{border:1px solid var(--pg-border);border-radius:11px;background:#fff;overflow:hidden}.dvh22b1-topic[hidden]{display:none}
.dvh22b1-topic summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;list-style:none;cursor:pointer}.dvh22b1-topic summary::-webkit-details-marker{display:none}.dvh22b1-topic summary span{font-size:12px;font-weight:780;color:#183e35}.dvh22b1-topic summary b{font-size:15px;color:#9b6a0f;transition:transform .15s ease}.dvh22b1-topic[open] summary b{transform:rotate(180deg)}
.dvh22b1-topic>div{padding:0 11px 11px;border-top:1px solid rgba(16,63,54,.1)}.dvh22b1-topic p{margin:9px 0 8px;font-size:11.5px;line-height:1.5;color:#4e675f}.dvh22b1-topic a{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:8px;background:#edf4ef;color:#15473d;font-size:11px;font-weight:850;text-decoration:none}.dvh22b1-topic a:hover{background:#dfece5}
.dvh22b1-empty{padding:12px;border:1px dashed rgba(16,63,54,.26);border-radius:12px;background:#faf7ee}.dvh22b1-empty strong{display:block;font-size:12px}.dvh22b1-empty span{display:block;margin-top:4px;color:#687a74;font-size:11px;line-height:1.4}
.dvh22b1-foot{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;border-top:1px solid var(--pg-border);background:#f2eee2;color:#687770}.dvh22b1-foot span{font-size:10px;font-weight:850}.dvh22b1-foot small{font-size:9px;text-align:right}
body.dvh22b1-guide-open{overflow:hidden}
@media(max-width:640px){
 .dvh22b1-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));min-height:44px;padding-right:13px}
 .dvh22b1-drawer{right:0;left:0;bottom:0;width:100%;max-height:min(78vh,720px);border-radius:20px 20px 0 0;border-left:0;border-right:0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}
 .dvh22b1-body{padding:12px}.dvh22b1-head{padding:14px}.dvh22b1-foot{padding:8px 12px}
}
@media(prefers-reduced-motion:no-preference){.dvh22b1-launcher{transition:transform .15s ease,box-shadow .15s ease}}

/* Phase 22B.3 — Contextual Tips & What's New Guidance */
.dvh22b3-tip{display:none;position:fixed;right:max(18px,env(safe-area-inset-right));bottom:78px;z-index:9900;width:min(360px,calc(100vw - 36px));box-sizing:border-box;padding:12px 38px 12px 14px;border:1px solid rgba(231,168,45,.5);border-radius:16px;background:#fffaf0;color:#173d34;box-shadow:0 14px 38px rgba(6,38,32,.22)}
.dvh22b3-tip.is-visible{display:block}
.dvh22b3-tip-eyebrow{display:block;margin-bottom:3px;color:#a56d04;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.dvh22b3-tip>strong{display:block;font-size:13px;line-height:1.25;color:#103f36}
.dvh22b3-tip p{margin:4px 0 6px;color:#60736d;font-size:10.5px;line-height:1.38}
.dvh22b3-tip-close{position:absolute;top:8px;right:9px;width:24px;height:24px;border:0;border-radius:8px;background:#f0eadb;color:#33584f;font:800 16px/1 inherit;cursor:pointer}
.dvh22b3-tip-action{display:inline-flex;align-items:center;padding:0;border:0;background:transparent;color:#0e5749;font:800 10.5px/1.25 inherit;text-decoration:none;cursor:pointer}
.dvh22b3-tip-action:hover,.dvh22b3-tip-action:focus-visible{text-decoration:underline;outline:none}
body.dvh22b1-guide-open .dvh22b3-tip,body.dvh22b2-tour-open .dvh22b3-tip{display:none!important}

.dvh22b3-whatsnew{margin-top:9px;border:1px solid var(--pg-border);border-radius:12px;background:#faf7ee;overflow:hidden}
.dvh22b3-whatsnew>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;list-style:none;cursor:pointer}
.dvh22b3-whatsnew>summary::-webkit-details-marker{display:none}
.dvh22b3-whatsnew>summary span{display:grid;gap:1px}
.dvh22b3-whatsnew>summary strong{font-size:11.5px;color:#183e35}
.dvh22b3-whatsnew>summary small{font-size:9.5px;color:#75837e}
.dvh22b3-whatsnew>summary b{font-size:15px;color:#9b6a0f;transition:transform .15s ease}
.dvh22b3-whatsnew[open]>summary b{transform:rotate(180deg)}
.dvh22b3-whatsnew-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:0 8px 8px}
.dvh22b3-whatsnew-grid button{display:grid;gap:2px;min-height:54px;padding:8px 9px;border:1px solid rgba(16,63,54,.12);border-radius:10px;background:#fff;color:#173d34;text-align:left;font:inherit;cursor:pointer}
.dvh22b3-whatsnew-grid button strong{font-size:10.5px;color:#15473d}
.dvh22b3-whatsnew-grid button span{font-size:9.5px;line-height:1.28;color:#6d7d78}
.dvh22b3-whatsnew-grid button:hover,.dvh22b3-whatsnew-grid button:focus-visible{border-color:rgba(231,168,45,.65);background:#fffaf0;outline:none}
@media(max-width:640px){
 .dvh22b3-tip{right:12px;bottom:66px;width:calc(100vw - 24px);padding:11px 36px 11px 12px}
 .dvh22b3-whatsnew-grid{grid-template-columns:1fr}
}

/* Phase 22B.4A — Conversational Pocket Guide foundation */
.dvh22b4a-answer-source{display:inline-flex;align-items:center;margin-top:9px;padding:3px 7px;border-radius:999px;background:#edf4ef;color:#2e6256;font-size:8.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.dvh22b1-topic>div .dvh22b4a-answer-source+p{margin-top:6px}
.dvh22b4a-assistant{padding:11px 12px;border:1px solid rgba(231,168,45,.5);border-radius:13px;background:#fffaf0;color:#173d34}
.dvh22b4a-assistant[hidden]{display:none!important}
.dvh22b4a-assistant-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.dvh22b4a-assistant-head span{font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#9f6905}
.dvh22b4a-assistant-head b{padding:4px 7px;border-radius:999px;background:#f2ead7;color:#725516;font-size:8.5px;white-space:nowrap}
.dvh22b4a-assistant>strong{display:block;font-size:12.5px;color:#103f36}
.dvh22b4a-assistant>p{margin:4px 0 8px;font-size:10.5px;line-height:1.45;color:#5d716a}
.dvh22b4a-assistant>small{display:block;margin-top:8px;font-size:9.5px;line-height:1.4;color:#74817c}
.dvh22b4a-privacy{border-top:1px solid rgba(16,63,54,.13);border-bottom:1px solid rgba(16,63,54,.13)}
.dvh22b4a-privacy>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;list-style:none;cursor:pointer;color:#19493f;font-size:10px;font-weight:850}
.dvh22b4a-privacy>summary::-webkit-details-marker{display:none}
.dvh22b4a-privacy>summary b{color:#9b6a0f;transition:transform .15s ease}
.dvh22b4a-privacy[open]>summary b{transform:rotate(180deg)}
.dvh22b4a-privacy>div{padding:0 0 7px}
.dvh22b4a-privacy p{margin:0 0 6px;font-size:9.5px;line-height:1.45;color:#62756e}
.dvh22b4a-privacy p:last-child{margin-bottom:0}
.dvh22b4a-privacy strong{color:#244d43}


/* Phase 22B.4B — signed Fishing Intelligence context preview */
.dvh22b4b-context-action{display:grid;gap:7px;margin:12px 0 4px}
.dvh22b4b-context-action button{width:100%;border:1px solid #d89a24;border-radius:11px;background:#fffaf0;color:#174d42;font:800 13px/1.2 inherit;padding:10px 12px;cursor:pointer;text-align:left}
.dvh22b4b-context-action button:hover{background:#fff4dc}
.dvh22b4b-context-action button:disabled{opacity:.62;cursor:wait}
.dvh22b4b-context-action a{display:inline-flex;align-items:center;color:#8a5700;font-weight:800;font-size:12px;text-decoration:none}
.dvh22b4b-context-action small{color:#69766f;font-size:11px;line-height:1.45}
.dvh22b4b-preview{margin-top:12px;padding:12px;border:1px solid #b8d8ce;border-radius:12px;background:#f5fbf8}
.dvh22b4b-preview>strong{display:block;color:#174d42;font-size:14px;line-height:1.3;margin-top:8px}
.dvh22b4b-preview>p{margin:7px 0 0;color:#536861;font-size:12px;line-height:1.5}
.dvh22b4b-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}
.dvh22b4b-preview-grid>div{min-width:0;border:1px solid #d6e5df;border-radius:10px;background:#fff;padding:9px}
.dvh22b4b-preview-grid>div.wide{grid-column:1/-1}
.dvh22b4b-preview-grid span{display:block;color:#7a857f;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.dvh22b4b-preview-grid strong{display:block;margin-top:4px;color:#183f37;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.dvh22b4b-preview-grid small{display:block;margin-top:4px;color:#66766f;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.dvh22b4b-safety{border-top:1px solid #d6e5df;padding-top:9px!important}
@media(max-width:420px){.dvh22b4b-preview-grid{grid-template-columns:1fr}.dvh22b4b-preview-grid>div.wide{grid-column:auto}}

/* Phase 22B.4C — reduced private angler history preview. */
.dvh22b4c-history-action{display:grid;gap:7px;margin:10px 0 4px;padding-top:10px;border-top:1px solid rgba(16,63,54,.13)}
.dvh22b4c-history-action button{width:100%;border:1px solid #7fae9e;border-radius:11px;background:#f5fbf8;color:#174d42;font:800 13px/1.2 inherit;padding:10px 12px;cursor:pointer;text-align:left}
.dvh22b4c-history-action button:hover{background:#edf8f3}
.dvh22b4c-history-action button:disabled{opacity:.62;cursor:wait}
.dvh22b4c-history-action a{display:inline-flex;align-items:center;color:#2c6a5a;font-weight:800;font-size:12px;text-decoration:none}
.dvh22b4c-history-action small{color:#69766f;font-size:11px;line-height:1.45}
.dvh22b4c-preview{margin-top:12px;padding:12px;border:1px solid #9fcabc;border-radius:12px;background:#f2faf6}
.dvh22b4c-preview>strong{display:block;color:#174d42;font-size:14px;line-height:1.3;margin-top:8px}
.dvh22b4c-preview>p{margin:7px 0 0;color:#536861;font-size:12px;line-height:1.5}
.dvh22b4c-preview .dvh22b4a-privacy{margin-top:10px}

/* Phase 22B.4D — approved public lure catalogue knowledge preview. */
.dvh22b4d-catalogue-action{display:grid;gap:7px;margin:10px 0 4px;padding-top:10px;border-top:1px solid rgba(16,63,54,.13)}
.dvh22b4d-catalogue-action button{width:100%;border:1px solid #9a8a5d;border-radius:11px;background:#fbf8ef;color:#174d42;font:800 13px/1.2 inherit;padding:10px 12px;cursor:pointer;text-align:left}
.dvh22b4d-catalogue-action button:hover{background:#f5f0e2}
.dvh22b4d-catalogue-action button:disabled{opacity:.62;cursor:wait}
.dvh22b4d-catalogue-action small{color:#69766f;font-size:11px;line-height:1.45}
.dvh22b4d-preview{margin-top:12px;padding:12px;border:1px solid #cfc5a9;border-radius:12px;background:#fcfaf4}
.dvh22b4d-preview>strong{display:block;color:#174d42;font-size:14px;line-height:1.3;margin-top:8px}
.dvh22b4d-preview>p{margin:7px 0 0;color:#536861;font-size:12px;line-height:1.5}
.dvh22b4d-preview .dvh22b4a-privacy{margin-top:10px}
.dvh22b4d-product-link{display:inline-flex;align-items:center;margin-top:7px;color:#76560f;font-size:10px;font-weight:850;text-decoration:none}
.dvh22b4d-product-link:hover,.dvh22b4d-product-link:focus-visible{text-decoration:underline;outline:none}

/* Phase 22B.4E — live AI gateway + explicit-send guardrails. */
.dvh22b4e-live{margin-top:12px;padding:12px;border:1px solid rgba(16,84,70,.3);border-radius:13px;background:#f4faf7;color:#173d34}
.dvh22b4e-live>strong{display:block;color:#103f36;font-size:13px;line-height:1.3}
.dvh22b4e-live>p{margin:5px 0 9px;color:#5c7069;font-size:10.5px;line-height:1.48}
.dvh22b4e-context-list{display:grid;gap:5px;margin:9px 0}
.dvh22b4e-context-list span{display:flex;align-items:center;min-height:28px;padding:5px 8px;border:1px solid #d4e5de;border-radius:9px;background:#fff;color:#355c52;font-size:9.8px;font-weight:750;line-height:1.3}
.dvh22b4e-private-toggle{display:flex;align-items:flex-start;gap:8px;margin:10px 0;padding:8px;border:1px solid #b7d3c8;border-radius:10px;background:#fff;color:#46675e;font-size:10px;line-height:1.4;cursor:pointer}
.dvh22b4e-private-toggle input{flex:0 0 auto;width:16px;height:16px;margin:1px 0 0;accent-color:#0f5b4d}
.dvh22b4e-private-toggle strong{color:#174d42}
.dvh22b4e-no-private{display:block;margin:9px 0;color:#667971;font-size:10px;line-height:1.4}
.dvh22b4e-ask{width:100%;min-height:42px;margin-top:2px;border:0;border-radius:11px;background:#0d4d41;color:#fff;font:850 12.5px/1.2 inherit;padding:10px 12px;cursor:pointer;box-shadow:0 4px 12px rgba(13,77,65,.14)}
.dvh22b4e-ask:hover{background:#093f35}.dvh22b4e-ask:focus-visible{outline:3px solid rgba(231,168,45,.55);outline-offset:2px}
.dvh22b4e-ask:disabled{background:#8c9994;color:#eef2f0;cursor:not-allowed;box-shadow:none}
.dvh22b4e-live>small{display:block;margin-top:7px;color:#6b7b75;font-size:9.5px;line-height:1.4}
.dvh22b4e-answer{margin-top:12px;padding:12px;border:1px solid rgba(231,168,45,.55);border-radius:13px;background:#fffdf7;color:#173d34}
.dvh22b4e-answer>strong{display:block;color:#103f36;font-size:12px;line-height:1.35}
.dvh22b4e-answer-text{margin-top:8px;white-space:pre-line;overflow-wrap:anywhere;color:#35594f;font-size:11px;line-height:1.55}
.dvh22b4e-answer>small{display:block;margin-top:9px;padding-top:8px;border-top:1px solid rgba(16,63,54,.12);color:#6b7974;font-size:9.5px;line-height:1.4}
.dvh22b4e-answer-actions{display:flex;justify-content:flex-end;margin-top:8px}
.dvh22b4e-answer-actions button{border:0;background:transparent;color:#8a5b05;font:800 9.5px/1.2 inherit;padding:4px;cursor:pointer;text-decoration:underline}
.dvh22b4e-answer .dvh22b4a-privacy{margin-top:8px}


/* Phase 24A.7B.2A — keep optional Scout AI visible after built-in matches */
.dvh24a7b2a-ai-option{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  margin-top:8px;
  padding:0 13px;
  border:1px solid #0d4f3b;
  border-radius:7px;
  background:#edf3ef;
  color:#0d4f3b;
  font:800 12px/1.2 inherit;
  cursor:pointer;
}
.dvh24a7b2a-ai-option[hidden]{display:none}
.dvh24a7b2a-ai-option:hover{background:#e2eee8}
.dvh24a7b2a-ai-option:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.dvh24a7b2a-ai-option:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
  box-shadow:0 0 0 4px #996300;
}
