/* ==========================================================================
   SerpMarket Marketplace — page look (2026-10-16)
   Loaded AFTER style.css on every Marketplace page (not Local Agency).
   style.css stays untouched; this file only restyles on top of it.
   Parts: 1 tokens/base · 2 buttons · 3 public header · 4 app shell
          5 cards/KPIs · 6 forms · 7 tables · 8 badges/tabs · 9 modals
          10 menus · 11 content pages · 12 footer · 13 shared mp-* parts
   ========================================================================== */

/* ---------- 1. Tokens + base ---------- */
:root {
  --mp-ink: #0B1437;
  --mp-ink-2: #15204D;
  --mp-ink-3: #22306A;
  --mp-blue: #1D4ED8;
  --mp-blue-soft: #EEF3FF;
  --mp-orange: #F7841A;
  --mp-orange-2: #E8700A;
  --mp-orange-soft: #FFF3E6;
  --mp-bg: #F4F6FB;
  --mp-surface: #FFFFFF;
  --mp-line: #E3E7F0;
  --mp-line-2: #EEF1F6;
  --mp-text: #0F172A;
  --mp-muted: #5B6478;
  --mp-faint: #8A93A6;
  --mp-green: #0E9F6E;
  --mp-green-soft: #E7F7F0;
  --mp-red: #DC2626;
  --mp-red-soft: #FEF0F0;
  --mp-r-sm: 8px;
  --mp-r: 10px;
  --mp-r-lg: 14px;
  --mp-r-xl: 20px;
  --mp-shadow: 0 1px 2px rgba(11, 20, 55, .05);
  --mp-shadow-lg: 0 18px 40px -18px rgba(11, 20, 55, .28);
  --mp-font: "Inter", "Inter Display", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mp-display: "Inter Display", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* keep older variables in step so inline styles that use them match */
  --indigo-900: #0B1437;
  --indigo-800: #15204D;
  --indigo-700: #1D4ED8;
  --indigo-600: #2563EB;
  --amber-500: #F7841A;
  --amber-600: #E8700A;
  --gray-bg: #F4F6FB;
  --gray-border: #E3E7F0;
  --text-dark: #0F172A;
  --text-muted: #5B6478;
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--mp-font);
  font-optical-sizing: auto;
  color: var(--mp-text);
  background: var(--mp-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.public-page { background: #fff; }
h1, h2, h3, h4 { font-family: var(--mp-display); letter-spacing: -0.015em; }
a { color: var(--mp-blue); }
:focus-visible { outline: 2px solid var(--mp-blue); outline-offset: 2px; }
::selection { background: #FFE2C4; }
img { max-width: 100%; }
.tnum, .stat-value, .badge, .site-table td { font-variant-numeric: tabular-nums; }

/* ---------- 2. Buttons ---------- */
.auth-btn, .hero-btn-primary, .hero-btn-ghost, .modal-submit-btn, .buy-btn, .form-save-btn,
.quick-action-link, .pagination-btn, .secondary-btn, .mp-btn {
  font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--mp-r); font-weight: 700; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.auth-btn { min-height: 40px; padding: 9px 16px; line-height: 20px; font-size: 14px; background: var(--mp-ink); color: #fff; border: 1px solid var(--mp-ink); }
.auth-btn:hover { background: var(--mp-ink-3); }
.auth-btn.cta, .hero-btn-primary, .modal-submit-btn, .buy-btn, .mp-btn.primary {
  background: var(--mp-orange); color: var(--mp-ink); border: 1px solid var(--mp-orange);
  box-shadow: 0 6px 16px -8px rgba(247, 132, 26, .75);
}
.auth-btn.cta:hover, .hero-btn-primary:hover, .modal-submit-btn:hover:not(:disabled), .buy-btn:hover, .mp-btn.primary:hover { background: #FF9634; border-color: #FF9634; }
.hero-btn-primary { min-height: 50px; padding: 14px 24px; line-height: 20px; font-size: 15.5px; }
.hero-btn-ghost { min-height: 50px; padding: 14px 22px; line-height: 20px; font-size: 15.5px; border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); }
.hero-btn-ghost:hover { background: rgba(255,255,255,.14); }
.modal-submit-btn { min-height: 46px; padding: 12px 18px; line-height: 20px; font-size: 15px; width: 100%; margin-top: 10px; }
.modal-submit-btn:disabled { opacity: .55; box-shadow: none; }
.buy-btn { min-height: 36px; padding: 8px 14px; line-height: 18px; font-size: 13px; }
.secondary-btn, .toolbar .secondary-btn, .pagination-btn, .quick-action-link, .mp-btn {
  min-height: 40px; padding: 9px 16px; line-height: 20px; font-size: 13.5px; background: #fff; color: var(--mp-ink);
  border: 1px solid var(--mp-line); box-shadow: var(--mp-shadow); border-radius: var(--mp-r);
}
.secondary-btn:hover, .toolbar .secondary-btn:hover, .pagination-btn:hover:not(:disabled), .quick-action-link:hover, .mp-btn:hover {
  background: #F7F8FC; border-color: #C9D0DE; color: var(--mp-ink);
}
.mp-btn.dark { background: var(--mp-ink); border-color: var(--mp-ink); color: #fff; }
.mp-btn.dark:hover { background: var(--mp-ink-3); border-color: var(--mp-ink-3); color: #fff; }
.mp-btn.sm { min-height: 34px; padding: 7px 12px; line-height: 18px; font-size: 12.5px; border-radius: 9px; }
.mp-btn.danger { color: var(--mp-red); border-color: #F6CACA; }
.mp-btn.danger:hover { background: var(--mp-red-soft); }
.mp-btn svg, .quick-action-link svg { width: 16px; height: 16px; flex: 0 0 16px; }
.form-save-btn { max-width: none; }
button:disabled { cursor: not-allowed; }
/* style.css hides things with .hidden-form; keep restyled buttons/links hidden too
   (no !important: pages that show an element with an inline style still win) */
button.hidden-form, a.hidden-form, label.hidden-form, select.hidden-form, input.hidden-form { display: none; }

/* ---------- 3. Public header ---------- */
.public-nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--mp-line);
  padding: 0 max(24px, calc((100vw - 1200px) / 2)); min-height: 70px;
}
.nav-logo-img { height: 46px; width: auto; }
.public-nav-links { gap: 4px; }
.public-nav-link {
  margin: 0; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: #334155;
}
.public-nav-link:hover { color: var(--mp-ink); background: #F3F5FA; }
.public-nav-link.active { color: var(--mp-ink); background: #F3F5FA; }
.public-nav-links .auth-btn { margin-left: 6px; }
.public-nav-links .auth-btn:not(.cta) { background: #fff; color: var(--mp-ink); border-color: var(--mp-line); }
.public-nav-links .auth-btn:not(.cta):hover { background: #F7F8FC; }
.nav-toggle { border-radius: 10px; border-color: var(--mp-line); color: var(--mp-ink); }
@media (max-width: 900px) {
  .public-nav { padding: 10px 16px; min-height: 62px; }
  .nav-logo-img { height: 38px; }
  .public-nav-links { gap: 2px; padding: 10px 0 14px; }
  .public-nav-link { padding: 12px 10px; font-size: 15.5px; }
  .public-nav-links .auth-btn { margin: 8px 0 0; height: 46px; }
}

/* ---------- 4. App shell ---------- */
.app-shell { background: var(--mp-bg); }
.sidebar {
  width: 252px; background: var(--mp-ink); padding: 20px 14px 24px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
  border-right: 1px solid rgba(255,255,255,.04);
}
.sidebar-logo { padding: 2px 10px 20px; }
.sidebar-logo-img { max-width: 168px; }
.sidebar-nav { gap: 2px; }
.sidebar-link {
  gap: 11px; padding: 9px 12px; border-radius: 9px; color: #B8C0DD; font-size: 14px; font-weight: 600;
  border-left: 0 !important; transition: background .12s, color .12s;
}
.sidebar-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-link.active {
  background: rgba(247, 132, 26, .16); color: #fff; padding-left: 12px;
  box-shadow: inset 3px 0 0 var(--mp-orange);
}
.sidebar-icon { width: 18px; height: 18px; flex: 0 0 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; opacity: .9; }
.sidebar-icon svg { width: 18px; height: 18px; }
.sidebar-link.active .sidebar-icon { color: var(--mp-orange); opacity: 1; }
.sidebar-divider { background: rgba(255,255,255,.08); margin: 12px 6px; }
.sidebar-group-label { color: #7D88B3; font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; padding: 14px 12px 4px; display: flex; align-items: center; gap: 11px; }
.sidebar-group-label svg { width: 18px; height: 18px; opacity: .8; }
.sidebar-sublink { padding-left: 41px !important; font-size: 13.5px; font-weight: 500; }
.sidebar-sublink.active { padding-left: 41px !important; }
.mode-switch { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 11px; padding: 4px; margin: 0 2px 4px; }
.mode-switch-btn { border-radius: 8px; padding: 8px 0; font-size: 13px; color: #B8C0DD; font-family: inherit; }
.mode-switch-btn.active { background: var(--mp-orange); color: var(--mp-ink); box-shadow: 0 4px 12px -6px rgba(247,132,26,.8); }

.topbar {
  position: sticky; top: 0; z-index: 50; min-height: 68px; padding: 12px 32px;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mp-line); gap: 12px;
}
.page-title { font-size: 19px; font-weight: 750; color: var(--mp-ink); letter-spacing: -0.02em; }
.page-content { padding: 28px 32px 48px; width: 100%; max-width: 1320px; margin: 0 auto; }
.hamburger-btn { border: 1px solid var(--mp-line); border-radius: 10px; width: 40px; height: 40px; padding: 0; font-size: 18px; color: var(--mp-ink); background: #fff; align-items: center; justify-content: center; }
.sidebar-overlay { background: rgba(11, 20, 55, .5); }

@media (max-width: 900px) {
  .sidebar { position: fixed; height: 100%; left: -272px; width: 264px; }
  .sidebar.sidebar-open { left: 0; box-shadow: 20px 0 40px rgba(0,0,0,.25); }
  .hamburger-btn { display: inline-flex; }
  .topbar { padding: 10px 16px; min-height: 60px; flex-wrap: nowrap; }
  .page-title { font-size: 17px; }
  .page-content { padding: 18px 16px 40px; }
}

/* ---------- 5. Cards, KPIs, empty states ---------- */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card {
  background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r-lg); padding: 18px 20px; min-width: 0;
  box-shadow: var(--mp-shadow);
}
.stat-card .stat-label { font-size: 13px; color: var(--mp-muted); font-weight: 600; margin-bottom: 8px; }
.stat-card .stat-value { font-size: 26px; font-weight: 800; color: var(--mp-ink); letter-spacing: -0.02em; }
.coming-soon-box {
  background: #fff; border: 1px dashed #CDD4E2; border-radius: var(--mp-r-lg); padding: 40px 24px; box-shadow: none;
}
.coming-soon-box h2 { font-size: 18px; color: var(--mp-ink); margin: 0 0 6px; }
.coming-soon-box p { margin: 0 auto 14px; max-width: 460px; line-height: 1.55; }
.form-card { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r-lg); box-shadow: var(--mp-shadow); padding: 28px; }
.order-list-card { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r-lg); box-shadow: var(--mp-shadow); padding: 4px 20px; }
.order-row { padding: 14px 0; border-bottom: 1px solid var(--mp-line-2); gap: 12px; }
.order-row:last-child { border-bottom: 0; }
.order-meta { color: var(--mp-muted); font-size: 13px; margin-top: 3px; }
.section-heading { font-size: 16px; font-weight: 750; color: var(--mp-ink); margin: 0 0 12px; }
.quick-actions { gap: 10px; margin-bottom: 26px; }
@media (max-width: 900px) {
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px 16px; }
  .stat-card .stat-value { font-size: 21px; }
  .quick-actions { flex-direction: row; flex-wrap: wrap; }
  .quick-action-link { flex: 1 1 auto; }
  .form-card { padding: 20px 16px; }
}
@media (max-width: 380px) { .stat-cards { grid-template-columns: 1fr; } }

/* ---------- 6. Forms ---------- */
.app-shell input[type="text"], .app-shell input[type="email"], .app-shell input[type="number"], .app-shell input[type="url"],
.app-shell input[type="password"], .app-shell input[type="search"], .app-shell input[type="date"], .app-shell input[type="tel"],
.app-shell select, .app-shell textarea,
.modal-box input[type="text"], .modal-box input[type="email"], .modal-box input[type="number"], .modal-box input[type="url"],
.modal-box input[type="password"], .modal-box select, .modal-box textarea,
.public-page .mp-input, .public-page .form-field input, .public-page .form-field select, .public-page .form-field textarea {
  font-family: inherit; font-size: 14px; color: var(--mp-text);
  background: #fff; border: 1px solid #D5DBE7; border-radius: var(--mp-r);
  padding: 0 12px; min-height: 42px; box-shadow: inset 0 1px 1px rgba(11,20,55,.03);
  transition: border-color .12s, box-shadow .12s;
}
.app-shell textarea, .modal-box textarea, .public-page .form-field textarea { padding: 10px 12px; line-height: 1.5; }
.app-shell select, .modal-box select, .public-page .form-field select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6478' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.app-shell input:focus, .app-shell select:focus, .app-shell textarea:focus, .modal-box input:focus, .modal-box select:focus, .modal-box textarea:focus,
.public-page .form-field input:focus, .public-page .form-field select:focus, .public-page .form-field textarea:focus {
  outline: none; border-color: var(--mp-blue); box-shadow: 0 0 0 3px rgba(29, 78, 216, .14);
}
.app-shell input::placeholder, .modal-box input::placeholder, .app-shell textarea::placeholder { color: #9AA3B5; }
.app-shell input:disabled, .modal-box input:disabled { background: #F4F6FA; color: var(--mp-muted); }
.form-field { gap: 6px; }
.form-field label { font-size: 13px; font-weight: 650; color: #344054; }
.app-shell input[type="checkbox"], .app-shell input[type="radio"], .modal-box input[type="checkbox"], .modal-box input[type="radio"] { accent-color: var(--mp-orange-2); width: 16px; height: 16px; }
.auth-message { font-size: 13px; }

/* ---------- 7. Tables ---------- */
.site-table-wrapper {
  background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r-lg); box-shadow: var(--mp-shadow);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.site-table { box-shadow: none; border-radius: 0; background: transparent; }
.site-table th {
  text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 650; color: var(--mp-muted);
  background: #F8F9FC; border-bottom: 1px solid var(--mp-line); padding: 12px 16px; white-space: nowrap;
}
.site-table td { padding: 13px 16px; border-bottom: 1px solid var(--mp-line-2); font-size: 14px; vertical-align: middle; }
.site-table tr:hover td { background: #FAFBFE; }
.site-table td:first-child, .site-table th:first-child { padding-left: 18px; }
.domain-cell { font-weight: 650; }
.domain-link { color: var(--mp-ink); font-weight: 700; }
.domain-link:hover { color: var(--mp-blue); }
.domain-trust-note { color: var(--mp-faint); font-size: 12px; font-weight: 500; margin-top: 2px; }
.pagination-controls { gap: 12px; margin-top: 18px; }
.pagination-label { font-size: 13px; color: var(--mp-muted); font-weight: 600; }

/* ---------- 8. Badges, status pills, tabs ---------- */
.badge { border-radius: 7px; font-size: 12.5px; font-weight: 750; padding: 3px 8px; min-width: 32px; text-align: center; }
.badge.dr { background: #E8F7EF; color: #0B7A51; }
.badge.da { background: var(--mp-blue-soft); color: #1E40AF; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px 4px 9px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.status-tabs { gap: 4px; border: 1px solid var(--mp-line); background: #fff; border-radius: 12px; padding: 4px; margin-bottom: 16px; scrollbar-width: none; box-shadow: var(--mp-shadow); }
.status-tabs::-webkit-scrollbar { display: none; }
.status-tab { border: 0 !important; border-radius: 9px; padding: 8px 14px; font-size: 13.5px; font-weight: 650; color: var(--mp-muted); font-family: inherit; }
.status-tab:hover { color: var(--mp-ink); background: #F4F6FA; }
.status-tab.active { color: #fff; background: var(--mp-ink); }
.status-tab-count { background: #EEF1F6; color: #475069; border-radius: 999px; padding: 1px 7px; font-size: 11.5px; }
.status-tab.active .status-tab-count { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- 9. Modals ---------- */
.modal-overlay { background: rgba(11, 20, 55, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); padding: 16px; }
.modal-box { border-radius: 18px; padding: 28px; box-shadow: 0 30px 70px -20px rgba(11,20,55,.45); border: 1px solid rgba(255,255,255,.6); }
.modal-box h2 { font-size: 20px; font-weight: 800; color: var(--mp-ink); letter-spacing: -0.02em; margin-bottom: 18px; }
.close-btn {
  top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--mp-muted); background: #F4F6FA;
}
.close-btn:hover { background: #E9EDF4; color: var(--mp-ink); }
#auth-form, #forgot-form { display: flex; flex-direction: column; gap: 10px; }
#auth-form input { min-height: 46px; font-size: 15px; }
.toggle-mode a { color: var(--mp-blue); }
@media (max-width: 640px) {
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-box { max-width: 100% !important; width: 100%; border-radius: 18px 18px 0 0; padding: 22px 18px 24px; max-height: 92vh; overflow-y: auto; }
}

/* ---------- 10. Header menus ---------- */
.auth-area-flex { gap: 10px; }
.notif-btn, .cart-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--mp-line); background: #fff; color: #475069;
  display: inline-flex; align-items: center; justify-content: center; position: relative;
}
.notif-btn:hover, .cart-btn:hover { background: #F7F8FC; color: var(--mp-ink); }
.notif-btn svg, .cart-btn svg { width: 19px; height: 19px; }
.notif-count-badge, .cart-count-badge { background: var(--mp-orange); color: var(--mp-ink); border: 2px solid #fff; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; font-size: 11px; justify-content: center; padding: 0 4px; }
.user-menu-btn { height: 40px; border-radius: 10px; border-color: var(--mp-line); background: #fff; padding: 4px 12px 4px 4px; font-family: inherit; font-size: 14px; font-weight: 650; color: var(--mp-ink); }
.user-avatar { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--mp-ink-3), var(--mp-ink)); font-size: 11.5px; }
.user-menu-dropdown, .notif-dropdown { border-radius: 14px !important; border: 1px solid var(--mp-line) !important; box-shadow: var(--mp-shadow-lg) !important; overflow: hidden; }
.user-menu-item { font-family: inherit; }

/* ---------- 11. Content pages (legal, FAQ, support, status) ---------- */
.legal-page { max-width: 780px; padding: 56px 24px 72px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; color: var(--mp-ink); letter-spacing: -0.03em; }
.legal-page h2 { font-size: 19px; font-weight: 750; color: var(--mp-ink); margin-top: 36px; }
.legal-page p, .legal-page li { color: #334155; font-size: 15.5px; line-height: 1.75; }
.legal-page p a { color: var(--mp-blue); }
.legal-updated { color: var(--mp-muted); font-size: 14px; }
.faq-item { border: 1px solid var(--mp-line); border-radius: 12px; padding: 2px 20px; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s; }
.faq-item[open] { border-color: #CBD3E3; box-shadow: var(--mp-shadow); }
.faq-item summary { font-size: 15.5px; font-weight: 700; color: var(--mp-ink); padding: 17px 0; }
.faq-item summary::after { color: var(--mp-orange-2); font-size: 22px; }
.faq-item p { font-size: 15px; color: #475569; line-height: 1.7; }

/* ---------- 12. Footer (built by mp-ui.js) ---------- */
.mpf { background: var(--mp-ink); color: #B8C0DD; font-size: 14px; }
.mpf a { color: #D7DCEE; text-decoration: none; }
.mpf a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mpf a.hero-btn-primary, .mpf a.hero-btn-primary:hover { color: var(--mp-ink); text-decoration: none; }
.mpf a.hero-btn-ghost:hover { text-decoration: none; }
.mpf-cta { border-bottom: 1px solid rgba(255,255,255,.08); }
.mpf-cta-in, .mpf-main, .mpf-seo, .mpf-bottom { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mpf-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.mpf-cta h3 { color: #fff; font-size: 22px; margin: 0 0 4px; font-weight: 750; }
.mpf-cta p { margin: 0; color: #9AA5CB; }
.mpf-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mpf-cta-actions .hero-btn-primary, .mpf-cta-actions .hero-btn-ghost { min-height: 46px; padding-top: 12px; padding-bottom: 12px; font-size: 14.5px; }
.mpf-main { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.mpf-brand img { height: 40px; width: auto; display: block; margin-bottom: 14px; }
.mpf-brand p { margin: 0 0 16px; line-height: 1.65; max-width: 300px; color: #9AA5CB; }
.mpf-trust { display: flex; flex-direction: column; gap: 8px; }
.mpf-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #C9D0EA; }
.mpf-trust svg { width: 16px; height: 16px; color: var(--mp-orange); flex: 0 0 16px; }
.mpf h4 { color: #fff; font-size: 14px; font-weight: 700; margin: 4px 0 14px; letter-spacing: 0; }
.mpf ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mpf-seo { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 22px; display: grid; gap: 10px; }
.mpf-seo-row { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: baseline; font-size: 13px; }
.mpf-seo-row strong { color: #fff; font-weight: 650; margin-right: 4px; }
.mpf-seo-row a { color: #9AA5CB; padding: 3px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; }
.mpf-seo-row a:hover { color: #fff; border-color: rgba(255,255,255,.3); text-decoration: none; }
.mpf-bottom { border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; padding-bottom: 26px; font-size: 13px; color: #7D88B3; flex-wrap: wrap; }
.mpf-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.mpf-bottom a { color: #9AA5CB; }
@media (max-width: 980px) { .mpf-main { grid-template-columns: 1fr 1fr 1fr; } .mpf-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .mpf-main { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-top: 36px; }
  .mpf-cta-actions { width: 100%; } .mpf-cta-actions a { flex: 1; }
  .mpf-cta-in, .mpf-main, .mpf-seo, .mpf-bottom { padding-left: 16px; padding-right: 16px; }
}
/* app pages that show the footer inside the shell */
.app-main .mpf { margin-top: auto; }

/* ---------- 13. Shared mp-* parts used by redesigned pages ---------- */
.mp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; }
.mp-head h2 { margin: 0; font-size: 24px; font-weight: 800; color: var(--mp-ink); letter-spacing: -0.025em; }
.mp-head p { margin: 4px 0 0; color: var(--mp-muted); font-size: 14.5px; }
.mp-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.mp-kpi {
  background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r-lg); padding: 16px 18px; box-shadow: var(--mp-shadow);
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 12px; min-width: 0; text-decoration: none; color: inherit;
}
a.mp-kpi:hover { border-color: #C9D0DE; }
.mp-kpi-label { font-size: 13px; font-weight: 650; color: var(--mp-muted); }
.mp-kpi-value { grid-column: 1; font-size: 26px; font-weight: 800; color: var(--mp-ink); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-kpi-sub { grid-column: 1 / -1; font-size: 12.5px; color: var(--mp-faint); }
.mp-kpi-ico { grid-row: 1 / span 2; grid-column: 2; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--mp-blue-soft); color: var(--mp-blue); }
.mp-kpi-ico svg { width: 19px; height: 19px; }
.mp-kpi.accent { background: var(--mp-ink); border-color: var(--mp-ink); }
.mp-kpi.accent .mp-kpi-label { color: #AEB8DA; }
.mp-kpi.accent .mp-kpi-value { color: #fff; }
.mp-kpi.accent .mp-kpi-sub { color: #8E99C4; }
.mp-kpi.accent .mp-kpi-ico { background: rgba(247,132,26,.18); color: var(--mp-orange); }
.mp-ico-green { background: var(--mp-green-soft) !important; color: var(--mp-green) !important; }
.mp-ico-orange { background: var(--mp-orange-soft) !important; color: var(--mp-orange-2) !important; }
.mp-ico-red { background: var(--mp-red-soft) !important; color: var(--mp-red) !important; }
.mp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.mp-tile {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r-lg);
  text-decoration: none; color: var(--mp-ink); font-weight: 700; font-size: 14px; box-shadow: var(--mp-shadow); transition: border-color .15s, transform .15s;
}
.mp-tile:hover { border-color: #C3CBDB; transform: translateY(-1px); }
.mp-tile-ico { width: 36px; height: 36px; border-radius: 10px; background: #F2F4F9; color: var(--mp-ink); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; }
.mp-tile-ico svg { width: 18px; height: 18px; }
.mp-tile small { display: block; font-weight: 500; color: var(--mp-muted); font-size: 12.5px; margin-top: 1px; }
.mp-tile.primary { background: var(--mp-orange); border-color: var(--mp-orange); }
.mp-tile.primary .mp-tile-ico { background: rgba(11,20,55,.1); }
.mp-tile.primary small { color: rgba(11,20,55,.7); }
.mp-card { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r-lg); box-shadow: var(--mp-shadow); }
.mp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--mp-line-2); flex-wrap: wrap; }
.mp-card-head h3 { margin: 0; font-size: 15.5px; font-weight: 750; color: var(--mp-ink); }
.mp-card-head a { font-size: 13.5px; font-weight: 650; text-decoration: none; }
.mp-card-body { padding: 18px 20px; }
.mp-grid-2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mp-list { list-style: none; margin: 0; padding: 0; }
.mp-list-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--mp-line-2); }
.mp-list-row:last-child { border-bottom: 0; }
.mp-list-row:hover { background: #FAFBFE; }
.mp-fav { width: 38px; height: 38px; border-radius: 10px; background: #F2F4F9; color: var(--mp-ink); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; }
.mp-list-title { font-weight: 700; color: var(--mp-ink); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-list-meta { color: var(--mp-muted); font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-list-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.mp-list-price { font-weight: 750; font-size: 14px; color: var(--mp-ink); font-variant-numeric: tabular-nums; }
.mp-steps { list-style: none; margin: 0; padding: 6px 20px 16px; counter-reset: s; }
.mp-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mp-line-2); }
.mp-steps li:last-child { border-bottom: 0; }
.mp-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: #F2F4F9; color: var(--mp-ink); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.mp-steps li.done::before { content: "✓"; background: var(--mp-green-soft); color: var(--mp-green); }
.mp-steps b { display: block; color: var(--mp-ink); font-size: 14px; }
.mp-steps span { color: var(--mp-muted); font-size: 13px; line-height: 1.45; }
.mp-steps a { font-weight: 650; text-decoration: none; }
.mp-empty { text-align: center; padding: 34px 20px; color: var(--mp-muted); }
.mp-empty b { display: block; color: var(--mp-ink); font-size: 15.5px; margin-bottom: 4px; }
.mp-empty .mp-btn { margin-top: 14px; }
.mp-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--mp-blue-soft); color: #1E3A8A; font-size: 13.5px; line-height: 1.5; }
.mp-note svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; }
.mp-note.warn { background: var(--mp-orange-soft); color: #8A4204; }
.mp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.mp-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--mp-line);
  background: #fff; color: #344054; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.mp-chip:hover { border-color: #C3CBDB; color: var(--mp-ink); }
.mp-chip.on { background: var(--mp-ink); border-color: var(--mp-ink); color: #fff; }
.mp-chip .n { font-size: 11.5px; background: #EEF1F6; color: #475069; border-radius: 999px; padding: 1px 7px; }
.mp-chip.on .n { background: rgba(255,255,255,.18); color: #fff; }
.mp-hello { font-size: 14px; color: var(--mp-muted); margin: 0 0 4px; }
@media (max-width: 1100px) { .mp-kpis, .mp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mp-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .mp-head h2 { font-size: 21px; }
  .mp-kpis { gap: 10px; } .mp-kpi { padding: 13px 14px; } .mp-kpi-value { font-size: 20px; } .mp-kpi-ico { width: 32px; height: 32px; }
  .mp-tiles { gap: 10px; } .mp-tile { padding: 12px; font-size: 13.5px; } .mp-tile small { display: none; }
  .mp-list-row { padding: 12px 14px; grid-template-columns: 34px minmax(0, 1fr) auto; }
  .mp-fav { width: 34px; height: 34px; }
  .mp-card-head, .mp-card-body { padding-left: 14px; padding-right: 14px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- 14. Row actions, "More" menu, phone table cards ---------- */
.admin-row-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; min-width: 150px; }
td.admin-row-actions { display: table-cell; white-space: nowrap; text-align: right; vertical-align: middle; }
td.admin-row-actions > button, td.admin-row-actions > a, td.admin-row-actions > .mp-more { margin: 3px 0 3px 6px !important; vertical-align: middle; }
.admin-row-actions > button, .admin-row-actions > a, .mp-more-menu > button, .mp-more-menu > a, .mp-more-btn {
  font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 32px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--mp-line) !important; background: #fff !important;
  color: var(--mp-ink) !important; font-size: 12.5px !important; font-weight: 700 !important; cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: var(--mp-shadow); margin: 0 !important; line-height: 1;
}
.admin-row-actions > button:hover, .admin-row-actions > a:hover, .mp-more-btn:hover { border-color: #C3CBDB !important; background: #F7F8FC !important; }
.admin-row-actions > .mp-act-primary { background: var(--mp-ink) !important; border-color: var(--mp-ink) !important; color: #fff !important; }
.admin-row-actions > .mp-act-primary:hover { background: var(--mp-ink-3) !important; }
.admin-row-actions > .mp-act-danger { color: var(--mp-red) !important; }
.admin-row-actions > button:disabled { opacity: .55; }
.mp-more { position: relative; display: inline-flex; }
.mp-more-btn svg { width: 13px; height: 13px; }
.mp-more-menu {
  display: flex; visibility: hidden; position: fixed; left: -999px; top: 0; z-index: 300; min-width: 190px; padding: 6px;
  background: #fff; border: 1px solid var(--mp-line); border-radius: 12px; box-shadow: var(--mp-shadow-lg); flex-direction: column; gap: 2px;
}
.mp-more.open .mp-more-menu { visibility: visible; }
.mp-more-menu > button, .mp-more-menu > a { justify-content: flex-start !important; width: 100%; border: 0 !important; box-shadow: none; height: 36px; padding: 0 10px; border-radius: 8px; font-weight: 600 !important; }
.mp-more-menu > button:hover, .mp-more-menu > a:hover { background: #F4F6FA !important; }
.mp-more-menu > .mp-act-danger { color: var(--mp-red) !important; }
.site-table-wrapper { position: relative; }

@media (max-width: 760px) {
  .app-shell .site-table-wrapper:has(table.mp-cards) { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .app-shell table.mp-cards { min-width: 0 !important; background: transparent; }
  .app-shell table.mp-cards thead { display: none; }
  .app-shell table.mp-cards, .app-shell table.mp-cards tbody { display: block; width: 100%; }
  .app-shell table.mp-cards tbody tr { display: block; background: #fff; border: 1px solid var(--mp-line); border-radius: 14px; padding: 8px 14px; margin-bottom: 10px; box-shadow: var(--mp-shadow); }
  .app-shell table.mp-cards tbody tr:hover td { background: transparent; }
  .app-shell table.mp-cards td { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 8px 0 !important; border: 0; border-bottom: 1px solid var(--mp-line-2); text-align: right; font-size: 13.5px; min-width: 0; overflow-wrap: anywhere; }
  .app-shell table.mp-cards td:last-child { border-bottom: 0; }
  .app-shell table.mp-cards td::before { content: attr(data-label); flex: 0 0 auto; max-width: 45%; text-align: left; color: var(--mp-muted); font-size: 12.5px; font-weight: 600; }
  .app-shell table.mp-cards td[data-label=""]::before { display: none; }
  .app-shell table.mp-cards td[data-label=""] { justify-content: center; text-align: center; }
  .app-shell table.mp-cards td > div, .app-shell table.mp-cards td > span { text-align: right; }
  .app-shell table.mp-cards td { flex-wrap: wrap; }
  .app-shell table.mp-cards td::before { margin-right: auto; }
  .app-shell table.mp-cards td.domain-cell { display: block; text-align: left; font-size: 15.5px; padding-top: 10px !important; }
  .app-shell table.mp-cards td.domain-cell::before { display: none; }
  .app-shell table.mp-cards td.domain-cell > div { text-align: left; font-size: 12.5px; }
  .app-shell table.mp-cards td.admin-row-actions { justify-content: flex-end; flex-wrap: wrap; white-space: normal; padding-top: 12px !important; }
  .app-shell table.mp-cards td.admin-row-actions::before { display: none; }
  .app-shell table.mp-cards td.admin-row-actions > button, .app-shell table.mp-cards td.admin-row-actions > a, .app-shell table.mp-cards .mp-more { flex: 1 1 auto; }
  .app-shell table.mp-cards .mp-more-btn { width: 100%; }
}

/* ---------- 15. Page toolbars with search ---------- */
.mp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.mp-search { position: relative; display: block; flex: 1 1 260px; max-width: 420px; }
.mp-search svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--mp-faint); pointer-events: none; }
.mp-search input { width: 100%; padding-left: 38px !important; }
.mp-toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) { .mp-search { max-width: none; flex-basis: 100%; } .mp-toolbar-actions { width: 100%; } .mp-toolbar-actions > * { flex: 1; } }

/* ---------- 16. Sign-in / sign-up modal ---------- */
.modal-home-link { position: static; display: inline-flex; align-items: center; gap: 4px; margin: 0 0 14px; font-size: 13px; font-weight: 650; color: var(--mp-muted); text-decoration: none; }
.signup-grid { gap: 0 12px; margin-bottom: 0; }
.signup-grid > *, .form-grid > * { min-width: 0; }
.modal-box .form-field input, .modal-box .form-field select, .modal-box .form-field textarea { width: 100%; }
.modal-box select { background-color: #fff !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6478' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; }
#signup-form .form-field { margin-bottom: 12px; }
.terms-checkbox-label, .remember-me-label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #344054; }
.auth-modal-box { max-width: 480px; }
.detail-row { font-size: 14.5px; line-height: 1.55; padding: 10px 0; margin: 0; border-bottom: 1px solid var(--mp-line-2); }
.detail-row:last-child { border-bottom: 0; }
.detail-row strong { color: var(--mp-ink); font-weight: 700; margin-right: 4px; }

/* ---------- 17. Section spacing + page forms ---------- */
.page-content .section-heading { margin: 30px 0 12px; }
.page-content .dashboard-section:first-child .section-heading, .page-content > .section-heading:first-child { margin-top: 0; }
.page-content .form-card { max-width: 860px; }
.page-content .form-card .modal-submit-btn, .page-content .form-save-btn { width: auto; min-width: 180px; padding: 0 22px; }
.form-grid { gap: 16px 18px !important; }
.cart-count-badge.hidden-form { display: none; }

/* ---------- 18. Small list/table buttons used across app pages ---------- */
.page-content :is(.details-dispute-btn, .dispute-view-btn, .dispute-resolve-btn, .withdrawal-view-btn, .withdrawal-resolve-btn,
  .download-attachment-btn, .print-invoice-btn, .rate-buyer-btn, .assign-btn, .toggle-coupon-btn, .delete-coupon-btn,
  .edit-post-btn, .trash-post-btn, .restore-post-btn, .perma-delete-post-btn, .approve-site-btn, .reject-site-btn,
  .approve-verif-btn, .reject-verif-btn, .duplicate-site-btn, .edit-site-btn, .delete-site-btn, .message-order-btn,
  .details-order-btn, .accept-order-btn, .reject-order-btn, .deliver-order-btn) {
  font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 32px; padding: 0 11px;
  border-radius: 8px; border: 1px solid var(--mp-line); background: #fff; color: var(--mp-ink); font-size: 12.5px; font-weight: 700;
  cursor: pointer; white-space: nowrap; box-shadow: var(--mp-shadow); text-decoration: none;
}
.page-content :is(.approve-site-btn, .approve-verif-btn, .accept-order-btn, .deliver-order-btn, .dispute-resolve-btn, .withdrawal-resolve-btn) { background: var(--mp-ink); border-color: var(--mp-ink); color: #fff; }
.page-content :is(.reject-site-btn, .reject-verif-btn, .delete-coupon-btn, .trash-post-btn, .perma-delete-post-btn, .delete-site-btn, .reject-order-btn) { color: var(--mp-red); }

/* Seller "My Websites" toolbar */
.manage-sites-toolbar { justify-content: flex-start; gap: 10px; align-items: center; }
.manage-sites-toolbar .mp-search { order: -1; margin-right: auto; }
.manage-sites-toolbar #add-site-btn { order: 5; }

.stat-cards:has(> .stat-card:only-child) { grid-template-columns: minmax(0, 420px); }
@media (max-width: 760px) {
  .app-shell table.mp-cards tbody tr { position: relative; }
  .app-shell table.mp-cards td:first-child:has(> input[type="checkbox"]:only-child) { position: absolute; top: 12px; right: 14px; padding: 0 !important; border: 0; z-index: 1; }
  .app-shell table.mp-cards td:first-child:has(> input[type="checkbox"]:only-child) + td { padding-right: 34px !important; }
  .manage-sites-toolbar { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .manage-sites-toolbar .mp-search { grid-column: 1 / -1; max-width: none; margin: 0; }
  .manage-sites-toolbar > button { width: 100%; }
  .manage-sites-toolbar #add-site-btn { grid-column: 1 / -1; order: -1; height: 46px; }
}
.status-tab-count:empty { display: none; }

/* ---------- 19. Older public sections (services, FAQ, blog, legal) ---------- */
.section-label, .hero-badge { text-transform: none !important; letter-spacing: 0 !important; }
.section-label { font-size: 14px; font-weight: 700; color: var(--mp-orange-2); }
.highlight { color: inherit !important; background: none !important; -webkit-text-fill-color: currentColor; }
.home-section-header h2 { letter-spacing: -0.025em; font-weight: 800; color: var(--mp-ink); }
.hero-dark { background: var(--mp-ink) !important; }
.hero-dark h1 { letter-spacing: -0.03em; }
.split-card, .icon-feature-card, .step-card, .agency-os-card, .blog-card { border-color: var(--mp-line) !important; border-radius: 16px !important; box-shadow: var(--mp-shadow) !important; }
.icon-circle { background: var(--mp-orange-soft) !important; color: var(--mp-orange-2) !important; border-color: transparent !important; }
.icon-circle svg { stroke: currentColor; }
.final-cta-dark { background: var(--mp-ink) !important; }

/* ---------- 20. Campaign builder panel (marketplace + campaign-builder page) ---------- */
.campaign-builder { background: var(--mp-ink); border-radius: 18px; box-shadow: none; padding: 26px 28px 22px; }
.campaign-builder::before { background: radial-gradient(circle, rgba(247,132,26,.28), transparent 65%) !important; }
.campaign-builder-badge { background: rgba(247,132,26,.16) !important; color: #FFB46E !important; border-color: rgba(247,132,26,.3) !important; }
.campaign-builder-form input { background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #fff !important; min-height: 48px; border-radius: 12px !important; }
.campaign-builder-form input::placeholder { color: #8E99C4 !important; }
.campaign-builder-btn { background: var(--mp-orange) !important; color: var(--mp-ink) !important; border-radius: 12px !important; min-height: 48px; font-family: inherit; font-weight: 800 !important; }
.campaign-advanced-toggle { border-radius: 12px !important; min-height: 48px; font-family: inherit; }
.campaign-advanced-panel { background: rgba(255,255,255,.05); border-radius: 14px; padding: 14px; }
.campaign-advanced-panel .form-field label { color: #C9D0EA; }

.public-page .campaign-builder { background: var(--mp-ink-2); border: 1px solid rgba(255,255,255,.1); }

.page-content a:is(.edit-post-btn, .edit-site-btn, .download-attachment-btn, .print-invoice-btn, .details-order-btn), .admin-row-actions > a { display: inline-flex !important; }
.sidebar-group-label.mp-admin-label { color: #F7A35A; margin-top: 2px; }
.blog-admin-tabs { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.blog-admin-tabs::-webkit-scrollbar { display: none; }
.blog-admin-tab { white-space: nowrap; font-family: inherit; }

/* ---------- 21. Full-page Log in / Sign up (login.html, signup.html) ---------- */
body.auth-page { margin: 0; background: #fff; min-height: 100vh; }
.au { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; }
.au-aside {
  position: relative; overflow: hidden; background: var(--mp-ink); color: #C9D0EA;
  padding: 40px clamp(32px, 5vw, 72px); display: flex; flex-direction: column; gap: 40px;
}
.au-aside::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 30%, transparent 78%);
}
.au-aside::after { content: ""; position: absolute; width: 560px; height: 560px; left: -220px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(247,132,26,.25), transparent 65%); pointer-events: none; }
.au-aside > * { position: relative; z-index: 1; }
.au-logo img { height: 42px; width: auto; display: block; }
.au-pitch { margin: auto 0; max-width: 470px; }
.au-pitch h2 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 14px; }
.au-pitch > p { font-size: 16.5px; line-height: 1.6; color: #A7B1D6; margin: 0 0 28px; }
.au-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.au-points li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.au-points .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: var(--mp-orange); display: inline-flex; align-items: center; justify-content: center; }
.au-points .ic svg { width: 20px; height: 20px; }
.au-points b { display: block; color: #fff; font-size: 15.5px; margin-bottom: 2px; }
.au-points span { font-size: 14px; line-height: 1.5; color: #A7B1D6; }
.au-proof { display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; }
.au-proof div { flex: 1; padding-right: 16px; }
.au-proof div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.1); }
.au-proof b { display: block; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.au-proof span { font-size: 12.5px; color: #8E99C4; }

.au-main { display: flex; flex-direction: column; background: #fff; padding: 28px clamp(20px, 5vw, 64px); }
.au-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--mp-muted); }
.au-top a { font-weight: 700; text-decoration: none; }
.au-top .au-mlogo { display: none; }
.au-top .au-mlogo img { height: 36px; width: auto; display: block; }
.au-back { display: inline-flex; align-items: center; gap: 6px; color: var(--mp-muted) !important; font-weight: 650 !important; }
.au-back svg { width: 16px; height: 16px; }
.au-box { width: 100%; max-width: 440px; margin: auto; padding: 36px 0; }
.au-box.wide { max-width: 540px; }
.au-box h1 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.03em; font-weight: 800; color: var(--mp-ink); margin: 0 0 6px; }
.au-lead { color: var(--mp-muted); font-size: 15.5px; margin: 0 0 26px; line-height: 1.55; }
.au-form { display: grid; gap: 16px; }
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.au-field { display: grid; gap: 7px; min-width: 0; }
.au-field > label, .au-label-row label { font-size: 13.5px; font-weight: 650; color: #344054; }
.au-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.au-label-row a, .au-link { font-size: 13px; font-weight: 700; color: var(--mp-blue); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.au-input { position: relative; }
.au-input > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--mp-faint); pointer-events: none; }
.au-input input, .au-input select, .au-field > select {
  width: 100%; min-height: 48px; border: 1px solid #D5DBE7; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: var(--mp-text);
  padding: 0 14px 0 42px; transition: border-color .12s, box-shadow .12s; box-shadow: inset 0 1px 1px rgba(11,20,55,.03);
}
.au-input.no-ic input, .au-input.no-ic select { padding-left: 14px; }
.au-input select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6478' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.au-input input:focus, .au-input select:focus { outline: none; border-color: var(--mp-blue); box-shadow: 0 0 0 4px rgba(29, 78, 216, .13); }
.au-input input::placeholder { color: #9AA3B5; }
.au-input input[aria-invalid="true"] { border-color: var(--mp-red); }
.au-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 9px; background: none; color: var(--mp-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.au-eye:hover { background: #F2F4F9; color: var(--mp-ink); }
.au-eye svg { width: 18px; height: 18px; }
.au-input.has-eye input { padding-right: 48px; }
.au-hint { font-size: 12.5px; color: var(--mp-muted); line-height: 1.45; }
.au-hint.ok { color: var(--mp-green); } .au-hint.bad { color: var(--mp-red); }
.au-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.au-meter i { height: 4px; border-radius: 4px; background: #E6E9F0; }
.au-meter[data-s="1"] i:nth-child(-n+1) { background: #EF4444; }
.au-meter[data-s="2"] i:nth-child(-n+2) { background: #F59E0B; }
.au-meter[data-s="3"] i:nth-child(-n+3) { background: #22C55E; }
.au-meter[data-s="4"] i { background: var(--mp-green); }
.au-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: #344054; cursor: pointer; }
.au-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--mp-orange-2); flex: 0 0 18px; }
.au-submit {
  width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--mp-orange); color: var(--mp-ink); font: inherit; font-size: 15.5px; font-weight: 800;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 22px -12px rgba(247,132,26,.9); transition: background .15s;
}
.au-submit:hover:not(:disabled) { background: #FF9634; }
.au-submit:disabled { opacity: .7; cursor: progress; }
.au-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(11,20,55,.25); border-top-color: var(--mp-ink); animation: auSpin .7s linear infinite; display: none; }
.au-submit.busy .au-spin { display: inline-block; }
@keyframes auSpin { to { transform: rotate(360deg); } }
.au-msg { min-height: 0; margin: 0; font-size: 13.5px; line-height: 1.5; border-radius: 10px; }
.au-msg:not(:empty) { padding: 10px 12px; }
.au-msg.err { background: var(--mp-red-soft); color: #991B1B; }
.au-msg.info { background: #F2F4F9; color: #344054; }
.au-msg.ok { background: var(--mp-green-soft); color: #065F46; }
.au-switch { text-align: center; font-size: 14.5px; color: var(--mp-muted); margin: 22px 0 0; }
.au-switch a { font-weight: 700; text-decoration: none; }
.au-divider { display: flex; align-items: center; gap: 12px; color: var(--mp-faint); font-size: 12.5px; margin: 6px 0 0; }
.au-divider::before, .au-divider::after { content: ""; height: 1px; flex: 1; background: var(--mp-line); }
.au-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--mp-orange-soft); color: #7C3A04; font-size: 13.5px; line-height: 1.5; margin: 0 0 20px; }
.au-note svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; }
.au-done { text-align: center; padding: 8px 0; }
.au-done .big { width: 64px; height: 64px; border-radius: 50%; background: var(--mp-green-soft); color: var(--mp-green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.au-done .big svg { width: 30px; height: 30px; }
.au-done ol { text-align: left; margin: 20px 0 24px; padding: 16px 18px 16px 38px; background: #F8F9FC; border: 1px solid var(--mp-line-2); border-radius: 14px; display: grid; gap: 8px; font-size: 14px; color: #344054; line-height: 1.5; }
.au-foot { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-size: 12.5px; color: var(--mp-faint); }
.au-foot a { color: var(--mp-muted); text-decoration: none; }
.au-foot a:hover { color: var(--mp-ink); }
.au-trust { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-size: 12.5px; color: var(--mp-muted); }
.au-trust span { display: inline-flex; align-items: center; gap: 6px; }
.au-trust svg { width: 14px; height: 14px; color: var(--mp-green); }
@media (max-width: 960px) {
  .au { grid-template-columns: 1fr; }
  .au-aside { display: none; }
  .au-top .au-mlogo { display: inline-flex; }
  .au-main { padding: 16px 16px 24px; background: linear-gradient(180deg, #F4F6FB 0, #fff 260px); }
  .au-box { padding: 28px 0; }
  .au-mobile-points { display: grid !important; }
}
@media (max-width: 520px) { .au-row { grid-template-columns: 1fr; } .au-top .au-hide-sm { display: none; } }
.au-mobile-points { display: none; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; }
.au-mobile-points span { background: #fff; border: 1px solid var(--mp-line); border-radius: 12px; padding: 10px 8px; font-size: 12px; font-weight: 650; color: #344054; text-align: center; line-height: 1.35; }
.au-mobile-points svg { display: block; width: 18px; height: 18px; color: var(--mp-orange-2); margin: 0 auto 5px; }
.au-field { align-content: start; }
.auth-page [hidden] { display: none !important; }
@media (max-width: 520px) { .au-row.keep { grid-template-columns: 1fr 1fr; } }

/* ---------- 22. One logo size everywhere (2026-10-16) ----------
   40px tall on desktop (about 131px wide), 34px on phones. Same in the public
   header, app sidebar, log in / sign up pages and footer. */
:root { --mp-logo-h: 46px; --mp-logo-h-sm: 38px; } /* logo-wide.png (bigger words), raised 2026-10-16 */
.nav-logo-img, .sidebar-logo-img, .mpf-brand img, .au-logo img, .au-top .au-mlogo img {
  height: var(--mp-logo-h) !important; width: auto !important; max-width: none !important; display: block;
}
.public-nav-logo, .public-nav-logo a { display: flex; align-items: center; }
.sidebar-logo { padding: 4px 12px 22px !important; }
.sidebar-logo a { display: inline-flex; }
.au-top .au-mlogo img { height: var(--mp-logo-h-sm) !important; }
@media (max-width: 900px) {
  .nav-logo-img { height: var(--mp-logo-h-sm) !important; }
}
/* Blog posts without a cover: show the whole logo on navy instead of a cropped one */
.blog-card-media img[src$="logo-white.png"], #blog-featured-img[src$="logo-white.png"], img[src$="logo-white.png"].blog-hero-img {
  object-fit: contain !important; padding: 0 16%; background: var(--mp-ink); box-sizing: border-box;
}
.blog-card-media:has(img[src$="logo-white.png"]), .blog-featured-media:has(img[src$="logo-white.png"]) { background: var(--mp-ink); }
