/* Layout adapters only. Research components use extension-0.4.8.css verbatim. */
:root{--bb-bg:#fafafa;--bb-surface:#fff;--bb-border:#e6e8eb;--bb-border-strong:#d0d5dd;--bb-text:#101828;--bb-text-2:#475467;--bb-text-3:#667085;--bb-text-4:#98a2b3;--bb-accent:#0d9168;--bb-accent-strong:#067a52;--bb-shadow-xs:0 1px 2px rgba(16,24,40,.05);--bb-ring:0 0 0 3px rgba(13,145,104,.22);--bb-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--bb-text);background:var(--bb-bg);font:13px/1.45 var(--bb-font);-webkit-font-smoothing:antialiased}[hidden]{display:none!important}button,input,textarea{font-family:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:none;box-shadow:var(--bb-ring);border-radius:6px}.app-header{height:54px;display:flex;align-items:center;gap:16px;padding:0 20px;border-bottom:1px solid var(--bb-border);background:var(--bb-surface)}.app-logo{font-size:22px;font-weight:800;letter-spacing:-.6px}.app-logo span{color:var(--bb-accent)}.app-separator{height:20px;width:1px;background:var(--bb-border)}.workspace-label{font-size:12px;color:var(--bb-text-3)}.app-research{margin-left:auto;display:flex;align-items:center;gap:7px;height:32px;border:1px solid var(--bb-border-strong);border-radius:6px;background:var(--bb-surface);padding:0 12px;font-size:12px;font-weight:600;color:var(--bb-text)}.app-research[aria-expanded=true]{background:#f0fdf7;border-color:var(--bb-accent);color:var(--bb-accent-strong)}.source-toolbar{height:38px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;border-bottom:1px solid var(--bb-border);background:var(--bb-bg)}.source-identity{display:flex;gap:8px;align-items:center;font-size:10.5px;color:var(--bb-text-3)}.source-identity strong{font-weight:500;color:var(--bb-text-2)}.source-dot{height:5px;width:5px;background:var(--bb-text-4);border-radius:50%}.source-actions{display:flex;gap:14px;align-items:center}.source-actions button{background:none;border:0;padding:4px 0;color:var(--bb-text-3);font-size:11px}.source-actions button:hover{color:var(--bb-text)}#connection-info{font-size:16px}.workspace{height:calc(100dvh - 92px);display:grid;grid-template-columns:minmax(0,1fr);position:relative}.workspace.panel-open{grid-template-columns:minmax(0,1fr) 440px}#auction-area{min-width:0;min-height:0;background:white}#auction-frame{width:100%;height:100%;border:0;display:block;background:white}.panel-scroll{overflow-y:auto;min-height:0;flex:1}.panel-footer{font-size:9.5px;text-align:center;color:var(--bb-text-3);border-top:1px solid var(--bb-border);background:var(--bb-surface);padding:9px;flex-shrink:0}#url-form{padding:12px 20px;display:flex;align-items:center;gap:12px;background:white;border-bottom:1px solid var(--bb-border);position:absolute;top:92px;left:0;right:0;z-index:25;box-shadow:0 8px 20px #10182814;flex-wrap:wrap}#url-form label{font-size:12px;font-weight:600}#listing-url{min-width:200px;flex:1;height:34px;border:1px solid var(--bb-border-strong);border-radius:6px;padding:0 10px;font-size:12px}#url-form button,#info-done{border:0;border-radius:6px;height:34px;background:var(--bb-accent);color:white;font-size:12px;font-weight:600;padding:0 14px}#url-error{width:100%;margin:0;color:#b42318;font-size:12px}#url-error:empty{display:none}dialog{max-width:440px;width:calc(100% - 32px);border:1px solid var(--bb-border);border-radius:12px;padding:24px;color:var(--bb-text);box-shadow:0 8px 24px #1018281a}dialog::backdrop{background:#10182866}dialog h2{font-size:16px;margin:6px 0 14px}dialog p{font-size:12.5px;color:var(--bb-text-2);line-height:1.65}.dialog-close{border:0;background:none;color:var(--bb-text-3);font-size:24px;position:absolute;right:10px;top:7px}#toast{position:fixed;bottom:16px;right:16px;z-index:80;max-width:300px;padding:9px 12px;border:1px solid var(--bb-border-strong);border-radius:8px;background:var(--bb-surface);color:var(--bb-text-2);box-shadow:0 1px 3px #10182814;font-size:11.5px}@media(max-width:1050px){.workspace.panel-open{grid-template-columns:minmax(0,1fr) 440px}}@media(max-width:700px){.workspace.panel-open{grid-template-columns:1fr}.app-header{padding:0 12px;gap:10px}.source-toolbar{padding:0 12px}.workspace-label,.app-separator,.source-detail{display:none}.source-actions{gap:10px}#url-form{padding:12px}#url-form label{width:100%}.source-actions button{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* Preserve release spacing against the extension's universal margin reset. */

/* Browse uses the same extension tokens and card/control scale. */
#change-auction{border:1px solid var(--bb-border-strong);padding:4px 10px;border-radius:6px;font-weight:600;color:var(--bb-text);background:white}#queue-count{font-size:10px;color:var(--bb-text-3);margin-left:4px}#next-auction{color:var(--bb-accent-strong);font-weight:600}button:disabled{opacity:.4;cursor:default}#browse-dialog{max-width:980px;width:calc(100% - 40px);padding:0;max-height:calc(100dvh - 50px);overflow:hidden}#browse-dialog::backdrop{background:rgba(16,24,40,.32)}.browse-header{padding:20px 24px 16px;border-bottom:1px solid var(--bb-border);position:relative;background:white}.browse-header h2{font-size:20px;letter-spacing:-.4px;margin:3px 0}.browse-header p:not(.browse-eyebrow){font-size:12px;margin:5px 0 0;color:var(--bb-text-3)}.browse-header .browse-eyebrow{font-size:10px;font-weight:600;letter-spacing:.6px;margin:0;color:var(--bb-text-3)}.browse-header .dialog-close{right:20px;top:18px}.browse-layout{display:grid;grid-template-columns:235px minmax(0,1fr);height:min(610px,calc(100dvh - 205px));min-height:210px}.browse-layout h3{font-size:13px;margin:0 0 12px;font-weight:600}#preferences-form{padding:20px;border-right:1px solid var(--bb-border);overflow:auto;background:var(--bb-bg)}#preferences-form fieldset{padding:0;border:0;margin:17px 0}#preferences-form legend,.filter-label{font-size:11.5px;font-weight:600;color:var(--bb-text-2);margin-bottom:7px;display:block}#preferences-form fieldset label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--bb-text-2);margin:9px 0}#preferences-form input[type=checkbox]{accent-color:var(--bb-accent);width:14px;height:14px;margin:0;flex:none}#preferences-form input:not([type=checkbox]){width:100%;height:32px;border:1px solid var(--bb-border-strong);background:white;border-radius:6px;padding:0 8px;font-size:12px;min-width:0}.filter-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.filter-help{font-size:10px!important;line-height:1.4!important;margin:6px 0!important;color:var(--bb-text-3)!important}.preview-check{display:flex;align-items:start;gap:7px;font-size:11px;color:var(--bb-text-3);margin:16px 0}.browse-primary{height:34px;border:1px solid var(--bb-accent);background:var(--bb-accent);color:white;font-weight:600;font-size:12px;border-radius:6px;padding:0 12px}.browse-primary:hover{background:var(--bb-accent-strong)}#preferences-form .browse-primary{width:100%}.browse-ghost{border:0;background:none;font-size:11.5px;font-weight:600;color:var(--bb-text-3);padding:8px 0}.browse-ghost:hover{color:var(--bb-text)}#reset-preferences{width:100%}#preference-error{color:#b42318;font-size:11px;margin:8px 0}.recommendations{padding:20px;overflow:auto;background:white}.results-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.results-heading h3{margin:0}.inventory-note{font-size:10.5px!important;line-height:1.55!important;color:var(--bb-text-3)!important;margin:8px 0 16px!important}.auction-choice{border:1px solid var(--bb-border);border-radius:10px;padding:14px;margin-bottom:12px;box-shadow:var(--bb-shadow-xs);display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px}.auction-choice.current{border-color:#8bc9af;background:#fcfefc}.choice-media{width:92px;height:72px;object-fit:cover;border-radius:6px;background:#eef0f3}.choice-placeholder{display:grid;place-items:center;color:var(--bb-text-4);font-weight:600;font-size:14px}.choice-source{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:9.5px;color:var(--bb-text-3);margin-bottom:4px}.choice-source span:last-child{color:var(--bb-accent-strong)}.choice-title{font-weight:600;font-size:12.5px;line-height:1.45;margin:0 0 5px}.choice-details{font-size:10.5px;color:var(--bb-text-3);line-height:1.5}.choice-bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f2f4f6;padding-top:10px;gap:10px}.choice-price{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.choice-price small{display:block;font-size:9px;font-weight:400;color:var(--bb-text-3);margin-top:2px}.choice-buttons{display:flex;gap:12px;align-items:center}.choice-buttons .browse-primary{height:30px;font-size:11px;background:white;color:var(--bb-text);border-color:var(--bb-border-strong)}.choice-buttons .browse-primary:hover{border-color:var(--bb-accent);color:var(--bb-accent-strong)}.choice-reason{grid-column:1/-1;color:var(--bb-accent-strong);font-size:10.5px}.browse-footer{border-top:1px solid var(--bb-border);display:flex;justify-content:space-between;gap:12px;padding:12px 24px;color:var(--bb-text-3);font-size:10px;background:var(--bb-bg)}#browse-feedback{display:flex;justify-content:space-between;gap:12px;background:#f0fdf7;color:var(--bb-accent-strong);font-size:11px;padding:10px;border-radius:6px;margin-bottom:12px}#undo-hide{background:none;border:0;color:inherit;font-weight:600;font-size:11px;text-decoration:underline}#empty-recommendations{border:1px dashed var(--bb-border-strong);border-radius:10px;padding:20px}#empty-recommendations p{font-size:12px}#toast{pointer-events:none}@media(max-width:700px){.source-identity .source-detail{display:none}.source-toolbar{gap:8px}.source-actions{gap:9px}#previous-auction span{display:none}#browse-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.browse-layout{grid-template-columns:1fr;height:calc(100dvh - 175px);overflow:auto}#preferences-form{overflow:visible;border-right:0;border-bottom:1px solid var(--bb-border)}.recommendations{overflow:visible}.browse-footer{padding:10px 16px;flex-wrap:wrap}.browse-header{padding:16px}.auction-choice{grid-template-columns:72px minmax(0,1fr)}.choice-media{width:72px;height:64px}.source-identity{font-size:9px}.source-actions button{white-space:nowrap}#queue-count{display:none}}
#auction-area{position:relative}#embed-unavailable{position:absolute;inset:0;display:grid;place-items:center;padding:24px;background:var(--bb-bg)}#embed-unavailable>div{max-width:440px;background:var(--bb-surface);border:1px solid var(--bb-border);border-radius:10px;padding:24px;box-shadow:var(--bb-shadow-xs)}#embed-unavailable h2{font-size:17px;line-height:1.4;margin:10px 0}#embed-unavailable p{color:var(--bb-text-3);font-size:12px;line-height:1.65}#embed-unavailable .browse-ghost{display:block;margin-top:10px}

#research-host{min-width:0;display:flex;flex-direction:column;overflow:hidden;border-left:1px solid var(--bb-border);background:var(--bb-bg)}#research-frame{width:100%;flex:1;min-height:0;border:0}#research-data-status{padding:8px 12px;font-size:10px;line-height:1.4;color:var(--bb-text-3);border-bottom:1px solid var(--bb-border);background:var(--bb-bg)}@media(max-width:700px){#research-host{position:absolute;inset:0 0 0 auto;width:min(440px,94vw);height:100%;z-index:10;box-shadow:-16px 0 48px #10182826}}
/* Expanded Browse retains release colors, controls and typography. */
#browse-dialog{max-width:1240px;width:calc(100% - 32px)}#feed-status{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:12px 24px;border-bottom:1px solid var(--bb-border);background:var(--bb-bg)}.feed-source{display:grid;gap:4px;font-size:10px;color:var(--bb-text-3)}.feed-source strong{font-size:11px;color:var(--bb-text)}.feed-source small{font-size:9px}.feed-source.fresh span{color:var(--bb-accent-strong)}.feed-source.unavailable span{color:#b54708}.browse-layout{height:calc(100dvh - 300px);max-height:680px}.browse-tools{display:flex;gap:10px;align-items:center;margin:12px 0;flex-wrap:wrap}.browse-tools select,#make-filter{border:1px solid var(--bb-border-strong);background:white;border-radius:6px;height:32px;padding:0 8px;font:12px var(--bb-font);color:var(--bb-text);max-width:210px}#make-filter{width:100%;margin-bottom:16px}.browse-pagination{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--bb-text-3);gap:14px;margin:16px 0}.choice-timing{font-size:10px;font-weight:600;color:var(--bb-text-2);margin-top:7px}#recommendation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auction-choice{margin-bottom:0;align-content:start}.choice-title{font-size:12px}.choice-source{flex-wrap:wrap}.choice-price{font-size:12px}.choice-buttons{gap:8px}.choice-buttons .browse-primary{font-size:10px;padding:0 8px}.choice-media{height:84px}.browse-header h2{margin-bottom:4px}@media(max-width:1050px){#recommendation-list{grid-template-columns:1fr}}@media(max-width:700px){#feed-status{padding:10px 16px;gap:8px}.feed-source{font-size:9px}.feed-source strong{font-size:10px}.browse-layout{height:calc(100dvh - 270px)}.browse-tools select{max-width:100%}}

/* Checkbox dropdown follows the extension's compact controls and green accent. */
.favorite-picker{border:1px solid var(--bb-border-strong);border-radius:6px;background:var(--bb-surface);font-size:12px}.favorite-picker summary{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:32px;padding:6px 8px;cursor:pointer;list-style:none;color:var(--bb-text)}.favorite-picker summary::-webkit-details-marker{display:none}.favorite-picker summary:focus-visible{outline:none;box-shadow:var(--bb-ring);border-radius:6px}.favorite-picker[open]{border-color:var(--bb-accent)}.favorite-picker[open] summary>span:last-child{transform:rotate(180deg)}.favorite-menu{padding:8px;border-top:1px solid var(--bb-border)}#favorite-make-options{max-height:190px;overflow-y:auto;margin-top:6px;overscroll-behavior:contain}.favorite-option{display:flex;align-items:center;gap:8px;padding:7px 4px;cursor:pointer;border-radius:4px;color:var(--bb-text-2)}.favorite-option:hover{background:#f0fdf7}.favorite-option:has(input:checked){color:var(--bb-accent-strong);background:#f0fdf7}.favorite-option span{min-width:0;overflow-wrap:anywhere}#favorite-makes-done{display:block;width:100%;padding:7px 0 0;text-align:right;color:var(--bb-accent-strong)}

#shopping-intent,#hide-reason{border:1px solid var(--bb-border-strong);border-radius:6px;background:white;color:var(--bb-text);font:12px var(--bb-font);padding:7px;max-width:100%}#shopping-intent{width:100%;margin-bottom:4px}#forget-learning{margin-bottom:14px;text-align:left}#recommendation-status{color:var(--bb-accent-strong)!important}#browse-feedback{flex-wrap:wrap}#hide-reason{width:100%;font-size:11px}

#recommendation-status:empty{display:none}.browse-footer{justify-content:flex-end}.choice-source span:empty{display:none}
#favorite-makes{margin-bottom:16px}
