/* Compact home hero: reduce vertical space, retain readable text and 44px controls. */
.v12-home .v12-hero{min-height:248px!important;margin-top:18px!important}
.v12-home .v12-hero-copy{padding:28px 34px!important}
.v12-home .v12-hero h1{font-size:clamp(30px,3.8vw,46px)!important;line-height:1.1!important;margin:12px 0!important}
.v12-home .v12-hero p{margin:0!important;font-size:14px!important;line-height:1.55!important}
.v12-home .v12-hero-actions{margin-top:14px!important;gap:12px!important}
.header-strip .header-strip-links>a[href="/ilanlarim"],.header-strip .header-strip-links>a.v24-my-listings{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:10px 17px!important;background:#267344!important;border:1px solid #1c5b34!important;border-radius:10px;color:#fff!important;font-size:15px!important;font-weight:800!important;line-height:1.3!important;white-space:nowrap;box-shadow:0 3px 8px #163e2020}
.header-strip .header-strip-links>a[href="/ilanlarim"]:hover{background:#1d5d36!important}
.v17-appearance{display:none!important}
label.v24-theme-control{display:flex!important;align-items:center!important;gap:10px!important;min-height:44px;margin:4px 0 12px!important;padding:7px 0!important;border:0!important;background:transparent!important;font-size:15px!important;font-weight:600!important;line-height:1.4;color:var(--text)!important;width:fit-content;cursor:pointer}
.v24-theme-control input[type="checkbox"]{position:static!important;opacity:1!important;appearance:auto!important;display:block!important;flex:0 0 20px!important;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;accent-color:#267344;clip:auto!important;transform:none!important}
.v24-courier-alert{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;padding:18px;margin:12px 0 20px;border:1px solid #75a28a;border-left:5px solid #267344;border-radius:12px;background:#eaf4ee;color:#173e2a}
.v24-courier-alert>strong{font-size:19px}.v24-courier-alert>span{flex:1;min-width:180px}.v24-courier-alert>ul{flex-basis:100%;margin:0;padding-left:20px}.v24-courier-alert li{padding:6px 0}.v24-courier-alert li a{text-decoration:underline;text-underline-offset:3px}
.v24-application-status{display:inline-flex;align-items:center;padding:7px 12px;background:#fff0ce;color:#624400;border:1px solid #c5a261;border-radius:8px;font-weight:700;font-size:14px}.v24-application-status.is-ready{background:#e3f4e9;color:#14592e;border-color:#75ae8a}
[id^="v24-courier-"]{scroll-margin-top:90px}
@media(max-width:700px){
 .v12-home .v12-hero{min-height:0!important;margin-top:14px!important}
 .v12-home .v12-hero-copy{padding:14px 22px!important}
 .v12-home .v12-hero h1{font-size:28px!important;line-height:1.1!important;letter-spacing:-1px!important;margin:10px 0!important}
 .v12-home .v12-hero p{font-size:12px!important;line-height:1.5!important}
 .v12-home .v12-hero-actions{margin-top:10px!important;gap:10px!important}
 .v12-home .v12-hero-actions>a{min-height:44px!important;padding-block:8px!important}
 .v12-home .v12-kicker{font-size:9px!important;line-height:1.4!important}
 .header-strip .header-strip-links{gap:10px!important}
 .header-strip .header-strip-links>a[href="/ilanlarim"]{min-height:42px;padding:9px 12px!important;font-size:13px!important}
 .header-strip-links>.compact-deals{min-height:42px!important;padding:9px 10px!important;min-width:0;white-space:normal!important;font-size:14px!important;line-height:1.3!important}
 .v24-courier-alert{padding:14px;gap:10px}.v24-courier-alert .btn{width:100%}
}
/* Define every surface token, then override legacy fixed-color components. */
:root[data-theme="dark"]{color-scheme:dark;--bg:#0c1118;--surface:#18212c;--card:#18212c;--text:#edf2f8;--ink:#edf2f8;--muted:#bdc9d8;--line:#45566c;--soft:#233145;--v17-input:#111a25;--v17-button:#293f59;--v17-button-text:#f3f7fc;--lightblue:#293f59;--navy:#edf2f8;--blue:#a5d1ff;--blue2:#9acbff;--deep:#b4d7ff;--green:#8cddb0;--orange:#ffd18b}
:root[data-theme="dark"] body,:root[data-theme="dark"] main{background:var(--bg)!important;color:var(--text)!important}
:root[data-theme="dark"] :is(.auth-panel,.choice-card.light,.feature-strip,.job-card,.info-tile,.directory-tile,.upload-drop,.convo-list,.convo-item,.chat-body,.chat-compose,.profile-in-chat,.support-bot-log,.support-msg.bot,.support-contact a,.admin-category,.pax-browser,.pax-result-list,.pax-result-row,.pax-browse-option,.pax-searchbar,.pax-category-tile,.pax-feature,.filter-panel,.pax-filter-block,.market-cat-tab,.media-upload,.quick-questions button,.v11-search,.v11-category,.p12-picker label,.v20-specs,.field-section,.pax-spec-fieldset){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}
:root[data-theme="dark"] :is(.info-tile strong,.info-tile p,.directory-tile strong,.job-meta b,.benefit strong,.market-description,.detail-attribute strong,.my-listing-copy strong,.admin-stat strong,.admin-category strong,.admin-ticket strong,.pax-result-copy h3 a,.pax-spec-row dd,.pax-searchbar label,.pax-category-tile strong,.v11-intro h1,.v11-intro h1 span,.p12-links a,.p12-station,.p12-note p,.p12-favorite strong,.v20-profile>summary){color:var(--text)!important}
:root[data-theme="dark"] :is(.header-live,.header-live time,.v20-ticker,.v20-track,.v20-quote,.v20-quote b){background:transparent!important;color:var(--text)!important}
:root[data-theme="dark"] :is(.v20-quote small,.p12-note small,.p12-favorite small,.p12-news-card small,.p12-news-card>span,.p12-station small,.p12-stat span,.p12-note-actions,.pax-spec-row dt,.market-eyebrow,.breadcrumb,.eyebrow){color:var(--muted)!important}
:root[data-theme="dark"] #v20-market-grid .v20-quote{background:var(--soft)!important}
:root[data-theme="dark"] :is(.pax-spec-heading,.admin-table th,.p12-table-scroll th,.feature-icon,.directory-icon,.avatar,.notification-item.unread,.notification-item .ico-wrap,.consent-points,.pax-breadcrumb,.pax-browse-all,.pax-missing,.pax-result-specs,.detail-attribute,.stat-pills span,.pill,.bubble,.sector-chips button,.market-cat-tab.selected,.p12-note.is-due){background:var(--soft)!important;color:var(--text)!important;border-color:var(--line)!important}
:root[data-theme="dark"] :is(.pax-breadcrumb a,.pax-browse-all,.pax-spec-fieldset legend,.breadcrumb a,.pax-result-bottom strong,.market-price,.p12-favorite span,.p12-station span){color:var(--blue)!important}
:root[data-theme="dark"] :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea,option){background:var(--v17-input)!important;color:var(--text)!important;border-color:var(--line)!important;-webkit-text-fill-color:var(--text)!important}
:root[data-theme="dark"] ::placeholder{color:var(--muted)!important;opacity:1}
:root[data-theme="dark"] :is(.pax-tablist,.pax-tablist button){background:var(--soft)!important;color:var(--text)!important;border-color:var(--line)!important}
:root[data-theme="dark"] .pax-tablist button[aria-selected="true"]{background:#386d9e!important;color:#fff!important}
:root[data-theme="dark"] :is(.notice,.notice-warning,.notice-success){background:#233145!important;color:#edf2f8!important;border-color:#6583a4!important}
:root[data-theme="dark"] :is(.notice strong,.notice p,.notice a){color:inherit!important}
:root[data-theme="dark"] :is(.chip-green,.deal-badge,.v16-rating,.v24-courier-alert,.v24-application-status.is-ready){background:#183c2b!important;color:#c5f6d8!important;border-color:#658d76!important}
:root[data-theme="dark"] :is(.v24-courier-alert strong,.v24-courier-alert b,.v24-courier-alert span,.v24-courier-alert li a){color:#c5f6d8!important}
:root[data-theme="dark"] :is(.chip-orange,.v24-application-status){background:#45351c!important;color:#ffe0a1!important;border-color:#997d49!important}
:root[data-theme="dark"] :is(.chip-blue,.sample-ribbon,.favorite-btn,.like-chip,.gallery-arrow,.gallery-expand,.large-image-wrap button){background:#293f59!important;color:#f3f7fc!important;border-color:#7892b0!important}
:root[data-theme="dark"] .v12-home .v12-category strong{color:#fff!important}
:root[data-theme="dark"] .v12-home .v12-category small{color:#dfebfa!important}
:root[data-theme="dark"] .v24-theme-control{color:var(--text)!important}
:root[data-theme="dark"] a:focus-visible,:root[data-theme="dark"] button:focus-visible,:root[data-theme="dark"] input:focus-visible{outline-color:#9fe5bd!important}

dialog.v25-document{position:fixed;inset:0;width:100%;max-width:100%;height:100%;height:100dvh;max-height:100%;margin:0;padding:0;border:0;background:#111923!important;color:#f5f7fb!important;z-index:2147483647;overflow:hidden}
dialog.v25-document::backdrop{background:#111923}
dialog.v25-document[open]{display:flex;flex-direction:column}
.v25-document header{position:static!important;display:flex;flex:none;align-items:center;flex-wrap:wrap;gap:8px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;background:#1d2e43!important;color:#fff!important;border-bottom:1px solid #586a80}
.v25-document header strong{flex:1;min-width:100px;color:#fff!important;font-size:15px}
.v25-document header button{min-height:44px;padding:10px 12px;border:1px solid #92b1ce;border-radius:8px;background:#315f8a!important;color:#fff!important;font-size:14px;font-weight:700;cursor:pointer}
.v25-document header button:focus-visible{outline:3px solid #ffd65a;outline-offset:2px}
.v25-document-content{flex:1;min-height:0;overflow:auto;padding:12px 12px calc(12px + env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.v25-document-content img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;margin:auto}
.v25-document-content img[hidden]{display:none}
.v25-document.is-zoomed img{width:1600px;max-width:none;max-height:none}
.v25-document [role="status"]{color:#f5f7fb!important}
