:root{
  --bg:#edf2f8;
  --card:#ffffff;
  --line:#d8e2ef;
  --navy:#10284f;
  --text:#1b2738;
  --muted:#6d7c92;
  --accent:#2f6fff;
  --accent2:#ff9a1f;
  --success:#dff3e1;
}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,sans-serif;background:linear-gradient(180deg,#eef3f9,#e8eef6);color:var(--text)}
a{text-decoration:none;color:var(--accent)}
button{cursor:pointer}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.brand{font-weight:800;color:var(--accent2);font-size:20px}.brand span{color:var(--navy)}
.topnav{display:flex;gap:10px;flex-wrap:wrap}
.btn-lite,.btn-primary{border:1px solid var(--line);padding:10px 14px;border-radius:12px;display:inline-block;background:white}
.btn-primary{background:linear-gradient(135deg,var(--accent),#5c8dff);color:white;border-color:transparent}
.flash{max-width:1400px;margin:14px auto 0;padding:12px 16px;border-radius:14px}
.flash.success{background:var(--success);border:1px solid #b6d9bb}
.layout,.admin-layout{display:grid;grid-template-columns:290px 1fr;gap:20px;padding:22px;max-width:1480px;margin:0 auto}
.admin-layout{width:100%;max-width:none}
.sidebar .panel,.card,.admin-content,.admin-sidebar{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 30px rgba(10,25,55,.04)}
.sidebar .panel,.admin-sidebar,.admin-content,.card{padding:18px}
.hero{background:linear-gradient(135deg,#13326a,#0f1d39);color:white;border-radius:24px;padding:32px;min-height:180px;margin-bottom:20px}
.company-hero{background:linear-gradient(135deg,#13326a,#0f1d39);color:white}
.company-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.company-logo-box{min-width:140px;min-height:100px;border-radius:18px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;padding:16px}
.listing-card{display:flex;gap:18px;align-items:center;margin-bottom:16px}
.thumb{width:120px;height:90px;border-radius:16px;background:linear-gradient(135deg,#2d4779,#0d1730)}
.footer{text-align:center;padding:24px;color:var(--muted)}
.admin-sidebar details{margin-bottom:10px;border:1px solid var(--line);border-radius:14px;padding:10px;background:#f9fbff}
.admin-sidebar summary{cursor:pointer;font-weight:700}
.admin-sidebar a{display:block;padding:8px 0 0 4px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat-card{background:#f7faff;border:1px solid var(--line);padding:18px;border-radius:18px}
.stat-card span{display:block;color:var(--muted);margin-bottom:6px}
.table{width:100%;border-collapse:collapse;background:white}
.table th,.table td{padding:12px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px;flex-wrap:wrap}
.toolbar button,.toolbar select,button,input,textarea,select{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:white}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.form-grid label,label{display:flex;flex-direction:column;gap:6px}
.simple-page{max-width:980px;margin:20px auto;padding:0 20px}
.auth-card{max-width:480px;margin:0 auto}
.actions-row{display:flex;gap:10px;align-items:center;margin-top:10px}
.pill{padding:4px 10px;border-radius:999px;background:#eef3ff}
.save-search-form{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.image-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.mini-image{padding:10px;border:1px solid var(--line);border-radius:12px;background:#f8fbff;font-size:12px;word-break:break-all}
.tree-list{list-style:none;margin:0;padding-left:14px}
.tree-node{margin:6px 0}
.tree-toggle{border:none;background:transparent;text-align:left;padding:6px 0;font-weight:700;color:#234}
.tree-node>.tree-list{display:none}
.tree-node.open>.tree-list{display:block}
.note{color:var(--muted)}
.page-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
@media (max-width:1000px){.layout,.admin-layout{grid-template-columns:1fr}.stats-grid,.form-grid,.image-grid,.company-head{grid-template-columns:1fr;display:grid}.company-logo-box{min-width:auto}}

.footer-links{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:8px}

.tree-row{display:flex;align-items:center;gap:8px}
.tree-link{display:inline-block;padding:6px 0}
.thumb-link{display:block}
.card-section{margin-top:16px}

.message-tabs{display:flex;gap:10px;flex-wrap:wrap}
.tab-link{padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}
.tab-link.active{background:linear-gradient(135deg,var(--accent),#5c8dff);color:#fff;border-color:transparent}

.editor-wrap{margin-top:18px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.editor-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);background:#f7f9fc}
.editor-area{min-height:260px;border-radius:14px}
.note{color:#6b7a90}

.editor-buttons{display:flex;gap:8px;flex-wrap:wrap}
.editor-btn{padding:8px 10px;border:1px solid var(--line);background:#fff;border-radius:10px;cursor:pointer}
.wysiwyg-editor{min-height:260px;border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;margin:12px 0;outline:none}
.editor-source{display:none}
.wysiwyg-editor h1,.wysiwyg-editor h2,.wysiwyg-editor h3{margin:0 0 12px}
.wysiwyg-editor p{margin:0 0 12px}
.wysiwyg-editor ul{padding-left:22px}


.ck-editor-host{min-height:260px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;margin:12px 0}
.ck.ck-editor__main>.ck-editor__editable{min-height:320px}
.editor-source{display:none}

.editor-status{margin:0 0 16px;padding:12px 14px;border-radius:12px;font-size:14px;display:none}
.editor-status.ok{display:block;background:#eaf7ea;border:1px solid #b8e0b8;color:#225c22}
.editor-status.error{display:block;background:#fff1f1;border:1px solid #e2b5b5;color:#8f2f2f}
.fallback-visible{display:block}
.ck-editor-host{display:none}

.admin-body{background:#eef3f9}
.admin-topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 28px;background:#13294b;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);max-width:calc(100% - (var(--page-gutter) * 2));margin:14px auto 0;border-radius:20px;box-sizing:border-box}
.admin-brand{font-weight:800;font-size:28px}
.admin-brand span{color:#8fb3ff}
.admin-topnav{display:flex;gap:12px;flex-wrap:wrap}
.admin-topnav .btn-lite{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.12)}
.admin-footer{margin:32px auto 14px;padding:20px 28px;background:#13294b;color:#dfe7ff;display:flex;justify-content:space-between;align-items:center;max-width:calc(100% - (var(--page-gutter) * 2));border-radius:20px;box-sizing:border-box}
.admin-footer a{color:#dfe7ff}

.settings-page{display:flex;flex-direction:column;gap:20px}
.settings-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.18)}
.settings-hero h1{margin:6px 0 8px;font-size:32px}
.settings-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.82)}
.eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;opacity:.7;font-weight:700}
.settings-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px;min-width:300px}
.mini-stat{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:16px}
.mini-stat span{display:block;font-size:28px;font-weight:800;margin-bottom:4px}
.mini-stat small{color:rgba(255,255,255,.78)}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.settings-card{padding:24px}
.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}
.section-head h2{margin:6px 0 4px;font-size:24px}
.section-head p{margin:0;color:var(--muted)}
.inline-panel{margin-top:18px;display:flex;gap:14px;align-items:end;flex-wrap:wrap;padding:16px;border:1px solid var(--line);border-radius:18px;background:#f8fbff}
.entity-form{padding:16px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f4f8fd);margin-bottom:18px}
.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-table{table-layout:fixed}
.admin-table thead th{font-size:13px;letter-spacing:.02em;text-transform:uppercase;color:var(--muted);background:#f8fbff}
.admin-table th:nth-child(1){width:110px}
.admin-table th:nth-child(3){width:140px}
.admin-table th:last-child{width:260px}
.admin-table th.action-col,.admin-table td.action-col{text-align:right}
.admin-table th a{color:inherit}
.admin-table tbody tr:hover{background:#fafcff}
.admin-table td{word-break:break-word}
.admin-table td.table-actions{display:table-cell;white-space:nowrap;word-break:normal}
.admin-table td.table-actions a,
.admin-table td.table-actions .inline-form{display:inline-flex;vertical-align:middle;margin:0 14px 0 0}
.admin-table td.table-actions a:last-child,
.admin-table td.table-actions .inline-form:last-child{margin-right:0}
.table-actions{white-space:nowrap}
.inline-form{display:inline-flex;gap:8px;align-items:center;margin:0}
.inline-form button{padding:0;border:none;background:transparent;color:var(--accent);font:inherit}
.inline-form button:hover,.admin-table td.table-actions a:hover{text-decoration:underline}
.status-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}
.status-default{background:#e9f2ff;color:#1b52c2}
.checkbox-label{flex-direction:row;align-items:center;gap:10px;padding-top:30px}
@media (max-width:1200px){.settings-grid{grid-template-columns:1fr}.settings-hero{flex-direction:column;align-items:flex-start}.settings-hero-stats{width:100%;min-width:0}}
@media (max-width:700px){.compact-grid,.settings-hero-stats{grid-template-columns:1fr}.settings-card{padding:18px}}

.settings-subnav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.settings-subnav a{padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--text)}
.settings-subnav a.active{background:linear-gradient(135deg,var(--accent),#5c8dff);color:#fff;border-color:transparent}
.settings-menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.settings-link-card{display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px rgba(10,25,55,.04);color:var(--text)}
.settings-link-card strong{font-size:20px;color:var(--navy)}
.settings-link-card span{color:var(--muted);line-height:1.5}
@media (max-width:1200px){.settings-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.settings-menu-grid{grid-template-columns:1fr}}



.admin-table td.table-actions,.admin-table td.action-col{text-align:right;position:relative;overflow:visible}
.action-menu{position:relative;display:inline-flex;justify-content:flex-end;align-items:flex-start}
.action-trigger{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);font-weight:700;cursor:pointer;justify-content:center;min-width:120px;white-space:nowrap;box-shadow:0 6px 18px rgba(16,40,79,.06)}
.action-menu.is-open .action-trigger,.action-menu .action-trigger:focus-visible{background:#f8fbff;border-color:#cfdced}
.action-menu .menu-dot{font-size:18px;line-height:1;color:var(--muted)}
.action-menu-panel{position:absolute;top:calc(100% + 8px);right:0;display:flex;flex-direction:column;align-items:stretch;min-width:220px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 40px rgba(16,40,79,.16);z-index:200;opacity:0;visibility:hidden;transform:translateY(6px);pointer-events:none;transition:opacity .18s ease, transform .18s ease, visibility .18s ease}
.action-menu.is-open .action-menu-panel{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.admin-table td.table-actions .action-menu-panel a,.admin-table td.table-actions .action-menu-panel button{width:100%;display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border:none;background:transparent;border-radius:10px;color:var(--text);font:inherit;text-align:left;text-decoration:none;justify-content:flex-start}
.admin-table td.table-actions .action-menu-panel a:last-child,.admin-table td.table-actions .action-menu-panel .inline-form:last-child{margin-right:0}
.admin-table td.table-actions .action-menu-panel a:hover,.admin-table td.table-actions .action-menu-panel button:hover{background:#f4f8ff;color:var(--accent);text-decoration:none}
.action-menu-panel form{display:block;margin:0}
.menu-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;color:var(--muted);font-size:15px;flex:0 0 18px}
.admin-table td.table-actions .action-menu-panel .menu-danger{color:#c73939 !important}
.admin-table td.table-actions .action-menu-panel .menu-danger .menu-icon{color:#c73939}

@media (max-width:900px){.admin-table{table-layout:auto}.admin-table th:last-child{width:auto}.admin-table td.table-actions,.admin-table td.action-col{white-space:normal}.admin-table td.table-actions a,.admin-table td.table-actions .inline-form{margin:0 10px 8px 0}}

.ticket-reply-card{padding:16px;margin-bottom:12px;}
.ticket-attachments{margin-top:12px;}
.ticket-attachments ul{margin:8px 0 0 18px;padding:0;}
.ticket-attachments li{margin:4px 0;}

.ticket-dropzone{position:relative;border:2px dashed var(--line);border-radius:18px;padding:22px;background:#fbfdff;cursor:pointer;transition:border-color .18s ease, background .18s ease;}
.ticket-dropzone:hover,.ticket-dropzone.is-dragover{border-color:var(--accent);background:#f4f8ff;}
.ticket-dropzone input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;}
.ticket-dropzone-label{text-align:center;color:var(--muted);font-weight:600;pointer-events:none;}
.ticket-file-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.ticket-file-item{padding:6px 10px;border-radius:999px;background:#e9f2ff;color:var(--navy);font-size:12px;font-weight:700;}
.ticket-note-card{background:#fffdf2;border:1px solid #f0e3a6;}


.ticket-filter-form{margin-bottom:18px}
.ticket-filter-grid{align-items:end}
.ticket-create-callout{margin-bottom:18px;padding:18px;border:1px dashed var(--line);background:#f8fbff}
.ticket-create-callout strong{display:block;margin-bottom:6px;color:var(--navy)}
@media (max-width:700px){.ticket-filter-grid{grid-template-columns:1fr}}


.ticket-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;min-width:110px}
.ticket-status-open{background:#e8f8ec;color:#1f7a3d}
.ticket-status-in-progress{background:#fff3df;color:#9a5b00}
.ticket-status-closed{background:#eef2f6;color:#5d697d}
.ticket-results-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:8px 0 16px}
.pagination{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:18px}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:9px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--text)}
.pagination a.is-active{background:linear-gradient(135deg,var(--accent),#5c8dff);border-color:transparent;color:#fff;font-weight:700}
.pagination-gap{border-style:dashed;color:var(--muted)}
.ticket-filter-form.is-loading{opacity:.72;pointer-events:none}
.ticket-filter-form.is-loading::after{content:'';display:block;height:3px;margin-top:12px;border-radius:999px;background:linear-gradient(90deg,var(--accent),#9bb6ff,var(--accent));background-size:200% 100%;animation:ticket-loading 1.1s linear infinite}
.user-ticket-table th:nth-child(1){width:160px}
.user-ticket-table th:last-child{width:110px}
@keyframes ticket-loading{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media (max-width:700px){.ticket-results-head{align-items:flex-start}.ticket-status-badge{min-width:0}}


.stack-lg{display:flex;flex-direction:column;gap:20px}
.email-template-card h2{margin:0 0 6px}
.email-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.email-template-grid textarea{min-height:180px;resize:vertical}
.email-template-card code{display:inline-flex;flex-wrap:wrap;gap:6px;padding:4px 8px;border-radius:10px;background:#f4f8ff;color:var(--navy)}
.cache-result-card ul{margin:10px 0 0 18px;padding:0}
.cache-target-list li{margin:6px 0}
@media (max-width:900px){.email-template-grid{grid-template-columns:1fr}}

.email-template-head{align-items:flex-start;gap:18px}
.email-template-actions{display:flex;gap:10px;flex-wrap:wrap}
.email-template-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.email-preview-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fbfdff}
.email-preview-card strong{display:block;margin-bottom:12px;color:var(--navy)}
.email-preview-card pre{margin:0;white-space:pre-wrap;word-break:break-word;font:inherit;color:var(--text)}
.email-template-test-box{display:flex;justify-content:space-between;gap:18px;align-items:end;padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:#fff}
.email-template-test-box p{margin:6px 0 0;color:var(--muted)}
.email-template-test-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;flex:1}
.log-details summary{cursor:pointer;color:var(--accent);margin-top:6px}
.log-details pre{margin-top:10px;white-space:pre-wrap;word-break:break-word}
.ticket-status-sent{background:#e8f8ec;color:#1f7a3d}
.ticket-status-failed{background:#ffe5e5;color:#b12f2f}
.ticket-status-queued{background:#eef2f6;color:#5d697d}
.settings-test-panel{display:flex;justify-content:space-between;gap:18px;align-items:end}
.settings-test-panel p{margin:6px 0 0;color:var(--muted)}
@media (max-width:900px){.email-template-preview-grid,.email-template-test-fields{grid-template-columns:1fr}.email-template-test-box,.settings-test-panel{flex-direction:column;align-items:stretch}}
.btn-secondary{border:1px solid var(--line);padding:10px 14px;border-radius:12px;display:inline-block;background:#fff;color:var(--text)}


.market-search-shell{max-width:1260px;margin:10px auto 14px;padding:0 8px}
.market-search-bar{display:grid;grid-template-columns:2.1fr 1.2fr .8fr 1fr auto;gap:10px;align-items:center;background:#e2e8f0;border:1px solid #d5dde8;border-radius:14px;padding:10px}
.market-field{display:flex;align-items:center;min-height:46px;background:#fff;border:1px solid #d6dee9;border-radius:10px;overflow:hidden}
.market-field input,.market-field select{width:100%;height:46px;border:none;background:transparent;padding:0 16px;font-size:15px;color:#495569;outline:none;border-radius:10px}
.market-field input::placeholder{color:#6b7280;opacity:1}
.market-field select{-webkit-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#4b5563 50%),linear-gradient(135deg,#4b5563 50%,transparent 50%);background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:34px}
.market-search-button{height:46px;padding:0 24px;border:none;border-radius:10px;background:#1d5eff;color:#fff;font-size:16px;font-weight:700}
@media (max-width:1024px){.market-search-bar{grid-template-columns:1fr 1fr}.market-search-button{width:100%}}
@media (max-width:700px){.market-search-bar{grid-template-columns:1fr}}

/* Homepage clone */
:root{--page-width:1200px;--page-gutter:14px}
html{overflow-y:scroll;scrollbar-gutter:stable}
body{background:#e9eef5;color:#1b2435;font-family:Arial,sans-serif;overflow-x:hidden}
.flash,.layout,.simple-page,.site-header-inner,.market-search-shell,.home-layout,.site-footer{max-width:var(--page-width);margin-left:auto;margin-right:auto}
.admin-layout{max-width:none;margin-left:0;margin-right:0}
.flash,.layout,.admin-layout,.simple-page,.site-header-inner,.market-search-shell,.home-layout,.site-footer{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.layout{gap:20px;max-width:var(--page-width)}
.admin-layout{gap:20px;max-width:none;width:100%}
.simple-page{max-width:var(--page-width);margin-top:20px;margin-bottom:20px}
.site-header{padding:8px 0 0;background:#e9eef5}
.site-header-inner{padding-top:0;padding-bottom:10px}
.site-header-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 22px;background:rgba(255,255,255,.94);border:1px solid #d8e0ea;border-radius:24px;box-shadow:0 10px 24px rgba(17,42,92,.05)}
.site-brand{display:flex;flex-direction:column;gap:2px;text-decoration:none;min-width:0}
.site-brand-title{font-size:17px;line-height:1.1;font-weight:800;color:#e89310}
.site-brand-tagline{font-size:13px;color:#66758f}
.site-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:1;min-width:0}
.site-nav-main,.site-nav-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.site-nav-meta{justify-content:flex-end;margin-left:auto}
.site-nav-link{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:14px;color:#1d2330;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.site-nav-link:hover{background:#f3f6fb}
.site-nav-link.is-active{background:#edf3ff;color:#255fe8;box-shadow:inset 0 0 0 1px #d6e3ff}
.account-dropdown{position:relative}
.account-button,.site-icon-button{height:42px;border:1px solid #d1d9e6;background:#fff;border-radius:14px;display:inline-flex;align-items:center;gap:10px;padding:0 16px;color:#1d2330;font-size:15px;font-weight:700;box-shadow:none}
.account-button:hover,.site-icon-button:hover{background:#f7f9fc}
.account-button-icon{font-size:17px;color:#2c61ea;line-height:1}
.account-button-caret{font-size:10px;color:#555a65}
.site-icon-button{width:42px;justify-content:center;padding:0;font-size:18px;font-weight:400}
.account-menu{position:absolute;top:54px;right:0;left:auto;min-width:240px;background:#fff;border:1px solid #d0d8e4;border-radius:18px;padding:12px 0;box-shadow:0 16px 36px rgba(16,40,79,.10);display:none;z-index:50}
.account-dropdown.is-open .account-menu{display:block}
.account-menu a{display:block;padding:11px 24px;color:#232936;text-decoration:none;font-size:15px}
.account-menu a:hover{background:#f6f8fc}
.language-switcher{display:flex;align-items:center}
.language-switcher-menu{position:relative;padding:0;border-radius:14px;background:#fff;border:1px solid #d1d9e6;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.language-switcher-trigger{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 12px;border:0;background:transparent;color:#1f2937;font:inherit;font-weight:700;cursor:pointer;border-radius:14px}
.language-switcher-trigger:hover{background:#f7f9fc}
.language-switcher-trigger:focus-visible{outline:2px solid #0f172a;outline-offset:2px}
.language-switcher-trigger-code,.language-switcher-option-code{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;padding:0 8px;border-radius:999px;background:#f5f7fb;border:1px solid #dde4ee;font-size:12px;letter-spacing:.04em;color:#243246}
.language-switcher-trigger-caret{font-size:11px;color:#64748b}
.language-switcher-dropdown{position:absolute;top:calc(100% + 10px);right:0;min-width:210px;padding:8px;background:#fff;border:1px solid #d1d9e6;border-radius:16px;box-shadow:0 18px 42px rgba(15,23,42,.12);display:none;z-index:60}
.language-switcher-menu.is-open .language-switcher-dropdown{display:block}
.language-switcher-dropdown-title{padding:4px 10px 8px;color:#7a8698;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.language-switcher-dropdown a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;color:#1f2937;text-decoration:none;font-size:14px;font-weight:600}
.language-switcher-dropdown a:hover{background:#f8fafc}
.language-switcher-dropdown a.is-current{background:#eef4ff;color:#0f172a}
.language-switcher-option-label{white-space:nowrap}
.language-switcher-option-check{margin-left:auto;font-size:14px;font-weight:800;color:#225ee9}
.market-search-shell{margin-top:6px;margin-bottom:28px}
.market-search-bar{display:grid;grid-template-columns:1.55fr .9fr 1.05fr auto;gap:12px;align-items:center;background:#dfe5ee;border:1px solid #dce2eb;border-radius:18px;padding:12px}
.market-field{background:#fff;border:1px solid #d8e0ea;border-radius:12px;min-height:44px}
.market-field input,.market-field select{height:42px;padding:0 14px;font-size:14px;color:#5c6472}
.market-search-button{height:44px;padding:0 24px;border-radius:12px;background:#225ee9;font-size:15px}
.home-layout{padding-top:0;padding-bottom:48px;display:grid;grid-template-columns:280px 1fr;gap:18px}
.home-sidebar-card{background:#fff;border:1px solid #d7dfeb;border-radius:22px;padding:22px 18px 20px;min-height:228px}
.home-sidebar-card h2{margin:0 0 14px;font-size:19px;line-height:1.2;color:#19243a}
.home-categories{display:flex;flex-direction:column;gap:12px}
.home-categories a{color:#66758f;text-decoration:none;font-size:16px;line-height:1.6}
.home-content{min-width:0}
.home-hero{height:240px;border-radius:31px;background:#112a5c;padding:28px 30px;color:#fff;margin-bottom:18px}
.home-hero h1{margin:0;font-size:22px;line-height:1.2}
.home-latest h2{margin:0 0 12px;font-size:20px;color:#172033}
.home-latest p{margin:0 0 24px;color:#66758f;font-size:16px}
.home-empty-state{background:#fff;border:1px dashed #d9dfe9;border-radius:24px;min-height:78px;display:flex;align-items:center;justify-content:center;color:#2d3445;font-size:18px}
.home-listings{display:grid;gap:14px}
.home-listing-card{position:relative;display:flex;gap:16px;align-items:center;padding:16px;background:#fff;border:1px solid #d7dfeb;border-radius:20px}
.home-listing-thumb{width:132px;height:98px;border-radius:16px;background:#112a5c;flex:0 0 132px}
.home-listing-body h3{margin:6px 0;font-size:18px}
.home-listing-body h3 a{color:#1c2540;text-decoration:none}
.home-listing-body small{color:#66758f}
.home-listing-price{font-size:18px;font-weight:700;color:#172033}
.site-footer{padding-top:10px;padding-bottom:24px;text-align:center}
.site-footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin-bottom:28px}
.site-footer-links a{color:#1e5ff0;font-size:15px;text-decoration:none}
.site-footer-copy{color:#66758f;font-size:16px;font-weight:700}

@media (max-width:1024px){.site-header-bar{flex-direction:column;align-items:flex-start}.site-nav{width:100%;flex-direction:column;align-items:stretch}.site-nav-main,.site-nav-meta{width:100%}.site-nav-meta{justify-content:flex-start;margin-left:0}.market-search-bar{grid-template-columns:1fr 1fr}.home-layout{grid-template-columns:1fr}.home-sidebar-card{min-height:auto}.home-hero{height:180px}}
@media (max-width:700px){:root{--page-gutter:12px}.site-header-bar{padding:14px 16px;border-radius:20px}.site-nav-main,.site-nav-meta{gap:8px}.site-nav-link{height:40px;padding:0 14px}.market-search-bar{grid-template-columns:1fr}.language-switcher-menu{padding:0}.language-switcher-trigger{height:40px;padding:0 11px}.language-switcher-dropdown{min-width:186px;right:0;left:auto}.site-footer-links{gap:12px}.home-hero{padding:22px 20px}.home-listing-card{align-items:flex-start}.home-listing-thumb{width:112px;flex-basis:112px}}

@media (max-width:700px){.admin-topbar{gap:14px;flex-wrap:wrap;padding:16px 18px}.admin-footer{padding:16px 18px;flex-wrap:wrap;gap:12px}}


.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:12px;pointer-events:none;max-width:min(420px,calc(100vw - 24px))}
.toast{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:16px;color:#fff;box-shadow:0 18px 38px rgba(15,23,42,.18);backdrop-filter:blur(8px);pointer-events:auto;animation:toastSlideIn .22s ease-out;transform-origin:top right}
.toast.is-leaving{animation:toastSlideOut .18s ease-in forwards}
.toast-success{background:linear-gradient(135deg,#16a34a,#22c55e)}
.toast-error{background:linear-gradient(135deg,#dc2626,#ef4444)}
.toast-message{flex:1;font-size:14px;line-height:1.45;font-weight:600}
.toast-close{border:0;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer;padding:0 0 0 4px;opacity:.88}
.toast-close:hover{opacity:1}
@keyframes toastSlideIn{from{opacity:0;transform:translate3d(24px,-6px,0) scale(.98)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes toastSlideOut{from{opacity:1;transform:translate3d(0,0,0) scale(1)}to{opacity:0;transform:translate3d(24px,-6px,0) scale(.98)}}
@media (max-width:700px){.toast-container{top:12px;right:12px;left:12px;max-width:none}.toast{border-radius:14px}}

/* language management */
.language-shell{display:grid;grid-template-columns:minmax(360px,660px) minmax(420px,1fr);gap:18px;align-items:start}
.language-panel{border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,#ffffff,#f8fbff);padding:22px;box-shadow:0 18px 44px rgba(10,25,55,.06)}
.language-panel__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
.language-panel__header h1,.language-panel__header h2{margin:0 0 8px;color:var(--navy)}
.language-panel__header p{margin:0;color:var(--muted);line-height:1.5}
.language-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.language-stat-card{padding:18px;border:1px solid #d9e4f2;border-radius:18px;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.language-stat-card__label{display:block;margin-bottom:10px;color:var(--muted);font-size:.92rem}
.language-stat-card strong{font-size:1.8rem;color:var(--navy);line-height:1.1}
.language-form-card{padding:18px;border:1px solid #d9e4f2;border-radius:20px;background:#fff}
.language-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.language-form-grid label span,.language-editor-form label span{font-weight:700;color:#1f3657}
.language-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.language-toggle-card{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid #d9e4f2;border-radius:18px;background:#f8fbff}
.language-toggle-card input{margin-top:4px}
.language-toggle-card strong{display:block;color:var(--navy)}
.language-toggle-card small{display:block;margin-top:5px;color:var(--muted);line-height:1.45}
.language-toggle-card--info{background:linear-gradient(180deg,#f9fbff,#eef5ff)}
.language-form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.language-table-wrap,.language-text-table-wrap{border:1px solid #d9e4f2;border-radius:20px;background:#fff;overflow:visible}
.language-table th:nth-child(1){width:130px}
.language-table th:nth-child(3){width:150px}
.language-code-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#eef4ff;color:#2457c5;font-weight:800;letter-spacing:.02em}
.language-inline-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.language-inline-order{display:inline-flex;align-items:center;padding:6px 10px;border-radius:10px;background:#f4f7fb;color:#475467;font-size:12px;font-weight:700}
.status-active{background:#e8f8ec;color:#1f7a3d}
.status-muted{background:#eef2f6;color:#667085}
.language-name-cell strong{display:block;font-size:1rem;color:#13294b}
.language-texts-card{display:flex;flex-direction:column;gap:18px}
.language-texts-topbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.language-texts-topbar h1{margin:0 0 8px;color:var(--navy)}
.language-texts-topbar p{margin:0;color:var(--muted)}
.language-progress-card{padding:18px;border:1px solid #d9e4f2;border-radius:24px;background:linear-gradient(180deg,#ffffff,#f8fbff)}
.language-progress-card__head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.language-progress-card__head h2{margin:0 0 6px;color:var(--navy)}
.language-progress-card__head p{margin:0;color:var(--muted)}
.language-progress-card__meta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:flex-end}
.progress-meta{font-weight:700}
.progress-meta.success{color:#1f7a3d}
.progress-meta.danger{color:#c73939}
.language-progress-bar{height:14px;border-radius:999px;background:#dbe8da;overflow:hidden;margin-top:16px}
.language-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1da44a,#23c65d)}
.language-texts-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:18px;align-items:start}
.language-texts-list-panel,.language-editor-panel{padding:16px;border:1px solid #d9e4f2;border-radius:24px;background:#fff}
.language-search-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.language-filter-row{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.filter-chip{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #c9d9ee;border-radius:14px;background:#f8fbff;color:#16335d;font-weight:700}
.filter-chip.is-active{background:#143f72;border-color:#143f72;color:#fff}
.language-results-count{margin:0 0 14px;color:var(--muted)}
.language-text-table th:nth-child(1){width:38%}
.language-text-table th:nth-child(2){width:42%}
.language-text-table tbody tr.is-translated td:first-child{box-shadow:inset 4px 0 0 #1da44a}
.language-text-state{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;margin-top:10px}
.language-text-state.is-ok{background:#e8f8ec;color:#1f7a3d}
.language-text-state.is-pending{background:#fff3df;color:#9a5b00}
.source-copy,.translated-copy{color:#13294b;line-height:1.55}
.language-editor-panel__header h2{margin:0 0 8px;color:var(--navy)}
.language-editor-panel__header p{margin:0 0 18px;color:var(--muted);line-height:1.5}
.language-editor-form{display:flex;flex-direction:column;gap:16px}
.language-editor-form textarea{min-height:160px;resize:vertical}
.language-pagination{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-top:18px}
.language-pagination__pages{display:flex;gap:8px;flex-wrap:wrap}
.page-pill{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:10px 14px;border-radius:12px;background:#143f72;color:#fff;font-weight:700}
.page-pill.is-active{box-shadow:0 10px 24px rgba(20,63,114,.22)}
.language-pagination__goto{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.language-pagination__goto label{display:flex;flex-direction:row;align-items:center;gap:8px;color:var(--muted)}
.language-pagination__goto input{width:88px}
@media (max-width:1200px){.language-shell,.language-texts-grid{grid-template-columns:1fr}.language-stats-grid,.language-toggle-grid{grid-template-columns:1fr}}
@media (max-width:700px){.language-form-grid,.language-search-card{grid-template-columns:1fr}.language-progress-card__head,.language-texts-topbar{flex-direction:column}.language-pagination{align-items:flex-start}}

.maintenance-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px;background:radial-gradient(circle at top,#1d4f95 0%,#10284f 45%,#0b1b36 100%);color:#fff}
.maintenance-shell{width:min(100%,960px)}
.maintenance-card{background:rgba(10,24,48,.72);border:1px solid rgba(255,255,255,.14);box-shadow:0 30px 70px rgba(0,0,0,.25);backdrop-filter:blur(12px);border-radius:28px;padding:40px;display:flex;flex-direction:column;gap:22px}
.maintenance-badge{align-self:flex-start;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.maintenance-card h1{margin:0;font-size:clamp(34px,5vw,56px);line-height:1.02}
.maintenance-copy{margin:0;font-size:18px;line-height:1.7;color:rgba(255,255,255,.82)}
.maintenance-countdown-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px 22px;border-radius:22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.maintenance-countdown-card strong,.maintenance-countdown-card span{display:block}
.maintenance-countdown-card strong{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.64);margin-bottom:8px}
.maintenance-countdown-card span{font-size:20px;font-weight:700}
.maintenance-meta{display:flex;gap:16px;flex-wrap:wrap;color:rgba(255,255,255,.72);font-size:14px}
@media (max-width:700px){.maintenance-card{padding:24px}.maintenance-countdown-card{grid-template-columns:1fr}.maintenance-copy{font-size:16px}}


.create-listing-page{max-width:var(--page-width)}
.listing-create-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 36px rgba(15,31,61,.06);padding:18px}
.listing-category-shell{overflow:hidden}
.listing-category-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:8px 0 16px}
.listing-category-header h2{margin:0;font-size:18px;color:var(--navy)}
.listing-category-selected-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #dbe3ef;border-radius:999px;background:#f8fafc;color:var(--text);font-size:14px}
.listing-category-selected-pill strong{color:var(--navy)}
.listing-create-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 36px rgba(15,31,61,.06);padding:18px}
.listing-form-header{margin-bottom:18px}
.listing-form-header h1{margin:0 0 6px;font-size:30px}
.listing-form-header p{margin:0;color:var(--muted)}
.listing-form-section{border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:16px;background:#fcfdff}
.listing-form-section h2{margin:0 0 6px;font-size:18px}
.listing-form-stack{display:flex;flex-direction:column;gap:14px}
.field-label{display:block;margin-bottom:8px;font-weight:700}
.category-picker{display:flex;flex-direction:column;gap:14px;border:1px solid var(--line);border-radius:16px;padding:14px;background:linear-gradient(180deg,#fbfdff 0%,#f4f8ff 100%)}
.category-picker-native{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.category-picker-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.category-picker-title{margin:0;font-weight:700;color:var(--navy)}
.category-picker-selected{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid #dbe6f4;color:var(--text);font-size:14px}
.category-picker-selected strong{color:var(--navy)}
.category-tile-grid,.subcategory-tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.category-tile,.subcategory-tile{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:14px 16px;border:1px solid #c9d8ec;border-radius:14px;background:#fff;color:var(--text);font-weight:700;text-align:left;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.category-tile:hover,.subcategory-tile:hover{border-color:#6e97d6;box-shadow:0 10px 24px rgba(29,94,255,.08);transform:translateY(-1px)}
.category-tile.is-active,.subcategory-tile.is-active{border-color:#1d5eff;background:#edf3ff;box-shadow:0 14px 28px rgba(29,94,255,.14);color:#123a7a}
.category-tile-label{display:block;line-height:1.35}
.category-tile-check{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:#e8eef8;color:transparent;flex:0 0 24px}
.category-tile.is-active .category-tile-check,.subcategory-tile.is-active .category-tile-check{background:#1d5eff;color:#fff}
.subcategory-panel{display:none;padding:14px;border-radius:16px;background:#fff;border:1px solid #dbe6f4}
.subcategory-panel.is-active{display:block}
.subcategory-panel-title{margin:0 0 12px;font-weight:700;color:var(--navy)}
.toggle-pill-group{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 16px}
.toggle-pill{position:relative}
.toggle-pill input{position:absolute;opacity:0;pointer-events:none}
.toggle-pill span{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:700;color:var(--text)}
.toggle-pill input:checked + span{background:#1d5eff;color:#fff;border-color:#1d5eff}
.listing-price-row{grid-template-columns:1.1fr .9fr .9fr;align-items:end}
.listing-price-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.listing-price-input input{border:none;flex:1;padding:10px 12px}
.listing-price-input span{padding:0 12px;color:var(--muted);white-space:nowrap}
.image-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.upload-box{display:flex;flex-direction:column;gap:10px;border:2px dashed #d7e0ec;border-radius:14px;padding:14px;background:#fff}
.upload-box-title{font-weight:700}
.listing-form-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.listing-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.listing-price-box{display:flex;flex-direction:column;align-items:flex-end;padding:14px 16px;border-radius:16px;background:#f4f8ff;min-width:180px}
.listing-price-box strong{font-size:28px;color:var(--navy)}
.listing-price-box span{color:var(--muted);font-weight:700}
.listing-meta-pills{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 18px}
.listing-card-rich{align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line)}
.listing-card-rich:last-child{border-bottom:none}
.listing-card-meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px;color:var(--muted);font-size:14px}
@media (max-width:700px){.listing-price-row,.image-upload-grid,.category-tile-grid,.subcategory-tile-grid{grid-template-columns:1fr}.category-picker-head{flex-direction:column;align-items:flex-start}.listing-detail-head{flex-direction:column}.listing-price-box{align-items:flex-start;width:100%}}


.category-select-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #cfd9e5;border-radius:16px;background:#f6f8fb;color:var(--text);text-decoration:none;font-weight:700;transition:border-color .18s ease,box-shadow .18s ease}
.category-select-row:hover{border-color:#7ea0dd;box-shadow:0 10px 24px rgba(29,94,255,.08)}
.category-select-value{color:var(--navy)}
.category-select-action{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;background:#edf3ff;color:#1d5eff;white-space:nowrap}
.upload-preview-box input[type=file]{font-size:14px}
.upload-box-note{color:var(--muted);font-size:14px}
.upload-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.upload-preview-grid-single{grid-template-columns:1fr}
.upload-preview-item{position:relative;overflow:hidden;border-radius:14px;border:1px solid #dbe6f4;background:#f6f8fb;aspect-ratio:1/1}
.upload-preview-item img{width:100%;height:100%;object-fit:cover;display:block}
.image-grid .mini-image img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.listing-category-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.listing-category-main,.listing-category-option{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border:1.5px solid #cfd9e5;border-radius:16px;background:#fff;color:var(--navy);text-decoration:none;font-weight:700;cursor:pointer;transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease,background-color .22s ease}
.listing-category-main:hover,.listing-category-option:hover{border-color:#7ea0dd;box-shadow:0 10px 24px rgba(29,94,255,.08);transform:translateY(-1px)}
.listing-category-main.is-active,.listing-category-option.is-active{border-color:#1d5eff;background:#edf3ff;box-shadow:0 14px 28px rgba(29,94,255,.14)}
.listing-category-main-copy{display:inline-flex;align-items:center;gap:12px;min-width:0}
.listing-category-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:#f3f6fb;font-size:18px;flex:0 0 32px}
.listing-category-check{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#e7edf6;color:transparent;flex:0 0 26px;transition:background-color .22s ease,color .22s ease,transform .22s ease}
.listing-category-main.is-active .listing-category-check,.listing-category-option.is-active .listing-category-check{background:#1d5eff;color:#fff;transform:scale(1.02)}
.listing-category-children{display:block;max-height:0;opacity:0;overflow:hidden;transform:translateY(-8px);transition:max-height .32s ease,opacity .24s ease,transform .24s ease,margin-top .24s ease;padding:0 14px;border-radius:18px;border:1px solid transparent;background:#f8fbff;margin-top:0}
.listing-category-children.is-open{max-height:480px;opacity:1;transform:translateY(0);margin-top:16px;padding:14px;border-color:#dbe6f4}
.listing-category-children h3{margin:0 0 12px;font-size:17px;color:var(--navy)}
.listing-category-children-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:700px){.listing-price-row,.image-upload-grid,.listing-category-layout,.listing-category-children-grid,.upload-preview-grid{grid-template-columns:1fr}.category-select-row{align-items:flex-start;flex-direction:column}.category-select-action{width:100%}.listing-category-header{align-items:flex-start;flex-direction:column}.listing-category-main,.listing-category-option{padding:16px}}


.checkbox-line{display:inline-flex;align-items:center;gap:10px;font-weight:600;margin-top:6px}
.checkbox-line input{width:18px;height:18px}
.listing-price-input input.is-disabled{background:#f3f6fb;color:#7b879b;cursor:not-allowed}

.image-remove-btn{position:absolute;top:10px;right:10px;width:32px;height:32px;border:none;border-radius:999px;background:#40485a;color:#fff;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 18px rgba(26,34,51,.18)}
.image-remove-btn:hover{background:#273042}
.manage-image-item{position:relative;overflow:hidden;border-radius:14px;border:1px solid #dbe6f4;background:#f6f8fb;aspect-ratio:1/1}
.image-grid-manage{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.existing-images-head{margin-top:14px;font-weight:700;color:var(--navy)}
.listing-contact-stack{display:grid;gap:12px}
.listing-contact-stack label{display:flex;flex-direction:column;gap:8px}
.home-listing-thumb{overflow:hidden;display:flex;align-items:center;justify-content:center}
.home-listing-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.home-listing-thumb-placeholder{display:block;width:100%;height:100%;background:#112a5c}
.thumb{overflow:hidden;display:flex;align-items:center;justify-content:center}
.thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:16px}
.listing-image-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.listing-photo-card{padding:0;overflow:hidden;aspect-ratio:1/1;background:#f6f8fb}
.listing-photo-card img{width:100%;height:100%;object-fit:cover;display:block}
.no-image-state{display:flex;align-items:center;justify-content:center;min-height:140px;color:var(--muted)}

[hidden]{display:none !important}

/* registration */
.auth-card--register{max-width:var(--page-width);padding:28px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #d7dfeb;box-shadow:0 18px 44px rgba(17,42,92,.06)}
.auth-register__intro{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #e6edf6}
.auth-register__eyebrow{margin:0 0 6px;color:#245fe9;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.auth-register__intro h1{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.05;color:#13294b}
.auth-register-form{display:flex;flex-direction:column;gap:22px}
.auth-register-section{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid #e3eaf4;border-radius:22px;background:#fff}
.auth-register-section__head h2{margin:0;font-size:18px;color:#172033}
.account-type-switch{display:inline-grid;grid-template-columns:repeat(2,minmax(0,190px));gap:12px;max-width:420px}
.account-type-option{position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 20px;border:1px solid #d4deec;border-radius:18px;background:#f8fbff;color:#334155;font-size:16px;font-weight:800;cursor:pointer;transition:all .18s ease}
.account-type-option input{position:absolute;inset:0;opacity:0;cursor:pointer}
.account-type-option.is-active{background:#13294b;border-color:#13294b;color:#fff;box-shadow:0 14px 28px rgba(19,41,75,.18)}
.auth-register-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}
.auth-register-grid label,.auth-register-check{display:flex;flex-direction:column;gap:8px}
.auth-register-grid label span,.auth-register-check span{font-size:14px;font-weight:700;color:#23324a}
.auth-register-grid input,.auth-register-grid select{width:100%;min-height:54px;padding:0 16px;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.auth-register-grid input:focus,.auth-register-grid select:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.auth-register-grid__spacer{display:block}
.auth-register-check{flex-direction:row;align-items:flex-start;gap:12px;padding:4px 2px}
.auth-register-check input{margin-top:3px}
.auth-register-actions{display:flex;justify-content:flex-start;padding-top:4px}
.auth-register-actions .btn-primary{min-width:170px;min-height:52px;border-radius:16px;background:#16a34a;border:1px solid #16a34a;color:#fff;font-size:16px;font-weight:800;box-shadow:0 14px 28px rgba(22,163,74,.18)}
.auth-register-actions .btn-primary:hover{background:#15803d}
@media (max-width:900px){.auth-card--register{padding:22px;border-radius:24px}.auth-register-grid{grid-template-columns:1fr}.auth-register-grid__spacer{display:none}.account-type-switch{grid-template-columns:1fr;max-width:none}}
@media (max-width:700px){.auth-card--register{padding:18px}.auth-register__intro{margin-bottom:18px;padding-bottom:16px}.auth-register-section{padding:16px;border-radius:18px}.auth-register-grid input,.auth-register-grid select{min-height:50px;border-radius:14px}.account-type-option{border-radius:16px}}

/* account page */
.account-page-shell{padding-top:0;padding-bottom:42px}
.account-page-stack{display:flex;flex-direction:column;gap:18px}
.account-page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:26px 28px;border-radius:28px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 18px 40px rgba(16,40,79,.16)}
.account-page-header__eyebrow{margin:0 0 8px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.account-page-header h1{margin:0 0 10px;font-size:clamp(30px,4vw,40px);line-height:1.04;color:#fff}
.account-page-header p{margin:0;max-width:760px;color:rgba(255,255,255,.84);font-size:15px;line-height:1.6}
.account-page-header__meta{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.account-badge{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:14px;font-weight:700;color:#fff}
.account-badge.is-success{background:rgba(34,197,94,.18);border-color:rgba(134,239,172,.35)}
.account-section-card{padding:0;overflow:hidden}
.account-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:24px 24px 18px;border-bottom:1px solid #e6edf6}
.account-section-head h2{margin:0 0 8px;font-size:29px;line-height:1.1;color:#172033}
.account-section-head p{margin:0;color:#66758f;line-height:1.5}
.account-setting-list{padding:6px 20px 12px}
.account-setting-row{display:grid;grid-template-columns:minmax(180px,220px) 1fr auto;gap:18px;align-items:center;padding:18px 4px;border-bottom:1px solid #e8eef6}
.account-setting-row:last-child{border-bottom:none}
.account-setting-row--activity{align-items:start}
.account-setting-label{display:block;font-size:15px;font-weight:800;color:#1d2a3d}
.account-setting-value{font-size:15px;font-weight:600;color:#374151;word-break:break-word}
.account-setting-note{display:flex;flex-direction:column;gap:6px;color:#374151;font-size:15px;font-weight:600}
.account-setting-note small{font-size:13px;font-weight:500;color:#66758f}
.account-inline-action{min-width:104px;height:42px;border-radius:12px;font-weight:700;color:#245fe9;background:#f3f7ff;border-color:#d8e4ff}
.account-inline-action:hover{background:#e9f0ff}
.account-inline-placeholder{display:block;width:104px}
.account-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;padding:24px}
.account-form-grid label,.account-modal__form label{display:flex;flex-direction:column;gap:8px}
.account-form-grid label span,.account-modal__form label span{font-size:14px;font-weight:700;color:#23324a}
.account-form-grid input,.account-form-grid select,.account-modal__form input{width:100%;min-height:54px;padding:0 16px;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.account-form-grid input:focus,.account-form-grid select:focus,.account-modal__form input:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.account-business-fields{grid-column:1 / -1}
.account-form-grid--nested{padding:0}
.account-form-actions{grid-column:1 / -1;display:flex;justify-content:flex-start;padding-top:4px}
.btn-primary--success{min-width:186px;min-height:52px;border-radius:16px;background:#16a34a;border-color:#16a34a;box-shadow:0 14px 28px rgba(22,163,74,.18)}
.btn-primary--success:hover{background:#15803d}
.account-preferences-form{padding:6px 24px 24px}
.account-preference-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 0;border-bottom:1px solid #e8eef6}
.account-preference-row:last-of-type{border-bottom:none}
.account-preference-row strong{display:block;font-size:17px;color:#172033}
.account-preference-row p{margin:6px 0 0;color:#66758f;line-height:1.5}
.account-newsletter-box{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px;border-radius:22px;border:1px solid #dbe3ef;background:linear-gradient(135deg,#f7fbff 0%,#eef5ff 100%);margin-bottom:18px}.account-newsletter-box__eyebrow{margin:0 0 6px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#245fe9}.account-newsletter-box strong{display:block;font-size:18px;color:#172033}.account-newsletter-box p{margin:8px 0 0;color:#66758f;line-height:1.5}
.account-switch{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:78px}
.account-switch input[type="hidden"]{display:none}
.account-switch input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none}
.account-switch span{position:relative;display:block;width:68px;height:38px;border-radius:999px;background:linear-gradient(180deg,#dfe6ef 0%,#cfd8e3 100%);border:1px solid #c5cfdb;box-shadow:inset 0 2px 4px rgba(15,23,42,.08);transition:background-color .18s ease,box-shadow .18s ease,border-color .18s ease}
.account-switch span::before{content:attr(data-off-label);position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#6b7280;transition:opacity .18s ease}
.account-switch span::after{content:"";position:absolute;top:3px;left:3px;width:30px;height:30px;border-radius:50%;background:linear-gradient(180deg,#fff 0%,#f6f8fb 100%);box-shadow:0 6px 14px rgba(15,23,42,.18);transition:transform .18s ease}
.account-switch input[type="checkbox"]:checked + span{background:linear-gradient(180deg,#27b05f 0%,#168647 100%);border-color:#15753f;box-shadow:0 0 0 6px rgba(31,157,76,.12), inset 0 1px 2px rgba(255,255,255,.18)}
.account-switch input[type="checkbox"]:checked + span::before{content:attr(data-on-label);left:auto;right:13px;color:#fff}
.account-switch input[type="checkbox"]:checked + span::after{transform:translateX(30px)}
.account-switch input[type="checkbox"]:focus-visible + span{outline:0;box-shadow:0 0 0 4px rgba(37,99,235,.18)}
.account-switch--card span{box-shadow:0 0 0 6px rgba(31,157,76,.08)}
.account-modal{position:fixed;inset:0;display:grid;place-items:center;padding:20px;z-index:120}
.account-modal[hidden]{display:none}
.account-modal__backdrop{position:absolute;inset:0;background:rgba(17,24,39,.36);backdrop-filter:blur(2px)}
.account-modal__dialog{position:relative;z-index:1;width:min(100%,460px)}
.account-modal__form{display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:22px;background:#fff;border:1px solid #d8e0ea;box-shadow:0 24px 50px rgba(15,23,42,.18)}
.account-modal__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.account-modal__head h3{margin:0;font-size:24px;line-height:1.1;color:#172033}
.account-modal__close{width:36px;height:36px;padding:0;border:none;border-radius:50%;background:#f3f5f8;color:#4b5563;font-size:24px;line-height:1}
.account-modal__close:hover{background:#e8edf4}
body.account-modal-open{overflow:hidden}
@media (max-width:900px){.account-page-header{flex-direction:column;align-items:flex-start}.account-page-header__meta{justify-content:flex-start}.account-setting-row{grid-template-columns:1fr}.account-inline-action,.account-inline-placeholder{width:auto;min-width:0}.account-form-grid{grid-template-columns:1fr}.account-business-fields{grid-column:auto}.account-preference-row,.account-newsletter-box{align-items:flex-start;flex-direction:column}}
@media (max-width:700px){.account-page-header{padding:22px 20px;border-radius:24px}.account-section-head{padding:20px 18px 16px}.account-section-head h2{font-size:24px}.account-setting-list{padding:0 14px 8px}.account-setting-row{padding:16px 4px}.account-form-grid,.account-preferences-form{padding:18px}.account-form-grid input,.account-form-grid select,.account-modal__form input{min-height:50px;border-radius:14px}.account-modal__form{padding:18px;border-radius:18px}}


.account-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:24px;
  max-width:var(--page-width);
  margin:20px auto 32px;
  padding-left:var(--page-gutter);
  padding-right:var(--page-gutter);
  align-items:start;
}
.account-main{
  min-width:0;
}
.account-page-shell{
  max-width:none;
  margin:0;
  padding:0;
}
.account-sidebar{
  position:sticky;
  top:108px;
  padding:18px;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
}
.account-sidebar__header{
  padding:4px 4px 0;
  border-bottom:1px solid #e6edf6;
  margin-bottom:8px;
}
.account-sidebar__eyebrow{
  margin:0 0 8px;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:800;
  color:#6f7f96;
}
.account-sidebar__header h2{
  margin:0;
  padding-bottom:6px;
  font-size:24px;
  line-height:1.15;
  color:#162033;
}
.account-sidebar__nav{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.account-sidebar__link{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:0 14px;
  border-radius:16px;
  color:#223049;
  font-weight:700;
  border:1px solid transparent;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.account-sidebar__link:hover{
  background:#f4f7fc;
  border-color:#e0e8f3;
  transform:translateX(1px);
}
.account-sidebar__link.is-active{
  background:linear-gradient(135deg,#edf3ff 0%,#f5f8ff 100%);
  color:#255fe8;
  border-color:#d9e4ff;
  box-shadow:inset 0 0 0 1px rgba(37,95,232,.04);
}
@media (max-width: 1080px){
  .account-layout{
    grid-template-columns:1fr;
  }
  .account-sidebar{
    position:static;
  }
}

.admin-language-switcher{margin-left:auto;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18)}
.admin-language-form{margin:0}
.admin-language-button{appearance:none;border:0;background:transparent;color:#fff;padding:10px 2px;font:inherit;cursor:pointer;text-decoration:none}
.admin-language-button.is-current{color:#1d2330}


.language-tabs{display:flex;flex-direction:column;gap:16px;margin:18px 0}
.language-tabs-nav{display:flex;flex-wrap:wrap;gap:10px;padding:6px;border:1px solid #d7dde7;border-radius:18px;background:#f3f5f8;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.language-tab-button{appearance:none;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:10px 16px;border:1px solid transparent;border-radius:14px;background:transparent;color:#4b5563;font-weight:700;line-height:1.2;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}
.language-tab-button:hover{background:rgba(255,255,255,.72);border-color:#d7dde7;color:#111827;transform:translateY(-1px)}
.language-tab-button:focus-visible{outline:none;border-color:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.25)}
.language-tab-button.is-active{background:#fff;color:#111827;border-color:#d7dde7;box-shadow:0 1px 2px rgba(15,23,42,.08),0 8px 18px rgba(15,23,42,.06)}
.language-tab-status{display:inline-block;width:10px;height:10px;border-radius:999px;box-shadow:0 0 0 3px rgba(255,255,255,.9)}
.language-tab-status.is-empty{background:#ef4444}
.language-tab-status.is-partial{background:#f59e0b}
.language-tab-status.is-complete{background:#22c55e}
.language-tab-button.is-active .language-tab-status.is-empty{box-shadow:0 0 0 3px rgba(254,242,242,.95)}
.language-tab-button.is-active .language-tab-status.is-partial{box-shadow:0 0 0 3px rgba(255,251,235,.95)}
.language-tab-button.is-active .language-tab-status.is-complete{box-shadow:0 0 0 3px rgba(240,253,244,.95)}
.language-tab-panel{display:none;padding:20px;border:1px solid #d9e2ec;border-radius:18px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.language-tab-panel.is-active{display:block;animation:languageTabPanelIn .2s ease-out}
@keyframes languageTabPanelIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.form-grid-span-2{grid-column:span 2}
@media (max-width:900px){.form-grid-span-2{grid-column:span 1}.language-tabs-nav{gap:8px}.language-tab-button{padding:9px 14px}}

.language-active-toggle{display:flex;align-items:center;gap:10px;font-weight:600}
.language-active-toggle input[type=checkbox]{width:18px;height:18px}


.language-tabs-single{margin-top:18px}
.language-tabs-single .language-tab-panel{display:block;padding:0;border:none;background:transparent}


/* listing detail exact */
.listing-detail-page--exact{padding-top:0}
.listing-detail-exact{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:10px 24px;align-items:start}
.listing-top-grid{display:contents}
.listing-gallery-card-exact,.listing-side-card-exact,.listing-info-card-exact,.listing-description-card-exact{background:#fff;border:1px solid #d5dde8;border-radius:20px}
.listing-gallery-card-exact{padding:16px 18px 12px}
.listing-gallery-main-exact{height:530px;border:1px solid #d7dfe9;border-radius:20px;background:#f1f3f6;padding:18px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.listing-gallery-main-exact img{width:100%;height:100%;object-fit:contain;display:block;border-radius:18px}
.listing-gallery-placeholder-exact{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#f1f3f6;border-radius:18px}
.listing-gallery-placeholder-exact img{max-width:86%;max-height:86%;object-fit:contain;opacity:.9}
.listing-gallery-thumbs-exact{padding-top:14px;display:flex;gap:10px}
.listing-thumb-exact{width:56px;height:56px;border:1px solid #cfd7e4;border-radius:12px;background:#eef2f7;padding:3px;display:flex;align-items:center;justify-content:center}
.listing-thumb-exact.is-active{border:2px solid #1d5eff;padding:2px;box-shadow:0 0 0 1px rgba(29,94,255,.12) inset}
.listing-thumb-exact img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}
.listing-side-card-exact{padding:14px 14px 18px;display:flex;flex-direction:column;gap:14px}
.listing-side-button-exact{height:44px;border:1px solid #bac6d6;border-radius:12px;background:#fff;color:#202534;font-size:14px}
.listing-side-user-exact{display:flex;align-items:center;gap:14px;padding:10px 12px;border:1px solid #d5dde8;border-radius:18px;background:#fff}
.listing-side-avatar-exact{width:48px;height:48px;border-radius:999px;background:#dfe5ee;color:#172033;font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 48px}
.listing-side-user-copy-exact{display:flex;flex-direction:column;line-height:1.1}
.listing-side-user-copy-exact strong{font-size:16px;color:#172033}
.listing-side-user-copy-exact span{font-size:14px;color:#556070;margin-top:2px}
.listing-side-meta-exact{min-height:110px;padding:16px;border:1px solid #d5dde8;border-radius:18px;background:#fff;font-size:14px;color:#2d3648;display:flex;align-items:flex-end}
.listing-side-meta-exact--stats{min-height:0;display:grid;gap:10px;align-items:stretch}
.listing-side-meta-row-exact{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;line-height:1.35;color:#2d3648}
.listing-side-meta-row-exact strong{font-size:16px;color:#16233d;font-weight:800}
.listing-side-safe-exact{padding:13px 16px;border:1px solid #bdd6b9;border-radius:16px;background:#edf5ea;color:#3a7a35;font-size:15px;font-weight:700}
.listing-side-id-exact{padding:13px 16px;border:1px solid #d5dde8;border-radius:14px;background:#f7f9fc;color:#1c2435;font-size:15px;font-weight:700}
.listing-side-report-exact{display:block;text-align:center;color:#255fe8;text-decoration:none;font-size:15px;font-weight:700;padding-top:2px}
.listing-info-card-exact{padding:14px 14px 12px;grid-column:1 / 2}
.listing-info-head-exact{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.premium-badge-row--listing-detail{gap:10px;margin:0 0 12px}
.promo-badge--listing-detail{padding:7px 12px;border-radius:999px;font-size:13px;font-weight:800;box-shadow:0 1px 0 rgba(255,255,255,.7) inset;white-space:nowrap}
.listing-info-copy-exact h1{margin:0 0 8px;font-size:31px;line-height:1.05;color:#16233d;font-weight:800}
.listing-info-price-exact{font-size:28px;line-height:1.1;font-weight:800;color:#16233d;margin-bottom:6px}
.listing-info-location-exact{font-size:15px;color:#66758f}
.listing-info-id-exact{flex:0 0 auto;padding:10px 18px;border:1px solid #cfd7e4;border-radius:16px;background:#f7f9fc;color:#1c2435;font-size:16px;font-weight:700;white-space:nowrap}
.listing-info-meta-exact{display:grid;grid-template-columns:1fr 1fr;gap:12px 40px;margin-top:10px;padding-top:4px}
.listing-info-meta-col-exact{display:grid;gap:10px;color:#182132;font-size:16px}
.listing-info-meta-col-exact strong{font-weight:800}
.listing-description-card-exact{padding:12px 14px 14px;grid-column:1 / 2;min-width:0;max-width:100%}
.listing-description-card-exact h2{margin:0 0 16px;font-size:20px;line-height:1.15;color:#16233d;font-weight:800}
.listing-description-card-exact p{margin:0;font-size:15px;line-height:1.6;color:#1d2433;max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal}
.listing-info-card-exact,.listing-info-copy-exact,.listing-info-meta-col-exact{min-width:0}
@media (max-width: 1100px){.listing-detail-exact{grid-template-columns:1fr}.listing-top-grid{display:block}.listing-side-card-exact{max-width:none}.listing-gallery-main-exact{height:420px}}
@media (max-width: 700px){.listing-gallery-card-exact{padding:12px}.listing-gallery-main-exact{height:280px;padding:12px}.listing-info-head-exact{flex-direction:column}.listing-info-meta-exact{grid-template-columns:1fr}.listing-info-copy-exact h1{font-size:26px}.listing-info-price-exact{font-size:24px}}

.ads-dashboard-card,.ads-list-card{overflow:visible}
.ads-page-head{margin-bottom:20px}
.ads-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ads-overview-card{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(10,25,55,.04);color:var(--text);text-decoration:none}
.ads-overview-card strong{font-size:34px;line-height:1;color:var(--navy)}
.ads-overview-card span:last-child{color:var(--muted);line-height:1.5}
.ads-subnav{margin-bottom:20px}
.ads-table th.action-col,.ads-table td.action-col{text-align:right}
.ads-empty-state{text-align:center;color:var(--muted);padding:28px 16px}
.ads-status-pill--active{background:#e8f7ee;color:#1d7a46}
.ads-status-pill--paused{background:#fff5dd;color:#9b6a00}
.ads-status-pill--ended{background:#f1f2f6;color:#596273}
@media (max-width:1000px){.ads-overview-grid{grid-template-columns:1fr}}

.account-sidebar__subnav-title{margin-top:14px;padding-top:14px;border-top:1px solid #d9e2ec;color:#6b778c;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.account-sidebar__subnav-title:first-of-type{margin-top:0;padding-top:0;border-top:none}
.account-sidebar__subnav{display:grid;gap:4px;margin-top:10px}
.account-sidebar__sublink{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:16px;color:#223049;text-decoration:none;font-weight:700;border:1px solid transparent;background:transparent;transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.account-sidebar__sublink:hover{background:#f4f7fc;border-color:#e0e8f3;transform:translateX(1px)}
.account-sidebar__sublink.is-active{background:linear-gradient(135deg,#edf3ff 0%,#f5f8ff 100%);color:#255fe8;border-color:#d9e4ff;box-shadow:inset 0 0 0 1px rgba(37,95,232,.04)}
.empty-state-panel{padding:64px 28px;border:1px dashed #d8e1ee;border-radius:22px;background:#fff;text-align:center}
.empty-state-panel--embedded{border:none;background:transparent;padding:48px 20px}
.empty-state-panel h2{margin:0 0 18px;font-size:28px;line-height:1.15;color:#16233d}
.empty-state-panel p{margin:0 0 22px;color:#6a7890;font-size:15px}
.account-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.watchlist-card{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;padding:16px}
.watchlist-card__media{height:140px;border-radius:18px;background:#eef2f7;overflow:hidden;display:flex;align-items:center;justify-content:center}
.watchlist-card__media img{width:100%;height:100%;object-fit:cover}
.watchlist-card__placeholder{color:#72809a;font-weight:700}
.watchlist-card__content h3{margin:0 0 8px;font-size:20px;line-height:1.2}
.watchlist-card__content h3 a{color:#16233d;text-decoration:none}
.watchlist-card__content p{margin:0 0 14px;color:#6a7890}
.watchlist-card__meta{display:flex;align-items:center;justify-content:space-between;gap:16px}
.users-panel{padding:0;overflow:hidden}
.users-panel__tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #dbe3ee}
.users-panel__tab{height:56px;border:none;background:#fff;color:#6f7f5a;font-size:15px;font-weight:500}
.users-panel__tab.is-active{box-shadow:inset 0 -2px 0 #728d2a;color:#728d2a}
.account-list-stack{display:grid;gap:16px}
.saved-search-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px}
.saved-search-card h3{margin:0 0 6px;font-size:18px;color:#16233d}
.saved-search-card p{margin:0;color:#6a7890}
.danger-zone-card{border:1px solid #f0c8c8}
.btn-danger{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:none;border-radius:14px;background:#d83a3a;color:#fff;font-weight:800;cursor:pointer}
.listing-side-button-exact{display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700}
.listing-side-button-exact--primary{background:#1fa246;border-color:#1fa246;color:#fff}
.listing-side-button-exact--secondary{background:#eef3fb;border-color:#eef3fb;color:#255fe8}
.listing-side-button-exact--call{gap:10px;background:#edf3ff;border-color:#edf3ff;color:#255fe8}
.listing-side-button-exact--call:hover{background:#e5efff;border-color:#e5efff;color:#1e57de}
.listing-side-button-exact--call.is-revealed{justify-content:flex-start;padding:0 16px;color:#2f7d2d;background:#fff;border-color:#d5dde8}
.listing-side-button-exact__icon{font-size:15px;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.listing-side-button-exact__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:900px){.account-card-grid{grid-template-columns:1fr}.watchlist-card{grid-template-columns:1fr}.watchlist-card__media{height:220px}.saved-search-card{flex-direction:column;align-items:flex-start}}
.listing-contact-card-exact{padding:12px 14px 14px;grid-column:1 / 2;background:#fff;border:1px solid #d5dde8;border-radius:20px}
.listing-contact-card-exact h2{margin:0 0 16px;font-size:20px;line-height:1.15;color:#16233d;font-weight:800}
.listing-contact-form-exact{display:grid;gap:10px}
.listing-contact-form-exact textarea,.listing-contact-form-exact input[type=text]{width:100%;border:1px solid #cfd7e4;border-radius:10px;background:#fff;padding:12px 14px;font:inherit;color:#1d2433}
.listing-contact-form-exact textarea{min-height:140px;resize:vertical}
.listing-contact-form-exact textarea::placeholder,.listing-contact-form-exact input::placeholder{color:#7b8798}
.listing-contact-actions-exact{display:flex;justify-content:flex-start}
.listing-contact-empty{padding:0;text-align:left;display:grid;justify-items:start;gap:14px}
.listing-contact-empty p{margin:0;color:#6a7890;font-size:15px;line-height:1.55}
.listing-contact-empty .listing-side-button-exact{min-width:186px}
.users-panel__tab{display:flex;align-items:center;justify-content:center;text-decoration:none}
.users-list-stack{padding:18px}
.user-follow-card{display:flex;align-items:center;gap:14px;padding:16px 18px}
.user-follow-card__avatar{width:54px;height:54px;border-radius:999px;background:#dfe5ee;color:#172033;font-size:20px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:0 0 54px}
.user-follow-card__content{display:flex;flex-direction:column;gap:4px;min-width:0}
.user-follow-card__content strong{font-size:18px;color:#16233d}
.user-follow-card__content span{font-size:14px;color:#6a7890}
.user-follow-card__meta{margin-left:auto;color:#6a7890;font-size:14px}
@media (max-width:700px){.user-follow-card{align-items:flex-start;flex-wrap:wrap}.user-follow-card__meta{margin-left:68px}}

body.modal-open{overflow:hidden}
.listing-share-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;background:rgba(20,31,50,.38);opacity:0;pointer-events:none;transition:opacity .22s ease}
.listing-share-modal.is-open{opacity:1;pointer-events:auto}
.listing-share-modal__backdrop{position:absolute;inset:0}
.listing-share-modal__dialog{position:relative;z-index:1;width:calc(100% - 32px);max-width:420px;margin:0;background:#fff;border-radius:18px;box-shadow:0 18px 50px rgba(10,25,55,.18);overflow:hidden;border:1px solid #dbe3ee;transform:translateY(28px) scale(.96);opacity:0;transition:transform .24s ease,opacity .24s ease}
.listing-share-modal.is-open .listing-share-modal__dialog{transform:translateY(0) scale(1);opacity:1}
.listing-share-modal__header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #dbe3ee}
.listing-share-modal__header h2{margin:0;font-size:18px;line-height:1.2;color:#16233d;font-weight:800}
.listing-share-modal__close{border:none;background:transparent;color:#6b778c;font-size:28px;line-height:1;cursor:pointer;padding:0}
.listing-share-modal__list{display:grid}
.listing-share-modal__item{display:flex;align-items:center;gap:14px;min-height:56px;padding:18px 22px;border-bottom:1px solid #dbe3ee;color:#16233d;text-decoration:none;font-size:16px;transition:background .18s ease}
.listing-share-modal__item:hover{background:#f6f8fb}
.listing-share-modal__item:last-child{border-bottom:none}
.listing-share-modal__icon{width:18px;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#16233d;flex:0 0 18px}
@media (max-width:700px){.listing-share-modal{align-items:flex-end}.listing-share-modal__dialog{width:100%;max-width:100%;border-radius:20px 20px 0 0;transform:translateY(100%)}.listing-share-modal.is-open .listing-share-modal__dialog{transform:translateY(0)}.listing-share-modal__header{padding:22px 20px 18px}.listing-share-modal__item{padding:18px 20px}}
.account-sidebar__header {border-bottom: none;}.account-sidebar__header h2 {margin-bottom: 0;padding-bottom: 2px;}



.contact-page{display:flex;flex-direction:column;gap:20px}
.contact-page-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:18px;align-items:stretch;padding:28px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f7fbff);border:1px solid #d8e2ef;box-shadow:0 18px 40px rgba(16,39,79,.06)}
.contact-page-hero__eyebrow{margin:0 0 8px;color:#1e5ff0;font-weight:800;letter-spacing:.04em;text-transform:uppercase;font-size:13px}
.contact-page-hero__copy h1{margin:0 0 12px;font-size:clamp(30px,4vw,42px);line-height:1.04;color:#16233d}
.contact-page-hero__copy p:last-child{margin:0;color:#617089;font-size:16px;line-height:1.65}
.contact-page-hero__badge{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:22px;border-radius:24px;background:linear-gradient(135deg,#1e5ff0,#5f8fff);color:#fff;box-shadow:0 18px 34px rgba(30,95,240,.22)}
.contact-page-hero__badge strong{font-size:22px;line-height:1.2}
.contact-page-hero__badge span{color:rgba(255,255,255,.88);line-height:1.5}
.contact-page-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:20px;align-items:start}
.contact-page-card,.contact-page-side__card{padding:24px;border-radius:24px}
.contact-page-card h2,.contact-page-side__card h2{margin:0 0 10px;color:#16233d;font-size:24px}
.contact-page-form{display:flex;flex-direction:column;gap:16px;margin-top:18px}
.contact-page-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.contact-page-form label{display:flex;flex-direction:column;gap:8px;color:#334155;font-weight:700}
.contact-page-form input,.contact-page-form textarea{width:100%;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font:inherit;padding:14px 16px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.contact-page-form input:focus,.contact-page-form textarea:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.contact-page-form textarea{min-height:220px;resize:vertical}
.contact-page-form__actions{display:flex;justify-content:flex-start;padding-top:6px}
.contact-page-list{margin:14px 0 0;padding-left:20px;color:#617089;line-height:1.7}
.contact-page-list li + li{margin-top:8px}
@media (max-width:1024px){.contact-page-hero,.contact-page-grid{grid-template-columns:1fr}.contact-page-hero__badge{min-height:unset}}
@media (max-width:700px){.contact-page-hero,.contact-page-card,.contact-page-side__card{padding:20px;border-radius:22px}.contact-page-form__grid{grid-template-columns:1fr}.contact-page-form input,.contact-page-form textarea{border-radius:14px;padding:13px 14px}}

/* login */
.auth-login-page{padding-top:4px;padding-bottom:34px}
.auth-login-shell{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);gap:22px;align-items:stretch}
.auth-login-panel{min-height:100%}
.auth-login-panel--intro{display:flex;flex-direction:column;justify-content:space-between;padding:32px;border-radius:28px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 22px 46px rgba(16,40,79,.18)}
.auth-login-eyebrow{margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.auth-login-panel--intro h1{margin:0 0 14px;font-size:clamp(34px,4vw,50px);line-height:1.02;color:#fff}
.auth-login-lead{margin:0;max-width:520px;font-size:17px;line-height:1.65;color:rgba(255,255,255,.86)}
.auth-login-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px}
.auth-login-highlight-card{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:22px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(4px)}
.auth-login-highlight-card strong{font-size:16px;color:#fff}
.auth-login-highlight-card span{font-size:14px;line-height:1.55;color:rgba(255,255,255,.8)}
.auth-login-panel--form{max-width:none;padding:28px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #d7dfeb;box-shadow:0 18px 44px rgba(17,42,92,.06)}
.auth-login-form-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid #e6edf6}
.auth-login-form-kicker{margin:0 0 6px;color:#245fe9;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.auth-login-form-head h2{margin:0;font-size:28px;line-height:1.15;color:#172033;max-width:430px}
.auth-login-register-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid #d8e4ff;border-radius:14px;background:#f3f7ff;color:#245fe9;font-weight:700;text-align:center}
.auth-login-register-link:hover{background:#e9f0ff}
.auth-login-form{display:flex;flex-direction:column;gap:16px}
.auth-login-form label{display:flex;flex-direction:column;gap:8px}
.auth-login-form label span{font-size:14px;font-weight:700;color:#23324a}
.auth-login-form input{width:100%;min-height:56px;padding:0 16px;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.auth-login-form input:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.auth-login-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:6px;flex-wrap:wrap}
.auth-login-submit{min-width:170px;min-height:54px;border-radius:16px;font-size:16px;font-weight:800;box-shadow:0 14px 28px rgba(47,111,255,.18)}
.auth-login-helper-link{font-size:14px;font-weight:700;color:#245fe9}
@media (max-width:980px){.auth-login-shell{grid-template-columns:1fr}.auth-login-panel--intro,.auth-login-panel--form{padding:24px}.auth-login-form-head h2{max-width:none}.auth-login-highlights{grid-template-columns:1fr 1fr}}
@media (max-width:700px){.auth-login-page{padding-bottom:22px}.auth-login-panel--intro,.auth-login-panel--form{padding:20px;border-radius:24px}.auth-login-panel--intro h1{font-size:clamp(30px,9vw,40px)}.auth-login-lead{font-size:15px}.auth-login-highlights{grid-template-columns:1fr;margin-top:22px}.auth-login-form-head{flex-direction:column;align-items:stretch}.auth-login-form-head h2{font-size:24px}.auth-login-register-link,.auth-login-submit,.auth-login-form input{min-height:50px;border-radius:14px}.auth-login-actions{align-items:stretch}.auth-login-submit{width:100%}}


/* forgot password */
.auth-recovery-page{padding-top:4px;padding-bottom:34px}
.auth-recovery-shell{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);gap:22px;align-items:stretch}
.auth-recovery-panel{min-height:100%}
.auth-recovery-panel--intro{display:flex;flex-direction:column;justify-content:space-between;padding:32px;border-radius:28px;background:linear-gradient(135deg,#10284f 0%,#204a8a 100%);color:#fff;box-shadow:0 22px 46px rgba(16,40,79,.18)}
.auth-recovery-eyebrow{margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.auth-recovery-panel--intro h1{margin:0 0 14px;font-size:clamp(34px,4vw,50px);line-height:1.02;color:#fff}
.auth-recovery-lead{margin:0;max-width:520px;font-size:17px;line-height:1.65;color:rgba(255,255,255,.86)}
.auth-recovery-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px}
.auth-recovery-highlight-card{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:22px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(4px)}
.auth-recovery-highlight-card strong{font-size:16px;color:#fff}
.auth-recovery-highlight-card span{font-size:14px;line-height:1.55;color:rgba(255,255,255,.8)}
.auth-recovery-panel--form{max-width:none;padding:28px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #d7dfeb;box-shadow:0 18px 44px rgba(17,42,92,.06)}
.auth-recovery-form-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid #e6edf6}
.auth-recovery-form-kicker{margin:0 0 6px;color:#245fe9;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.auth-recovery-form-head h2{margin:0;font-size:28px;line-height:1.15;color:#172033;max-width:430px}
.auth-recovery-login-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid #d8e4ff;border-radius:14px;background:#f3f7ff;color:#245fe9;font-weight:700;text-align:center}
.auth-recovery-login-link:hover{background:#e9f0ff}
.auth-recovery-form{display:flex;flex-direction:column;gap:16px}
.auth-recovery-form label{display:flex;flex-direction:column;gap:8px}
.auth-recovery-form label span{font-size:14px;font-weight:700;color:#23324a}
.auth-recovery-form input{width:100%;min-height:56px;padding:0 16px;border:1px solid #d4deec;border-radius:16px;background:#f8fbff;color:#1f2937;font-size:15px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.auth-recovery-form input:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.auth-recovery-actions{display:flex;justify-content:flex-start;align-items:center;gap:16px;padding-top:6px;flex-wrap:wrap}
.auth-recovery-submit{min-width:170px;min-height:54px;border-radius:16px;font-size:16px;font-weight:800;box-shadow:0 14px 28px rgba(47,111,255,.18)}
.auth-recovery-note{margin:18px 0 0;color:#66758f;font-size:14px;line-height:1.6}
@media (max-width:980px){.auth-recovery-shell{grid-template-columns:1fr}.auth-recovery-panel--intro,.auth-recovery-panel--form{padding:24px}.auth-recovery-form-head h2{max-width:none}.auth-recovery-highlights{grid-template-columns:1fr 1fr}}
@media (max-width:700px){.auth-recovery-page{padding-bottom:22px}.auth-recovery-panel--intro,.auth-recovery-panel--form{padding:20px;border-radius:24px}.auth-recovery-panel--intro h1{font-size:clamp(30px,9vw,40px)}.auth-recovery-lead{font-size:15px}.auth-recovery-highlights{grid-template-columns:1fr;margin-top:22px}.auth-recovery-form-head{flex-direction:column;align-items:stretch}.auth-recovery-form-head h2{font-size:24px}.auth-recovery-login-link,.auth-recovery-submit,.auth-recovery-form input{min-height:50px;border-radius:14px}.auth-recovery-actions{align-items:stretch}.auth-recovery-submit{width:100%}}

.auth-login-helper-links{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.admin-user-status-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start}
.status-pill.status-danger{background:#fff1f1;color:#b83333;border:1px solid #f0caca}
.status-pill.status-pending{background:#fff8ea;color:#9a6a00;border:1px solid #efdba8}
@media (max-width:700px){.auth-login-helper-links{align-items:flex-start}}

/* premium commerce */
.site-icon-button--cart{position:relative;display:inline-flex;align-items:center;justify-content:center}
.site-icon-badge,.badge-inline{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ff5f5f;color:#fff;font-size:11px;font-weight:800;line-height:1;box-shadow:0 6px 14px rgba(255,95,95,.26)}
.site-icon-button--cart .site-icon-badge{position:absolute;top:-8px;right:-8px}
.badge-inline{position:static}
.premium-badge-row{display:flex;flex-wrap:wrap;gap:8px}
.premium-badge-row--compact{gap:6px;margin-bottom:8px}
.promo-badge{--promo-accent:#13294b;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:color-mix(in srgb,var(--promo-accent) 12%,#fff);border:1px solid color-mix(in srgb,var(--promo-accent) 20%,#d5dfec);color:var(--promo-accent);font-size:12px;font-weight:800;letter-spacing:.02em}
.promo-badge small{font-size:11px;font-weight:700;opacity:.82}
.promo-badge--inline{padding:6px 10px;font-size:11px}
.premium-shell{align-items:start}
.premium-main{display:flex;flex-direction:column;gap:20px}
.premium-page-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:28px;border-radius:26px;background:linear-gradient(135deg,color-mix(in srgb,var(--promo-accent,#13294b) 92%,#0f172a) 0%,#244a87 100%);color:#fff;box-shadow:0 22px 48px rgba(17,42,92,.18)}
.premium-page-hero h1{margin:8px 0 8px;color:#fff;font-size:clamp(30px,4vw,42px);line-height:1.05}
.premium-page-hero p{margin:0;color:rgba(255,255,255,.84);max-width:760px}
.premium-page-hero--compact{align-items:center}
.premium-page-hero__actions{display:flex;flex-wrap:wrap;gap:10px}
.premium-page-hero .btn-secondary{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.22)}
.premium-page-hero .btn-secondary:hover{background:rgba(255,255,255,.22)}
.premium-empty-state{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:28px;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff);border:1px dashed #cbd7e6}
.premium-empty-state h2{margin:0}
.premium-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;align-items:stretch}
.premium-service-card{position:relative;overflow:hidden;padding:24px 24px 22px;border-radius:28px;border:1px solid color-mix(in srgb,var(--promo-accent,#13294b) 18%,#d9e3ef);background:linear-gradient(180deg,#fff 0%,#fbfdff 58%,#f5f8ff 100%);box-shadow:0 20px 45px rgba(17,42,92,.08),0 2px 0 rgba(255,255,255,.72) inset;display:flex;flex-direction:column;gap:18px;isolation:isolate;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.premium-service-card::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 32%,#fff));opacity:.98}
.premium-service-card::after{content:"";position:absolute;top:-80px;right:-70px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--promo-accent,#13294b) 16%,transparent) 0%,rgba(255,255,255,0) 72%);z-index:-1;pointer-events:none}
.premium-service-card:hover{transform:translateY(-4px);box-shadow:0 28px 58px rgba(17,42,92,.12),0 2px 0 rgba(255,255,255,.8) inset;border-color:color-mix(in srgb,var(--promo-accent,#13294b) 28%,#c7d3e4)}
.premium-service-card.is-active{border-color:color-mix(in srgb,var(--promo-accent,#13294b) 36%,#c7d3e4);box-shadow:0 26px 52px rgba(17,42,92,.12),0 0 0 1px color-mix(in srgb,var(--promo-accent,#13294b) 9%,#fff) inset}
.premium-service-card__head{display:flex;gap:16px;align-items:flex-start}
.premium-service-card__head .eyebrow{margin-bottom:5px;letter-spacing:.11em;font-size:11px;color:#66758f}
.premium-service-card__head h2{margin:0;font-size:clamp(20px,2.1vw,32px);line-height:1.02;letter-spacing:-.03em;color:#13294b;text-wrap:balance}
.premium-service-card__icon{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:19px;background:linear-gradient(180deg,color-mix(in srgb,var(--promo-accent,#13294b) 12%,#fff),color-mix(in srgb,var(--promo-accent,#13294b) 18%,#fff));color:var(--promo-accent,#13294b);font-size:24px;font-weight:800;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--promo-accent,#13294b) 18%,#d4deea),0 10px 22px color-mix(in srgb,var(--promo-accent,#13294b) 10%,transparent)}
.premium-service-card__copy{margin:0;color:#52627b;line-height:1.72;min-height:112px;font-size:15px}
.premium-service-card__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.premium-service-card__meta-item{display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-height:96px;padding:14px 14px 12px;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);border:1px solid #e4ebf5;box-shadow:0 10px 20px rgba(17,42,92,.04)}
.premium-service-card__meta-item strong{display:block;font-size:clamp(20px,2vw,28px);line-height:1;letter-spacing:-.04em;color:#13294b;word-break:break-word}
.premium-service-card__meta-item span{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#6f7d92;line-height:1.25}
.premium-service-card__meta-item--fee strong{color:#0f2f67}
.premium-service-card__meta-item--days strong{color:#13294b}
.premium-service-card__meta-item--repeat strong{font-size:24px}
.premium-service-card__meta-item--repeat span{max-width:8ch}
.premium-service-card__meta-item--repeat.is-yes{background:linear-gradient(180deg,#f4fbf6 0%,#edf9f1 100%);border-color:#cfead8}
.premium-service-card__meta-item--repeat.is-yes strong{color:#118046}
.premium-service-card__meta-item--repeat.is-no{background:linear-gradient(180deg,#fbfcff 0%,#f6f8fc 100%)}
.premium-service-state{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:18px;font-weight:700;font-size:14px;box-shadow:0 8px 18px rgba(17,42,92,.04)}
.premium-service-state::before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor;opacity:.85;flex:0 0 9px}
.premium-service-state--active{background:linear-gradient(180deg,#eef9f1 0%,#e6f6eb 100%);color:#0c7a39;border:1px solid #cdecd8}
.premium-service-state--cart{background:linear-gradient(180deg,#eef4ff 0%,#e7f0ff 100%);color:#245fe9;border:1px solid #d3e0ff}
.premium-service-card__form{margin-top:auto}
.premium-service-card__button{position:relative;width:100%;min-height:56px;border-radius:18px;font-size:15px;font-weight:800;letter-spacing:-.01em;box-shadow:0 18px 26px rgba(47,111,255,.18),0 1px 0 rgba(255,255,255,.35) inset;background:linear-gradient(135deg,#2d67ff 0%,#5f8dff 100%);border:none}
.premium-service-card__button:hover{transform:translateY(-1px);box-shadow:0 22px 30px rgba(47,111,255,.22),0 1px 0 rgba(255,255,255,.4) inset}
.premium-service-card__button:active{transform:translateY(0)}
.premium-active-summary{display:flex;flex-direction:column;gap:16px}
.premium-cart-card{display:flex;flex-direction:column;gap:18px}
.premium-cart-table .promo-badge{vertical-align:middle}
.premium-cart-summary{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding-top:6px}
.premium-cart-summary__total{display:flex;align-items:flex-end;gap:12px;font-size:16px;color:#546277}
.premium-cart-summary__total strong{font-size:34px;color:#13294b;line-height:1}
.premium-cart-summary__actions{display:flex;flex-wrap:wrap;gap:10px}
.premium-checkout-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:20px;align-items:start}
.premium-checkout-sidebar{display:flex;flex-direction:column;gap:20px}
.premium-checkout-card{padding:24px;border-radius:24px}
.premium-checkout-card--sticky{position:sticky;top:18px;display:flex;flex-direction:column;gap:18px}
.premium-form-grid label{display:flex;flex-direction:column;gap:8px}
.premium-form-grid label span{font-size:14px;font-weight:700;color:#23324a}
.premium-form-grid input,.premium-form-grid select{width:100%;min-height:54px;padding:0 16px;border:1px solid #d6e0ed;border-radius:16px;background:#fbfdff;color:#1f2937;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.premium-form-grid input:focus,.premium-form-grid select:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.premium-payment-list{display:flex;flex-direction:column;gap:10px}
.premium-payment-option{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:flex-start;gap:14px;padding:16px;border-radius:18px;border:1px solid #d9e3f0;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.premium-payment-option input{margin-top:3px}
.premium-payment-option strong{display:block;color:#13294b}
.premium-payment-option small{display:block;margin-top:5px;color:#66758f;line-height:1.5}
.premium-payment-option.is-selected{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.08)}
.premium-order-review{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:18px;background:#f6f9fe;border:1px solid #dde7f4}
.premium-order-review h3{margin:0 0 2px}
.premium-order-review__row,.premium-order-review__total{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.premium-order-review__row small{display:block;margin-top:4px;color:#66758f}
.premium-order-review__total{padding-top:12px;border-top:1px solid #d7e2ef;font-size:16px}
.premium-order-review__total strong{font-size:30px;color:#13294b}
.premium-order-review__actions{display:flex;flex-wrap:wrap;gap:10px}
.premium-order-list{display:flex;flex-direction:column;gap:16px}
.premium-order-card{padding:24px;border-radius:24px;border:1px solid #d9e3ef;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 16px 36px rgba(17,42,92,.05)}
.premium-order-card__head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid #e4ebf5}
.premium-order-card__head h2{margin:6px 0 0}
.premium-order-card__head p{margin:6px 0 0;color:#66758f}
.premium-order-card__meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.premium-order-card__grid{display:grid;grid-template-columns:1fr minmax(260px,.8fr);gap:20px;padding-top:18px}
.premium-order-items{display:flex;flex-direction:column;gap:10px}
.premium-order-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e4ebf5;border-radius:18px;background:#fff}
.premium-order-item strong{color:#13294b}
.premium-order-item small{display:block;margin-top:4px;color:#66758f}
.premium-invoice-box{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:18px;background:#f6f9fe;border:1px solid #dde7f4}
.premium-invoice-box__actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:6px}
.premium-status-pill{border-radius:999px;padding:10px 14px;font-weight:800}
.premium-status-pill--pending_payment,.premium-status-pill--open,.premium-status-pill--pending{background:#fff8ea;color:#8a6100;border:1px solid #efd9a7}
.premium-status-pill--paid{background:#eef9f1;color:#0c7a39;border:1px solid #cdecd8}
.premium-status-pill--cancelled,.premium-status-pill--failed{background:#fff1f1;color:#b83333;border:1px solid #f0caca}
.home-layout--premium .home-content{display:flex;flex-direction:column;gap:20px}
.home-hero--premium{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:28px;border-radius:28px;background:linear-gradient(135deg,#0f284d 0%,#245ca0 100%);color:#fff;box-shadow:0 22px 48px rgba(16,40,79,.18)}
.home-hero--premium h1{margin:8px 0 10px;color:#fff;font-size:clamp(32px,4vw,46px)}
.home-hero--premium p{margin:0;color:rgba(255,255,255,.84);max-width:760px}
.home-gallery{display:flex;flex-direction:column;gap:18px;padding:26px;border-radius:28px;background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)}
.home-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gallery-card{position:relative;display:flex;flex-direction:column;border:1px solid #d9e3ef;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 18px 34px rgba(17,42,92,.08)}
.gallery-card::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 24%,#fff))}
.gallery-card__media{display:block;aspect-ratio:1.18;overflow:hidden;background:#edf3fb}
.gallery-card__media img{width:100%;height:100%;object-fit:cover}
.gallery-card__body{display:flex;flex-direction:column;gap:10px;padding:16px}
.gallery-card__body h3{margin:0;font-size:20px;line-height:1.2}
.gallery-card__body p{margin:0;color:#66758f}
.home-listings--premium{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.home-listing-card.is-highlight,.listing-card-rich.is-highlight{background:linear-gradient(180deg,color-mix(in srgb,var(--promo-accent,#13294b) 10%,#fff) 0%,#fff 100%);border-color:color-mix(in srgb,var(--promo-accent,#13294b) 18%,#d5dfec)}
.home-listing-card.is-premium,.listing-card-rich.is-premium{box-shadow:0 22px 42px rgba(17,42,92,.10)}
.home-listing-card.is-top,.listing-card-rich.is-top{transform:translateY(-2px)}
.listing-card-ribbon{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(15,23,42,.92);color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;box-shadow:0 10px 22px rgba(15,23,42,.22);z-index:2}
.category-page--premium .card{border-radius:24px}
.category-page-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 26px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.category-premium-grid{display:grid;grid-template-columns:1fr;gap:14px}
.listing-card-rich{position:relative;overflow:hidden;border:1px solid #d9e3ef;border-radius:24px;background:#fff;box-shadow:0 14px 30px rgba(17,42,92,.05)}
.listing-card-rich .thumb{position:relative;overflow:hidden}
.listing-card-rich .thumb img{width:100%;height:100%;object-fit:cover}
.listing-card-rich::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 20%,#fff));opacity:0}
.listing-card-rich.is-highlight::before,.listing-card-rich.is-premium::before,.home-listing-card.is-highlight::before,.home-listing-card.is-premium::before{opacity:1}
.listing-detail-page--exact .listing-side-card-exact{position:relative;overflow:hidden}
.listing-detail-page--exact .listing-side-card-exact::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:linear-gradient(90deg,var(--promo-accent,#13294b),color-mix(in srgb,var(--promo-accent,#13294b) 20%,#fff))}
.premium-admin-customer-box,.listing-contact-empty{display:flex;flex-direction:column;gap:6px}
@media (max-width:1180px){.premium-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-service-card__copy{min-height:auto}}
@media (max-width:1100px){.premium-checkout-grid,.premium-order-card__grid{grid-template-columns:1fr}.premium-checkout-card--sticky{position:static}.premium-page-hero,.home-hero--premium{flex-direction:column;align-items:flex-start}.premium-service-card__meta{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1100px){.home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:780px){.premium-page-hero,.home-hero--premium{padding:22px;border-radius:24px}.premium-service-grid,.home-gallery-grid,.home-listings--premium{grid-template-columns:1fr}.premium-service-card__meta{grid-template-columns:1fr}.premium-order-item{grid-template-columns:1fr}.premium-order-card__head,.premium-cart-summary{flex-direction:column;align-items:flex-start}.premium-order-review__row,.premium-order-review__total{flex-direction:column}.premium-cart-summary__total strong{font-size:28px}}


.home-gallery--single{padding:20px 20px 18px;border-radius:20px;background:#fff;border:1px solid #d8e2ef;box-shadow:0 12px 26px rgba(16,40,79,.06)}
.home-gallery-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}
.home-gallery-head h2{margin:0;font-size:18px;color:#1b2435}
.home-gallery-head p{margin:8px 0 0;color:#5f6f86;max-width:760px;line-height:1.45}
.home-gallery-cta{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:14px;background:linear-gradient(135deg,#2f6fff,#5c8dff);color:#fff;font-weight:700;box-shadow:0 14px 28px rgba(47,111,255,.22);white-space:nowrap}
.home-gallery--single .home-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.home-gallery--single .gallery-card{border-radius:8px;border:1px solid #e0e6ef;box-shadow:0 4px 12px rgba(16,40,79,.06);overflow:hidden}
.home-gallery--single .gallery-card::before{height:0}
.home-gallery--single .gallery-card__media{aspect-ratio:1.45;background:#eef3f8;padding:8px}
.home-gallery--single .gallery-card__media img{border-radius:2px}
.home-gallery--single .gallery-card__body{gap:4px;padding:0 10px 10px}
.home-gallery--single .premium-badge-row{display:none}
.home-gallery--single .gallery-card__body h3{font-size:16px;line-height:1.2;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-gallery--single .gallery-card__body h3 a{color:#2d2d2d}
.home-gallery--single .gallery-card__body p{font-size:14px;color:#777;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.home-gallery--single .gallery-card__body strong{font-size:16px;color:#4c8c25}
@media (max-width:1100px){.home-gallery--single .home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:780px){.home-gallery-head{flex-direction:column}.home-gallery-cta{width:100%}.home-gallery--single .home-gallery-grid{grid-template-columns:1fr}}


/* Hotfix 6: blue homepage gallery with 4 side-by-side cards */
.home-gallery--blue{padding:28px 28px 30px;border-radius:30px;background:linear-gradient(180deg,#18315f 0%,#142a57 100%);border:0;box-shadow:none}
.home-gallery-head--simple{display:block;margin-bottom:22px}
.home-gallery-head--simple h2{margin:0;color:#fff;font-size:20px;font-weight:800;letter-spacing:-.01em}
.home-gallery-grid--blue{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gallery-card--blue{background:#fff;border:1px solid rgba(219,228,239,.95);border-radius:14px;box-shadow:0 6px 18px rgba(6,17,38,.12);overflow:hidden}
.gallery-card--blue::before{display:none}
.gallery-card__media--blue{display:block;aspect-ratio:1.28;background:#eef2f7;padding:12px}
.gallery-card__media--blue img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.gallery-card__body--blue{display:flex;flex-direction:column;gap:4px;padding:10px 12px 12px}
.gallery-card__body--blue h3{margin:0;font-size:15px;line-height:1.2;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gallery-card__body--blue h3 a{color:#2d2d2d;text-decoration:none}
.gallery-card__body--blue p{margin:0;font-size:14px;color:#7c8699;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.gallery-card__body--blue strong{font-size:15px;line-height:1.2;color:#4c8c25;font-weight:800}
@media (max-width:1100px){.home-gallery-grid--blue{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:780px){.home-gallery--blue{padding:22px 16px 18px;border-radius:24px}.home-gallery-grid--blue{grid-template-columns:1fr}.home-gallery-head--simple{margin-bottom:16px}}


/* Top-only listing badges */
.home-listing-card .premium-badge-row,
.listing-card-rich .premium-badge-row,
.listing-side-card-exact .premium-badge-row{display:none !important;}

/* Category marketplace layout matching header width */
.category-market-page{width:100%;max-width:var(--page-width);margin:12px auto 24px;box-sizing:border-box}
.category-market-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}
.category-market-sidebar,.category-market-content{min-width:0}
.category-market-sidebar{position:sticky;top:14px}
.category-market-breadcrumb{margin:4px 0 12px;font-size:14px;color:#6f7f95}
.category-market-breadcrumb a{color:#2f6fff}
.category-market-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;margin-bottom:14px;border:1px solid #d7e0ea;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(248,251,255,.96) 100%);box-shadow:0 12px 30px rgba(16,40,79,.05)}
.category-market-intro__copy{display:flex;flex-direction:column;gap:8px;min-width:0}
.category-market-intro__eyebrow{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6c7d94}
.category-market-intro h1{margin:0;font-size:34px;line-height:1.04;color:#1b2435;letter-spacing:-.03em}
.category-market-intro p{margin:0;color:#5f6f86;font-size:16px}
.category-market-intro__action,.category-search-callout__action{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border-radius:14px;background:#eaf2ff;color:#2f6fff;font-size:15px;font-weight:800;white-space:nowrap;border:1px solid #d6e2ff}
.category-search-callout{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;margin-bottom:16px;border:1px solid #d6dee9;border-radius:20px;background:#fff}
.category-search-callout__icon{width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:linear-gradient(135deg,#edf5ff,#dfeeff);color:#2f6fff;font-size:26px}
.category-search-callout__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.category-search-callout__body strong{font-size:17px;color:#1b2435}
.category-search-callout__body span{font-size:14px;color:#5f6f86;line-height:1.45}
.category-filter-card{background:#f7f9fc;border:1px solid #d6dee9;border-radius:22px;padding:18px 16px 18px;box-shadow:0 10px 24px rgba(16,40,79,.04)}
.category-filter-section{padding:2px 4px 0}
.category-filter-title{font-size:18px;font-weight:800;color:#1b2435;margin:0 0 12px}
.category-link-list{display:flex;flex-direction:column;gap:10px}
.category-link-list a{display:flex;align-items:center;min-height:42px;padding:0 12px;border-radius:12px;color:#5d6f87;font-size:15px;line-height:1.3;border:1px solid transparent;transition:all .16s ease}
.category-link-list a:hover{background:#eef4ff;color:#2f6fff;border-color:#dbe6fb}
.category-link-list a.is-active{background:#eaf2ff;color:#2f6fff;font-weight:800;border-color:#d7e3fb}
.category-filter-divider{height:1px;background:#d6dee9;margin:16px 0 12px}
.category-filter-form{display:flex;flex-direction:column;gap:12px}
.category-filter-form label{display:flex;flex-direction:column;gap:7px}
.category-filter-form label>span,.category-sort-form label>span{font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6c7d94}
.category-filter-form select,.category-filter-form input,.category-filter-static,.category-sort-form select{height:48px;border:1px solid #cfd8e6;border-radius:14px;background:#fff;color:#2d3748;padding:0 14px;font-size:15px;box-shadow:none}
.category-filter-form select:focus,.category-filter-form input:focus,.category-sort-form select:focus{outline:none;border-color:#8fb0ff;box-shadow:0 0 0 4px rgba(47,111,255,.12)}
.category-filter-static{display:flex;align-items:center;background:#eef2f7;font-weight:700}
.category-price-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%}
.category-price-grid>label{min-width:0}
.category-price-grid input{width:100%;max-width:100%;box-sizing:border-box;min-width:0}
.category-filter-submit{width:100%;height:46px;border-radius:14px;font-size:16px;font-weight:700;margin-top:4px}
.category-results-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.category-results-title-wrap{display:flex;flex-direction:column;gap:4px}
.category-results-title-wrap__eyebrow{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6c7d94}
.category-results-toolbar h2{margin:0;font-size:28px;line-height:1.1;color:#1b2435;letter-spacing:-.02em}
.category-sort-form label{display:flex;flex-direction:column;gap:7px;align-items:flex-start}
.category-sort-form select{min-width:290px;background:#fff}
.category-empty-state{display:flex;align-items:center;justify-content:center;min-height:120px;background:#fff;border:1px dashed #d6dee9;border-radius:24px;color:#2d3748;font-size:18px}
.category-results-list{display:grid;grid-template-columns:1fr;gap:2px}
.category-result-card{position:relative;display:grid !important;grid-template-columns:148px minmax(0,1fr);align-items:stretch !important;gap:0 !important;padding:0 !important;border-radius:16px !important;overflow:hidden;border:1px solid #d9e3ef;background:#fff;box-shadow:0 6px 16px rgba(17,42,92,.04)}
.category-result-card::before{height:0}
.category-result-thumb{width:148px;height:100%;min-height:136px;border-radius:0;background:#edf2f7;flex:0 0 148px}
.category-result-thumb img{width:100%;height:100%;object-fit:cover}
.category-result-body{display:flex;flex-direction:column;gap:8px;padding:12px 14px;min-width:0}
.category-result-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#72839b}
.category-result-meta span{display:inline-flex;align-items:center;gap:6px}
.category-result-meta span+span::before{content:"";display:block;width:4px;height:4px;border-radius:999px;background:#bcc8d7}
.category-result-body h3{margin:0;font-size:20px;line-height:1.15;letter-spacing:-.02em;min-width:0}
.category-result-body h3 a{color:#0f1624;overflow-wrap:anywhere;word-break:break-word}
.category-result-body h3 a:hover{color:#2f6fff}
.category-result-excerpt{margin:0;font-size:14px;line-height:1.4;color:#4d5e75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:break-word;white-space:normal}
.category-result-tags{display:flex;flex-wrap:wrap;gap:6px}
.category-result-tags span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#f4f7fb;border:1px solid #dbe3ee;color:#53647b;font-size:12px;font-weight:700}
.category-result-footer{display:flex;align-items:flex-end;justify-content:flex-start;gap:12px;margin-top:auto;padding-top:0}
.category-result-price{display:flex;flex-direction:column;gap:2px;min-width:0}
.category-result-price strong{font-size:18px;line-height:1.15;color:#2f7a2f;letter-spacing:-.01em;display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}
.category-result-badge{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 9px;border-radius:999px;background:#6b46ff;color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;z-index:2}
.category-no-image,.category-no-image--result{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#eef2f6 0%,#dde4ee 100%);color:#7b8799;font-size:12px;border-radius:0;border:none;position:relative;text-align:center}
.category-no-image::before,.category-no-image--result::before{content:'';position:absolute;left:50%;top:50%;width:72px;height:52px;transform:translate(-50%,-65%);background:linear-gradient(135deg,#b8c3d4 38%,transparent 39%),linear-gradient(225deg,#9eacc2 38%,transparent 39%),radial-gradient(circle at 34px 14px,#c2ccd9 0 12px,transparent 13px);opacity:.95}
.category-no-image span,.category-no-image--result span{position:absolute;bottom:14px;left:0;right:0}
@media (max-width:1100px){.category-market-layout{grid-template-columns:1fr}.category-market-sidebar{position:static}.category-results-toolbar{flex-direction:column;align-items:flex-start}.category-sort-form{width:100%}.category-sort-form label,.category-sort-form select{width:100%}.category-search-callout{grid-template-columns:auto minmax(0,1fr)}.category-search-callout__action{grid-column:1 / -1;justify-self:flex-start}}
@media (max-width:780px){.category-market-page{margin-top:8px}.category-market-intro{flex-direction:column;align-items:flex-start;padding:18px 18px 16px}.category-market-intro h1{font-size:28px}.category-search-callout{grid-template-columns:1fr;padding:16px}.category-search-callout__icon{width:48px;height:48px}.category-price-grid{grid-template-columns:1fr}.category-result-card{grid-template-columns:1fr}.category-result-thumb{width:100%;min-height:200px}.category-result-body{padding:14px}.category-result-body h3{font-size:20px}.category-result-footer{flex-direction:column;align-items:flex-start}}


.admin-content .ads-subnav{margin:0 0 18px}
.admin-content .action-trigger{justify-content:flex-end;min-width:96px}
.category-browser-card{display:flex;flex-direction:column;gap:16px}
.category-browser-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.category-browser-head h2{margin:0 0 6px}
.category-browser-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.category-browser-breadcrumb a{color:var(--accent)}
.category-browser-title{font-weight:700}
.category-browser-title a{color:var(--navy)}
.category-browser-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#eef3fb;color:var(--navy);font-size:12px;font-weight:700}
.btn-lite--small{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;font-size:14px}

.category-toolbar{justify-content:flex-start}
.category-toolbar--top{margin-bottom:16px}
.category-toolbar--bottom{margin-top:16px}
.category-toolbar-actions{display:flex;justify-content:flex-start;align-items:center;gap:10px;margin-left:0}
.category-toolbar-actions--top button{min-width:auto}
.category-toolbar-actions--bottom select,.category-toolbar-actions--bottom button{min-width:140px}
.category-browser-card .action-col,.category-browser-card .table-actions{text-align:right}
.category-browser-card .action-menu{margin-left:auto}
.category-browser-card .action-trigger{justify-content:flex-end;min-width:124px}
@media (max-width:700px){.category-toolbar{align-items:stretch}.category-toolbar-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.category-toolbar-actions--bottom select,.category-toolbar-actions--bottom button{min-width:0;flex:1 1 auto}.category-toolbar-actions--top button{flex:0 0 auto}}

/* report system + seller profiles */
.listing-side-button-exact--ghost{background:#fff7ed;border-color:#fed7aa;color:#b45309}
.listing-side-button-exact--ghost:hover{background:#ffedd5;border-color:#fdba74;color:#9a3412}
.listing-side-report-exact{appearance:none;width:100%;border:none;background:transparent;cursor:pointer;display:block;text-align:center;color:#255fe8;text-decoration:none;font-size:15px;font-weight:700;padding-top:2px}
.listing-share-modal--report .listing-share-modal__dialog{max-width:520px}
.report-listing-form{display:grid;gap:16px;padding:20px 22px 22px}
.report-listing-form label{display:grid;gap:8px;color:#334155;font-weight:700}
.report-listing-form select,.report-listing-form textarea{width:100%;border:1px solid #d4deec;border-radius:14px;background:#f8fbff;color:#1f2937;font:inherit;padding:14px 16px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.report-listing-form select:focus,.report-listing-form textarea:focus{border-color:#245fe9;box-shadow:0 0 0 4px rgba(36,95,233,.10);background:#fff}
.report-listing-form textarea{min-height:140px;resize:vertical}
.report-listing-form__check{grid-template-columns:auto 1fr;align-items:flex-start;gap:12px;font-weight:600}
.report-listing-form__check input{margin-top:3px}
.report-listing-form__hint{margin:0;color:#64748b;font-size:14px;line-height:1.6}
.report-listing-form__actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
@media (max-width:700px){.report-listing-form{padding:20px}.report-listing-form__actions{justify-content:stretch}.report-listing-form__actions .btn-primary,.report-listing-form__actions .btn-secondary{width:100%}}

.seller-profile-page{display:grid;gap:20px}
.seller-profile-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px;border-radius:28px;background:linear-gradient(135deg,#fff,#f6fbff);border:1px solid #d7e3f0;box-shadow:0 16px 36px rgba(15,23,42,.06)}
.seller-profile-hero__identity{display:flex;align-items:center;gap:18px;min-width:0}
.seller-profile-hero__avatar{width:78px;height:78px;border-radius:999px;background:#dfe5ee;color:#172033;font-size:28px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:0 0 78px}
.seller-profile-hero__eyebrow{margin:0 0 6px;color:#245fe9;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.seller-profile-hero h1{margin:0;font-size:clamp(30px,4vw,42px);line-height:1.05;color:#16233d}
.seller-profile-hero__meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.seller-profile-hero__actions{display:flex;align-items:center}
.seller-profile-section{padding:24px;border-radius:24px}
.seller-profile-section__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.seller-profile-section__head h2{margin:0 0 8px;color:#16233d;font-size:26px}
.seller-profile-section__head p{margin:0;color:#64748b;line-height:1.6}
@media (max-width:1024px){.seller-profile-hero{flex-direction:column;align-items:flex-start}}
@media (max-width:700px){.seller-profile-hero{padding:22px;border-radius:24px}.seller-profile-section{padding:20px}}

.admin-back-link{margin-bottom:16px}
.admin-back-link a{color:#245fe9;text-decoration:none;font-weight:700}
.admin-filter-grid--reports{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end}
.admin-filter-grid--reports label{display:grid;gap:8px;color:#334155;font-weight:700}
.admin-filter-grid--reports input,.admin-filter-grid--reports select{width:100%;border:1px solid #d4deec;border-radius:14px;background:#f8fbff;color:#1f2937;font:inherit;padding:13px 14px}
.admin-filter-grid__actions{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.admin-table__subline{margin-top:6px;color:#6b778c;font-size:13px;line-height:1.5}
.report-case-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;border-radius:26px}
.report-case-hero h1{margin:0 0 8px;font-size:30px;line-height:1.1;color:#16233d}
.report-case-hero__meta{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.report-case-layout{display:grid;grid-template-columns:minmax(0,1.2fr) 360px;gap:20px;align-items:start}
.report-case-main,.report-case-side{display:grid;gap:18px}
.report-case-block{padding:30px 22px 22px;border-radius:24px}
.report-case-block__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;padding-top:2px}
.report-case-block__head h2{margin:0 0 8px;color:#16233d;font-size:24px}
.report-case-block__head p{margin:0;color:#64748b;line-height:1.6}
.report-case-list,.report-case-history{display:grid;gap:14px}
.report-entry,.report-history-entry{display:flex;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #e2e8f0;border-radius:18px;background:#fbfdff}
.report-entry{flex-direction:column}
.report-entry__top,.report-entry__meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.report-entry__meta{color:#64748b;font-size:14px}
.report-entry__empty{margin:0;color:#94a3b8;font-style:italic}
.seller-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.seller-stat-grid__item{padding:16px 18px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;display:grid;gap:6px}
.seller-stat-grid__item span{color:#64748b;font-weight:700}
.seller-stat-grid__item strong{font-size:26px;line-height:1.05;color:#172033}
.seller-stat-grid__item--alert{background:#fff7ed;border-color:#fed7aa}
.report-action-form{display:grid;gap:14px}
.report-action-form label{display:grid;gap:8px;color:#334155;font-weight:700}
.report-action-form select,.report-action-form textarea{width:100%;border:1px solid #d4deec;border-radius:14px;background:#f8fbff;color:#1f2937;font:inherit;padding:13px 14px}
.report-action-form textarea{min-height:130px;resize:vertical}
.report-action-form__buttons,.report-action-form__stack,.report-quick-links{display:grid;gap:10px}
.report-history-entry{align-items:flex-start}
@media (max-width:1100px){.admin-filter-grid--reports{grid-template-columns:repeat(2,minmax(0,1fr))}.report-case-layout{grid-template-columns:1fr}.report-case-side{order:-1}}
@media (max-width:700px){.admin-filter-grid--reports{grid-template-columns:1fr}.report-case-hero,.report-entry,.report-history-entry{flex-direction:column}.seller-stat-grid{grid-template-columns:1fr}}


.report-counter-badge{display:inline-grid;gap:2px;padding:8px 10px;border-radius:16px;border:1px solid #dbe5f0;background:#f8fbff;color:#1f2937;text-decoration:none;min-width:94px}
.report-counter-badge strong{font-size:15px;line-height:1}
.report-counter-badge span{font-size:12px;color:#64748b}
.report-counter-badge--active{background:linear-gradient(180deg,#fff8e8 0%,#fff2c9 100%);border-color:#f2d07b;color:#7a5200}
.report-counter-badge--empty{background:#f8fafc;border-color:#e2e8f0}
.priority-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.02em;border:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 6px 18px rgba(15,23,42,.06)}
.priority-badge--low{background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);border-color:#d8e1ec;color:#4b5563}
.priority-badge--normal{background:linear-gradient(180deg,#eef6ff 0%,#dbeafe 100%);border-color:#bfd8ff;color:#1d4ed8}
.priority-badge--high{background:linear-gradient(180deg,#fff7ed 0%,#ffedd5 100%);border-color:#fdba74;color:#c2410c}
.priority-badge--urgent{background:linear-gradient(180deg,#fff1f2 0%,#ffe4e6 100%);border-color:#fda4af;color:#be123c}
.status-pill--report{border:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.status-pill--report-new{background:#eef6ff;color:#1d4ed8;border-color:#bfdbfe}
.status-pill--report-in_review{background:#fff8ea;color:#9a6a00;border-color:#efdba8}
.status-pill--report-action_required{background:#fff7ed;color:#c2410c;border-color:#fdba74}
.status-pill--report-resolved{background:#eef9f1;color:#0c7a39;border-color:#cdecd8}
.status-pill--report-rejected{background:#f8fafc;color:#475569;border-color:#dbe3ee}
.status-pill--report-escalated{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}


/* compact spacing fix for reported listings views */
.admin-content{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.admin-content > .card,
.admin-content > section.card,
.admin-content > article.card,
.admin-content > .admin-panel.card,
.admin-content > .admin-table-card,
.admin-content > .report-case-hero,
.admin-content > .report-case-layout{
  flex:0 0 auto;
  min-height:0 !important;
  height:auto !important;
}
.admin-panel.card,
.admin-table-card,
.report-case-hero,
.report-case-block{
  min-height:0 !important;
  height:auto !important;
}
.admin-panel__head{
  margin-bottom:18px;
}
.admin-panel__head > *:last-child,
.admin-panel__head p:last-child,
.admin-table-card .table-responsive,
.admin-table-card .table,
.report-case-block > *:last-child{
  margin-bottom:0;
}
.admin-table-card,
.report-case-block,
.report-case-hero{
  align-self:flex-start;
  width:100%;
}
