:root{font-family:Avenir Next,Segoe UI,sans-serif;color:#1f1235;background:radial-gradient(circle at top right,#e6dcff,#f7f3ff 45%)}*{box-sizing:border-box}body{margin:0}.page{min-height:100vh;padding:1rem}.topbar{max-width:1180px;margin:0 auto 1rem;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:.65rem;text-decoration:none;color:inherit}.brand-logo{width:225px;height:60px;border-radius:10px}.brand h1{margin:0;font-size:1.5rem}.topbar-actions{display:inline-flex;align-items:center;gap:.5rem}.account-menu-wrap{position:relative}.avatar-button{width:42px;height:42px;display:grid;place-items:center;padding:0;border:2px solid #c4b5fd;border-radius:999px;background:#5b21b6;color:#fff;font-weight:800}.account-menu{position:absolute;z-index:20;top:calc(100% + .5rem);right:0;min-width:190px;display:grid;overflow:hidden;border:1px solid #c4b5fd;border-radius:10px;background:#fdfbff;box-shadow:0 12px 28px #4c1d9533}.account-menu-item{width:100%;padding:.75rem .9rem;border:0;border-radius:0;background:transparent;color:#3b0764;text-align:left;text-decoration:none;cursor:pointer}.account-menu-item:hover{background:#f3e8ff}.login-link,.login-pill{text-decoration:none;background:#5b21b6;color:#fff;border-radius:999px;padding:.4rem .9rem;font-size:.9rem}.secondary-link{border:1px solid #5b21b6;background:#fff;color:#5b21b6}.content{max-width:1180px;margin:0 auto;display:grid;gap:1rem}.single-column{max-width:640px}.main-layout{display:grid;grid-template-columns:220px 1fr;gap:1rem}.market-column{display:grid;gap:1rem}.panel{background:#fdfbff;border-radius:14px;padding:1rem;box-shadow:0 8px 20px #4c1d951f}.login-panel p{margin-top:0}.account-password-form{margin-top:1rem;padding-top:1rem;border-top:1px solid #e9d5ff}.admin-section{display:grid;gap:.9rem}.admin-section h2,.admin-section h3{margin:0}.admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:1rem}.admin-sidebar{height:fit-content;position:sticky;top:1rem;display:grid;gap:.55rem}.admin-content{min-width:0}.admin-inline-form{grid-template-columns:minmax(180px,1fr) auto auto;align-items:end}.checkbox-label{display:inline-flex;align-items:center;gap:.45rem}.featured-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.85rem;border:2px solid #cbd5e1;border-radius:8px;padding:1rem;background:#f8fafc;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.featured-toggle:hover{border-color:#0f766e;box-shadow:0 8px 24px #0f766e1f}.featured-toggle.is-on{border-color:#0f766e;background:#ecfdf5}.featured-toggle input{position:absolute;opacity:0;pointer-events:none}.featured-toggle input:focus-visible+.featured-toggle-switch{outline:3px solid rgba(15,118,110,.3);outline-offset:3px}.featured-toggle-switch{position:relative;width:58px;height:32px;border-radius:999px;background:#94a3b8;box-shadow:inset 0 0 0 1px #0f172a1a;transition:background .15s ease}.featured-toggle-switch:after{content:"";position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 8px #0f172a40;transition:transform .15s ease}.featured-toggle.is-on .featured-toggle-switch{background:#0f766e}.featured-toggle.is-on .featured-toggle-switch:after{transform:translate(26px)}.featured-toggle-copy{display:grid;gap:.18rem;min-width:0}.featured-toggle-copy strong{color:#0f172a;font-size:1rem}.featured-toggle-copy span{color:#475569;font-size:.92rem}.featured-toggle-price{border-radius:999px;padding:.35rem .65rem;background:#ccfbf1;color:#115e59;font-weight:800;white-space:nowrap}.payment-summary{display:grid;gap:.2rem;border-left:4px solid #0f766e;padding:.65rem .8rem;background:#f8fafc;color:#0f172a}.payment-summary span{color:#475569;font-size:.9rem}.categories-sidebar{height:fit-content;position:sticky;top:1rem;display:grid;gap:.55rem}.categories-sidebar h2{margin:0 0 .3rem}.chip{border:1px solid #7c3aed;border-radius:999px;padding:.42rem .7rem;background:#f3e8ff;color:#3b0764;cursor:pointer;text-align:left;font-weight:600}.chip.active{background:#6d28d9;color:#fff;border-color:#6d28d9}.listing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.8rem}.listing-card{border:1px solid #e9d5ff;border-radius:10px;overflow:hidden;background:#faf5ff;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.listing-card:hover{transform:translateY(-2px);box-shadow:0 8px 16px #5b21b62e}.listing-card.active{border-color:#6d28d9;box-shadow:0 0 0 2px #6d28d92e}.listing-card img{width:100%;height:150px;object-fit:cover}.card-body{padding:.8rem}.card-body h3{margin:0 0 .4rem;font-size:1rem}.card-body p{margin:0 0 .3rem;color:#5b4b74}.detail-panel h2{margin-top:0}.detail-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.detail-price{background:#ede9fe;color:#4c1d95;border:1px solid #c4b5fd;border-radius:999px;padding:.3rem .7rem;font-weight:700}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.detail-grid h3{margin-bottom:.45rem}.map-frame{width:100%;height:260px;border:1px solid #c4b5fd;border-radius:10px}.us-map{position:relative;width:100%;height:360px;overflow:hidden;border:1px solid #c4b5fd;border-radius:10px;background:#ede9fe}.us-map-frame{width:100%;height:100%;border:0}.map-marker{position:absolute;width:14px;height:14px;border:2px solid #fff;border-radius:999px;background:#e11d48;box-shadow:0 0 0 4px #e11d4833;transform:translate(-50%,-50%);pointer-events:auto}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;padding:1rem;background:#1f12356b}.modal-panel{width:min(560px,100%);max-height:calc(100vh - 2rem);overflow:auto;background:#fdfbff;border-radius:14px;padding:1rem;box-shadow:0 20px 40px #1f123547}.modal-panel p{margin-top:0;color:#5b4b74}.form{display:grid;gap:.7rem}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}label{display:grid;gap:.3rem;font-size:.9rem}input,select,textarea,button{font:inherit}input,select,textarea{padding:.55rem .65rem;border-radius:8px;border:1px solid #c4b5fd}button{width:fit-content;padding:.55rem .8rem;border:0;border-radius:8px;cursor:pointer;background:#7c3aed;color:#fff}.text-button{display:inline;width:auto;padding:0;border-radius:0;background:transparent;color:#5b21b6;font-weight:700;text-decoration:underline}button[disabled]{opacity:.75;cursor:wait}.list-block{margin-top:.8rem}.list-block ul{margin:0;padding-left:1rem}.request-list{display:grid;gap:.75rem;padding-left:0;list-style:none}.request-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #e9d5ff;border-radius:10px;background:#faf5ff;padding:.8rem}.request-item>.form{width:100%}.photo-field{align-items:start}.photo-preview{width:min(220px,100%);aspect-ratio:4 / 3;object-fit:cover;border:1px solid #c4b5fd;border-radius:8px;background:#ede9fe}.request-summary{display:flex;align-items:center;min-width:0;gap:.75rem}.request-thumb{flex:0 0 auto;width:72px;height:72px;object-fit:cover;border:1px solid #c4b5fd;border-radius:8px;background:#ede9fe}.request-item p{margin:.25rem 0 0;color:#5b4b74}.request-actions,.form-actions{display:flex;align-items:center;gap:.5rem}.secondary-button{background:#ede9fe;color:#4c1d95}.danger-button{background:#be123c}.buyer-popover-wrap{position:relative;display:block;margin-bottom:1rem}.buyer-popover{position:absolute;z-index:5;top:calc(100% + .45rem);left:0;width:230px;border:1px solid #c4b5fd;border-radius:10px;background:#fdfbff;padding:.8rem;box-shadow:0 10px 24px #4c1d952e}.buyer-popover p{margin:.35rem 0 .7rem;color:#5b4b74}.feedback-list{display:grid;gap:.75rem;padding-left:0;list-style:none}.feedback-item{border:1px solid #e9d5ff;border-radius:10px;background:#faf5ff;padding:.8rem}.feedback-item p{margin:.35rem 0 0}.table-wrap{overflow-x:auto}.message-table{width:100%;border-collapse:collapse}.message-table th,.message-table td{border-bottom:1px solid #e9d5ff;padding:.7rem;text-align:left;vertical-align:top}.message-table th{color:#4c1d95;font-size:.85rem}.message-table tbody tr{cursor:pointer}.message-table tbody tr:hover,.message-table .active-row{background:#f3e8ff}.message-table .unread-row{font-weight:800}.conversation-thread{display:grid;gap:.75rem;margin:1rem 0}.message-bubble{max-width:78%;border:1px solid #e9d5ff;border-radius:10px;background:#faf5ff;padding:.75rem}.message-bubble.sent{justify-self:end;background:#ede9fe}.message-bubble.received{justify-self:start}.message-bubble.unread-message{border-color:#7c3aed;box-shadow:0 0 0 2px #7c3aed26}.message-bubble p{margin:.35rem 0}.message-bubble span{color:#5b4b74;font-size:.8rem}.message-meta{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.message-meta button{padding:.35rem .55rem;font-size:.8rem}.full-width{grid-column:1 / -1}.status{margin:0;background:#f3e8ff;border:1px solid #a855f7;color:#4a1d96;border-radius:10px;padding:.7rem}@media(max-width:900px){.main-layout,.admin-layout{grid-template-columns:1fr}.categories-sidebar,.admin-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.categories-sidebar h2{grid-column:1 / -1}}@media(max-width:700px){.grid-2,.categories-sidebar,.detail-grid{grid-template-columns:1fr}.request-item{align-items:stretch;flex-direction:column}.message-bubble{max-width:100%}}
