:root{--blue:#155eef;--blue-dark:#0f4dcc;--ink:#172033;--muted:#667085;--line:#e4e7ec;--bg:#f6f8fb;--card:#fff;--soft:#eef4ff;--shadow:0 2px 12px rgba(16,24,40,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.45}a{color:inherit;text-decoration:none}.wrap{max-width:1240px;margin:auto;padding:0 24px}
.topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:850;letter-spacing:-.03em}.brand-mark{display:inline-grid;place-items:center;background:linear-gradient(135deg,#d23b8c,#155eef);color:#fff;border-radius:8px;width:29px;height:29px;font-size:13px}.nav nav{display:flex;align-items:center;gap:22px;font-weight:650;color:#344054}.nav-link{border:0;background:none;font:inherit;cursor:pointer;color:inherit;padding:0}.inline{display:inline}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8dee8;border-radius:9px;padding:10px 15px;font-weight:750;cursor:pointer;background:#fff;color:var(--ink)}.btn:hover{border-color:#b9c3d1}.btn-primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue-dark);border-color:var(--blue-dark)}.full{width:100%}
.hero{position:relative;overflow:hidden;margin:28px 0 18px;min-height:230px;padding:44px 42px;border:1px solid #dce5f1;border-radius:18px;background:linear-gradient(105deg,#fff 0%,#f7faff 48%,#edf5ff 100%);box-shadow:var(--shadow)}.hero:after{content:"";position:absolute;inset:auto -5% -75px 45%;height:210px;background:radial-gradient(ellipse at center,rgba(21,94,239,.12),transparent 65%),linear-gradient(155deg,transparent 47%,rgba(255,255,255,.8) 48%,transparent 49%),linear-gradient(25deg,transparent 48%,rgba(21,94,239,.07) 49%,transparent 50%);transform:rotate(-4deg);pointer-events:none}.hero>div{position:relative;z-index:1;max-width:760px}.hero h1{font-size:clamp(34px,5vw,54px);line-height:1.02;letter-spacing:-.045em;max-width:780px;margin:9px 0 12px}.hero p{font-size:17px;color:var(--muted);margin:0}.eyebrow{font-size:11px;font-weight:850;letter-spacing:.13em;color:var(--blue)}
.search{display:grid;grid-template-columns:minmax(0,1fr) 240px auto;gap:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);margin-bottom:22px}.search input,.search select{width:100%;border:0;border-right:1px solid var(--line);border-radius:0;padding:14px 16px;background:#fff;color:var(--ink);font:inherit;outline:0}.search input:focus,.search select:focus{box-shadow:inset 0 0 0 2px #c9d9ff}.search .btn{border-radius:0;border:0;padding:0 22px}
.market-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:22px;align-items:start}.filter-panel{position:sticky;top:92px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.filter-panel h3{margin:0 0 15px;font-size:16px}.filter-panel label{display:grid;gap:6px;margin:0 0 14px;font-size:12px;font-weight:750;color:#475467}.filter-panel select,.filter-panel input{width:100%;border:1px solid #d0d5dd;border-radius:8px;padding:9px 10px;background:#fff;color:var(--ink);font:inherit}.filter-note{font-size:11px;color:#98a2b3;line-height:1.45;margin-top:10px}.category-strip{display:flex;gap:8px;overflow:auto;padding:2px 0 4px;margin-bottom:22px;scrollbar-width:thin}.category-chip{flex:0 0 auto;padding:9px 13px;background:#fff;border:1px solid var(--line);border-radius:9px;font-size:13px;font-weight:700;color:#475467}.category-chip:hover{border-color:#b8c6dc;color:var(--blue)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 14px}.section-head h2{margin:0 0 3px;font-size:22px;letter-spacing:-.025em}.section-head p{margin:0;color:var(--muted);font-size:13px}.section-tools{display:flex;gap:8px;align-items:center}.section-tools select{border:1px solid #d0d5dd;border-radius:8px;padding:8px 10px;background:#fff;font:inherit;color:var(--ink)}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 1px 3px rgba(16,24,40,.03);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(16,24,40,.08);border-color:#d4dbe5}.photo{display:block;height:178px;background:#eef1f5;display:grid;place-items:center;color:#98a2b3;font-size:13px}.photo img{width:100%;height:100%;object-fit:cover}.card-body{padding:13px 14px 15px}.card h3{margin:5px 0 8px;font-size:16px;line-height:1.25;letter-spacing:-.01em}.card h3 a:hover{color:var(--blue)}.muted{color:var(--muted);font-size:12px}.price{display:block;font-size:17px;margin-bottom:6px}.price.big{font-size:30px}.push-badge{display:inline-flex;padding:3px 7px;border-radius:6px;background:#fff7df;color:#875f00;font-size:10px;font-weight:800;margin-bottom:5px}.pagination{display:flex;gap:6px;margin:24px 0;flex-wrap:wrap}.pagination a{padding:7px 11px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:13px}.pagination a.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.flash{padding:12px 14px;border-radius:9px;margin:18px 0;background:#eef4ff;border:1px solid #cbdcff}.flash.error{background:#fff0f1;border-color:#ffc5cb}.flash.success{background:#effaf3;border-color:#bce9ca}.premium-bar{margin:18px 0;padding:10px 14px;border-radius:9px;background:#fffaf0;border:1px solid #f0d998;font-size:13px;color:#6b5b28}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.gallery img{width:100%;height:340px;object-fit:cover;border-radius:12px;background:#eee}.gallery-empty{height:340px;border-radius:12px;background:#edf1f5;display:grid;place-items:center;color:var(--muted)}.panel,.row-card,.auth-card,.empty{background:#fff;border:1px solid var(--line);border-radius:12px}.panel{padding:20px}.description{line-height:1.75}.seller{height:max-content}.form{display:grid;gap:16px;max-width:850px}.form label{font-weight:700}.form small{display:block;color:var(--muted);font-weight:400;margin:5px 0}.my-listings{display:grid;gap:10px}.row-card{display:flex;gap:16px;padding:13px}.thumb{width:120px;height:90px;background:#edf1f5;border-radius:9px;overflow:hidden;flex:none}.thumb img{width:100%;height:100%;object-fit:cover}.row-main{flex:1}.row-main h3{margin:4px 0}.row-actions{display:flex;gap:10px;margin-top:9px;font-weight:700;color:var(--blue);flex-wrap:wrap}.danger-link{border:0;background:none;color:#b42318;font:inherit;cursor:pointer;padding:0}.auth-card{max-width:520px;margin:70px auto;padding:34px}.empty{padding:42px;text-align:center;margin:22px 0;color:var(--muted)}.back{color:var(--blue);font-weight:700}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.stat strong{display:block;font-size:32px}.stat span{color:var(--muted)}footer{margin-top:65px;padding:24px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px}footer .wrap{display:flex;justify-content:space-between}code{background:#f0f2f5;padding:2px 5px;border-radius:5px}.account-section{margin-top:20px}.full-form{display:block;margin:0 0 10px}.report-box{margin-top:12px;border-top:1px solid #e6eaf0;padding-top:12px}.report-box summary{cursor:pointer;font-weight:700;color:#9b2c2c}.report-box form{margin-top:12px}.btn-danger{background:#b42318;color:#fff;border:1px solid #b42318}.profile-avatar{width:84px;height:84px;border-radius:50%;overflow:hidden;background:#edf1f5;display:grid;place-items:center;flex:none;font-weight:900;font-size:28px}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar.large{width:120px;height:120px}.profile-top{display:flex;gap:18px;align-items:center}.rating-stars{font-weight:800;letter-spacing:.04em;color:#f79009}.vehicle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vehicle-fields{display:grid;gap:12px}.spec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.spec-grid>div{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fafbfc}.spec-grid span{display:block;color:var(--muted);font-size:11px}.spec-grid strong{display:block;margin-top:2px}.chat-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#d92d20;color:#fff;font-size:10px}.chat-panel{display:grid;gap:12px}.chat-messages{display:grid;gap:8px}.chat-message{max-width:75%;padding:10px 12px;border-radius:10px;background:#f2f4f7}.chat-message.mine{margin-left:auto;background:#eaf1ff}.chat-form{display:flex;gap:8px}.contact-list,.ratings-list{display:grid;gap:10px}.rating-item{padding:12px;border:1px solid var(--line);border-radius:9px}.push-card{display:grid;grid-template-columns:1fr 180px;gap:18px;align-items:center}.push-price{font-size:28px;font-weight:850}
/* LI MARKT Admin 0.6.3 */
.admin-body{background:#f4f6f9;min-height:100vh}.admin-shell{min-height:100vh;display:flex}.admin-sidebar{width:258px;flex:none;background:#101828;color:#d0d5dd;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:22px 14px}.admin-brand{display:flex;align-items:center;gap:10px;color:#fff;padding:5px 10px 24px;border-bottom:1px solid #263044}.admin-brand .brand-mark{font-size:15px;padding:6px 9px}.admin-brand strong{display:block;font-size:17px;letter-spacing:.02em}.admin-brand small{display:block;color:#98a2b3;font-size:10px;font-weight:800;letter-spacing:.12em;margin-top:2px}.admin-user{display:flex;align-items:center;gap:10px;padding:18px 10px}.admin-user strong{display:block;color:#fff;font-size:13px}.admin-user small{display:block;color:#98a2b3;font-size:11px;margin-top:2px}.admin-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#1d4ed8;color:#fff;font-weight:900}.admin-sidebar-nav{display:grid;gap:4px}.admin-sidebar-nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:9px;color:#c9d0da;font-weight:650;font-size:14px}.admin-sidebar-nav a:hover{background:#182334;color:#fff}.admin-sidebar-nav a.active{background:#1d2939;color:#fff;box-shadow:inset 3px 0 0 #4f8cff}.nav-icon{width:19px;text-align:center;color:#98a2b3;font-size:16px}.admin-sidebar-nav a.active .nav-icon{color:#84adff}.nav-count{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:#d92d20;color:#fff;display:grid;place-items:center;font-size:11px}.admin-sidebar-bottom{margin-top:auto;border-top:1px solid #263044;padding:14px 4px 0;display:grid;gap:5px}.admin-sidebar-bottom a,.admin-sidebar-bottom button{display:block;width:100%;padding:10px 9px;border:0;background:transparent;color:#98a2b3;text-align:left;font:inherit;font-size:13px;border-radius:8px;cursor:pointer}.admin-sidebar-bottom a:hover,.admin-sidebar-bottom button:hover{background:#182334;color:#fff}.admin-main{min-width:0;flex:1}.admin-topbar{height:88px;background:#fff;border-bottom:1px solid #e4e7ec;padding:18px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-kicker,.panel-kicker{display:block;color:#667085;font-size:10px;font-weight:850;letter-spacing:.13em;margin-bottom:3px}.admin-topbar h1{margin:0;font-size:24px;letter-spacing:-.025em}.admin-top-actions{display:flex;gap:10px;align-items:center}.top-link{padding:9px 13px;border:1px solid #dfe3ea;border-radius:9px;font-weight:700;font-size:13px;background:#fff}.admin-mobile-menu{display:none}.admin-content{padding:28px 34px 50px;max-width:1500px}.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.admin-stats-small{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-stat-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:18px 19px;box-shadow:0 2px 10px #10182808}.admin-stat-card:hover{border-color:#cdd5df}.admin-stat-card span{display:block;color:#667085;font-size:12px;font-weight:700}.admin-stat-card strong{display:block;color:#101828;font-size:30px;line-height:1.1;margin:8px 0}.admin-stat-card small{color:#98a2b3;font-size:11px}.admin-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.admin-panel{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:20px;box-shadow:0 2px 10px #10182808;margin-bottom:18px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}.panel-head h2{margin:0;font-size:17px}.panel-head>a{color:#155eef;font-size:12px;font-weight:750;white-space:nowrap}.admin-list{display:grid}.admin-list-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-top:1px solid #eef0f3}.admin-list-row:first-child{border-top:0}.row-icon{width:34px;height:34px;border-radius:9px;background:#eef4ff;color:#155eef;display:grid;place-items:center;flex:none;font-weight:900}.row-icon.danger{background:#fff0f0;color:#d92d20}.row-icon.warning{background:#fff7df;color:#a15c00}.row-copy{min-width:0;flex:1}.row-copy strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-copy small{display:block;color:#98a2b3;font-size:11px;margin-top:3px}.admin-list.compact .admin-list-row{padding:9px 0}.admin-empty{padding:24px 10px;text-align:center;color:#98a2b3;font-size:13px}.table-count{color:#667085;font-size:12px}.admin-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:15px}.admin-toolbar label{display:grid;gap:6px;color:#475467;font-size:11px;font-weight:750}.admin-toolbar input,.admin-toolbar select{min-width:170px;border:1px solid #d0d5dd;border-radius:9px;padding:9px 11px;background:#fff;color:#101828;font:inherit}.admin-toolbar .grow{flex:1}.admin-toolbar .grow input{width:100%;min-width:220px}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:separate;border-spacing:0}.admin-table th{background:#f8fafc;color:#667085;font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:850}.admin-table th,.admin-table td{padding:12px 10px;border-bottom:1px solid #eaecf0;text-align:left;vertical-align:top}.admin-table td{font-size:13px}.admin-table tbody tr:hover{background:#fafbfc}.status-pill.active{background:#ecfdf3;color:#027a48}.status-pill.paused{background:#f2f4f7;color:#475467}.status-pill.reserved{background:#fff7ed;color:#b54708}.status-pill.sold{background:#eef4ff;color:#155eef}.status-pill.pending{background:#fff7df;color:#875f00}.status-pill.deleted{background:#fef3f2;color:#b42318}.review-stars{color:#f79009;white-space:nowrap}.review-stars span{color:#d0d5dd}.admin-footer{padding:18px 34px;border-top:1px solid #e4e7ec;color:#98a2b3;font-size:11px;display:flex;justify-content:space-between;gap:20px}.admin-content .flash{margin:0 0 20px}.admin-content .stats{margin-top:0}.admin-content .panel{box-shadow:none}.admin-content .btn-primary{background:#155eef}.admin-content .btn{border-radius:9px}.admin-content .admin-table select{padding:7px 9px;border:1px solid #d0d5dd;border-radius:8px;background:#fff}.admin-content .small-btn{border-radius:8px}.admin-content .admin-actions{align-items:flex-start}.admin-content .admin-actions form{display:flex;gap:5px}.admin-content .empty{box-shadow:none}.admin-content code{font-size:11px}.admin-content .detail-grid{align-items:start}
@media(max-width:1050px){.admin-sidebar{width:225px}.admin-content,.admin-topbar{padding-left:22px;padding-right:22px}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:760px){.admin-sidebar{width:74px;padding:16px 9px}.admin-brand{justify-content:center;padding:4px 0 18px}.admin-brand>span:last-child,.admin-user>div,.admin-sidebar-nav a>span:not(.nav-icon),.nav-count,.admin-sidebar-bottom a,.admin-sidebar-bottom button{display:none}.admin-user{justify-content:center;padding:15px 0}.admin-sidebar-nav a{justify-content:center;padding:11px}.nav-icon{font-size:18px}.admin-topbar{height:auto;padding:15px 18px}.admin-topbar h1{font-size:20px}.top-link{display:none}.admin-mobile-menu{display:inline-flex}.admin-content{padding:20px 14px 40px}.admin-footer{padding:15px 14px;display:block}.admin-footer span{display:block;margin:3px 0}.admin-stats{grid-template-columns:1fr 1fr;gap:10px}.admin-stat-card{padding:14px}.admin-stat-card strong{font-size:25px}.admin-panel{padding:15px}.admin-toolbar{align-items:stretch}.admin-toolbar label{flex:1}.admin-toolbar input,.admin-toolbar select{min-width:0}.admin-toolbar button{width:100%}.admin-table{min-width:700px}}
@media(max-width:450px){.admin-stats{grid-template-columns:1fr}.admin-stats-small{grid-template-columns:1fr}}

/* LI MARKT 0.6.9 – clean regional marketplace frontend */
:root{--blue:#2161ee;--blue-dark:#164fc9;--ink:#172033;--muted:#667085;--line:#e3e8f0;--bg:#f5f7fa;--card:#fff;--soft:#eef4ff;--shadow:0 2px 10px rgba(16,24,40,.05)}
body{background:#f5f7fa;color:var(--ink)}.wrap{max-width:1390px;padding:0 28px}.topbar{background:rgba(255,255,255,.98);border-bottom:1px solid #e8ebf0}.nav{min-height:64px}.brand{font-size:24px;gap:10px}.brand-mark{width:40px;height:40px;border-radius:10px;font-size:16px}.brand-tagline{font-size:13px;font-weight:500;color:#667085;margin-left:2px}.nav nav{gap:28px;font-size:14px}.nav nav>a:not(.btn),.nav-link{color:#172033}.nav nav>a:not(.btn):hover,.nav-link:hover{color:var(--blue)}
.hero-market{margin:0 -28px 0;border:0;border-radius:0;min-height:190px;padding:35px 28px 28px;background:#edf4fb;box-shadow:none;overflow:hidden}.hero-market .hero-art{position:absolute;inset:0;background:url('../assets/hero-liechtenstein.svg') right center/cover no-repeat;opacity:.9}.hero-market:after{display:none}.hero-copy{position:relative;z-index:2;max-width:760px}.hero-market .eyebrow{display:none}.hero-market h1{font-size:clamp(38px,4.2vw,58px);margin:0 0 8px;letter-spacing:-.055em}.hero-market p{font-size:18px;color:#53627b}.search-main{position:relative;z-index:4;margin:-1px 0 26px;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr) 150px 132px;border:1px solid #dfe5ed;border-radius:11px;overflow:hidden;box-shadow:0 5px 18px rgba(16,24,40,.08)}.search-field{display:flex;align-items:center;gap:12px;background:#fff;padding:0 20px;min-height:62px;border-right:1px solid #e1e6ee}.search-field svg,.search-submit svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}.search-field input{border:0;outline:0;width:100%;font-size:16px;background:transparent;color:var(--ink)}.search-field input::placeholder{color:#8490a5}.search-radius{border:0;border-right:1px solid #e1e6ee;background:#fff;padding:0 18px;font:inherit;color:#344054;outline:0}.search-submit{border-radius:0;border:0;font-size:15px;gap:8px}.category-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:10px;overflow:visible;padding:0 0 22px}.category-card{min-height:92px;background:#fff;border:1px solid #e1e6ee;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:10px 8px;color:#455268;font-size:12px;line-height:1.25;transition:border-color .15s,box-shadow .15s,transform .15s}.category-card:hover{border-color:#c6d2e3;box-shadow:0 4px 12px rgba(16,24,40,.05);transform:translateY(-1px)}.category-icon{width:27px;height:27px;display:grid;place-items:center;color:#1f2b3d}.category-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.market-layout{grid-template-columns:300px minmax(0,1fr);gap:22px}.filter-panel{top:84px;border-radius:10px;padding:18px 18px;box-shadow:0 1px 5px rgba(16,24,40,.03)}.filter-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.filter-title h3{margin:0;font-size:17px}.filter-title a{font-size:11px;color:var(--blue);font-weight:700}.filter-panel label{font-size:12px}.filter-panel select,.filter-panel input{border-radius:7px;border-color:#d5dce6;padding:10px 11px}.filter-panel fieldset{border:0;padding:0;margin:0 0 15px}.filter-panel legend,.filter-label{font-size:12px;font-weight:750;color:#475467;margin-bottom:8px}.filter-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;margin:8px 0!important;font-weight:500!important;color:#344054!important}.filter-check input{width:15px!important;height:15px;margin:0}.price-range{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.filter-location{display:grid;grid-template-columns:1fr 92px;gap:0}.filter-location input{border-radius:7px 0 0 7px}.filter-location select{border-radius:0 7px 7px 0;margin-left:-1px}.results-area{min-width:0}.section-head{margin-bottom:15px}.section-head h2{font-size:20px;letter-spacing:-.025em}.section-head p{margin-top:3px}.section-tools{display:flex;align-items:center;gap:8px}.section-tools select{border:1px solid #d7dee8;background:#fff;border-radius:8px;padding:9px 30px 9px 11px;color:#344054}.view-toggle{display:grid;place-items:center;width:38px;height:38px;border:1px solid #d7dee8;background:#fff;border-radius:8px;color:#667085;font-size:18px}.view-toggle.active{color:var(--blue);border-color:#a9c0f5}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{border-radius:9px;border-color:#dfe5ed;box-shadow:none;overflow:hidden}.card:hover{transform:translateY(-1px);box-shadow:0 5px 15px rgba(16,24,40,.06)}.card-image-wrap{overflow:hidden}.photo{aspect-ratio:4/3;width:100%;height:auto;overflow:hidden;background:#eef1f5}.photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.card-heart-form{position:absolute;right:10px;top:10px;margin:0;z-index:3}.card-heart{position:relative;right:auto;top:auto;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.95);box-shadow:0 1px 4px rgba(0,0,0,.08);font-size:22px;line-height:1;color:#344054}.card-body{padding:11px 13px 13px}.card-category{font-size:11px;margin-bottom:3px}.card h3{font-size:14px;line-height:1.3;min-height:36px;margin:2px 0 6px}.price{font-size:16px}.card-meta{display:flex;justify-content:space-between;gap:8px;margin-top:8px;color:#667085;font-size:11px}.card-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.push-badge{margin-bottom:4px}.empty{border:1px solid var(--line);background:#fff;border-radius:10px}.pagination a{border-radius:7px}.pagination a.active{background:var(--blue);border-color:var(--blue)}
@media(max-width:1100px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-strip{grid-template-columns:repeat(7,1fr)}.search-main{grid-template-columns:minmax(0,1.5fr) minmax(210px,1fr) 120px 120px}}
@media(max-width:820px){.brand-tagline{display:none}.nav nav{gap:12px}.market-layout{grid-template-columns:1fr}.filter-panel{position:static}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-main{grid-template-columns:1fr 1fr}.search-radius,.search-submit{min-height:54px}.search-submit{grid-column:span 2}.category-strip{grid-template-columns:repeat(4,1fr)}}
@media(max-width:560px){.wrap{padding:0 15px}.hero-market{margin:0 -15px;padding:30px 15px 25px;min-height:170px}.hero-market h1{font-size:34px}.hero-market p{font-size:15px}.search-main{grid-template-columns:1fr}.search-field,.search-radius,.search-submit{border-right:0;border-bottom:1px solid #e1e6ee}.search-submit{grid-column:auto}.category-strip{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.nav nav>a:not(.btn),.nav-link{display:none}}

/* LI MARKT 0.6.10 – professional listing editor, media manager and lightbox */
.listing-form-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:34px 0 22px}.listing-form-head h1{margin:7px 0 7px;font-size:32px;letter-spacing:-.035em}.listing-form-head p{margin:0;color:var(--muted)}.form-limit-note{padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#667085;font-size:12px;white-space:nowrap}.form-limit-note strong{color:var(--ink)}
.listing-form{max-width:1040px;display:grid;gap:18px;padding-bottom:30px}.form-section{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:0 2px 10px rgba(16,24,40,.035)}.form-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #edf0f4}.form-kicker{display:block;color:#667085;font-size:10px;font-weight:850;letter-spacing:.13em;margin-bottom:4px}.form-section-head h2{margin:0;font-size:19px;letter-spacing:-.02em}.form-section-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.form-grid{display:grid;gap:16px}.form-grid-main{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.field{display:grid;gap:7px;margin:0!important;color:#344054;font-size:12px;font-weight:750}.field-wide,.field-full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;border:1px solid #cfd6e0;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:500;outline:0;transition:border-color .15s,box-shadow .15s}.field textarea{resize:vertical;min-height:150px;line-height:1.55}.field input:focus,.field select:focus,.field textarea:focus{border-color:#8fb0f5;box-shadow:0 0 0 3px rgba(33,97,238,.09)}.field small{margin:0;color:#98a2b3;font-size:11px;font-weight:500;line-height:1.45}.required{color:#d92d20}.image-counter{padding:6px 9px;border-radius:7px;background:#f2f4f7;color:#475467;font-size:12px}.image-manager{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.image-thumb-card{margin:0;border:1px solid #dfe4eb;border-radius:10px;overflow:hidden;background:#fafbfc}.image-thumb-card img{display:block;width:100%;height:150px;object-fit:cover;background:#eef1f5}.image-thumb-card figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;font-size:11px;color:#667085}.image-delete{border:0;background:none;color:#b42318;font:inherit;font-weight:750;cursor:pointer;padding:3px 0}.image-delete:hover{text-decoration:underline}.image-empty{display:flex;align-items:center;gap:8px;padding:18px;border:1px dashed #cfd6e0;border-radius:10px;background:#fafbfc;color:#667085;font-size:12px}.image-empty strong{color:#344054}.upload-zone{position:relative;display:flex;align-items:center;gap:12px;margin-top:14px!important;padding:15px 16px;border:1px dashed #b8c4d5;border-radius:10px;background:#fbfcfe;cursor:pointer;color:#344054;font-size:13px}.upload-zone:hover{border-color:#8ca9d9;background:#f8faff}.upload-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-icon{width:32px;height:32px;border-radius:8px;background:#eef4ff;color:var(--blue);display:grid;place-items:center;font-size:22px;line-height:1}.upload-zone span:nth-child(2){display:grid;gap:2px}.upload-zone small{color:#98a2b3;font-size:11px;font-weight:500}.form-actions{display:flex;justify-content:flex-end;gap:10px}.form-actions .btn{min-width:130px}.vehicle-fields{display:grid;gap:12px}
.listing-gallery{padding:14px}.gallery-main{position:relative;width:100%;height:430px;border:0;border-radius:10px;overflow:hidden;background:#eef1f5;padding:0;cursor:zoom-in}.gallery-main img{display:block;width:100%;height:100%;object-fit:contain;background:#f0f2f5}.gallery-zoom{position:absolute;right:12px;bottom:12px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(16,24,40,.7);color:#fff;font-size:21px}.gallery-thumbs{display:flex;gap:8px;overflow:auto;padding-top:10px}.gallery-thumb{flex:0 0 82px;width:82px;height:62px;border:2px solid transparent;border-radius:8px;padding:0;overflow:hidden;background:#eef1f5;cursor:pointer}.gallery-thumb.active{border-color:var(--blue)}.gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}.lightbox[hidden]{display:none}.lightbox{position:fixed;inset:0;z-index:100;background:rgba(7,12,22,.92);display:flex;align-items:center;justify-content:center;padding:32px}.lightbox-stage{margin:0;max-width:min(92vw,1500px);max-height:90vh;display:flex;flex-direction:column;align-items:center;gap:10px}.lightbox-stage img{display:block;max-width:92vw;max-height:82vh;width:auto;height:auto;object-fit:contain;border-radius:6px;box-shadow:0 18px 60px rgba(0,0,0,.45)}.lightbox-stage figcaption{color:#fff;font-size:12px;opacity:.8;text-align:center}.lightbox-close,.lightbox-nav{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;display:grid;place-items:center}.lightbox-close{top:18px;right:20px;width:44px;height:44px;border-radius:50%;font-size:30px}.lightbox-nav{top:50%;transform:translateY(-50%);width:46px;height:64px;border-radius:10px;font-size:38px}.lightbox-nav.prev{left:20px}.lightbox-nav.next{right:20px}.lightbox-close:hover,.lightbox-nav:hover{background:rgba(255,255,255,.22)}body.lightbox-open{overflow:hidden}.favorite-btn.saved{color:#e11d48}.favorite-detail-form{margin:0 0 10px}.favorite-detail-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border:1px solid #d8dee8;border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-weight:750;cursor:pointer}.favorite-detail-btn span{font-size:20px;line-height:1}.favorite-detail-btn.saved{color:#e11d48;border-color:#f4b8c6;background:#fff7f9}.favorite-detail-btn.saved span{color:#e11d48}.listing-detail-head{margin:28px 0 18px}.listing-detail-head h1{margin:8px 0 6px;font-size:32px;letter-spacing:-.035em}
@media(max-width:900px){.listing-form-head{display:block}.form-limit-note{display:inline-block;margin-top:12px}.image-manager{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.seller{order:-1}.gallery-main{height:360px}}
@media(max-width:650px){.form-section{padding:17px}.form-grid-main,.form-grid-two{grid-template-columns:1fr}.field-wide,.field-full{grid-column:auto}.image-manager{grid-template-columns:repeat(2,minmax(0,1fr))}.image-thumb-card img{height:125px}.form-actions{justify-content:stretch}.form-actions .btn{flex:1}.listing-form-head h1,.listing-detail-head h1{font-size:27px}.gallery-main{height:280px}.lightbox{padding:16px}.lightbox-nav{width:40px;height:54px}.lightbox-nav.prev{left:8px}.lightbox-nav.next{right:8px}.lightbox-close{top:10px;right:10px}}

/* LI MARKT 0.6.13 – frontend regression fixes from 0.6.12 */
.hero-market{position:relative}
.hero-market .hero-copy{position:relative;z-index:2}
.search-main{width:100%}
.category-strip{align-items:stretch}
.category-card{position:relative}
.market-layout{width:100%}
.results-area{min-width:0}
.card-image-wrap{position:relative;overflow:hidden}.photo{aspect-ratio:4/3;width:100%;height:auto;overflow:hidden}.photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.card-heart-form{position:absolute;right:10px;top:10px;margin:0;z-index:3}
.card-heart{position:relative;right:auto;top:auto;width:31px;height:31px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.96);box-shadow:0 1px 4px rgba(0,0,0,.08);font-size:21px;line-height:1;color:#344054;cursor:pointer;padding:0}
.card-heart.static{cursor:default}
.card-category{font-size:11px;margin-bottom:3px}
.card-info{display:flex;justify-content:space-between;gap:8px;margin-top:8px;color:#667085;font-size:11px}
.card-info span{display:flex;align-items:center;gap:4px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-info svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.view-switch{display:flex;gap:4px}
.view-switch button{width:34px;height:34px;border:1px solid #d7dee8;background:#fff;border-radius:7px;color:#667085;display:grid;place-items:center;cursor:pointer;padding:0}
.view-switch button.active{color:var(--blue);border-color:#a9c0f5;background:#f7faff}
.view-switch svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.filter-reset{display:block;margin-top:9px;font-size:12px;color:var(--blue);font-weight:700}
.check-list{display:grid;gap:8px;margin-bottom:15px}
.check{display:flex!important;align-items:center;gap:8px!important;margin:0!important;font-weight:500!important;color:#344054!important}
.check input{width:15px!important;height:15px;margin:0}
.price-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:15px}
.price-fields input{min-width:0}
@media(max-width:1100px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-main{grid-template-columns:1fr 1fr}.search-submit{grid-column:span 2}}
@media(max-width:560px){.grid{grid-template-columns:1fr}.search-main{grid-template-columns:1fr}.search-submit{grid-column:auto}}



/* LI MARKT 0.6.18 – detail layout/share/lightbox polish */
.listing-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:30px 0 16px}
.listing-detail-head>div:first-child{min-width:0}
.listing-detail-head h1{max-width:820px}
.listing-detail-head .price{flex:none;white-space:nowrap}
.listing-detail-actions{display:flex;justify-content:flex-end;margin:0 0 14px}
.listing-detail-actions .listing-share-btn{min-width:150px}
.listing-share-inline{border:1px solid var(--line);background:#fff;color:var(--ink);padding:7px 11px;border-radius:8px;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.listing-share-inline:hover{background:#f8fafc}
.detail-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:24px}
.detail-grid>section{min-width:0;display:grid;gap:16px}
.seller{position:sticky;top:18px}
.listing-gallery{padding:14px;overflow:hidden}
.gallery-main{height:470px;background:#f5f7fa}
.gallery-main img{object-fit:contain}
.gallery-thumbs{scrollbar-width:thin}
.gallery-thumb{flex-basis:88px;width:88px;height:68px}
.lightbox-stage img{max-width:min(90vw,1600px);max-height:84vh}
@media(max-width:900px){
  .listing-detail-head{display:block}
  .listing-detail-head .price{margin-top:10px;font-size:26px}
  .detail-grid{grid-template-columns:1fr}
  .seller{position:static;order:2}
  .gallery-main{height:420px}
}
@media(max-width:650px){
  .listing-detail-head{margin-top:22px}
  .listing-detail-actions{justify-content:stretch}
  .listing-detail-actions .listing-share-btn{width:100%}
  .gallery-main{height:300px}
}

/* LI MARKT 1.0.2 – modern chat UI */
.chat-page{max-width:980px;margin:26px auto 10px}.chat-page-head{margin-bottom:16px}.chat-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:12px}.chat-title-copy{min-width:0}.chat-eyebrow{display:block;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px}.chat-title-row h1{margin:0;font-size:29px;line-height:1.15;letter-spacing:-.035em}.chat-counterparty{display:flex;align-items:center;gap:9px;margin:10px 0 0;color:var(--muted);font-size:13px}.chat-avatar{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef4ff;color:var(--blue);font-size:12px;font-weight:850}.chat-rate-btn{flex:none}.chat-shell{padding:0;overflow:hidden;border-radius:16px;box-shadow:0 5px 22px rgba(16,24,40,.06)}.chat-messages{display:flex;flex-direction:column;gap:11px;padding:22px 22px 18px;background:linear-gradient(180deg,#fbfcfe 0%,#f7f9fc 100%);min-height:330px;max-height:58vh;overflow:auto}.chat-message-wrap{display:flex;justify-content:flex-start}.chat-message-wrap.mine{justify-content:flex-end}.chat-message{max-width:min(72%,620px);padding:11px 14px 9px;border:1px solid #e1e6ee;border-radius:14px 14px 14px 5px;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.04)}.chat-message.mine{border-color:#cfe0ff;border-radius:14px 14px 5px 14px;background:#eaf2ff}.chat-message-name{font-size:11px;font-weight:800;color:#475467;margin-bottom:4px}.chat-message.mine .chat-message-name{color:#3157a6}.chat-message-body{font-size:14px;line-height:1.55;overflow-wrap:anywhere}.chat-message-time{display:block;margin-top:6px;color:#98a2b3;font-size:10px;line-height:1.2}.chat-empty{margin:auto;display:flex;flex-direction:column;align-items:center;text-align:center;max-width:340px;padding:28px 10px;color:var(--muted)}.chat-empty-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#eef4ff;margin-bottom:10px;font-size:20px}.chat-empty strong{color:var(--ink);font-size:14px}.chat-empty span{font-size:12px;margin-top:3px}.chat-form{padding:14px 16px 12px;background:#fff;border-top:1px solid var(--line)}.chat-compose{display:flex;align-items:flex-end;gap:10px}.chat-compose textarea{flex:1;min-width:0;min-height:46px;max-height:140px;resize:vertical;border:1px solid #d5dce6;border-radius:11px;padding:11px 12px;background:#fff;color:var(--ink);font:inherit;line-height:1.4;outline:0}.chat-compose textarea:focus{border-color:#a9c0f5;box-shadow:0 0 0 3px rgba(33,97,238,.08)}.chat-send{min-height:46px;gap:8px;padding:0 16px;border-radius:10px;white-space:nowrap}.chat-send svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-compose-hint{display:block;margin:7px 2px 0;color:#98a2b3;font-size:10px}.chat-page .back{font-size:12px}.chat-page .small-btn{padding:9px 12px}
@media(max-width:700px){.chat-page{margin-top:18px}.chat-title-row{display:block}.chat-title-row h1{font-size:25px}.chat-rate-btn{display:inline-flex;margin-top:12px}.chat-messages{min-height:280px;padding:16px 12px;max-height:none}.chat-message{max-width:88%;padding:10px 12px}.chat-form{padding:10px}.chat-compose{align-items:stretch}.chat-compose textarea{min-height:48px}.chat-send{padding:0 13px}.chat-send span{display:none}.chat-send svg{width:19px;height:19px}.chat-compose-hint{display:none}}
@media(max-width:430px){.chat-title-row h1{font-size:22px}.chat-messages{min-height:250px}.chat-message{max-width:92%}.chat-avatar{width:28px;height:28px}.chat-counterparty{font-size:12px}}

/* LI MARKT 1.0.3 – chat actions */
.chat-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.danger-outline{color:#b42318;border-color:#f0b8b8;background:#fff}.danger-outline:hover{border-color:#d92d20;background:#fff7f7}.chat-list-card{align-items:center;padding-right:10px}.chat-list-link{display:flex;flex:1;min-width:0}.chat-delete-btn{flex:none;width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:#fff1f1;color:#b42318;padding:0;font-size:16px}.chat-delete-btn:hover{background:#ffe4e4}.chat-list-card .row-main{min-width:0}.chat-list-card .row-main h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-send:disabled{opacity:.5;cursor:not-allowed}.chat-compose textarea:disabled{background:#f2f4f7;cursor:not-allowed}
@media(max-width:700px){.chat-actions{justify-content:flex-start;margin-top:12px}.chat-actions .btn{flex:1}.chat-list-card{gap:8px}.chat-delete-btn{width:36px;height:36px}}


/* Account pages: chat, ratings and profile */
.account-page{max-width:900px;margin:38px auto 72px}.account-page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0 26px}.account-page-head h1{margin:5px 0 7px;font-size:34px;letter-spacing:-.045em}.account-page-head p{margin:0;color:var(--muted);max-width:610px;line-height:1.55}.account-back{display:inline-flex;margin-bottom:8px}.account-secondary-action{white-space:nowrap}.account-head-icon{display:grid;place-items:center;width:58px;height:58px;flex:none;border-radius:18px;background:#fff7e8;color:#e79a17;font-size:29px}.account-card{background:#fff;border:1px solid #e3e8f0;border-radius:17px;box-shadow:0 8px 26px rgba(16,24,40,.055)}
.profile-form{max-width:900px;display:block;padding:0;overflow:hidden}.profile-form-section{padding:25px 30px;border-bottom:1px solid #edf0f4}.profile-section-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}.profile-section-heading h2{margin:0;font-size:17px;letter-spacing:-.02em}.profile-section-heading p{margin:4px 0 0;color:#667085;font-size:12px;line-height:1.5}.profile-section-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:#eef4ff;color:var(--blue);font-size:20px}.profile-photo-row{display:flex;align-items:center;gap:19px;padding-left:49px}.profile-avatar-redesigned{width:86px;height:86px;border:3px solid #f1f4f8;background:#eef4ff;color:var(--blue);font-size:29px}.profile-upload{display:grid;justify-items:start;gap:6px;font-weight:600!important}.profile-upload input{max-width:100%;font-size:12px}.profile-upload small{margin:0!important;color:#7b8798!important;font-size:11px}.profile-upload-button{display:inline-flex;padding:9px 13px;border:1px solid #d6deea;border-radius:8px;background:#fff;color:#344054;font-size:12px;font-weight:750}.profile-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px;padding-left:49px}.account-field{display:grid;gap:7px;margin:0!important;color:#344054;font-size:12px;font-weight:750}.account-field input,.account-field textarea{width:100%;min-width:0;border:1px solid #d4dbe5;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:500;outline:0;transition:border .15s,box-shadow .15s}.account-field textarea{resize:vertical;min-height:118px;line-height:1.55}.account-field input:focus,.account-field textarea:focus{border-color:#8eaef0;box-shadow:0 0 0 3px rgba(33,97,238,.1)}.account-field input::placeholder,.account-field textarea::placeholder{color:#98a2b3;font-weight:400}.account-field>span{display:flex;align-items:center;gap:8px}.account-field>span small,.account-field>small{color:#98a2b3;font-weight:500;font-size:10px}.profile-field-wide{grid-column:1/-1}.visibility-section{padding-bottom:18px}.visibility-option{display:flex!important;align-items:flex-start;gap:12px;padding:13px 14px;margin:0 0 8px!important;border:1px solid #e6eaf0;border-radius:10px;background:#fbfcfe;font-weight:400!important;cursor:pointer}.visibility-option:has(input:checked){border-color:#bdd0f7;background:#f6f9ff}.visibility-option input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--blue);flex:none}.visibility-option span{display:grid;gap:3px}.visibility-option strong{font-size:12px;color:#344054}.visibility-option small{font-size:11px;color:#7b8798;font-weight:400}.account-form-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 30px;background:#fbfcfe}.account-form-actions p{margin:0;color:#7b8798;font-size:11px;line-height:1.5}.account-form-actions .btn{min-width:190px}.account-error{max-width:900px}.account-error ul{margin-bottom:0}
.rating-page{max-width:780px}.rating-page-head{margin-top:20px}.rating-page-head p{max-width:560px}.rating-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:14px 17px;border:1px solid #e3e8f0;border-radius:12px;background:#f9fafc;color:#475467;font-size:12px}.context-label{color:#7b8798;font-size:9px;font-weight:850;letter-spacing:.12em}.rating-context strong{color:#1d2939}.context-divider{height:18px;border-left:1px solid #d8dee8}.rating-form{padding:27px}.rating-fieldset{margin:0 0 25px;padding:0;border:0}.rating-fieldset legend{font-size:17px;font-weight:800;color:#1d2939}.rating-fieldset>p{margin:5px 0 15px;color:#7b8798;font-size:12px}.rating-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.rating-option{position:relative;margin:0!important;cursor:pointer}.rating-option input{position:absolute;opacity:0;inset:0;pointer-events:none}.rating-choice{display:grid;justify-items:center;gap:6px;min-height:94px;padding:12px 6px;border:1px solid #e1e6ee;border-radius:11px;background:#fff;transition:.15s}.rating-option:hover .rating-choice{border-color:#f2ca71;background:#fffdf6}.rating-option input:checked+.rating-choice{border-color:#f0bd4e;background:#fff8e7;box-shadow:0 0 0 2px rgba(240,189,78,.16)}.rating-option input:focus-visible+.rating-choice{outline:3px solid rgba(33,97,238,.22)}.rating-choice-stars{color:#f0a51b;font-size:18px;letter-spacing:1px;white-space:nowrap}.rating-choice-empty{color:#d7dee8}.rating-choice strong{font-size:11px;color:#344054}.rating-choice small{min-height:12px;color:#7b8798;font-size:9px;font-weight:500}.rating-form .account-field textarea{min-height:130px}.rating-form .account-form-actions{padding:18px 0 0;margin-top:22px;border-top:1px solid #edf0f4;background:transparent}.rating-form .account-form-actions p{max-width:330px}
.chat-page-redesigned{max-width:1040px;margin-top:26px}.chat-back{display:inline-flex;margin-bottom:14px}.chat-hero{display:flex;align-items:center;gap:15px;margin-bottom:18px}.chat-person-mark{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#e9efff,#f4f7ff);color:var(--blue);font-size:17px;font-weight:850}.chat-hero-copy{min-width:0;flex:1}.chat-hero-copy .chat-eyebrow{margin:0 0 4px}.chat-hero-copy h1{margin:0;font-size:25px;line-height:1.2;letter-spacing:-.035em}.chat-hero-copy p{margin:5px 0 0;color:#7b8798;font-size:12px}.chat-hero-copy p strong{color:#344054}.chat-actions{display:flex;align-items:center;gap:8px}.chat-actions form{margin:0}.chat-actions .btn{white-space:nowrap}.chat-action-rate{background:#fff;border-color:#dce3ed;color:#344054}.chat-action-block{background:#fff;border-color:#f0cccc;color:#b42318}.chat-action-block:hover{background:#fff6f6}.chat-action-block.is-unblock{border-color:#d6deea;color:#475467}.chat-shell-redesigned{border-radius:16px;box-shadow:0 8px 28px rgba(16,24,40,.06)}.chat-thread-label{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #edf0f4;color:#344054;font-size:12px;font-weight:800}.chat-thread-label span+span{color:#98a2b3;font-size:10px;font-weight:600}.chat-messages-redesigned{min-height:360px;max-height:56vh;gap:13px;padding:22px;background:linear-gradient(180deg,#fbfcfe,#f6f8fb)}.chat-messages-redesigned .chat-message{max-width:min(72%,620px);padding:12px 14px;border-radius:13px 13px 13px 5px;background:#fff;box-shadow:0 2px 7px rgba(16,24,40,.035)}.chat-messages-redesigned .chat-message.mine{border-color:#c9dcff;border-radius:13px 13px 5px 13px;background:#eaf2ff}.chat-messages-redesigned .chat-message-name{color:#475467}.chat-messages-redesigned .chat-message.mine .chat-message-name{color:#3157a6}.chat-messages-redesigned .chat-message-body{color:#253247}.chat-messages-redesigned .chat-message-time{color:#8490a3}.chat-form-redesigned{display:block;padding:16px 19px 13px}.chat-form-redesigned .chat-compose textarea{min-height:50px;border-radius:12px;padding:13px 14px}.chat-form-redesigned .chat-send{min-height:48px;border-radius:11px}.chat-form-redesigned .chat-compose-hint{margin-top:8px}.chat-empty{min-height:230px;justify-content:center}.chat-empty-icon{color:var(--blue);font-size:20px}
@media(max-width:700px){.account-page{margin:23px auto 45px}.account-page-head{align-items:flex-start;margin:15px 0 20px}.account-page-head h1{font-size:28px}.account-head-icon{width:46px;height:46px;border-radius:14px}.account-secondary-action{font-size:11px;padding:9px}.profile-form-section{padding:20px 18px}.profile-photo-row,.profile-fields-grid{padding-left:0}.profile-fields-grid{gap:14px}.account-form-actions{align-items:stretch;flex-direction:column;padding:17px 18px}.account-form-actions .btn{width:100%}.rating-form{padding:21px 17px}.rating-options{gap:5px}.rating-choice{min-height:83px;padding:10px 2px}.rating-choice-stars{font-size:14px;letter-spacing:0}.rating-choice strong{font-size:10px}.chat-page-redesigned{margin-top:17px}.chat-hero{align-items:flex-start;flex-wrap:wrap}.chat-person-mark{width:42px;height:42px;border-radius:13px}.chat-hero-copy{width:calc(100% - 58px);flex:auto}.chat-hero-copy h1{font-size:20px}.chat-actions{width:100%;padding-left:57px}.chat-actions .btn{font-size:10px;padding:8px 10px}.chat-messages-redesigned{min-height:280px;max-height:none;padding:16px 12px}.chat-messages-redesigned .chat-message{max-width:88%}.chat-form-redesigned{padding:11px}.chat-form-redesigned .chat-send{padding:0 13px}.chat-form-redesigned .chat-send span{display:none}}
@media(max-width:430px){.account-page-head{gap:10px}.account-page-head h1{font-size:25px}.account-page-head p{font-size:12px}.account-secondary-action{white-space:normal;max-width:130px}.profile-photo-row{align-items:flex-start;flex-direction:column}.profile-upload input{max-width:270px}.profile-fields-grid{grid-template-columns:1fr}.profile-field-wide{grid-column:auto}.rating-options{grid-template-columns:repeat(5,minmax(0,1fr))}.rating-choice{min-height:75px}.rating-choice-stars{font-size:12px}.rating-choice small{font-size:8px}.rating-context{gap:8px;padding:12px}.chat-actions{padding-left:0}.chat-actions .btn{flex:1;justify-content:center}.chat-messages-redesigned{min-height:240px}}

.chat-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px;max-width:360px}.chat-image-link{display:block;overflow:hidden;border-radius:10px;border:1px solid rgba(16,24,40,.1);background:#eef1f5}.chat-image-link img{display:block;width:100%;max-height:230px;aspect-ratio:1/1;object-fit:cover;transition:transform .18s}.chat-image-link:hover img{transform:scale(1.035)}.chat-image-picker{position:relative;display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid #d5dce6;border-radius:11px;background:#fff;color:var(--blue);font-size:27px;line-height:1;cursor:pointer}.chat-image-picker:hover{background:#f5f8ff;border-color:#a9c0f5}.chat-image-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.chat-upload-error{color:#b42318!important}.chat-image-lightbox[hidden]{display:none}.chat-image-lightbox{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:5vh 5vw;background:rgba(8,12,20,.94)}.chat-image-lightbox img{max-width:90vw;max-height:90vh;object-fit:contain;border-radius:8px}.chat-image-lightbox-close{position:absolute;right:22px;top:18px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:white;font-size:30px;line-height:1;cursor:pointer}.chat-image-open{overflow:hidden}.chat-form-redesigned .chat-compose{align-items:stretch}.chat-form-redesigned .chat-compose textarea{align-self:stretch}.chat-send{align-self:flex-end}
@media(max-width:700px){.chat-image-grid{max-width:100%}.chat-image-link img{max-height:180px}.chat-image-picker{width:42px;height:46px}.chat-image-lightbox{padding:12px}.chat-image-lightbox img{max-width:100vw;max-height:86vh}}

/* My listings: compact, accessible section tabs */
.my-listings-tabs{display:flex;gap:6px;align-items:center;padding:6px;margin:22px 0 0;background:#eaf0f8;border:1px solid var(--line);border-radius:14px;overflow-x:auto}
.my-listings-tab{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 16px;border:1px solid transparent;border-radius:10px;background:transparent;color:#667085;font:inherit;font-size:13px;font-weight:750;white-space:nowrap;cursor:pointer;transition:background .15s ease,color .15s ease,box-shadow .15s ease}
.my-listings-tab:hover{color:var(--ink);background:#ffffff99}
.my-listings-tab.active{color:var(--ink);background:#fff;border-color:#e4eaf2;box-shadow:0 2px 8px #1018280c}
.my-listings-tab:focus-visible{outline:3px solid #84adff;outline-offset:2px}
.my-listings-tab-count{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 7px;border-radius:999px;background:#eef4ff;color:#155eef;font-size:11px;font-weight:800}
.my-listings-tab.active .my-listings-tab-count{background:#155eef;color:#fff}
.my-listings-tabs+.account-section{margin-top:12px}
@media(max-width:520px){.my-listings-tabs{display:grid;grid-template-columns:1fr 1fr}.my-listings-tab{padding:8px 9px;font-size:12px}}
