/* Palette based on the supplied REEVL reference; original product layout and identity. */
:root,:is(body,#scanner-panel-theme){--bg:#f7f8fa;--panel:#fff;--soft:#f2f4f6;--ink:#191f28;--muted:#616c7a;--line:#eff1f3;--blue:#3182f6;--accent-soft:#eaf3ff;--brand-gold:#3182f6;--brand-gold-bright:#3182f6;--navy:#fff;--green:#13795b;--red:#f04452;color-scheme:light}
:is(body,#scanner-panel-theme)[data-theme="dark"]{--bg:#0e0f11;--panel:#16171a;--soft:#232529;--ink:#edeef1;--muted:#aab1bc;--line:#282a2d;--blue:#4d9fff;--accent-soft:#16233a;--brand-gold:#4d9fff;--brand-gold-bright:#4d9fff;--navy:#16171a;--red:#ff5c6c;color-scheme:dark}
body{background:var(--bg);color:var(--ink);letter-spacing:-.01em}header,.panel,dialog,.signup-shell{background:var(--panel);color:var(--ink);border-color:var(--line)}input,select,th{background:var(--soft);color:var(--ink);border-color:var(--line)}button:not(.social-kakao):not(.social-naver):not(.quiet):not(.danger){border-color:var(--line)}label,.brand{color:var(--ink)}.brand img{width:165px;height:60px;object-fit:contain}.auth-brand-name::before,.admin-brand::before{display:none!important}.brand-wordmark.auth-brand-name,.brand-wordmark.admin-brand{padding:0;display:flex;justify-content:center;align-items:center}.auth-brand-name img{width:270px;max-width:100%;height:110px;object-fit:contain}.admin-brand img{width:178px;max-width:100%;height:78px;object-fit:contain}.member-logo{display:flex;align-items:center;flex:none}.member-logo img{width:145px;height:55px;object-fit:contain}.home-market,.member-recommendations,.cw-main,.cw-sidebar{box-shadow:none!important}.nav-item.active,.hm-metrics button[aria-pressed="true"]{color:var(--blue);background:var(--accent-soft)}.terms-scroll{background:var(--soft)}@media(max-width:700px){.member-logo img{width:125px;height:48px}.auth-brand-name img{width:230px;height:90px}.admin-brand img{height:65px}}
.aux-appearance{display:flex;justify-content:flex-end;gap:4px}.aux-appearance button{color:var(--muted);background:var(--soft);padding:8px 13px;border-radius:8px;font-size:18px}.aux-appearance button[aria-pressed="true"]{color:var(--blue);background:var(--accent-soft)}
/* Unified REEVL-style surfaces, density and navigation. */
:is(body,#scanner-panel-theme) .sidebar{background:var(--panel);border-right:1px solid var(--line)}
:is(body,#scanner-panel-theme) .topbar,:is(body,#scanner-panel-theme) .member-topbar{background:var(--panel);border-bottom:1px solid var(--line);padding-block:12px}
:is(body,#scanner-panel-theme) .nav-item{font-size:13px;min-height:42px;letter-spacing:-.2px}
:is(body,#scanner-panel-theme) .nav-item.active{box-shadow:inset 3px 0 var(--blue);background:var(--accent-soft)}
:is(body,#scanner-panel-theme) .page-heading h1,:is(body,#scanner-panel-theme) .member-heading h1{font-size:24px;letter-spacing:-.8px}
:is(body,#scanner-panel-theme) .panel{border-radius:12px;border-color:var(--line);box-shadow:none}
:is(body,#scanner-panel-theme) .home-market,:is(body,#scanner-panel-theme) .member-recommendations{border-radius:12px}
:is(body,#scanner-panel-theme) .hm-filters{padding-block:8px;border-bottom:1px solid var(--line)}
:is(body,#scanner-panel-theme) .hm-columns{background:var(--soft);border-radius:8px 8px 0 0}
:is(body,#scanner-panel-theme) .button{border-radius:8px;letter-spacing:-.2px}
.address-fields{display:grid;gap:9px;min-width:0}.address-fields .inline-field{display:flex;gap:8px}.address-fields .inline-field>input{max-width:150px}.address-fields button{white-space:nowrap}.address-fields small{color:var(--muted);line-height:1.5}.address-dialog{width:min(560px,calc(100vw - 20px));padding:14px;border:1px solid var(--line);border-radius:12px}.address-dialog>button{display:block;margin-left:auto;margin-bottom:10px}.address-embed{height:min(480px,70dvh);width:100%;min-width:0}
