/* Local buyer panel styling; no changes to the page palette or typography. */
.ch-buyer-dialog{box-sizing:border-box;width:min(90vw,380px);max-width:calc(100% - 24px);max-height:70vh;max-height:min(70dvh,520px,calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px));padding:0;margin:auto;border:1px solid #c6a87566;border-radius:14px;background:#0b1320;color:#f3f0e9;box-shadow:0 12px 36px #0006;font:400 14px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;overflow:hidden;overscroll-behavior:contain}
.ch-buyer-dialog[open]{display:flex;flex-direction:column}
.ch-buyer-dialog *{box-sizing:border-box}
.ch-buyer-dialog::backdrop{background:#03070d99}.ch-buyer-dialog [hidden]{display:none!important}
.ch-buyer-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #c6a87533;background:#0b1320}
.ch-buyer-header>div{min-width:0}.ch-buyer-header p{font-size:10px;line-height:1.4;letter-spacing:.13em;color:#c6a875;margin:0}
.ch-buyer-header h2{font:500 20px/1.25 Inter,system-ui,sans-serif;letter-spacing:-.02em;margin:3px 0 0;color:#d8bd8d;border:0;background:none;box-shadow:none}
.ch-buyer-dialog .ch-buyer-header h2:focus,.ch-buyer-dialog .ch-buyer-header h2:focus-visible{outline:none;border:0;box-shadow:none}
.ch-buyer-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 14px 14px;scroll-padding-block:16px}
.ch-buyer-body p{font-size:13px;line-height:1.45;margin:6px 0;color:#b8c0cb;overflow-wrap:anywhere}
.ch-buyer-dialog a{color:#d8bd8d;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.ch-buyer-dialog button,.ch-buyer-form-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;max-width:100%;padding:7px 9px;border:1px solid #c6a87555;border-radius:9px;background:#131f2e;color:#f3f0e9;font:500 13px/1.4 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.ch-buyer-dialog button:hover,.ch-buyer-form-actions a:hover{background:#25364a}
.ch-buyer-dialog :is(button,a,input,select,textarea):focus-visible{outline:2px solid #d8bd8d;outline-offset:3px}
.ch-buyer-dialog h3:focus{outline:none}
.ch-buyer-dialog .ch-buyer-header button{flex:none;width:44px;height:44px;padding:0;border-color:transparent;background:transparent;color:#b8c0cb;font:400 26px/1 system-ui,sans-serif}
.ch-buyer-dialog .ch-buyer-header button:hover{color:#f3f0e9;background:#131f2e}
.ch-buyer-dialog .ch-buyer-primary{background:#c6a875;color:#090f1b;border-color:#c6a875;font-weight:600}
.ch-buyer-dialog .ch-buyer-primary:hover{background:#d8bd8d}
.ch-buyer-dialog [data-quote]{width:100%;margin:2px 0 0}
.ch-buyer-transcript{max-height:84px;max-height:min(84px,14dvh);overflow:auto;overscroll-behavior:contain;margin:8px 0;scroll-behavior:auto}
.ch-buyer-transcript p{padding:7px 9px;border-radius:10px;border:1px solid #c6a87522;margin:6px 0}
.ch-buyer-transcript .ch-buyer-question{margin-left:20px;color:#d8bd8d;background:#131f2e}
.ch-buyer-transcript .ch-buyer-answer{margin-right:4px;background:#101a29;color:#c4ccd7}
.ch-buyer-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}
.ch-buyer-topics button{min-width:0;text-align:left;justify-content:flex-start;font-size:12px;padding:6px 8px}
.ch-buyer-dialog form{margin:16px 0;padding-top:12px;border-top:1px solid #c6a87533}
.ch-buyer-dialog h3{font:500 18px/1.3 Inter,system-ui,sans-serif;color:#f3f0e9;margin:10px 0}
.ch-buyer-dialog label{display:block;color:#c4ccd7;margin:12px 0;font-size:13px}
.ch-buyer-dialog input:not([type=checkbox]),.ch-buyer-dialog select,.ch-buyer-dialog textarea{display:block;width:100%;max-width:100%;min-height:44px;margin:5px 0 0;padding:10px;border:1px solid #7f8b9b;border-radius:8px;background:#090f1b;color:#f3f0e9;font:400 16px/1.5 system-ui,sans-serif}
.ch-buyer-dialog textarea{resize:vertical;min-height:96px}.ch-buyer-dialog input::placeholder,.ch-buyer-dialog textarea::placeholder{color:#a5afbd;opacity:1}
.ch-buyer-dialog .ch-buyer-permission{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5}
.ch-buyer-permission input{appearance:auto;flex:none;width:22px;height:22px;margin:2px 0;accent-color:#c6a875}
.ch-buyer-form-actions{display:flex;flex-wrap:wrap;gap:8px}.ch-buyer-handoff{padding-top:12px;border-top:1px solid #c6a87533}
.ch-buyer-dialog .ch-buyer-status{color:#d8bd8d}.ch-buyer-status:empty{display:none}
.ch-buyer-direct{padding-top:12px;border-top:1px solid #c6a87533;font-size:13px}
@media(max-width:340px){.ch-buyer-body{padding-inline:16px}.ch-buyer-header{padding-inline:16px}.ch-buyer-header h2{font-size:20px}.ch-buyer-topics button{padding-inline:8px}}
@media(max-width:280px){.ch-buyer-topics{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ch-buyer-dialog *{scroll-behavior:auto}}
@media(forced-colors:active){.ch-buyer-dialog,.ch-buyer-dialog button,.ch-buyer-dialog input,.ch-buyer-dialog select,.ch-buyer-dialog textarea{border-color:ButtonText}.ch-buyer-dialog::backdrop{background:Canvas}}
