:root{
  color-scheme:light;
  --ink:#000;
  --ink-2:#111;
  --paper:#fff;
  --white:#fff;
  --lime:#000;
  --blue:#000;
  --coral:#000;
  --line:#d5d5d5;
  --muted:#606060;
  --shadow:0 16px 40px rgba(0,0,0,.12);
}

body[data-theme="dark"]{
  color-scheme:dark;
  --ink:#fff;
  --ink-2:#eee;
  --paper:#000;
  --white:#090909;
  --lime:#fff;
  --blue:#fff;
  --coral:#fff;
  --line:#353535;
  --muted:#b5b5b5;
  --shadow:0 16px 40px rgba(255,255,255,.05);
}

.sidebar,.rental-strip{background:#000;color:#fff}
.sidebar{border-right:1px solid #282828}
.brand-mark,.receipt-icon,.searchbar button,.rental-strip button,.bottom-nav>button,.amount-row button.selected,.chat-compose button:last-child{background:#000;color:#fff;border-color:#000}
.brand-mark:after{border-top-color:#000}
.side-nav a:hover,.side-nav a.active,.trust-note{background:#181818;color:#fff}
.trust-note{border-color:#363636}
.side-nav a.active:after{background:#fff}
.trust-note a,.support-btn:hover,.rental-strip .kicker,.rental-preview strong{color:#fff}
.support-btn:hover{border-color:#fff}
.topbar{background:rgba(255,255,255,.94)}
.location-pill>span,.icon-btn i{background:#000;color:#fff}
.location-pill>span{display:inline-block;width:7px;height:7px;border-radius:50%;font-size:0;vertical-align:middle}
.search-panel:after{background:radial-gradient(circle,#000 0 3px,transparent 4px);background-size:17px 17px}
.eyebrow,.kicker,.search-panel h1 em,.detail-price{color:#000}
.eyebrow span{border-color:#000}
.searchbar,.listing-card,.quick-filters button,.outline-btn,.amount-row button,.bottom-nav,.modal,.notification-list article,.empty-state{background:#fff;color:#000;border-color:#d5d5d5}
.searchbar input,.stack-form input,.stack-form textarea,.stack-form select,.chat-compose input{background:#fff;color:#000;border-color:#bdbdbd}
.stack-form input:focus,.stack-form textarea:focus,.stack-form select:focus{border-color:#000;box-shadow:0 0 0 3px rgba(0,0,0,.14)}
.primary-btn,.stack-form>.primary-btn,.detail-actions>.primary-btn,.empty-state button,.message.mine,.toast{background:#000;color:#fff;border-color:#000}
.primary-btn:hover{background:#222}
.badge,.badge.verified{background:#000;color:#fff;border:1px solid #fff}
.avatar,.avatar.lime,.avatar.blue,.avatar.coral{background:#e5e5e5;color:#000;border:1px solid #a8a8a8}
.save-card.saved,.review-summary span,.review header span,.review footer button,.stars span{color:#000}
.rental-strip:before{border-color:#2d2d2d}
.evidence-panel,.safety-banner,.upload-zone,.history-copy,.message.theirs{background:#f2f2f2;color:#222}
.evidence-panel p,.chat-head>span{color:#4d4d4d}
.detail-image>b{background:#000;color:#fff}
.history-copy,.toast{border-color:#000}
.brand-logo,.modal-logo{filter:grayscale(1)}
.card-image,.rental-preview,.detail-image,img:not(.brand-logo):not(.modal-logo),video{filter:none}
.brand small,.side-nav a,.trust-note p,.rental-strip p,.rental-preview div>span,.rental-preview strong small{color:#bdbdbd}
.support-btn{border-color:#4a4a4a}
.lang-btn span,.price span,.seller time,.fine-print,.platform-note,.notification-list p,.notification-list time,.stack-form label,.review>p,.review header button{color:var(--muted)!important}
.listing-card:hover{border-color:#999}
.seller{border-color:#e2e2e2}
.modal-backdrop{background:rgba(0,0,0,.7)}
.modal-close{background:#ededed;color:#000}
.upload-zone{border-color:#a5a5a5}
.detail-actions .outline-btn,.review-summary .outline-btn{background:var(--white);color:var(--ink);border-color:var(--line)}

body[data-theme="dark"] .topbar{background:rgba(0,0,0,.94);border-color:#353535}
body[data-theme="dark"] .sidebar,body[data-theme="dark"] .rental-strip{background:#000;color:#fff}
body[data-theme="dark"] .brand-mark,body[data-theme="dark"] .receipt-icon,body[data-theme="dark"] .searchbar button,body[data-theme="dark"] .rental-strip button,body[data-theme="dark"] .bottom-nav>button,body[data-theme="dark"] .amount-row button.selected,body[data-theme="dark"] .chat-compose button:last-child{background:#fff;color:#000;border-color:#fff}
body[data-theme="dark"] .location-pill>span,body[data-theme="dark"] .icon-btn i{background:#fff;color:#000}
body[data-theme="dark"] .search-panel:after{background:radial-gradient(circle,#fff 0 3px,transparent 4px);background-size:17px 17px}
body[data-theme="dark"] .eyebrow,body[data-theme="dark"] .kicker,body[data-theme="dark"] .search-panel h1 em,body[data-theme="dark"] .detail-price{color:#fff}
body[data-theme="dark"] .eyebrow span{border-color:#fff}
body[data-theme="dark"] .searchbar,body[data-theme="dark"] .listing-card,body[data-theme="dark"] .quick-filters button,body[data-theme="dark"] .outline-btn,body[data-theme="dark"] .amount-row button,body[data-theme="dark"] .bottom-nav,body[data-theme="dark"] .modal,body[data-theme="dark"] .notification-list article,body[data-theme="dark"] .empty-state{background:#090909;color:#fff;border-color:#353535}
body[data-theme="dark"] .searchbar input,body[data-theme="dark"] .stack-form input,body[data-theme="dark"] .stack-form textarea,body[data-theme="dark"] .stack-form select,body[data-theme="dark"] .chat-compose input{background:#090909;color:#fff;border-color:#454545}
body[data-theme="dark"] .stack-form input:focus,body[data-theme="dark"] .stack-form textarea:focus,body[data-theme="dark"] .stack-form select:focus{border-color:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.16)}
body[data-theme="dark"] .primary-btn,body[data-theme="dark"] .stack-form>.primary-btn,body[data-theme="dark"] .detail-actions>.primary-btn,body[data-theme="dark"] .empty-state button,body[data-theme="dark"] .message.mine,body[data-theme="dark"] .toast{background:#fff;color:#000;border-color:#fff}
body[data-theme="dark"] .primary-btn:hover{background:#ddd}
body[data-theme="dark"] .badge,body[data-theme="dark"] .badge.verified{background:#fff;color:#000;border-color:#000}
body[data-theme="dark"] .avatar,body[data-theme="dark"] .avatar.lime,body[data-theme="dark"] .avatar.blue,body[data-theme="dark"] .avatar.coral{background:#202020;color:#fff;border-color:#555}
body[data-theme="dark"] .save-card.saved,body[data-theme="dark"] .review-summary span,body[data-theme="dark"] .review header span,body[data-theme="dark"] .review footer button,body[data-theme="dark"] .stars span{color:#fff}
body[data-theme="dark"] .evidence-panel,body[data-theme="dark"] .safety-banner,body[data-theme="dark"] .upload-zone,body[data-theme="dark"] .history-copy,body[data-theme="dark"] .message.theirs{background:#171717;color:#eee}
body[data-theme="dark"] .evidence-panel p,body[data-theme="dark"] .chat-head>span{color:#bbb}
body[data-theme="dark"] .detail-image>b{background:#fff;color:#000}
body[data-theme="dark"] .history-copy,body[data-theme="dark"] .toast{border-color:#fff}
body[data-theme="dark"] .seller{border-color:#303030}
body[data-theme="dark"] .modal-close{background:#202020;color:#fff}
