/* Approved Amber Tag and compact public tools. */
body .search-panel{padding:1px 8px 4px!important;margin:2px 0!important}
body .search-panel .search-row{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.search-panel .public-search-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:38px}
.search-panel .searchtitle{margin:0!important;font-size:clamp(20px,4.4vw,29px);font-weight:1000;letter-spacing:-.035em;line-height:1.05;white-space:nowrap}
.public-utility-tools{display:flex;flex:none;align-items:center;gap:7px}
.search-panel .public-install-app{position:relative;display:inline-flex;align-items:center;gap:2px;height:34px;min-height:0;padding:0 3px 0 0;box-sizing:border-box;border:1px solid #b1c9d8;border-radius:7px;background:linear-gradient(130deg,#f8fcff,#eaf3f8);color:#124e70;font:850 13px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;text-decoration:none}
.search-panel .public-install-app:hover{background:#e6f3fc}
.public-install-app img{width:32px;height:32px;border-radius:6px 0 0 6px;flex:none;object-fit:contain}
.public-install-label{display:flex;flex-direction:column;align-items:center;gap:0;line-height:1;white-space:nowrap}
.public-language-control,.public-translator-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:3px;height:34px;min-height:0;padding:1px 5px;border:1px solid #bacdd9;border-radius:6px;background:#f7fbfd;color:#194e6c;font:800 14px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;white-space:nowrap;cursor:pointer}
.public-language-control svg,.public-translator-button svg{display:block;flex:none;width:16px;height:16px}
.public-language-control select{position:absolute;inset:-5px 0;width:100%;height:44px;opacity:0;font-size:16px;cursor:pointer}
.public-language-control:focus-within,.public-translator-button:focus-visible{outline:2px solid #0b658b;outline-offset:2px}
.public-install-app:before,.public-translator-button:before{content:"";position:absolute;inset:-5px -1px}
.public-translator-button{border-color:#9fbcce;background:#edf6fc;color:#245c7d}
.search-panel .search{margin:0!important}
.search-panel .search button{min-height:37px}
.search-panel .search input{padding:7px 9px}
.search-panel #searchMsg:empty{display:none}
body #previewPanel{margin-top:3px;padding-top:4px}
#previewPanel #preview{margin-top:3px!important}
#previewPanel #preview .previewinfo{padding-top:5px;padding-bottom:7px}
#truckInventoryModule{--inventory-photo-height:clamp(210px,64vw,480px);--featured-label-height:25px}
#truckInventoryModule .featured-header-label{display:flex;align-items:center;justify-content:space-between;gap:2px;padding:1px 7px 1px 6px;border:0;border-radius:0;background:linear-gradient(110deg,#bb5900,#e9951a);color:#fff;font-size:clamp(13px,1.8vw,16px);font-weight:950;font-style:italic;line-height:1;letter-spacing:-.025em;clip-path:polygon(0 0,94% 0,100% 50%,94% 100%,0 100%)}
#truckInventoryModule .featured-tag-star{order:2;color:#fff5da;font-size:14px;font-style:normal;line-height:1}
#truckInventoryModule .truck-chip-featured .truck-chip-code{max-width:calc(100% - 8px);height:auto;min-height:0;left:4px;top:4px;padding:1px 4px;border:0;border-radius:4px;font-size:11px;line-height:1.05;box-shadow:0 1px 2px #4a250024}
#truckInventoryModule .truck-chip-featured .truck-chip-photo{position:relative}
#truckInventoryModule .truck-chip-featured .truck-chip-copy{padding:4px 2px 3px}
#truckInventoryModule .truck-chip-featured .truck-chip-name{font-size:clamp(11px,1.65vw,14px);line-height:1.12;max-height:2.24em}
.manco-original-note{display:none;margin:4px 0 0;color:#61737d;font-size:11px;line-height:1.3}
.manco-original-note[data-visible=true]{display:block}
html[lang=zh-Hans] .public-translator-label,html[lang=zh-Hant] .public-translator-label{font-size:14px}
html[lang=es] #truckInventoryModule .inventory-category-button{white-space:normal;font-size:clamp(10.5px,1.7vw,14px)}
@media(max-width:600px){.public-translator-label{display:none}.public-translator-button{width:34px;padding:1px}.search-panel .searchtitle{font-size:clamp(17px,4.6vw,26px)}}
@media(max-width:480px){.public-utility-tools{gap:5px}.search-panel .public-install-app,.public-language-control,.public-translator-button{height:32px}.search-panel .public-install-app{font-size:12px;gap:1px;padding-right:2px}.public-install-app img{width:30px;height:30px}.public-language-control{padding-inline:4px;font-size:13px}.public-language-control svg{width:14px;height:14px}.public-language-control select{inset:-6px 0}.public-install-app:before,.public-translator-button:before{inset:-6px -1px}.public-translator-button{width:32px}}
@media(max-width:380px){.public-utility-tools{gap:4px}.search-panel .public-search-heading{gap:4px}.search-panel .searchtitle{font-size:16px}.public-language-control{gap:2px;padding-inline:3px;font-size:12px}.public-install-app img{width:30px;height:30px}.public-translator-button{width:30px}}
@media(max-width:350px){.public-language-control svg{display:none}.search-panel .public-install-app{padding-left:0;padding-right:2px;font-size:10px}}

/* Interpreter lives above the existing header and keeps the inventory in place. */
#publicInterpreter{width:min(560px,calc(100% - 20px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #94b8ce;border-radius:16px;background:#f8fcff;color:#123d59;box-shadow:0 18px 70px #001d3d5c;z-index:11000;overflow:auto}
#publicInterpreter::backdrop{background:#03192bc7}
.interpreter-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:linear-gradient(110deg,#08385d,#197b9d);color:#fff}
.interpreter-head h2{margin:0;color:#fff;font-size:21px;line-height:1.1}
.interpreter-close{flex:none;width:34px;height:34px;padding:0;border:1px solid #ffffff80;border-radius:50%;background:#ffffff16;color:#fff;font-size:23px;cursor:pointer}
.interpreter-body{padding:13px}
.interpreter-language-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;font-weight:850}
.interpreter-language-row select{max-width:65%;padding:6px;border:1px solid #9bb9cb;border-radius:7px;background:#fff;color:#194b67;font:750 16px/1.2 system-ui}
.interpreter-speak-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}
.interpreter-speak{min-height:58px;padding:9px 6px;border:1.5px solid #2f89ad;border-radius:11px;background:linear-gradient(135deg,#f0fbff,#d3edfb);color:#12506e;font:850 15px/1.15 system-ui;cursor:pointer}
.interpreter-speak.partner{border-color:#a78ec6;background:linear-gradient(135deg,#fcf8ff,#eae0fb);color:#593b7b}
.interpreter-speak[aria-pressed=true]{border-color:#07566d;box-shadow:inset 0 0 0 2px #3ec9e4;background:#b5edf6}
.interpreter-text-label{display:block;margin:10px 0 5px;font-weight:850;font-size:14px}
#interpreterInput{display:block;width:100%;min-height:74px;resize:vertical;padding:10px;border:1.5px solid #9cb9c9;border-radius:9px;background:#fff;color:#143c55;font:500 16px/1.35 system-ui}
.interpreter-controls{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}
.interpreter-controls button{min-height:40px;padding:8px 12px;border:1px solid #568ca6;border-radius:8px;background:#e9f5fc;color:#174c6b;font:850 14px/1.1 system-ui;cursor:pointer}
.interpreter-output{margin-top:12px;padding:12px;border:1px solid #b5d3df;border-radius:10px;background:#fff;color:#143e57;font-size:20px;font-weight:750;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}
.interpreter-output:empty{display:none}
.interpreter-status{margin-top:8px;color:#496474;font-size:13px;font-weight:700;line-height:1.35}
.interpreter-provider{margin-top:12px;font-size:11px;line-height:1.35;color:#607480}
#publicInterpreter button:disabled{opacity:.6;cursor:wait}
@media(prefers-reduced-motion:reduce){#publicInterpreter *{animation:none!important;transition:none!important}}
#sharedAddressPrompt{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0;padding:8px 10px;border:1px solid #89b5c9;border-left:4px solid #e6a72a;border-radius:8px;background:#eef9ff;color:#164967;font:700 14px/1.3 system-ui}
#sharedAddressPrompt button{flex:none;border:1px solid #12618a;border-radius:7px;background:#07537c;color:#fff;padding:10px;font:800 14px/1 system-ui;min-height:44px}
.shared-customer-note{margin:7px 0;color:#31596e;font-size:14px;line-height:1.4}
.shared-customer-note:empty{display:none}
@media(max-width:380px){#sharedAddressPrompt{font-size:12px;gap:5px}#sharedAddressPrompt button{font-size:12px;padding-inline:8px}}
