/* Mobile-first marketplace refinements. */
body{background:#f6f8fa;color:#16332b}header{position:sticky;top:0;z-index:6;box-shadow:0 3px 18px #193a2e06}.topbar{height:82px}.nav{height:82px}.intro{padding:28px 0 23px}.intro h1{font-size:30px}.intro-note{display:none}.searchbar{background:#fff;border:1px solid #d5e1db;box-shadow:0 7px 24px #123f2a06}.categories{border-bottom:0;padding-bottom:10px}.category{background:#fff}.category.active{background:var(--green);color:white;border-color:var(--green)}.workspace{gap:25px}.results-head{margin-bottom:18px}aside{border:0;background:white;border-radius:15px;padding:20px;height:fit-content}.aside-note{background:#ecf5f0}.card{box-shadow:0 3px 14px #213d2b06;border-color:#e0e7e3}.card h3{font-weight:600}.picture{height:190px}.card-meta{font-size:13px}.tag{font-size:12px}.card-bottom,.compare-toggle{font-size:13px}.empty{background:white;border:1px dashed #b7cfc1;padding:55px 20px}.empty:before{content:'＋';display:grid;place-items:center;width:66px;height:66px;border-radius:20px;background:#eaf4ef;color:var(--green);font-size:38px;margin:auto}.empty h3{font-weight:600}.contact-panel{background:#edf6f0;border:1px solid #c9e0d1;padding:20px;border-radius:15px;margin-top:20px}.contact-panel>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.contact-panel strong{font-size:18px}.contact-panel span{color:#4a7561;font-size:15px}.contact-buttons{display:flex;gap:12px;margin:16px 0 10px}.contact-buttons a{flex:1;text-align:center;padding:13px 15px;border-radius:10px;font-weight:600;background:#fff;border:1px solid #a7c8b5;color:#08634e}.contact-buttons a.whatsapp{background:#08634e;color:white;border-color:#08634e}.contact-buttons a:hover{filter:brightness(.94)}.contact-panel small{font-size:12px;color:#627e6e}.consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.8;margin:18px 0}.consent input{width:19px;height:19px;accent-color:#08634e;margin-top:4px;flex-shrink:0}button:disabled{cursor:wait;opacity:.55}#connection-status:not(:empty){padding:15px 18px;margin-bottom:18px;border:1px solid #e4cd9c;border-radius:12px;background:#fff8e7;font-size:14px}#connection-status p{margin:0 0 5px}.searchbar input{font-size:16px}.field,.save-search,.text{font-size:14px}.local-note p,.aside-note p{font-size:14px}.form-grid .field input,.form-grid .field select,.form-grid textarea{font-size:16px}.detail-photo{object-fit:contain;background:#f0f3f1}dialog{border:1px solid #e1e9e4}.actions button{font-size:14px}.grid:has(>.empty){grid-template-columns:1fr}footer{background:transparent}#photo-preview .text{margin-top:10px}@media(max-width:760px){.topbar{height:67px}.intro{padding:22px 0 18px}.intro h1{font-size:24px;line-height:1.6;margin:4px 0}.intro h1 em{display:inline}.intro p{font-size:14px;line-height:1.8;max-width:95%}.eyebrow{font-size:13px}.searchbar{display:grid;grid-template-columns:25px minmax(0,1fr) 90px;gap:5px;padding:9px}.searchbar>span{grid-column:1;grid-row:1}.searchbar input{grid-column:2/4;grid-row:1;width:100%;font-size:16px}.searchbar label{grid-column:1/3;grid-row:2;border-top:1px solid #e8eeea}.searchbar button{grid-column:3;grid-row:2;width:100%;min-width:0;padding:10px}.searchbar select{padding:10px;font-size:14px;background:transparent}.categories{padding-top:16px;padding-bottom:16px;scrollbar-width:none}.category{font-size:14px;border-radius:9px;padding:10px 15px}.workspace{padding-top:10px}aside{background:transparent;padding:0;gap:10px}.save-search{font-size:13px;padding:10px 13px;background:#fff}.field{font-size:14px}.results-head h2{font-size:21px}.results-head .muted{font-size:13px}.picture{height:160px}.card h3{font-size:16px}.card-meta{font-size:12px;flex-wrap:wrap}.price{font-size:20px}.price small,.tag{font-size:12px}.card-bottom,.compare-toggle{font-size:12px}.mobile-nav{box-shadow:0 -4px 20px #153a2808}.mobile-nav button span{font-size:12px}.mobile-nav .add{background:#edf6ef;border-radius:12px}.grid{gap:12px}.contact-panel{padding:16px}.contact-buttons{gap:8px}.contact-buttons a{font-size:14px;padding:13px 8px}.empty{padding:35px 16px}.empty p{font-size:15px;line-height:1.9}footer p{font-size:13px}.intro-note{display:none}}@media(max-width:360px){.grid{grid-template-columns:1fr}.picture{height:200px}.contact-buttons{flex-direction:column}}
.plate-editor{background:#f0f5f2;border:1px solid #d2e1d9;border-radius:14px;padding:18px;margin-bottom:22px}.plate-editor[hidden],#condition-field[hidden],#plate-custom-field[hidden]{display:none}.plate-editor h3{margin:0 0 16px;font-size:19px}.plate-inputs{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.plate-inputs small{font-size:12px;color:#6b7b71;display:block;margin-top:5px}.plate-stage{display:flex;align-items:center;justify-content:center;width:100%;min-height:170px;padding:24px 12px;background:linear-gradient(135deg,#e6ece8,#f7f9f7)}.license-plate{display:flex;direction:rtl;align-items:stretch;width:100%;max-width:440px;min-height:106px;border:3px solid #283d33;border-radius:10px;background:#fffef8;box-shadow:0 5px 0 #25382d20,0 10px 22px #294a3220;overflow:hidden;color:#1b2720}.plate-values{display:grid;grid-template-columns:1fr 1fr;flex:1;min-width:0;align-items:stretch}.plate-values>span{display:flex;align-items:center;justify-content:center;padding:8px 4px}.plate-letters,.plate-digits{font-weight:700;font-size:clamp(19px,4vw,35px);white-space:pre;line-height:1.5;border-bottom:1px solid #9eaaa2}.plate-letters{border-left:1px solid #9eaaa2}.plate-caption{font-size:11px;color:#748177}.plate-badge{width:70px;flex-shrink:0;border-right:2px solid #293e33;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 3px;background:#f2f5ee;text-align:center}.plate-badge small{font-size:10px;line-height:1.6}.palm-icon{display:flex;flex-direction:column;align-items:center;font-size:24px;line-height:1}.palm-icon>span{font-size:26px;margin-top:-2px;color:#125532}.custom-emblem{font-size:14px;overflow-wrap:anywhere;line-height:1.5;max-width:100%}.picture .plate-stage{height:100%;padding:30px 8px}.picture .license-plate{min-height:82px;border-width:2px}.picture .plate-letters,.picture .plate-digits{font-size:20px}.picture .plate-badge{width:44px}.picture .plate-caption{font-size:9px}.picture .plate-badge small{font-size:9px}.picture .palm-icon{font-size:19px}.picture .palm-icon>span{font-size:20px}.compare-item .plate-stage{padding:14px 0}.compare-item .plate-letters,.compare-item .plate-digits{font-size:22px}.compare-item .plate-badge{width:48px}#plate-live-preview{border-radius:12px;overflow:hidden}.plate-editor .muted{font-size:12px;line-height:1.8;margin-bottom:0}@media(max-width:760px){.plate-editor{padding:12px}.plate-inputs{gap:0 10px}.plate-inputs .field{min-width:0}.plate-inputs input{width:100%;min-width:0}.picture .plate-letters,.picture .plate-digits{font-size:15px}.picture .plate-badge{width:32px}.picture .plate-caption{font-size:8px}.picture .plate-stage{padding:30px 4px}.picture .plate-badge small{font-size:8px}.plate-stage{padding:18px 8px;min-height:145px}.plate-badge{width:58px}}
/* Long plate matching the user's supplied reference. */
.license-plate.long-plate{direction:ltr;display:grid;grid-template-columns:32% 32% 29% 7%;width:100%;max-width:540px;aspect-ratio:4.85;min-height:0;border:2px solid #262a26;border-radius:3px;background:#fff;box-shadow:2px 5px 7px #14251a33;overflow:hidden}.plate-number-pair,.plate-letter-pair{display:grid;grid-template-rows:1fr 1fr;align-items:center;text-align:center;padding:2px 6px;min-width:0;color:#111;line-height:1.05;font-family:Tahoma,Arial,sans-serif;font-size:clamp(20px,3.6vw,32px);font-weight:500;letter-spacing:3px}.plate-number-pair{font-weight:700;letter-spacing:4px}.plate-letter-pair>span:first-child{letter-spacing:0;white-space:pre;word-spacing:8px}.plate-center-emblem{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;padding:0 5px}.reference-emblem{display:block;width:100%;height:100%;max-height:96px;mix-blend-mode:multiply}.plate-country{display:flex;align-items:center;justify-content:center;border-left:2px solid #262a26;padding:1px;overflow:hidden}.plate-country svg{display:block;height:100%;width:100%}.plate-stage{background:#f2f4ef;min-height:155px;padding:25px 8px}.picture .license-plate.long-plate{min-height:0;border-width:1.5px}.picture .plate-number-pair,.picture .plate-letter-pair{font-size:clamp(13px,1.8vw,20px);letter-spacing:1px;padding:1px 3px}.picture .plate-letter-pair>span:first-child{word-spacing:3px}.picture .plate-country{border-left-width:1px}.picture .plate-stage{padding:25px 7px}.compare-item .plate-number-pair,.compare-item .plate-letter-pair{font-size:18px;letter-spacing:1px}.long-plate .custom-emblem{font-size:18px}@media(max-width:760px){.plate-number-pair,.plate-letter-pair{font-size:clamp(17px,5.5vw,26px);letter-spacing:2px;padding:1px 3px}.plate-letter-pair>span:first-child{word-spacing:4px}.plate-stage{padding:20px 3px;min-height:115px}.picture .plate-number-pair,.picture .plate-letter-pair{font-size:12px;letter-spacing:0;padding:1px}.picture .plate-letter-pair>span:first-child{word-spacing:1px}.picture .plate-stage{padding:25px 3px}.plate-center-emblem{padding:0 2px}}

/* High-resolution emblem assets and sharp native lettering. */
.reference-emblem{mix-blend-mode:normal;max-height:none;overflow:hidden}.plate-center-emblem{padding:0}.plate-country{flex-direction:column;justify-content:center;gap:1px;background:white}.plate-country .country-mini{display:block;width:75%;height:24%;flex-shrink:0}.plate-country .country-mini svg{width:100%;height:100%}.country-name{font-family:Tahoma,Arial,sans-serif;font-size:6px;line-height:1.1;white-space:nowrap}.country-letters{font-family:Arial,sans-serif;font-weight:700;font-size:clamp(8px,1.2vw,13px);line-height:1;letter-spacing:0}.picture .country-name{font-size:3px}.picture .country-letters{font-size:7px;line-height:1}.picture .plate-country{gap:0}@media(max-width:760px){.country-letters{font-size:10px}.country-name{font-size:5px}.picture .country-name{display:none}.picture .country-letters{font-size:5px}.picture .country-mini{height:25%}}
/* Interface review: clearer hierarchy, usable mobile filters and stable dialogs. */
:root{--muted:#64756d}body{background:#f5f7f6}.intro{margin-top:24px;padding:30px 32px;border:1px solid #dce9e0;border-radius:20px;background:linear-gradient(110deg,#edf4df,#e8f3ee 55%,#f4faf7)}.intro h1{font-size:34px}.intro p{color:#536e60;line-height:1.9}.eyebrow{display:inline-block;padding:4px 11px;border-radius:20px;background:#fff9}.searchbar{margin-top:20px;min-height:64px}.categories{gap:10px}.category{min-height:56px;transition:background .15s,border-color .15s}.category:hover{border-color:#7da993}.workspace{padding-top:18px;padding-bottom:24px}.results{min-width:0}.results-head{min-height:56px}.sort select{background:#fff;border:1px solid #dce5df;border-radius:8px;padding:10px}.empty{border:1px solid #e0e8e2;min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(#fff,#fcfdfb);padding:36px 24px}.empty:before{display:none}.empty-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;color:#08634e;background:#eaf3ed;font-size:42px}.empty h3{margin:18px 0 6px;font-size:24px}.empty p{margin:0 0 22px;max-width:410px;line-height:1.9}.empty .primary{font-size:15px}.field[hidden]{display:none}button,input,select{min-height:44px}.card-meta{color:#62756a}.card-bottom{color:#64766b}.card h3{overflow-wrap:anywhere}.form-section{font-size:15px;color:#08634e;margin:4px 0 18px;padding-bottom:10px;border-bottom:1px solid #e4ece7}.dialog-head{position:sticky;top:-28px;background:#fff;z-index:3;margin:-28px -28px 22px;padding:20px 28px 16px;border-bottom:1px solid #e6ece8}.close{flex-shrink:0;min-width:44px;height:44px}.form-grid .field{margin-bottom:20px}dialog{scroll-padding-top:90px;overscroll-behavior:contain}.plate-editor{margin-top:4px}.plate-editor .field{margin-bottom:16px}.consent{background:#f4f7f4;padding:12px;border-radius:10px}.consent input{min-height:19px}#submit-listing{min-height:50px}#form-error:not(:empty){padding:12px;border-radius:8px;background:#fff3ec}input::placeholder,textarea::placeholder{color:#849188}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #08634e;outline-offset:2px}
@media(max-width:760px){.intro{margin-top:16px;padding:20px;border-radius:16px}.intro h1{font-size:25px;line-height:1.7;letter-spacing:0}.intro p{max-width:100%;font-size:13px}.searchbar{margin-top:14px}.categories{padding-top:14px;padding-bottom:14px}.category{min-height:46px}.workspace{padding-top:0}aside{background:white;border:1px solid #e1e8e3;border-radius:14px;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.filter-title{display:flex;grid-column:1/-1;margin:0}.filter-title h2{font-size:14px}.filter-title button{min-height:32px}.save-search{grid-column:1/-1;width:100%;padding:8px}.results-head{align-items:center;gap:8px}.results-head h2{font-size:19px}.sort select{max-width:110px}.empty{min-height:290px;padding:30px 18px}.empty h3{font-size:21px}.empty p{font-size:14px}dialog{padding:20px;max-height:92dvh;border-radius:18px}.dialog-head{top:-20px;margin:-20px -20px 20px;padding:14px 20px}.dialog-head h2{font-size:20px}.form-grid{grid-template-columns:1fr}.form-grid>.field{grid-column:1/-1}.plate-inputs{grid-template-columns:1fr 1fr}.plate-inputs .field{font-size:13px}.mobile-nav button{min-height:52px}.mobile-nav button.active{background:#edf5ef;border-radius:10px}footer{margin-top:10px}.topbar{gap:12px}}
body:has(dialog[open]){overflow:hidden}.plate-inputs>.field:has(#plate-emblem),.plate-inputs>#plate-custom-field{grid-column:1/-1}.plate-inputs select{width:100%}
/* Private marketplace conversations. */
.chat-start{width:100%;margin-top:12px}.chat-count{display:inline-block;background:#bc4734;color:#fff;border-radius:20px;font-size:11px;padding:1px 6px;min-width:19px;text-align:center}.chat-count[hidden]{display:none}#inbox{width:min(950px,calc(100% - 24px))}.chat-notice{background:#f2f6ee;color:#526653;font-size:12px;padding:10px 14px;border-radius:10px;line-height:1.8}.chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);border:1px solid #e0e8e3;border-radius:12px;overflow:hidden;height:min(55dvh,520px);min-height:280px}.chat-list-panel{overflow:auto;background:#f9fbf9;border-left:1px solid #e0e8e3}.chat-list-panel>#chat-refresh{padding:8px 14px;width:100%;text-align:right}.chat-row{display:block;width:100%;text-align:right;border-bottom:1px solid #e0e8e3;padding:14px;min-height:100px}.chat-row.selected{background:#e4f2ea;border-right:3px solid #08634e}.chat-row-top{display:flex;justify-content:space-between;gap:6px;font-size:14px}.chat-row-title,.chat-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:12px}.chat-preview{color:#6c7d73}.chat-thread{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff}.chat-thread-head{padding:12px 15px;border-bottom:1px solid #e0e8e3}.chat-thread-head p{margin:4px 0 0;font-size:12px;color:#697c70}#chat-back{display:none}#chat-messages{overflow:auto;flex:1;padding:15px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.message{max-width:85%;padding:10px 13px;border-radius:14px;background:#f0f3f1;align-self:flex-end;flex-shrink:0}.message.mine{align-self:flex-start;background:#08634e;color:#fff;border-bottom-right-radius:3px}.message.theirs{border-bottom-left-radius:3px}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.8;unicode-bidi:plaintext}.message time{font-size:10px;opacity:.8;display:block;margin-top:5px}#chat-form{display:flex;gap:8px;border-top:1px solid #e0e8e3;padding:12px;align-items:center}#chat-form[hidden]{display:none}#chat-text{min-width:0;flex:1;resize:none;border:1px solid #d9e4dc;border-radius:9px;padding:9px;font-size:16px}#chat-send{padding:10px 15px}#chat-status{font-size:13px;color:#9b442b;margin-bottom:0}.chat-empty{padding:20px;text-align:center;color:#687c6d;font-size:14px;line-height:1.9}.topbar{gap:24px}.topbar nav{gap:16px}@media(min-width:761px) and (max-width:1000px){.topbar{gap:12px}.topbar nav{gap:8px}.topbar .nav{font-size:12px}.topbar>.primary{padding:10px;font-size:13px}}@media(max-width:760px){#inbox{padding:16px}.chat-layout{display:block;height:57dvh;min-height:260px}.chat-list-panel{height:100%;border:0}.chat-thread{display:none;height:100%}#inbox.thread-open .chat-list-panel{display:none}#inbox.thread-open .chat-thread{display:flex}#chat-back{display:block;padding:0;min-height:32px}.chat-thread-head{padding:8px 12px}.chat-notice{font-size:11px;padding:8px 10px}.chat-layout .message{max-width:92%}#chat-messages{padding:10px}#inbox .dialog-head{top:-16px;margin:-16px -16px 14px;padding:12px 16px}.mobile-nav .chat-count{font-size:9px;padding:0 4px}#chat-form{padding:8px}.chat-row{min-height:90px}}
.auction-editor{background:#faf5e8;border:1px solid #e9d9ad;border-radius:12px;padding:18px;margin-bottom:20px}.auction-editor[hidden]{display:none}.auction-editor h3{margin:0 0 15px;font-size:17px}.auction-editor p{font-size:12px;line-height:1.8;margin:0;color:#7a673b}.auction-editor .field{margin-bottom:10px}.auction-panel{background:#fbf7eb;border:1px solid #e8d8a4;padding:20px;border-radius:14px;margin:18px 0}.auction-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#735019}.auction-heading>span{background:#fff1bf;border-radius:8px;padding:4px 10px;font-size:13px}.auction-panel>p{font-size:13px;color:#726443;line-height:1.8}.auction-current{display:flex;flex-direction:column;gap:5px}.auction-current>span{font-size:13px}.auction-current strong{font-size:30px;color:#08634e}.auction-current small{font-size:14px}.auction-card{display:flex;justify-content:space-between;gap:5px;align-items:center;font-size:11px;background:#fff6db;color:#795820;border-radius:6px;padding:5px 7px;margin:8px 0}.auction-card+small{font-size:11px}#bid-form .field{margin-bottom:6px}#bid-form>small{display:block;margin-bottom:12px;color:#715b2e}#bid-form .muted{font-size:12px;line-height:1.8}#bid-error{color:#a43f27;font-size:13px}.bid-history-row{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e8dfc8;padding:9px 0;font-size:13px}#bid-history h4{margin-bottom:8px}.auction-outcome:empty{display:none}input[readonly],select:disabled{background:#f2f4f2;color:#5d6e60}.actions button:disabled{cursor:not-allowed}@media(max-width:760px){.auction-panel{padding:14px}.auction-editor{padding:14px}.auction-card{flex-wrap:wrap;font-size:10px}}
.commission-note{background:#eef5ee;border:1px solid #d8e5d9;border-radius:10px;padding:13px 16px;color:#42604b;font-size:13px;line-height:1.9}.commission-summary{display:flex;flex-direction:column;gap:10px;padding:20px;margin:16px 0;background:#f1f6ef;border:1px solid #d8e5d9;border-radius:14px}.commission-summary h3{margin:0}.commission-summary strong{font-size:30px;color:#08634e}.commission-summary small{font-size:12px;overflow-wrap:anywhere;color:#647468}.commission-summary b{font-size:13px;color:#765d2b}#sale-dialog .muted{line-height:1.9}#sale-error{color:#a43f27;font-size:14px}
.bank-details{display:flex;flex-direction:column;gap:12px}.commission-summary .bank-iban{font-size:clamp(13px,3.5vw,19px);overflow-wrap:anywhere;user-select:all;color:#173e34;background:white;padding:10px;border-radius:8px}#transfer-error{color:#a43f27}
