:root {
  --bg:#0f172a;
  --card:#ffffff;
  --muted:#64748b;
  --line:#e2e8f0;
  --soft:#f8fafc;
}
* { box-sizing:border-box; }
body { margin:0; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; background:#f8fafc; color:#0f172a; }
.login-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; background:linear-gradient(135deg,#0f172a,#1e293b); }
.login-card { width:100%; max-width:420px; background:#fff; border-radius:24px; padding:32px; box-shadow:0 20px 60px rgba(0,0,0,.2); }
.login-card h1 { margin:0 0 8px; font-size:28px; }
.muted { color:var(--muted); margin:0 0 24px; }
.login-card label { display:block; font-size:14px; color:#334155; margin-bottom:14px; }
.login-card input { width:100%; margin-top:8px; height:44px; border:1px solid var(--line); border-radius:14px; padding:0 14px; }
.login-card button { width:100%; height:46px; border:none; border-radius:14px; background:#111827; color:#fff; font-weight:600; cursor:pointer; margin-top:8px; }

.app-shell { display:grid; grid-template-columns:260px 1fr; min-height:100vh; }
.sidebar { background:#0f172a; color:#fff; padding:20px; transition:transform .2s ease; position:relative; z-index:20; }
.sidebar-backdrop { display:none; }
.brand { font-size:22px; font-weight:700; margin-bottom:20px; }
.sidebar-nav { display:flex; flex-direction:column; gap:8px; max-height:calc(100vh - 80px); overflow:auto; }
.nav-group-title { margin:14px 6px 6px; font-size:12px; letter-spacing:.08em; color:#94a3b8; font-weight:700; text-transform:uppercase; }
.sidebar a { color:#cbd5e1; text-decoration:none; padding:12px 14px; border-radius:14px; }
.sidebar a.active, .sidebar a:hover { background:#fff; color:#0f172a; }

.main { padding:24px; min-width:0; }
.topbar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:12px; }
.top-left { display:flex; align-items:center; gap:12px; }
.topbar h1 { margin:0; font-size:32px; }
.crumbs { color:#64748b; font-size:13px; margin-bottom:4px; }
.menu-btn { display:none; border:none; background:#111827; color:#fff; width:42px; height:42px; border-radius:12px; cursor:pointer; }
.badge-group { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.badge { background:#fff; border:1px solid var(--line); padding:10px 14px; border-radius:14px; color:#475569; font-size:14px; }
.badge.soft { background:var(--soft); }
.page-desc { margin:0 0 18px; color:#64748b; }

.cards { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:20px; }
.card, .panel { background:#fff; border:1px solid var(--line); border-radius:24px; padding:20px; box-shadow:0 8px 30px rgba(15,23,42,.04); }
.card-label { color:#64748b; font-size:14px; }
.card-value { font-size:32px; font-weight:700; margin-top:10px; }

.panel-title { font-size:18px; font-weight:700; margin-bottom:14px; }
.toolbar-stack { display:flex; flex-direction:column; gap:12px; margin-bottom:16px; }
.toolbar { display:flex; gap:10px; flex-wrap:wrap; margin:0; }
.toolbar input, .toolbar select, .edit-form input, .edit-form select, .edit-form textarea {
  min-height:42px; border:1px solid var(--line); border-radius:12px; padding:10px 12px; background:#fff; font:inherit; width:100%;
}
.toolbar input, .toolbar select { width:auto; min-width:220px; }
.toolbar button { height:42px; border:none; border-radius:12px; background:#111827; color:#fff; padding:0 16px; cursor:pointer; }
.toolbar-right { justify-content:flex-end; }

.table { display:flex; flex-direction:column; gap:12px; }
.row-card { display:flex; justify-content:space-between; gap:16px; padding:14px 16px; border:1px solid var(--line); border-radius:16px; background:#f8fafc; align-items:flex-start; }
.row-main { min-width:0; display:flex; flex-direction:column; gap:6px; }
.name { font-weight:600; word-break:break-word; }
.status { color:#475569; word-break:break-word; }
.actions { display:flex; gap:10px; flex-wrap:wrap; flex-shrink:0; }
.actions a, .btn { text-decoration:none; color:#0f172a; border:1px solid var(--line); background:#fff; padding:8px 12px; border-radius:12px; font-size:14px; display:inline-flex; align-items:center; justify-content:center; }
.btn.primary { background:#111827; color:#fff; border-color:#111827; }
.empty-state { border:1px dashed var(--line); border-radius:16px; padding:24px; text-align:center; background:var(--soft); }
.empty-title { font-size:18px; font-weight:700; margin-bottom:8px; }
.empty-text { color:var(--muted); }

.detail-list { display:flex; flex-direction:column; gap:12px; }
.detail-item { display:grid; grid-template-columns:180px 1fr; gap:16px; padding:14px 16px; border:1px solid var(--line); border-radius:16px; background:#f8fafc; }
.detail-key { color:#64748b; }
.detail-value { font-weight:600; word-break:break-all; }
.detail-actions { display:flex; gap:12px; margin-top:18px; flex-wrap:wrap; }

.edit-form { display:flex; flex-direction:column; gap:14px; }
.edit-form label { display:flex; flex-direction:column; gap:8px; color:#334155; font-size:14px; }
.edit-form textarea { min-height:110px; resize:vertical; }

@media (max-width: 1100px) {
  .cards { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 900px) {
  .topbar { align-items:flex-start; }
  .badge-group { justify-content:flex-start; }
  .row-card { flex-direction:column; }
  .actions { width:100%; }
}
@media (max-width: 820px) {
  .app-shell { grid-template-columns:1fr; }
  .sidebar { position:fixed; inset:0 auto 0 0; width:260px; transform:translateX(-100%); box-shadow:0 20px 60px rgba(0,0,0,.25); }
  .sidebar.open { transform:translateX(0); }
  .sidebar-backdrop { position:fixed; inset:0; background:rgba(15,23,42,.45); z-index:15; display:none; }
  .sidebar-backdrop.open { display:block; }
  .menu-btn { display:inline-flex; align-items:center; justify-content:center; }
  .topbar { flex-direction:column; align-items:flex-start; }
  .detail-item { grid-template-columns:1fr; }
  .toolbar input, .toolbar select, .toolbar button { width:100%; }
  .toolbar-right { justify-content:stretch; }
}
@media (max-width: 560px) {
  .main { padding:16px; }
  .cards { grid-template-columns:1fr; }
  .topbar h1 { font-size:26px; }
  .card, .panel { padding:16px; border-radius:18px; }
}

:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #172033;
  --muted: #64748b;
  --line: #dbe2ea;
  --primary: #2563eb;
  --danger: #dc2626;
}
body { background: var(--bg); color: var(--text); margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: inherit; text-decoration: none; }
.container { width: min(1480px, calc(100% - 24px)); margin: 0 auto; }
.site-header { background: #0f172a; color: #fff; position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 20px; }
.site-brand-main { font-weight: 700; font-size: 20px; }
.site-brand-sub { font-size: 12px; opacity: .78; }
.site-nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.site-nav a, .nav-user { color: #e2e8f0; font-size: 14px; }
.notice-bar { background: #e0ecff; color: #12315f; padding: 12px 0; }
.page-stack { padding: 28px 0 56px; display: grid; gap: 24px; }
.hero-card, .detail-card, .auth-card, .empty-panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 12px 24px rgba(15,23,42,.05); }
.hero-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.eyebrow { color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.hero-card h1 { margin: 0 0 12px; font-size: 36px; }
.hero-text, .muted, .footer-text { color: var(--muted); }
.hero-actions, .action-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; cursor: pointer; }
.btn.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn.danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn.block { width: 100%; }
.hero-meta, .list-stack, .summary-list { display: grid; gap: 12px; }
.mini-card, .list-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fbfdff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.product-card h3 { margin: 0; }
.product-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: #eff6ff; color: var(--primary); font-size: 12px; font-weight: 700; width: fit-content; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.section-head.compact h1, .section-head h2 { margin: 0; }
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; }
.filter-bar input, .filter-bar select, .auth-card input, .detail-card input, .detail-card select { flex: 1; min-width: 180px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.filter-bar button { padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.detail-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.price-line { font-size: 28px; font-weight: 700; margin: 12px 0; }
.stock-line { color: var(--muted); font-size: 14px; }
.detail-text { white-space: pre-wrap; line-height: 1.7; color: #334155; }
.auth-card { max-width: 520px; }
.auth-card h1, .auth-card h2 { margin-top: 0; }
.auth-card form, .detail-card form { display: grid; gap: 12px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 12px; }
.alert { padding: 12px 14px; border-radius: 12px; background: #eff6ff; color: #1d4ed8; }
.alert.error { background: #fef2f2; color: #b91c1c; }
.hint-box { margin-top: 16px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }
.summary-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #eef2f7; }
.summary-list > div:last-child { border-bottom: 0; }
.list-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.list-right { text-align: right; display: grid; gap: 6px; }
.site-footer { background: #0f172a; color: #cbd5e1; padding: 28px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 8px; }
.empty-panel.large { text-align: center; }
@media (max-width: 820px) {
  .hero-card, .detail-layout, .footer-grid { grid-template-columns: 1fr; }
  .header-inner, .site-nav, .list-card, .summary-list > div { align-items: flex-start; }
  .list-card { flex-direction: column; }
}

.query-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;align-items:end}.query-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#475569}.query-form input{border:1px solid #cbd5e1;border-radius:10px;padding:12px}.form-error{margin-top:12px;color:#b91c1c;background:#fee2e2;border-radius:10px;padding:10px 12px}.nav-user{padding:8px 12px;background:#eff6ff;border-radius:999px;font-size:13px;color:#1d4ed8}.site-brand-logo{width:36px;height:36px;border-radius:10px;object-fit:cover}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.summary-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.summary-list div{background:#f8fafc;border-radius:12px;padding:12px}.summary-list span{display:block;font-size:12px;color:#64748b;margin-bottom:4px}.summary-list strong{font-size:15px;color:#0f172a}.detail-card{background:#fff;border-radius:18px;padding:20px;box-shadow:0 10px 25px rgba(15,23,42,.06)}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.list-stack{display:grid;gap:12px}.list-card{background:#f8fafc;border-radius:14px;padding:14px}.card-title{font-weight:700;color:#0f172a}.muted{color:#64748b}.empty-panel{background:#f8fafc;border-radius:14px;padding:18px;color:#64748b}.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:10px;border:1px solid #cbd5e1;text-decoration:none;color:#0f172a;background:#fff}.btn.primary{background:#2563eb;color:#fff;border-color:#2563eb}

.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:700}.category-pills{display:flex;flex-wrap:wrap;gap:10px}.pill-link{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:600}.pagination-bar{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:8px}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.form-grid-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.detail-card textarea{width:100%;min-height:96px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;resize:vertical}.message-meta{display:flex;gap:10px;flex-wrap:wrap;color:#64748b;font-size:13px}.message-status{display:inline-flex;padding:4px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:700;font-size:12px}.message-status.read{background:#ecfdf5;color:#047857}

.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.detail-section{margin-top:18px}.pill-link.active{background:#2563eb;color:#fff}.profile-card form{display:grid;gap:12px}

.panel-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.panel-intro{font-size:14px;color:#64748b}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff}.admin-table{width:100%;border-collapse:collapse;min-width:920px}.admin-table thead th{background:#f8fafc;color:#334155;font-size:13px;font-weight:700;padding:14px 12px;text-align:left;border-bottom:1px solid var(--line)}.admin-table tbody td{padding:14px 12px;border-bottom:1px solid #eef2f7;vertical-align:top;font-size:14px;color:#0f172a}.admin-table tbody tr:last-child td{border-bottom:none}.table-actions{display:flex;flex-wrap:wrap;gap:8px}.mini-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:8px;border:1px solid #dbe2ea;background:#fff;color:#334155;font-size:12px;font-weight:600;text-decoration:none}.mini-btn.primary{background:#2563eb;border-color:#2563eb;color:#fff}.mini-btn.success{background:#22c55e;border-color:#22c55e;color:#fff}.mini-btn.warn{background:#f59e0b;border-color:#f59e0b;color:#fff}.mini-btn.danger{background:#ef4444;border-color:#ef4444;color:#fff}.mini-btn.soft{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.status-pill,.tag-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700}.status-pill.ok{background:#ecfdf5;color:#047857}.status-pill.warn{background:#fef3c7;color:#b45309}.status-pill.off{background:#fee2e2;color:#b91c1c}.status-pill.info{background:#eff6ff;color:#1d4ed8}.muted-inline{color:#94a3b8;font-size:12px}.cell-stack{display:grid;gap:6px}.cell-main{font-weight:600}.cell-sub{color:#64748b;font-size:12px;line-height:1.5}.link-text{color:#2563eb;text-decoration:none}.link-text:hover{text-decoration:underline}

.page-note{margin:0 0 18px;padding:12px 14px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:14px;line-height:1.6}
.toolbar-panel{align-items:flex-end;justify-content:space-between;border:1px solid var(--line);border-radius:18px;background:#fff;padding:16px}
.query-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;flex:1 1 auto}
.query-field{display:flex;flex-direction:column;gap:6px;color:#475569;font-size:13px;font-weight:600}
.query-field input,.query-field select{width:100%;min-width:0}
.query-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.btn.success{background:#22c55e;color:#fff;border-color:#22c55e}.btn.warn{background:#f59e0b;color:#fff;border-color:#f59e0b}.btn.soft{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.btn.danger{background:#ef4444;color:#fff;border-color:#ef4444}
@media (max-width:820px){.toolbar-panel{padding:14px}.query-actions{width:100%}.query-actions .btn,.query-actions button{width:100%}}

.product-detail-shell{display:grid;gap:18px}.product-hero-card{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:stretch}.product-hero-media{min-height:280px;border-radius:16px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-hero-media img{width:100%;height:100%;object-fit:cover}.product-hero-placeholder{display:grid;place-items:center;text-align:center;color:#64748b;gap:8px;padding:28px}.product-hero-placeholder span{width:88px;height:88px;border-radius:999px;background:#e2e8f0;color:#0f172a;font-size:40px;font-weight:700;display:grid;place-items:center}.product-hero-body{display:grid;gap:14px}.product-hero-topline{display:flex;gap:10px;flex-wrap:wrap}.product-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#2563eb;color:#fff;font-size:12px}.product-badge.soft{background:#eff6ff;color:#1d4ed8}.product-subtitle{margin-top:-4px}.product-price-row{display:grid;grid-template-columns:180px 1fr;gap:16px;align-items:stretch}.product-price-label{font-size:12px;color:#64748b;margin-bottom:6px}.product-price{font-size:34px;font-weight:800;color:#0f172a;line-height:1}.product-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-meta-grid div{background:#f8fafc;border-radius:14px;padding:12px}.product-meta-grid span{display:block;font-size:12px;color:#64748b;margin-bottom:4px}.product-meta-grid strong{font-size:15px;color:#0f172a}.product-balance-bar,.product-login-tip{padding:12px 14px;border-radius:14px;background:#eff6ff;color:#1d4ed8}.product-login-tip a{margin-left:8px}.detail-layout--product{grid-template-columns:1.05fr .95fr}.section-title{font-size:18px;font-weight:700;color:#0f172a;margin-bottom:14px}.rich-text-block{line-height:1.8;white-space:pre-wrap;word-break:break-word}.order-card--reference{display:grid;gap:14px}.order-confirm-form{display:grid;gap:14px}.confirm-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-confirm-form label{display:grid;gap:6px}.order-confirm-form label span{font-size:14px;color:#475569}.order-confirm-form input{border:1px solid #cbd5e1;border-radius:10px;padding:12px}.hint-box.compact{margin:0}.promo-card{display:grid;gap:12px}.promo-image-wrap{border-radius:16px;overflow:hidden;background:#f8fafc}.promo-image-wrap img{display:block;width:100%;height:auto}.block{width:100%}@media (max-width:900px){.product-hero-card,.detail-layout--product,.product-price-row{grid-template-columns:1fr}.product-hero-media{min-height:220px}.product-meta-grid,.confirm-summary-grid{grid-template-columns:1fr}}
.action-menu{position:relative;display:inline-block}
.action-menu summary{list-style:none;cursor:pointer}
.action-menu summary::-webkit-details-marker{display:none}
.action-menu__panel{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:180px;padding:8px;border:1px solid #dbe2ea;border-radius:12px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.14);display:grid;gap:6px}
.action-menu__link{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:8px;color:#334155;text-decoration:none;font-size:12px;font-weight:600}
.action-menu__link:hover{background:#f8fafc}
.action-menu__link.primary{color:#1d4ed8}
.action-menu__link.warn{color:#b45309}
.action-menu__link.success{color:#047857}
.action-menu__link.danger{color:#b91c1c}
.quick-chip{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:8px;border:1px solid #dbe2ea;background:#fff;color:#334155;font-size:12px;font-weight:700;text-decoration:none}
.quick-chip.primary{background:#2563eb;border-color:#2563eb;color:#fff}
.quick-chip.success{background:#22c55e;border-color:#22c55e;color:#fff}
.quick-chip.warn{background:#f59e0b;border-color:#f59e0b;color:#fff}
.quick-chip.danger{background:#ef4444;border-color:#ef4444;color:#fff}
.quick-chip.soft{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.log-stack{display:grid;gap:6px;line-height:1.6}
.log-stack b{color:#0f172a}
.mono-inline{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;color:#0f172a}

.text-up{color:#dc2626;font-weight:700}
.text-down{color:#047857;font-weight:700}

/* rebuild wave 6/7 */
.sidebar {
  background: #3c435d;
}
.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}
.sidebar-nav {
  gap: 6px;
}
.nav-single,
.nav-group__summary,
.nav-child {
  display: flex;
  align-items: center;
  width: 100%;
  color: #d8dbe8;
  text-decoration: none;
  border-radius: 0;
}
.nav-single,
.nav-group__summary {
  min-height: 48px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
}
.nav-single.active,
.nav-group__summary.active,
.nav-group__summary:hover,
.nav-single:hover {
  background: #30364d;
  color: #fff;
}
.nav-group {
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav-group__summary {
  cursor: pointer;
  list-style: none;
  justify-content: space-between;
}
.nav-group__summary::-webkit-details-marker {
  display: none;
}
.nav-group__arrow {
  color: #9ea5bf;
  font-size: 22px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform .18s ease;
}
.nav-group[open] .nav-group__arrow {
  transform: rotate(90deg);
}
.nav-group__items {
  background: rgba(255,255,255,.04);
}
.nav-child {
  min-height: 42px;
  padding: 0 14px 0 28px;
  font-size: 14px;
  border-left: 0;
}
.nav-child.active,
.nav-child:hover {
  background: rgba(255,255,255,.92);
  color: #1f2433;
  box-shadow: inset 0 0 0 1px rgba(22,119,255,.08);
}

.reference-form-shell {
  display: grid;
  gap: 18px;
}
.reference-form {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(420px, 1.05fr);
  gap: 18px;
}
.reference-form__panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}
.reference-form__panel-title {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}
.reference-form__panel-body {
  padding: 16px;
  display: grid;
  gap: 14px;
}
.reference-field {
  display: grid;
  gap: 6px;
}
.reference-field > span {
  font-size: 14px;
  color: #334155;
  font-weight: 600;
}
.reference-field input,
.reference-field select,
.reference-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}
.reference-field textarea {
  min-height: 96px;
  resize: vertical;
}
.reference-help {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eefbf1;
  color: #15803d;
  font-size: 13px;
  line-height: 1.5;
}
.reference-field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.reference-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 23, 42, .42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-card {
  width: min(100%, 720px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
  overflow: hidden;
}
.modal-card--narrow {
  width: min(100%, 520px);
}
.modal-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
}
.modal-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}
.modal-card__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  text-decoration: none;
  color: #64748b;
  font-size: 30px;
}
.modal-card__body {
  padding: 20px;
  display: grid;
  gap: 14px;
}
.modal-card__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px 20px;
}
.modal-field-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 0;
  align-items: stretch;
}
.modal-field-row select,
.modal-field-row input {
  border-radius: 0;
  min-height: 48px;
}
.modal-field-row > *:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.modal-field-row > *:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.modal-unit {
  min-width: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-left: none;
  background: #fff;
  color: #475569;
  font-size: 14px;
}
.modal-note-row {
  display: grid;
  grid-template-columns: 160px 1fr;
}
.modal-note-row > div {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  background: #fff;
}
.modal-note-row > div:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  color: #475569;
}
.modal-note-row > div:last-child {
  border-left: none;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.modal-note-row input {
  border: none;
  border-radius: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .reference-form {
    grid-template-columns: 1fr;
  }
  .reference-field-row {
    grid-template-columns: 1fr;
  }
  .modal-field-row,
  .modal-note-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .modal-unit {
    border-left: 1px solid #cbd5e1;
    border-radius: 10px;
    min-height: 44px;
  }
}

/* storefront alignment 3.29.1 */
.sf-shell{background:#f2f4f7;min-height:100vh;color:#1f2937}
.sf-topbar{background:#2f3847;color:#dbe2ea;font-size:12px;border-bottom:1px solid rgba(255,255,255,.06)}
.sf-topbar-inner,.sf-header-inner,.sf-nav-inner,.sf-notice-inner,.sf-footer-inner{display:flex;justify-content:space-between;align-items:center;gap:16px}
.sf-topbar-inner{min-height:34px}.sf-topbar-right{display:flex;gap:14px;flex-wrap:wrap}.sf-topbar-right a{color:#dbe2ea}.sf-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;margin-left:4px}
.sf-header{background:#fff;border-bottom:1px solid #dbe2ea}.sf-header-inner{padding:18px 0}.sf-brand-main{font-size:28px;font-weight:800;color:#111827}.sf-brand-sub{font-size:13px;color:#64748b;margin-top:6px}.sf-header-meta{display:flex;gap:12px;flex-wrap:wrap}.sf-header-meta-item{min-width:150px;padding:10px 12px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:10px;display:grid;gap:4px}.sf-header-meta-item strong{font-size:12px;color:#64748b}.sf-header-meta-item span{font-size:14px;color:#111827;font-weight:600}.sf-nav{background:#4c576a;border-bottom:1px solid #3d4656}.sf-nav-inner{min-height:44px;justify-content:flex-start;gap:0;overflow:auto}.sf-nav-inner a{display:flex;align-items:center;justify-content:center;padding:0 18px;height:44px;color:#e5e7eb;white-space:nowrap;font-size:14px}.sf-nav-inner a.active,.sf-nav-inner a:hover{background:#fff;color:#1f2937}.sf-notice{background:#fff7e8;border-bottom:1px solid #f6ddb5}.sf-notice-inner{padding:10px 0;justify-content:flex-start}.sf-notice-inner strong{color:#b45309}.sf-notice-inner span{color:#6b7280}.sf-main{padding:18px 0 40px}.sf-main-inner{display:grid;gap:18px}.sf-footer{margin-top:10px;padding:18px 0;background:#fff;border-top:1px solid #dbe2ea}.sf-footer-inner{font-size:12px;color:#64748b}
.sf-panel-eyebrow{display:inline-flex;padding:4px 10px;border-radius:999px;background:#e5efff;color:#1d4ed8;font-size:12px;font-weight:700;margin-bottom:10px}.sf-section-title{font-size:18px;font-weight:800;color:#111827;margin-bottom:14px}.top-gap{margin-top:20px}
.sf-home-top{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px}.sf-home-mainbox,.sf-home-sidebox,.sf-main-panel,.sf-left-panel,.sf-order-panel{background:#fff;border:1px solid #dbe2ea;border-radius:8px;padding:18px}.sf-home-mainbox-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.sf-home-mainbox h1{margin:0 0 10px;font-size:28px}.sf-home-mainbox p{margin:0;color:#64748b;line-height:1.8}.sf-home-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.sf-home-announce{margin-top:16px;padding-top:14px;border-top:1px dashed #dbe2ea}.sf-home-announce-title{font-size:14px;font-weight:700;margin-bottom:8px}.sf-home-announce ul{margin:0;padding-left:18px;color:#4b5563;line-height:1.8}.sf-home-sidebox{display:grid;gap:10px;align-content:start}.sf-sidebox-title{font-size:16px;font-weight:800}.sf-home-sidebox a{display:flex;align-items:center;min-height:40px;padding:0 12px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:6px;color:#374151}.sf-home-panels{display:grid;grid-template-columns:300px 1fr;gap:16px}.sf-class-list,.sf-left-list{display:grid;gap:8px}.sf-class-list a,.sf-left-list a{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:6px;color:#374151}.sf-left-list a.active,.sf-class-list a:hover,.sf-left-list a:hover{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.sf-class-list strong,.sf-left-list span{font-size:12px;color:#64748b}.sf-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sf-stat-grid div{border:1px solid #e5e7eb;border-radius:6px;padding:12px;background:#f8fafc}.sf-stat-grid span{display:block;font-size:12px;color:#64748b;margin-bottom:4px}.sf-stat-grid strong{font-size:22px}.sf-list-panel{background:#fff;border:1px solid #dbe2ea;border-radius:8px;padding:18px}.sf-product-table{display:grid;gap:10px}.sf-product-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 100px 120px;gap:16px;align-items:center;padding:12px 14px;border:1px solid #e5e7eb;background:#fff;border-radius:6px}.sf-product-row:hover{border-color:#bfdbfe;background:#f8fbff}.sf-product-row-main{display:grid;gap:4px}.sf-product-row-main strong{font-size:15px;color:#111827}.sf-product-row-main span{font-size:13px;color:#64748b;line-height:1.6}.sf-product-row-meta{font-size:13px;color:#4b5563}.sf-product-row-price{font-size:20px;font-weight:800;color:#dc2626;text-align:right}.sf-simple-list{display:grid;gap:10px}.sf-simple-item{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 14px;border:1px solid #e5e7eb;background:#fff;border-radius:6px}.sf-simple-item > div:first-child{display:grid;gap:4px}.sf-simple-item strong{font-size:14px;color:#111827}.sf-simple-item span{font-size:13px;color:#64748b}.sf-simple-item-right{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.sf-simple-item-right a{color:#2563eb}.sf-message-item{align-items:flex-start}
.sf-auth-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(360px,.95fr);gap:18px;align-items:start}.sf-auth-layout-double{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-auth-intro,.sf-auth-panel{background:#fff;border:1px solid #dbe2ea;border-radius:8px;padding:22px}.sf-auth-intro p{margin:0 0 14px;color:#64748b;line-height:1.8}.sf-auth-intro ul{margin:0;padding-left:18px;color:#4b5563;line-height:1.9}.sf-auth-tabs{display:flex;gap:0;border-bottom:1px solid #e5e7eb;margin:-22px -22px 18px;padding:0 22px}.sf-auth-tabs a{display:flex;align-items:center;height:46px;padding:0 18px;color:#64748b}.sf-auth-tabs a.active{color:#1d4ed8;border-bottom:2px solid #2563eb;font-weight:700}.sf-auth-form{display:grid;gap:14px}.sf-auth-form label,.sf-order-form label,.sf-query-panel label,.sf-profile-form label{display:grid;gap:6px}.sf-auth-form span,.sf-order-form span,.sf-query-panel span,.sf-profile-form span{font-size:14px;color:#475569;font-weight:600}.sf-auth-form input,.sf-order-form input,.sf-query-panel input,.sf-query-panel select,.sf-profile-form input{min-height:42px;border:1px solid #d1d5db;border-radius:6px;padding:10px 12px;background:#fff}.sf-auth-foot{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:14px;font-size:13px}.sf-auth-foot a{color:#2563eb}
.sf-layout-2col{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px}.sf-layout-2col-tight{grid-template-columns:minmax(0,1fr) 360px}.sf-left-panel{align-self:start}.sf-main-panel{display:grid;gap:14px}.sf-filter-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 160px;gap:12px;align-items:end;padding:14px;border:1px solid #e5e7eb;border-radius:6px;background:#f8fafc}.sf-filter-actions{display:flex;align-items:flex-end}.sf-pagination{display:flex;justify-content:center;align-items:center;gap:12px;padding-top:8px}
.sf-goods-head{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px}.sf-goods-media,.sf-goods-info{background:#fff;border:1px solid #dbe2ea;border-radius:8px;padding:18px}.sf-goods-media{display:flex;align-items:center;justify-content:center;min-height:360px;overflow:hidden}.sf-goods-media img{width:100%;height:100%;object-fit:cover;border-radius:6px}.sf-goods-placeholder{display:grid;gap:8px;place-items:center;color:#64748b}.sf-goods-placeholder strong{width:88px;height:88px;border-radius:999px;background:#e5e7eb;color:#111827;display:grid;place-items:center;font-size:40px}.sf-goods-info h1{margin:0 0 10px;font-size:28px}.sf-goods-subtitle{color:#64748b;margin-bottom:14px}.sf-goods-price{font-size:34px;font-weight:800;color:#dc2626;margin-bottom:14px}.sf-goods-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sf-goods-grid div{padding:12px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:6px}.sf-goods-grid span{display:block;font-size:12px;color:#64748b;margin-bottom:4px}.sf-goods-tip{margin-top:14px;padding:12px 14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#1d4ed8}.sf-order-panel{align-self:start}.sf-order-summary{display:grid;gap:8px;padding:12px;border:1px dashed #dbe2ea;border-radius:6px;background:#f8fafc}.sf-order-summary div{display:flex;justify-content:space-between;gap:16px}.sf-richtext{line-height:1.9;color:#374151;white-space:pre-wrap;word-break:break-word}.sf-promo-wrap{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#f8fafc}.sf-promo-wrap img{display:block;width:100%;height:auto}
.member-shell{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px}.member-side-card{background:#fff;border:1px solid #dbe2ea;border-radius:8px;padding:0;align-self:start;overflow:hidden}.member-side-user{padding:18px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.member-side-title{font-size:16px;font-weight:800}.member-side-name{margin-top:6px;font-size:18px;font-weight:700}.member-side-balance{margin-top:8px;color:#64748b}.member-side-nav{display:grid}.member-side-nav a{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:0 16px;border-top:1px solid #f1f5f9;color:#374151}.member-side-nav a.active,.member-side-nav a:hover{background:#eff6ff;color:#1d4ed8}.member-side-nav span{display:inline-flex;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;align-items:center;justify-content:center}.member-main{display:grid;gap:16px}.sf-member-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sf-member-summary.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-member-summary div{padding:12px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:6px}.sf-member-summary span{display:block;font-size:12px;color:#64748b;margin-bottom:4px}.sf-order-table{display:grid;gap:0;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}.sf-order-table-head,.sf-order-table-row{display:grid;grid-template-columns:1.2fr 1.1fr .8fr 1fr .6fr;gap:12px;padding:12px 14px;align-items:center}.sf-order-table-head{background:#f8fafc;color:#475569;font-size:13px;font-weight:700}.sf-order-table-row{background:#fff;border-top:1px solid #eef2f7;font-size:14px}.sf-order-table-row a{color:#2563eb}.sf-ledger-head,.sf-ledger-row{grid-template-columns:1.2fr .8fr .8fr 1.2fr .9fr}.sf-query-panel{display:grid;grid-template-columns:1fr 1fr 140px;gap:12px;align-items:end;padding:14px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:6px}.sf-query-actions{display:flex;align-items:flex-end}.sf-pay-shell{display:grid;justify-items:center}.sf-pay-shell .sf-main-panel{width:min(820px,100%)}
@media (max-width:980px){.sf-home-top,.sf-home-panels,.sf-auth-layout,.sf-auth-layout-double,.sf-layout-2col,.sf-layout-2col-tight,.sf-goods-head,.member-shell{grid-template-columns:1fr}.sf-filter-panel,.sf-query-panel{grid-template-columns:1fr}.sf-goods-grid,.sf-member-summary,.sf-member-summary.compact-grid,.sf-stat-grid{grid-template-columns:1fr 1fr}.sf-product-row{grid-template-columns:1fr}.sf-product-row-price{text-align:left}.sf-order-table-head{display:none}.sf-order-table-row,.sf-ledger-row{grid-template-columns:1fr}.sf-home-mainbox-head{flex-direction:column}.sf-home-actions{justify-content:flex-start}}
@media (max-width:640px){.container{width:min(100%,calc(100% - 20px))}.sf-header-inner,.sf-footer-inner,.sf-topbar-inner,.sf-notice-inner{flex-direction:column;align-items:flex-start}.sf-header-meta,.sf-topbar-right,.sf-nav-inner{width:100%}.sf-nav-inner a{padding:0 14px}.sf-goods-grid,.sf-member-summary,.sf-member-summary.compact-grid{grid-template-columns:1fr}.sf-auth-tabs{overflow:auto}.sf-auth-tabs a{white-space:nowrap}}

/* storefront 3.29.2 */
.portal-shell{background:#f4f5f7;min-height:100vh;color:#2f3747}
.portal-header{background:#fff;border-bottom:1px solid #eceef2;position:sticky;top:0;z-index:20}
.portal-header__inner{display:grid;grid-template-columns:180px minmax(320px,1fr) auto;gap:22px;align-items:center;min-height:78px}
.portal-brand{display:flex;align-items:center;gap:18px;color:#111827}.portal-brand strong{font-size:28px;font-weight:900}.portal-brand span{display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;text-orientation:mixed;font-size:14px;color:#1f2937;border-left:1px solid #eceef2;padding-left:10px;height:44px}
.portal-search{display:grid;grid-template-columns:minmax(0,1fr) 58px;max-width:560px;border:3px solid #82d7b0;border-radius:12px;overflow:hidden;background:#fff}.portal-search input{border:0;min-height:54px;padding:0 18px;font-size:16px}.portal-search button{border:0;background:#77d4a6;color:#fff;font-weight:700;font-size:16px}
.portal-header__actions{display:flex;align-items:center;gap:14px}.portal-pill{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:999px;font-weight:700;color:#7c4a00;background:#f9e7b2}.portal-pill.notice{background:linear-gradient(90deg,#ffd6a1,#ff918f);color:#fff}.portal-top-links{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:#697386}.portal-top-links a{color:#697386}
.portal-notice-bar{background:#f0f3ee;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2}.portal-notice-bar__inner{display:flex;align-items:center;gap:10px;min-height:50px;color:#637085}.portal-notice-icon{font-size:18px}
.portal-main{padding:18px 0 34px}.portal-main__inner{display:grid;gap:18px}
.portal-home-grid{display:grid;grid-template-columns:260px minmax(0,1fr) 340px;gap:18px;align-items:start}
.portal-sidebar-card,.portal-user-card,.portal-card,.portal-detail-card,.portal-auth-card{background:#fff;border:1px solid #eceef2;border-radius:18px;box-shadow:0 6px 20px rgba(15,23,42,.04)}
.portal-sidebar-card{padding:18px}.portal-sidebar-title,.portal-card__title{font-size:28px;font-weight:900;color:#222;margin-bottom:16px}.portal-sidebar-list{display:grid;gap:8px}.portal-sidebar-list a{display:flex;justify-content:space-between;align-items:center;min-height:46px;padding:0 14px;border-radius:12px;color:#4b5563;background:#fafbfc;border:1px solid #eef1f4}.portal-sidebar-list a.active,.portal-sidebar-list a:hover{background:#effbf4;color:#1a7f49;border-color:#bde8cf}.portal-sidebar-list em{font-style:normal;color:#98a2b3}
.portal-home-main{display:grid;gap:18px}.portal-banner-card{min-height:340px;border-radius:20px;background:linear-gradient(180deg,#fff6e7,#f1f8e8);border:1px solid #eceef2;padding:34px 36px;display:grid;align-content:center;justify-items:center;text-align:center}.portal-banner-card__headline{font-size:64px;font-weight:900;color:#b97241;letter-spacing:4px;text-shadow:2px 2px 0 rgba(0,0,0,.12)}.portal-banner-card__sub{font-size:28px;font-weight:700;color:#a86b46;margin-top:12px}.portal-banner-card__meta{margin-top:24px;font-size:16px;color:#6b7280;max-width:540px;line-height:1.8}
.portal-announcement-card .portal-card__body{font-size:15px;color:#64748b;line-height:1.8}
.portal-user-card{padding:18px;display:grid;gap:16px}.portal-user-card__top{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center}.portal-avatar{width:72px;height:72px;border-radius:999px;background:#f2f4f8;display:grid;place-items:center;font-size:28px;font-weight:800;color:#95a3b8}.portal-user-meta{display:grid;gap:6px}.portal-user-meta__line{font-size:14px;color:#697386}.portal-user-meta__line strong{color:#111827}.portal-user-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-user-actions a{display:flex;align-items:center;justify-content:center;min-height:72px;border-radius:14px;background:#fbfcfd;border:1px solid #edf0f4;color:#4b5563;font-weight:700;text-align:center;padding:0 8px}
.portal-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.portal-product-grid--wide{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-product-card{display:grid;gap:10px;padding:16px;border-radius:18px;background:#fbfcfd;border:1px solid #edf0f4;color:#111827}.portal-product-card__media{aspect-ratio:1/1;background:#f4d85c;border-radius:18px;overflow:hidden;display:grid;place-items:center}.portal-product-card__media img{width:100%;height:100%;object-fit:cover}.portal-product-card__placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:68px;font-weight:900;color:#f45a5a;background:#f2cf53}.portal-product-card__placeholder.large{min-height:260px}.portal-product-card__name{font-size:18px;font-weight:800}.portal-product-card__desc,.portal-product-card__meta{font-size:13px;color:#7b8794;line-height:1.7}.portal-product-card__price{font-size:20px;font-weight:900;color:#e14d3a}
.portal-filter-card{padding:18px}.portal-filter-grid{display:grid;grid-template-columns:minmax(0,1.2fr) 220px 220px 150px;gap:14px}.portal-filter-grid input,.portal-filter-grid select,.portal-auth-form input,.portal-profile-grid input,.portal-order-form input{min-height:48px;border:1px solid #dde3ea;border-radius:10px;padding:0 14px;background:#fff;font-size:15px}.portal-filter-grid button,.portal-auth-form button{min-height:48px;border:0;border-radius:10px;background:linear-gradient(90deg,#7dd7a6,#a6d450);color:#173b23;font-weight:800;font-size:16px}
.portal-pagination{display:flex;justify-content:center;align-items:center;gap:12px;padding-top:12px}
.portal-detail-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(560px,.9fr);gap:24px;padding:28px}.portal-detail-card__left{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px;align-items:start}.portal-detail-media{background:#f7e883;border-radius:18px;overflow:hidden;aspect-ratio:1/1;display:grid;place-items:center}.portal-detail-media img{width:100%;height:100%;object-fit:cover}.portal-detail-meta h1{margin:0 0 16px;font-size:32px;font-weight:900}.portal-detail-line{font-size:16px;color:#4b5563;line-height:1.8}.portal-detail-price-card{margin-top:18px;padding:16px 18px;background:#edf7ef;border-radius:12px;max-width:280px}.portal-detail-price-card span{display:block;font-size:13px;color:#637085}.portal-detail-price-card strong{display:block;margin-top:6px;font-size:46px;color:#e14d3a}
.portal-detail-card__right{display:grid;gap:18px}.portal-detail-tabs{display:flex;gap:26px;border-bottom:1px solid #ebeff3;padding-bottom:10px}.portal-detail-tabs span{font-size:16px;color:#637085;padding:10px 0}.portal-detail-tabs span.active{color:#182230;font-weight:800;border-bottom:3px solid #6aa7ff}.portal-order-form{display:grid;gap:14px}.portal-order-form label{display:grid;gap:6px}.portal-order-form label span,.portal-profile-grid label span{font-size:14px;color:#637085;font-weight:700}.portal-order-form__qty{display:grid;gap:8px}.portal-order-form__qty em{font-style:normal;font-size:13px;color:#98a2b3}.portal-qty-picker{display:grid;grid-template-columns:54px minmax(0,120px) 54px;gap:0;max-width:228px;border:1px solid #dde3ea;border-radius:12px;overflow:hidden;background:#fff}.portal-qty-picker__btn{border:0;background:#f8fafc;color:#334155;font-size:28px;line-height:1;cursor:pointer}.portal-qty-picker__btn:hover{background:#eef2f7}.portal-qty-picker input{border:0 !important;border-left:1px solid #dde3ea !important;border-right:1px solid #dde3ea !important;border-radius:0 !important;text-align:center;padding:0 12px !important;min-height:54px !important}.portal-order-summary{font-size:20px;color:#4b5563}.portal-order-summary strong{color:#111827;display:inline-block;min-width:110px}.portal-order-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}.portal-order-actions .btn,.portal-pagination .btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:10px;border:1px solid #aab5c2;color:#253041;background:#fff}.portal-order-actions .btn.primary,.portal-pagination .btn.primary{border-color:transparent;background:linear-gradient(90deg,#6aa7ff,#2f75ff);color:#173b23;font-weight:800}
.portal-richtext{white-space:pre-wrap;word-break:break-word;font-size:15px;color:#4b5563;line-height:1.9}.portal-card{padding:20px}.portal-card__body{font-size:14px;color:#667085}.portal-empty{padding:26px 16px;border:1px dashed #dce2e8;border-radius:12px;color:#94a3b8;text-align:center}
.portal-history-table{display:grid;border:1px solid #edf0f4;border-radius:14px;overflow:hidden}.portal-history-table__head,.portal-history-table__row{display:grid;grid-template-columns:.9fr 1.4fr 2fr .7fr 1.2fr .8fr;gap:14px;padding:14px 18px;align-items:center}.portal-history-table__head{background:#edf8f0;color:#455468;font-weight:800;font-size:14px}.portal-history-table__row{background:#fff;border-top:1px solid #edf0f4;font-size:14px;color:#4b5563}.portal-history-table__row a{color:#42a86f;font-weight:700}.portal-history-snapshot{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-v2-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px}.member-v2-sidebar{background:#fff;border:1px solid #eceef2;border-radius:18px;padding:18px}.member-v2-profile{padding-bottom:18px;border-bottom:1px solid #edf0f4}.member-v2-avatar{width:96px;height:96px;border-radius:999px;background:#f3f5f8;display:grid;place-items:center;font-size:36px;font-weight:900;color:#b0b8c4;margin:0 auto 14px}.member-v2-name{text-align:center;font-size:20px;font-weight:800}.member-v2-balance{text-align:center;margin-top:10px;color:#667085}.member-v2-nav{display:grid;gap:8px;padding-top:16px}.member-v2-nav a{display:flex;justify-content:space-between;align-items:center;min-height:46px;padding:0 16px;border-radius:12px;color:#667085;background:#fff}.member-v2-nav a.active,.member-v2-nav a:hover{background:linear-gradient(90deg,#dff5ea,#f2f8ef);color:#17603b;font-weight:700}.member-v2-nav span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px}.member-v2-main{display:grid;gap:18px}
.member-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.member-dashboard-grid--order{grid-template-columns:repeat(3,minmax(0,1fr))}.member-dashboard-grid div{padding:16px;border-radius:14px;background:#fbfcfd;border:1px solid #edf0f4}.member-dashboard-grid span{display:block;font-size:13px;color:#7b8794;margin-bottom:6px}.member-dashboard-grid strong{font-size:22px;color:#111827}
.portal-simple-list{display:grid;gap:12px}.portal-simple-item{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 16px;border-radius:14px;background:#fbfcfd;border:1px solid #edf0f4;color:#111827}.portal-simple-item strong{font-size:15px}.portal-simple-item span{font-size:13px;color:#7b8794}
.portal-order-tabs{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:14px}.portal-order-tabs a{padding:10px 4px;border-bottom:3px solid transparent;color:#7b8794;font-weight:700}.portal-order-tabs a.active{color:#2f75ff;border-color:#6aa7ff}.order-filter{grid-template-columns:1fr 1fr 150px}.portal-order-card-list{display:grid;gap:16px}.portal-order-card{border:1px solid #e8edf2;border-radius:16px;overflow:hidden;background:#fff}.portal-order-card__top{display:flex;gap:18px;flex-wrap:wrap;align-items:center;padding:12px 16px;background:#f5f8ff;font-size:14px;color:#637085}.portal-order-card__top strong{margin-left:auto;color:#2f75ff}.portal-order-card__body{display:grid;grid-template-columns:minmax(0,1.6fr) .7fr .9fr .8fr;gap:14px;padding:18px 16px;align-items:center}.portal-order-card__product{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:center}.portal-order-card__thumb{width:92px;height:92px;border-radius:12px;background:#f4d85c;display:grid;place-items:center;font-size:36px;font-weight:900}.portal-order-card__name{font-size:18px;font-weight:800;color:#111827}.portal-order-card__desc{margin-top:6px;font-size:13px;color:#7b8794}.portal-order-card__price{font-size:24px;font-weight:900;color:#e14d3a}.portal-order-card__progress{display:grid;gap:6px;font-size:14px;color:#4b5563}.portal-order-card__actions{display:grid;gap:8px}.portal-order-card__actions a{display:flex;justify-content:center;align-items:center;min-height:38px;border-radius:10px;background:#f5f8ff;border:1px solid #dbe7ff;color:#2f75ff;font-weight:700}
.portal-auth-shell{display:grid;justify-items:center}.portal-auth-shell--wide .portal-auth-card{width:min(1040px,100%)}.portal-auth-card{width:min(640px,100%);padding:20px}.portal-auth-tabs{display:flex;gap:16px;border-bottom:1px solid #edf0f4;margin-bottom:20px}.portal-auth-tabs a{padding:12px 4px;border-bottom:3px solid transparent;color:#7b8794;font-weight:700}.portal-auth-tabs a.active{color:#1f2937;border-color:#6dcfa3}.portal-auth-form{display:grid;gap:14px}.portal-auth-form--split{margin-top:16px;padding-top:16px;border-top:1px solid #edf0f4}.portal-auth-form label{display:grid;gap:6px}.portal-auth-form span{font-size:14px;color:#637085;font-weight:700}
.portal-profile-form{display:grid;gap:16px}.portal-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.top-gap{margin-top:16px}
@media (max-width:1180px){.portal-home-grid{grid-template-columns:220px minmax(0,1fr)}.portal-user-card{grid-column:1/-1}.portal-product-grid,.portal-product-grid--wide{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-detail-card{grid-template-columns:1fr}.portal-detail-card__left{grid-template-columns:280px minmax(0,1fr)}.member-dashboard-grid,.member-dashboard-grid--order,.portal-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-order-card__body{grid-template-columns:1fr}.portal-filter-grid{grid-template-columns:1fr 1fr}.order-filter{grid-template-columns:1fr 1fr}.portal-recording-layout{grid-template-columns:200px minmax(0,1fr)}.portal-recording-layout .portal-user-panel{grid-column:1/-1;position:static}}
@media (max-width:760px){.portal-header__inner{grid-template-columns:1fr;gap:14px;padding:14px 0}.portal-brand span{writing-mode:horizontal-tb;border-left:0;padding-left:0;height:auto}.portal-home-grid,.member-v2-shell{grid-template-columns:1fr}.portal-product-grid,.portal-product-grid--wide,.member-dashboard-grid,.member-dashboard-grid--order,.portal-profile-grid,.portal-user-actions{grid-template-columns:1fr}.portal-detail-card__left{grid-template-columns:1fr}.portal-filter-grid,.order-filter{grid-template-columns:1fr}.portal-history-table__head{display:none}.portal-history-table__row{grid-template-columns:1fr}.portal-order-card__top{display:grid}.portal-order-card__top strong{margin-left:0}.portal-order-actions{flex-direction:column}.portal-order-actions .btn{width:100%}}

/* admin customer edit 3.29.2 */
.reference-edit-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.95fr);gap:18px;align-items:start}
.reference-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.reference-field{display:grid;gap:6px;margin-bottom:14px}.reference-field span{font-size:14px;color:#475569;font-weight:700}.reference-field input,.reference-field select,.reference-field textarea{min-height:42px;border:1px solid #d1d5db;border-radius:10px;padding:10px 12px;background:#fff}.reference-field textarea{min-height:120px;resize:vertical}.reference-help{font-size:13px;color:#64748b;line-height:1.7;margin-top:8px}
@media (max-width:980px){.reference-edit-grid,.reference-grid-two{grid-template-columns:1fr}}

/* storefront alignment 3.29.4 - recording-inspired frontend */
.container{width:min(1720px,calc(100% - 24px));}
.portal-recording-width{width:100%;}
.portal-shell--recording{background:#f5f6fa;min-height:100vh;color:#1f2937}
.portal-header{background:#fff;border-bottom:1px solid #eef1f5}
.portal-header__inner{display:grid;grid-template-columns:190px minmax(460px,1fr) auto;gap:28px;align-items:center;padding:12px 0 14px}
.portal-brand--stack{display:grid;grid-template-columns:1fr 34px;gap:18px;align-items:center;color:#111827}
.portal-brand--stack strong{display:block;line-height:1.02;font-size:34px;font-weight:900;letter-spacing:-.03em;max-width:150px}
.portal-brand--stack span{display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#111827;border-left:1px solid #e8edf2;min-height:92px}
.portal-brand__logo{width:54px;height:54px;object-fit:cover;border-radius:12px;display:none}
.portal-search--wide{max-width:none;border:4px solid #8fe0b2;border-radius:16px;overflow:hidden;background:#fff}
.portal-search--wide input{min-height:58px;font-size:20px;padding:0 22px;border:0;background:#fff}
.portal-search--wide button{min-width:104px;font-size:24px;font-weight:800;background:linear-gradient(90deg,#7ed9a4,#8cdb97);border:0;color:#fff}
.portal-header__actions{display:flex;align-items:center;gap:18px;justify-content:flex-end}
.portal-pill{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:999px;font-size:22px;font-weight:800;color:#fff;box-shadow:none}
.portal-pill.notice{background:linear-gradient(90deg,#f7d29f,#f08b87)}
.portal-pill.vip{background:linear-gradient(90deg,#f0e7ad,#d9c174);color:#6f4d06}
.portal-top-links{display:flex;gap:16px;flex-wrap:wrap;font-size:22px;color:#6b7280}
.portal-top-links a{color:#6b7280}
.portal-notice-bar{background:#eef1e7;border-top:1px solid #e9eee0;border-bottom:1px solid #e9eee0}
.portal-notice-bar__inner{padding:10px 0;font-size:18px;color:#6b7280;display:flex;align-items:center;gap:14px}
.portal-main{padding:18px 0 40px}
.portal-main__inner{display:grid;gap:18px}

.portal-recording-layout{display:grid;grid-template-columns:200px minmax(0,1fr) 280px;gap:18px;align-items:start}
.portal-recording-main{display:grid;gap:18px;min-width:0}
.portal-tree-sidebar,.portal-user-panel,.portal-hero-banner,.portal-inline-notice,.portal-product-block,.portal-filter-board,.portal-card,.portal-detail-shell,.portal-auth-recording__card{background:#fff;border:1px solid #e8edf2;border-radius:18px;box-shadow:0 4px 14px rgba(17,24,39,.03)}
.portal-tree-sidebar{padding:10px 10px 12px;position:sticky;top:12px}
.portal-tree-sidebar__header{display:flex;justify-content:space-between;align-items:center;padding:8px 10px 14px;font-size:14px;font-weight:800;color:#111827}
.portal-tree-sidebar__header a{font-size:12px;color:#99a1ad}
.portal-tree-sidebar__list{display:grid;gap:6px}
.portal-tree-sidebar__item{display:grid;grid-template-columns:14px minmax(0,1fr) auto 16px;align-items:center;gap:10px;padding:10px 10px;border-radius:10px;color:#4b5563;background:#fff}
.portal-tree-sidebar__item:hover,.portal-tree-sidebar__item.active{background:#f4fbf7;color:#1d5fd7}
.portal-tree-sidebar__dot{width:10px;height:10px;border-radius:4px;background:#e8ecf2}
.portal-tree-sidebar__item.active .portal-tree-sidebar__dot{background:#7dd29b}
.portal-tree-sidebar__name{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-tree-sidebar__item em{font-style:normal;font-size:12px;color:#98a2b3}
.portal-tree-sidebar__item i{font-style:normal;color:#b6bfcb}

.portal-hero-banner{padding:24px 28px;min-height:248px;background:linear-gradient(180deg,#fbfaf1,#f5f3de);display:flex;align-items:center;justify-content:center;text-align:center;position:relative}
.portal-hero-banner__title{font-size:72px;font-weight:900;letter-spacing:4px;color:#b86f45;text-shadow:2px 2px 0 rgba(32,27,19,.2)}
.portal-hero-banner__sub{margin-top:10px;font-size:28px;font-weight:800;color:#8b5e45}
.portal-hero-banner__desc{margin-top:18px;font-size:16px;color:#6b7280}
.portal-inline-notice{display:flex;align-items:center;gap:14px;padding:10px 16px;background:#f6fcf8;border-radius:14px;color:#6b7280;font-size:15px}
.portal-product-block{padding:18px}
.portal-product-block__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.portal-product-block__head h2{margin:0;font-size:18px;font-weight:900;color:#111827}
.portal-product-block__head a{font-size:14px;color:#6b7280}
.portal-record-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}
.portal-record-card{display:grid;gap:10px;padding:16px;border-radius:16px;background:#fff;border:1px solid #ecf1f5;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.portal-record-card:hover{transform:translateY(-2px);border-color:#d7e9dc;box-shadow:0 10px 24px rgba(17,24,39,.06)}
.portal-record-card__media{aspect-ratio:1/1;border-radius:14px;background:#f3d253;overflow:hidden;display:grid;place-items:center}
.portal-record-card__media img{width:100%;height:100%;object-fit:cover}
.portal-record-card__placeholder{font-size:84px;font-weight:900;color:#ef6a58;display:grid;place-items:center;width:100%;height:100%}
.portal-record-card__placeholder--large{font-size:112px}
.portal-record-card__name{font-size:18px;font-weight:800;color:#111827;line-height:1.3}
.portal-record-card__tag{font-size:13px;color:#7b8794;min-height:18px}
.portal-record-card__price{font-size:28px;font-weight:900;color:#e3543f}

.portal-user-panel{padding:16px;position:sticky;top:12px;display:grid;gap:16px}
.portal-user-panel__head{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:start;position:relative}
.portal-user-panel__avatar{width:72px;height:72px;border-radius:999px;background:#f4f5f8;color:#a9b3c2;display:grid;place-items:center;font-size:34px;font-weight:900}
.portal-user-panel__meta{display:grid;gap:6px;min-width:0}
.portal-user-panel__line{font-size:13px;color:#667085;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-user-panel__line strong{font-size:20px;color:#ef6b59}
.portal-user-panel__logout{position:absolute;right:0;top:0;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:12px;background:#f4f7fc;border:1px solid #e4e9f1;font-size:14px;color:#5b6473}
.portal-shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.portal-shortcut-grid a{display:grid;justify-items:center;gap:8px;padding:14px 10px;border-radius:14px;background:#fbfcfd;border:1px solid #ecf1f5;color:#5d6676;text-align:center}
.portal-shortcut-grid a span{font-size:24px;line-height:1}
.portal-shortcut-grid a strong{font-size:13px;font-weight:700}
.portal-shortcut-grid--member{grid-template-columns:repeat(4,minmax(0,1fr))}

.portal-filter-board{padding:18px}
.portal-filter-board__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.portal-filter-board__head h2{margin:0;font-size:18px;font-weight:900;color:#111827}
.portal-filter-board__head span{font-size:14px;color:#98a2b3}
.portal-filter-form{display:grid;grid-template-columns:minmax(0,1fr) 220px 220px 136px;gap:14px;align-items:center}
.portal-filter-form input,.portal-filter-form select,.portal-auth-form input,.profile-recording-form input,.portal-order-form input{min-height:52px;border:1px solid #dde5ec;border-radius:12px;padding:0 16px;background:#fff;font-size:15px;color:#1f2937}
.portal-filter-form button,.portal-auth-form button,.profile-recording-form button,.portal-order-actions .btn.primary{min-height:52px;border-radius:12px;border:0;background:linear-gradient(90deg,#6aa7ff,#2f75ff);color:#173b23;font-size:16px;font-weight:800}
.portal-filter-form--orders{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 136px}
.portal-record-grid--products{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}

.portal-detail-layout{display:grid;gap:18px}
.portal-detail-shell{display:grid;grid-template-columns:minmax(380px,.9fr) minmax(0,1.1fr);gap:22px;padding:26px}
.portal-detail-shell__media-card{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px}
.portal-detail-square-media{aspect-ratio:1/1;border-radius:18px;background:#f3d253;overflow:hidden;display:grid;place-items:center}
.portal-detail-square-media img{width:100%;height:100%;object-fit:cover}
.portal-detail-shell__summary{display:grid;align-content:start;gap:12px}
.portal-detail-shell__summary h1{margin:0;font-size:36px;font-weight:900;color:#111827;line-height:1.1}
.portal-detail-shell__line{font-size:16px;color:#556070}
.portal-detail-price-band{padding:16px 18px;border-radius:16px;background:#edf8f0;max-width:300px;margin-top:8px}
.portal-detail-price-band span{display:block;font-size:14px;color:#6f7c8d}
.portal-detail-price-band strong{display:block;margin-top:6px;font-size:52px;font-weight:900;color:#e55d45;line-height:1}
.portal-detail-shell__order-card{display:grid;gap:16px;min-width:0}
.portal-detail-tabs{display:flex;gap:22px;border-bottom:1px solid #edf0f4;padding-bottom:12px}
.portal-detail-tabs button{border:0;background:transparent;padding:10px 0;font-size:18px;font-weight:700;color:#7b8794;cursor:pointer}
.portal-detail-tabs button.active{color:#111827;border-bottom:3px solid #6aa7ff}
.portal-detail-panel{display:none}
.portal-detail-panel.active{display:block}
.portal-order-form--recording{display:grid;gap:14px}
.portal-order-form--recording label{display:grid;gap:6px}
.portal-order-form--recording label span{font-size:15px;font-weight:700;color:#5f6c7d}
.portal-execution-modes{display:grid;gap:10px}
.portal-execution-modes span{font-size:15px;font-weight:700;color:#5f6c7d}
.portal-chip-row{display:flex;gap:12px;flex-wrap:wrap}
.portal-chip{min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #dbe3e9;background:#fff;font-size:14px;font-weight:700;color:#4b5563;cursor:pointer}
.portal-chip.active{background:linear-gradient(90deg,#f1fbf4,#e8f7ea);border-color:#7dd4a6;color:#1d9a5c}
.portal-chip[disabled]{opacity:.52;cursor:not-allowed}
.portal-order-form__qty--recording{display:grid;gap:8px}.portal-order-form__qty--recording span{font-size:15px;font-weight:700;color:#5f6c7d}
.portal-qty-picker{display:grid;grid-template-columns:56px 120px 56px;max-width:232px;border:1px solid #dbe3e9;border-radius:12px;overflow:hidden;background:#fff}
.portal-qty-picker__btn{border:0;background:#f6f8fb;font-size:28px;color:#455468;cursor:pointer}
.portal-qty-picker__btn:hover{background:#eef2f6}
.portal-qty-picker input{text-align:center;border:0;border-left:1px solid #dbe3e9;border-right:1px solid #dbe3e9;border-radius:0;padding:0 12px;min-height:52px}
.portal-order-form__qty--recording em{font-style:normal;font-size:13px;color:#98a2b3}
.portal-order-summary--recording{font-size:20px;color:#556070;padding-top:4px}
.portal-order-summary--recording strong{display:inline-block;min-width:120px;font-size:22px;color:#111827}
.portal-order-actions--recording{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}
.portal-order-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:12px;border:1px solid #aeb8c6;background:#fff;color:#364152;font-size:15px;font-weight:700}
.portal-card--detail-body,.portal-card--history{padding:20px 24px}
.portal-history-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.portal-history-toolbar__pill{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 16px;border-radius:999px;background:#eaf9ee;color:#279e61;font-size:13px;font-weight:800}
.portal-history-toolbar__note{font-size:13px;color:#98a2b3}

.member-recording-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px}
.member-panel{background:#fff;border:1px solid #e8edf2;border-radius:18px;padding:16px;align-self:start;position:sticky;top:12px;display:grid;gap:18px}
.member-panel__head{display:grid;justify-items:center;gap:8px;padding:10px 8px 16px;border-bottom:1px solid #edf0f4}
.member-panel__avatar{width:92px;height:92px;border-radius:999px;background:#f3f5f8;color:#a9b3c2;display:grid;place-items:center;font-size:40px;font-weight:900}
.member-panel__name{font-size:20px;font-weight:900;color:#111827}
.member-panel__meta{font-size:13px;color:#7b8794;text-align:center}
.member-panel__group{display:grid;gap:10px}
.member-panel__group-title{padding:0 8px;font-size:13px;color:#98a2b3;font-weight:800}
.member-panel__nav{display:grid;gap:8px}
.member-panel__nav a{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:0 14px;border-radius:12px;background:#fff;color:#5d6676;border:1px solid transparent}
.member-panel__nav a.active,.member-panel__nav a:hover{background:linear-gradient(90deg,#dff5ea,#eef7ef);color:#1d5fd7;border-color:#d8efe0}
.member-panel__nav em{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-style:normal}
.member-recording-main{display:grid;gap:18px;min-width:0}
.member-recording-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.member-recording-stats div{padding:16px;border-radius:14px;background:#fbfcfd;border:1px solid #edf0f4}.member-recording-stats span{display:block;font-size:13px;color:#7b8794;margin-bottom:6px}.member-recording-stats strong{font-size:24px;color:#111827}.member-recording-stats--compact{grid-template-columns:repeat(4,minmax(0,1fr))}.member-recording-stats--order{grid-template-columns:repeat(4,minmax(0,1fr))}.member-recording-stats--account{grid-template-columns:repeat(2,minmax(0,1fr))}
.portal-card--member-summary,.portal-card--shortcut-panel,.portal-card--filter-frame{padding:20px 24px}
.portal-order-tabs--recording{margin-bottom:16px}
.portal-order-card--compact .portal-order-card__body,.portal-order-card--detail .portal-order-card__body{grid-template-columns:minmax(0,1.6fr) .7fr .9fr .8fr}
.profile-recording-form{display:grid;gap:16px}.profile-recording-form__basic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.profile-recording-form__basic label{display:grid;gap:6px}.profile-recording-form__basic span{font-size:14px;font-weight:700;color:#5f6c7d}.profile-security-list{display:grid;gap:12px}.profile-security-item{display:grid;grid-template-columns:160px minmax(0,1fr);gap:14px;align-items:center;padding:14px 16px;border:1px solid #ecf1f5;border-radius:12px;background:#fbfcfd}.profile-security-item strong{font-size:15px;color:#111827}.profile-security-item span{font-size:14px;color:#6b7280}
.portal-auth-recording{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1fr);gap:18px;align-items:start}.portal-auth-recording--wide{grid-template-columns:1fr}
.portal-auth-recording__intro,.portal-auth-recording__card{padding:22px}.portal-auth-recording__intro{background:#fff;border:1px solid #e8edf2;border-radius:18px}.portal-auth-recording__intro h1{margin:0 0 12px;font-size:30px;font-weight:900}.portal-auth-recording__intro p{margin:0;color:#6b7280;line-height:1.8}.portal-auth-form{display:grid;gap:14px}.portal-auth-form label{display:grid;gap:6px}.portal-auth-form span{font-size:14px;font-weight:700;color:#5f6c7d}.portal-auth-form--split{margin-top:18px;padding-top:18px;border-top:1px solid #edf0f4}

.portal-simple-list{display:grid;gap:12px}.portal-simple-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border-radius:14px;background:#fbfcfd;border:1px solid #edf0f4;color:#111827}.portal-simple-item strong{font-size:15px}.portal-simple-item span{font-size:13px;color:#7b8794}.portal-empty{padding:26px 16px;border:1px dashed #dce2e8;border-radius:12px;color:#94a3b8;text-align:center}
.portal-history-table{display:grid;border:1px solid #edf0f4;border-radius:14px;overflow:hidden}.portal-history-table__head,.portal-history-table__row{display:grid;grid-template-columns:.9fr 1.4fr 2fr .7fr 1.2fr .8fr;gap:14px;padding:14px 18px;align-items:center}.portal-history-table__head{background:#eff8f1;color:#455468;font-weight:800;font-size:14px}.portal-history-table__row{background:#fff;border-top:1px solid #edf0f4;font-size:14px;color:#4b5563}.portal-history-table__row a{color:#42a86f;font-weight:700}.portal-history-snapshot{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-order-card-list{display:grid;gap:16px}.portal-order-card{border:1px solid #e8edf2;border-radius:16px;overflow:hidden;background:#fff}.portal-order-card__top{display:flex;gap:18px;flex-wrap:wrap;align-items:center;padding:12px 16px;background:#f5f8ff;font-size:14px;color:#637085}.portal-order-card__top strong{margin-left:auto;color:#2f75ff}.portal-order-card__body{display:grid;grid-template-columns:minmax(0,1.7fr) .6fr .9fr .8fr;gap:14px;padding:18px 16px;align-items:center}.portal-order-card__product{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:center}.portal-order-card__thumb{width:92px;height:92px;border-radius:14px;background:#f3d253;display:grid;place-items:center;font-size:38px;font-weight:900;color:#ef6a58}.portal-order-card__name{font-size:18px;font-weight:800;color:#111827}.portal-order-card__desc{margin-top:6px;font-size:13px;color:#7b8794}.portal-order-card__price{font-size:28px;font-weight:900;color:#e14d3a}.portal-order-card__progress{display:grid;gap:6px;font-size:14px;color:#4b5563}.portal-order-card__actions{display:grid;gap:8px}.portal-order-card__actions a{display:flex;justify-content:center;align-items:center;min-height:40px;border-radius:10px;background:#f5f8ff;border:1px solid #dbe7ff;color:#2f75ff;font-weight:700}

@media (max-width:1440px){
  .portal-recording-layout{grid-template-columns:200px minmax(0,1fr) 280px}
  .portal-record-grid,.portal-record-grid--products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .portal-detail-shell{grid-template-columns:1fr}
  .portal-detail-shell__media-card{grid-template-columns:260px minmax(0,1fr)}
}
@media (max-width:1180px){
  .portal-header__inner{grid-template-columns:160px minmax(0,1fr);grid-template-areas:'brand actions' 'search search';gap:18px}
  .portal-brand--stack{grid-area:brand}
  .portal-search--wide{grid-area:search}
  .portal-header__actions{grid-area:actions}
  .portal-recording-layout{grid-template-columns:220px minmax(0,1fr)}
  .portal-user-panel{grid-column:1/-1;position:static}
  .member-recording-shell{grid-template-columns:1fr}
  .member-panel{position:static}
  .portal-record-grid,.portal-record-grid--products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-recording-stats,.member-recording-stats--compact,.member-recording-stats--order,.profile-recording-form__basic,.portal-filter-form,.portal-filter-form--orders{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .container{width:min(100%,calc(100% - 12px))}
  .portal-header__inner{grid-template-columns:1fr;grid-template-areas:'brand' 'search' 'actions';gap:12px}
  .portal-brand--stack{grid-template-columns:1fr auto}
  .portal-brand--stack strong{font-size:26px;max-width:none}
  .portal-brand--stack span{min-height:auto;padding-left:14px}
  .portal-header__actions{justify-content:flex-start;flex-wrap:wrap}
  .portal-pill{font-size:16px;min-height:42px;padding:0 16px}
  .portal-top-links{font-size:16px}
  .portal-recording-layout,.member-recording-shell,.portal-auth-recording{grid-template-columns:1fr}
  .portal-record-grid,.portal-record-grid--products,.portal-shortcut-grid,.portal-shortcut-grid--member,.member-recording-stats,.member-recording-stats--compact,.member-recording-stats--order,.member-recording-stats--account,.profile-recording-form__basic,.portal-filter-form,.portal-filter-form--orders{grid-template-columns:1fr}
  .portal-detail-shell{padding:18px}
  .portal-detail-shell__media-card{grid-template-columns:1fr}
  .portal-history-table__head{display:none}
  .portal-history-table__row{grid-template-columns:1fr}
  .portal-order-card__body,.portal-order-card--compact .portal-order-card__body,.portal-order-card--detail .portal-order-card__body{grid-template-columns:1fr}
  .portal-order-actions--recording,.portal-order-actions{flex-direction:column}
  .portal-order-actions .btn{width:100%}
  .profile-security-item{grid-template-columns:1fr}
}

.portal-pay-actions{display:flex;gap:12px;flex-wrap:wrap}

/* storefront 3.29.6 / V1 freeze + P0 closure */
.portal-recording-width{width:min(1280px,100%);margin:0 auto}
.portal-main__inner{display:grid;gap:18px}
.portal-top-links--member a{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.portal-top-links--member a em{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:12px;font-style:normal;font-weight:700}
.portal-flash{padding:14px 18px;border-radius:16px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;font-size:15px;font-weight:600}
.portal-flash--error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}
.portal-flash--success{background:#ecfdf5;border-color:#bbf7d0;color:#047857}
.portal-detail-shell__line--soft{color:#7b8794}
.portal-order-form__meta{display:grid;gap:10px}
.portal-order-form__meta label{display:grid;gap:6px}
.portal-order-form__meta select{width:100%;padding:12px 14px;border:1px solid #dbe2ea;border-radius:12px;background:#fff}
.portal-detail-hint{padding:10px 12px;border-radius:12px;background:#f8fafc;color:#64748b;font-size:13px;line-height:1.7}
.portal-order-actions--stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.portal-order-actions--stack .btn{width:100%}
.batch-guide{display:grid;gap:8px;padding:14px 16px;border:1px dashed #c7d2fe;border-radius:16px;background:#f8fbff}
.batch-guide__title{font-size:15px;font-weight:800;color:#1f2937}
.batch-guide__text{font-size:13px;line-height:1.8;color:#5b6678}
.portal-batch-form{display:grid;gap:12px;margin-top:14px}
.portal-batch-form label{display:grid;gap:6px}
.portal-batch-form textarea,.portal-batch-form input{width:100%;padding:12px 14px;border:1px solid #dbe2ea;border-radius:12px;background:#fff}
.portal-batch-form textarea{min-height:220px;resize:vertical}
.batch-preview{display:grid;gap:14px;margin-top:16px;padding-top:4px}
.batch-preview__head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;color:#64748b}
.batch-preview__head strong{display:block;color:#111827;font-size:16px;margin-bottom:4px}
.batch-preview__table{border:1px solid #e7edf3;border-radius:16px;overflow:hidden;background:#fff}
.batch-preview__row{display:grid;grid-template-columns:90px minmax(0,1fr) 90px;gap:12px;padding:14px 16px;border-bottom:1px solid #eef2f7;align-items:flex-start}
.batch-preview__row:last-child{border-bottom:none}
.batch-preview__row--head{background:#f8fafc;font-size:13px;font-weight:800;color:#475569}
.batch-preview__snapshot{line-height:1.7;word-break:break-word}
.portal-cart-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:16px}
.portal-cart-list{display:grid;gap:14px}
.portal-cart-item{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;padding:18px;border:1px solid #e8edf2;border-radius:18px;background:#fbfcfd}
.portal-cart-item__check{display:flex;align-items:flex-start;justify-content:center;padding-top:8px}
.portal-cart-item__check input{width:18px;height:18px}
.portal-cart-item__body{display:grid;gap:14px}
.portal-cart-item__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.portal-cart-item__name{font-size:18px;font-weight:800;color:#111827}
.portal-cart-item__sub{font-size:13px;color:#6b7280;margin-top:4px}
.portal-cart-item__amount{font-size:22px;font-weight:900;color:#111827}
.portal-cart-item__snapshot{padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #ecf1f5;white-space:pre-wrap;line-height:1.8;color:#475569}
.portal-cart-item__actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.portal-inline-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.portal-inline-form input[type='number']{width:110px;padding:10px 12px;border:1px solid #dbe2ea;border-radius:12px;background:#fff}
.portal-favorite-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.portal-favorite-card{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:18px;border:1px solid #e8edf2;border-radius:18px;background:#fbfcfd}
.portal-favorite-card__media{border-radius:14px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;min-height:140px}
.portal-favorite-card__media img{width:100%;height:100%;object-fit:cover}
.portal-favorite-card__body{display:grid;gap:10px;align-content:start}
.portal-favorite-card__name{font-size:18px;font-weight:800;color:#111827}
.portal-favorite-card__sub{font-size:13px;color:#6b7280;line-height:1.7}
.portal-favorite-card__price{font-size:24px;font-weight:900;color:#111827}
@media (max-width:1080px){.portal-order-actions--stack{grid-template-columns:1fr}.portal-favorite-grid{grid-template-columns:1fr}.portal-favorite-card{grid-template-columns:1fr}.batch-preview__row{grid-template-columns:70px minmax(0,1fr) 70px}}
@media (max-width:760px){.portal-cart-item{grid-template-columns:1fr}.portal-cart-item__check{justify-content:flex-start;padding-top:0}.portal-cart-item__head{gap:8px}.portal-cart-item__amount{font-size:20px}.portal-cart-item__actions,.portal-cart-toolbar,.portal-inline-form{flex-direction:column;align-items:stretch}.portal-inline-form input[type='number']{width:100%}}


/* storefront 3.29.6 / unified frontend experience */
:root{
  --portal-bg:#f5f7fb;
  --portal-surface:#ffffff;
  --portal-soft:#f8fafc;
  --portal-line:#e6ebf2;
  --portal-line-strong:#d9e1ec;
  --portal-text:#111827;
  --portal-muted:#667085;
  --portal-subtle:#98a2b3;
  --portal-green:#2f75ff;
  --portal-green-soft:#eef5ff;
  --portal-shadow:0 12px 30px rgba(15,23,42,.05);
}
.container{width:min(1320px,calc(100% - 48px));}
.portal-recording-width{width:min(1240px,100%);margin:0 auto}
.portal-shell--recording{background:linear-gradient(180deg,#f7f8fb 0%,#f4f6fa 100%);color:var(--portal-text)}
.portal-header{position:sticky;top:0;z-index:20;backdrop-filter:saturate(150%) blur(10px);box-shadow:0 1px 0 rgba(15,23,42,.03)}
.portal-header__inner{grid-template-columns:170px minmax(360px,1fr) auto;gap:24px;padding:14px 0 16px}
.portal-brand--stack{gap:14px}
.portal-brand--stack strong{font-size:28px;font-weight:900;letter-spacing:-.02em;max-width:128px}
.portal-brand--stack span{font-size:14px;min-height:78px;padding-left:10px}
.portal-search--wide{border-width:3px;border-radius:14px;box-shadow:0 10px 24px rgba(126,217,164,.08)}
.portal-search--wide input{min-height:52px;font-size:16px;padding:0 18px}
.portal-search--wide button{min-width:92px;font-size:16px;font-weight:800}
.portal-header__actions{gap:12px}
.portal-pill{min-height:40px;padding:0 16px;font-size:14px}
.portal-top-links{gap:10px;font-size:14px;line-height:1.3}
.portal-top-links--member a{min-height:38px;padding:0 12px;border-radius:999px;border:1px solid transparent;transition:all .18s ease}
.portal-top-links--member a.active,.portal-top-links--member a:hover{background:#f4fbf7;border-color:#d8efe0;color:#1d5fd7}
.portal-top-links--member a em{margin-left:4px}
.portal-notice-bar__inner{min-height:42px;padding:8px 0;font-size:13px;line-height:1.6}
.portal-main{padding:24px 0 40px}
.portal-recording-layout{grid-template-columns:220px minmax(0,1fr) 280px;gap:20px;align-items:start}
.portal-tree-sidebar,.portal-user-panel,.portal-hero-banner,.portal-inline-notice,.portal-product-block,.portal-filter-board,.portal-card,.portal-detail-shell,.portal-auth-recording__card,.portal-auth-recording__intro,.member-panel,.portal-page-chip{border-color:var(--portal-line);box-shadow:var(--portal-shadow)}
.portal-tree-sidebar,.portal-user-panel,.portal-product-block,.portal-filter-board,.portal-card,.portal-detail-shell,.portal-auth-recording__card,.portal-auth-recording__intro,.member-panel{border-radius:20px}
.portal-tree-sidebar{padding:14px;top:14px}
.portal-tree-sidebar__header{padding:6px 6px 14px;align-items:flex-start}
.portal-tree-sidebar__header strong{display:block;font-size:15px;font-weight:800;color:var(--portal-text)}
.portal-tree-sidebar__header small{display:block;margin-top:4px;font-size:12px;color:var(--portal-subtle)}
.portal-tree-sidebar__header a{margin-top:2px;font-size:12px;color:var(--portal-subtle)}
.portal-tree-sidebar__item{padding:11px 12px;border:1px solid transparent}
.portal-tree-sidebar__item:hover,.portal-tree-sidebar__item.active{border-color:#d5ebdc;background:#f6fcf8}
.portal-side-card__title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:4px 0 2px}
.portal-side-card__title strong{display:block;font-size:15px;font-weight:800;color:var(--portal-text)}
.portal-side-card__title span{display:block;margin-top:4px;font-size:12px;line-height:1.6;color:var(--portal-subtle)}
.portal-side-card__title--member{padding-bottom:8px;border-bottom:1px solid var(--portal-line)}
.portal-user-panel{padding:18px;gap:18px;top:14px}
.portal-user-panel__head{grid-template-columns:64px minmax(0,1fr);gap:12px}
.portal-user-panel__avatar{width:64px;height:64px;font-size:28px}
.portal-user-panel__line{font-size:13px}
.portal-user-panel__line strong{font-size:18px}
.portal-user-panel__logout{min-height:36px;padding:0 14px;font-size:13px;border-radius:10px}
.portal-shortcut-grid{gap:10px}
.portal-shortcut-grid a{padding:12px 10px;border-radius:14px}
.portal-shortcut-grid a strong{font-size:13px;line-height:1.45}
.portal-hero-banner{min-height:220px;padding:28px 32px;border-radius:20px}
.portal-hero-banner__title{font-size:58px;letter-spacing:2px}
.portal-hero-banner__sub{margin-top:12px;font-size:22px}
.portal-hero-banner__desc{margin:16px auto 0;max-width:620px;font-size:14px;line-height:1.8}
.portal-inline-notice{padding:12px 16px;font-size:14px;line-height:1.7;border-radius:16px}
.portal-product-block,.portal-filter-board,.portal-card{padding:20px}
.portal-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:4px 4px 0}
.portal-page-head--compact{padding-bottom:4px}
.portal-page-head__body{min-width:0}
.portal-page-head__eyebrow{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:var(--portal-green-soft);color:#1d5fd7;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.portal-page-head h1{margin:10px 0 8px;font-size:30px;line-height:1.12;font-weight:900;color:var(--portal-text);letter-spacing:-.03em}
.portal-page-head p{margin:0;max-width:720px;font-size:14px;line-height:1.8;color:var(--portal-muted)}
.portal-page-head__chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}
.portal-page-chip{min-width:140px;padding:12px 14px;border-radius:16px;background:#fff}
.portal-page-chip span{display:block;margin-bottom:4px;font-size:12px;color:var(--portal-subtle)}
.portal-page-chip strong{display:block;font-size:18px;line-height:1.3;color:var(--portal-text);word-break:break-word}
.portal-card__title{margin-bottom:14px;font-size:20px;font-weight:800;line-height:1.25;color:var(--portal-text)}
.portal-card__body{font-size:14px;line-height:1.8;color:var(--portal-muted)}
.portal-product-block__head,.portal-filter-board__head{margin-bottom:18px}
.portal-product-block__head h2,.portal-filter-board__head h2{font-size:20px;line-height:1.2}
.portal-product-block__head a,.portal-filter-board__head span{font-size:13px}
.portal-record-grid{gap:16px}
.portal-record-card{gap:12px;padding:16px;border-radius:18px;border-color:#ebf0f5}
.portal-record-card__name{font-size:17px;line-height:1.4}
.portal-record-card__tag{min-height:44px;font-size:13px;line-height:1.7}
.portal-record-card__price{font-size:24px;line-height:1.15}
.portal-filter-form{grid-template-columns:minmax(0,1fr) 200px 200px 120px;gap:12px}
.portal-filter-form input,.portal-filter-form select,.portal-auth-form input,.profile-recording-form input,.portal-order-form input,.portal-order-form select,.portal-batch-form textarea,.portal-batch-form input,.portal-inline-form input[type='number']{border:1px solid var(--portal-line-strong);border-radius:12px;min-height:46px;font-size:14px;padding:0 14px}
.portal-batch-form textarea{padding:14px 16px;min-height:220px}
.portal-filter-form button,.portal-auth-form button,.profile-recording-form button,.portal-order-actions .btn.primary{min-height:46px;font-size:14px;border-radius:12px}
.portal-order-actions{gap:10px}
.portal-order-actions .btn,.portal-cart-toolbar .btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;font-size:14px;border-radius:12px;border-color:var(--portal-line-strong);color:#334155}
.portal-shell--recording .btn.primary,.portal-auth-recording .btn.primary,.member-recording-shell .btn.primary{background:linear-gradient(90deg,#6aa7ff,#2f75ff);border-color:transparent;color:#173b23}
.portal-detail-layout{display:grid;gap:20px}
.portal-detail-shell{padding:24px;grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr)}
.portal-detail-shell__media-card{grid-template-columns:260px minmax(0,1fr);gap:20px}
.portal-detail-shell__summary{gap:10px}
.portal-detail-shell__summary h1{font-size:30px;line-height:1.15}
.portal-detail-shell__line{font-size:14px;line-height:1.7}
.portal-detail-price-band{max-width:280px;padding:14px 16px;border-radius:16px}
.portal-detail-price-band span{font-size:13px}
.portal-detail-price-band strong{font-size:40px}
.portal-detail-tabs{gap:18px;padding-bottom:10px}
.portal-detail-tabs button{font-size:15px}
.portal-order-form--recording label span,.portal-order-form__qty--recording span,.portal-order-form__meta label span{font-size:14px}
.portal-qty-picker{grid-template-columns:52px 112px 52px;max-width:216px}
.portal-qty-picker input{min-height:46px}
.portal-qty-picker__btn{font-size:24px}
.portal-order-summary--recording{font-size:16px}
.portal-order-summary--recording strong{min-width:110px;font-size:20px}
.batch-guide{padding:14px 16px;border-radius:16px}
.batch-guide__title{font-size:14px}
.batch-guide__text{font-size:13px}
.batch-preview__head{font-size:13px}
.batch-preview__head strong{font-size:15px}
.batch-preview__row{grid-template-columns:80px minmax(0,1fr) 80px;font-size:13px}
.portal-history-toolbar{margin-bottom:14px}
.portal-history-toolbar__pill{min-height:34px;font-size:12px}
.portal-history-toolbar__note{font-size:12px}
.portal-history-table__head,.portal-history-table__row{padding:13px 16px;font-size:13px}
.member-recording-shell{grid-template-columns:260px minmax(0,1fr);gap:20px}
.member-panel{padding:18px;gap:16px;top:14px}
.member-panel__head{padding:8px 6px 14px}
.member-panel__avatar{width:80px;height:80px;font-size:34px}
.member-panel__name{font-size:18px}
.member-panel__meta{font-size:12px;line-height:1.6}
.member-panel__group-title{font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.member-panel__nav a{min-height:44px;padding:0 12px;font-size:14px;border-color:transparent}
.member-recording-main{gap:20px}
.member-recording-stats{gap:12px}
.member-recording-stats div{padding:14px 16px;border-radius:16px}
.member-recording-stats span{font-size:12px}
.member-recording-stats strong{font-size:20px;line-height:1.25}
.member-recording-stats--account{grid-template-columns:repeat(2,minmax(0,1fr))}
.portal-card--member-summary,.portal-card--shortcut-panel,.portal-card--filter-frame,.portal-card--detail-body,.portal-card--history{padding:22px 24px}
.profile-recording-form{gap:18px}
.profile-recording-form__basic{gap:12px}
.profile-recording-form__basic span{font-size:13px}
.profile-security-item{padding:14px 16px;border-radius:14px}
.portal-auth-recording{grid-template-columns:minmax(280px,.78fr) minmax(0,1fr);gap:20px}
.portal-auth-recording__intro,.portal-auth-recording__card{padding:24px}
.portal-auth-recording__intro .portal-page-head{padding:0}
.portal-auth-recording__intro .portal-page-head h1{font-size:28px}
.portal-auth-tabs{display:flex;gap:14px;border-bottom:1px solid #edf0f4;margin-bottom:18px}
.portal-auth-tabs a{padding:10px 4px;font-size:14px}
.portal-simple-list{gap:12px}
.portal-simple-item{padding:14px 16px;border-radius:16px}
.portal-simple-item strong{font-size:15px;line-height:1.45}
.portal-simple-item span{font-size:12px}
.portal-order-card-list{gap:16px}
.portal-order-card{border-radius:18px}
.portal-order-card__top{padding:12px 16px;font-size:13px}
.portal-order-card__body{padding:18px 16px;grid-template-columns:minmax(0,1.7fr) .7fr .9fr .85fr}
.portal-order-card__product{grid-template-columns:88px minmax(0,1fr)}
.portal-order-card__thumb{width:88px;height:88px;font-size:34px}
.portal-order-card__name{font-size:17px;line-height:1.4}
.portal-order-card__desc{font-size:13px;line-height:1.7}
.portal-order-card__price{font-size:24px;line-height:1.1}
.portal-order-card__progress{font-size:13px;line-height:1.7}
.portal-order-card__actions a{min-height:38px;font-size:13px;border-radius:10px}
.portal-cart-toolbar{margin-top:18px}
.portal-cart-item{grid-template-columns:48px minmax(0,1fr);padding:18px 18px 16px;border-radius:18px}
.portal-cart-item__name,.portal-favorite-card__name{font-size:17px}
.portal-cart-item__sub,.portal-favorite-card__sub{font-size:13px;line-height:1.7}
.portal-cart-item__amount,.portal-favorite-card__price{font-size:22px}
.portal-cart-item__snapshot{border-radius:14px;font-size:13px}
.portal-favorite-grid{gap:16px}
.portal-favorite-card{grid-template-columns:132px minmax(0,1fr);padding:18px;border-radius:18px}
.portal-favorite-card__media{min-height:132px;border-radius:16px}
.portal-pay-actions{display:flex;gap:10px;flex-wrap:wrap}

@media (max-width:1280px){
  .portal-header__inner{grid-template-columns:160px minmax(0,1fr);grid-template-areas:'brand actions' 'search search';gap:18px}
  .portal-brand--stack{grid-area:brand}
  .portal-search--wide{grid-area:search}
  .portal-header__actions{grid-area:actions}
  .portal-recording-layout{grid-template-columns:200px minmax(0,1fr) 260px}
  .portal-record-grid,.portal-record-grid--products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .portal-detail-shell{grid-template-columns:1fr}
}
@media (max-width:1080px){
  .portal-recording-layout{grid-template-columns:220px minmax(0,1fr)}
  .portal-user-panel{grid-column:1/-1;position:static}
  .member-recording-shell{grid-template-columns:1fr}
  .member-panel{position:static}
  .portal-page-head,.portal-filter-form,.portal-filter-form--orders,.portal-auth-recording,.profile-recording-form__basic,.member-recording-stats,.member-recording-stats--compact,.member-recording-stats--order{grid-template-columns:1fr}
  .portal-page-head{display:grid}
  .portal-page-head__chips{justify-content:flex-start}
  .portal-record-grid,.portal-record-grid--products,.portal-shortcut-grid,.portal-shortcut-grid--member{grid-template-columns:repeat(2,minmax(0,1fr))}
  .portal-favorite-grid{grid-template-columns:1fr}
  .portal-favorite-card{grid-template-columns:1fr}
  .portal-order-actions--stack{grid-template-columns:1fr}
}
@media (max-width:760px){
  .container{width:min(100%,calc(100% - 16px))}
  .portal-recording-width{width:min(100%,calc(100% - 4px))}
  .portal-header__inner{grid-template-columns:1fr;grid-template-areas:'brand' 'search' 'actions';gap:12px}
  .portal-brand--stack{grid-template-columns:1fr auto}
  .portal-brand--stack strong{max-width:none;font-size:24px}
  .portal-brand--stack span{min-height:auto;padding-left:12px}
  .portal-header__actions{justify-content:flex-start;flex-wrap:wrap}
  .portal-top-links{font-size:13px}
  .portal-page-head h1{font-size:24px}
  .portal-page-chip{min-width:132px}
  .portal-hero-banner{padding:22px 20px;min-height:200px}
  .portal-hero-banner__title{font-size:42px;letter-spacing:1px}
  .portal-hero-banner__sub{font-size:18px}
  .portal-recording-layout,.member-recording-shell,.portal-auth-recording{grid-template-columns:1fr}
  .portal-record-grid,.portal-record-grid--products,.portal-shortcut-grid,.portal-shortcut-grid--member,.member-recording-stats,.member-recording-stats--compact,.member-recording-stats--order,.member-recording-stats--account,.profile-recording-form__basic,.portal-filter-form,.portal-filter-form--orders{grid-template-columns:1fr}
  .portal-detail-shell{padding:18px}
  .portal-detail-shell__media-card{grid-template-columns:1fr}
  .portal-history-table__head{display:none}
  .portal-history-table__row{grid-template-columns:1fr}
  .portal-order-card__body,.portal-order-card--compact .portal-order-card__body,.portal-order-card--detail .portal-order-card__body{grid-template-columns:1fr}
  .portal-order-actions--recording,.portal-order-actions,.portal-cart-toolbar,.portal-inline-form{flex-direction:column;align-items:stretch}
  .portal-order-actions .btn,.portal-cart-toolbar .btn{width:100%}
  .portal-inline-form input[type='number']{width:100%}
  .portal-cart-item{grid-template-columns:1fr}
  .portal-cart-item__check{justify-content:flex-start;padding-top:0}
  .profile-security-item{grid-template-columns:1fr}
  .batch-preview__row{grid-template-columns:64px minmax(0,1fr) 64px}
}

/* batch 3.29.7 system settings */
.settings-shell{display:grid;gap:18px}
.settings-tabs{display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid var(--line);padding-bottom:14px}
.settings-tab{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;background:#f8fafc;border:1px solid var(--line);font-size:14px;font-weight:600;color:#475569}
.settings-tab.active{background:#30364d;color:#fff;border-color:#30364d}
.settings-form{display:grid;gap:18px}
.settings-section{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fbfdff}
.settings-section__head{display:grid;gap:6px;margin-bottom:16px}
.settings-section__head h2{margin:0;font-size:18px;color:#0f172a}
.settings-section__head p{margin:0;color:#64748b;font-size:14px;line-height:1.7}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.settings-field{display:grid;gap:8px}
.settings-field--full{grid-column:1 / -1}
.settings-field__label-row{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.settings-field__label-row span{font-size:14px;font-weight:700;color:#334155}
.settings-field__label-row em{font-style:normal;font-size:12px;color:#94a3b8}
.settings-field small{color:#64748b;font-size:12px;line-height:1.6}
.settings-field input,.settings-field select,.settings-field textarea{width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;font:inherit}
.settings-field textarea{min-height:110px;resize:vertical}
.settings-image-preview{display:flex;align-items:center;justify-content:flex-start;padding:10px;border-radius:12px;border:1px dashed var(--line);background:#fff}
.settings-image-preview img{max-width:240px;max-height:120px;object-fit:contain;border-radius:10px;background:#f8fafc}
.settings-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.settings-action-card{display:grid;gap:12px;padding:18px;border-radius:16px;border:1px solid var(--line);background:#fff}
.settings-action-card__title{font-size:16px;font-weight:700;color:#0f172a}
.settings-action-card p{margin:0;color:#64748b;line-height:1.7;font-size:14px}
.settings-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.settings-summary-card{display:grid;gap:8px;padding:18px;border-radius:16px;border:1px solid var(--line);background:#fff}
.settings-summary-card span{font-size:13px;color:#64748b}
.settings-summary-card strong{font-size:24px;color:#0f172a}
.settings-summary-card small{font-size:12px;color:#94a3b8;word-break:break-all}
.settings-version-note{padding:14px 16px;border-radius:14px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;line-height:1.8;font-size:14px}
.page-note--success{background:#ecfdf5;border-color:#bbf7d0;color:#047857}
.page-note--error{background:#fff1f2;border-color:#fecdd3;color:#be123c}
.top-gap{margin-top:18px}
@media (max-width:900px){.settings-grid,.settings-summary-grid{grid-template-columns:1fr}.settings-tab{width:100%}}

.portal-inline-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(61, 75, 112, 0.08);
  color: #46506a;
  line-height: 1.75;
  font-size: 14px;
}

.portal-footer {
  padding: 24px 0 36px;
}

.portal-footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(80, 88, 120, 0.08);
  box-shadow: 0 18px 46px rgba(22, 28, 45, 0.08);
}

.portal-footer__inner strong {
  display: block;
  margin-bottom: 8px;
  color: #1f2640;
}

.portal-footer__inner p {
  margin: 0;
  color: #59627b;
  line-height: 1.75;
  font-size: 14px;
}

.portal-footer__support {
  display: flex;
  gap: 12px;
  align-items: center;
}

.portal-footer__support img {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(80, 88, 120, 0.12);
  background: #fff;
}

.portal-search--placeholder {
  min-height: 44px;
}

.portal-card--member-notice,
.portal-card--filter-frame,
.portal-card--member-summary,
.portal-card--shortcut-panel {
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .portal-footer__inner {
    grid-template-columns: 1fr;
  }

  .portal-footer__support {
    align-items: flex-start;
  }
}


.portal-browser-guard{margin:56px auto;padding:28px 24px;border-radius:24px;background:rgba(255,255,255,.92);border:1px solid rgba(80,88,120,.12);box-shadow:0 18px 46px rgba(22,28,45,.08);max-width:720px;text-align:center}.portal-browser-guard h1{margin:0 0 12px;font-size:30px;color:#1f2640}.portal-browser-guard p{margin:0;color:#59627b;line-height:1.8;font-size:15px}
.order-progress-panel{display:grid;gap:14px}.order-progress-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.progress-metric,.detail-inline-row{padding:14px 16px;border-radius:14px;background:#fbfcff;border:1px solid #e6ecf5}.progress-metric span,.detail-inline-row span{display:block;font-size:12px;color:#7c8798;margin-bottom:6px}.progress-metric strong{font-size:20px;color:#111827}.order-progress-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detail-inline-row strong{font-size:14px;color:#1f2937;line-height:1.7;white-space:pre-wrap;word-break:break-word}@media (max-width:980px){.order-progress-grid,.order-progress-meta,.portal-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.order-progress-grid,.order-progress-meta,.portal-progress-grid{grid-template-columns:1fr}}
.console-shell{min-height:100vh;background:#eef0f6;color:#2f3750}.console-topbar{display:flex;align-items:center;gap:24px;padding:18px 28px;background:linear-gradient(90deg,#6f67c5,#7d72d0);color:#fff;box-shadow:0 8px 24px rgba(67,55,126,.16)}.console-topbar__brand{font-size:22px;font-weight:800;letter-spacing:.02em}.console-topbar__menu{font-size:15px;opacity:.9}.console-topbar__user{margin-left:auto;font-size:16px;opacity:.95}.console-body{display:flex;min-height:calc(100vh - 72px)}.console-sidebar{width:240px;flex:0 0 240px;padding:18px 0;background:#fff;border-right:1px solid #e3e6f0}.console-sidebar__section-title{padding:12px 24px 8px;color:#9aa1b3;font-size:13px;font-weight:700}.console-sidebar__nav{display:flex;flex-direction:column}.console-sidebar__nav a{display:block;padding:12px 24px;color:#343a4d;text-decoration:none;border-left:0;font-weight:600}.console-sidebar__nav a:hover,.console-sidebar__nav a.active{background:#f4f5fb;color:#2c3250;box-shadow:inset 0 0 0 1px rgba(22,119,255,.08)}.console-main{flex:1;padding:20px 28px 28px}.console-breadcrumb{margin-bottom:14px;color:#707891;font-size:14px}.console-alert{margin-bottom:16px;padding:14px 16px;border-radius:12px;background:#fff6d9;border:1px solid #f2d279;color:#8b6b0a;font-size:14px}.console-alert--error{background:#fff1f2;border-color:#fecdd3;color:#be123c}.console-grid{display:grid;grid-template-columns:minmax(320px,480px) minmax(320px,1fr);gap:20px;align-items:start}.console-grid--site{grid-template-columns:minmax(360px,460px) minmax(360px,1fr)}.console-card{background:#fff;border:1px solid #dfe4f0;border-radius:16px;box-shadow:0 8px 24px rgba(32,41,69,.06);overflow:hidden}.console-card--notice{grid-column:1 / -1}.console-card__header--gradient{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;background:linear-gradient(90deg,#4db4ff,#b228ff);color:#fff}.console-avatar{width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.24);display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:800;border:3px solid rgba(255,255,255,.7)}.console-balance__label{font-size:13px;opacity:.9}.console-balance__value{font-size:34px;font-weight:800;line-height:1.1}.console-profile-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e8ebf4;border-bottom:1px solid #e8ebf4}.console-profile-row div{padding:16px 14px;text-align:center}.console-profile-row span{display:block;margin-bottom:6px;color:#8b91a6;font-size:13px}.console-profile-row strong{display:block;font-size:26px;color:#2d3350}.console-shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px}.console-shortcut-grid--site{grid-template-columns:repeat(3,minmax(0,1fr))}.console-shortcut{display:flex;align-items:center;justify-content:center;min-height:66px;border-radius:12px;color:#fff;text-decoration:none;font-size:18px;font-weight:800}.console-shortcut--primary{background:#7267cb}.console-shortcut--info{background:#43b4e7}.console-shortcut--warn{background:#e8c441;color:#3c3310}.console-card__title{padding:16px 20px;font-size:28px;font-weight:800;color:#fff;background:linear-gradient(90deg,#4db4ff,#b228ff)}.console-site-list__row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;border-bottom:1px solid #edf0f6}.console-site-list__row span{color:#56607c;font-weight:700}.console-site-list__row strong{color:#21283f;font-size:16px;text-align:right}.console-empty-panel{padding:20px}.console-empty-panel strong{display:block;margin-bottom:8px;font-size:20px;color:#2f3750}.console-empty-panel p{margin:0;color:#6a738d;line-height:1.8}.console-notice-panel{padding:18px 20px;min-height:160px;color:#4f5872;line-height:1.9;font-size:15px}.console-card--site-info .console-card__title,.console-card--notice .console-card__title{font-size:24px}
@media (max-width:1100px){.console-body{display:block}.console-sidebar{width:auto;flex:none;border-right:0;border-bottom:1px solid #e3e6f0}.console-grid,.console-grid--site{grid-template-columns:1fr}.console-profile-row{grid-template-columns:repeat(2,minmax(0,1fr))}.console-shortcut-grid--site,.console-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.console-topbar{padding:14px 16px;gap:12px}.console-topbar__brand{font-size:20px}.console-topbar__menu{display:none}.console-main{padding:16px}.console-profile-row{grid-template-columns:1fr}.console-shortcut-grid,.console-shortcut-grid--site{grid-template-columns:1fr}.console-card__title{font-size:22px}.console-balance__value{font-size:28px}}


/* 3.29.11 site/user center split */
.site-center-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
.site-center-main{min-width:0}
.site-center-nav{position:sticky;top:20px;display:grid;gap:16px;padding:20px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.site-center-nav__head{display:grid;gap:8px;padding-bottom:4px;border-bottom:1px solid #eef2f7}
.site-center-nav__avatar{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#1d4ed8,#2563eb);color:#fff;font-size:22px;font-weight:800}
.site-center-nav__title{font-size:20px;font-weight:800;color:#0f172a}
.site-center-nav__meta{font-size:13px;color:#64748b;line-height:1.6}
.site-center-nav__switch{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-weight:700}
.site-center-nav__group{display:grid;gap:8px}
.site-center-nav__group-title{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;font-weight:800}
.site-center-nav__links{display:grid;gap:8px}
.site-center-nav__links a{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border-radius:14px;color:#334155;background:#f8fafc;border:1px solid transparent;font-weight:600}
.site-center-nav__links a:hover{border-color:#dbeafe;background:#eff6ff;color:#1d4ed8}
.site-center-nav__links a.active{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 10px 18px rgba(37,99,235,.18)}
.site-center-summary-card,.site-center-shortcut-card{overflow:hidden}
.site-center-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.site-center-shortcuts__item{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 14px;border-radius:14px;font-weight:700;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;text-align:center}
.site-center-shortcuts__item--primary{background:#2563eb;color:#fff;border-color:#2563eb}
.site-center-shortcuts__item--info{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.site-center-shortcuts__item--warn{background:#fff7ed;color:#c2410c;border-color:#fdba74}
.site-center-double-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.site-placeholder-list{display:grid;gap:10px}
.site-placeholder-list__row{display:flex;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:16px;background:#f8fafc;border:1px solid #eef2f7}
.site-placeholder-list__row span{color:#64748b}
.site-placeholder-list__row strong{color:#0f172a;word-break:break-word;text-align:right}
.site-record-table,.site-product-table,.site-category-table{display:grid;gap:0;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;background:#fff}
.site-record-table__head,.site-record-table__row,.site-product-table__head,.site-product-table__row,.site-category-table__head,.site-category-table__row{display:grid;align-items:center}
.site-record-table__head,.site-record-table__row{grid-template-columns:88px 1.1fr 1.2fr 1fr 110px 180px 120px}
.site-record-table__head--subsite,.site-record-table__row--subsite{grid-template-columns:78px 1fr 1.1fr 1fr 100px 165px 120px 1.25fr 86px}
.site-product-table__head,.site-product-table__row{grid-template-columns:1.3fr repeat(4,120px) 90px}
.site-category-table__head,.site-category-table__row{grid-template-columns:80px 1.2fr 110px 110px 100px 1fr}
.site-record-table__head,.site-product-table__head,.site-category-table__head{background:#f8fafc;color:#334155;font-size:13px;font-weight:800}
.site-record-table__head span,.site-record-table__row span,.site-product-table__head span,.site-product-table__row span,.site-category-table__head span,.site-category-table__row span{padding:14px 12px;border-bottom:1px solid #eef2f7;word-break:break-word}
.site-record-table__row:last-child span,.site-product-table__row:last-child span,.site-category-table__row:last-child span{border-bottom:none}
.site-record-table__row span:last-child a{display:inline-flex;padding:6px 10px;border-radius:10px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;font-weight:700}
.site-product-table__row span strong{display:block;color:#0f172a;font-size:14px}
.site-product-table__row span em{display:block;margin-top:4px;color:#64748b;font-style:normal;font-size:12px}
.profile-recording-form{display:grid;gap:18px}
.profile-recording-form__basic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.profile-recording-form__basic label{display:grid;gap:8px;color:#334155;font-size:14px}
.profile-recording-form__basic input{width:100%;min-height:44px;padding:11px 12px;border-radius:12px;border:1px solid var(--line);background:#fff}
.user-center-site-card__body{display:grid;gap:14px}
@media (max-width:1100px){.site-center-shell,.site-center-double-grid,.profile-recording-form__basic{grid-template-columns:1fr}.site-center-nav{position:static}.site-record-table,.site-product-table,.site-category-table{overflow:auto}.site-record-table__head,.site-record-table__row{min-width:900px}.site-record-table__head--subsite,.site-record-table__row--subsite{min-width:1120px}.site-product-table__head,.site-product-table__row{min-width:900px}.site-category-table__head,.site-category-table__row{min-width:760px}}
@media (max-width:640px){.site-center-shortcuts{grid-template-columns:1fr 1fr}.site-center-nav{padding:16px}.site-placeholder-list__row{flex-direction:column}.site-center-shortcuts__item{min-height:44px}}

/* 3.29.13 backend shell unification */
.app-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh;background:#f3f5f7}
.sidebar{background:#fff;color:#1f2937;padding:0;border-right:1px solid #e5e7eb;box-shadow:none}
.brand{min-height:72px;padding:0 18px;display:flex;flex-direction:column;justify-content:center;gap:4px;background:#1677ff;color:#fff;margin:0}
.brand__title{font-size:18px;font-weight:800;letter-spacing:.01em}
.brand__note{font-size:12px;color:rgba(255,255,255,.78);line-height:1.4}
.sidebar-nav{padding:14px 12px 20px;gap:10px;max-height:calc(100vh - 72px)}
.nav-single,.nav-group__summary,.nav-child{color:#1f2937;border-radius:12px}
.nav-single,.nav-group__summary{min-height:44px;padding:0 14px;background:transparent;font-size:15px;font-weight:700}
.nav-single:hover,.nav-group__summary:hover{background:#f3f8ff;color:#1677ff}
.nav-single.active,.nav-group__summary.active{background:#e8f2ff;color:#1668dc}
.nav-group{border-radius:14px;overflow:hidden;background:transparent}
.nav-group__summary{list-style:none;cursor:pointer}
.nav-group__summary::-webkit-details-marker{display:none}
.nav-group__arrow{color:#98a2b3;transition:transform .2s ease}
.nav-group[open] .nav-group__arrow{transform:rotate(90deg);color:#1677ff}
.nav-group__items{display:grid;gap:6px;padding:6px 6px 10px 6px}
.nav-child{min-height:40px;padding:0 12px 0 18px;display:flex;align-items:center;background:#fff;color:#5b6573;font-size:14px;font-weight:600}
.nav-child:hover{background:#f5f9ff;color:#1677ff}
.nav-child.active{background:#eaf3ff;color:#1668dc}
.main{padding:0 24px 24px;min-width:0;background:#f3f5f7}
.topbar{margin:0 -24px 20px;padding:16px 24px;min-height:72px;background:#1677ff;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:16px;box-shadow:0 8px 20px rgba(22,119,255,.18)}
.top-left{display:flex;align-items:center;gap:12px}
.topbar h1{margin:0;font-size:28px;color:#fff;line-height:1.2}
.crumbs{color:rgba(255,255,255,.76);font-size:13px;margin-bottom:4px}
.menu-btn{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22)}
.badge-group{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.badge{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);padding:9px 14px;border-radius:12px;color:#fff;font-size:13px;font-weight:700}
.badge.soft{background:rgba(255,255,255,.22)}
.page-desc{margin:0 0 18px;color:#667085;font-size:14px;line-height:1.7}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}
.card,.panel{background:#fff;border:1px solid #e7ecf2;border-radius:18px;padding:20px;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.card-label{color:#667085;font-size:14px;font-weight:700}
.card-value{font-size:34px;font-weight:800;margin-top:12px;color:#14213d}
.panel-title{font-size:24px;font-weight:800;color:#14213d}
.panel-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.panel-intro{font-size:13px;color:#667085}
.toolbar-stack{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.toolbar-panel{border:1px solid #e7ecf2;border-radius:16px;background:#fff;padding:16px}
.query-field span{font-size:13px;color:#475467;font-weight:700}
.query-field input,.query-field select,.edit-form input,.edit-form select,.edit-form textarea{border:1px solid #dbe3ec;border-radius:12px;background:#fff;padding:11px 12px;font-size:14px}
.query-actions button,.toolbar button{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border:none;border-radius:12px;background:#1677ff;color:#fff;font-weight:700;cursor:pointer}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:12px;border:1px solid #d3dce6;text-decoration:none;color:#1f2937;background:#fff;font-weight:700}
.btn.primary,.mini-btn.primary,.quick-chip.primary{background:#1677ff;border-color:#1677ff;color:#fff}
.btn.soft,.mini-btn.soft,.quick-chip.soft{background:#eef5ff;border-color:#cfe0ff;color:#1668dc}
.btn.warn,.mini-btn.warn,.quick-chip.warn{background:#fff7e8;border-color:#ffd591;color:#d46b08}
.btn.success,.mini-btn.success,.quick-chip.success{background:#eef5ff;border-color:#cfe0ff;color:#1d5fd7}
.btn.danger,.mini-btn.danger,.quick-chip.danger{background:#fff1f0;border-color:#ffccc7;color:#cf1322}
.table-wrap{overflow:auto;border:1px solid #e7ecf2;border-radius:16px;background:#fff}
.admin-table{width:100%;border-collapse:collapse;min-width:920px}
.admin-table thead th{background:#f7f9fc;color:#344054;font-size:13px;font-weight:800;padding:14px 12px;text-align:left;border-bottom:1px solid #e7ecf2}
.admin-table tbody td{padding:14px 12px;border-bottom:1px solid #eef2f7;vertical-align:top;font-size:14px;color:#101828}
.admin-table tbody tr:last-child td{border-bottom:none}
.link-text{color:#1668dc;text-decoration:none;font-weight:700}.link-text:hover{text-decoration:underline}
.status-pill,.tag-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800}
.status-pill.ok{background:#eef5ff;color:#1d5fd7}.status-pill.warn{background:#fff7e8;color:#d46b08}.status-pill.off{background:#fff1f0;color:#cf1322}.status-pill.info{background:#eef5ff;color:#1668dc}
.cell-stack{display:grid;gap:6px}.cell-main{font-weight:700}.cell-sub{color:#667085;font-size:12px;line-height:1.5}
.detail-list{display:grid;gap:0;border-top:1px solid #eef2f7}.detail-item{display:grid;grid-template-columns:220px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid #eef2f7}.detail-key{font-weight:700;color:#344054}.detail-value{color:#101828;line-height:1.7;white-space:pre-wrap}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.page-note{margin:0 0 18px;padding:12px 14px;border-radius:14px;background:#eef5ff;border:1px solid #cfe0ff;color:#1668dc;font-size:14px;line-height:1.6}
.empty-state{padding:32px 20px;text-align:center;color:#667085}
.empty-title{font-size:20px;font-weight:800;color:#14213d;margin-bottom:6px}.empty-text{font-size:14px;line-height:1.6}
.reference-edit-grid{display:grid;gap:18px}.reference-grid-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.reference-field{display:grid;gap:6px}.reference-field span{font-size:13px;color:#475467;font-weight:700}.reference-field input,.reference-field select,.reference-field textarea{border:1px solid #dbe3ec;border-radius:12px;background:#fff;padding:11px 12px;font-size:14px}.reference-field textarea{min-height:100px;resize:vertical}
@media (max-width: 980px){
  .app-shell{grid-template-columns:1fr}
  .sidebar{position:fixed;left:0;top:0;bottom:0;width:280px;transform:translateX(-100%);z-index:40;overflow:auto;transition:transform .2s ease}
  .sidebar.open{transform:translateX(0)}
  .sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:30}
  .sidebar-backdrop.open{display:block}
  .main{padding:0 16px 16px}
  .topbar{margin:0 -16px 16px;padding:14px 16px}
  .menu-btn{display:inline-flex}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .detail-item{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .cards{grid-template-columns:1fr}
  .topbar h1{font-size:22px}
  .badge-group{justify-content:flex-start}
}


/* 3.29.14 sidebar final overrides: keep the left menu readable and remove old purple left-line effects. */
.app-shell{grid-template-columns:272px minmax(0,1fr);}
.sidebar{width:272px;min-width:272px;max-width:272px;overflow-x:hidden;flex-shrink:0;}
.sidebar-nav{overflow-x:hidden;}
.nav-single,.nav-group__summary,.nav-child{border-left:0!important;border-right:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:10px;}
.nav-group__summary span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.nav-child{padding-left:30px!important;}
.nav-child.active,.nav-child:hover,.nav-single.active,.nav-single:hover,.nav-group__summary.active,.nav-group__summary:hover{background:#eaf3ff!important;color:#145fd7!important;box-shadow:none!important;}
.table-wrap{max-width:100%;overflow-x:auto;}
.main{min-width:0;overflow-x:hidden;}
@media (max-width:960px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:272px;min-width:272px;max-width:272px;transform:translateX(-100%);box-shadow:0 20px 60px rgba(0,0,0,.25)}.sidebar.open{transform:translateX(0)}.menu-btn{display:inline-flex;align-items:center;justify-content:center}}

/* 3.29.15: visible deploy version badge */
.sidebar-version{margin:0 14px 12px;padding:8px 10px;border-radius:12px;background:#eef4ff;color:#2563eb;font-size:12px;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.portal-footer__version{color:#94a3b8;font-size:12px;margin-top:4px}

/* 3.29.15: payment page readability fixes. Long order/payment numbers must wrap inside cards. */
.portal-payment-page{display:grid;gap:18px;min-width:0}
.portal-payment-card{background:#fff;border:1px solid var(--portal-line,#e8edf2);border-radius:22px;box-shadow:var(--portal-shadow,0 12px 30px rgba(15,23,42,.06));padding:26px;display:grid;gap:20px;min-width:0;overflow:hidden}
.portal-payment-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:22px;align-items:center;min-width:0}
.portal-payment-tag{display:inline-flex;align-items:center;padding:7px 13px;border-radius:999px;background:#ecfdf3;color:#167a4b;font-size:13px;font-weight:900;margin-bottom:12px}
.portal-payment-hero h2{margin:0 0 10px;font-size:34px;line-height:1.15;color:#111827;font-weight:900;letter-spacing:-.02em}
.portal-payment-hero p{margin:0;color:#64748b;line-height:1.8;font-size:15px;max-width:680px}
.portal-payment-ticket{justify-self:stretch;background:linear-gradient(135deg,#f8fbff,#eefaf2);border:1px solid #e2e8f0;border-radius:20px;padding:20px;box-shadow:0 18px 34px rgba(15,23,42,.06);min-width:0}
.portal-payment-ticket span,.portal-payment-ticket em{display:block;color:#64748b;font-style:normal;font-size:13px;font-weight:700}
.portal-payment-ticket strong{display:block;margin:8px 0;font-size:34px;line-height:1.1;color:#111827;font-weight:950;word-break:break-word}
.portal-payment-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0}
.portal-payment-facts div{background:#fbfcfd;border:1px solid #edf0f4;border-radius:16px;padding:14px 16px;min-width:0;overflow:hidden}
.portal-payment-facts span{display:block;color:#718096;font-size:12px;font-weight:800;margin-bottom:7px}
.portal-payment-facts strong{display:block;color:#111827;font-size:18px;line-height:1.35;font-weight:900;word-break:break-all;overflow-wrap:anywhere;white-space:normal}
.portal-payment-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.portal-payment-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:12px;border:1px solid var(--portal-line-strong,#cbd5e1);background:#fff;color:#334155;font-size:14px;font-weight:800;text-decoration:none;cursor:pointer}
.portal-payment-actions .btn.primary{border-color:transparent;background:linear-gradient(90deg,#6aa7ff,#2f75ff);color:#173b23}
.portal-payment-actions .btn.soft{background:#f8fafc;color:#475569}
.portal-payment-actions--form{margin:0}
@media (max-width:1080px){.portal-payment-hero{grid-template-columns:1fr}.portal-payment-ticket{max-width:420px}.portal-payment-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.portal-payment-card{padding:18px}.portal-payment-hero h2{font-size:28px}.portal-payment-facts{grid-template-columns:1fr}.portal-payment-actions{flex-direction:column;align-items:stretch}.portal-payment-actions .btn{width:100%}}

/* 3.29.15: flash messages are toast overlays, no longer taking document flow or causing the storefront to jump. */
.portal-main .portal-flash{position:fixed;left:50%;top:22px;transform:translateX(-50%);z-index:9999;max-width:min(520px,calc(100vw - 32px));width:max-content;box-shadow:0 18px 40px rgba(15,23,42,.16);border-radius:999px;padding:12px 18px;animation:portalToastIn .18s ease-out both;pointer-events:none}
.portal-main .portal-flash.is-hiding{animation:portalToastOut .22s ease-in both}
@keyframes portalToastIn{from{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes portalToastOut{from{opacity:1;transform:translate(-50%,0)}to{opacity:0;transform:translate(-50%,-12px)}}

/* 3.29.16: admin shell and frontend search hardening */
html, body {
  min-width: 0;
  overflow-x: hidden;
}
.app-shell {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}
.sidebar {
  box-sizing: border-box;
  width: 272px;
  min-width: 272px;
  max-width: 272px;
  flex: 0 0 272px;
  overflow: hidden;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
}
.sidebar-nav {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
}
.nav-single,
.nav-group__summary,
.nav-child {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  border-left: 0 !important;
}
.nav-group__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.nav-child {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}
.nav-child.active,
.nav-child:hover,
.nav-single.active,
.nav-single:hover {
  border-left: 0 !important;
}
.main {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.panel,
.card,
.table-wrap,
.reference-form-shell,
.admin-table {
  min-width: 0;
  max-width: 100%;
}
.table-wrap {
  overflow-x: auto;
}
.supplier-fetch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.supplier-product-picker select {
  width: 100%;
}
.portal-search--wide,
.hero-search,
.search-bar {
  min-width: 0;
}
.portal-search--wide input,
.hero-search input,
.search-bar input,
.home-search input {
  min-width: 0;
  height: 56px;
  line-height: 56px;
  overflow: visible;
  text-overflow: clip;
}
.portal-search--wide button,
.hero-search button,
.search-bar button,
.home-search button {
  min-height: 56px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
@media (min-width: 961px) and (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 272px minmax(720px, 1fr);
    overflow-x: auto;
  }
  .main {
    overflow-x: visible;
  }
}
@media (max-width: 960px) {
  .app-shell {
    display: block;
    overflow-x: hidden;
  }
  .sidebar {
    position: fixed;
    z-index: 60;
    left: 0;
    top: 0;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform .2s ease;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .main {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .portal-search--wide,
  .hero-search,
  .search-bar,
  .home-search {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .portal-search--wide button,
  .hero-search button,
  .search-bar button,
  .home-search button {
    width: 100%;
  }
}
.portal-search.portal-search--wide {
  grid-template-columns: minmax(0, 1fr) minmax(96px, 112px);
  align-items: stretch;
}
.portal-search.portal-search--wide input {
  box-sizing: border-box;
  height: 58px;
  line-height: 58px;
}
.portal-search.portal-search--wide button {
  min-width: 96px;
  height: 58px;
  padding: 0 18px;
}

/* 3.29.17: final admin sidebar responsive fix.
   Root cause: the page-level horizontal scroll allowed the whole app shell to slide, so the sidebar itself could be half outside the viewport.
   Keep the shell fixed, let tables/cards scroll inside the content area, and switch the sidebar to a full drawer earlier. */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
.app-shell {
  grid-template-columns: 272px minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
.sidebar {
  box-sizing: border-box !important;
  width: 272px !important;
  min-width: 272px !important;
  max-width: 272px !important;
  flex: 0 0 272px !important;
  left: 0;
  transform: none;
}
.sidebar-nav {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden !important;
}
.nav-single,
.nav-group__summary,
.nav-child {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.nav-group__summary > span:first-child {
  min-width: 0;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}
.main {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
.panel,
.card,
.toolbar-panel,
.reference-form-shell {
  max-width: 100%;
  min-width: 0;
}
.table-wrap,
.admin-table-wrap,
.reference-form,
.query-grid {
  max-width: 100%;
  min-width: 0;
}
.table-wrap,
.admin-table-wrap {
  overflow-x: auto !important;
}
@media (min-width: 1201px) {
  .sidebar {
    position: sticky !important;
    top: 0;
    height: 100vh;
    transform: none !important;
  }
  .menu-btn {
    display: none !important;
  }
}
@media (max-width: 1200px) {
  .app-shell {
    display: block !important;
  }
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 60 !important;
    height: 100vh !important;
    transform: translateX(-105%) !important;
    transition: transform .2s ease !important;
    box-shadow: 0 20px 60px rgba(15,23,42,.22) !important;
  }
  .sidebar.open,
  .sidebar.is-open {
    transform: translateX(0) !important;
  }
  .sidebar-backdrop {
    position: fixed !important;
    inset: 0 !important;
    display: none;
    z-index: 50 !important;
    background: rgba(15,23,42,.42) !important;
  }
  .sidebar-backdrop.open,
  .sidebar-backdrop.is-open {
    display: block !important;
  }
  .menu-btn {
    display: inline-flex !important;
  }
  .main {
    width: 100% !important;
  }
}

/* 3.29.18: vertical-shrink sidebar fix.
   When the browser window height is small, the nav must scroll; flex items must not shrink and clip their text. */
.sidebar{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:hidden!important;
}
.brand,.sidebar-version{
  flex:0 0 auto!important;
}
.sidebar-nav{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  padding-bottom:18px!important;
}
.sidebar-nav .nav-group,
.sidebar-nav .nav-single,
.sidebar-nav .nav-group__summary,
.sidebar-nav .nav-child{
  flex:0 0 auto!important;
  min-height:44px!important;
  height:auto!important;
  line-height:1.35!important;
}
.sidebar-nav .nav-group{
  display:block!important;
  overflow:visible!important;
}
.sidebar-nav .nav-group__summary,
.sidebar-nav .nav-child,
.sidebar-nav .nav-single{
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.sidebar-nav .nav-group__items{
  flex:0 0 auto!important;
}
@media (max-height: 720px){
  .sidebar-nav .nav-group__summary,
  .sidebar-nav .nav-child,
  .sidebar-nav .nav-single{
    min-height:40px!important;
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
}
@media (max-height: 520px){
  .brand{margin-bottom:8px!important;}
  .sidebar-version{margin-bottom:8px!important;}
  .sidebar-nav{gap:4px!important;}
}

/* 3.29.18: product rich text editor and supplier picker improvements. */
.reference-rich-editor{border:1px solid #cbd5e1;border-radius:12px;background:#fff;overflow:hidden;min-width:0}
.reference-rich-toolbar{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:8px;border-bottom:1px solid #e5e7eb;background:#f8fafc}
.reference-rich-toolbar button{min-width:34px;height:32px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#334155;font-weight:800;cursor:pointer}
.reference-rich-toolbar button:hover{background:#eef4ff;color:#1668dc;border-color:#b8d2ff}
.reference-rich-body{min-height:190px;padding:12px 14px;line-height:1.75;outline:none;word-break:break-word;overflow:auto}
.reference-rich-body:empty:before{content:attr(data-placeholder);color:#94a3b8}
.reference-rich-body p{margin:0 0 10px}.reference-rich-body ul,.reference-rich-body ol{margin:0 0 10px 22px;padding:0}.reference-rich-body img{max-width:100%;height:auto;border-radius:8px}
.supplier-product-picker select option{line-height:1.6}
.supplier-category-chip{display:inline-flex;align-items:center;margin:8px 8px 0 0;padding:5px 10px;border-radius:999px;background:#eef4ff;color:#1668dc;font-size:12px;font-weight:800}

/* 3.29.19: supplier product picker search/categories and richer description colors. */
.supplier-product-tools{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(180px,.8fr);gap:10px;margin-bottom:10px}
.supplier-product-tools input,.supplier-product-tools select{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:12px;padding:0 12px;background:#fff;color:#0f172a;font-weight:700;box-sizing:border-box}
.supplier-product-native-select{display:none!important}
.supplier-product-result-list{max-height:380px;overflow:auto;border:1px solid #dbe3ef;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}
.supplier-product-group{border-bottom:1px solid #edf2f7}.supplier-product-group:last-child{border-bottom:none}
.supplier-product-group__title{position:sticky;top:0;z-index:1;padding:8px 12px;background:#f8fafc;color:#64748b;font-size:12px;font-weight:900;border-bottom:1px solid #edf2f7}
.supplier-product-result{display:grid;gap:4px;width:100%;padding:12px 14px;border:0;border-bottom:1px solid #f1f5f9;background:#fff;text-align:left;cursor:pointer;color:#111827}
.supplier-product-result:last-child{border-bottom:none}.supplier-product-result:hover{background:#eff6ff}.supplier-product-result.active{background:#e8f2ff;box-shadow:inset 3px 0 0 #1677ff}
.supplier-product-result strong{font-size:14px;line-height:1.45;word-break:break-word}.supplier-product-result span{font-size:12px;color:#64748b;word-break:break-word}.supplier-product-empty{padding:18px 14px;color:#64748b;font-weight:700}
.reference-color-control{display:inline-flex!important;align-items:center;gap:6px;min-height:32px;padding:0 8px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#334155;font-size:12px;font-weight:800;cursor:pointer}
.reference-color-control input{width:28px;height:24px;padding:0;border:0;background:transparent;cursor:pointer}
.reference-rich-body span[style],.reference-rich-body p[style],.reference-rich-body div[style],.reference-rich-body li[style],.reference-rich-body font[color]{border-radius:3px;padding:0 1px}
@media (max-width:720px){.supplier-product-tools{grid-template-columns:1fr}.supplier-product-result-list{max-height:320px}}

/* 3.29.19: storefront toast appears near the current viewport bottom/right and never takes page flow. */
.portal-toast-stack{position:fixed;right:24px;bottom:28px;z-index:10020;display:grid;gap:10px;max-width:min(420px,calc(100vw - 32px));pointer-events:none}
.portal-toast-stack .portal-flash,.portal-main .portal-flash{position:relative;left:auto;top:auto;right:auto;bottom:auto;transform:none;max-width:100%;width:auto;border-radius:14px;padding:12px 16px;box-shadow:0 16px 38px rgba(15,23,42,.18);pointer-events:none;animation:portalToastBottomIn .18s ease-out both}
.portal-main .portal-flash{position:fixed!important;right:24px!important;bottom:28px!important;left:auto!important;top:auto!important;transform:none!important;z-index:10020!important}
.portal-toast-stack .portal-flash.is-hiding,.portal-main .portal-flash.is-hiding{animation:portalToastBottomOut .22s ease-in both}
@keyframes portalToastBottomIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes portalToastBottomOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(14px)}}
@media (max-width:720px){.portal-toast-stack{left:16px;right:16px;bottom:18px}.portal-main .portal-flash{left:16px!important;right:16px!important;bottom:18px!important}}

/* 3.29.20: product editor quantity switch and rich-text font size controls. */
.reference-size-control{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #dbe3ef;border-radius:9px;background:#fff;font-size:12px;font-weight:800;color:#334155}
.reference-size-control select{min-height:26px;border:0;background:transparent;font-weight:800;color:#0f172a;outline:none}
.reference-rich-body span[style*="font-size"]{line-height:1.55}

/* 3.29.21: remove duplicated native number spinners inside custom quantity picker. */
.portal-qty-picker input[type='number']{
  -moz-appearance:textfield;
  appearance:textfield;
}
.portal-qty-picker input[type='number']::-webkit-outer-spin-button,
.portal-qty-picker input[type='number']::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.portal-cart-paybar{
  display:grid;
  gap:8px;
  padding:14px 16px;
  margin:14px 0 8px;
  border:1px solid #dbe6f2;
  border-radius:16px;
  background:#f8fbff;
}
.portal-cart-paybar label{display:grid;gap:8px;max-width:360px;font-weight:800;color:#344054;}
.portal-cart-paybar select{min-height:46px;border:1px solid #dbe2ea;border-radius:12px;padding:0 14px;background:#fff;font-size:14px;}
.portal-cart-paybar__hint{color:#667085;font-size:13px;line-height:1.7;}
.portal-inline-form--payment{display:inline-flex;margin:0;}
.portal-payment-actions .btn.success{background:#ecfdf3;border-color:#abefc6;color:#067647;font-weight:800;}

/* 3.29.22: selected upstream product confirmation card */
.supplier-product-selected{margin:10px 0 12px;padding:12px 14px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff;color:#0f172a;display:grid;gap:5px;position:relative}
.supplier-product-selected__head{font-size:12px;font-weight:900;color:#1677ff;letter-spacing:.02em}
.supplier-product-selected__title{font-size:15px;font-weight:900;line-height:1.4;word-break:break-word}
.supplier-product-selected__meta{font-size:12px;color:#64748b;word-break:break-word}
.supplier-product-selected__change{position:absolute;right:10px;top:10px;border:1px solid #93c5fd;border-radius:10px;background:#fff;color:#1677ff;font-weight:800;padding:6px 10px;cursor:pointer}
.supplier-product-selected__change:hover{background:#dbeafe}

/* 3.29.23: 对接商品选择器价格与已选状态更清晰 */
.supplier-product-result{position:relative;display:grid;grid-template-columns:1fr auto;gap:6px 14px;text-align:left;align-items:center;width:100%;padding:14px 16px;border:0;border-bottom:1px solid #edf1f7;background:#fff;cursor:pointer}
.supplier-product-result:hover,.supplier-product-result.active{background:#f4f8ff}
.supplier-product-result__main{display:grid;gap:4px;min-width:0}
.supplier-product-result__main strong{font-size:14px;color:#111827;white-space:normal;word-break:break-word}
.supplier-product-result__main em{font-style:normal;color:#64748b;font-size:12px}
.supplier-product-result__meta{grid-column:1/2;color:#64748b;font-size:12px;word-break:break-all}
.supplier-product-result__price{grid-row:1/3;grid-column:2/3;align-self:center;justify-self:end;color:#d14343;font-weight:800;font-size:15px;white-space:nowrap}
.supplier-check-readonly input[readonly],.supplier-check-readonly textarea[readonly]{background:#f8fafc;color:#475569;cursor:not-allowed}

/* 3.29.23: 前台商品页购买确认弹框，提交后默认停留当前商品页 */
.portal-modal-open{overflow:hidden}
.portal-pay-modal[hidden]{display:none!important}
.portal-pay-modal{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:24px}
.portal-pay-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.56);backdrop-filter:blur(2px)}
.portal-pay-modal__card{position:relative;width:min(720px,calc(100vw - 32px));border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.32);overflow:hidden;text-align:center;padding:44px 48px 34px;animation:portalPayModalIn .18s ease-out both}
.portal-pay-modal__close{position:absolute;right:22px;top:18px;border:0;background:transparent;font-size:36px;line-height:1;color:#999;cursor:pointer}
.portal-pay-modal__title{font-size:24px;font-weight:700;color:#5273d9;margin-bottom:28px}
.portal-pay-modal__amount{font-size:56px;font-weight:800;letter-spacing:-1px;color:#2b2f36;margin-bottom:42px}
.portal-pay-modal__method{display:flex;align-items:center;text-align:left;gap:18px;padding:0 8px 42px;margin:0 -8px 28px;border-bottom:1px solid #edf0f5}
.portal-pay-modal__icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#4f73ff;color:#fff;font-size:32px;font-weight:800}
.portal-pay-modal__method strong{display:block;font-size:20px;color:#1f2937;margin-bottom:6px}
.portal-pay-modal__method span{display:block;color:#9aa3b2;font-size:15px}
.portal-pay-modal__method em{margin-left:auto;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#5b7cff;color:#fff;font-style:normal;font-weight:700}
.portal-pay-modal__error{margin:0 0 16px;padding:12px 14px;border-radius:12px;background:#fff1f0;color:#b42318;text-align:left;border:1px solid #ffd8d3}
.portal-pay-modal__submit{width:100%;border:0;border-radius:8px;background:#4f73ff;color:#fff;font-size:18px;font-weight:700;height:58px;cursor:pointer;box-shadow:0 12px 24px rgba(79,115,255,.24)}
.portal-pay-modal__submit:disabled{opacity:.72;cursor:not-allowed}
@keyframes portalPayModalIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media (max-width:720px){.portal-pay-modal__card{padding:34px 24px 26px}.portal-pay-modal__amount{font-size:44px}.portal-pay-modal__method{gap:12px}.portal-pay-modal__icon{width:48px;height:48px;font-size:26px}}

/* 3.29.24 storefront configurable primary color + account table polish */
.portal-shell--recording{--portal-green:var(--portal-main-color,#2f75ff)}
.portal-search{border-color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 65%,#ffffff)}
.portal-search button,
.portal-filter-grid button,
.portal-auth-form button,
.profile-recording-form button,
.portal-order-actions .btn.primary,
.portal-pagination .btn.primary,
.portal-pay-modal__submit{background:var(--portal-main-color,#2f75ff)!important;color:#fff!important}
.portal-top-links--member a.active,.portal-top-links--member a:hover{color:var(--portal-main-color,#2f75ff);border-color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 35%,#ffffff);background:color-mix(in srgb,var(--portal-main-color,#2f75ff) 10%,#ffffff)}
.portal-detail-tabs button.active,.portal-order-tabs a.active{border-color:var(--portal-main-color,#2f75ff);color:#111827}
.portal-history-table__head{background:color-mix(in srgb,var(--portal-main-color,#2f75ff) 10%,#ffffff)}
.portal-history-table__row a{color:var(--portal-main-color,#2f75ff)}
.portal-history-table--ledger .portal-history-table__head,
.portal-history-table--ledger .portal-history-table__row{grid-template-columns:1fr 1fr 1.2fr minmax(220px,2.2fr) 1.3fr 1.5fr;align-items:center}
.portal-history-table--ledger span{min-width:0;word-break:break-word;line-height:1.55}
.portal-history-table--ledger .portal-history-table__row span:nth-child(2),
.portal-history-table--ledger .portal-history-table__row span:nth-child(3){font-variant-numeric:tabular-nums;text-align:right}
.member-upgrade-panel{display:grid;gap:18px}.member-upgrade-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.member-upgrade-card{display:grid;gap:12px;border:1px solid var(--portal-line);border-radius:18px;background:#fff;padding:20px;box-shadow:var(--portal-shadow)}.member-upgrade-card.active{border-color:var(--portal-main-color,#2f75ff);background:color-mix(in srgb,var(--portal-main-color,#2f75ff) 7%,#ffffff)}.member-upgrade-card__badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 12px;border-radius:999px;background:color-mix(in srgb,var(--portal-main-color,#2f75ff) 14%,#ffffff);color:var(--portal-main-color,#2f75ff);font-weight:800;width:max-content}.member-upgrade-card h3{margin:0;font-size:22px}.member-upgrade-card p{margin:0;color:#667085;line-height:1.7}.member-upgrade-card__price{font-size:32px;font-weight:900;color:#111827}.member-upgrade-card button[disabled]{opacity:.55;cursor:not-allowed}.member-upgrade-notes{margin:0;padding-left:18px;color:#667085;line-height:1.9}
@media (max-width:900px){.member-upgrade-tabs{grid-template-columns:1fr}.portal-history-table--ledger{overflow-x:auto}.portal-history-table--ledger .portal-history-table__head,.portal-history-table--ledger .portal-history-table__row{min-width:880px}}

/* 3.29.26: compact themed payment modal + product history search */
.portal-pay-modal{padding:18px!important}
.portal-pay-modal__card{width:min(520px,calc(100vw - 28px))!important;border-radius:18px!important;padding:28px 30px 24px!important;text-align:center!important}
.portal-pay-modal__close{right:18px!important;top:14px!important;font-size:30px!important;color:#8a8f98!important}
.portal-pay-modal__title{font-size:22px!important;line-height:1.25!important;margin-bottom:16px!important;color:var(--portal-main-color,#2f75ff)!important}
.portal-pay-modal__amount{font-size:48px!important;line-height:1.05!important;margin-bottom:26px!important;color:#20242a!important}
.portal-pay-modal__method{gap:14px!important;padding:0 4px 24px!important;margin:0 0 22px!important;border-bottom:1px solid #edf0f5!important}
.portal-pay-modal__icon{width:48px!important;height:48px!important;font-size:28px!important;background:var(--portal-main-color,#2f75ff)!important;color:#fff!important}
.portal-pay-modal__method strong{font-size:18px!important;margin-bottom:0!important}
.portal-pay-modal__method span:empty{display:none!important}
.portal-pay-modal__method span[hidden]{display:none!important}
.portal-pay-modal__method em{width:26px!important;height:26px!important;background:var(--portal-main-color,#2f75ff)!important;color:#fff!important}
.portal-pay-modal__submit{height:50px!important;border-radius:10px!important;font-size:17px!important;background:var(--portal-main-color,#2f75ff)!important;box-shadow:0 12px 24px color-mix(in srgb,var(--portal-main-color,#2f75ff) 24%,transparent)!important}
.portal-history-toolbar--search{align-items:flex-start!important}
.portal-history-toolbar--search>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.portal-history-search{margin-left:auto;min-width:260px;flex:0 1 360px}
.portal-history-search input{width:100%;height:40px;border:1px solid #dfe5ee;border-radius:12px;padding:0 14px;font-size:14px;outline:none;background:#fff;color:#1f2937}
.portal-history-search input:focus{border-color:var(--portal-main-color,#2f75ff);box-shadow:0 0 0 3px color-mix(in srgb,var(--portal-main-color,#2f75ff) 12%,transparent)}
.portal-history-table__row--new{animation:portalHistoryNew .9s ease both;background:color-mix(in srgb,var(--portal-main-color,#2f75ff) 5%,#fff)!important}
@keyframes portalHistoryNew{0%{transform:translateY(-4px);opacity:.3}100%{transform:translateY(0);opacity:1}}
@media (max-width:720px){.portal-pay-modal__card{padding:26px 20px 22px!important}.portal-pay-modal__amount{font-size:40px!important}.portal-history-search{min-width:100%;flex-basis:100%}.portal-pay-modal__method{padding-bottom:20px!important}}

/* 3.29.26: compact themed payment modal + product history search */
.portal-pay-modal{padding:18px!important}
.portal-pay-modal__card{width:min(520px,calc(100vw - 28px))!important;border-radius:18px!important;padding:28px 30px 24px!important;text-align:center!important}
.portal-pay-modal__close{right:18px!important;top:14px!important;font-size:30px!important;color:#8a8f98!important}
.portal-pay-modal__title{font-size:22px!important;line-height:1.25!important;margin-bottom:16px!important;color:var(--portal-main-color,#2f75ff)!important}
.portal-pay-modal__amount{font-size:48px!important;line-height:1.05!important;margin-bottom:26px!important;color:#20242a!important}
.portal-pay-modal__method{gap:14px!important;padding:0 4px 24px!important;margin:0 0 22px!important;border-bottom:1px solid #edf0f5!important}
.portal-pay-modal__icon{width:48px!important;height:48px!important;font-size:28px!important;background:var(--portal-main-color,#2f75ff)!important;color:#fff!important}
.portal-pay-modal__method strong{font-size:18px!important;margin-bottom:0!important}
.portal-pay-modal__method span:empty{display:none!important}
.portal-pay-modal__method span[hidden]{display:none!important}
.portal-pay-modal__method em{width:26px!important;height:26px!important;background:var(--portal-main-color,#2f75ff)!important;color:#fff!important}
.portal-pay-modal__submit{height:50px!important;border-radius:10px!important;font-size:17px!important;background:var(--portal-main-color,#2f75ff)!important;box-shadow:0 12px 24px rgba(47,117,255,.18)!important}
.portal-history-toolbar--search{align-items:flex-start!important}
.portal-history-toolbar--search>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.portal-history-search{margin-left:auto;min-width:260px;flex:0 1 360px}
.portal-history-search input{width:100%;height:40px;border:1px solid #dfe5ee;border-radius:12px;padding:0 14px;font-size:14px;outline:none;background:#fff;color:#1f2937}
.portal-history-search input:focus{border-color:var(--portal-main-color,#2f75ff);box-shadow:0 0 0 3px rgba(47,117,255,.12)}
.portal-history-table__row--new{animation:portalHistoryNew .9s ease both;background:#f6fff8!important}
@keyframes portalHistoryNew{0%{transform:translateY(-4px);opacity:.3}100%{transform:translateY(0);opacity:1}}
@media (max-width:720px){.portal-pay-modal__card{padding:26px 20px 22px!important}.portal-pay-modal__amount{font-size:40px!important}.portal-history-search{min-width:100%;flex-basis:100%}.portal-pay-modal__method{padding-bottom:20px!important}}

/* 3.29.27: final sidebar viewport fill + member upgrade confirmation modal */
@media (min-width:901px){
  .app-shell{min-height:100vh;align-items:stretch;background:#f3f6fb;}
  .app-shell>.sidebar{position:sticky!important;top:0!important;align-self:start!important;height:100vh!important;min-height:100vh!important;background:#fff!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;box-shadow:inset -1px 0 0 #e5e7eb!important;}
  .app-shell>.sidebar .sidebar-nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;}
}
.member-upgrade-card__threshold{font-size:13px;color:#667085;line-height:1.6;border-radius:12px;background:#f8fafc;padding:8px 10px}
.portal-upgrade-modal[hidden]{display:none!important}
.portal-upgrade-modal{position:fixed;inset:0;z-index:10060;display:grid;place-items:center;padding:20px}
.portal-upgrade-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(2px)}
.portal-upgrade-modal__card{position:relative;width:min(460px,calc(100vw - 32px));background:#fff;border-radius:20px;box-shadow:0 30px 90px rgba(15,23,42,.28);padding:28px 30px 26px;text-align:center;display:grid;gap:12px;animation:portalPayModalIn .18s ease-out both}
.portal-upgrade-modal__close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:30px;line-height:1;color:#98a2b3;cursor:pointer}
.portal-upgrade-modal__eyebrow{color:var(--portal-main-color,#2f75ff);font-weight:900;font-size:14px;letter-spacing:.08em}
.portal-upgrade-modal__card h2{margin:0;font-size:24px;color:#111827}
.portal-upgrade-modal__price{font-size:48px;line-height:1.1;font-weight:900;color:#111827;letter-spacing:-.03em}
.portal-upgrade-modal__level{font-size:18px;font-weight:900;color:var(--portal-main-color,#2f75ff)}
.portal-upgrade-modal__desc,.portal-upgrade-modal__threshold{margin:0;color:#667085;line-height:1.7}
.portal-upgrade-modal__actions{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin-top:8px}
.portal-upgrade-modal__actions .btn{min-height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:900;border:1px solid #d9e2ec;background:#fff;color:#344054}
.portal-upgrade-modal__actions .btn.primary{border-color:transparent;background:var(--portal-main-color,#2f75ff);color:#fff}
@media (max-width:640px){.portal-upgrade-modal__card{padding:26px 20px 22px}.portal-upgrade-modal__price{font-size:40px}.portal-upgrade-modal__actions{grid-template-columns:1fr}}

/* 3.29.29: supplier picker uses parent/child category navigation instead of flattening all children. */
.supplier-product-tools--hierarchy{grid-template-columns:minmax(260px,1.2fr) minmax(160px,.7fr) minmax(160px,.7fr)}
.supplier-product-tools select:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}
.supplier-category-summary-title{margin:10px 0 2px;color:#475569;font-size:12px;font-weight:900}
.portal-input-help{display:block;margin-top:-2px;color:#8a96a8;font-size:12px;font-style:normal;line-height:1.5}
.portal-order-form input:invalid{border-color:#f04438!important;box-shadow:0 0 0 3px rgba(240,68,56,.08)}
@media (max-width:820px){.supplier-product-tools--hierarchy{grid-template-columns:1fr}}

/* v3.29.30: 商品详情历史订单筛选、批量下单和详情图片优化 */
.portal-history-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.portal-history-filterbar select,
.portal-history-filterbar input[type="date"],
.portal-history-filterbar input[type="search"] {
  height: 40px;
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  color: #172033;
  font-size: 14px;
}
.portal-history-filterbar input[type="search"] {
  min-width: 230px;
}
.portal-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 10px 0;
}
.batch-guide code {
  background: rgba(22, 119, 255, .08);
  border-radius: 6px;
  padding: 2px 6px;
}
@media (max-width: 720px) {
  .portal-history-filterbar,
  .portal-history-filterbar input[type="search"] {
    width: 100%;
  }
  .portal-history-filterbar select,
  .portal-history-filterbar input[type="date"],
  .portal-history-filterbar input[type="search"] {
    width: 100%;
  }
}


/* 3.29.31: history filter compact layout, stable member badges, stronger admin shell */
.portal-nav-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:12px;
  font-style:normal;
  font-weight:700;
  line-height:1;
}
.portal-nav-badge.is-empty{
  visibility:hidden;
}
.portal-top-links--member a,
.member-panel__nav a{
  min-width:max-content;
}
.portal-history-head{
  display:grid;
  gap:12px;
  margin-bottom:14px;
}
.portal-history-summary{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.portal-history-filterbar--wide{
  justify-content:flex-start;
  width:100%;
}
.portal-history-filterbar--wide select,
.portal-history-filterbar--wide input[type="date"]{
  min-width:180px;
  flex:0 0 auto;
}
.portal-history-filterbar--wide input[type="search"]{
  min-width:320px;
  flex:1 1 340px;
}
@media (max-width:900px){
  .portal-history-filterbar--wide select,
  .portal-history-filterbar--wide input[type="date"],
  .portal-history-filterbar--wide input[type="search"]{
    width:100%;
    min-width:0;
    flex:1 1 100%;
  }
}
@media (min-width:901px){
  .app-shell{
    grid-template-columns:272px minmax(0,1fr)!important;
    min-height:100vh!important;
    height:100vh!important;
    overflow:hidden!important;
    align-items:stretch!important;
  }
  .app-shell > .sidebar{
    position:sticky!important;
    top:0!important;
    height:100vh!important;
    min-height:100vh!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    align-self:stretch!important;
  }
  .app-shell > .sidebar .sidebar-nav{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  .app-shell > .main{
    height:100vh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    min-width:0!important;
  }
}


/* 3.29.32: definitive admin shell scrolling ownership */
html.app-shell-page,
body.app-shell-page{
  height:100%;
  overflow:hidden!important;
}
body.app-shell-page{
  margin:0;
  position:fixed;
  inset:0;
  width:100%;
}
@media (min-width:901px){
  body.app-shell-page .app-shell{
    min-height:100dvh!important;
    height:100dvh!important;
    overflow:hidden!important;
  }
  body.app-shell-page .app-shell > .sidebar{
    position:sticky!important;
    top:0!important;
    height:100dvh!important;
    min-height:100dvh!important;
    overflow:hidden!important;
    align-self:stretch!important;
  }
  body.app-shell-page .app-shell > .sidebar .sidebar-nav{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
  body.app-shell-page .app-shell > .main{
    height:100dvh!important;
    min-height:100dvh!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
}

/* 3.29.33: home banner image, compact history range picker, richer batch board, smaller detail images */
.portal-hero-banner--image{
  padding:0;
  overflow:hidden;
  background:#f6f8fb;
  min-height:220px;
}
.portal-hero-banner__image-link,
.portal-hero-banner--image > .portal-hero-banner__image-link{
  display:block;
  width:100%;
  height:100%;
  position:relative;
  color:inherit;
  text-decoration:none;
}
.portal-hero-banner__image{
  display:block;
  width:100%;
  min-height:220px;
  max-height:360px;
  object-fit:cover;
}
.portal-hero-banner__overlay{
  position:absolute;
  inset:auto 24px 24px 24px;
  padding:18px 20px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(15,23,42,.18), rgba(15,23,42,.58));
  color:#fff;
  backdrop-filter:blur(4px);
}
.portal-hero-banner__overlay .portal-hero-banner__sub,
.portal-hero-banner__overlay .portal-hero-banner__desc{
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.18);
}

.portal-history-filterbar--wide{
  display:grid;
  grid-template-columns:minmax(180px,.65fr) minmax(250px,.75fr) minmax(260px,1fr);
  align-items:center;
  gap:14px;
}
.portal-date-range{
  position:relative;
  min-width:0;
}
.portal-date-range__trigger{
  width:100%;
  min-height:46px;
  padding:0 16px;
  border:1px solid #d9e2ef;
  border-radius:14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#1f2937;
  font-size:14px;
  cursor:pointer;
}
.portal-date-range__trigger:focus{
  outline:none;
  border-color:var(--portal-main-color,#2f75ff);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--portal-main-color,#2f75ff) 12%,transparent);
}
.portal-date-range__icon{font-size:16px;opacity:.75}
.portal-date-range__panel{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  z-index:30;
  min-width:320px;
  padding:14px;
  border:1px solid #e5ecf3;
  border-radius:16px;
  background:#fff;
  box-shadow:0 18px 40px rgba(15,23,42,.12);
  display:grid;
  gap:12px;
}
.portal-date-range__panel[hidden]{display:none !important;}
.portal-date-range__inputs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.portal-date-range__inputs label{
  display:grid;
  gap:6px;
  font-size:12px;
  color:#64748b;
}
.portal-date-range__inputs input{
  height:40px;
  border:1px solid #d9e2ef;
  border-radius:12px;
  padding:0 12px;
  background:#fff;
}
.portal-date-range__quick{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}
.portal-date-range__quick button{
  min-height:34px;
  padding:0 14px;
  border:1px solid #dbe4ee;
  border-radius:999px;
  background:#fff;
  color:#334155;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.portal-date-range__quick button[data-date-apply]{
  border-color:var(--portal-main-color,#2f75ff);
  color:var(--portal-main-color,#2f75ff);
}

.portal-richtext img{
  display:block;
  width:auto;
  max-width:min(100%, 420px);
  height:auto;
  margin:14px auto;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
}

.portal-batch-builder{display:grid;gap:18px}
.portal-batch-modebar{
  display:grid;
  gap:12px;
  padding:16px 18px;
  border:1px solid #e7edf4;
  border-radius:18px;
  background:#fbfcfe;
}
.portal-batch-modebar__tabs{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.portal-batch-modebar__tab{
  min-height:42px;
  padding:0 18px;
  border:1px solid #dbe4ee;
  border-radius:12px;
  background:#fff;
  color:#334155;
  font-weight:800;
  cursor:pointer;
}
.portal-batch-modebar__tab.active{
  border-color:var(--portal-main-color,#2f75ff);
  color:var(--portal-main-color,#2f75ff);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--portal-main-color,#2f75ff) 12%,transparent);
}
.portal-batch-modebar__panel{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.portal-batch-modebar__panel[hidden]{display:none!important}
.portal-batch-modebar__panel > span{
  min-width:76px;
  color:#475569;
  font-weight:700;
}
.portal-batch-random-range{
  display:flex;
  align-items:center;
  gap:10px;
}
.portal-batch-random-range input{
  width:120px;
  height:42px;
  border:1px solid #dbe4ee;
  border-radius:12px;
  padding:0 12px;
  background:#fff;
}
.portal-batch-editor{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.portal-batch-editor__label{
  color:#334155;
  font-weight:800;
  padding-top:10px;
}
.portal-batch-editor__board{
  border:1px solid #e7edf4;
  border-radius:20px;
  background:#fff;
  overflow:hidden;
}
.portal-batch-table-wrap{overflow:auto}
.portal-batch-table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}
.portal-batch-table thead th{
  padding:13px 14px;
  background:#f8fbfd;
  border-bottom:1px solid #edf2f7;
  color:#475569;
  font-size:13px;
  font-weight:800;
  text-align:left;
}
.portal-batch-table tbody td{
  padding:10px 12px;
  border-bottom:1px solid #f1f5f9;
  background:#fff;
}
.portal-batch-table__row.is-empty td{background:#fcfdfd}
.portal-batch-table__index{
  width:48px;
  text-align:center;
  color:#94a3b8;
  font-weight:800;
}
.portal-batch-table input{
  width:100%;
  min-height:42px;
  border:1px solid #dbe4ee;
  border-radius:12px;
  padding:0 12px;
  background:#fff;
}
.portal-batch-table__qty{width:132px}
.portal-batch-table.hide-row-qty [data-batch-qty-col],.portal-batch-table.hide-row-qty .portal-batch-table__qty{display:none}
.portal-batch-editor__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px 0;
  flex-wrap:wrap;
}
.portal-batch-editor__count{color:#64748b;font-size:13px}
.portal-batch-editor__actions{display:flex;gap:10px;flex-wrap:wrap}
.portal-detail-hint--batch{padding:0 16px 12px}
.portal-order-summary--recording{padding:0 16px 4px}
.portal-order-actions--recording.top-gap{padding:0 16px 16px}

@media (max-width:960px){
  .portal-history-filterbar--wide{grid-template-columns:1fr}
  .portal-date-range__panel{left:0;right:0;min-width:0}
  .portal-batch-editor{grid-template-columns:1fr}
  .portal-batch-editor__label{padding-top:0}
}
@media (max-width:640px){
  .portal-hero-banner__image{max-height:220px}
  .portal-hero-banner__overlay{left:14px;right:14px;bottom:14px;padding:14px 16px}
  .portal-date-range__inputs{grid-template-columns:1fr}
  .portal-batch-modebar__panel{align-items:flex-start}
  .portal-batch-random-range{width:100%}
  .portal-batch-random-range input{width:100%}
  .portal-batch-editor__footer{align-items:flex-start}
}

.portal-order-card__actions form{display:block}.portal-order-card__actions form button{display:flex;justify-content:center;align-items:center;width:100%;min-height:38px;border-radius:10px;background:#fff4f3;border:1px solid #f4c7c1;color:#cf3f32;font-weight:700;cursor:pointer}.portal-order-card__actions form button:hover{background:#feeceb}

/* 3.29.36: storefront banner on products/member home + richer member order cards/detail + inline refund feedback */
.portal-hero-banner--page{margin-bottom:18px}
.portal-order-sheet{border:1px solid #e8edf2;border-radius:18px;overflow:hidden;background:#fff}
.portal-order-sheet__meta{display:flex;gap:18px;flex-wrap:wrap;align-items:center;padding:14px 18px;background:#f5f8ff;color:#6b7280;font-size:14px}
.portal-order-sheet__meta strong{margin-left:auto;color:#34a96a;font-size:16px}
.portal-order-sheet__body{display:grid;grid-template-columns:minmax(0,1.6fr) .55fr .75fr .9fr;gap:14px;align-items:stretch;padding:18px}
.portal-order-sheet__product{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:flex-start}
.portal-order-sheet__thumb,.portal-order-sheet__cover{width:96px;height:96px;border-radius:14px;background:#f4d85c;display:grid;place-items:center;font-size:36px;font-weight:900;object-fit:cover}
.portal-order-sheet__info{display:grid;gap:10px;min-width:0}
.portal-order-sheet__name{font-size:18px;font-weight:800;color:#0f172a;line-height:1.35}
.portal-order-sheet__meta-list{font-size:14px;color:#64748b;line-height:1.7}
.portal-order-sheet__params{display:grid;gap:8px;min-width:0}
.portal-order-sheet__param-line{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;font-size:14px;color:#64748b;line-height:1.65}
.portal-order-sheet__param-line span{color:#7b8794}
.portal-order-sheet__param-line strong{color:#475569;font-weight:600;word-break:break-word}
.portal-order-sheet__quantity{font-size:20px;font-weight:800;color:#334155}
.portal-order-sheet__price{display:grid;align-items:center;justify-content:center;font-size:24px;font-weight:900;color:#df5b45}
.portal-order-sheet__progress{display:grid;align-content:center;gap:10px;font-size:14px;color:#334155}
.portal-order-sheet__actions{display:grid;gap:10px;align-content:center}
.portal-order-btn,.portal-order-sheet__actions a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:12px;border:1px solid #d6e7dc;background:#f5f8ff;color:#2b9e64;font-weight:800;text-decoration:none}
.portal-order-btn--primary{background:linear-gradient(90deg,#69d2a1,#2f75ff);border-color:transparent;color:#173b23}
.portal-order-btn--danger{background:#fff7f6;border-color:#f2c2ba;color:#d84e3f}
.portal-refund-form{display:grid;gap:8px}
.portal-action-feedback{font-size:13px;line-height:1.5;color:#64748b;padding-left:2px}
.portal-action-feedback.is-error{color:#d84e3f}
.portal-action-feedback.is-success{color:#24955d}
.portal-copy-link{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 12px;border-radius:8px;border:1px solid #b6e7c7;background:#fff;color:#2f75ff;font-size:13px;font-weight:700;cursor:pointer}
.portal-copy-link--inline{margin-left:8px;vertical-align:middle}
.portal-copy-link.is-copied{border-color:#2f75ff;background:#f5f8ff}
.portal-order-overview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.portal-order-overview-grid>div,.portal-order-progress-metrics>div{border:1px solid #ecf1f5;border-radius:14px;padding:14px 16px;background:#fff}
.portal-order-overview-grid span,.portal-order-progress-metrics span{display:block;font-size:13px;color:#94a3b8}
.portal-order-overview-grid strong,.portal-order-progress-metrics strong{display:block;margin-top:8px;font-size:18px;color:#0f172a;line-height:1.45}
.portal-order-detail-head{display:flex;align-items:center;gap:14px}
.portal-order-detail-head__back{width:40px;height:40px;border-radius:999px;border:1px solid #dce6ef;display:grid;place-items:center;font-size:28px;line-height:1;color:#334155;text-decoration:none;background:#fff}
.portal-order-detail-head__meta{display:flex;gap:22px;flex-wrap:wrap;font-size:16px;color:#334155}
.portal-order-detail-head__meta strong{color:#0f172a;font-size:28px;vertical-align:middle}
.portal-order-input-list{display:grid;gap:12px}
.portal-order-input-row{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:14px;align-items:start;padding:14px 16px;border-radius:14px;background:#fff;border:1px solid #ecf1f5}
.portal-order-input-row>span{font-size:14px;color:#64748b;font-weight:700}
.portal-order-input-row>div{font-size:15px;color:#334155;line-height:1.7;word-break:break-word}
.portal-order-progress-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
@media (max-width:1180px){
  .portal-order-sheet__body{grid-template-columns:1fr}
  .portal-order-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .portal-order-progress-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .portal-order-sheet__meta{display:grid}
  .portal-order-sheet__meta strong{margin-left:0}
  .portal-order-sheet__product{grid-template-columns:72px minmax(0,1fr)}
  .portal-order-sheet__thumb,.portal-order-sheet__cover{width:72px;height:72px;font-size:28px}
  .portal-order-input-row{grid-template-columns:1fr}
  .portal-order-detail-head{align-items:flex-start}
  .portal-order-detail-head__meta{display:grid;gap:8px}
  .portal-order-detail-head__meta strong{font-size:20px}
  .portal-order-overview-grid,.portal-order-progress-metrics{grid-template-columns:1fr}
}

/* 3.29.38: order input link cleanup, unified refund states, product-history progress, cleaner order detail */
.portal-history-table--progress .portal-history-table__head,
.portal-history-table--progress .portal-history-table__row{
  grid-template-columns:.9fr 1.35fr minmax(180px,2fr) .55fr .55fr .75fr .8fr 1.25fr 1fr;
  gap:12px;
}
.portal-history-table--progress .portal-history-table__row span{min-width:0;word-break:break-word;line-height:1.45}
.portal-history-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.portal-history-refund{min-height:30px;padding:0 10px;border-radius:9px;border:1px solid #f2c2ba;background:#fff7f6;color:#d84e3f;font-size:12px;font-weight:800;cursor:pointer}
.portal-refund-form--inline{display:inline-grid;gap:4px;vertical-align:middle}.portal-refund-form--inline .portal-action-feedback{font-size:12px;min-width:92px}
.portal-card--clean-order-head{margin-top:0}.portal-card--clean-order-head .portal-order-detail-head__meta--single strong{font-size:20px}.portal-card--clean-order-head .portal-order-detail-head__meta--single{align-items:center}.portal-order-overview-grid--clean{grid-template-columns:repeat(5,minmax(0,1fr))}.portal-order-sheet--clean{overflow:visible}.portal-order-sheet__body--clean{grid-template-columns:minmax(0,1.6fr) .55fr .75fr .86fr}.portal-order-sheet--clean .portal-order-sheet__body{border-top:0}.portal-page-head + .portal-card--clean-order-head{margin-top:0}
.portal-date-range__panel{display:grid}.portal-date-range__panel[hidden]{display:none!important}.portal-date-range__trigger[aria-expanded="false"] + .portal-date-range__panel{display:none!important}
@media (max-width:1180px){.portal-history-table--progress{overflow-x:auto}.portal-history-table--progress .portal-history-table__head,.portal-history-table--progress .portal-history-table__row{min-width:1120px}.portal-order-overview-grid--clean{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-order-sheet__body--clean{grid-template-columns:1fr}}
@media (max-width:760px){.portal-order-overview-grid--clean{grid-template-columns:1fr}.portal-card--clean-order-head .portal-order-detail-head__meta--single strong{font-size:18px}}


.portal-card__title--between{display:flex;justify-content:space-between;align-items:center;gap:12px}
.portal-card__subtitle{font-size:14px;color:#98a2b3;font-weight:600}
.portal-order-sheet__media-link{display:block}
.portal-order-sheet__media-link .portal-order-sheet__thumb,.portal-order-sheet__media-link .portal-order-sheet__cover{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.portal-order-sheet__media-link:hover .portal-order-sheet__thumb,.portal-order-sheet__media-link:hover .portal-order-sheet__cover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(17,24,39,.08)}

.portal-cart-screen{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.portal-cart-screen__main,.portal-cart-screen__side{min-width:0}
.portal-card--cart-tip{padding:14px 18px}
.portal-card--cart-list-shell{padding:18px}
.portal-cart-list--simple{display:grid;gap:16px;margin-top:16px}
.portal-cart-row{display:grid;grid-template-columns:32px 120px minmax(0,1fr);gap:16px;align-items:flex-start;padding:18px;border:1px solid #e8edf2;border-radius:18px;background:#fbfcfd}
.portal-cart-row__check{display:flex;align-items:flex-start;justify-content:center;padding-top:8px}
.portal-cart-row__check input{width:18px;height:18px}
.portal-cart-row__media{display:grid;place-items:center;width:120px;height:120px;border-radius:16px;background:#f3d253;overflow:hidden}
.portal-cart-row__media img{width:100%;height:100%;object-fit:cover}
.portal-cart-row__placeholder{font-size:52px;font-weight:900;color:#ef6a58}
.portal-cart-row__body{display:grid;gap:14px;min-width:0}
.portal-cart-row__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.portal-cart-row__summary{display:grid;gap:6px;min-width:0}
.portal-cart-row__name{font-size:20px;font-weight:900;color:#111827;line-height:1.3}
.portal-cart-row__meta{font-size:13px;color:#64748b}
.portal-cart-row__snapshot{font-size:14px;color:#5b6473;line-height:1.8;white-space:pre-wrap;word-break:break-word}
.portal-cart-row__amount{font-size:28px;font-weight:900;color:#e3543f;white-space:nowrap}
.portal-cart-row__foot{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}
.portal-inline-form--cart-simple{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.portal-inline-form--cart-simple input[type='number']{width:100px;min-height:44px;border:1px solid #dbe2ea;border-radius:12px;padding:0 14px;background:#fff}
.portal-cart-row__tools{display:flex;gap:12px;flex-wrap:wrap}
.portal-cart-summary{position:sticky;top:12px;display:grid;gap:16px;padding:18px}
.portal-cart-summary__selectall{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:800;color:#344054}
.portal-cart-summary__selectall input{width:18px;height:18px}
.portal-cart-summary__row{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:16px;color:#344054}
.portal-cart-summary__row strong{font-size:18px;color:#e3543f}
.portal-cart-summary__field label{display:grid;gap:8px;font-size:14px;font-weight:800;color:#344054}
.portal-cart-summary__field select{min-height:46px;border:1px solid #dbe2ea;border-radius:12px;padding:0 14px;background:#fff;font-size:14px}
.portal-cart-summary__hint{font-size:13px;line-height:1.7;color:#667085}
.portal-cart-summary .btn,.portal-cart-summary form{width:100%}
.portal-cart-summary form .btn{width:100%}
@media (max-width:1180px){.portal-cart-screen{grid-template-columns:1fr}.portal-cart-summary{position:static}}
@media (max-width:760px){.portal-cart-row{grid-template-columns:1fr}.portal-cart-row__check{justify-content:flex-start;padding-top:0}.portal-cart-row__media{width:96px;height:96px}.portal-cart-row__head{flex-direction:column}.portal-cart-row__foot{flex-direction:column;align-items:stretch}.portal-cart-row__tools,.portal-inline-form--cart-simple{flex-direction:column;align-items:stretch}.portal-inline-form--cart-simple input[type='number']{width:100%}}


/* 3.29.40: homepage/product page wide top row. The member tool card sits beside the banner only;
   product lists below use the full remaining width. */
.portal-recording-layout--wide-products{grid-template-columns:200px minmax(0,1fr);align-items:start}
.portal-recording-content{display:grid;gap:18px;min-width:0}
.portal-home-top-row{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:stretch;min-width:0}
.portal-home-top-row .portal-hero-banner{align-self:stretch;height:auto;min-height:0;margin-bottom:0}
.portal-home-top-row .portal-hero-banner--page{margin-bottom:0}
.portal-home-top-row .portal-user-panel{position:static;top:auto;height:100%;box-sizing:border-box;align-self:stretch}
.portal-record-grid--wide-products{grid-template-columns:repeat(auto-fill,minmax(176px,1fr))}
.portal-order-sheet__media-link{display:inline-grid;place-items:center;text-decoration:none;cursor:pointer;position:relative;z-index:1}
.portal-order-sheet__name-link{color:inherit;text-decoration:none}
.portal-order-sheet__name-link:hover{color:#2f9f66;text-decoration:underline}
.admin-product-snapshot{display:grid;grid-template-columns:116px minmax(0,1fr);gap:14px;align-items:start;max-width:980px}
.admin-product-snapshot__media{width:116px;height:116px;border-radius:14px;background:#f4d85c;display:grid;place-items:center;overflow:hidden;font-size:42px;font-weight:900;color:#e95d51}
.admin-product-snapshot__media img{width:100%;height:100%;object-fit:cover;display:block}
.admin-product-snapshot__media--empty{background:#f6f7fb;color:#98a2b3}
.admin-product-snapshot__body{display:grid;gap:8px;min-width:0}
.admin-product-snapshot__name{font-size:16px;font-weight:900;color:#172033}
.admin-product-snapshot__meta{font-size:13px;color:#667085;line-height:1.7}
.admin-product-snapshot__desc{max-height:260px;overflow:auto;padding:12px;border:1px solid #e6ebf1;border-radius:12px;background:#fff;line-height:1.75;color:#344054;word-break:break-word}
.admin-product-snapshot__desc img{max-width:360px;width:auto;height:auto;border-radius:10px;display:block;margin:8px 0}
.admin-product-snapshot__raw{max-height:220px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid #e6ebf1;border-radius:12px;padding:12px;font-size:12px;line-height:1.6;color:#475467}
.admin-product-snapshot__empty{color:#98a2b3}
@media (max-width:1180px){.portal-home-top-row{grid-template-columns:1fr}.portal-home-top-row .portal-user-panel{height:auto}.portal-recording-layout--wide-products{grid-template-columns:200px minmax(0,1fr)}}
@media (max-width:760px){.portal-recording-layout--wide-products{grid-template-columns:1fr}.admin-product-snapshot{grid-template-columns:1fr}.admin-product-snapshot__media{width:96px;height:96px}.admin-product-snapshot__desc img{max-width:100%}}

/* 3.29.41: admin order list progress and direct input-parameter editing */
.admin-order-input-edit{display:grid;gap:3px;color:#111827;text-decoration:none;border-radius:10px;padding:6px 8px;margin:-6px -8px;transition:background .16s ease,outline-color .16s ease;}
.admin-order-input-edit:hover{background:#f6faff;outline:1px solid #cfe0ff;}
.admin-order-input-edit__main{font-weight:800;line-height:1.55;word-break:break-word;}
.admin-order-input-edit__sub{font-size:12px;color:#667085;line-height:1.45;word-break:break-word;}
.admin-order-progress-mini{display:grid;gap:6px;min-width:150px;color:#344054;text-decoration:none;}
.admin-order-progress-mini__nums{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;line-height:1.3;}
.admin-order-progress-mini__nums em{font-style:normal;color:#475569;}
.admin-order-progress-mini__bar{display:block;height:7px;border-radius:999px;background:#edf2f7;overflow:hidden;}
.admin-order-progress-mini__bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#72d6a2,#b7d955);}
.admin-order-progress-mini__percent{font-size:12px;font-weight:800;text-align:right;color:#334155;}

/* 3.29.41 admin order list refinements */
.admin-order-input-link{
  display:grid;
  gap:4px;
  color:#111827;
  text-decoration:none;
  line-height:1.55;
}
.admin-order-input-link:hover{color:#2563eb;text-decoration:none;}
.admin-order-input-link .muted-inline{color:#98a2b3;}
.admin-order-input-edit,
.admin-order-input-edit:visited{
  display:grid;
  gap:4px;
  color:#111827;
  text-decoration:none;
  line-height:1.55;
}
.admin-order-input-edit:hover{color:#2563eb;}
.admin-order-input-edit__main{font-weight:800;word-break:break-word;}
.admin-order-input-edit__sub{font-size:12px;color:#667085;word-break:break-word;}
.admin-order-progress-mini{
  display:grid;
  gap:6px;
  min-width:170px;
  color:#344054;
  text-decoration:none;
}
.admin-order-progress-mini:hover{color:#2563eb;text-decoration:none;}
.admin-order-progress-mini__nums{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  font-size:12px;
}
.admin-order-progress-mini__nums em{font-style:normal;color:#667085;}
.admin-order-progress-mini__bar{
  display:block;
  height:7px;
  border-radius:999px;
  background:#edf2f7;
  overflow:hidden;
}
.admin-order-progress-mini__bar i{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#6aa7ff,#2f75ff);
}
.admin-order-progress-mini__percent{font-size:12px;font-weight:800;color:#344054;}


/* 3.29.42: product-detail favorite/cart feedback stays under the clicked button instead of bottom-right flash. */
.portal-inline-action{display:grid;gap:6px;align-items:start;min-width:0}
.portal-inline-action > .btn{width:100%}
.portal-inline-action__feedback{font-style:normal;font-size:12px;line-height:1.45;color:#667085;min-height:16px;text-align:center;word-break:break-word}
.portal-inline-action__feedback.is-success{color:#24955d}
.portal-inline-action__feedback.is-error{color:#d84e3f}

/* 3.29.42: concise favorites list, aligned with the simpler reference layout. */
.member-recording-shell--favorites .member-recording-main{gap:0}
.portal-favorite-list-card{background:#fff;border:1px solid var(--portal-line);border-radius:0 0 18px 18px;box-shadow:var(--portal-shadow);overflow:hidden}
.portal-favorite-list-card__head{padding:22px 28px;background:var(--portal-green-soft);color:#1d5fd7;font-size:18px;font-weight:900}
.portal-favorite-list{display:grid;gap:0;background:#f4f6f9;padding:0}
.portal-favorite-row{display:grid;grid-template-columns:180px minmax(0,1fr) 170px;gap:24px;align-items:center;margin:0 0 18px;padding:34px 28px;background:#fff;border-radius:0;min-height:210px}
.portal-favorite-row:last-child{margin-bottom:0}
.portal-favorite-row__media{width:170px;height:170px;display:grid;place-items:center;background:#f3d253;overflow:hidden;text-decoration:none}
.portal-favorite-row__media img{width:100%;height:100%;object-fit:cover}
.portal-favorite-row__placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:84px;font-weight:900;color:#e56552;background:#f3d253}
.portal-favorite-row__body{display:grid;gap:18px;align-content:center;min-width:0}
.portal-favorite-row__name{font-size:18px;font-weight:800;color:#111827;line-height:1.4;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-favorite-row__price{font-size:20px;font-weight:800;color:#111827}
.portal-favorite-row__actions{display:grid;gap:28px;justify-items:end;align-content:center}
.portal-favorite-row__buy{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 18px;border-radius:6px;background:#6aa7ff;color:#173b23;font-size:14px;font-weight:800;text-decoration:none}
.portal-favorite-row__remove{border:0;background:transparent;color:#53606f;font-size:22px;line-height:1;cursor:pointer;padding:8px}
.portal-favorite-row__remove:hover{color:#d84e3f}
.portal-empty--favorite-list{margin:0;background:#fff;border-radius:0}
@media (max-width:900px){.portal-favorite-row{grid-template-columns:120px minmax(0,1fr);gap:16px;padding:22px}.portal-favorite-row__media{width:120px;height:120px}.portal-favorite-row__actions{grid-column:1/-1;display:flex;justify-content:space-between}.portal-favorite-row__placeholder{font-size:52px}}
@media (max-width:640px){.portal-favorite-row{grid-template-columns:1fr}.portal-favorite-row__media{width:100%;height:auto;aspect-ratio:1/1}.portal-favorite-row__name{white-space:normal}.portal-favorite-row__actions{align-items:stretch}.portal-favorite-row__buy{width:100%}}


/* 3.29.42: favorite/cart feedback is shown under the clicked button. */
.portal-order-actions--inline-feedback{align-items:flex-start}
.portal-inline-action__feedback{border-radius:9px;padding:6px 8px;background:#f5f8fa;text-align:center}
.portal-inline-action__feedback.is-success{background:#effaf3;border:1px solid #cdeed8;color:#24955d}
.portal-inline-action__feedback.is-error{background:#fff1f1;border:1px solid #f7c7c2;color:#d84e3f}

/* 3.29.42: simplified favorites list. */
.portal-favorites-simple{background:#fff;border-radius:18px;border:1px solid #e8edf2;overflow:hidden;box-shadow:0 4px 14px rgba(17,24,39,.03)}
.portal-favorites-simple__head{min-height:62px;display:flex;align-items:center;padding:0 28px;background:#e9f9f0;color:#2ab374;font-weight:900;font-size:18px}
.portal-favorites-simple__list{display:grid;gap:18px;padding:22px;background:#f5f6fa}
.portal-favorite-row{display:grid;grid-template-columns:170px minmax(0,1fr) 150px;gap:24px;align-items:center;min-height:190px;padding:22px 26px;background:#fff;border-radius:16px;border:1px solid #edf1f5;transition:opacity .18s ease,transform .18s ease}
.portal-favorite-row.is-removing{opacity:.35;transform:translateX(6px)}
.portal-favorite-row__media{width:170px;height:150px;border-radius:4px;background:#f3d253;overflow:hidden;display:grid;place-items:center}
.portal-favorite-row__media img{width:100%;height:100%;object-fit:cover}
.portal-favorite-row__placeholder{font-size:72px;font-weight:900;color:#ef6a58}
.portal-favorite-row__info{display:grid;gap:14px;min-width:0;align-self:center}
.portal-favorite-row__name{font-size:20px;font-weight:800;color:#111827;line-height:1.35;word-break:break-word}
.portal-favorite-row__sub{font-size:14px;color:#8b95a5;line-height:1.7}
.portal-favorite-row__price{font-size:20px;font-weight:800;color:#111827}
.portal-favorite-row__actions{display:grid;gap:24px;justify-items:end;align-self:stretch;align-content:center}
.portal-favorite-row__actions form{display:grid;justify-items:end;gap:8px}
.portal-favorite-row__buy{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:7px;background:linear-gradient(90deg,#6aa7ff,#6aa7ff);color:#173b23;font-size:14px;font-weight:800;text-decoration:none}
.portal-favorite-row__remove{border:0;background:transparent;color:#4b5563;font-size:22px;cursor:pointer;line-height:1;padding:8px;border-radius:10px}
.portal-favorite-row__remove:hover{background:#f3f4f6;color:#cf4a3a}
@media (max-width:900px){.portal-favorite-row{grid-template-columns:120px minmax(0,1fr);gap:16px}.portal-favorite-row__media{width:120px;height:120px}.portal-favorite-row__actions{grid-column:1/-1;justify-items:start;display:flex;gap:12px;align-items:center}.portal-favorite-row__actions form{justify-items:start}.portal-favorite-row__actions .portal-inline-action__feedback{margin-top:0}}
@media (max-width:620px){.portal-favorite-row{grid-template-columns:1fr}.portal-favorite-row__media{width:100%;height:190px}.portal-favorite-row__actions{display:grid;justify-items:stretch}.portal-favorite-row__buy{width:100%}.portal-favorite-row__actions form{justify-items:stretch}}

/* 3.29.43: compact homepage banner + 2x4 member tool grid */
.portal-home-top-row{grid-template-columns:minmax(0,1fr) 420px;align-items:stretch;}
.portal-home-top-row .portal-hero-banner{min-height:260px;height:260px;overflow:hidden;}
.portal-home-top-row .portal-hero-banner--image{min-height:260px;height:260px;}
.portal-home-top-row .portal-hero-banner__image{min-height:260px;max-height:260px;height:260px;object-fit:cover;}
.portal-home-top-row .portal-user-panel{height:260px;min-height:0;overflow:hidden;padding:14px;gap:10px;align-content:start;}
.portal-home-top-row .portal-side-card__title{margin-bottom:0;}
.portal-home-top-row .portal-side-card__title span{font-size:12px;line-height:1.35;}
.portal-home-top-row .portal-user-panel__head{grid-template-columns:52px minmax(0,1fr) auto;gap:10px;align-items:center;}
.portal-home-top-row .portal-user-panel__avatar{width:52px;height:52px;font-size:24px;}
.portal-home-top-row .portal-user-panel__line{font-size:12px;}
.portal-home-top-row .portal-user-panel__line strong{font-size:16px;}
.portal-home-top-row .portal-user-panel__logout{position:static;min-height:32px;padding:0 12px;font-size:12px;}
.portal-home-top-row .portal-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.portal-home-top-row .portal-shortcut-grid a{min-height:58px;padding:8px 4px;gap:5px;border-radius:12px;}
.portal-home-top-row .portal-shortcut-grid a span{font-size:20px;}
.portal-home-top-row .portal-shortcut-grid a strong{font-size:12px;line-height:1.25;}
@media (max-width:1180px){.portal-home-top-row{grid-template-columns:1fr}.portal-home-top-row .portal-hero-banner,.portal-home-top-row .portal-hero-banner--image,.portal-home-top-row .portal-user-panel{height:auto;min-height:0}.portal-home-top-row .portal-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media (max-width:760px){.portal-home-top-row .portal-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* 3.29.44: cleaner member orders, product history refund, and simplified order detail */
.portal-orders-reference-page{display:grid;gap:18px}
.portal-orders-reference-tabs--top{display:flex;gap:36px;align-items:center;background:#fff;border-radius:16px 16px 0 0;padding:18px 28px;border-bottom:1px solid #edf0f4}
.portal-orders-reference-tabs--top a{font-size:16px;font-weight:800;color:#7b8794;padding-bottom:12px;border-bottom:3px solid transparent;text-decoration:none}
.portal-orders-reference-tabs--top a.active{color:#39aa71;border-color:#67d39f}
.portal-card--orders-query{padding:0 28px 24px;border-top-left-radius:0;border-top-right-radius:0;margin-top:-18px}
.portal-orders-query-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 28px;align-items:end}
.portal-orders-query-grid label{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:10px;color:#334155;font-weight:800}
.portal-orders-query-grid label span{white-space:nowrap}
.portal-orders-query-grid input,.portal-orders-query-grid select{min-height:46px;border:1px solid #dbe4ec;border-radius:8px;padding:0 14px;background:#fff;color:#334155;font-size:14px}
.portal-orders-date-pair{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:6px;align-items:center}.portal-orders-date-pair em{font-style:normal;text-align:center;color:#7b8794}
.portal-orders-query-actions{display:flex;gap:18px;align-items:center;justify-content:flex-end}.portal-orders-query-actions .btn{min-width:112px;min-height:46px;border-radius:0}.portal-orders-query-actions .btn.primary{background:linear-gradient(90deg,#6aa7ff,#2f75ff);border:0;color:#173b23}
.portal-card--orders-list-frame{padding:0;overflow:hidden}.portal-order-tabs--reference{padding:18px 28px 0;margin:0;border-bottom:1px solid #edf0f4}.portal-card--orders-list-frame .portal-order-card-list{padding:20px 28px 28px}
.portal-order-reference-detail{display:grid;gap:18px}.portal-order-reference-titlebar{display:flex;gap:26px;align-items:center;flex-wrap:wrap;padding:12px 0;font-size:18px;color:#334155}.portal-order-reference-titlebar strong{font-size:22px;color:#0f172a}.portal-order-reference-back{width:38px;height:38px;border-radius:999px;border:1px solid #dce6ef;display:grid;place-items:center;font-size:28px;text-decoration:none;color:#334155;background:#fff}
.portal-order-reference-block{background:#fff;border:1px solid #e8edf2;border-radius:0;box-shadow:none;overflow:hidden}.portal-order-reference-table{display:grid;align-items:stretch}.portal-order-reference-table>div{padding:16px 20px;border-bottom:1px solid #edf0f4;display:flex;align-items:center}.portal-order-reference-table>.head{background:#edf0f5;font-weight:800;color:#4b5563;justify-content:center}.portal-order-reference-table--summary{grid-template-columns:1fr 1fr 1fr 1fr 1fr}.portal-order-reference-table--product{grid-template-columns:1.4fr .75fr .75fr 1.4fr .8fr}.portal-order-reference-table .status-text{color:#e48322}.portal-order-reference-product{gap:14px}.portal-order-reference-product img,.portal-order-reference-product span{width:92px;height:92px;border-radius:0;background:#f4d85c;display:grid;place-items:center;object-fit:cover;font-size:34px;font-weight:900}.portal-order-reference-product strong{font-weight:800;color:#0f172a}.portal-order-reference-link{word-break:break-all;color:#334155}.portal-order-reference-actions{display:grid!important;gap:10px}.portal-order-reference-actions .btn,.portal-order-reference-actions .portal-order-btn{min-height:38px;border-radius:6px}.portal-order-reference-section-title{background:#edf0f5;color:#334155;font-weight:800;padding:14px 20px}.portal-order-reference-inputs{display:grid;gap:0}.portal-order-reference-inputs>div{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 20px;border-top:1px solid #edf0f4}.portal-order-reference-inputs span{color:#64748b;font-weight:800}.portal-order-reference-inputs strong{font-weight:600;color:#334155;word-break:break-word}.portal-order-reference-progress{display:flex;gap:50px;flex-wrap:wrap;padding:18px 20px;color:#334155}.portal-order-reference-progress strong{color:#dc2626}.portal-order-reference-logs{display:grid}.portal-order-reference-logs>div{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 20px;border-top:1px solid #edf0f4}.portal-order-reference-logs strong{color:#0f172a}.portal-order-reference-logs span{color:#7b8794}
.portal-history-actions .portal-refund-form--inline{display:inline-flex;align-items:center}.portal-history-actions .portal-action-feedback{display:none!important}
@media (max-width:1180px){.portal-orders-query-grid{grid-template-columns:1fr 1fr}.portal-order-reference-table--summary,.portal-order-reference-table--product{grid-template-columns:1fr}.portal-order-reference-table>.head{display:none}.portal-order-reference-table>div{justify-content:flex-start}.portal-order-reference-progress{gap:20px}.portal-order-reference-inputs>div{grid-template-columns:1fr}}
@media (max-width:760px){.portal-orders-query-grid{grid-template-columns:1fr}.portal-orders-query-grid label{grid-template-columns:1fr}.portal-orders-query-actions{justify-content:stretch;flex-direction:column}.portal-orders-query-actions .btn{width:100%}.portal-orders-reference-tabs--top{gap:18px;padding:16px}.portal-card--orders-query{padding:0 16px 18px}.portal-card--orders-list-frame .portal-order-card-list{padding:16px}.portal-order-reference-titlebar{display:grid;gap:10px}.portal-order-reference-inputs>div{grid-template-columns:1fr}.portal-order-reference-logs>div{display:grid}}

/* 3.29.46: tighter storefront width, visible front-end version badge, robust batch mode visibility */
.portal-recording-width{width:min(1560px,calc(100% - 36px));max-width:none;margin-left:auto;margin-right:auto;}
.portal-version-badge{position:fixed;right:14px;bottom:14px;z-index:60;display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border:1px solid rgba(148,163,184,.45);border-radius:999px;background:rgba(255,255,255,.86);backdrop-filter:blur(8px);box-shadow:0 8px 22px rgba(15,23,42,.08);font-size:12px;font-weight:800;color:#64748b;pointer-events:none;}
.portal-batch-builder[data-active-batch-mode="different"] [data-batch-mode-panel="same"],
.portal-batch-builder[data-active-batch-mode="different"] [data-batch-mode-panel="random"],
.portal-batch-builder[data-active-batch-mode="random"] [data-batch-mode-panel="same"],
.portal-batch-builder[data-active-batch-mode="random"] [data-batch-mode-panel="different"],
.portal-batch-builder[data-active-batch-mode="same"] [data-batch-mode-panel="random"],
.portal-batch-builder[data-active-batch-mode="same"] [data-batch-mode-panel="different"]{display:none!important;}
.portal-batch-builder[data-active-batch-mode="different"] [data-batch-mode-panel="different"],
.portal-batch-builder[data-active-batch-mode="random"] [data-batch-mode-panel="random"],
.portal-batch-builder[data-active-batch-mode="same"] [data-batch-mode-panel="same"]{display:flex!important;}
.portal-home-top-row{grid-template-columns:minmax(0,1fr) minmax(360px,420px);}
.portal-home-top-row .portal-hero-banner,.portal-home-top-row .portal-hero-banner--image{height:300px;min-height:300px;}
.portal-home-top-row .portal-hero-banner__image{height:300px;min-height:300px;max-height:300px;}
.portal-home-top-row .portal-user-panel{height:300px;min-height:300px;overflow:visible;}
.portal-home-top-row .portal-shortcut-grid a{min-height:54px;padding:6px 4px;}
.portal-home-top-row .portal-shortcut-grid a span{font-size:18px;}
.portal-home-top-row .portal-shortcut-grid a strong{font-size:11px;}
@media (max-width:1180px){.portal-recording-width{width:min(100%,calc(100% - 24px));}.portal-home-top-row .portal-hero-banner,.portal-home-top-row .portal-hero-banner--image,.portal-home-top-row .portal-user-panel{height:auto;min-height:0;}.portal-version-badge{right:10px;bottom:10px;}}


/* 3.29.47: storefront visual polish layer. CSS-only/low-template changes; keeps existing routes, forms, API calls and data attributes intact. */
:root{
  --portal-ink:#0f172a;
  --portal-ink-2:#1f2937;
  --portal-copy:#475569;
  --portal-soft-bg:#f4f7fb;
  --portal-card-bg:rgba(255,255,255,.94);
  --portal-card-border:#e7edf4;
  --portal-card-shadow:0 18px 50px rgba(15,23,42,.075);
  --portal-card-shadow-hover:0 24px 60px rgba(15,23,42,.12);
  --portal-radius-lg:24px;
  --portal-radius-md:18px;
  --portal-radius-sm:14px;
}
.portal-shell--recording{
  background:
    radial-gradient(circle at 18% -12%, color-mix(in srgb,var(--portal-main-color,#2f75ff) 14%, transparent) 0, transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(59,130,246,.08) 0, transparent 30%),
    linear-gradient(180deg,#f8fafc 0%,#f4f7fb 44%,#f6f8fb 100%)!important;
  color:var(--portal-ink);
  font-family:"Inter","PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.portal-header{
  background:rgba(255,255,255,.88)!important;
  border-bottom:1px solid rgba(226,232,240,.9)!important;
  box-shadow:0 10px 32px rgba(15,23,42,.035)!important;
  backdrop-filter:saturate(160%) blur(16px)!important;
}
.portal-header__inner{
  min-height:74px!important;
  padding:12px 0!important;
  grid-template-columns:minmax(150px,190px) minmax(360px,1fr) auto!important;
  gap:24px!important;
}
.portal-brand--stack{gap:12px!important;align-items:center!important;}
.portal-brand--stack strong{
  font-size:28px!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
  color:#101828!important;
  max-width:140px!important;
}
.portal-brand--stack span{
  min-height:64px!important;
  font-size:13px!important;
  line-height:1.12!important;
  color:#344054!important;
  border-left:1px solid #e5e7eb!important;
}
.portal-search--wide{
  border:1px solid color-mix(in srgb,var(--portal-main-color,#2f75ff) 36%,#dbe4ec)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 32px color-mix(in srgb,var(--portal-main-color,#2f75ff) 12%,transparent)!important;
}
.portal-search.portal-search--wide{grid-template-columns:minmax(0,1fr) 112px!important;}
.portal-search--wide input,
.portal-search.portal-search--wide input{
  height:54px!important;
  min-height:54px!important;
  line-height:54px!important;
  font-size:15px!important;
  color:#111827!important;
  padding:0 20px!important;
}
.portal-search--wide input::placeholder{color:#98a2b3!important;}
.portal-search--wide button,
.portal-search.portal-search--wide button{
  height:54px!important;
  min-height:54px!important;
  min-width:104px!important;
  border-radius:0 16px 16px 0!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--portal-main-color,#2f75ff) 86%,#8db8ff),color-mix(in srgb,var(--portal-main-color,#2f75ff) 72%,#2f75ff))!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:900!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28)!important;
}
.portal-top-links--member{gap:8px!important;align-items:center!important;}
.portal-top-links--member a{
  min-height:38px!important;
  padding:0 13px!important;
  border-radius:999px!important;
  color:#475569!important;
  font-weight:800!important;
  font-size:13px!important;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.portal-top-links--member a:hover{transform:translateY(-1px);}
.portal-top-links--member a.active,
.portal-top-links--member a:hover{
  background:color-mix(in srgb,var(--portal-main-color,#2f75ff) 11%,#ffffff)!important;
  color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 78%,#0f172a)!important;
  border-color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 28%,#ffffff)!important;
  box-shadow:0 10px 24px color-mix(in srgb,var(--portal-main-color,#2f75ff) 9%,transparent)!important;
}
.portal-nav-badge{
  min-width:20px!important;
  height:20px!important;
  padding:0 6px!important;
  background:#ef4444!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:20px!important;
  box-shadow:0 8px 18px rgba(239,68,68,.22)!important;
}
.portal-nav-badge.is-empty{display:none!important;}
.portal-notice-bar{background:rgba(239,248,241,.78)!important;border-bottom:1px solid rgba(226,232,240,.75)!important;}
.portal-notice-bar__inner{min-height:44px!important;color:#64748b!important;font-size:13px!important;}
.portal-notice-icon{filter:drop-shadow(0 4px 8px rgba(15,23,42,.08));}
.portal-main{padding:22px 0 48px!important;}
.portal-recording-width{width:min(1600px,calc(100% - 48px))!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;}
.portal-recording-layout--wide-products{grid-template-columns:220px minmax(0,1fr)!important;gap:22px!important;}
.portal-recording-content,.portal-recording-main,.member-recording-main{display:grid;gap:22px!important;}
.portal-tree-sidebar,
.portal-user-panel,
.portal-hero-banner,
.portal-inline-notice,
.portal-product-block,
.portal-filter-board,
.portal-card,
.portal-detail-shell,
.portal-auth-recording__card,
.member-panel{
  background:var(--portal-card-bg)!important;
  border:1px solid var(--portal-card-border)!important;
  border-radius:var(--portal-radius-lg)!important;
  box-shadow:var(--portal-card-shadow)!important;
}
.portal-tree-sidebar,.member-panel{backdrop-filter:blur(10px);}
.portal-tree-sidebar{padding:16px!important;top:16px!important;}
.portal-tree-sidebar__header strong,.portal-side-card__title strong{font-weight:900!important;color:#0f172a!important;}
.portal-tree-sidebar__item{
  border-radius:14px!important;
  padding:12px!important;
  color:#475569!important;
  transition:all .18s ease!important;
}
.portal-tree-sidebar__item:hover,.portal-tree-sidebar__item.active{
  background:linear-gradient(135deg,color-mix(in srgb,var(--portal-main-color,#2f75ff) 10%,#ffffff),#ffffff)!important;
  border-color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 24%,#ffffff)!important;
  color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 80%,#0f172a)!important;
  box-shadow:0 10px 24px color-mix(in srgb,var(--portal-main-color,#2f75ff) 8%,transparent)!important;
}
.portal-tree-sidebar__item.active .portal-tree-sidebar__dot{background:var(--portal-main-color,#2f75ff)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--portal-main-color,#2f75ff) 13%,transparent)!important;}
.portal-home-top-row{grid-template-columns:minmax(0,1fr) minmax(380px,440px)!important;gap:22px!important;align-items:stretch!important;}
.portal-home-top-row .portal-hero-banner,
.portal-home-top-row .portal-hero-banner--image,
.portal-home-top-row .portal-user-panel{height:296px!important;min-height:296px!important;}
.portal-home-top-row .portal-user-panel{padding:18px!important;gap:12px!important;overflow:visible!important;}
.portal-home-top-row .portal-user-panel__head{grid-template-columns:54px minmax(0,1fr) auto!important;gap:12px!important;}
.portal-home-top-row .portal-user-panel__avatar{width:54px!important;height:54px!important;font-size:24px!important;background:linear-gradient(135deg,#f1f5f9,#f8fafc)!important;color:#94a3b8!important;}
.portal-home-top-row .portal-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;}
.portal-home-top-row .portal-shortcut-grid a{
  min-height:62px!important;
  padding:8px 4px!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 22px rgba(15,23,42,.035)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.portal-home-top-row .portal-shortcut-grid a:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(15,23,42,.08)!important;border-color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 26%,#ffffff)!important;}
.portal-home-top-row .portal-shortcut-grid a span{font-size:20px!important;}
.portal-home-top-row .portal-shortcut-grid a strong{font-size:12px!important;color:#334155!important;}
.portal-hero-banner{
  overflow:hidden!important;
  text-align:left!important;
  justify-content:flex-start!important;
  background:
    radial-gradient(circle at 82% 20%, color-mix(in srgb,var(--portal-main-color,#2f75ff) 18%,transparent) 0, transparent 34%),
    linear-gradient(135deg,#fffdf2 0%,#f2fbf4 55%,#edf8ff 100%)!important;
  position:relative!important;
}
.portal-hero-banner::after{
  content:"";
  position:absolute;
  right:-70px;bottom:-95px;
  width:260px;height:260px;
  border-radius:50%;
  background:color-mix(in srgb,var(--portal-main-color,#2f75ff) 15%,transparent);
  pointer-events:none;
}
.portal-hero-banner__inner{position:relative;z-index:1;max-width:760px!important;}
.portal-hero-banner__eyebrow{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.68);border:1px solid rgba(226,232,240,.8);font-size:12px;font-weight:900;color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 74%,#0f172a);letter-spacing:.08em;}
.portal-hero-banner__title{font-size:clamp(34px,4.2vw,56px)!important;line-height:1.08!important;letter-spacing:-.045em!important;color:#8b5d3b!important;text-shadow:0 2px 0 rgba(255,255,255,.62)!important;}
.portal-hero-banner__sub{font-size:clamp(18px,2vw,24px)!important;color:#475569!important;letter-spacing:-.02em!important;}
.portal-hero-banner__desc{font-size:14px!important;color:#64748b!important;line-height:1.8!important;max-width:620px!important;margin-left:0!important;}
.portal-hero-features{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;}
.portal-hero-features span{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:#fff;border:1px solid #e8eef5;color:#334155;font-size:12px;font-weight:900;box-shadow:0 10px 20px rgba(15,23,42,.035);}
.portal-hero-banner--image{background:#eef3f8!important;}
.portal-hero-banner__image{filter:saturate(1.03) contrast(1.02);}
.portal-inline-notice{
  background:linear-gradient(90deg,color-mix(in srgb,var(--portal-main-color,#2f75ff) 10%,#ffffff),rgba(255,255,255,.92))!important;
  border-color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 18%,#ffffff)!important;
  color:#475569!important;
}
.portal-product-block,.portal-filter-board,.portal-card{padding:22px!important;}
.portal-product-block__head h2,.portal-filter-board__head h2,.portal-card__title{font-weight:950!important;letter-spacing:-.025em!important;color:#0f172a!important;}
.portal-product-block__head h2::before,.portal-filter-board__head h2::before{content:"";display:inline-block;width:4px;height:18px;margin-right:10px;border-radius:999px;background:linear-gradient(180deg,var(--portal-main-color,#2f75ff),#2f75ff);vertical-align:-3px;}
.portal-record-grid,.portal-record-grid--wide-products,.portal-record-grid--products{gap:18px!important;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important;}
.portal-record-card{
  padding:14px!important;
  gap:12px!important;
  border-radius:22px!important;
  background:#fff!important;
  border-color:#e7edf4!important;
  box-shadow:0 12px 28px rgba(15,23,42,.045)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.portal-record-card:hover{transform:translateY(-4px)!important;border-color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 28%,#ffffff)!important;box-shadow:var(--portal-card-shadow-hover)!important;}
.portal-record-card__media{border-radius:18px!important;background:linear-gradient(135deg,#f4d85c,#f5c84f)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)!important;}
.portal-record-card__placeholder{font-size:72px!important;color:#e66352!important;}
.portal-record-card__name{font-size:16px!important;font-weight:900!important;color:#101828!important;letter-spacing:-.02em!important;line-height:1.35!important;min-height:44px!important;}
.portal-record-card__price{font-size:24px!important;font-weight:950!important;color:#e05b49!important;letter-spacing:-.035em!important;}
.portal-filter-form input,.portal-filter-form select,.portal-auth-form input,.profile-recording-form input,.portal-order-form input,.portal-order-form select,.portal-batch-form textarea,.portal-batch-form input,.portal-inline-form input[type='number'],.portal-orders-query-grid input,.portal-orders-query-grid select{
  border-color:#dbe4ee!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#111827!important;
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
.portal-filter-form input:focus,.portal-filter-form select:focus,.portal-auth-form input:focus,.profile-recording-form input:focus,.portal-order-form input:focus,.portal-order-form select:focus,.portal-batch-form textarea:focus,.portal-batch-form input:focus,.portal-orders-query-grid input:focus,.portal-orders-query-grid select:focus{
  outline:0!important;
  border-color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 58%,#ffffff)!important;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--portal-main-color,#2f75ff) 12%,transparent)!important;
}
.btn,.portal-order-btn,.portal-filter-form button,.portal-auth-form button,.profile-recording-form button,.portal-order-actions .btn.primary{
  border-radius:14px!important;
  font-weight:900!important;
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease!important;
}
.btn:hover,.portal-order-btn:hover,.portal-filter-form button:hover{transform:translateY(-1px);}
.btn.primary,.portal-filter-form button,.portal-auth-form button,.profile-recording-form button,.portal-order-actions .btn.primary{
  background:linear-gradient(135deg,color-mix(in srgb,var(--portal-main-color,#2f75ff) 85%,#8db8ff),color-mix(in srgb,var(--portal-main-color,#2f75ff) 72%,#2f75ff))!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 14px 30px color-mix(in srgb,var(--portal-main-color,#2f75ff) 20%,transparent)!important;
}
.portal-detail-shell{border-radius:28px!important;padding:26px!important;}
.portal-detail-square-media{border-radius:24px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 14px 34px rgba(15,23,42,.06)!important;}
.portal-detail-shell__summary h1{font-size:34px!important;letter-spacing:-.045em!important;}
.portal-detail-price-band{border-radius:20px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--portal-main-color,#2f75ff) 9%,#ffffff),#f7fbf8)!important;}
.portal-detail-price-band strong{letter-spacing:-.05em!important;color:#df5a48!important;}
.portal-detail-tabs button{font-weight:950!important;}
.portal-batch-builder,.portal-batch-modebar,.portal-batch-editor{border-radius:22px!important;}
.portal-batch-modebar__tab{border-radius:16px!important;font-weight:950!important;}
.portal-batch-modebar__tab.active{box-shadow:0 10px 24px color-mix(in srgb,var(--portal-main-color,#2f75ff) 12%,transparent)!important;}
.portal-order-sheet,.portal-order-reference-block,.portal-favorite-row,.portal-cart-row{border-radius:22px!important;border-color:#e7edf4!important;box-shadow:0 12px 30px rgba(15,23,42,.045)!important;}
.portal-order-sheet__meta{background:linear-gradient(90deg,color-mix(in srgb,var(--portal-main-color,#2f75ff) 9%,#ffffff),#ffffff)!important;}
.member-recording-shell{grid-template-columns:260px minmax(0,1fr)!important;gap:22px!important;}
.member-panel{padding:20px!important;}
.member-panel__nav a{border-radius:14px!important;font-weight:800!important;}
.member-panel__nav a.active,.member-panel__nav a:hover{background:color-mix(in srgb,var(--portal-main-color,#2f75ff) 10%,#ffffff)!important;color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 76%,#0f172a)!important;border-color:color-mix(in srgb,var(--portal-main-color,#2f75ff) 23%,#ffffff)!important;}
.portal-page-head h1{font-size:34px!important;letter-spacing:-.05em!important;}
.portal-page-chip{border-radius:18px!important;box-shadow:0 14px 34px rgba(15,23,42,.045)!important;}
.portal-flash{border-radius:16px!important;box-shadow:0 12px 30px rgba(15,23,42,.06)!important;}
.portal-footer{background:#0f172a!important;color:#cbd5e1!important;margin-top:10px!important;}
.portal-footer__inner{border-top:0!important;}
@media (max-width:1180px){
  .portal-header__inner{grid-template-columns:160px minmax(0,1fr)!important;grid-template-areas:'brand actions' 'search search'!important;}
  .portal-search--wide{grid-area:search!important;}
  .portal-header__actions{grid-area:actions!important;}
  .portal-home-top-row{grid-template-columns:1fr!important;}
  .portal-home-top-row .portal-hero-banner,.portal-home-top-row .portal-hero-banner--image,.portal-home-top-row .portal-user-panel{height:auto!important;min-height:0!important;}
}
@media (max-width:760px){
  .portal-recording-width{width:min(100%,calc(100% - 24px))!important;}
  .portal-header__inner{grid-template-columns:1fr!important;grid-template-areas:'brand' 'search' 'actions'!important;gap:12px!important;}
  .portal-brand--stack strong{font-size:24px!important;max-width:none!important;}
  .portal-brand--stack span{writing-mode:horizontal-tb!important;min-height:auto!important;border-left:0!important;padding-left:0!important;}
  .portal-search.portal-search--wide{grid-template-columns:1fr!important;gap:8px!important;border:0!important;background:transparent!important;box-shadow:none!important;}
  .portal-search--wide input{border:1px solid #dbe4ee!important;border-radius:14px!important;background:#fff!important;}
  .portal-search--wide button{width:100%!important;border-radius:14px!important;}
  .portal-recording-layout--wide-products,.portal-recording-layout,.member-recording-shell{grid-template-columns:1fr!important;}
  .portal-home-top-row .portal-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .portal-record-grid,.portal-record-grid--wide-products,.portal-record-grid--products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .portal-record-card__name{font-size:14px!important;min-height:auto!important;}
  .portal-record-card__price{font-size:20px!important;}
}
@media (max-width:420px){
  .portal-record-grid,.portal-record-grid--wide-products,.portal-record-grid--products{grid-template-columns:1fr!important;}
}


/* v3.29.48 storefront UX cleanup: footer optional, modal polish, order status/progress consistency */
.portal-hero-cta{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin-top:18px;padding:0 18px;border-radius:14px;
  background:linear-gradient(135deg,var(--portal-main-color,#2f75ff),color-mix(in srgb,var(--portal-main-color,#2f75ff) 72%,#2f75ff));
  color:#fff!important;font-weight:900;text-decoration:none;box-shadow:0 14px 28px color-mix(in srgb,var(--portal-main-color,#2f75ff) 18%,transparent);
}
.portal-pay-modal__backdrop,.portal-success-modal__backdrop{background:rgba(15,23,42,.50)!important;backdrop-filter:blur(7px)!important;}
.portal-pay-modal__card{
  width:min(480px,calc(100vw - 32px))!important;border-radius:26px!important;padding:30px 32px 28px!important;
  box-shadow:0 34px 90px rgba(15,23,42,.28)!important;border:1px solid rgba(255,255,255,.72)!important;
}
.portal-pay-modal__close{font-size:28px!important;right:20px!important;top:16px!important;color:#98a2b3!important;}
.portal-pay-modal__title{font-size:24px!important;margin-bottom:12px!important;color:#0f172a!important;font-weight:950!important;}
.portal-pay-modal__amount{font-size:52px!important;line-height:1.06!important;margin-bottom:24px!important;color:#101828!important;letter-spacing:-.055em!important;}
.portal-pay-modal__method{padding:14px!important;margin:0 0 18px!important;border:1px solid #e8edf3!important;border-radius:18px!important;background:#f8fafc!important;}
.portal-pay-modal__icon{width:42px!important;height:42px!important;font-size:22px!important;}
.portal-pay-modal__method strong{font-size:17px!important;color:#101828!important;}
.portal-pay-modal__method span{font-size:13px!important;line-height:1.55!important;color:#667085!important;}
.portal-pay-modal__method em{width:24px!important;height:24px!important;font-size:13px!important;}
.portal-pay-modal__submit{height:52px!important;border-radius:15px!important;font-size:17px!important;font-weight:950!important;}
.portal-success-modal{position:fixed;inset:0;z-index:10070;display:grid;place-items:center;padding:20px;}
.portal-success-modal__card{position:relative;width:min(460px,calc(100vw - 32px));border-radius:26px;background:#fff;padding:30px 30px 26px;text-align:center;box-shadow:0 34px 90px rgba(15,23,42,.28);animation:portalPayModalIn .18s ease-out both;}
.portal-success-modal__close{position:absolute;right:18px;top:14px;border:0;background:transparent;color:#98a2b3;font-size:28px;line-height:1;cursor:pointer;}
.portal-success-modal__icon{width:58px;height:58px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--portal-main-color,#2f75ff) 13%,#fff);color:var(--portal-main-color,#2f75ff);font-size:30px;font-weight:950;}
.portal-success-modal__title{font-size:24px;font-weight:950;color:#101828;letter-spacing:-.03em;}
.portal-success-modal__amount{margin-top:8px;font-size:34px;line-height:1.1;font-weight:950;color:#101828;letter-spacing:-.045em;}
.portal-success-modal__desc{margin:12px auto 0;max-width:340px;color:#667085;line-height:1.75;font-size:14px;}
.portal-success-modal__actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;}
.portal-success-modal__actions .btn{min-height:46px;display:flex;align-items:center;justify-content:center;}
@media(max-width:560px){.portal-success-modal__actions{grid-template-columns:1fr}.portal-pay-modal__amount{font-size:42px!important}}

.portal-order-sheet__meta strong,
.portal-order-reference-table .status-text,
.portal-history-table__row > span:first-child,
.portal-order-reference-progress strong,
.portal-order-sheet__progress div,
.portal-order-sheet__progress .portal-order-sheet__refund{
  color:#334155!important;
}
.portal-order-sheet__refund{font-size:13px;line-height:1.55;color:#64748b!important;}
.portal-order-reference-detail{display:grid;gap:16px;}
.portal-order-reference-titlebar{border-radius:22px!important;background:#fff!important;border:1px solid #e7edf4!important;box-shadow:0 12px 30px rgba(15,23,42,.045)!important;padding:18px 20px!important;}
.portal-order-reference-block{border-radius:22px!important;background:#fff!important;border:1px solid #e7edf4!important;box-shadow:0 12px 30px rgba(15,23,42,.045)!important;overflow:hidden;}
.portal-order-reference-table .head{background:#f7fafc!important;color:#667085!important;font-weight:850!important;}
.portal-order-reference-table>div:not(.head){background:#fff!important;color:#334155!important;}
.portal-order-reference-progress{gap:0!important;border-radius:0!important;background:#fff!important;}
.portal-order-reference-progress>div{padding:16px 18px!important;border-right:1px solid #edf2f7!important;background:#fff!important;}
.portal-order-reference-progress>div:last-child{border-right:0!important;}
.portal-order-reference-section-title{background:#f7fafc!important;color:#101828!important;font-weight:950!important;padding:14px 18px!important;}
.portal-order-reference-logs div{min-height:48px!important;padding:0 18px!important;border-bottom:1px solid #edf2f7!important;}
.portal-order-reference-product img{border-radius:14px!important;}
.portal-card--orders-query{background:#fff!important;}
.portal-orders-query-grid{gap:14px 20px!important;}

/* 3.29.49: upstream progress/refund consistency */
.admin-order-progress-mini__tag{display:inline-flex;justify-content:center;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;background:#fff4ed;border:1px solid #fed7aa;color:#c2410c;font-size:12px;font-weight:800;width:max-content;justify-self:end;}
.progress-alert{padding:12px 14px;border-radius:14px;font-size:13px;font-weight:800;line-height:1.65;}
.progress-alert--warn{background:#fff7ed;border:1px solid #fed7aa;color:#c2410c;}

/* v3.29.50 storefront auth / modal / status polish */
.portal-auth-recording--single{
  grid-template-columns:minmax(0,1fr)!important;
  justify-items:center!important;
  align-items:start!important;
  width:100%!important;
}
.portal-auth-recording--single .portal-auth-recording__intro{display:none!important;}
.portal-auth-recording__card--centered{
  width:min(100%,1080px)!important;
  max-width:1080px!important;
  margin:0 auto!important;
}
.portal-auth-recording--single .portal-auth-recording__card--centered{
  padding:30px!important;
}
.portal-password-control{position:relative;display:flex;align-items:center;width:100%;}
.portal-password-control input{width:100%;padding-right:62px!important;}
.portal-password-toggle{
  position:absolute;right:10px;top:50%;transform:translateY(-50%);
  width:44px;height:38px;border:0;border-left:1px solid #e3e8ef;border-radius:10px;
  background:#fff;color:#a3a9b5;display:grid;place-items:center;cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.portal-password-toggle svg{width:22px;height:22px;display:block;}
.portal-password-toggle:hover,
.portal-password-toggle.is-visible{color:var(--portal-main-color,#2f75ff);background:#f8fafc;border-left-color:#d8e0ea;}
.portal-password-toggle:focus-visible{outline:2px solid color-mix(in srgb,var(--portal-main-color,#2f75ff) 35%,#ffffff);outline-offset:2px;}
.portal-pay-modal__backdrop,
.portal-success-modal__backdrop{background:rgba(15,23,42,.38)!important;backdrop-filter:blur(5px)!important;}
.portal-pay-modal__card{
  width:min(440px,calc(100vw - 32px))!important;border-radius:22px!important;padding:26px 28px 24px!important;
  box-shadow:0 24px 62px rgba(15,23,42,.18)!important;border:1px solid rgba(255,255,255,.78)!important;
}
.portal-pay-modal__close{font-size:26px!important;right:18px!important;top:14px!important;color:#98a2b3!important;}
.portal-pay-modal__title{font-size:22px!important;margin-bottom:10px!important;color:#0f172a!important;font-weight:900!important;}
.portal-pay-modal__amount{font-size:44px!important;line-height:1.05!important;margin-bottom:20px!important;color:#101828!important;letter-spacing:-.045em!important;}
.portal-pay-modal__method{padding:12px!important;margin:0 0 16px!important;border:1px solid #e8edf3!important;border-radius:16px!important;background:#fafbfc!important;gap:12px!important;}
.portal-pay-modal__icon{width:38px!important;height:38px!important;font-size:20px!important;}
.portal-pay-modal__method strong{font-size:16px!important;color:#101828!important;}
.portal-pay-modal__method span{font-size:13px!important;line-height:1.55!important;color:#667085!important;}
.portal-pay-modal__method em{width:22px!important;height:22px!important;font-size:12px!important;}
.portal-pay-modal__submit{height:48px!important;border-radius:14px!important;font-size:16px!important;font-weight:900!important;box-shadow:0 10px 20px rgba(47,117,255,.16)!important;}
.portal-pay-modal__error{border-radius:12px!important;padding:10px 12px!important;font-size:13px!important;}
.portal-success-modal__card{
  width:min(420px,calc(100vw - 32px))!important;border-radius:22px!important;padding:26px 26px 22px!important;
  box-shadow:0 24px 62px rgba(15,23,42,.18)!important;
}
.portal-success-modal__close{font-size:26px!important;right:16px!important;top:12px!important;}
.portal-success-modal__icon{width:48px!important;height:48px!important;margin-bottom:12px!important;font-size:24px!important;}
.portal-success-modal__title{font-size:22px!important;}
.portal-success-modal__amount{font-size:30px!important;margin-top:6px!important;}
.portal-success-modal__desc{font-size:13px!important;line-height:1.7!important;margin-top:10px!important;}
.portal-success-modal__actions{gap:10px!important;margin-top:20px!important;}
.portal-success-modal__actions .btn{min-height:44px!important;border-radius:13px!important;}
.portal-order-sheet__meta strong,
.portal-order-reference-table .status-text,
.portal-history-table__row > span:first-child,
.portal-order-card__top strong{
  color:#334155!important;
}
.portal-order-sheet__meta strong,
.portal-order-card__top strong{
  background:rgba(255,255,255,.68)!important;border:1px solid #e7edf4!important;border-radius:999px!important;padding:4px 10px!important;font-weight:900!important;
}
.portal-history-table__row > span:first-child{font-weight:800!important;}
@media(max-width:720px){
  .portal-auth-recording__card--centered{width:100%!important;padding:22px!important;}
  .portal-pay-modal__card{padding:24px 20px 22px!important;}
  .portal-pay-modal__amount{font-size:38px!important;}
}
.portal-inline-notice--compact{margin:12px 0;padding:10px 14px;border-radius:14px;font-size:13px;line-height:1.6;}
.portal-inline-notice--compact a{font-weight:900;color:var(--portal-main-color,#2f75ff);}


/* 3.29.51: differentiated order-status badges across storefront and admin */
.portal-order-status,
.portal-order-sheet__meta strong.portal-order-status,
.portal-order-card__top strong.portal-order-status,
.portal-history-status,
.portal-order-reference-table .status-text.portal-order-status{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:max-content!important;min-height:24px!important;padding:4px 10px!important;border-radius:999px!important;
  font-weight:900!important;font-size:13px!important;border:1px solid transparent!important;line-height:1.25!important;
}
.portal-order-reference-table .status-text.portal-order-status{margin:auto!important;}
.order-status--pending,.portal-order-status.order-status--pending,.portal-history-status.order-status--pending,.status-pill.order-status--pending,.quick-chip.order-status--pending{background:#fff7e8!important;border-color:#ffd591!important;color:#d46b08!important;}
.order-status--paid,.portal-order-status.order-status--paid,.portal-history-status.order-status--paid,.status-pill.order-status--paid,.quick-chip.order-status--paid{background:#eef5ff!important;border-color:#cfe0ff!important;color:#1668dc!important;}
.order-status--processing,.portal-order-status.order-status--processing,.portal-history-status.order-status--processing,.status-pill.order-status--processing,.quick-chip.order-status--processing{background:#eef5ff!important;border-color:#b8d7ff!important;color:#1554b7!important;}
.order-status--completed,.portal-order-status.order-status--completed,.portal-history-status.order-status--completed,.status-pill.order-status--completed,.quick-chip.order-status--completed{background:#eef5ff!important;border-color:#cfe0ff!important;color:#1d5fd7!important;}
.order-status--refunding,.portal-order-status.order-status--refunding,.portal-history-status.order-status--refunding,.status-pill.order-status--refunding,.quick-chip.order-status--refunding{background:#f9f0ff!important;border-color:#d3adf7!important;color:#722ed1!important;}
.order-status--refunded,.portal-order-status.order-status--refunded,.portal-history-status.order-status--refunded,.status-pill.order-status--refunded,.quick-chip.order-status--refunded{background:#f6fffb!important;border-color:#87e8de!important;color:#08979c!important;}
.order-status--exception,.portal-order-status.order-status--exception,.portal-history-status.order-status--exception,.status-pill.order-status--exception,.quick-chip.order-status--exception{background:#fff1f0!important;border-color:#ffccc7!important;color:#cf1322!important;}
.order-status--closed,.portal-order-status.order-status--closed,.portal-history-status.order-status--closed,.status-pill.order-status--closed,.quick-chip.order-status--closed{background:#f5f5f5!important;border-color:#d9d9d9!important;color:#595959!important;}
.order-status--default,.portal-order-status.order-status--default,.portal-history-status.order-status--default,.status-pill.order-status--default,.quick-chip.order-status--default{background:#f8fafc!important;border-color:#e2e8f0!important;color:#475569!important;}

/* 3.29.51: lighter simple success notice */
.portal-success-modal__card{width:min(360px,calc(100vw - 32px))!important;border-radius:20px!important;padding:24px 24px 22px!important;box-shadow:0 18px 48px rgba(15,23,42,.16)!important;}
.portal-success-modal__icon{width:42px!important;height:42px!important;margin-bottom:10px!important;font-size:21px!important;}
.portal-success-modal__title{font-size:20px!important;letter-spacing:-.02em!important;}
.portal-success-modal__amount{display:none!important;}
.portal-success-modal__desc{font-size:13px!important;line-height:1.65!important;margin-top:8px!important;}
.portal-success-modal__actions{display:none!important;}
/* 3.29.51: high-specificity status overrides against previous neutral polish */
.portal-order-sheet__meta strong.portal-order-status.order-status--pending,.portal-order-card__top strong.portal-order-status.order-status--pending,.portal-history-table__row > span.portal-history-status.order-status--pending,.portal-order-reference-table .status-text.portal-order-status.order-status--pending{background:#fff7e8!important;border-color:#ffd591!important;color:#d46b08!important;}
.portal-order-sheet__meta strong.portal-order-status.order-status--paid,.portal-order-card__top strong.portal-order-status.order-status--paid,.portal-history-table__row > span.portal-history-status.order-status--paid,.portal-order-reference-table .status-text.portal-order-status.order-status--paid{background:#eef5ff!important;border-color:#cfe0ff!important;color:#1668dc!important;}
.portal-order-sheet__meta strong.portal-order-status.order-status--processing,.portal-order-card__top strong.portal-order-status.order-status--processing,.portal-history-table__row > span.portal-history-status.order-status--processing,.portal-order-reference-table .status-text.portal-order-status.order-status--processing{background:#eef5ff!important;border-color:#b8d7ff!important;color:#1554b7!important;}
.portal-order-sheet__meta strong.portal-order-status.order-status--completed,.portal-order-card__top strong.portal-order-status.order-status--completed,.portal-history-table__row > span.portal-history-status.order-status--completed,.portal-order-reference-table .status-text.portal-order-status.order-status--completed{background:#eef5ff!important;border-color:#cfe0ff!important;color:#1d5fd7!important;}
.portal-order-sheet__meta strong.portal-order-status.order-status--refunding,.portal-order-card__top strong.portal-order-status.order-status--refunding,.portal-history-table__row > span.portal-history-status.order-status--refunding,.portal-order-reference-table .status-text.portal-order-status.order-status--refunding{background:#f9f0ff!important;border-color:#d3adf7!important;color:#722ed1!important;}
.portal-order-sheet__meta strong.portal-order-status.order-status--refunded,.portal-order-card__top strong.portal-order-status.order-status--refunded,.portal-history-table__row > span.portal-history-status.order-status--refunded,.portal-order-reference-table .status-text.portal-order-status.order-status--refunded{background:#f6fffb!important;border-color:#87e8de!important;color:#08979c!important;}
.portal-order-sheet__meta strong.portal-order-status.order-status--exception,.portal-order-card__top strong.portal-order-status.order-status--exception,.portal-history-table__row > span.portal-history-status.order-status--exception,.portal-order-reference-table .status-text.portal-order-status.order-status--exception{background:#fff1f0!important;border-color:#ffccc7!important;color:#cf1322!important;}
.portal-order-sheet__meta strong.portal-order-status.order-status--closed,.portal-order-card__top strong.portal-order-status.order-status--closed,.portal-history-table__row > span.portal-history-status.order-status--closed,.portal-order-reference-table .status-text.portal-order-status.order-status--closed{background:#f5f5f5!important;border-color:#d9d9d9!important;color:#595959!important;}


/* 3.29.52: batch random quantity visibility + themed import modal + default primary #2f75ff */
.portal-batch-table.show-random-row-qty [data-batch-qty-col],
.portal-batch-table.show-random-row-qty .portal-batch-table__qty{display:table-cell!important;}
.portal-batch-builder[data-active-batch-mode="random"] .portal-batch-table [data-batch-qty-input]{background:#f8fafc;color:#0f172a;font-weight:850;}
.portal-batch-import-modal{position:fixed;inset:0;z-index:10090;display:grid;place-items:center;padding:24px;}
.portal-batch-import-modal[hidden]{display:none!important;}
.portal-batch-import-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.38);backdrop-filter:blur(5px);}
.portal-batch-import-modal__card{position:relative;width:min(560px,calc(100vw - 36px));border-radius:22px;background:#fff;padding:24px 26px 22px;box-shadow:0 24px 62px rgba(15,23,42,.18);border:1px solid rgba(255,255,255,.78);animation:portalPayModalIn .18s ease-out both;}
.portal-batch-import-modal__close{position:absolute;right:16px;top:12px;border:0;background:transparent;color:#98a2b3;font-size:26px;line-height:1;cursor:pointer;}
.portal-batch-import-modal__title{font-size:20px;font-weight:950;color:#0f172a;letter-spacing:-.02em;margin-bottom:8px;}
.portal-batch-import-modal__desc{font-size:13px;line-height:1.65;color:#667085;margin-bottom:14px;padding-right:22px;}
.portal-batch-import-modal__desc code{padding:1px 5px;border-radius:6px;background:#f3f6f8;color:#475569;}
.portal-batch-import-modal__textarea{width:100%;min-height:220px;resize:vertical;border:1px solid #dbe4ee;border-radius:14px;padding:14px 16px;font-size:14px;line-height:1.6;color:#0f172a;outline:none;background:#fff;}
.portal-batch-import-modal__textarea:focus{border-color:var(--portal-main-color,#2f75ff);box-shadow:0 0 0 4px rgba(47,117,255,.12);}
.portal-batch-import-modal__actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:16px;}
.portal-batch-import-modal__actions .btn{min-height:42px;border-radius:13px;padding:0 18px;font-weight:850;}
.portal-batch-import-modal__actions .btn.primary{background:var(--portal-main-color,#2f75ff)!important;border-color:var(--portal-main-color,#2f75ff)!important;color:#fff!important;box-shadow:0 10px 22px rgba(47,117,255,.18)!important;}
.portal-batch-import-modal__actions .btn:not(.primary){background:#fff!important;color:#334155!important;border:1px solid #dbe4ee!important;}
@media(max-width:560px){.portal-batch-import-modal{padding:16px}.portal-batch-import-modal__card{padding:22px 18px 18px}.portal-batch-import-modal__textarea{min-height:200px}.portal-batch-import-modal__actions{display:grid;grid-template-columns:1fr 1fr}}

/* 3.29.53: #2f75ff storefront visual harmony, narrower login card, neutral password visibility control, cache-busted assets */
.portal-shell--recording{
  --portal-main-color:#2f75ff;
  --portal-primary:#2f75ff;
  --portal-mint:#eef5ff;
  --portal-mint-2:#f8fbff;
  --portal-teal:#27d2ad;
  --portal-deep-green:#1d5fd7;
  --portal-gradient-end:#25d59e;
  background:
    radial-gradient(circle at 16% -8%, rgba(47,117,255,.10) 0, rgba(47,117,255,0) 34%),
    radial-gradient(circle at 86% 0%, rgba(106,167,255,.11) 0, rgba(106,167,255,0) 32%),
    linear-gradient(180deg,#f7fffb 0%,#f5f8fb 46%,#f7f9fc 100%)!important;
}
.portal-notice-bar{
  background:linear-gradient(90deg,rgba(234,255,244,.92),rgba(247,252,250,.86))!important;
  border-bottom-color:rgba(210,231,223,.8)!important;
}
.portal-search--wide,
.portal-search.portal-search--wide{
  border-color:#8db8ff!important;
  box-shadow:0 16px 34px rgba(47,117,255,.10)!important;
}
.portal-search--wide button,
.portal-search.portal-search--wide button,
.portal-shell--recording .btn.primary,
.portal-auth-recording .btn.primary,
.member-recording-shell .btn.primary,
.portal-filter-form button,
.profile-recording-form button,
.portal-order-actions .btn.primary,
.portal-pay-modal__submit{
  background:linear-gradient(135deg,#2f75ff 0%,#4d8cff 54%,#6aa7ff 100%)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 14px 30px rgba(47,117,255,.20)!important;
}
.portal-search--wide button:hover,
.portal-shell--recording .btn.primary:hover,
.portal-auth-recording .btn.primary:hover,
.member-recording-shell .btn.primary:hover,
.portal-filter-form button:hover,
.profile-recording-form button:hover,
.portal-order-actions .btn.primary:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 36px rgba(47,117,255,.24)!important;
}
.portal-top-links--member a.active,
.portal-top-links--member a:hover,
.portal-tree-sidebar__item:hover,
.portal-tree-sidebar__item.active{
  background:linear-gradient(135deg,#ecfff5 0%,#ffffff 100%)!important;
  border-color:#b9efd7!important;
  color:#1d5fd7!important;
}
.portal-hero-banner{
  background:
    radial-gradient(circle at 82% 18%, rgba(47,117,255,.16) 0, rgba(47,117,255,0) 32%),
    radial-gradient(circle at 96% 88%, rgba(106,167,255,.18) 0, rgba(106,167,255,0) 34%),
    linear-gradient(135deg,#f8fffb 0%,#ecfff5 43%,#eefaff 100%)!important;
  border-color:#d8f2e6!important;
  box-shadow:0 18px 48px rgba(12,90,58,.075)!important;
}
.portal-hero-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(110deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,.36) 42%,rgba(255,255,255,0) 74%),
    repeating-linear-gradient(135deg,rgba(47,117,255,.035) 0,rgba(47,117,255,.035) 1px,transparent 1px,transparent 18px);
  pointer-events:none;
}
.portal-hero-banner::after{
  background:linear-gradient(135deg,rgba(47,117,255,.16),rgba(106,167,255,.10))!important;
  box-shadow:-72px -36px 0 rgba(47,117,255,.055),-118px 22px 0 rgba(106,167,255,.06);
}
.portal-hero-banner__inner{position:relative;z-index:1;}
.portal-hero-banner__eyebrow{
  background:rgba(255,255,255,.76)!important;
  border-color:#d7f1e5!important;
  color:#1d5fd7!important;
  box-shadow:0 8px 20px rgba(47,117,255,.08)!important;
}
.portal-hero-banner__title{
  color:#0b3d2d!important;
  text-shadow:0 2px 0 rgba(255,255,255,.78)!important;
}
.portal-hero-banner__sub{color:#206651!important;}
.portal-hero-banner__desc{color:#526274!important;}
.portal-hero-features span{
  background:rgba(255,255,255,.82)!important;
  border-color:#dbeee6!important;
  color:#2e594b!important;
  box-shadow:0 10px 24px rgba(15,23,42,.04)!important;
}
.portal-hero-cta{
  background:linear-gradient(135deg,#2f75ff 0%,#4d8cff 58%,#6aa7ff 100%)!important;
  color:#fff!important;
  box-shadow:0 16px 34px rgba(47,117,255,.23)!important;
}
.portal-inline-notice{
  border-color:#c8f0dc!important;
  background:linear-gradient(90deg,#f7fbff 0%,rgba(255,255,255,.95) 100%)!important;
}
.portal-product-block__head h2::before,
.portal-filter-board__head h2::before{
  background:linear-gradient(180deg,#2f75ff,#6aa7ff)!important;
}
.portal-record-card:hover,
.portal-product-block:hover,
.portal-card:hover{
  border-color:#c5efd9!important;
}
.portal-auth-recording--single{
  justify-items:center!important;
}
.portal-auth-recording__card--centered,
.portal-auth-recording--single .portal-auth-recording__card--centered{
  width:min(520px,100%)!important;
  max-width:520px!important;
  padding:28px 30px 30px!important;
  border-radius:24px!important;
}
.portal-auth-tabs{gap:18px!important;margin-bottom:22px!important;}
.portal-auth-tabs a.active{border-color:#2f75ff!important;color:#0f172a!important;}
.portal-auth-form{gap:16px!important;}
.portal-auth-form label{gap:8px!important;}
.portal-auth-form input{min-height:48px!important;border-radius:14px!important;}
.portal-auth-form .portal-password-control input{padding-right:58px!important;}
.portal-auth-form .portal-password-toggle,
.portal-auth-recording .portal-auth-form .portal-password-toggle,
.portal-auth-recording .portal-auth-form button.portal-password-toggle{
  width:42px!important;
  height:36px!important;
  min-height:36px!important;
  right:9px!important;
  border:1px solid #e6edf4!important;
  border-left:1px solid #e6edf4!important;
  border-radius:12px!important;
  background:#f8fafc!important;
  color:#98a2b3!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  font-size:0!important;
  transform:translateY(-50%)!important;
}
.portal-auth-form .portal-password-toggle:hover,
.portal-auth-form .portal-password-toggle.is-visible,
.portal-auth-recording .portal-auth-form button.portal-password-toggle:hover,
.portal-auth-recording .portal-auth-form button.portal-password-toggle.is-visible{
  background:#fff!important;
  color:#667085!important;
  border-color:#dbe4ee!important;
  box-shadow:0 6px 14px rgba(15,23,42,.06)!important;
}
.portal-auth-form .portal-password-toggle svg{width:21px!important;height:21px!important;}
.portal-batch-import-modal{place-items:center!important;align-items:center!important;}
.portal-batch-import-modal__card{transform:translateY(2vh);}
.portal-batch-import-modal__textarea{min-height:260px!important;}
.portal-batch-import-modal__actions .btn.primary{
  background:linear-gradient(135deg,#2f75ff 0%,#4d8cff 56%,#6aa7ff 100%)!important;
  color:#fff!important;
}
@media(max-width:760px){
  .portal-auth-recording__card--centered,
  .portal-auth-recording--single .portal-auth-recording__card--centered{width:100%!important;padding:24px 20px!important;}
  .portal-hero-banner{background:linear-gradient(135deg,#f8fffb 0%,#ecfff5 58%,#f1fbff 100%)!important;}
}

/* 3.29.54: order-number copy buttons in async order cards need visible spacing. */
.portal-order-sheet__meta .portal-copy-link,
.portal-order-card__top .portal-copy-link,
.portal-order-reference-titlebar .portal-copy-link{margin-left:12px;}
.portal-password-control--auto{max-width:100%;}

/* 3.29.56: twelve issue polishing */
.portal-search--placeholder,.portal-version-badge{display:none!important;}
.portal-required-mark{color:#ef4444;font-style:normal;font-weight:900;margin-right:5px;line-height:1;}
.portal-password-control .portal-password-toggle,
.portal-auth-form .portal-password-toggle,
.portal-auth-recording .portal-auth-form .portal-password-toggle,
.portal-auth-recording .portal-auth-form button.portal-password-toggle,
button.portal-password-toggle,
.portal-password-toggle{
  background:#f8fafc!important;
  color:#64748b!important;
  border-color:#e2e8f0!important;
  border-left:1px solid #e2e8f0!important;
  box-shadow:none!important;
}
.portal-password-control .portal-password-toggle:hover,
.portal-password-control .portal-password-toggle.is-visible,
.portal-auth-form .portal-password-toggle:hover,
.portal-auth-form .portal-password-toggle.is-visible,
button.portal-password-toggle:hover,
button.portal-password-toggle.is-visible,
.portal-password-toggle:hover,
.portal-password-toggle.is-visible{
  background:#f1f5f9!important;
  color:#334155!important;
  border-color:#cbd5e1!important;
}
.member-panel__version,.site-center-nav__version{
  margin:18px 12px 4px;
  padding:9px 12px;
  border:1px solid #d9e7ff;
  border-radius:999px;
  background:#f7fbff;
  color:#6b7280;
  font-size:12px;
  font-weight:800;
  text-align:center;
}
.portal-order-reference-inputs>div{
  grid-template-columns:minmax(96px,160px) minmax(0,1fr) 76px!important;
  align-items:flex-start!important;
}
.portal-order-reference-inputs>div strong{min-width:0;word-break:break-all;overflow-wrap:anywhere;}
.portal-order-reference-inputs>div .portal-copy-link{justify-self:end;white-space:nowrap;margin-top:-2px;}
.portal-order-sheet__param-line{
  display:grid!important;
  grid-template-columns:minmax(82px,max-content) minmax(0,1fr) 66px;
  align-items:flex-start!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}
.portal-order-sheet__param-line span{white-space:nowrap;}
.portal-order-sheet__param-line strong{min-width:0;word-break:break-all;overflow-wrap:anywhere;}
.portal-order-sheet__param-line .portal-copy-link{justify-self:end;white-space:nowrap;}
.reference-input-config-list{display:grid;gap:10px;margin-top:8px;}
.reference-input-config-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;}
.reference-input-config-row strong{color:#0f172a;}
.reference-input-config-row small{display:block;margin-top:3px;color:#64748b;line-height:1.4;}
.reference-input-config-row label{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;color:#334155;font-weight:800;}
.reference-input-config-row input[type="checkbox"]{width:auto!important;}
.reference-input-config-row.is-locked{background:#fff7ed;border-color:#fed7aa;}
.reference-cover-control{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:10px;align-items:center;}
.reference-cover-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;}
.reference-cover-hint{grid-column:1/-1;color:#64748b;font-size:12px;line-height:1.5;}
.reference-input-help{color:#64748b;font-size:12px;line-height:1.55;margin-top:6px;}
.portal-help-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px;color:#475569;line-height:1.65;}
.portal-help-box strong{color:#0f172a;}
.portal-help-box--warning{background:#fff7ed;border-color:#fed7aa;color:#9a3412;}
@media (max-width:760px){
  .portal-order-reference-inputs>div{grid-template-columns:minmax(0,1fr) 70px!important;}
  .portal-order-reference-inputs>div span{grid-column:1/-1;}
  .portal-order-sheet__param-line{grid-template-columns:minmax(0,1fr) 66px;}
  .portal-order-sheet__param-line span{grid-column:1/-1;}
  .reference-cover-control,.reference-input-config-row{grid-template-columns:1fr;}
}
.reference-input-config-row{grid-template-columns:auto minmax(0,1fr) auto;}
.reference-input-config-row em{display:block;color:#64748b;font-style:normal;font-size:12px;line-height:1.4;margin-top:2px;}
.reference-input-config-row b{color:#16a34a;font-size:12px;white-space:nowrap;}
.reference-input-config-row.is-locked b,.reference-input-config-row input:checked~b{color:#dc2626;}
@media (max-width:760px){.reference-input-config-row{grid-template-columns:auto minmax(0,1fr);}.reference-input-config-row b{grid-column:2;}}

/* v3.29.58: homepage member tools become real order-status shortcuts */
.portal-home-top-row .portal-shortcut-grid--order-status{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.portal-shortcut-grid--order-status a{position:relative;text-decoration:none;}
.portal-shortcut-grid--order-status a em{
  position:absolute;right:8px;top:7px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;background:#eff6ff;color:#2563eb;
  font-size:11px;font-style:normal;font-weight:900;line-height:1;border:1px solid #dbeafe;
}
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="failed"] em{background:#fff1f2;color:#e11d48;border-color:#ffe4e6;}
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="refunding"] em{background:#fff7ed;color:#c2410c;border-color:#ffedd5;}
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="processing"] em{background:#ecfdf3;color:#15945a;border-color:#d1fadf;}
@media (max-width:760px){.portal-home-top-row .portal-shortcut-grid--order-status{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}

/* v3.29.58: UI, mobile, order-sync and admin-login polish */
:root{
  --portal-main-color:#18b981;
  --portal-main-strong:#0f9f73;
  --portal-main-soft:#eafff6;
  --portal-accent-cyan:#38bdf8;
  --portal-accent-violet:#a78bfa;
  --portal-accent-amber:#f59e0b;
  --portal-ink:#101828;
  --portal-muted:#667085;
  --portal-line:#e6edf4;
  --portal-soft-bg:#f6fafb;
  --portal-shadow:0 18px 52px rgba(15,23,42,.075);
}
html{scroll-behavior:smooth;}
body{background:linear-gradient(180deg,#f7fbfb 0%,#f4f7fb 48%,#f8fafc 100%);}

/* Password controls: consistent two-state eye icons and correct centering. */
.portal-password-control,
.portal-password-control--auto{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
}
.portal-password-control input,
.portal-password-control--auto input{
  width:100%!important;
  padding-right:58px!important;
}
.portal-password-toggle,
button.portal-password-toggle,
.login-card .portal-password-toggle,
.login-card button.portal-password-toggle,
.portal-auth-form .portal-password-toggle,
.portal-auth-recording .portal-auth-form button.portal-password-toggle{
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:42px!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:13px!important;
  background:#f4f7fb!important;
  color:#44546a!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer!important;
  z-index:3!important;
}
.portal-password-toggle svg,
button.portal-password-toggle svg{
  width:22px!important;
  height:22px!important;
  display:block!important;
}
.portal-password-toggle:hover,
.portal-password-toggle.is-visible,
button.portal-password-toggle:hover,
button.portal-password-toggle.is-visible{
  background:#eef4f8!important;
  color:#0f172a!important;
  box-shadow:0 8px 18px rgba(15,23,42,.055)!important;
}
.login-card label .portal-password-control{margin-top:8px!important;}
.login-card label .portal-password-control input{margin-top:0!important;}

/* Admin and frontend login cards: centered, calmer and more modern. */
.login-wrap,
.login-wrap--admin{
  min-height:100dvh!important;
  display:grid!important;
  place-items:center!important;
  padding:clamp(24px,5vh,56px) 20px!important;
  background:
    radial-gradient(circle at 18% 12%,rgba(56,189,248,.13),transparent 32%),
    radial-gradient(circle at 84% 80%,rgba(24,185,129,.12),transparent 34%),
    linear-gradient(145deg,#111c2d 0%,#101827 46%,#0c1422 100%)!important;
}
.login-card,
.login-card--admin{
  width:min(100%,560px)!important;
  max-width:560px!important;
  border-radius:34px!important;
  padding:clamp(30px,4.4vw,52px)!important;
  border:1px solid rgba(255,255,255,.70)!important;
  box-shadow:0 34px 90px rgba(3,7,18,.32)!important;
  background:rgba(255,255,255,.985)!important;
  transform:translateY(-1vh);
}
.login-card__heading{display:grid;gap:8px;margin-bottom:26px;}
.login-card__eyebrow{font-size:13px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;color:#0f9f73;}
.login-card h1{font-size:clamp(34px,4vw,46px)!important;line-height:1.08!important;letter-spacing:-.05em!important;margin:0!important;color:#101828!important;}
.login-card .muted{font-size:clamp(18px,2vw,24px)!important;line-height:1.45!important;font-weight:800!important;color:#667085!important;margin:0!important;}
.login-field,.login-card label{display:grid!important;gap:10px!important;margin-bottom:18px!important;color:#334155!important;font-size:18px!important;font-weight:850!important;}
.login-card input{height:58px!important;border-radius:22px!important;border:1px solid #d8e1ec!important;background:#fff!important;padding:0 20px!important;font-size:18px!important;font-weight:700!important;color:#0f172a!important;box-shadow:0 1px 0 rgba(15,23,42,.025)!important;}
.login-card input:focus{outline:none!important;border-color:#9bdac0!important;box-shadow:0 0 0 4px rgba(24,185,129,.12)!important;}
.login-card button[type="submit"],.login-card > button:not(.portal-password-toggle){height:58px!important;border-radius:22px!important;margin-top:12px!important;background:linear-gradient(135deg,#101827 0%,#0f172a 100%)!important;font-size:20px!important;font-weight:950!important;letter-spacing:.02em!important;box-shadow:0 16px 34px rgba(15,23,42,.22)!important;}
.login-card .alert{margin-bottom:18px!important;border-radius:16px!important;}

/* Member tools: replace emoji feel with unified cards and SVG glyphs. */
.portal-user-panel{border-radius:26px!important;background:rgba(255,255,255,.94)!important;border-color:#e8eef5!important;box-shadow:0 22px 55px rgba(15,23,42,.07)!important;overflow:hidden;}
.portal-user-panel .portal-side-card__title{padding-bottom:10px;}
.portal-user-panel__avatar{background:linear-gradient(135deg,#eef8ff,#f5fff9)!important;color:#667085!important;box-shadow:inset 0 0 0 1px #edf2f7!important;}
.portal-user-panel__logout{border-radius:16px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#667085!important;font-weight:850!important;}
.portal-shortcut-grid--order-status{gap:12px!important;}
.portal-home-top-row .portal-shortcut-grid--order-status{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.portal-shortcut-grid--order-status .portal-shortcut-grid__status,
.portal-shortcut-grid a.portal-shortcut-grid__status{
  min-height:88px!important;
  padding:14px 10px 13px!important;
  gap:8px!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  border:1px solid #e8eef5!important;
  color:#263346!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important;
}
.portal-shortcut-grid--order-status .portal-shortcut-grid__status:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(15,23,42,.08)!important;border-color:#cdeee1!important;}
.portal-tool-icon{width:38px;height:38px;border-radius:16px;display:grid!important;place-items:center!important;color:#0f9f73;background:linear-gradient(135deg,#ecfff6,#f7fffb);box-shadow:inset 0 0 0 1px rgba(24,185,129,.16);}
.portal-tool-icon svg{width:23px;height:23px;display:block;}
.portal-tool-icon--paid{color:#0f9f73;background:linear-gradient(135deg,#e9fff4,#f6fffb);}
.portal-tool-icon--pending{color:#2563eb;background:linear-gradient(135deg,#eff6ff,#fbfdff);}
.portal-tool-icon--processing{color:#0d9488;background:linear-gradient(135deg,#ecfeff,#f8fffe);}
.portal-tool-icon--refunding{color:#ea580c;background:linear-gradient(135deg,#fff7ed,#fffdfa);}
.portal-tool-icon--failed{color:#e11d48;background:linear-gradient(135deg,#fff1f2,#fffafa);}
.portal-tool-icon--account{color:#7c3aed;background:linear-gradient(135deg,#f5f3ff,#fff);}
.portal-tool-icon--notice{color:#ca8a04;background:linear-gradient(135deg,#fefce8,#fff);}
.portal-tool-icon--settings{color:#475569;background:linear-gradient(135deg,#f8fafc,#fff);}
.portal-shortcut-grid--order-status a strong{font-size:13px!important;line-height:1.3!important;color:#263346!important;font-weight:950!important;}
.portal-shortcut-grid--order-status a em{right:10px!important;top:9px!important;min-width:24px!important;height:24px!important;padding:0 7px!important;font-size:13px!important;background:#eef5ff!important;color:#2563eb!important;border-color:#dbeafe!important;}

/* Better cover edit/upload controls. */
.reference-cover-control{grid-template-columns:minmax(160px,220px) minmax(0,1fr)!important;gap:12px!important;align-items:start!important;}
.reference-cover-preview{width:100%;aspect-ratio:1.25/1;border-radius:18px;background:linear-gradient(135deg,#f8fafc,#eef8ff);border:1px dashed #cbd5e1;display:grid;place-items:center;overflow:hidden;color:#94a3b8;font-size:13px;font-weight:850;}
.reference-cover-preview img{width:100%;height:100%;object-fit:cover;display:block;}
.reference-cover-upload{display:grid;gap:8px;}
.reference-cover-upload input[type="file"],
.edit-form input[type="file"]{height:auto!important;min-height:46px!important;padding:10px 12px!important;border-radius:14px!important;background:#f8fafc!important;border:1px dashed #cbd5e1!important;cursor:pointer!important;}
.reference-cover-hint{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;padding:10px 12px;}

/* Faster catalog feel: polished select/get buttons. */
.supplier-check-readonly input[readonly],.supplier-check-readonly textarea[readonly]{background:#f7fafc!important;}
.toolbar select[name="category_id"],.toolbar select[name="supplier_id"]{min-width:220px;}

/* Visual system: balanced green/cyan/violet palette, better banners and placeholders. */
.portal-shell--recording{background:linear-gradient(180deg,#f6fbfb 0%,#f4f7fb 100%)!important;}
.portal-hero-banner,
.portal-banner-card{
  position:relative!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 84% 14%,rgba(56,189,248,.18),transparent 30%),
    radial-gradient(circle at 14% 88%,rgba(167,139,250,.12),transparent 28%),
    linear-gradient(135deg,#f7fffb 0%,#eafbf6 46%,#edf7ff 100%)!important;
  border-color:#dff0ea!important;
  box-shadow:0 24px 58px rgba(15,23,42,.07)!important;
}
.portal-banner-card::before,.portal-hero-banner::before{background:linear-gradient(115deg,rgba(255,255,255,.75),rgba(255,255,255,.15) 65%,transparent)!important;}
.portal-banner-card__headline,.portal-hero-banner__title{color:#12372e!important;text-shadow:0 2px 0 rgba(255,255,255,.75)!important;letter-spacing:-.04em!important;}
.portal-banner-card__sub,.portal-hero-banner__sub{color:#237365!important;}
.portal-banner-card__meta,.portal-hero-banner__desc{color:#536173!important;}
.portal-product-card__media,
.portal-record-card__media,
.product-hero-media,
.sf-goods-media,
.portal-favorite-row__media,
.promo-image-wrap{
  background:linear-gradient(135deg,#eefcff 0%,#f2fff7 50%,#f7f3ff 100%)!important;
  border-color:#e4eef5!important;
}
.portal-product-card__placeholder,
.portal-product-card__placeholder.large,
.portal-record-card__placeholder,
.portal-record-card__placeholder--large,
.product-hero-placeholder span,
.sf-goods-placeholder strong,
.portal-favorite-row__placeholder{
  color:#0f9f73!important;
  background:
    radial-gradient(circle at 35% 22%,rgba(255,255,255,.9),transparent 26%),
    linear-gradient(135deg,#dbfff0 0%,#e9f8ff 55%,#f3efff 100%)!important;
  border:1px solid rgba(24,185,129,.16)!important;
  text-shadow:none!important;
}
.portal-product-card{border-color:#e7eef5!important;background:#fff!important;box-shadow:0 14px 34px rgba(15,23,42,.05)!important;}
.portal-product-card__price,.portal-record-card__price,.product-price,.sf-goods-price{color:#d45d4f!important;}

/* Payment modal: remove heavy gray border and align success modal center. */
.portal-pay-modal{display:grid!important;place-items:center!important;align-items:center!important;justify-items:center!important;padding:24px!important;}
.portal-pay-modal__card{transform:none!important;margin:auto!important;border-radius:26px!important;}
.portal-pay-modal__method{
  border:0!important;
  border-bottom:0!important;
  background:linear-gradient(135deg,#f8fffb,#f7fbff)!important;
  border-radius:18px!important;
  box-shadow:inset 0 0 0 1px rgba(226,232,240,.52)!important;
  padding:14px!important;
  margin:0 0 18px!important;
}
.portal-pay-modal__icon{background:linear-gradient(135deg,#18b981,#38d6ad)!important;}
.portal-pay-modal__method em{background:#18b981!important;}
.portal-pay-modal__submit{background:linear-gradient(135deg,#18b981 0%,#38d6ad 100%)!important;box-shadow:0 16px 34px rgba(24,185,129,.22)!important;}
.portal-success-modal,
.portal-success-modal--simple{
  position:fixed!important;
  inset:0!important;
  z-index:10070!important;
  display:grid!important;
  place-items:center!important;
  align-items:center!important;
  justify-items:center!important;
  padding:24px!important;
}
.portal-success-modal__card{margin:auto!important;transform:none!important;top:auto!important;left:auto!important;}

/* Mobile adaptation for customer, product, orders and admin pages. */
@media (max-width:1180px){
  .container,.portal-recording-width{width:min(100%,calc(100% - 28px))!important;}
  .portal-home-top-row{grid-template-columns:1fr!important;}
  .portal-home-top-row .portal-user-panel{height:auto!important;}
}
@media (max-width:900px){
  .app-shell{grid-template-columns:1fr!important;}
  .main{padding:18px!important;}
  .topbar{gap:12px!important;}
  .topbar h1{font-size:26px!important;}
  .badge-group{width:100%;justify-content:flex-start!important;}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .row-card,.detail-item{grid-template-columns:1fr!important;}
  .portal-header__inner,.portal-recording-layout,.portal-recording-layout--wide-products,.member-recording-shell,.product-hero-card,.detail-layout--product,.sf-goods-head{grid-template-columns:1fr!important;}
  .portal-product-grid,.portal-product-grid--wide,.portal-record-grid,.portal-record-grid--products,.portal-record-grid--wide-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .portal-order-reference-table{overflow-x:auto;}
  .portal-order-reference-table .head,.portal-order-reference-table>div:not(.head){min-width:760px;}
  .portal-history-table{overflow-x:auto;}
  .portal-history-table__head,.portal-history-table__row{min-width:760px;}
}
@media (max-width:640px){
  .container,.portal-recording-width{width:min(100%,calc(100% - 20px))!important;}
  .main{padding:14px!important;}
  .login-wrap,.login-wrap--admin{padding:18px 12px!important;place-items:center!important;}
  .login-card,.login-card--admin{border-radius:28px!important;padding:30px 22px!important;transform:none!important;}
  .login-card h1{font-size:36px!important;}
  .login-card .muted{font-size:18px!important;}
  .login-field,.login-card label{font-size:16px!important;}
  .login-card input{height:54px!important;font-size:16px!important;border-radius:18px!important;}
  .login-card button[type="submit"],.login-card > button:not(.portal-password-toggle){height:54px!important;border-radius:18px!important;font-size:18px!important;}
  .cards{grid-template-columns:1fr!important;}
  .toolbar,.actions,.portal-payment-actions,.portal-pay-actions{flex-direction:column!important;align-items:stretch!important;}
  .toolbar input,.toolbar select,.toolbar button,.actions a,.actions button,.btn{width:100%!important;}
  .portal-product-grid,.portal-product-grid--wide,.portal-record-grid,.portal-record-grid--products,.portal-record-grid--wide-products{grid-template-columns:1fr!important;}
  .portal-shortcut-grid--order-status,.portal-home-top-row .portal-shortcut-grid--order-status{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .portal-shortcut-grid--order-status .portal-shortcut-grid__status{min-height:86px!important;}
  .portal-tool-icon{width:36px;height:36px;border-radius:15px;}
  .portal-tool-icon svg{width:21px;height:21px;}
  .portal-hero-banner,.portal-banner-card{min-height:190px!important;padding:22px 18px!important;border-radius:24px!important;}
  .portal-hero-banner__title,.portal-banner-card__headline{font-size:clamp(32px,11vw,44px)!important;}
  .portal-hero-banner__sub,.portal-banner-card__sub{font-size:18px!important;}
  .portal-pay-modal,.portal-success-modal{padding:16px!important;}
  .portal-pay-modal__card,.portal-success-modal__card{width:calc(100vw - 32px)!important;border-radius:24px!important;padding:26px 20px 22px!important;}
  .portal-pay-modal__amount{font-size:42px!important;}
  .portal-pay-modal__method{gap:10px!important;}
  .portal-pay-modal__method strong{font-size:16px!important;}
  .portal-pay-modal__method span{font-size:12px!important;}
  .reference-cover-control{grid-template-columns:1fr!important;}
}

/* v3.29.59: status history, refund, stable sort and spring-green visual polish. */
:root{
  --portal-main-color:#2f75ff!important;
  --portal-main-strong:#009b56!important;
  --portal-main-soft:#e9fff4!important;
  --portal-gradient-start:#83ecc6!important;
  --portal-gradient-end:#2f75ff!important;
}
.portal-shell--recording{
  background:linear-gradient(180deg,#f7fdf9 0%,#f3faf7 44%,#f7f9fc 100%)!important;
}
.portal-hero-banner,
.portal-banner-card{
  background:
    radial-gradient(circle at 82% 14%,rgba(143,239,203,.42),transparent 30%),
    radial-gradient(circle at 15% 84%,rgba(206,255,228,.86),transparent 34%),
    linear-gradient(135deg,#f7fff9 0%,#dffbea 36%,#c8f6df 68%,#edf9ff 100%)!important;
  border-color:rgba(47,117,255,.18)!important;
  box-shadow:0 24px 62px rgba(47,117,255,.10),0 12px 42px rgba(15,23,42,.055)!important;
}
.portal-hero-banner::after,
.portal-banner-card::after{
  content:"";
  position:absolute;
  inset:auto -80px -120px auto;
  width:260px;
  height:260px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(47,117,255,.13),transparent 68%);
  pointer-events:none;
}
.portal-banner-card__headline,
.portal-hero-banner__title{color:#0e3b2d!important;}
.portal-banner-card__sub,
.portal-hero-banner__sub{color:#17745a!important;}
.portal-banner-card__meta,
.portal-hero-banner__desc{color:#4e6470!important;}

/* Frontend buttons: light-to-deep green from left to right. */
.portal-shell--recording .btn.primary,
.portal-shell--recording .portal-order-btn--primary,
.portal-shell--recording .portal-payment-actions .btn.primary,
.portal-shell--recording .portal-pay-actions .btn.primary,
.portal-shell--recording .portal-cart-checkout,
.portal-shell--recording .portal-auth-form button[type="submit"],
.portal-shell--recording .portal-search button,
.portal-pay-modal__submit{
  background:linear-gradient(90deg,#8db8ff 0%,#2f75ff 100%)!important;
  box-shadow:0 16px 32px rgba(47,117,255,.22)!important;
  border:0!important;
}
.portal-shell--recording .btn.primary:hover,
.portal-shell--recording .portal-order-btn--primary:hover,
.portal-pay-modal__submit:hover{filter:saturate(1.03) brightness(.995);}

/* Payment and success modals: same centered position; keep the balance-pay card frame. */
.portal-pay-modal,
.portal-success-modal,
.portal-success-modal--simple{
  position:fixed!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  align-items:center!important;
  justify-items:center!important;
  padding:24px!important;
}
.portal-pay-modal__card,
.portal-success-modal__card{margin:auto!important;transform:none!important;top:auto!important;left:auto!important;}
.portal-pay-modal__method{
  border:1px solid rgba(47,117,255,.18)!important;
  border-bottom:1px solid rgba(47,117,255,.18)!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#f7fffb 0%,#f9fbff 100%)!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045),inset 0 0 0 1px rgba(255,255,255,.72)!important;
}
.portal-pay-modal__icon{background:linear-gradient(135deg,#8db8ff,#2f75ff)!important;}
.portal-pay-modal__method em{background:#58c391!important;}

/* Batch order same-quantity mode: keep each row quantity cell visible for review. */
.portal-batch-table.hide-row-qty [data-batch-qty-col],
.portal-batch-table.hide-row-qty .portal-batch-table__qty{display:table-cell!important;}
.portal-batch-table [data-batch-qty-input][readonly]{background:#f7fffb!important;color:#0f5f45!important;border-color:#cceedd!important;font-weight:900;}

/* Member tools / 8 status icons must never overflow the tools panel. */
.portal-user-panel__tools,
.portal-shortcut-grid--order-status{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
  align-items:stretch!important;
  overflow:hidden!important;
}
.portal-user-tool,
.portal-shortcut-grid--order-status .portal-shortcut-grid__status,
.portal-shortcut-grid a.portal-shortcut-grid__status{
  min-width:0!important;
  min-height:70px!important;
  padding:8px 4px!important;
  gap:5px!important;
  border-radius:16px!important;
  overflow:hidden!important;
}
.portal-user-tool__icon,
.portal-tool-icon{
  width:30px!important;
  height:30px!important;
  border-radius:10px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.portal-user-tool__icon svg,
.portal-tool-icon svg{width:20px!important;height:20px!important;}
.portal-user-tool strong,
.portal-shortcut-grid--order-status a strong{font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;}
.portal-shortcut-grid--order-status a em{right:4px!important;top:4px!important;min-width:18px!important;height:18px!important;padding:0 5px!important;font-size:11px!important;}
@media (max-width:640px){
  .portal-user-panel__tools,.portal-shortcut-grid--order-status,.portal-home-top-row .portal-shortcut-grid--order-status{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;}
  .portal-user-tool,.portal-shortcut-grid--order-status .portal-shortcut-grid__status{min-height:64px!important;padding:7px 3px!important;}
  .portal-user-tool__icon,.portal-tool-icon{width:28px!important;height:28px!important;}
  .portal-user-tool strong,.portal-shortcut-grid--order-status a strong{font-size:11px!important;}
}

/* Product placeholder consistency: order list/detail use the same default visual system as product list. */
.portal-order-sheet__thumb,
.portal-order-sheet__cover,
.portal-order-reference-product span,
.portal-product-card__placeholder,
.portal-record-card__placeholder,
.sf-goods-placeholder strong,
.product-hero-placeholder span{
  color:#1d5fd7!important;
  background:
    radial-gradient(circle at 35% 22%,rgba(255,255,255,.92),transparent 28%),
    linear-gradient(135deg,#dbfff0 0%,#e7fbf5 52%,#eef7ff 100%)!important;
  border:1px solid rgba(47,117,255,.16)!important;
  text-shadow:none!important;
}
.portal-order-sheet__thumb img,
.portal-order-sheet__cover img{width:100%;height:100%;object-fit:cover;display:block;}

/* Light, modern date filters with the same green theme. */
.portal-date-range__trigger,
.portal-orders-date-pair input,
.portal-orders-query-grid input[type="date"],
.portal-main input[type="date"]{
  height:44px!important;
  border-radius:15px!important;
  border:1px solid #dce8e2!important;
  background:linear-gradient(180deg,#fff 0%,#fffefa 100%)!important;
  color:#173629!important;
  box-shadow:0 8px 18px rgba(15,23,42,.035)!important;
}
.portal-date-range__trigger:hover,
.portal-date-range__trigger:focus,
.portal-orders-date-pair input:focus,
.portal-orders-query-grid input[type="date"]:focus,
.portal-main input[type="date"]:focus{
  outline:none!important;
  border-color:rgba(47,117,255,.45)!important;
  box-shadow:0 0 0 4px rgba(47,117,255,.10),0 10px 22px rgba(15,23,42,.045)!important;
}
.portal-date-range__panel{
  border:1px solid rgba(47,117,255,.16)!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 24px 62px rgba(15,23,42,.13)!important;
}
.portal-date-range__inputs input{border-radius:14px!important;border-color:#dce8e2!important;}
.portal-date-range__quick button{
  border-radius:999px!important;
  border:1px solid #dce8e2!important;
  background:#f7fffb!important;
  color:#16624b!important;
  font-weight:850!important;
}
.portal-date-range__quick button:hover{border-color:rgba(47,117,255,.35)!important;color:#1d5fd7!important;background:#f7fbff!important;}
.portal-date-range__quick button[data-date-apply]{background:linear-gradient(90deg,#8db8ff 0%,#2f75ff 100%)!important;color:#fff!important;border:0!important;}
.portal-orders-date-pair em{color:#7a9288!important;font-weight:900!important;}

/* Order timeline details. */
.portal-order-reference-logs>div{align-items:flex-start!important;}
.portal-order-reference-logs strong{display:block!important;}
.portal-order-reference-logs small{display:block!important;margin-top:4px;color:#64748b;font-size:12px;line-height:1.45;max-width:520px;word-break:break-word;}
.portal-order-reference-logs span{white-space:nowrap!important;}

/* Admin login refresh. */
.login-wrap--admin{position:relative!important;overflow:hidden!important;background:
  radial-gradient(circle at 20% 16%,rgba(47,117,255,.20),transparent 30%),
  radial-gradient(circle at 82% 78%,rgba(56,189,248,.16),transparent 32%),
  linear-gradient(145deg,#0b1423 0%,#0e1b2c 48%,#08111f 100%)!important;}
.login-orb{position:absolute;border-radius:999px;filter:blur(.2px);pointer-events:none;opacity:.72;}
.login-orb--one{width:260px;height:260px;left:8%;top:10%;background:radial-gradient(circle,rgba(47,117,255,.22),transparent 70%);}
.login-orb--two{width:360px;height:360px;right:3%;bottom:-8%;background:radial-gradient(circle,rgba(132,236,198,.18),transparent 70%);}
.login-card--admin{
  position:relative!important;
  isolation:isolate!important;
  max-width:520px!important;
  border-radius:32px!important;
  padding:44px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.94))!important;
  border:1px solid rgba(255,255,255,.76)!important;
  box-shadow:0 34px 92px rgba(3,7,18,.34),inset 0 1px 0 rgba(255,255,255,.82)!important;
}
.login-card--admin::before{content:"";position:absolute;inset:0 0 auto 0;height:7px;background:linear-gradient(90deg,#8db8ff,#2f75ff);border-radius:32px 32px 0 0;}
.login-card__secure-row{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 24px;}
.login-card__secure-row span{padding:7px 10px;border-radius:999px;background:#eef5ff;color:#1d5fd7;font-size:12px;font-weight:900;border:1px solid rgba(47,117,255,.13);}
.login-card--admin .login-card__eyebrow{color:#1d5fd7!important;}
.login-card--admin input{border-radius:18px!important;border-color:#dce8e2!important;background:#fffefa!important;}
.login-card--admin button[type="submit"]{background:linear-gradient(90deg,#8db8ff 0%,#2f75ff 100%)!important;box-shadow:0 18px 38px rgba(47,117,255,.24)!important;}
@media (max-width:640px){.login-card--admin{padding:32px 22px!important;border-radius:26px!important;}.login-card__secure-row{margin-bottom:18px;}.login-orb{display:none;}}

/* v3.29.59 hotfix: success modal backdrop must be absolute so the dialog card is truly viewport-centered. */
.portal-success-modal__backdrop{position:absolute!important;inset:0!important;z-index:0!important;}
.portal-success-modal__card{grid-area:1 / 1!important;align-self:center!important;justify-self:center!important;z-index:1!important;}

/* v3.29.60: cover refresh, order identity, tooltip, login centering and click-target polish */
.portal-shell--auth .portal-auth-recording--single,
.portal-auth-recording--single{
  min-height:calc(100vh - 220px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:clamp(48px, 9vh, 96px) 18px!important;
}
.portal-shell--auth .portal-auth-recording__card--centered,
.portal-auth-recording--single .portal-auth-recording__card--centered{
  width:min(460px, 100%)!important;
  margin:0 auto!important;
  padding:34px 34px 32px!important;
  border-radius:28px!important;
  border:1px solid rgba(47,117,255,.13)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.94))!important;
  box-shadow:0 24px 70px rgba(15,23,42,.12),0 8px 28px rgba(47,117,255,.10)!important;
  transform:translateY(-2vh);
}
.portal-auth-recording--single .portal-auth-tabs{justify-content:center;margin-bottom:22px;}
.portal-auth-recording--single .portal-auth-form{gap:16px;}
.portal-auth-recording--single .portal-auth-form input{min-height:52px;border-radius:16px;background:#fffefa;border-color:#dfe7f2;}
.portal-auth-recording--single .portal-auth-form input:focus{border-color:rgba(47,117,255,.55);box-shadow:0 0 0 4px rgba(47,117,255,.10);outline:none;}
.portal-auth-recording--single .portal-auth-form .btn.primary{min-height:52px;border-radius:18px;background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;color:#fff!important;box-shadow:0 12px 28px rgba(47,117,255,.22)!important;}

.portal-history-table{overflow:visible!important;}
.portal-history-table__row{position:relative;z-index:1;}
.portal-history-table__row:hover{z-index:5;}
.portal-history-snapshot{overflow:visible!important;white-space:normal!important;}
.portal-history-param{position:relative;display:inline-flex;max-width:100%;align-items:center;outline:none;}
.portal-history-param__text{display:inline-block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#374151;font-weight:650;}
.portal-history-param__popover{position:absolute;left:0;bottom:calc(100% + 12px);width:max-content;min-width:300px;max-width:min(520px, calc(100vw - 42px));padding:14px 14px 12px;border-radius:18px;border:1px solid #e7edf2;background:#fff;color:#111827;box-shadow:0 22px 60px rgba(15,23,42,.16);opacity:0;visibility:hidden;transform:translateY(8px) scale(.98);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;pointer-events:none;z-index:80;}
.portal-history-param__popover::after{content:"";position:absolute;left:28px;bottom:-8px;width:16px;height:16px;background:#fff;border-right:1px solid #e7edf2;border-bottom:1px solid #e7edf2;transform:rotate(45deg);}
.portal-history-param:hover .portal-history-param__popover,
.portal-history-param:focus .portal-history-param__popover,
.portal-history-param:focus-within .portal-history-param__popover{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto;}
.portal-history-param__popover>strong{display:block;margin:0 0 10px;font-size:15px;font-weight:900;color:#111827;}
.portal-history-param__row{display:grid;grid-template-columns:auto minmax(120px,1fr) 34px;gap:8px;align-items:center;min-height:34px;padding:4px 0;border-top:1px solid #f1f5f3;}
.portal-history-param__row:first-of-type{border-top:0;}
.portal-history-param__row em{font-style:normal;color:#6b7280;white-space:nowrap;}
.portal-history-param__row b{font-weight:800;color:#1f2937;word-break:break-all;}
.portal-history-param__copy{width:34px;height:34px;border:0;border-radius:10px;background:#effaf4;color:#00a65c;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;touch-action:manipulation;}
.portal-history-param__copy svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.portal-history-param__copy:hover{background:#dcf7e9;color:#008c50;}

.portal-copy-link,
.portal-password-toggle,
.portal-history-refund,
.portal-order-btn,
.portal-order-sheet__actions a,
.portal-order-reference-actions a,
.portal-auth-recording button,
button[data-password-toggle],
button[data-copy-text]{min-width:36px;min-height:36px;touch-action:manipulation;pointer-events:auto;position:relative;z-index:2;}
.portal-copy-link{padding-inline:12px;}
.portal-password-control{position:relative;}
.portal-password-toggle{z-index:5;cursor:pointer;}
.portal-order-sheet__media-link,.portal-order-sheet__name-link{position:relative;z-index:1;}

@media (max-width: 760px){
  .portal-auth-recording--single{min-height:calc(100vh - 160px)!important;padding:38px 14px!important;}
  .portal-auth-recording--single .portal-auth-recording__card--centered{padding:26px 20px!important;border-radius:24px!important;transform:none;}
  .portal-history-param__popover{left:50%;transform:translate(-50%,8px) scale(.98);min-width:280px;max-width:calc(100vw - 28px);}
  .portal-history-param:hover .portal-history-param__popover,
  .portal-history-param:focus .portal-history-param__popover,
  .portal-history-param:focus-within .portal-history-param__popover{transform:translate(-50%,0) scale(1);}
  .portal-history-param__popover::after{left:50%;margin-left:-8px;}
}

/* v3.29.61: front visual closure, softer mint palette, stable interaction targets and mobile layout. */
:root{
  --portal-32961-mint-weak:#f4f8ff;
  --portal-32961-mint-soft:#eaf2ff;
  --portal-32961-mint-mid:#8db8ff;
  --portal-32961-green:#35c88b;
  --portal-32961-green-deep:#2f75ff;
  --portal-32961-cyan:#dceefa;
  --portal-32961-warm:#f1eed2;
  --portal-32961-ink:#12382d;
  --portal-32961-muted:#55716b;
  --portal-radius-sm:10px;
  --portal-radius-md:14px;
  --portal-radius-lg:18px;
  --portal-radius-xl:22px;
}
.portal-shell--recording,
.portal-auth-recording{
  background:
    radial-gradient(circle at 12% 8%,rgba(216,239,250,.50),transparent 34%),
    radial-gradient(circle at 88% 6%,rgba(218,245,230,.52),transparent 32%),
    linear-gradient(180deg,#f7fbff 0%,#f0f8f4 48%,#f6f9fb 100%)!important;
}
.portal-hero-banner,
.portal-banner-card{
  border-radius:var(--portal-radius-lg)!important;
  border-color:rgba(47,117,255,.16)!important;
  background:
    radial-gradient(circle at 78% 14%,rgba(220,238,250,.60),transparent 35%),
    radial-gradient(circle at 18% 82%,rgba(241,238,210,.40),transparent 38%),
    radial-gradient(circle at 56% 42%,rgba(184,237,213,.36),transparent 43%),
    linear-gradient(135deg,#f4f8ff 0%,#dff4ea 42%,#d9f1e9 70%,#dceefa 100%)!important;
  box-shadow:0 18px 48px rgba(47,117,255,.095),0 8px 26px rgba(15,23,42,.045)!important;
}
.portal-hero-banner::before,
.portal-banner-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(112deg,rgba(241,238,210,.28) 0%,rgba(229,247,239,.18) 42%,rgba(221,239,250,.12) 72%,transparent 100%),
    radial-gradient(circle at 28% 14%,rgba(230,246,238,.34),transparent 26%)!important;
  pointer-events:none;
}
.portal-hero-banner::after,
.portal-banner-card::after{
  background:radial-gradient(circle,rgba(47,117,255,.105),transparent 70%)!important;
  opacity:.78!important;
}
.portal-banner-card__headline,
.portal-hero-banner__title,
.portal-hero-banner h1{color:#12382d!important;letter-spacing:.01em!important;}
.portal-banner-card__sub,
.portal-hero-banner__sub{color:#17745a!important;}
.portal-banner-card__meta,
.portal-hero-banner__desc{color:#526d67!important;}

/* Softer left-light to right-deep gradients across the storefront. */
.portal-shell--recording .btn.primary,
.portal-shell--recording .portal-order-btn--primary,
.portal-shell--recording .portal-payment-actions .btn.primary,
.portal-shell--recording .portal-pay-actions .btn.primary,
.portal-shell--recording .portal-cart-checkout,
.portal-shell--recording .portal-auth-form button[type="submit"],
.portal-shell--recording .portal-search button,
.portal-shell--recording .portal-filter-chip.is-active,
.portal-shell--recording .portal-category-chip.is-active,
.portal-shell--recording .portal-date-range__quick button[data-date-apply],
.portal-shell--recording .portal-product-card .btn.primary,
.portal-shell--recording .portal-record-card .btn.primary,
.portal-pay-modal__submit{
  background:linear-gradient(90deg,#8db8ff 0%,#6aa7ff 55%,#2f75ff 100%)!important;
  color:#fff!important;
  border:1px solid rgba(47,117,255,.14)!important;
  box-shadow:0 10px 24px rgba(47,117,255,.18)!important;
  text-shadow:none!important;
}
.portal-shell--recording .btn.primary:hover,
.portal-shell--recording .portal-order-btn--primary:hover,
.portal-pay-modal__submit:hover{
  filter:saturate(1.01) brightness(.995)!important;
  box-shadow:0 12px 26px rgba(47,117,255,.20)!important;
}
.portal-shell--recording .btn.primary:active,
.portal-shell--recording .portal-order-btn:active,
.portal-shell--recording .portal-copy-link:active,
.portal-shell--recording a:active{transform:translateY(1px);}

/* Reduce over-soft rounded rectangles without making the site square. */
.portal-card,
.portal-record-card,
.portal-product-card,
.portal-user-panel,
.member-panel,
.member-recording-main,
.portal-order-reference-detail,
.portal-order-reference-block,
.portal-order-sheet,
.portal-date-range__panel,
.portal-pay-modal__card,
.portal-success-modal__card,
.portal-auth-recording__card,
.portal-side-card,
.portal-filter-card{border-radius:var(--portal-radius-lg)!important;}
.portal-order-btn,
.portal-copy-link,
.portal-date-range__trigger,
.portal-orders-date-pair input,
.portal-orders-query-grid input,
.portal-main input[type="text"],
.portal-main input[type="search"],
.portal-main input[type="date"],
.portal-main select,
.portal-main textarea{border-radius:var(--portal-radius-sm)!important;}
.portal-filter-chip,
.portal-category-chip,
.portal-nav-badge{border-radius:999px!important;}

/* Member tools: show the full lower row instead of clipping it inside a fixed-height card. */
.portal-home-top-row .portal-user-panel,
.portal-user-panel{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.portal-user-panel__tools,
.portal-shortcut-grid--order-status,
.portal-home-top-row .portal-shortcut-grid--order-status{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  align-items:stretch!important;
  overflow:visible!important;
}
.portal-user-tool,
.portal-shortcut-grid--order-status .portal-shortcut-grid__status,
.portal-shortcut-grid a.portal-shortcut-grid__status{
  min-width:0!important;
  min-height:62px!important;
  padding:7px 5px 8px!important;
  gap:4px!important;
  border-radius:var(--portal-radius-md)!important;
  overflow:visible!important;
}
.portal-tool-icon,
.portal-user-tool__icon{width:28px!important;height:28px!important;border-radius:9px!important;}
.portal-tool-icon svg,
.portal-user-tool__icon svg{width:19px!important;height:19px!important;}
.portal-shortcut-grid--order-status a strong,
.portal-user-tool strong{font-size:11.5px!important;line-height:1.18!important;}
.portal-shortcut-grid--order-status a em{right:4px!important;top:4px!important;box-shadow:0 6px 14px rgba(47,117,255,.18)!important;}

/* Order params: two-line, left-aligned structure for long links and copy actions. */
.portal-order-sheet__param-line{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-items:start!important;
  gap:4px!important;
  min-width:0!important;
  text-align:left!important;
  padding:8px 0!important;
  border-bottom:1px solid rgba(226,232,240,.78)!important;
}
.portal-order-sheet__param-line:last-child{border-bottom:0!important;}
.portal-order-sheet__param-main{
  display:grid!important;
  grid-template-columns:minmax(72px,max-content) minmax(0,1fr)!important;
  gap:6px!important;
  align-items:start!important;
  min-width:0!important;
}
.portal-order-sheet__param-main span{color:#64756f!important;font-weight:800!important;text-align:left!important;white-space:nowrap!important;}
.portal-order-sheet__param-main strong{min-width:0!important;color:#173629!important;font-weight:850!important;word-break:break-all!important;line-height:1.45!important;}
.portal-order-sheet__param-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  padding-left:78px!important;
  align-items:center!important;
}
.portal-param-open-link{background:#f1fbf6!important;color:#1d5fd7!important;text-decoration:none!important;}

/* Cleaner repeat-order button. */
.portal-repeat-order-btn,
.portal-order-reference-actions .btn.primary,
.portal-order-btn--primary{
  min-height:40px!important;
  padding:0 15px!important;
  border-radius:var(--portal-radius-sm)!important;
  background:linear-gradient(90deg,#a6e8ce 0%,#45cc96 54%,#2f75ff 100%)!important;
  color:#fff!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  box-shadow:0 9px 20px rgba(47,117,255,.18)!important;
  text-shadow:none!important;
}

/* Hover popover can be entered and its copy icon can be clicked. */
.portal-history-param{position:relative;}
.portal-history-param::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-16px;
  height:16px;
  pointer-events:auto;
}
.portal-history-param__popover{
  bottom:calc(100% + 5px)!important;
  border-radius:var(--portal-radius-md)!important;
  border-color:rgba(47,117,255,.14)!important;
  background:#fffefa!important;
  box-shadow:0 18px 46px rgba(15,23,42,.14)!important;
  pointer-events:auto!important;
}
.portal-history-param__popover::after{background:#fffefa!important;border-color:rgba(47,117,255,.14)!important;}
.portal-history-param:hover .portal-history-param__popover,
.portal-history-param:focus .portal-history-param__popover,
.portal-history-param:focus-within .portal-history-param__popover,
.portal-history-param__popover:hover{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.portal-history-param__copy{background:#ecfaf4!important;color:#0aa76b!important;border-radius:9px!important;}
.portal-history-param__copy:hover{background:#dff7ea!important;color:#087a50!important;}

/* Date filters: all visible date fields use the same light green shell. */
.portal-date-range__trigger,
.portal-orders-date-pair input,
.portal-orders-query-grid input,
.portal-date-range__inputs input,
.portal-main input[pattern="\\d{4}-\\d{2}-\\d{2}"],
.portal-main input[type="date"]{
  min-height:42px!important;
  border-radius:var(--portal-radius-sm)!important;
  border:1px solid #d7e8df!important;
  background:linear-gradient(180deg,#fffefa 0%,#f4fbf7 100%)!important;
  color:#173629!important;
  caret-color:#2f75ff!important;
  color-scheme:light!important;
  box-shadow:0 6px 14px rgba(15,23,42,.035)!important;
}
.portal-date-range__trigger:hover,
.portal-date-range__trigger:focus,
.portal-orders-date-pair input:focus,
.portal-orders-query-grid input:focus,
.portal-date-range__inputs input:focus,
.portal-main input[pattern="\\d{4}-\\d{2}-\\d{2}"]:focus,
.portal-main input[type="date"]:focus{
  outline:none!important;
  border-color:rgba(47,117,255,.45)!important;
  box-shadow:0 0 0 3px rgba(47,117,255,.105),0 8px 18px rgba(15,23,42,.04)!important;
}
.portal-date-range__panel{background:rgba(251,255,253,.98)!important;border-color:rgba(47,117,255,.14)!important;}
.portal-date-range__quick button:hover{background:#f4f8ff!important;color:#1d5fd7!important;}

/* Product placeholders and banner imagery: avoid pure white highlights. */
.portal-order-sheet__thumb,
.portal-order-sheet__cover,
.portal-order-reference-product span,
.portal-product-card__placeholder,
.portal-record-card__placeholder,
.sf-goods-placeholder strong,
.product-hero-placeholder span{
  color:#0a985f!important;
  background:
    radial-gradient(circle at 36% 22%,rgba(241,238,210,.46),transparent 30%),
    radial-gradient(circle at 78% 78%,rgba(220,238,250,.42),transparent 34%),
    linear-gradient(135deg,#d9f4e7 0%,#e4f4ef 55%,#dceefa 100%)!important;
  border-color:rgba(47,117,255,.15)!important;
  text-shadow:none!important;
}

/* Mobile storefront: follow the reference page structure instead of shrinking desktop rows. */
@media (max-width:760px){
  .portal-main{padding:12px 12px 88px!important;}
  .portal-header{position:sticky;top:0;z-index:50;background:rgba(246,251,248,.92);backdrop-filter:blur(14px);}
  .portal-header__inner{display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important;padding:8px 12px!important;align-items:center!important;}
  .portal-brand{display:none!important;}
  .portal-search{min-height:52px!important;border-radius:18px!important;background:rgba(255,255,255,.86)!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important;}
  .portal-search input{font-size:15px!important;}
  .portal-top-links{gap:8px!important;}
  .portal-top-links a{min-width:44px!important;min-height:44px!important;border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
  .portal-home-top-row,
  .portal-recording-layout--wide-products,
  .member-recording-shell{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
  .portal-home-top-row .portal-hero-banner,
  .portal-hero-banner,
  .portal-banner-card{min-height:150px!important;border-radius:var(--portal-radius-lg)!important;padding:18px!important;}
  .portal-home-top-row .portal-user-panel{padding:12px!important;border-radius:var(--portal-radius-lg)!important;}
  .portal-side-card__title span{font-size:12px!important;}
  .portal-user-panel__head{gap:8px!important;}
  .portal-home-top-row .portal-shortcut-grid--order-status,
  .portal-shortcut-grid--order-status{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;}
  .portal-shortcut-grid--order-status .portal-shortcut-grid__status{min-height:60px!important;padding:7px 3px!important;}
  .portal-tree-sidebar{display:none!important;}
  .portal-product-block__head,
  .portal-orders-tabs,
  .portal-filter-tabs{overflow-x:auto!important;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch!important;padding-bottom:4px!important;}
  .portal-product-block__head::-webkit-scrollbar,
  .portal-orders-tabs::-webkit-scrollbar,
  .portal-filter-tabs::-webkit-scrollbar{display:none!important;}
  .portal-record-grid--wide-products,
  .portal-product-grid,
  .portal-record-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .portal-record-card,
  .portal-product-card{border-radius:var(--portal-radius-lg)!important;padding:12px!important;}
  .portal-order-sheet__head,
  .portal-order-sheet__body,
  .portal-order-sheet__meta,
  .portal-order-reference-progress{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .portal-order-sheet__param-actions{padding-left:0!important;}
  .portal-order-reference-table{display:grid!important;grid-template-columns:1fr!important;min-width:0!important;gap:8px!important;}
  .portal-order-reference-table .head{display:none!important;}
  .portal-order-reference-table>div:not(.head){padding:9px 0!important;border-bottom:1px solid rgba(226,232,240,.82)!important;}
  .member-panel{display:none!important;}
  .member-recording-main{min-width:0!important;}
  .portal-top-links--member,
  .portal-tabbar,
  .portal-mobile-tabbar{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    z-index:90!important;
    min-height:62px!important;
    padding:8px!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 14px 38px rgba(15,23,42,.13)!important;
    border:1px solid rgba(47,117,255,.12)!important;
  }
}
@media (max-width:420px){
  .portal-main{padding-left:10px!important;padding-right:10px!important;}
  .portal-home-top-row .portal-hero-banner,
  .portal-hero-banner,
  .portal-banner-card{min-height:138px!important;}
  .portal-tool-icon{width:27px!important;height:27px!important;}
  .portal-shortcut-grid--order-status a strong{font-size:11px!important;}
  .portal-order-sheet__param-main{grid-template-columns:1fr!important;gap:2px!important;}
  .portal-order-sheet__param-actions{padding-left:0!important;}
}

/* v3.29.63: admin blue login, batch-order interaction, quantity/date polish and softer green visual reset. */
:root{
  --portal-mint-left:#8db8ff;
  --portal-mint-mid:#6aa7ff;
  --portal-mint-right:#2f75ff;
  --portal-mint-deep:#1d5fd7;
  --portal-mint-warm:#fff4cb;
  --admin-blue-left:#8fc4ff;
  --admin-blue-mid:#3385ff;
  --admin-blue-right:#1859d8;
}

/* Backend login is an independent blue admin visual language. */
.login-wrap--admin-v32962{
  min-height:100dvh!important;
  display:grid!important;
  place-items:center!important;
  padding:clamp(22px,5vw,56px)!important;
  background:
    radial-gradient(circle at 18% 12%,rgba(91,162,255,.20),transparent 32%),
    radial-gradient(circle at 86% 78%,rgba(29,78,216,.18),transparent 36%),
    linear-gradient(145deg,#f3f7ff 0%,#eef5ff 45%,#f8fbff 100%)!important;
  overflow:auto!important;
}
.login-wrap--admin-v32962 .login-orb,
.login-card--admin-horizontal::before,
.login-card--admin-horizontal::after,
.login-wrap--admin-v32962 .login-card__secure-row{display:none!important;content:none!important;}
.login-card--admin-horizontal{
  width:min(100%,860px)!important;
  max-width:860px!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(250px,.95fr) minmax(320px,1.05fr)!important;
  gap:0!important;
  padding:0!important;
  border-radius:20px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid rgba(156,184,222,.42)!important;
  box-shadow:0 28px 80px rgba(25,73,150,.16),0 8px 26px rgba(15,23,42,.08)!important;
  transform:none!important;
}
.login-card--admin-horizontal .login-card__intro{
  min-height:360px;
  padding:42px 40px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  background:
    radial-gradient(circle at 20% 16%,rgba(207,229,255,.42),transparent 32%),
    linear-gradient(135deg,#1e6bdb 0%,#246fe2 48%,#1d4ed8 100%)!important;
  color:#fff!important;
}
.login-card--admin-horizontal .login-card__intro h1{color:#fff!important;font-size:38px!important;letter-spacing:-.04em!important;line-height:1.12!important;margin:12px 0 10px!important;}
.login-card--admin-horizontal .login-card__intro .muted{color:rgba(255,255,255,.86)!important;font-size:16px!important;font-weight:700!important;line-height:1.65!important;}
.login-card--admin-horizontal .login-card__intro small{margin-top:24px;color:rgba(255,255,255,.70);font-weight:800;letter-spacing:.02em;}
.login-card--admin-horizontal .login-card__eyebrow{color:#d8ebff!important;font-size:12px!important;letter-spacing:.16em!important;font-weight:950!important;}
.login-card--admin-horizontal .login-card__form{padding:42px 42px 38px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
.login-card--admin-horizontal .login-field,
.login-card--admin-horizontal label{font-size:15px!important;font-weight:850!important;gap:8px!important;margin-bottom:16px!important;color:#26364e!important;}
.login-card--admin-horizontal input{height:50px!important;border-radius:12px!important;border:1px solid #d7e1ef!important;background:#fbfdff!important;font-size:15px!important;font-weight:700!important;color:#0f172a!important;padding:0 15px!important;}
.login-card--admin-horizontal input:focus{border-color:#5aa2ff!important;box-shadow:0 0 0 4px rgba(51,133,255,.14)!important;background:#fff!important;}
.login-card--admin-horizontal button[type="submit"]{height:50px!important;border-radius:12px!important;margin-top:8px!important;background:linear-gradient(90deg,var(--admin-blue-left) 0%,var(--admin-blue-mid) 46%,var(--admin-blue-right) 100%)!important;color:#fff!important;font-size:17px!important;letter-spacing:.03em!important;box-shadow:0 16px 34px rgba(37,99,235,.24)!important;border:0!important;}
.login-card--admin-horizontal button[type="submit"]:hover{transform:translateY(-1px);box-shadow:0 20px 42px rgba(37,99,235,.28)!important;}
.login-card--admin-horizontal .portal-password-toggle{border-radius:10px!important;background:#eef5ff!important;color:#2463d6!important;box-shadow:none!important;}
@media (max-width:760px){
  .login-card--admin-horizontal{grid-template-columns:1fr!important;border-radius:18px!important;width:min(100%,420px)!important;}
  .login-card--admin-horizontal .login-card__intro{min-height:132px!important;padding:28px 26px 22px!important;}
  .login-card--admin-horizontal .login-card__intro h1{font-size:30px!important;}
  .login-card--admin-horizontal .login-card__form{padding:28px 24px 28px!important;}
}

/* Softer product/banner colors: mint is primary, light never becomes pure white. */
.portal-hero-banner,
.portal-banner-card,
.portal-detail-square-media,
.portal-record-card__placeholder,
.portal-record-card__placeholder--large{
  background:
    radial-gradient(circle at 20% 16%,rgba(255,244,203,.58),transparent 34%),
    radial-gradient(circle at 82% 18%,rgba(183,226,255,.36),transparent 36%),
    linear-gradient(132deg,#d9f4e7 0%,#b9efd9 42%,#8fe3c1 72%,#6fd4bb 100%)!important;
  color:#1d5f4a!important;
}
.portal-hero-banner::before,
.portal-hero-banner::after,
.portal-banner-card::before,
.portal-banner-card::after,
.portal-detail-square-media::before,
.portal-detail-square-media::after{opacity:.34!important;filter:blur(12px)!important;background:radial-gradient(circle,rgba(255,244,203,.55),transparent 65%)!important;}
.portal-hero-banner h1,
.portal-banner-card h1,
.portal-detail-shell__summary h1{color:#123c36!important;}
.portal-hero-banner .muted,
.portal-banner-card .muted,
.portal-detail-shell__line{color:#376e65!important;}

/* All primary green gradients are left-light to right-deep and no pseudo strips. */
.portal-shell--recording .btn.primary,
.portal-order-actions .btn.primary,
.portal-order-btn--primary,
.portal-pay-modal__submit,
.portal-filter-chip.is-active,
.portal-batch-modebar__tab.active,
.portal-date-range__quick button[data-date-apply],
.portal-search button,
.portal-home-search button,
.portal-copy-link--primary,
.member-panel__nav a.active,
.portal-user-panel__cta,
.portal-auth-form button[type="submit"]{
  background:linear-gradient(90deg,var(--portal-mint-left) 0%,var(--portal-mint-mid) 46%,var(--portal-mint-right) 100%)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 14px 28px rgba(47,117,255,.18)!important;
  text-shadow:none!important;
}
.btn.primary::before,
.btn.primary::after,
.portal-order-btn--primary::before,
.portal-order-btn--primary::after,
.portal-batch-modebar__tab.active::before,
.portal-batch-modebar__tab.active::after,
.portal-pay-modal__submit::before,
.portal-pay-modal__submit::after,
.portal-date-range__quick button[data-date-apply]::before,
.portal-date-range__quick button[data-date-apply]::after{display:none!important;content:none!important;}
.portal-shell--recording .btn.primary:hover,
.portal-order-actions .btn.primary:hover,
.portal-order-btn--primary:hover,
.portal-pay-modal__submit:hover{filter:saturate(1.02);transform:translateY(-1px);}
.portal-order-actions .btn.primary,
.portal-order-btn--primary{border-radius:13px!important;min-height:40px!important;padding-inline:18px!important;font-weight:900!important;}
.portal-detail-tabs button.active,
.portal-detail-tabs button[aria-selected="true"]{background:linear-gradient(90deg,#eef5ff 0%,#8db8ff 52%,#2f75ff 100%)!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(47,117,255,.16)!important;}
.portal-detail-tabs button.active::before,
.portal-detail-tabs button.active::after{display:none!important;content:none!important;}

/* Remove the accidental left-side vertical strips from gradient buttons/icons. */
.btn,
.portal-order-btn,
.portal-batch-modebar__tab,
.portal-qty-picker__btn,
.portal-copy-link,
.portal-user-tool,
.portal-shortcut-grid__status,
.portal-filter-chip{background-clip:padding-box!important;overflow:hidden;}
.btn::before,
.portal-order-btn::before,
.portal-batch-modebar__tab::before,
.portal-qty-picker__btn::before,
.portal-copy-link::before,
.portal-user-tool::before,
.portal-shortcut-grid__status::before,
.portal-filter-chip::before{border-left:0!important;box-shadow:none!important;}
.portal-order-actions .btn.primary,
.portal-batch-editor__actions .btn,
.portal-batch-modebar__tab{position:relative;isolation:isolate;}
.portal-order-actions .btn.primary::before,
.portal-batch-editor__actions .btn::before,
.portal-batch-modebar__tab::before{display:none!important;content:none!important;}

/* Quantity validation message. */
.portal-qty-message{
  display:block!important;
  margin-top:8px!important;
  color:#d04b28!important;
  background:#fff7ed!important;
  border:1px solid #fed7aa!important;
  border-radius:10px!important;
  padding:8px 10px!important;
  font-style:normal!important;
  font-weight:850!important;
  line-height:1.45!important;
}
.portal-qty-message[hidden]{display:none!important;}
.portal-qty-message--batch{margin:12px 0 0!important;}
.portal-qty-picker input:invalid,
.portal-batch-table__qty input:invalid{border-color:#fb923c!important;box-shadow:0 0 0 3px rgba(251,146,60,.14)!important;}

/* Date text inputs and custom lightweight calendar. */
.portal-orders-date-pair input,
.portal-date-range__inputs input,
.portal-history-filterbar input[pattern*="d{4}"],
.portal-main input[data-lite-date]{
  height:38px!important;
  border-radius:11px!important;
  border:1px solid #d8eadf!important;
  background:#fffefa!important;
  color:#17483a!important;
  font-weight:780!important;
  box-shadow:none!important;
}
.portal-orders-date-pair input:focus,
.portal-date-range__inputs input:focus,
.portal-history-filterbar input[pattern*="d{4}"]:focus,
.portal-main input[data-lite-date]:focus{outline:none!important;border-color:#8db8ff!important;box-shadow:0 0 0 4px rgba(47,117,255,.12)!important;background:#fff!important;}
.portal-lite-calendar{
  position:absolute;
  z-index:99999;
  width:292px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(47,117,255,.18);
  background:rgba(255,255,255,.98);
  box-shadow:0 22px 58px rgba(15,23,42,.16);
  color:#17483a;
}
.portal-lite-calendar[hidden]{display:none!important;}
.portal-lite-calendar__head{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:6px;margin-bottom:10px;}
.portal-lite-calendar__head strong{text-align:center;font-size:14px;font-weight:950;}
.portal-lite-calendar__head button,
.portal-lite-calendar__day{border:0;background:#fff;color:#2f3b4a;border-radius:10px;font-weight:900;cursor:pointer;}
.portal-lite-calendar__head button{height:34px;font-size:22px;line-height:1;}
.portal-lite-calendar__head button:hover,
.portal-lite-calendar__day:hover{background:#f3f6fb;color:#1d5fd7;}
.portal-lite-calendar__week,
.portal-lite-calendar__days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;}
.portal-lite-calendar__week span{text-align:center;font-size:12px;font-weight:900;color:#7b8794;}
.portal-lite-calendar__day{height:34px;font-size:13px;}
.portal-lite-calendar__day.is-today{box-shadow:inset 0 0 0 1px rgba(47,117,255,.32);}
.portal-lite-calendar__day.is-selected{background:linear-gradient(90deg,var(--portal-mint-left),var(--portal-mint-right))!important;color:#fff!important;}

/* My orders parameter layout: no open-link button, two-line readable value/action. */
.portal-order-sheet__params{display:grid!important;gap:10px!important;align-items:start!important;}
.portal-order-sheet__param-line{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;align-items:start!important;padding:10px 12px!important;border-radius:12px!important;background:#fffefa!important;border:1px solid #edf3ef!important;}
.portal-order-sheet__param-main{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:6px!important;align-items:start!important;text-align:left!important;}
.portal-order-sheet__param-main span{font-weight:900!important;color:#667b73!important;white-space:nowrap!important;}
.portal-order-sheet__param-main strong{font-weight:850!important;color:#253b35!important;word-break:break-all!important;text-align:left!important;}
.portal-order-sheet__param-actions{display:flex!important;justify-content:flex-start!important;gap:8px!important;margin-left:0!important;}
.portal-param-open-link{display:none!important;}
.portal-order-sheet__param-actions .portal-copy-link{border-radius:9px!important;padding:6px 12px!important;background:#eefbf5!important;color:#16885e!important;border:1px solid #ccecdf!important;box-shadow:none!important;}

/* Navigation responsiveness: make successful click feel immediate while sync is in background. */
.portal-main a,
.portal-shell--recording a,
.portal-bottom-nav a,
.member-panel__nav a{touch-action:manipulation;}
.portal-main a:active,
.portal-shell--recording a:active{transform:translateY(1px);filter:saturate(.98);}

/* v3.29.63 市场化移动端、下单参数控件与商品卡片交互收口 */
.portal-mobile-tabbar--market{display:none;}
[data-product-card-link]{cursor:pointer;}
.portal-order-form textarea,
.portal-order-form select,
.portal-batch-table textarea,
.portal-batch-table select{
  width:100%;
  min-height:48px;
  border:1px solid rgba(128,151,142,.28);
  border-radius:12px;
  background:rgba(255,255,255,.94);
  color:#20352e;
  padding:12px 14px;
  font:inherit;
  line-height:1.55;
  outline:0;
  box-shadow:0 8px 20px rgba(17,94,89,.045);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.portal-order-form textarea,
.portal-batch-table textarea{resize:vertical;min-height:116px;white-space:pre-wrap;}
.portal-batch-table textarea{min-height:92px;}
.portal-order-form select,
.portal-batch-table select{appearance:auto;cursor:pointer;}
.portal-order-form textarea:focus,
.portal-order-form select:focus,
.portal-batch-table textarea:focus,
.portal-batch-table select:focus{
  border-color:rgba(35,170,118,.58);
  background:#fff;
  box-shadow:0 0 0 4px rgba(46,204,139,.13),0 10px 24px rgba(17,94,89,.07);
}
.portal-input-help + .portal-input-help{margin-top:-3px;}
.portal-detail-square-media::before,
.portal-hero-banner::before,
.portal-banner-card::before{
  background:linear-gradient(118deg,rgba(235,252,241,.68),rgba(232,247,255,.28) 58%,rgba(250,242,209,.18))!important;
}
.portal-hero-banner,
.portal-banner-card{
  background:
    radial-gradient(circle at 12% 18%,rgba(247,235,188,.28),transparent 34%),
    radial-gradient(circle at 78% 24%,rgba(195,238,255,.34),transparent 38%),
    linear-gradient(120deg,#d9f4e3 0%,#c8efd7 42%,#b8e5ee 100%)!important;
}
.btn::before,
.btn.primary::before,
.portal-order-btn::before,
.portal-order-btn--primary::before,
.portal-user-tool::before,
.portal-copy-link::before,
.portal-filter-chip::before,
.portal-batch-modebar__tab::before,
.portal-pay-modal__submit::before,
.portal-date-range__quick button::before{
  display:none!important;
  content:none!important;
  border-left:0!important;
  box-shadow:none!important;
}
.btn.primary,
.portal-order-btn--primary,
.portal-pay-modal__submit,
.portal-date-range__quick button[data-date-apply],
.portal-batch-editor__actions .btn.primary,
.portal-order-actions .btn.primary{
  background:linear-gradient(to right,#86efc6 0%,#43d196 52%,#24b87a 100%)!important;
  border-color:transparent!important;
  color:#073b2b!important;
}

@media (max-width:760px){
  html,body{overflow-x:hidden;}
  .portal-shell--recording{background:#f4f8f7!important;}
  .portal-main{padding:10px 0 calc(88px + env(safe-area-inset-bottom))!important;}
  .portal-main__inner,.portal-recording-width{width:100%!important;max-width:100%!important;padding-left:10px!important;padding-right:10px!important;}
  .portal-header{position:sticky!important;top:0!important;z-index:80!important;background:rgba(247,252,250,.96)!important;backdrop-filter:blur(16px);box-shadow:0 8px 24px rgba(15,23,42,.06)!important;}
  .portal-header__inner{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:9px 10px!important;}
  .portal-brand--stack{display:none!important;}
  .portal-search--wide{display:grid!important;grid-template-columns:1fr 58px!important;gap:8px!important;width:100%!important;margin:0!important;}
  .portal-search--wide input{min-height:42px!important;border-radius:16px!important;font-size:14px!important;background:#fff!important;}
  .portal-search--wide button{min-height:42px!important;border-radius:16px!important;background:linear-gradient(to right,#90efd0,#34c98c)!important;color:#073b2b!important;font-weight:800!important;}
  .portal-header__actions,.portal-top-links--member{display:none!important;}
  .portal-notice-bar{display:none!important;}
  .portal-mobile-tabbar--market{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:100;padding:7px 10px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid rgba(15,23,42,.08);box-shadow:0 -10px 30px rgba(15,23,42,.13);}
  .portal-mobile-tabbar--market a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:50px;border-radius:14px;text-decoration:none;color:#6b7280;font-weight:700;transition:background .16s ease,color .16s ease,transform .16s ease;}
  .portal-mobile-tabbar--market a:active{transform:translateY(1px);}
  .portal-mobile-tabbar--market a.active{color:#11875e;background:#eefcf5;}
  .portal-mobile-tabbar--market span{font-size:22px;line-height:1;}
  .portal-mobile-tabbar--market strong{font-size:11px;line-height:1.1;}
  .portal-home-grid,.portal-recording-layout,.portal-recording-layout--wide-products,.member-v2-shell{display:block!important;}
  .portal-home-main,.portal-product-block,.portal-filter-board,.portal-user-panel,.portal-record-card,.portal-detail-card,.portal-profile-card,.member-panel{border-radius:16px!important;}
  .portal-hero-banner{min-height:116px!important;padding:14px 14px!important;border-radius:18px!important;margin:10px 0 12px!important;}
  .portal-hero-banner__title{font-size:28px!important;letter-spacing:1px!important;text-shadow:none!important;}
  .portal-hero-banner__sub{font-size:14px!important;}
  .portal-hero-banner__desc{font-size:12px!important;line-height:1.5!important;max-width:92%!important;}
  .portal-inline-notice{display:none!important;}
  .portal-product-block{padding:12px!important;margin-top:10px!important;box-shadow:0 10px 26px rgba(15,118,91,.07)!important;}
  .portal-product-block__head{align-items:center!important;margin-bottom:10px!important;}
  .portal-product-block__head h2{font-size:18px!important;}
  .portal-product-block__head a{font-size:13px!important;}
  .portal-record-grid,
  .portal-record-grid--products,
  .portal-record-grid--wide-products,
  .portal-product-grid,
  .portal-product-grid--wide{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .portal-record-card{min-height:0!important;padding:8px!important;gap:7px!important;box-shadow:0 8px 18px rgba(15,23,42,.06)!important;border-color:rgba(148,163,184,.16)!important;background:#fff!important;}
  .portal-record-card__media{aspect-ratio:1/1!important;min-height:0!important;height:auto!important;border-radius:12px!important;}
  .portal-record-card__media img{object-fit:cover!important;}
  .portal-record-card__placeholder{font-size:36px!important;}
  .portal-record-card__name{font-size:13px!important;line-height:1.35!important;min-height:35px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-record-card__price{font-size:16px!important;line-height:1.1!important;}
  .portal-filter-board{padding:11px!important;margin:8px 0 10px!important;}
  .portal-filter-form{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
  .portal-filter-form input,.portal-filter-form select,.portal-filter-form button{min-height:40px!important;border-radius:13px!important;font-size:13px!important;}
  .portal-detail-card{padding:12px!important;gap:12px!important;}
  .portal-detail-card__left{display:grid!important;grid-template-columns:98px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;}
  .portal-detail-square-media{width:98px!important;height:98px!important;min-height:98px!important;border-radius:15px!important;}
  .portal-detail-card__title{font-size:18px!important;line-height:1.35!important;margin:0!important;}
  .portal-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
  .portal-detail-meta span{padding:7px!important;font-size:12px!important;border-radius:12px!important;}
  .portal-detail-tabs{display:flex!important;overflow-x:auto!important;gap:8px!important;padding:3px 0 8px!important;}
  .portal-detail-tabs button{flex:0 0 auto!important;border-radius:13px!important;padding:8px 13px!important;font-size:13px!important;}
  .portal-order-form{gap:10px!important;}
  .portal-order-form label span{font-size:13px!important;}
  .portal-order-form input,.portal-order-form textarea,.portal-order-form select{min-height:42px!important;border-radius:12px!important;font-size:14px!important;}
  .portal-order-form textarea{min-height:108px!important;}
  .portal-order-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
  .portal-order-actions .btn{width:100%!important;min-height:44px!important;}
  .portal-batch-editor{overflow-x:auto!important;}
  .portal-batch-table{min-width:680px!important;}
  .portal-footer{display:none!important;}
}
@media (max-width:370px){
  .portal-record-grid,.portal-record-grid--products,.portal-record-grid--wide-products,.portal-product-grid,.portal-product-grid--wide{gap:8px!important;}
  .portal-record-card{padding:7px!important;}
  .portal-record-card__name{font-size:12px!important;min-height:33px!important;}
  .portal-record-card__price{font-size:15px!important;}
}

/* storefront clean reset historical layer; v3.29.65 final cleanup overrides are appended below. */
.portal-shell--recording{
  --v32964-bg:#f5f6f3;
  --v32964-surface:#fffefa;
  --v32964-surface-soft:#f8faf7;
  --v32964-line:#e3e8e2;
  --v32964-text:#202a31;
  --v32964-muted:#667581;
  --v32964-brand-light:#6aa7ff;
  --v32964-brand:#2f75ff;
  --v32964-brand-dark:#16956f;
  --v32964-brand-soft:#edf8f3;
  --v32964-warm:#fff4d8;
  color:var(--v32964-text)!important;
  background:var(--v32964-bg)!important;
}
.portal-shell--recording .portal-main,
.portal-shell--recording .portal-main__inner{background:transparent!important;}
.portal-shell--recording input:not([type="checkbox"]):not([type="radio"]),
.portal-shell--recording select,
.portal-shell--recording textarea,
.portal-order-form textarea,
.portal-order-form select,
.portal-batch-table textarea,
.portal-batch-table select,
.portal-orders-date-pair input,
.portal-date-range__inputs input,
.portal-history-filterbar input[pattern*="d{4}"],
.portal-main input[data-lite-date]{
  background:var(--v32964-surface)!important;
  border:1px solid var(--v32964-line)!important;
  color:var(--v32964-text)!important;
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
  border-radius:10px!important;
}
.portal-shell--recording input:focus,
.portal-shell--recording select:focus,
.portal-shell--recording textarea:focus,
.portal-order-form textarea:focus,
.portal-order-form select:focus,
.portal-batch-table textarea:focus,
.portal-batch-table select:focus,
.portal-orders-date-pair input:focus,
.portal-date-range__inputs input:focus{
  outline:none!important;
  border-color:rgba(47,117,255,.55)!important;
  background:#fffefa!important;
  box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;
}
.portal-shell--recording .btn.primary,
.portal-shell--recording .portal-hero-cta,
.portal-shell--recording .portal-order-btn--primary,
.portal-shell--recording .portal-pay-modal__submit,
.portal-shell--recording .portal-date-range__quick button[data-date-apply],
.portal-shell--recording .portal-batch-editor__actions .btn.primary,
.portal-shell--recording .portal-order-actions .btn.primary,
.portal-shell--recording .portal-orders-query-actions button{
  background:linear-gradient(90deg,var(--v32964-brand-light),var(--v32964-brand))!important;
  color:#ffffff!important;
  border:0!important;
  box-shadow:0 8px 18px rgba(47,117,255,.16)!important;
  text-shadow:none!important;
}
.portal-shell--recording .btn.primary:hover,
.portal-shell--recording .portal-order-btn--primary:hover,
.portal-shell--recording .portal-hero-cta:hover{filter:saturate(1.02) brightness(1.01)!important;}
.portal-shell--recording .btn,
.portal-shell--recording .portal-copy-link,
.portal-shell--recording .portal-order-btn{
  border-radius:10px!important;
}
.portal-hero-banner,
.portal-banner-card,
.portal-hero-banner--polished{
  background:
    radial-gradient(circle at 18% 16%,rgba(255,244,216,.78),transparent 34%),
    radial-gradient(circle at 78% 18%,rgba(219,239,250,.86),transparent 38%),
    linear-gradient(125deg,#f7fbff 0%,#eef5ff 50%,#dbeaff 100%)!important;
  border:1px solid rgba(217,228,220,.82)!important;
  box-shadow:0 16px 40px rgba(31,47,55,.08)!important;
  color:#21313a!important;
  overflow:hidden!important;
}
.portal-hero-banner::before,
.portal-hero-banner::after,
.portal-banner-card::before,
.portal-detail-square-media::before{
  background:linear-gradient(112deg,rgba(255,244,216,.34),rgba(233,246,239,.18) 55%,rgba(210,234,246,.16))!important;
  opacity:.9!important;
  filter:none!important;
}
.portal-hero-banner__eyebrow,
.portal-hero-banner__sub,
.portal-hero-banner__desc,
.portal-hero-features span{color:#586f68!important;text-shadow:none!important;}
.portal-hero-banner__title{color:#203038!important;text-shadow:none!important;letter-spacing:.04em!important;}
.portal-record-card__placeholder,
.portal-record-card__placeholder--large,
.portal-detail-square-media,
.portal-record-card__media{
  background:
    radial-gradient(circle at 25% 20%,rgba(255,244,216,.52),transparent 38%),
    linear-gradient(135deg,#eef5ff 0%,#dbeaff 55%,#dbeaff 100%)!important;
  color:#1d5fd7!important;
  box-shadow:none!important;
}
.portal-record-card,
.portal-card,
.portal-detail-shell__media-card,
.portal-detail-shell__order-card,
.portal-product-block,
.portal-filter-board,
.portal-user-panel,
.member-panel,
.portal-orders-reference-page .portal-card,
.portal-order-reference-block{
  background:var(--v32964-surface)!important;
  border:1px solid var(--v32964-line)!important;
  box-shadow:0 12px 28px rgba(31,47,55,.06)!important;
}
.portal-record-card__name,
.portal-detail-shell__summary h1,
.portal-card__title,
.portal-product-block__head h2{color:var(--v32964-text)!important;}
.portal-record-card__price,
.portal-detail-price-band strong{color:#1d5fd7!important;}
.portal-filter-chip.is-active,
.portal-order-tabs--recording a.active,
.portal-orders-reference-tabs a.active,
.portal-mobile-tabbar--market a.active{
  background:var(--v32964-brand-soft)!important;
  color:#1d5fd7!important;
  border-color:rgba(47,117,255,.20)!important;
}
.portal-copy-link,
.portal-history-param__copy,
.portal-order-sheet__param-actions .portal-copy-link,
.portal-copy-link--compact{
  background:#f4f8f5!important;
  color:#25745f!important;
  border:1px solid #d9e8df!important;
  box-shadow:none!important;
  font-weight:800!important;
}
.portal-copy-link:hover,
.portal-copy-link--compact:hover{background:#edf8f3!important;color:#1d5fd7!important;}

/* Order detail timeline: separate text hierarchy from vertical line. */
.portal-order-reference-titlebar{align-items:center!important;gap:12px!important;flex-wrap:wrap!important;}
.portal-order-reference-titlebar>div{background:#f8faf7!important;border:1px solid #e5ebe5!important;border-radius:10px!important;padding:8px 10px!important;line-height:1.4!important;}
.portal-order-reference-titlebar span{color:#728078!important;font-weight:800!important;}
.portal-order-reference-titlebar strong{color:#202a31!important;font-weight:900!important;}
.portal-order-reference-table--summary{grid-template-columns:1.15fr 1fr 1fr 1fr 1.15fr 1.15fr!important;}
.portal-order-reference-timeline{display:grid!important;gap:0!important;padding:4px 0!important;}
.portal-order-reference-log{position:relative!important;display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;gap:10px!important;align-items:flex-start!important;padding:12px 0!important;border:0!important;background:transparent!important;}
.portal-order-reference-log::before{content:"";position:absolute;left:10px;top:0;bottom:0;width:1px;background:#e2e8e4;}
.portal-order-reference-log:first-child::before{top:18px;}
.portal-order-reference-log:last-child::before{bottom:calc(100% - 18px);}
.portal-order-reference-log__dot{position:relative;z-index:1;width:9px;height:9px;margin:5px 0 0 6px;border-radius:50%;background:linear-gradient(90deg,#7adcc1,#31b98d);box-shadow:0 0 0 4px #edf8f3;}
.portal-order-reference-log__body{display:grid!important;gap:4px!important;align-self:start!important;}
.portal-order-reference-log__body strong{font-size:14px!important;color:#202a31!important;font-weight:900!important;line-height:1.35!important;}
.portal-order-reference-log__body small{display:block!important;color:#6d7a75!important;font-size:12px!important;line-height:1.55!important;margin:0!important;}
.portal-order-reference-log time{font-size:12px!important;color:#8a9691!important;white-space:nowrap!important;line-height:1.45!important;padding-top:2px!important;}

/* My orders parameter layout matching reference: label + value row, copy beside value, no open-link action. */
.portal-order-sheet__params{display:grid!important;gap:8px!important;}
.portal-order-sheet__param-line--reference,
.portal-order-sheet__param-line{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:4px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
  background:#f8faf7!important;
  border:1px solid #e5ebe5!important;
  text-align:left!important;
}
.portal-order-sheet__param-label{font-size:12px!important;font-weight:900!important;color:#5f6f68!important;line-height:1.35!important;}
.portal-order-sheet__param-value{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;}
.portal-order-sheet__param-text{flex:1 1 auto!important;min-width:0!important;color:#202a31!important;font-size:13px!important;font-weight:760!important;line-height:1.45!important;word-break:break-all!important;}
.portal-copy-link--compact{flex:0 0 auto!important;padding:5px 9px!important;font-size:12px!important;border-radius:8px!important;}
.portal-param-open-link{display:none!important;visibility:hidden!important;width:0!important;height:0!important;padding:0!important;margin:0!important;border:0!important;}

/* Admin/site center icon color cleanup. */
.app-shell .mini-btn.primary,
.app-shell .btn.primary,
.app-shell .query-actions button,
.app-shell .table-actions .mini-btn.primary{background:linear-gradient(90deg,#5da7f0,#2f75d9)!important;color:#fff!important;border-color:transparent!important;}
.app-shell .shortcut-icon,
.app-shell .nav-icon,
.app-shell .badge{color:#1f2937!important;background:#eef4ff!important;border-color:#d9e6ff!important;}
.app-shell .badge.soft{background:#f6f8fb!important;color:#667085!important;}

@media (max-width:760px){
  .portal-shell--recording{background:#f5f6f3!important;}
  .portal-main{padding:8px 0 calc(82px + env(safe-area-inset-bottom))!important;}
  .portal-main__inner,.portal-recording-width{padding-left:9px!important;padding-right:9px!important;}
  .member-recording-shell{display:block!important;margin:0!important;}
  .member-recording-shell .member-panel,
  .member-recording-shell .member-nav,
  .member-recording-shell .member-panel__nav,
  .member-recording-shell aside{display:none!important;}
  .member-recording-main{width:100%!important;min-width:0!important;}
  .portal-orders-reference-page{display:grid!important;gap:8px!important;}
  .portal-orders-reference-tabs{position:sticky!important;top:58px!important;z-index:30!important;background:rgba(255,254,250,.95)!important;backdrop-filter:blur(12px);border-radius:13px!important;padding:5px!important;margin:0!important;box-shadow:0 8px 18px rgba(31,47,55,.06)!important;}
  .portal-orders-reference-tabs a{min-height:34px!important;padding:7px 10px!important;font-size:13px!important;border-radius:10px!important;}
  .portal-card--orders-query{padding:8px!important;border-radius:13px!important;}
  .portal-orders-query-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;}
  .portal-orders-query-grid label{gap:3px!important;min-width:0!important;}
  .portal-orders-query-grid label span{font-size:11px!important;color:#6d7a75!important;}
  .portal-orders-query-grid input,
  .portal-orders-query-grid select{height:34px!important;min-height:34px!important;font-size:12px!important;border-radius:9px!important;padding:6px 8px!important;}
  .portal-orders-query-grid label:nth-of-type(4),
  .portal-orders-query-grid label:nth-of-type(6){grid-column:1 / -1!important;}
  .portal-orders-date-pair{gap:5px!important;}
  .portal-orders-query-actions{grid-column:1 / -1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:2px 0 0!important;}
  .portal-orders-query-actions .btn,
  .portal-orders-query-actions button{min-height:36px!important;border-radius:10px!important;font-size:13px!important;}
  .portal-card--orders-list-frame{padding:8px!important;border-radius:13px!important;}
  .portal-order-tabs--recording{display:flex!important;gap:6px!important;overflow-x:auto!important;padding:0 0 6px!important;margin:0!important;scrollbar-width:none;}
  .portal-order-tabs--recording a{flex:0 0 auto!important;min-height:32px!important;padding:7px 10px!important;font-size:12px!important;border-radius:10px!important;}
  .portal-order-card-list{display:grid!important;gap:8px!important;}
  .portal-order-sheet{border-radius:13px!important;padding:9px!important;margin:0!important;box-shadow:0 8px 18px rgba(31,47,55,.06)!important;}
  .portal-order-sheet__meta{display:grid!important;grid-template-columns:1fr auto!important;gap:4px 8px!important;align-items:center!important;margin-bottom:7px!important;}
  .portal-order-sheet__meta span{font-size:11px!important;line-height:1.35!important;color:#68756f!important;}
  .portal-order-sheet__meta strong{grid-column:2!important;grid-row:1 / span 2!important;align-self:start!important;font-size:12px!important;padding:5px 8px!important;border-radius:9px!important;}
  .portal-order-sheet__body{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:start!important;}
  .portal-order-sheet__product{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:8px!important;grid-column:1 / -1!important;align-items:start!important;}
  .portal-order-sheet__cover,
  .portal-order-sheet__thumb{width:58px!important;height:58px!important;border-radius:10px!important;font-size:22px!important;}
  .portal-order-sheet__name{font-size:13px!important;line-height:1.35!important;margin:0 0 5px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-order-sheet__param-line{padding:6px 8px!important;gap:3px!important;}
  .portal-order-sheet__param-label{font-size:11px!important;}
  .portal-order-sheet__param-text{font-size:12px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-copy-link--compact{padding:4px 7px!important;font-size:11px!important;}
  .portal-order-sheet__quantity{font-size:12px!important;margin-top:4px!important;}
  .portal-order-sheet__price{grid-column:1!important;font-size:15px!important;font-weight:950!important;color:#1d5fd7!important;align-self:center!important;}
  .portal-order-sheet__progress{grid-column:1 / -1!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;background:#f8faf7!important;border:1px solid #e5ebe5!important;border-radius:10px!important;padding:6px!important;}
  .portal-order-sheet__progress div{font-size:11px!important;line-height:1.3!important;color:#64746c!important;}
  .portal-order-sheet__actions{grid-column:1 / -1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:0!important;}
  .portal-order-sheet__actions .portal-refund-form{display:contents!important;}
  .portal-order-btn{min-height:34px!important;padding:7px 8px!important;font-size:12px!important;border-radius:10px!important;text-align:center!important;}
  .portal-order-reference-detail{display:grid!important;gap:8px!important;}
  .portal-order-reference-titlebar{gap:6px!important;}
  .portal-order-reference-titlebar>div{padding:7px 8px!important;font-size:12px!important;}
  .portal-order-reference-table--summary,
  .portal-order-reference-table--product{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;overflow:hidden!important;border-radius:12px!important;}
  .portal-order-reference-table--summary .head,
  .portal-order-reference-table--product .head{font-size:11px!important;}
  .portal-order-reference-table--summary>div,
  .portal-order-reference-table--product>div{padding:7px!important;font-size:12px!important;}
  .portal-order-reference-log{grid-template-columns:20px minmax(0,1fr)!important;gap:8px!important;padding:10px 0!important;}
  .portal-order-reference-log time{grid-column:2!important;font-size:11px!important;padding-top:0!important;}
  .portal-order-reference-log__body strong{font-size:13px!important;}
  .portal-order-reference-log__body small{font-size:11px!important;}
  .portal-profile-grid,.member-dashboard,.member-grid,.member-stats,.portal-user-tool-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .portal-profile-card,.member-card,.member-stat-card,.portal-user-tool{padding:10px!important;border-radius:13px!important;min-height:0!important;}
  .portal-page-head,.member-page-head{padding:10px 12px!important;border-radius:14px!important;margin-bottom:8px!important;}
  .portal-page-head h1,.member-page-head h1{font-size:18px!important;margin:0!important;}
  .portal-page-head p,.member-page-head p,.page-desc{font-size:12px!important;line-height:1.45!important;margin:4px 0 0!important;}
  .portal-mobile-tabbar--market{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:100;padding:6px 10px calc(6px + env(safe-area-inset-bottom));background:rgba(255,254,250,.98);border-top:1px solid #e4e9e3;box-shadow:0 -8px 24px rgba(31,47,55,.10);}
  .portal-mobile-tabbar--market a{min-height:48px!important;border-radius:12px!important;}
}

@media (max-width:390px){
  .portal-orders-query-grid{grid-template-columns:1fr!important;}
  .portal-orders-query-grid label:nth-of-type(4),
  .portal-orders-query-grid label:nth-of-type(6){grid-column:auto!important;}
  .portal-order-sheet__actions{grid-template-columns:1fr 1fr!important;}
  .portal-order-sheet__progress{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* === v3.29.65 final storefront/admin visual cleanup === */
:root{
  --v32965-green:#2f75ff;
  --v32965-green-2:#16be76;
  --v32965-green-soft:#eef5ff;
  --v32965-ink:#1f2a32;
  --v32965-muted:#6f7b85;
  --v32965-bg:#f5f7f4;
  --v32965-panel:#fffefa;
  --v32965-panel-2:#fbfcf8;
  --v32965-line:#e5ebe5;
  --v32965-shadow:0 12px 30px rgba(31,42,50,.06);
  --v32965-radius:14px;
}

.portal-shell--recording,
.portal-shell--member{
  background:#f5f7f4!important;
  color:var(--v32965-ink)!important;
}
.portal-shell--recording .portal-main,
.portal-shell--member .portal-main{background:transparent!important;}
.portal-shell--recording .portal-main__inner{background:transparent!important;}
.portal-tree-sidebar,.portal-user-panel,.portal-hero-banner,.portal-banner-card,.portal-inline-notice,.portal-product-block,.portal-filter-board,.portal-card,.portal-detail-shell,.portal-detail-shell__media-card,.portal-detail-shell__order-card,.member-panel,.member-card,.member-stat-card,.portal-order-sheet,.portal-order-reference-block,.portal-success-modal__card,.portal-pay-modal__card{
  background:var(--v32965-panel)!important;
  border:1px solid var(--v32965-line)!important;
  border-radius:var(--v32965-radius)!important;
  box-shadow:var(--v32965-shadow)!important;
}
.portal-hero-banner,.portal-banner-card{
  background:linear-gradient(135deg,#fffefa 0%,#f1f8f2 42%,#eaf5ef 100%)!important;
  color:var(--v32965-ink)!important;
  overflow:hidden!important;
}
.portal-hero-banner::before,.portal-hero-banner::after,.portal-banner-card::before,.portal-banner-card::after{
  opacity:.18!important;
  filter:none!important;
}
.portal-hero-banner h1,.portal-banner-card h1,.portal-page-head h1,.member-page-head h1{color:var(--v32965-ink)!important;letter-spacing:-.02em!important;}
.portal-hero-banner p,.portal-banner-card p,.portal-page-head p,.member-page-head p{color:#63727b!important;}
.portal-hero-banner span,.portal-banner-card span{color:#50626c!important;}

.portal-shell--recording input:not([type="checkbox"]):not([type="radio"]),
.portal-shell--recording textarea,
.portal-shell--recording select,
.portal-shell--member input:not([type="checkbox"]):not([type="radio"]),
.portal-shell--member textarea,
.portal-shell--member select{
  background:var(--v32965-panel-2)!important;
  border:1px solid #dfe7df!important;
  color:var(--v32965-ink)!important;
  box-shadow:none!important;
}
.portal-shell--recording input:focus,
.portal-shell--recording textarea:focus,
.portal-shell--recording select:focus,
.portal-shell--member input:focus,
.portal-shell--member textarea:focus,
.portal-shell--member select:focus{
  border-color:rgba(47,117,255,.50)!important;
  box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;
  outline:0!important;
}
.portal-shell--recording input::placeholder,
.portal-shell--recording textarea::placeholder,
.portal-shell--member input::placeholder,
.portal-shell--member textarea::placeholder{color:#a3adb3!important;}

.portal-shell--recording .btn.primary,
.portal-shell--recording button.btn.primary,
.member-recording-shell .btn.primary,
.portal-pay-modal__submit,
.portal-success-modal__actions .btn.primary,
.portal-order-form .btn.primary,
.portal-filter-chip.is-active,
.portal-detail-tabs button.active,
.portal-repeat-order-btn,
.portal-order-btn--brand{
  background:linear-gradient(90deg,#19c27a 0%,#2f75ff 100%)!important;
  border-color:transparent!important;
  color:#fff!important;
  text-shadow:none!important;
  box-shadow:0 8px 18px rgba(47,117,255,.15)!important;
  filter:none!important;
}
.portal-shell--recording .btn.primary::before,
.portal-shell--recording .btn.primary::after,
.member-recording-shell .btn.primary::before,
.member-recording-shell .btn.primary::after,
.portal-order-btn--brand::before,
.portal-order-btn--brand::after,
.portal-repeat-order-btn::before,
.portal-repeat-order-btn::after{
  display:none!important;
}
.portal-shell--recording .btn.primary:hover,
.member-recording-shell .btn.primary:hover,
.portal-pay-modal__submit:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(47,117,255,.18)!important;}
.portal-shell--recording .btn,
.member-recording-shell .btn,
.portal-order-btn{
  border-radius:12px!important;
  font-weight:800!important;
}
.portal-copy-link{
  color:#008e52!important;
  background:#f0f8f3!important;
  border:1px solid #d9e7ff!important;
  border-radius:9px!important;
  box-shadow:none!important;
}

.portal-record-card__placeholder,.portal-detail-square-media,.portal-order-card__thumb,.portal-cart-row__media,.portal-favorite-row__media{
  background:linear-gradient(135deg,#f9fbf5 0%,#eef5ff 100%)!important;
  color:#00a15c!important;
  border:1px solid #e1ece4!important;
  box-shadow:none!important;
}
.portal-record-card,.portal-order-card,.portal-cart-row,.portal-favorite-row{
  border-radius:14px!important;
  box-shadow:0 8px 22px rgba(31,42,50,.05)!important;
  border-color:#e5ebe5!important;
}
.portal-record-card__media img,.portal-detail-square-media img,.portal-order-card__thumb img{filter:none!important;}
.portal-flat-icon,
.portal-shortcut-grid a > span,
.portal-mobile-tabbar span,
.portal-inline-notice > span,
.portal-user-tool__icon{
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  height:36px!important;
  border-radius:12px!important;
  background:#edf8f2!important;
  border:1px solid #d8eadf!important;
  color:#00a15c!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Microsoft YaHei",sans-serif!important;
}
.portal-mobile-tabbar span{width:24px!important;height:24px!important;border-radius:8px!important;font-size:13px!important;background:transparent!important;border:0!important;}
.portal-shortcut-grid a{background:#fffefa!important;border:1px solid #e5ebe5!important;border-radius:14px!important;box-shadow:none!important;}
.portal-shortcut-grid a:hover{border-color:#cae7d4!important;background:#f6fbf7!important;}

.portal-pay-modal__backdrop{background:rgba(24,34,42,.45)!important;backdrop-filter:blur(5px)!important;}
.portal-pay-modal__card{width:min(520px,calc(100vw - 28px))!important;padding:28px 30px 24px!important;text-align:center!important;}
.portal-pay-modal__title{color:var(--v32965-ink)!important;font-size:22px!important;font-weight:900!important;margin-bottom:10px!important;}
.portal-pay-modal__amount{font-size:44px!important;margin-bottom:18px!important;color:#121c22!important;letter-spacing:-.04em!important;}
.portal-pay-modal__method{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px!important;
  margin:0 0 16px!important;
  background:#f7faf6!important;
  border:1px solid #e3eae2!important;
  border-radius:14px!important;
  box-shadow:none!important;
  text-align:left!important;
}
.portal-pay-modal__icon,.portal-pay-modal__method em{background:#2f75ff!important;color:#fff!important;box-shadow:none!important;}
.portal-pay-modal__method-copy{display:grid!important;gap:3px!important;min-width:0!important;}
.portal-pay-modal__method strong{font-size:16px!important;color:#17222a!important;margin:0!important;}
.portal-pay-modal__method span{font-size:13px!important;line-height:1.5!important;color:#71808a!important;}
.portal-pay-modal__balance{display:block!important;color:#4d5f68!important;font-weight:700!important;}
.portal-pay-modal__submit:disabled{opacity:.72!important;cursor:wait!important;}

.portal-shell--auth{
  min-height:100vh!important;
  background:linear-gradient(180deg,#f5f7f4 0%,#edf5ef 100%)!important;
}
.portal-shell--auth .portal-main{min-height:calc(100vh - 96px)!important;display:grid!important;align-items:center!important;background:transparent!important;}
.portal-shell--auth .portal-main__inner{width:100%!important;max-width:none!important;padding:0!important;background:transparent!important;}
.portal-auth-recording--single{
  min-height:calc(100vh - 110px)!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  width:100%!important;
  padding:clamp(44px,8vh,88px) 18px!important;
  background:
    radial-gradient(circle at 18% 18%,rgba(47,117,255,.11),transparent 30%),
    radial-gradient(circle at 82% 24%,rgba(47,117,255,.08),transparent 28%),
    linear-gradient(180deg,#f7faf6 0%,#edf5ef 100%)!important;
}
.portal-auth-recording--single .portal-auth-recording__card--centered{
  width:min(430px,100%)!important;
  padding:28px!important;
  background:#fffefa!important;
  border:1px solid #e1e9e1!important;
  border-radius:18px!important;
  box-shadow:0 18px 44px rgba(31,42,50,.10)!important;
}
.portal-auth-recording--single .portal-auth-tabs{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(90px,1fr))!important;gap:8px!important;margin-bottom:18px!important;}
.portal-auth-recording--single .portal-auth-tabs a{border-radius:12px!important;background:#f4f7f3!important;border:1px solid #e4eae3!important;color:#5f6d66!important;text-align:center!important;padding:10px!important;text-decoration:none!important;}
.portal-auth-recording--single .portal-auth-tabs a.active{background:#eef5ff!important;color:#1d5fd7!important;border-color:#cfe0ff!important;}
.portal-auth-recording--single .portal-auth-form{gap:14px!important;}
.portal-auth-recording--single .portal-auth-form .btn.primary{height:46px!important;border-radius:12px!important;}

.portal-order-reference-titlebar--clean{
  display:grid!important;
  grid-template-columns:auto minmax(220px,1fr) minmax(160px,.65fr) minmax(130px,.45fr)!important;
  gap:10px!important;
  align-items:stretch!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.portal-order-reference-titlebar--clean .portal-order-reference-back{align-self:center!important;width:36px!important;height:36px!important;border-radius:12px!important;box-shadow:none!important;background:#fffefa!important;}
.portal-order-reference-titlebar--clean>div{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:center!important;
  padding:12px 14px!important;
  background:#fffefa!important;
  border:1px solid #e5ebe5!important;
  border-radius:14px!important;
  line-height:1.35!important;
}
.portal-order-reference-titlebar--clean span,.portal-order-reference-kv span{font-size:12px!important;font-weight:800!important;color:#77847d!important;white-space:nowrap!important;}
.portal-order-reference-titlebar--clean strong,.portal-order-reference-kv strong{font-size:14px!important;font-weight:900!important;color:#1f2a32!important;min-width:0!important;word-break:break-all!important;}
.portal-order-reference-kvgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;}
.portal-order-reference-kv{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;min-height:52px!important;padding:12px 16px!important;border-right:1px solid #e9eee9!important;border-bottom:1px solid #e9eee9!important;background:#fffefa!important;}
.portal-order-reference-kv:nth-child(3n){border-right:0!important;}
.portal-order-reference-kv:nth-last-child(-n+3){border-bottom:0!important;}
.portal-order-reference-kv .portal-order-status{justify-self:start!important;margin:0!important;white-space:nowrap!important;}
.portal-order-reference-product-panel{display:grid!important;grid-template-columns:minmax(260px,1.1fr) minmax(260px,1.2fr) minmax(120px,.35fr)!important;gap:0!important;align-items:stretch!important;}
.portal-order-reference-product-card{display:flex!important;gap:12px!important;align-items:center!important;padding:16px!important;border-right:1px solid #e9eee9!important;min-width:0!important;}
.portal-order-reference-product-card img,.portal-order-reference-product-card>span{width:68px!important;height:68px!important;border-radius:12px!important;object-fit:cover!important;background:#edf8f2!important;color:#00a15c!important;display:grid!important;place-items:center!important;font-weight:900!important;box-shadow:none!important;}
.portal-order-reference-product-card em{display:block!important;font-style:normal!important;font-size:12px!important;font-weight:800!important;color:#7a8780!important;margin-bottom:4px!important;}
.portal-order-reference-product-card strong{display:block!important;font-size:15px!important;line-height:1.45!important;color:#1f2a32!important;word-break:break-word!important;}
.portal-order-reference-product-metas{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;border-right:1px solid #e9eee9!important;}
.portal-order-reference-product-metas>div{display:grid!important;gap:6px!important;align-content:center!important;padding:14px 12px!important;border-right:1px solid #e9eee9!important;min-width:0!important;}
.portal-order-reference-product-metas>div:last-child{border-right:0!important;}
.portal-order-reference-product-metas span{font-size:12px!important;font-weight:800!important;color:#77847d!important;}
.portal-order-reference-product-metas strong{font-size:14px!important;font-weight:900!important;color:#1f2a32!important;word-break:break-all!important;}
.portal-order-reference-actions--clean{display:grid!important;gap:9px!important;align-content:center!important;padding:14px!important;}
.portal-order-reference-actions--clean .btn,.portal-order-reference-actions--clean .portal-order-btn{min-height:38px!important;border-radius:12px!important;padding:8px 12px!important;}
.portal-order-reference-section-title{background:#f7faf6!important;color:#1f2a32!important;border-bottom:1px solid #e5ebe5!important;font-size:14px!important;font-weight:900!important;padding:13px 16px!important;}
.portal-order-reference-inputs--clean{display:grid!important;}
.portal-order-reference-input-row{display:grid!important;grid-template-columns:110px minmax(0,1fr) auto!important;gap:12px!important;align-items:start!important;padding:12px 16px!important;border-top:1px solid #e9eee9!important;background:#fffefa!important;min-height:48px!important;}
.portal-order-reference-input-row:first-child{border-top:0!important;}
.portal-order-reference-input-row span{font-size:13px!important;font-weight:850!important;color:#74817a!important;padding-top:4px!important;}
.portal-order-reference-input-row strong{font-size:14px!important;line-height:1.55!important;color:#233039!important;font-weight:750!important;word-break:break-all!important;overflow-wrap:anywhere!important;}
.portal-order-reference-input-row .portal-copy-link{align-self:start!important;white-space:nowrap!important;margin:0!important;}
.portal-order-reference-progress--clean{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;padding:0!important;background:#fffefa!important;}
.portal-order-reference-progress--clean>div{display:grid!important;gap:6px!important;padding:14px 16px!important;border-right:1px solid #e9eee9!important;border-bottom:1px solid #e9eee9!important;background:#fffefa!important;}
.portal-order-reference-progress--clean>div:nth-child(4n){border-right:0!important;}
.portal-order-reference-progress--clean span{font-size:12px!important;font-weight:800!important;color:#77847d!important;}
.portal-order-reference-progress--clean strong{font-size:16px!important;font-weight:900!important;color:#00a15c!important;}
.portal-order-reference-timeline--clean{display:grid!important;padding:6px 16px 14px!important;background:#fffefa!important;}
.portal-order-reference-timeline--clean .portal-order-reference-log{position:relative!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:10px!important;padding:12px 0!important;border:0!important;background:transparent!important;align-items:flex-start!important;min-height:0!important;}
.portal-order-reference-timeline--clean .portal-order-reference-log::before{content:""!important;position:absolute!important;left:10px!important;top:0!important;bottom:0!important;width:1px!important;background:#dde8e1!important;}
.portal-order-reference-timeline--clean .portal-order-reference-log:first-child::before{top:20px!important;}
.portal-order-reference-timeline--clean .portal-order-reference-log:last-child::before{bottom:calc(100% - 20px)!important;}
.portal-order-reference-log__dot{position:relative!important;z-index:1!important;width:9px!important;height:9px!important;border-radius:50%!important;background:#2f75ff!important;margin:5px 0 0 6px!important;box-shadow:0 0 0 4px #edf8f2!important;}
.portal-order-reference-log__body{display:grid!important;gap:5px!important;min-width:0!important;align-self:start!important;}
.portal-order-reference-log__head{display:flex!important;gap:10px!important;align-items:baseline!important;justify-content:space-between!important;min-width:0!important;}
.portal-order-reference-log__head strong{font-size:14px!important;font-weight:900!important;color:#1f2a32!important;line-height:1.35!important;}
.portal-order-reference-log__head time{font-size:12px!important;color:#8b9690!important;white-space:nowrap!important;line-height:1.35!important;padding:0!important;}
.portal-order-reference-log__body small{font-size:12px!important;line-height:1.55!important;color:#66756d!important;margin:0!important;word-break:break-word!important;}

.app-shell .btn.primary,
.app-shell button.btn.primary,
.app-shell .mini-btn.primary,
.app-shell .query-actions button,
.app-shell .table-actions .mini-btn.primary,
.app-shell a[href$="/create"].btn,
.admin-shell .btn.primary{
  background:#2f6fd6!important;
  border-color:#2f6fd6!important;
  color:#fff!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.app-shell .btn.primary::before,.app-shell .btn.primary::after,.app-shell .mini-btn.primary::before,.app-shell .mini-btn.primary::after{display:none!important;}
.app-shell .btn.primary:hover,.app-shell .mini-btn.primary:hover{background:#245fc1!important;border-color:#245fc1!important;color:#fff!important;}
.app-shell .page-note{background:#f3f7ff!important;border-color:#cbdcff!important;color:#365173!important;border-radius:12px!important;}

@media (max-width:900px){
  .portal-order-reference-titlebar--clean{grid-template-columns:1fr!important;}
  .portal-order-reference-titlebar--clean .portal-order-reference-back{justify-self:start!important;}
  .portal-order-reference-kvgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .portal-order-reference-kv:nth-child(3n){border-right:1px solid #e9eee9!important;}
  .portal-order-reference-kv:nth-child(2n){border-right:0!important;}
  .portal-order-reference-kv:nth-last-child(-n+3){border-bottom:1px solid #e9eee9!important;}
  .portal-order-reference-kv:nth-last-child(-n+2){border-bottom:0!important;}
  .portal-order-reference-product-panel{grid-template-columns:1fr!important;}
  .portal-order-reference-product-card,.portal-order-reference-product-metas{border-right:0!important;border-bottom:1px solid #e9eee9!important;}
}
@media (max-width:640px){
  .portal-auth-recording--single{min-height:calc(100vh - 76px)!important;padding:26px 14px 92px!important;}
  .portal-auth-recording--single .portal-auth-recording__card--centered{padding:22px 18px!important;border-radius:16px!important;}
  .portal-pay-modal__card{padding:24px 18px 20px!important;border-radius:16px!important;}
  .portal-pay-modal__amount{font-size:38px!important;}
  .portal-pay-modal__method{gap:10px!important;align-items:flex-start!important;}
  .portal-pay-modal__icon{width:38px!important;height:38px!important;font-size:20px!important;}
  .portal-order-reference-kvgrid{grid-template-columns:1fr!important;}
  .portal-order-reference-kv,.portal-order-reference-kv:nth-child(n){grid-template-columns:76px minmax(0,1fr)!important;border-right:0!important;border-bottom:1px solid #e9eee9!important;padding:10px 12px!important;min-height:44px!important;}
  .portal-order-reference-kv:last-child{border-bottom:0!important;}
  .portal-order-reference-product-metas{grid-template-columns:1fr 1fr!important;}
  .portal-order-reference-product-metas>div:nth-child(3){grid-column:1/-1!important;border-top:1px solid #e9eee9!important;}
  .portal-order-reference-input-row{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px 12px!important;}
  .portal-order-reference-input-row span{grid-column:1/-1!important;padding:0!important;font-size:12px!important;}
  .portal-order-reference-progress--clean{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .portal-order-reference-progress--clean>div:nth-child(2n){border-right:0!important;}
  .portal-order-reference-log__head{display:grid!important;gap:4px!important;justify-content:start!important;}
  .portal-order-reference-log__head time{font-size:11px!important;}
  .portal-shortcut-grid.portal-shortcut-grid--member{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .portal-shortcut-grid.portal-shortcut-grid--member a{min-height:64px!important;padding:10px!important;}
}

/* === v3.29.69 storefront cleanup: neutral surfaces, true auto link recognition, compact accents === */
:root{
  --v32967-accent:#2f75ff;
  --v32967-accent-2:#6aa7ff;
  --v32967-accent-dark:#1d5fd7;
  --v32967-soft:#f7fbff;
  --v32967-surface:#fffefb;
  --v32967-field:#fbfbf7;
  --v32967-line:#e6e9e4;
  --v32967-text:#1f2b32;
  --v32967-muted:#66747a;
  --v32967-price:#e55d45;
}

/* Login page: use one full-screen canvas; the storefront header is not part of the login experience. */
.portal-shell--auth{
  min-height:100vh!important;
  background:linear-gradient(180deg,#f6f8fb 0%,#eef4ef 100%)!important;
}
.portal-shell--auth .portal-header,
.portal-shell--auth .portal-notice-bar,
.portal-shell--auth .portal-footer{display:none!important;}
.portal-shell--auth .portal-main{
  min-height:100vh!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  background:linear-gradient(180deg,#f6f8fb 0%,#eef4ef 100%)!important;
}
.portal-shell--auth .portal-main__inner{width:100%!important;max-width:none!important;padding:0!important;}
.portal-auth-recording--single{
  min-height:100vh!important;
  width:100%!important;
  padding:32px 16px!important;
  background:linear-gradient(180deg,#f6f8fb 0%,#eef4ef 100%)!important;
}
.portal-auth-recording--single .portal-auth-recording__card--centered{
  background:var(--v32967-surface)!important;
  border:1px solid var(--v32967-line)!important;
  box-shadow:0 18px 48px rgba(31,42,50,.10)!important;
}
.portal-auth-recording--single .portal-auth-form input{
  background:var(--v32967-field)!important;
  border-color:#dfe5df!important;
}

/* Remove repeated right-side stat chips from ordinary storefront page heads. */
.portal-shell--recording .portal-page-head__chips,
.portal-shell--member .portal-page-head__chips{display:none!important;}
.portal-page-chip{display:none!important;}
.portal-page-head{grid-template-columns:1fr!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;}
.portal-page-head__body{max-width:760px!important;}

/* Reduce large green areas; keep panels neutral and clean. */
.portal-tree-sidebar,.portal-user-panel,.portal-hero-banner,.portal-banner-card,.portal-inline-notice,
.portal-product-block,.portal-filter-board,.portal-card,.portal-detail-shell,.portal-detail-shell__media-card,
.portal-detail-shell__order-card,.member-panel,.member-card,.member-stat-card,.portal-order-sheet,
.portal-order-reference-block,.portal-pay-modal__card,.portal-success-modal__card{
  background:var(--v32967-surface)!important;
  border:1px solid var(--v32967-line)!important;
  box-shadow:0 10px 28px rgba(31,42,50,.055)!important;
}
.portal-hero-banner,.portal-banner-card{
  background:linear-gradient(135deg,#fffefb 0%,#f7fbff 52%,#eef5ff 100%)!important;
  color:var(--v32967-text)!important;
}
.portal-hero-banner::before,.portal-hero-banner::after,.portal-banner-card::before,.portal-banner-card::after,
.portal-detail-square-media::before{opacity:.08!important;filter:none!important;}
.portal-detail-square-media,.portal-record-card__placeholder,.portal-record-card__media,.portal-order-card__thumb,
.portal-cart-row__media,.portal-favorite-row__media{
  background:linear-gradient(135deg,#fbfcf7,#eef5ff)!important;
  color:var(--v32967-accent-dark)!important;
  border:1px solid var(--v32967-line)!important;
  box-shadow:none!important;
}

/* Product detail: remove recently-added bottom frames around fields; inputs stay near-white, not colored. */
.portal-detail-shell__order-card .portal-order-form--recording label,
.portal-detail-shell__order-card .portal-order-form__meta label,
.portal-detail-shell__order-card .portal-order-form__qty--recording,
.portal-detail-panel label,
.portal-order-form--recording .portal-order-field,
.portal-order-form--recording .portal-order-input-row,
.portal-order-form--recording .portal-form-field,
.portal-order-form__line,
.portal-order-field{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  border-radius:0!important;
}
.portal-shell--recording input:not([type="checkbox"]):not([type="radio"]),
.portal-shell--recording textarea,
.portal-shell--recording select,
.portal-shell--member input:not([type="checkbox"]):not([type="radio"]),
.portal-shell--member textarea,
.portal-shell--member select,
.portal-order-form textarea,
.portal-order-form select,
.portal-batch-table textarea,
.portal-batch-table select{
  background:var(--v32967-field)!important;
  border:1px solid #dfe5df!important;
  color:var(--v32967-text)!important;
  box-shadow:none!important;
}
.portal-shell--recording input:focus,
.portal-shell--recording textarea:focus,
.portal-shell--recording select:focus,
.portal-shell--member input:focus,
.portal-shell--member textarea:focus,
.portal-shell--member select:focus{
  background:#fffefb!important;
  border-color:#b9d9c5!important;
  box-shadow:0 0 0 3px rgba(47,117,255,.08)!important;
}
.portal-detail-price-band{background:#fff8f4!important;border:1px solid #f2ded6!important;box-shadow:none!important;}
.portal-detail-price-band strong,
.portal-record-card__price,
.portal-product-card__price,
.product-price,.sf-goods-price,
.portal-order-sheet__price,
.portal-cart-item__amount,
.portal-favorite-card__price{color:var(--v32967-price)!important;}

/* Payment modal: keep balance visible, remove the inner green framed block and the extra explanatory sentence. */
.portal-pay-modal__method{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:4px 0 16px!important;
  margin:0 0 14px!important;
  box-shadow:none!important;
}
#portalPayModalNote{display:none!important;}
.portal-pay-modal__balance{display:block!important;color:#66747a!important;font-weight:700!important;}

/* My orders: no boxed background around submitted parameters. */
.portal-order-sheet__params{gap:6px!important;}
.portal-order-sheet__param-line,
.portal-order-sheet__param-line--reference,
.portal-order-sheet__param-line--empty{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:2px 0!important;
}
.portal-order-sheet__param-label{color:#68757b!important;}
.portal-order-sheet__param-text{color:var(--v32967-text)!important;font-weight:760!important;}

/* One accent system for storefront buttons/icons. Subtle same-hue gradient only. */
.portal-shell--recording .btn.primary,
.portal-shell--recording button.btn.primary,
.portal-shell--member .btn.primary,
.member-recording-shell .btn.primary,
.portal-order-form .btn.primary,
.portal-search button,
.portal-pay-modal__submit,
.portal-success-modal__actions .btn.primary,
.portal-order-btn--brand,
.portal-repeat-order-btn,
.portal-orders-query-actions button,
.portal-filter-form button,
.portal-auth-form button,
.profile-recording-form button,
.portal-hero-cta,
.portal-date-range__quick button[data-date-apply]{
  background:linear-gradient(90deg,var(--v32967-accent-2),var(--v32967-accent))!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(47,117,255,.16)!important;
  text-shadow:none!important;
  filter:none!important;
}
.portal-shell--recording .btn.primary::before,
.portal-shell--recording .btn.primary::after,
.portal-order-btn--brand::before,
.portal-order-btn--brand::after,
.portal-repeat-order-btn::before,
.portal-repeat-order-btn::after{display:none!important;}
.portal-shell--recording .btn.primary:hover,
.portal-search button:hover,
.portal-order-btn--brand:hover,
.portal-repeat-order-btn:hover{filter:saturate(1.01)!important;transform:translateY(-1px);}
.portal-flat-icon,
.portal-shortcut-grid a > span,
.portal-user-tool__icon,
.portal-mobile-tabbar span,
.portal-inline-notice > span,
.portal-notice-icon,
.member-panel__nav a::before,
.portal-search::before,
.portal-order-btn--brand .icon,
.portal-repeat-order-btn .icon{
  background:rgba(47,117,255,.10)!important;
  border:1px solid rgba(47,117,255,.18)!important;
  color:var(--v32967-accent-dark)!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.member-panel__nav a.active,
.member-panel__nav a:hover,
.portal-top-links--member a.active,
.portal-top-links--member a:hover,
.portal-filter-chip.is-active,
.portal-detail-tabs button.active,
.portal-order-tabs--recording a.active,
.portal-orders-reference-tabs a.active,
.portal-mobile-tabbar--market a.active{
  background:rgba(47,117,255,.08)!important;
  color:var(--v32967-accent-dark)!important;
  border-color:rgba(47,117,255,.16)!important;
  box-shadow:none!important;
}
.portal-copy-link,
.portal-copy-link--compact,
.portal-history-param__copy{
  background:#f8faf7!important;
  color:#2f855a!important;
  border:1px solid #dfe8df!important;
  box-shadow:none!important;
}
.portal-mobile-tabbar--market a.active span{background:rgba(47,117,255,.10)!important;border-color:rgba(47,117,255,.18)!important;}

/* Admin remains blue; remove black/green success buttons in admin tables and toolbars. */
.app-shell .btn.success,.app-shell .mini-btn.success,.app-shell .quick-chip.success,
.admin-shell .btn.success,.admin-shell .mini-btn.success,.admin-shell .quick-chip.success,
.app-shell .table-actions .mini-btn.success,
.app-shell .toolbar-actions .btn.success,
.app-shell a.btn.success{
  background:#eef4ff!important;
  border-color:#cbdcff!important;
  color:#1d4ed8!important;
  box-shadow:none!important;
}
.app-shell .btn.primary,.app-shell button.btn.primary,.app-shell .mini-btn.primary,
.app-shell .query-actions button,.app-shell .table-actions .mini-btn.primary,
.app-shell .toolbar-actions .btn.primary,
.app-shell a[href$="/create"].btn,.admin-shell .btn.primary{
  background:#2f6fd6!important;
  border-color:#2f6fd6!important;
  color:#fff!important;
  box-shadow:none!important;
}
.app-shell .btn.success::before,.app-shell .btn.success::after,.app-shell .mini-btn.success::before,.app-shell .mini-btn.success::after{display:none!important;}

@media (max-width:640px){
  .portal-shell--auth .portal-main,.portal-auth-recording--single{min-height:100vh!important;padding:20px 14px!important;}
  .portal-page-head{padding:0!important;margin-bottom:8px!important;}
  .portal-order-sheet__param-line{padding:1px 0!important;}
  .portal-pay-modal__method{padding-bottom:12px!important;}
}


/* === v3.29.69 mobile layout, unified icons and admin nav readability === */
:root{
  --v32968-accent:#2f75ff;
  --v32968-accent-2:#6aa7ff;
  --v32968-accent-dark:#1d5fd7;
  --v32968-ink:#1f2b32;
  --v32968-muted:#66747a;
  --v32968-line:#e3e8e2;
  --v32968-panel:#fffefb;
  --v32968-soft:#f6f8fb;
  --v32968-blue:#2563eb;
}

/* Admin sidebar: inactive items are readable, but selected/hover states remain blue. */
.app-shell .sidebar-nav .nav-single,
.app-shell .sidebar-nav .nav-group__summary{color:#2f3f52!important;font-weight:760!important;}
.app-shell .sidebar-nav .nav-child{color:#435466!important;font-weight:680!important;}
.app-shell .sidebar-nav .nav-group__arrow{color:#667085!important;}
.app-shell .sidebar-nav .nav-child:hover,
.app-shell .sidebar-nav .nav-single:hover,
.app-shell .sidebar-nav .nav-group__summary:hover{color:#1554b7!important;background:#f3f7ff!important;}

/* One flat SVG icon system shared by member tools and personal-center shortcuts. */
.portal-tool-icon,
.portal-shortcut-grid--member .portal-tool-icon,
.portal-shortcut-grid--order-status .portal-tool-icon{
  width:34px!important;height:34px!important;border-radius:11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(47,117,255,.10)!important;border:1px solid rgba(47,117,255,.16)!important;color:var(--v32968-accent-dark)!important;box-shadow:none!important;font-size:0!important;
}
.portal-tool-icon svg,
.portal-shortcut-grid--member .portal-tool-icon svg,
.portal-shortcut-grid--order-status .portal-tool-icon svg{width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.portal-shortcut-grid--member a > span:not(.portal-tool-icon){width:34px!important;height:34px!important;border-radius:11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:rgba(47,117,255,.10)!important;border:1px solid rgba(47,117,255,.16)!important;color:var(--v32968-accent-dark)!important;font-size:0!important;box-shadow:none!important;}

.portal-mobile-hero-search{display:none;}
.portal-me-mobile{display:none;}

@media (max-width:760px){
  html,body{background:#f6f8fb!important;}
  .portal-recording-width{width:100%!important;max-width:100%!important;}
  .portal-shell--recording .portal-main{padding-bottom:78px!important;}
  .portal-shell--recording .portal-main__inner{width:100%!important;max-width:100%!important;padding:0 10px!important;}
  .portal-shell--recording .portal-notice-bar{display:none!important;}
  .member-recording-shell{display:block!important;}
  .member-recording-shell .member-panel{display:none!important;}
  .member-recording-main{display:grid!important;gap:10px!important;width:100%!important;}
  .member-recording-main .portal-page-head{display:none!important;}

  /* Home: merge search into banner and remove duplicate member tools. */
  .portal-shell--home .portal-header{display:none!important;}
  .portal-shell--home .portal-main{padding-top:8px!important;}
  .portal-shell--home .portal-recording-layout{display:block!important;}
  .portal-shell--home .portal-tree-sidebar{display:none!important;}
  .portal-shell--home .portal-recording-content{display:grid!important;gap:10px!important;}
  .portal-shell--home .portal-inline-notice{display:none!important;}
  .portal-home-top-row{display:block!important;margin:0!important;}
  .portal-home-top-row .portal-user-panel{display:none!important;}
  .portal-mobile-hero-search{display:grid!important;grid-template-columns:minmax(0,1fr) 56px!important;gap:6px!important;align-items:center!important;position:absolute!important;left:10px!important;right:10px!important;top:10px!important;height:38px!important;padding:4px!important;border-radius:14px!important;background:rgba(255,255,255,.94)!important;border:1px solid rgba(32,41,49,.08)!important;box-shadow:0 8px 18px rgba(31,42,50,.08)!important;backdrop-filter:blur(12px)!important;z-index:5!important;}
  .portal-mobile-hero-search input{grid-column:1!important;width:100%!important;height:30px!important;min-height:30px!important;border:0!important;background:transparent!important;padding:0 8px!important;font-size:13px!important;color:#243038!important;box-shadow:none!important;}
  .portal-mobile-hero-search button{grid-column:2!important;width:56px!important;height:30px!important;min-height:30px!important;border:0!important;border-radius:10px!important;background:linear-gradient(90deg,var(--v32968-accent-2),var(--v32968-accent))!important;color:#fff!important;font-size:12px!important;font-weight:850!important;box-shadow:none!important;}
  .portal-home-top-row .portal-hero-banner,.portal-home-top-row .portal-hero-banner--image,.portal-hero-banner.portal-hero-banner--polished{position:relative!important;min-height:122px!important;height:122px!important;padding:54px 12px 10px!important;border-radius:15px!important;overflow:hidden!important;margin:0!important;background:linear-gradient(135deg,#fffefb 0%,#f4f8f2 58%,#ebf3ee 100%)!important;box-shadow:0 8px 20px rgba(31,42,50,.055)!important;}
  .portal-hero-banner__image-link{height:100%!important;display:block!important;}
  .portal-hero-banner__image{height:122px!important;min-height:122px!important;max-height:122px!important;object-fit:cover!important;filter:saturate(.95) brightness(.98)!important;}
  .portal-hero-banner__overlay{left:12px!important;right:12px!important;bottom:10px!important;padding:0!important;background:transparent!important;color:#26333a!important;}
  .portal-hero-banner__inner{padding:0!important;gap:2px!important;position:relative!important;z-index:2!important;}
  .portal-hero-banner__eyebrow,.portal-hero-banner__desc,.portal-hero-features,.portal-hero-cta{display:none!important;}
  .portal-hero-banner__title{font-size:18px!important;line-height:1.2!important;margin:0!important;color:#26333a!important;text-align:left!important;}
  .portal-hero-banner__sub{font-size:12px!important;line-height:1.35!important;color:#607076!important;margin:2px 0 0!important;text-align:left!important;}
  .portal-product-block{padding:10px!important;border-radius:14px!important;margin:0!important;}
  .portal-product-block__head{margin-bottom:8px!important;}
  .portal-product-block__head h2{font-size:17px!important;}

  /* User-center / Me: mobile-specific dense account page. */
  .portal-card--desktop-summary,.portal-card--desktop-shortcuts,.portal-card--desktop-site{display:none!important;}
  .portal-me-mobile{display:grid!important;gap:10px!important;padding-bottom:78px!important;}
  .portal-me-mobile__profile{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;padding:10px 11px!important;background:linear-gradient(120deg,#eef4ff,#fffefb)!important;border:1px solid #e6edf2!important;border-radius:14px!important;}
  .portal-me-mobile__profile small{display:block!important;font-size:11px!important;color:#5e77bd!important;}
  .portal-me-mobile__profile strong{display:block!important;font-size:14px!important;color:#27313a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-me-mobile__profile>a{font-size:12px!important;color:#8b96a0!important;text-decoration:none!important;white-space:nowrap!important;}
  .portal-me-mobile__strip{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;overflow:hidden!important;border-radius:14px!important;background:#1e2a54!important;}
  .portal-me-mobile__strip a{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:8px!important;align-items:center!important;min-height:58px!important;padding:10px 11px!important;color:#f3d98d!important;text-decoration:none!important;}
  .portal-me-mobile__strip a+a{border-left:1px solid rgba(243,217,141,.38)!important;}
  .portal-me-mobile__strip .portal-tool-icon{grid-row:1/3!important;background:rgba(243,217,141,.08)!important;border-color:rgba(243,217,141,.38)!important;color:#f3d98d!important;}
  .portal-me-mobile__strip strong{font-size:14px!important;line-height:1.1!important;}
  .portal-me-mobile__strip em{font-style:normal!important;font-size:11px!important;color:rgba(255,255,255,.74)!important;}
  .portal-me-mobile__balance{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;background:#fffefb!important;border:1px solid var(--v32968-line)!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 7px 18px rgba(31,42,50,.04)!important;}
  .portal-me-mobile__balance>div{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;grid-template-areas:'icon label' 'icon amount' '. action'!important;gap:2px 8px!important;padding:11px!important;min-height:88px!important;}
  .portal-me-mobile__balance>div+div{border-left:1px solid #edf0ed!important;}
  .portal-me-mobile__balance .portal-tool-icon{grid-area:icon!important;width:28px!important;height:28px!important;border-radius:9px!important;}
  .portal-me-mobile__balance small{grid-area:label!important;font-size:13px!important;color:#26333a!important;font-weight:800!important;}
  .portal-me-mobile__balance strong{grid-area:amount!important;font-size:21px!important;line-height:1.1!important;color:#1f2b32!important;}
  .portal-me-mobile__balance a{grid-area:action!important;justify-self:start!important;min-height:26px!important;padding:0 12px!important;border-radius:999px!important;background:#e8f1ff!important;color:#2563eb!important;font-size:12px!important;font-weight:800!important;text-decoration:none!important;}
  .portal-me-mobile__feature{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .portal-me-mobile__feature a{position:relative!important;display:grid!important;gap:4px!important;min-height:70px!important;padding:12px 48px 10px 12px!important;background:#f2f6ff!important;border:1px solid #e5edfb!important;border-radius:13px!important;text-decoration:none!important;overflow:hidden!important;}
  .portal-me-mobile__feature a:nth-child(2){background:#eff9fb!important;border-color:#e0f1f4!important;}
  .portal-me-mobile__feature strong{font-size:15px!important;color:#1f2933!important;}
  .portal-me-mobile__feature small{font-size:12px!important;color:#8a96a3!important;}
  .portal-me-mobile__feature .portal-tool-icon{position:absolute!important;right:9px!important;bottom:8px!important;width:38px!important;height:38px!important;border-radius:12px!important;background:#e5efff!important;color:#4f7cff!important;border:0!important;}
  .portal-me-mobile__group{display:grid!important;gap:9px!important;padding:12px 10px!important;background:#fffefb!important;border:1px solid var(--v32968-line)!important;border-radius:14px!important;box-shadow:0 7px 18px rgba(31,42,50,.035)!important;}
  .portal-me-mobile__group h3{margin:0!important;font-size:17px!important;color:#1f2b32!important;}
  .portal-me-mobile__group>div{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;}
  .portal-me-mobile__group a{display:grid!important;justify-items:center!important;gap:6px!important;min-width:0!important;text-align:center!important;text-decoration:none!important;color:#26333a!important;}
  .portal-me-mobile__group .portal-tool-icon{width:30px!important;height:30px!important;border-radius:9px!important;}
  .portal-me-mobile__group strong{max-width:100%!important;font-size:11.5px!important;line-height:1.2!important;font-weight:650!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}

  /* Order list: compact cards close to the provided mobile reference. */
  .portal-orders-reference-page{display:grid!important;gap:8px!important;}
  .portal-orders-reference-tabs--top,.portal-order-tabs--recording{display:flex!important;gap:22px!important;overflow-x:auto!important;white-space:nowrap!important;padding:8px 4px 6px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;scrollbar-width:none!important;}
  .portal-orders-reference-tabs--top::-webkit-scrollbar,.portal-order-tabs--recording::-webkit-scrollbar{display:none!important;}
  .portal-orders-reference-tabs--top a,.portal-order-tabs--recording a{flex:0 0 auto!important;font-size:15px!important;padding:0 0 7px!important;border:0!important;background:transparent!important;color:#5f6670!important;border-radius:0!important;}
  .portal-orders-reference-tabs--top a.active,.portal-order-tabs--recording a.active{color:#1f2b32!important;font-weight:900!important;border-bottom:3px solid #4f7dff!important;background:transparent!important;}
  .portal-card--orders-query{padding:8px!important;border-radius:12px!important;}
  .portal-orders-query-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
  .portal-orders-query-grid label{gap:3px!important;font-size:11px!important;}
  .portal-orders-query-grid label span{font-size:11px!important;color:#66747a!important;}
  .portal-orders-query-grid input,.portal-orders-query-grid select{min-height:32px!important;border-radius:9px!important;padding:5px 7px!important;font-size:12px!important;}
  .portal-orders-query-actions{grid-column:1 / -1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;}
  .portal-orders-query-actions .btn,.portal-orders-query-actions button{min-height:34px!important;border-radius:10px!important;font-size:12px!important;padding:0 10px!important;}
  .portal-card--orders-list-frame{padding:8px!important;border-radius:13px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  .portal-order-card-list{display:grid!important;gap:8px!important;}
  .portal-order-sheet{padding:8px 9px!important;border-radius:10px!important;background:#fff!important;border:1px solid #e9ece8!important;box-shadow:0 5px 14px rgba(31,42,50,.045)!important;}
  .portal-order-sheet__meta{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:2px 7px!important;align-items:start!important;margin-bottom:6px!important;padding:0 0 6px!important;border-bottom:1px solid #edf0ed!important;background:transparent!important;}
  .portal-order-sheet__meta > span:first-child{display:none!important;}
  .portal-order-sheet__meta .portal-order-sheet__meta-item{display:block!important;font-size:12px!important;line-height:1.28!important;color:#89919a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-order-sheet__meta .portal-order-sheet__meta-order-no{grid-column:1!important;color:#848d95!important;}
  .portal-order-sheet__meta .portal-order-sheet__meta-external-id,.portal-order-sheet__meta .portal-order-sheet__meta-ip{grid-column:1!important;}
  .portal-order-sheet__meta strong{grid-column:2!important;grid-row:1 / span 3!important;align-self:start!important;font-size:13px!important;background:transparent!important;border:0!important;padding:2px 0!important;color:#1d5fd7!important;}
  .portal-order-sheet__meta .portal-copy-link--inline{min-height:22px!important;padding:0 6px!important;margin-left:4px!important;font-size:11px!important;border-radius:5px!important;vertical-align:1px!important;}
  .portal-order-sheet__body{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 8px!important;align-items:start!important;padding:0!important;}
  .portal-order-sheet__product{grid-column:1!important;grid-row:1!important;display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;min-width:0!important;padding-right:0!important;}
  .portal-order-sheet__cover,.portal-order-sheet__thumb{width:48px!important;height:48px!important;border-radius:9px!important;font-size:20px!important;}
  .portal-order-sheet__name{font-size:14px!important;font-weight:900!important;line-height:1.28!important;margin:0 0 3px!important;display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical!important;overflow:hidden!important;color:#111827!important;}
  .portal-order-sheet__params{gap:1px!important;max-height:34px!important;overflow:hidden!important;}
  .portal-order-sheet__param-line{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:2px 4px!important;padding:0!important;}
  .portal-order-sheet__param-line:nth-child(n+3){display:none!important;}
  .portal-order-sheet__param-label{font-size:12px!important;line-height:1.25!important;color:#7a838b!important;font-weight:700!important;white-space:nowrap!important;}
  .portal-order-sheet__param-value{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;}
  .portal-order-sheet__param-text{font-size:12px!important;line-height:1.25!important;color:#616973!important;font-weight:650!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;}
  .portal-order-sheet__param-value .portal-copy-link--compact{display:none!important;}
  .portal-order-sheet__quantity{position:static!important;top:auto!important;right:auto!important;font-size:12px!important;color:#9aa1a8!important;margin-top:1px!important;}
  .portal-order-sheet__price{grid-column:2!important;grid-row:1!important;position:static!important;top:auto!important;right:auto!important;align-self:start!important;justify-self:end!important;font-size:18px!important;font-weight:950!important;line-height:1.15!important;color:#111827!important;min-width:54px!important;text-align:right!important;}
  .portal-order-sheet__progress{grid-column:1 / -1!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;padding:5px 4px!important;margin-top:4px!important;background:#fafafa!important;border:0!important;border-radius:8px!important;}
  .portal-order-sheet__progress div{font-size:11px!important;line-height:1.2!important;text-align:center!important;color:#4b5563!important;white-space:nowrap!important;}
  .portal-order-sheet__refund{grid-column:1 / -1!important;text-align:center!important;font-size:11px!important;margin-top:2px!important;color:#ef4444!important;}
  .portal-order-sheet__actions{grid-column:1 / -1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-top:5px!important;}
  .portal-order-sheet__actions .portal-refund-form{display:contents!important;}
  .portal-order-btn,.portal-order-sheet__actions a,.portal-order-sheet__actions button{min-height:34px!important;border-radius:9px!important;font-size:13px!important;font-weight:820!important;padding:0 6px!important;}

  .portal-mobile-tabbar--market{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:100!important;padding:5px 10px calc(5px + env(safe-area-inset-bottom))!important;background:rgba(255,254,251,.98)!important;border-top:1px solid #e4e9e3!important;box-shadow:0 -8px 24px rgba(31,47,55,.09)!important;}
  .portal-mobile-tabbar--market a{min-height:46px!important;border-radius:10px!important;color:#2f3438!important;text-decoration:none!important;}
  .portal-mobile-tabbar--market span{font-size:18px!important;margin-bottom:2px!important;background:transparent!important;border:0!important;color:#222!important;}
  .portal-mobile-tabbar--market a.active strong,.portal-mobile-tabbar--market a.active span{color:#2f75ff!important;}
}

@media (max-width:420px){
  .portal-me-mobile__group>div{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  .portal-orders-query-grid{grid-template-columns:1fr!important;}
  .portal-order-sheet__actions{grid-template-columns:1fr 1fr!important;}
}

/* === v3.29.69 storefront balance, product detail cleanup and lighter badges === */
:root{
  --v32969-accent:#2f75ff;
  --v32969-accent-2:#6aa7ff;
  --v32969-accent-dark:#1d5fd7;
  --v32969-complement:#fff5ec;
  --v32969-complement-line:#f1ddc8;
  --v32969-field:#fffefb;
  --v32969-line:#e7ebe7;
  --v32969-text:#1f2b32;
}

/* Home notice uses a weak warm complement instead of another green band. */
.portal-notice-bar{
  background:linear-gradient(90deg,#fff6ee 0%,#fffaf4 100%)!important;
  border-top:1px solid var(--v32969-complement-line)!important;
  border-bottom:1px solid var(--v32969-complement-line)!important;
}
.portal-notice-bar__inner{color:#6f6d66!important;}
.portal-inline-notice{
  background:linear-gradient(90deg,#fff7ef 0%,#fffdf8 100%)!important;
  border:1px solid var(--v32969-complement-line)!important;
  color:#5f6670!important;
  box-shadow:none!important;
}
.portal-notice-icon,
.portal-inline-notice .portal-flat-icon,
.portal-mobile-hero-search__icon,
.portal-search::before{
  color:var(--v32969-accent-dark)!important;
  background:rgba(47,117,255,.10)!important;
  border-color:rgba(47,117,255,.18)!important;
  box-shadow:none!important;
  filter:none!important;
}
.portal-search::before{display:none!important;content:none!important;}
.portal-search button,
.portal-search.portal-search--wide button,
.portal-mobile-hero-search button,
.portal-hero-cta,
.portal-filter-form button,
.portal-orders-query-actions button,
.portal-date-range__quick button[data-date-apply]{
  background:linear-gradient(90deg,var(--v32969-accent-2),var(--v32969-accent))!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 6px 14px rgba(47,117,255,.13)!important;
}
.portal-search.portal-search--wide{border-color:#dbe8dd!important;box-shadow:none!important;}
.portal-search.portal-search--wide button{border-left:0!important;}

/* Product detail: remove extra card base frames; keep content clean like mainstream product pages. */
.portal-detail-shell,
.portal-detail-shell__media-card,
.portal-detail-shell__order-card{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.portal-detail-shell{padding:0!important;}
.portal-detail-shell__media-card,
.portal-detail-shell__order-card{padding:0!important;}
.portal-detail-square-media{
  border:0!important;
  box-shadow:none!important;
  background:#f8faf7!important;
}
.portal-detail-shell__summary,
.portal-detail-panel{background:transparent!important;border:0!important;box-shadow:none!important;}
.portal-detail-tabs{background:#f8faf7!important;border:1px solid var(--v32969-line)!important;box-shadow:none!important;}
.portal-detail-tabs button{background:transparent!important;box-shadow:none!important;}
.portal-detail-tabs button.active{background:#fffefb!important;color:var(--v32969-accent-dark)!important;border-color:var(--v32969-line)!important;}

/* History filters and date popover stay near-white; avoid heavy green surfaces. */
.portal-history-filterbar input,
.portal-history-filterbar select,
#portalHistorySearch,
.portal-date-range__trigger,
.portal-date-range__inputs input,
.portal-orders-query-grid input,
.portal-orders-query-grid select{
  background:var(--v32969-field)!important;
  border:1px solid #dfe5df!important;
  color:var(--v32969-text)!important;
  box-shadow:none!important;
}
.portal-date-range__panel{
  background:#fffefb!important;
  border:1px solid var(--v32969-line)!important;
  box-shadow:0 14px 34px rgba(31,42,50,.08)!important;
}
.portal-date-range__quick button{
  background:#fffefb!important;
  border:1px solid #e4e9e4!important;
  color:#5f6970!important;
  box-shadow:none!important;
}
.portal-date-range__quick button:hover{background:#f8faf7!important;color:var(--v32969-accent-dark)!important;}

/* Notification/count badges: flatter, less halo. */
.portal-nav-badge,
.sf-count,
.count-badge,
.portal-shortcut-grid__status em,
.member-panel__nav em,
.portal-tool-badge{
  box-shadow:0 2px 5px rgba(239,68,68,.14)!important;
  filter:none!important;
  text-shadow:none!important;
}
.portal-nav-badge{background:#e94b4b!important;color:#fff!important;font-weight:780!important;}

/* 3.29.69: admin/customer special-price wording is 密价; no visual change needed here. */

@media (max-width:760px){
  .portal-inline-notice{display:none!important;}
  .portal-mobile-hero-search__icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important;border-radius:8px!important;font-size:14px!important;}
  .portal-mobile-hero-search{grid-template-columns:24px minmax(0,1fr) 54px!important;}
  .portal-mobile-hero-search input{grid-column:2!important;}
  .portal-mobile-hero-search button{grid-column:3!important;}
}

/* === v3.29.70 storefront blue theme + product-detail/mobile cleanup === */
:root{
  --v32970-blue:#2f75ff;
  --v32970-blue-2:#6aa7ff;
  --v32970-blue-dark:#1d5fd7;
  --v32970-blue-soft:#eef5ff;
  --v32970-blue-soft-2:#f7fbff;
  --v32970-surface:#fffefe;
  --v32970-field:#fffefa;
  --v32970-line:#e4e8ef;
  --v32970-ink:#17212b;
  --v32970-muted:#667485;
  --v32970-price:#e55d45;
  --portal-main-color:#2f75ff;
  --portal-primary:#2f75ff;
  --portal-gradient-end:#2f75ff;
  --portal-green:#2f75ff;
  --v32967-accent:#2f75ff;
  --v32967-accent-2:#6aa7ff;
  --v32967-accent-dark:#1d5fd7;
  --v32967-soft:#f5f8ff;
  --v32967-surface:#fffefe;
  --v32967-field:#fffefa;
  --v32967-line:#e4e8ef;
  --v32968-accent:#2f75ff;
  --v32968-accent-2:#6aa7ff;
  --v32968-accent-dark:#1d5fd7;
  --v32969-accent:#2f75ff;
  --v32969-accent-2:#6aa7ff;
  --v32969-accent-dark:#1d5fd7;
  --v32964-brand:#2f75ff;
  --v32964-brand-light:#6aa7ff;
  --v32964-brand-soft:#eef5ff;
  --portal-mint-left:#6aa7ff;
  --portal-mint-mid:#4d8cff;
  --portal-mint-right:#2f75ff;
}
.portal-shell--recording{
  --portal-main-color:#2f75ff!important;
  --portal-primary:#2f75ff!important;
  --portal-gradient-end:#2f75ff!important;
  --portal-green:#2f75ff!important;
  color:#17212b;
}
.portal-shell--recording,
.portal-shell--recording .portal-main{background:#f6f8fb!important;}
.portal-shell--recording a{--portal-main-color:#2f75ff;}

/* Login: restore the previous clean underline-tab style; no pill tabs or extra rounded-rectangle blocks. */
.portal-shell--auth,
.portal-shell--auth .portal-main,
.portal-auth-recording--single{
  min-height:100vh!important;
  background:
    radial-gradient(circle at 22% 18%,rgba(47,117,255,.08),transparent 30%),
    radial-gradient(circle at 78% 70%,rgba(106,167,255,.10),transparent 34%),
    linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%)!important;
}
.portal-shell--auth .portal-header,
.portal-shell--auth .portal-notice-bar,
.portal-shell--auth .portal-footer{display:none!important;}
.portal-shell--auth .portal-main{display:grid!important;place-items:center!important;padding:0!important;}
.portal-shell--auth .portal-main__inner{width:100%!important;max-width:none!important;padding:0!important;}
.portal-auth-recording--single{display:grid!important;place-items:center!important;padding:34px 16px!important;}
.portal-auth-recording--single .portal-auth-recording__card--centered{
  width:min(520px,calc(100vw - 32px))!important;
  padding:40px 46px 42px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(220,228,238,.86)!important;
  box-shadow:0 24px 70px rgba(35,55,87,.12)!important;
  transform:none!important;
}
.portal-auth-recording--single .portal-auth-tabs{
  display:flex!important;
  justify-content:center!important;
  gap:44px!important;
  margin:0 0 26px!important;
  border-bottom:1px solid #e8edf3!important;
  background:transparent!important;
  padding:0!important;
}
.portal-auth-recording--single .portal-auth-tabs a{
  min-height:44px!important;
  padding:0 0 12px!important;
  border:0!important;
  border-bottom:3px solid transparent!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#7a8492!important;
  text-align:center!important;
  font-size:15px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
.portal-auth-recording--single .portal-auth-tabs a.active{
  background:transparent!important;
  border-color:#2f75ff!important;
  color:#17212b!important;
}
.portal-auth-recording--single .portal-auth-form{gap:18px!important;}
.portal-auth-recording--single .portal-auth-form label{gap:8px!important;}
.portal-auth-recording--single .portal-auth-form span{color:#526173!important;font-size:14px!important;font-weight:850!important;}
.portal-auth-recording--single .portal-auth-form input{
  min-height:50px!important;
  border-radius:10px!important;
  background:#fffefa!important;
  border:1px solid #dfe5ec!important;
  color:#17212b!important;
  box-shadow:none!important;
}
.portal-auth-recording--single .portal-auth-form input:focus{border-color:#8db8ff!important;box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;}
.portal-auth-recording--single .portal-auth-form .btn.primary,
.portal-auth-recording--single .portal-auth-form button[type="submit"]{
  min-height:50px!important;
  border-radius:10px!important;
  background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(47,117,255,.20)!important;
}
.portal-auth-recording--single .portal-password-toggle{border-radius:8px!important;background:#f5f7fb!important;color:#5b6b7d!important;}

/* Blue storefront theme: replace visible green accent system with calm financial-app blue. */
.portal-search button,
.portal-search.portal-search--wide button,
.portal-mobile-top-search button,
.portal-mobile-hero-search button,
.portal-hero-cta,
.portal-filter-form button,
.portal-orders-query-actions button,
.portal-date-range__quick button[data-date-apply],
.portal-shell--recording .btn.primary,
.portal-shell--recording button.btn.primary,
.portal-order-actions .btn.primary,
.portal-pay-modal__submit,
.portal-success-modal__actions .btn.primary,
.portal-order-btn--brand,
.portal-repeat-order-btn,
.portal-batch-editor__actions .btn.primary,
.profile-recording-form button{
  background:linear-gradient(90deg,#6aa7ff 0%,#2f75ff 100%)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(47,117,255,.16)!important;
  text-shadow:none!important;
}
.portal-search button:hover,.portal-hero-cta:hover,.portal-shell--recording .btn.primary:hover{filter:saturate(1.02) brightness(1.01)!important;}
.portal-flat-icon,
.portal-notice-icon,
.portal-inline-notice .portal-flat-icon,
.portal-shortcut-grid a > span,
.portal-user-tool__icon,
.portal-mobile-tabbar span,
.portal-tool-icon,
.member-panel__nav a::before,
.portal-order-btn--brand .icon,
.portal-repeat-order-btn .icon,
.portal-mobile-top-search__icon,
.portal-mobile-hero-search__icon{
  background:rgba(47,117,255,.09)!important;
  border:1px solid rgba(47,117,255,.16)!important;
  color:#1d5fd7!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.portal-tree-sidebar__item.active,
.portal-top-links--member a.active,
.portal-top-links--member a:hover,
.portal-filter-chip.is-active,
.portal-order-tabs--recording a.active,
.portal-orders-reference-tabs a.active,
.portal-mobile-tabbar--market a.active,
.member-panel__nav a.active,
.member-panel__nav a:hover,
.portal-detail-tabs button.active,
.portal-batch-modebar__tab.active{
  background:rgba(47,117,255,.08)!important;
  color:#1d5fd7!important;
  border-color:rgba(47,117,255,.18)!important;
  box-shadow:none!important;
}
.portal-tree-sidebar__item.active .portal-tree-sidebar__dot{background:#2f75ff!important;box-shadow:0 0 0 5px rgba(47,117,255,.10)!important;}
.portal-auth-tabs a.active,.portal-history-table__row a,.portal-inline-notice--compact a{color:#1d5fd7!important;}
.portal-copy-link,.portal-copy-link--compact,.portal-history-param__copy{background:#f7fbff!important;color:#1d5fd7!important;border-color:#d9e7ff!important;box-shadow:none!important;}
.portal-pay-modal__icon,.portal-pay-modal__method em,.portal-success-modal__icon{background:#2f75ff!important;color:#fff!important;}
.portal-pay-modal__title{color:#17212b!important;}
.portal-record-card__placeholder,
.portal-record-card__placeholder--large,
.portal-detail-square-media,
.portal-record-card__media,
.portal-order-card__thumb,
.portal-cart-row__media,
.portal-favorite-row__media{
  background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 100%)!important;
  color:#1d5fd7!important;
  border-color:#e2eaf7!important;
  box-shadow:none!important;
}
.portal-hero-banner,.portal-banner-card,.portal-hero-banner--polished{
  background:linear-gradient(135deg,#ffffff 0%,#f6f9ff 54%,#edf4ff 100%)!important;
  border-color:#e2eaf7!important;
  box-shadow:0 12px 32px rgba(35,55,87,.055)!important;
  color:#17212b!important;
}
.portal-hero-banner::before,.portal-hero-banner::after,.portal-banner-card::before,.portal-banner-card::after{opacity:.10!important;filter:none!important;background:radial-gradient(circle,rgba(106,167,255,.34),transparent 65%)!important;}
.portal-hero-banner__eyebrow,.portal-hero-banner__sub,.portal-hero-banner__desc,.portal-hero-features span{color:#58677a!important;text-shadow:none!important;}
.portal-hero-banner__title,.portal-banner-card h1,.portal-detail-shell__summary h1{color:#17212b!important;text-shadow:none!important;}
.portal-notice-bar{background:linear-gradient(90deg,#fff8f1 0%,#f8fbff 100%)!important;border-color:#eadfce!important;}
.portal-notice-bar__inner,.portal-inline-notice{color:#5d6675!important;}
.portal-inline-notice{background:linear-gradient(90deg,#fff8f1 0%,#f8fbff 100%)!important;border-color:#eadfce!important;box-shadow:none!important;}
.portal-detail-price-band strong,.portal-record-card__price,.portal-product-card__price,.product-price,.sf-goods-price,.portal-cart-item__amount,.portal-favorite-card__price{color:#e55d45!important;}
.order-status--completed,.portal-order-status.order-status--completed,.portal-history-status.order-status--completed,.status-pill.order-status--completed,.quick-chip.order-status--completed{background:#eef5ff!important;border-color:#cfe0ff!important;color:#1d5fd7!important;}
.portal-order-reference-log__dot{background:#2f75ff!important;box-shadow:0 0 0 4px #edf4ff!important;}

/* Product detail: remove extra base frames; the right ordering area is one clean module, not many boxed blocks. */
.portal-detail-layout{gap:18px!important;}
.portal-detail-shell,
.portal-detail-shell__media-card,
.portal-detail-shell__order-card,
.portal-detail-panel,
.portal-detail-panel.active,
.portal-order-form--recording,
.portal-batch-builder,
.portal-batch-modebar,
.portal-batch-editor,
.portal-batch-editor__board,
.portal-order-form__meta,
.portal-order-form__qty--recording,
.portal-order-summary--recording{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.portal-detail-shell{padding:0!important;}
.portal-detail-shell__media-card,.portal-detail-shell__order-card{padding:0!important;}
.portal-detail-tabs{
  display:flex!important;
  gap:28px!important;
  padding:0 0 12px!important;
  margin:0 0 18px!important;
  border:0!important;
  border-bottom:1px solid #e7ecf2!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.portal-detail-tabs button{
  border:0!important;
  border-bottom:3px solid transparent!important;
  border-radius:0!important;
  background:transparent!important;
  padding:0 0 10px!important;
  color:#6b7480!important;
  box-shadow:none!important;
  font-weight:850!important;
}
.portal-detail-tabs button.active,
.portal-detail-tabs button[aria-selected="true"]{
  background:transparent!important;
  color:#1d5fd7!important;
  border-bottom-color:#2f75ff!important;
  box-shadow:none!important;
}
.portal-detail-tabs button.active::before,.portal-detail-tabs button.active::after{display:none!important;}
.portal-order-form--recording{gap:16px!important;}
.portal-order-form--recording label,
.portal-order-form__meta label,
.portal-order-form__qty--recording,
.portal-detail-panel label,
.portal-batch-modebar__panel,
.portal-batch-editor__footer,
.portal-detail-hint,
.portal-detail-hint--batch{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.portal-order-form__qty--recording{display:flex!important;align-items:center!important;gap:12px!important;padding:0!important;flex-wrap:wrap!important;}
.portal-order-summary--recording{padding:0!important;margin:8px 0 0!important;color:#566270!important;}
.portal-batch-modebar{padding:0!important;margin:0 0 18px!important;gap:12px!important;}
.portal-batch-modebar__tabs{gap:10px!important;}
.portal-batch-modebar__tab{
  min-height:38px!important;
  padding:0 18px!important;
  border:1px solid #dfe6ef!important;
  border-radius:10px!important;
  background:#fffefa!important;
  color:#526173!important;
  box-shadow:none!important;
}
.portal-batch-modebar__tab.active{background:#eef5ff!important;color:#1d5fd7!important;border-color:#cfe0ff!important;}
.portal-batch-modebar__panel{padding:0!important;}
.portal-batch-editor{grid-template-columns:92px minmax(0,1fr)!important;gap:16px!important;}
.portal-batch-editor__board{overflow:visible!important;}
.portal-batch-table-wrap{border:1px solid #e7ecf2!important;border-radius:12px!important;background:#fff!important;overflow:auto!important;}
.portal-batch-table thead th{background:#f7f9fc!important;}
.portal-batch-editor__footer{padding:12px 0 0!important;}
.portal-shell--recording input:not([type="checkbox"]):not([type="radio"]),
.portal-shell--recording textarea,
.portal-shell--recording select,
.portal-shell--member input:not([type="checkbox"]):not([type="radio"]),
.portal-shell--member textarea,
.portal-shell--member select,
.portal-order-form textarea,
.portal-order-form select,
.portal-batch-table textarea,
.portal-batch-table select,
.portal-history-filterbar input,
.portal-history-filterbar select,
#portalHistorySearch,
.portal-date-range__trigger,
.portal-date-range__inputs input{
  background:#fffefa!important;
  border:1px solid #dfe5ec!important;
  color:#17212b!important;
  box-shadow:none!important;
}
.portal-shell--recording input:focus,.portal-shell--recording textarea:focus,.portal-shell--recording select:focus{border-color:#8db8ff!important;box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;background:#fff!important;}
.portal-date-range__panel{background:#fffefa!important;border-color:#e4e8ef!important;box-shadow:0 14px 34px rgba(35,55,87,.08)!important;}
.portal-date-range__quick button{background:#fffefa!important;border-color:#e4e8ef!important;color:#526173!important;box-shadow:none!important;}
.portal-date-range__quick button:hover{background:#f7fbff!important;color:#1d5fd7!important;}

/* Badges: keep warning red but remove dizzy glow. */
.portal-nav-badge,.sf-count,.count-badge,.portal-shortcut-grid__status em,.member-panel__nav em,.portal-tool-badge{
  box-shadow:0 1px 3px rgba(239,68,68,.12)!important;
  filter:none!important;
  text-shadow:none!important;
}

/* Mobile: search is separate from banner; banner is shorter and the CTA/notice button remains visible. */
.portal-mobile-top-search{display:none;}
@media (max-width:760px){
  html,body{background:#f6f8fb!important;}
  .portal-mobile-hero-search{display:none!important;}
  .portal-mobile-top-search{
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr) 58px!important;
    gap:6px!important;
    align-items:center!important;
    min-height:42px!important;
    margin:0 0 8px!important;
    padding:4px 5px 4px 8px!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.96)!important;
    border:1px solid #dfe7f2!important;
    box-shadow:0 6px 16px rgba(35,55,87,.06)!important;
  }
  .portal-mobile-top-search input{height:34px!important;min-height:34px!important;border:0!important;background:transparent!important;padding:0 6px!important;font-size:13px!important;box-shadow:none!important;}
  .portal-mobile-top-search button{height:34px!important;min-height:34px!important;border-radius:9px!important;font-size:12px!important;font-weight:850!important;}
  .portal-shell--home .portal-main{padding-top:8px!important;}
  .portal-shell--home .portal-home-top-row .portal-hero-banner,
  .portal-shell--home .portal-home-top-row .portal-hero-banner--image,
  .portal-shell--home .portal-hero-banner.portal-hero-banner--polished{
    min-height:96px!important;
    height:auto!important;
    padding:13px 12px!important;
    border-radius:14px!important;
    margin:0!important;
  }
  .portal-hero-banner__image{height:96px!important;min-height:96px!important;max-height:96px!important;object-fit:cover!important;}
  .portal-hero-banner__inner{min-height:72px!important;gap:3px!important;padding:0!important;}
  .portal-hero-banner__eyebrow,.portal-hero-features{display:none!important;}
  .portal-hero-banner__title{font-size:18px!important;line-height:1.18!important;margin:0!important;}
  .portal-hero-banner__sub{font-size:12px!important;line-height:1.35!important;margin:2px 0 0!important;}
  .portal-hero-banner__desc{display:none!important;}
  .portal-hero-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;min-height:30px!important;padding:0 12px!important;border-radius:9px!important;font-size:12px!important;margin-top:6px!important;}
  .portal-hero-banner__overlay{left:12px!important;right:12px!important;bottom:9px!important;padding:0!important;background:transparent!important;}

  /* Products/category page search: keep input and query button on one row, filters below. */
  .portal-filter-board{padding:9px!important;border-radius:12px!important;}
  .portal-filter-board__head{display:none!important;}
  .portal-filter-form{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;gap:7px!important;align-items:center!important;}
  .portal-filter-form input[name="q"]{grid-column:1!important;min-height:36px!important;border-radius:10px!important;font-size:13px!important;padding:0 10px!important;}
  .portal-filter-form button{grid-column:2!important;min-height:36px!important;border-radius:10px!important;font-size:12px!important;padding:0!important;}
  .portal-filter-form select{min-height:34px!important;border-radius:9px!important;font-size:12px!important;padding:0 8px!important;}
  .portal-filter-form select[name="category"]{grid-column:1!important;}
  .portal-filter-form select[name="sort"]{grid-column:2!important;}

  .portal-detail-tabs{gap:20px!important;margin-bottom:12px!important;overflow-x:auto!important;}
  .portal-detail-tabs button{font-size:14px!important;padding-bottom:8px!important;}
  .portal-order-form__qty--recording{gap:8px!important;}
  .portal-batch-editor{display:block!important;}
  .portal-batch-editor__label{padding:0 0 8px!important;}
  .portal-batch-table-wrap{border-radius:10px!important;}

  .portal-mobile-tabbar--market{background:rgba(255,255,255,.98)!important;border-top-color:#dfe7f2!important;}
  .portal-mobile-tabbar--market a.active strong,
  .portal-mobile-tabbar--market a.active span{color:#2f75ff!important;}
  .portal-order-sheet__meta strong{color:#1d5fd7!important;}
}
@media (max-width:420px){
  .portal-auth-recording--single .portal-auth-recording__card--centered{padding:30px 22px!important;}
  .portal-auth-recording--single .portal-auth-tabs{gap:26px!important;}
  .portal-filter-form{grid-template-columns:minmax(0,1fr) 56px!important;}
}
/* v3.29.70 mobile products search row fix */
@media (max-width:760px){
  .portal-filter-form input[name="q"]{grid-row:1!important;}
  .portal-filter-form button{grid-row:1!important;}
  .portal-filter-form select[name="category"]{grid-row:2!important;}
  .portal-filter-form select[name="sort"]{grid-row:2!important;}
}


/* === v3.29.71 admin isolation, blue storefront cleanup, neutral product detail and security prelaunch polish === */
:root{
  --v32971-blue:#2f75ff;
  --v32971-blue-2:#6aa7ff;
  --v32971-blue-3:#8db8ff;
  --v32971-blue-dark:#1d5fd7;
  --v32971-blue-soft:#eef5ff;
  --v32971-blue-soft-2:#f8fbff;
  --v32971-surface:#fffefb;
  --v32971-field:#fffefa;
  --v32971-line:#e5eaf1;
  --v32971-text:#17212b;
  --v32971-muted:#596879;
  --v32971-price:#e55d45;
  --v32971-warm-notice:#fff7ee;
  --v32971-warm-line:#efdfcc;
  --portal-main-color:#2f75ff;
  --portal-primary:#2f75ff;
  --portal-gradient-end:#2f75ff;
  --portal-green:#2f75ff;
  --portal-green-soft:#eef5ff;
  --portal-mint:#eef5ff;
  --portal-mint-2:#f8fbff;
  --portal-mint-left:#8db8ff;
  --portal-mint-mid:#6aa7ff;
  --portal-mint-right:#2f75ff;
  --portal-mint-deep:#1d5fd7;
  --portal-main-strong:#1d5fd7;
  --portal-deep-green:#1d5fd7;
  --v32965-green:#2f75ff;
  --v32965-green-2:#6aa7ff;
  --v32965-green-soft:#eef5ff;
  --v32967-accent:#2f75ff;
  --v32967-accent-2:#6aa7ff;
  --v32967-accent-dark:#1d5fd7;
  --v32968-accent:#2f75ff;
  --v32969-accent:#2f75ff;
  --v32970-blue:#2f75ff;
}

/* Admin keeps its own blue workspace.  No storefront theme spill-over; top-right badges/actions are crisp. */
.app-shell{--admin-primary:#1677ff;--admin-primary-dark:#0f5fd7;--admin-soft:#eef4ff;color:#0f172a;}
.app-shell .topbar{background:#1677ff!important;color:#fff!important;box-shadow:0 8px 20px rgba(22,119,255,.16)!important;filter:none!important;backdrop-filter:none!important;}
.app-shell .topbar h1,.app-shell .crumbs{color:#fff!important;text-shadow:none!important;}
.app-shell .badge-group{align-items:center!important;gap:9px!important;}
.app-shell .badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:0 12px!important;border-radius:10px!important;background:rgba(255,255,255,.18)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;font-weight:760!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;text-shadow:none!important;}
.app-shell .badge.soft{background:rgba(255,255,255,.26)!important;color:#fff!important;}
.app-shell .topbar .btn.soft,.app-shell .badge-group .btn.soft{min-height:34px!important;padding:0 14px!important;border-radius:10px!important;background:#fff!important;border:1px solid rgba(255,255,255,.70)!important;color:#1d4ed8!important;font-weight:780!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;text-shadow:none!important;}
.app-shell .topbar svg,.app-shell .topbar img,.app-shell .badge svg{filter:none!important;box-shadow:none!important;opacity:1!important;}
.app-shell .sidebar-nav .nav-child,.app-shell .nav-single,.app-shell .nav-group__summary{color:#4b5565!important;}
.app-shell .sidebar-nav .nav-child:hover,.app-shell .nav-single:hover,.app-shell .nav-group__summary:hover{color:#1e3a8a!important;}

/* Storefront blue reset: replace old green remnants, but keep price red/orange semantics. */
.portal-shell--recording,.portal-shell--member,.portal-shell--auth{--portal-main-color:#2f75ff!important;--portal-primary:#2f75ff!important;--portal-green:#2f75ff!important;color:var(--v32971-text)!important;}
.portal-shell--recording .portal-main,.portal-shell--member .portal-main{background:#f6f8fb!important;}
.portal-shell--recording .btn.primary,.portal-shell--member .btn.primary,.portal-search button,.portal-mobile-top-search button,.portal-mobile-hero-search button,.portal-hero-cta,.portal-filter-form button,.portal-orders-query-actions .btn.primary,.portal-orders-query-actions button,.portal-date-range__quick button[data-date-apply],.portal-order-actions .btn.primary,.portal-pay-modal__submit,.portal-success-modal__actions .btn.primary,.portal-batch-editor__actions .btn.primary,.profile-recording-form button,.portal-order-btn--brand,.portal-repeat-order-btn{
  background:linear-gradient(90deg,#6aa7ff 0%,#2f75ff 100%)!important;
  color:#fff!important;border-color:transparent!important;box-shadow:0 7px 16px rgba(47,117,255,.14)!important;text-shadow:none!important;filter:none!important;
}
.portal-shell--recording .btn.primary:hover,.portal-search button:hover,.portal-hero-cta:hover,.portal-order-btn--brand:hover,.portal-repeat-order-btn:hover{filter:brightness(1.02)!important;}
.portal-flat-icon,.portal-notice-icon,.portal-inline-notice .portal-flat-icon,.portal-search-icon,.portal-search::before,.portal-mobile-top-search__icon,.portal-mobile-hero-search__icon,.portal-user-tool__icon,.portal-tool-icon,.portal-shortcut-grid a > span,.member-panel__nav a::before,.portal-mobile-tabbar span,.portal-copy-link,.portal-copy-link--compact,.portal-history-param__copy{
  background:rgba(47,117,255,.08)!important;border:1px solid rgba(47,117,255,.15)!important;color:#1d5fd7!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;
}
.portal-tool-icon--paid,.portal-tool-icon--pending,.portal-tool-icon--processing,.portal-tool-icon--refunding,.portal-tool-icon--failed,.portal-tool-icon--account,.portal-tool-icon--notice,.portal-tool-icon--settings{color:#1d5fd7!important;background:#eef5ff!important;border-color:#d8e7ff!important;box-shadow:none!important;}
.portal-shortcut-grid--order-status .portal-shortcut-grid__status:hover{border-color:#d8e7ff!important;box-shadow:0 10px 22px rgba(31,42,55,.055)!important;}
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="processing"] em,.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="pending"] em,.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="paid"] em,.portal-shortcut-grid--order-status a em,.portal-shortcut-grid__status em,.portal-tool-badge,.member-panel__nav em,.portal-nav-badge,.sf-count,.count-badge{
  background:#e84d4f!important;color:#fff!important;border:1px solid rgba(232,77,79,.18)!important;box-shadow:0 1px 3px rgba(232,77,79,.16)!important;text-shadow:none!important;filter:none!important;
}
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="refunding"] em{background:#f97316!important;border-color:rgba(249,115,22,.20)!important;color:#fff!important;}
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="failed"] em{background:#e11d48!important;border-color:rgba(225,29,72,.18)!important;color:#fff!important;}
.portal-nav-badge.is-empty{display:none!important;}
.portal-tree-sidebar__item.active,.portal-tree-sidebar__item:hover,.portal-filter-chip.is-active,.portal-top-links--member a.active,.portal-top-links--member a:hover,.member-panel__nav a.active,.member-panel__nav a:hover,.portal-mobile-tabbar--market a.active{background:#eef5ff!important;border-color:#d8e7ff!important;color:#1d5fd7!important;box-shadow:none!important;}
.portal-tree-sidebar__item.active .portal-tree-sidebar__dot{background:#2f75ff!important;box-shadow:0 0 0 5px rgba(47,117,255,.10)!important;}
.portal-page-head__eyebrow,.portal-hero-banner__eyebrow{display:none!important;}
.portal-hero-banner,.portal-banner-card,.portal-hero-banner--polished{background:linear-gradient(135deg,#ffffff 0%,#f7faff 56%,#eef5ff 100%)!important;border-color:#e1e9f5!important;box-shadow:0 10px 28px rgba(35,55,87,.05)!important;}
.portal-hero-banner::before,.portal-hero-banner::after,.portal-banner-card::before,.portal-banner-card::after{background:radial-gradient(circle,rgba(106,167,255,.26),transparent 65%)!important;opacity:.12!important;filter:none!important;}
.portal-hero-banner__title,.portal-banner-card h1{color:#17212b!important;text-shadow:none!important;}
.portal-hero-banner__sub,.portal-hero-banner__desc,.portal-hero-features span{color:#596879!important;text-shadow:none!important;}
.portal-notice-bar,.portal-inline-notice{background:linear-gradient(90deg,#fff7ee 0%,#f8fbff 100%)!important;border-color:#efdfcc!important;color:#626b78!important;box-shadow:none!important;}
.portal-notice-bar__inner{color:#626b78!important;}
.portal-search.portal-search--wide{border-color:#dbe5f2!important;background:#fffefa!important;box-shadow:0 6px 18px rgba(35,55,87,.045)!important;}
.portal-search.portal-search--wide button{border-left:0!important;}

/* Product detail: neutral hierarchy.  Remove the pink price container and colored parameter text. */
.portal-detail-shell,.portal-detail-shell__media-card,.portal-detail-shell__order-card,.portal-detail-panel,.portal-order-form--recording,.portal-order-form__meta,.portal-order-form__qty--recording,.portal-batch-builder,.portal-batch-modebar,.portal-batch-modebar__panel,.portal-batch-editor,.portal-batch-editor__board,.portal-batch-editor__footer,.portal-detail-hint,.portal-detail-hint--batch{background:transparent!important;border:0!important;box-shadow:none!important;}
.portal-detail-shell{padding:0!important;}
.portal-detail-shell__media-card,.portal-detail-shell__order-card{padding:0!important;}
.portal-detail-square-media{background:#f8fafc!important;border:0!important;box-shadow:none!important;}
.portal-detail-shell__summary{background:transparent!important;border:0!important;box-shadow:none!important;}
.portal-detail-shell__summary h1{color:#17212b!important;}
.portal-detail-shell__line,.portal-detail-shell__line--soft{color:#4d5a68!important;font-weight:600!important;}
.portal-detail-shell__line strong,.portal-detail-shell__line b{color:#17212b!important;}
.portal-detail-price-band{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:6px 0 0!important;margin:8px 0 0!important;max-width:none!important;}
.portal-detail-price-band span{color:#667485!important;font-weight:700!important;}
.portal-detail-price-band strong,.portal-record-card__price,.portal-product-card__price,.product-price,.sf-goods-price,.portal-order-sheet__price,.portal-cart-item__amount,.portal-favorite-card__price{color:#e55d45!important;}
.portal-detail-tabs{background:transparent!important;border:0!important;border-bottom:1px solid #e6ebf2!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin-bottom:16px!important;}
.portal-detail-tabs button{background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;box-shadow:none!important;color:#667485!important;padding:0 0 10px!important;}
.portal-detail-tabs button.active,.portal-detail-tabs button[aria-selected="true"]{background:transparent!important;color:#1d5fd7!important;border-bottom-color:#2f75ff!important;box-shadow:none!important;}
.portal-detail-tabs button.active::before,.portal-detail-tabs button.active::after{display:none!important;}
.portal-order-form--recording label,.portal-order-form__meta label,.portal-detail-panel label,.portal-batch-modebar__panel,.portal-order-form__qty--recording{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;}
.portal-batch-modebar__tab{background:#fffefa!important;border:1px solid #e1e7ef!important;color:#526173!important;box-shadow:none!important;}
.portal-batch-modebar__tab.active{background:#eef5ff!important;border-color:#d8e7ff!important;color:#1d5fd7!important;}
.portal-batch-table-wrap{background:#fff!important;border:1px solid #e6ebf2!important;box-shadow:none!important;}
.portal-card--detail-body,.portal-card--history{background:#fffefb!important;border:0!important;box-shadow:none!important;}
.portal-card--detail-body .portal-card__title,.portal-card--history .portal-card__title{color:#17212b!important;}
.portal-card--detail-body .portal-card__body,.portal-richtext{color:#3f4d5e!important;line-height:1.82!important;font-weight:500!important;}
.portal-richtext *{color:inherit;}
.portal-shell--recording input:not([type="checkbox"]):not([type="radio"]),.portal-shell--recording textarea,.portal-shell--recording select,.portal-shell--member input:not([type="checkbox"]):not([type="radio"]),.portal-shell--member textarea,.portal-shell--member select,.portal-history-filterbar input,.portal-history-filterbar select,#portalHistorySearch,.portal-date-range__trigger,.portal-date-range__inputs input,.portal-orders-query-grid input,.portal-orders-query-grid select{background:#fffefa!important;border:1px solid #dfe5ec!important;color:#17212b!important;box-shadow:none!important;}
.portal-shell--recording input:focus,.portal-shell--recording textarea:focus,.portal-shell--recording select:focus,.portal-shell--member input:focus,.portal-shell--member textarea:focus,.portal-shell--member select:focus{border-color:#8db8ff!important;box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;background:#fff!important;}
.portal-date-range__panel{background:#fffefa!important;border:1px solid #e5eaf1!important;box-shadow:0 12px 28px rgba(35,55,87,.07)!important;}
.portal-date-range__quick button{background:#fffefa!important;border:1px solid #e5eaf1!important;color:#526173!important;box-shadow:none!important;}
.portal-date-range__quick button:hover{background:#f8fbff!important;color:#1d5fd7!important;}

/* My orders tabs: underline only, no filled blue rectangle. */
.portal-orders-reference-tabs,.portal-orders-reference-tabs--top,.portal-order-tabs,.portal-order-tabs--recording,.portal-order-tabs--reference{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0 0 8px!important;gap:26px!important;}
.portal-orders-reference-tabs a,.portal-orders-reference-tabs--top a,.portal-order-tabs a,.portal-order-tabs--recording a,.portal-order-tabs--reference a{background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;color:#667485!important;box-shadow:none!important;padding:0 0 9px!important;font-weight:850!important;text-decoration:none!important;}
.portal-orders-reference-tabs a.active,.portal-orders-reference-tabs--top a.active,.portal-order-tabs a.active,.portal-order-tabs--recording a.active,.portal-order-tabs--reference a.active{background:transparent!important;color:#17212b!important;border-bottom-color:#2f75ff!important;box-shadow:none!important;}

@media (max-width:760px){
  .portal-hero-banner__eyebrow{display:none!important;}
  .portal-mobile-top-search{border-color:#dfe7f2!important;background:#fffefa!important;}
  .portal-shell--home .portal-hero-banner{min-height:94px!important;}
  .portal-hero-cta{display:inline-flex!important;}
  .portal-orders-reference-tabs,.portal-order-tabs--recording{gap:22px!important;overflow-x:auto!important;white-space:nowrap!important;}
  .portal-orders-reference-tabs a,.portal-order-tabs--recording a{font-size:15px!important;}
  .portal-mobile-tabbar--market{background:rgba(255,255,255,.98)!important;border-top-color:#dfe7f2!important;}
  .portal-mobile-tabbar--market a.active strong,.portal-mobile-tabbar--market a.active span{color:#2f75ff!important;}
  .portal-card--detail-body,.portal-card--history{padding:14px!important;}
}

/* v3.29.71 addendum: success surfaces on the storefront also use blue, not legacy green. */
.portal-shell--recording .portal-flash--success,
.portal-shell--member .portal-flash--success,
.portal-shell--recording .page-note--success,
.portal-shell--member .page-note--success,
.portal-shell--recording .status-pill.ok,
.portal-shell--member .status-pill.ok,
.portal-shell--recording .message-status.read,
.portal-shell--member .message-status.read,
.portal-shell--recording .portal-favorite-list-card__head,
.portal-shell--member .portal-favorite-list-card__head{
  background:#eef5ff!important;
  border-color:#d8e7ff!important;
  color:#1d5fd7!important;
  box-shadow:none!important;
}
.portal-shell--recording .reference-input-config-row b,
.portal-shell--member .reference-input-config-row b{color:#1d5fd7!important;}

/* === v3.29.73 station-price permission cleanup and mobile search alignment === */
:root{--v32972-blue:#2f75ff;--v32972-blue-2:#6aa7ff;--v32972-blue-dark:#1d5fd7;--v32972-field:#fffefa;--v32972-line:#dfe7f2;}
@media (max-width:760px){
  /* Home/search: only one 搜索 button on the right, no duplicate search icon/text at the left. */
  .portal-mobile-top-search{
    grid-template-columns:minmax(0,1fr) 58px!important;
    padding:4px 5px 4px 10px!important;
  }
  .portal-mobile-top-search__icon{display:none!important;}
  .portal-mobile-top-search input{grid-column:1!important;}
  .portal-mobile-top-search button{grid-column:2!important;background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;color:#fff!important;}

  /* Products area uses the same mobile top search as home; the desktop header search is hidden on mobile. */
  .portal-shell--products-list .portal-header,
  .portal-shell--orders .portal-header,
  .portal-shell--me .portal-header{display:none!important;}
  .portal-shell--products-list .portal-main{padding-top:8px!important;}
  .portal-mobile-top-search--products{margin-bottom:8px!important;}
  .portal-shell--products-list .portal-filter-board{padding:8px 9px!important;background:#fff!important;border:0!important;box-shadow:none!important;}
  .portal-shell--products-list .portal-filter-form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 58px!important;gap:7px!important;align-items:center!important;}
  .portal-shell--products-list .portal-filter-form input[name="q"]{display:none!important;}
  .portal-shell--products-list .portal-filter-form select[name="category"]{grid-column:1!important;grid-row:1!important;}
  .portal-shell--products-list .portal-filter-form select[name="sort"]{grid-column:2!important;grid-row:1!important;}
  .portal-shell--products-list .portal-filter-form button{grid-column:3!important;grid-row:1!important;min-height:34px!important;border-radius:9px!important;font-size:12px!important;padding:0!important;}
  .portal-shell--orders .portal-main,.portal-shell--me .portal-main{padding-top:8px!important;}
}

/* Station backend product table: make price semantics clearer and avoid fake extra field look. */
.app-shell .admin-table th,.app-shell .admin-table td{vertical-align:middle;}
.app-shell .cell-sub{color:#64748b!important;}
.app-shell .mini-btn.warn{background:#fff7ed!important;border-color:#fed7aa!important;color:#c2410c!important;}

/* === v3.29.73 batch quantity total + product detail top shell card === */
.portal-detail-layout > .portal-detail-shell{
  background:#fffefb!important;
  border:1px solid #e5eaf1!important;
  box-shadow:0 12px 34px rgba(35,55,87,.055)!important;
  border-radius:18px!important;
  padding:24px!important;
}
.portal-detail-layout > .portal-detail-shell > .portal-detail-shell__media-card,
.portal-detail-layout > .portal-detail-shell > .portal-detail-shell__order-card,
.portal-detail-layout > .portal-detail-shell .portal-detail-panel,
.portal-detail-layout > .portal-detail-shell .portal-order-form--recording,
.portal-detail-layout > .portal-detail-shell .portal-batch-builder,
.portal-detail-layout > .portal-detail-shell .portal-batch-modebar,
.portal-detail-layout > .portal-detail-shell .portal-batch-editor,
.portal-detail-layout > .portal-detail-shell .portal-batch-editor__board{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.portal-batch-modebar__panel--random{
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px!important;
}
.portal-batch-target-total{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.portal-batch-target-total > span{
  color:#526173!important;
  font-size:13px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
.portal-batch-target-total input{
  width:138px!important;
  min-height:38px!important;
  height:38px!important;
  border-radius:10px!important;
  background:#fffefa!important;
  border:1px solid #dfe5ec!important;
  color:#17212b!important;
  padding:0 10px!important;
}
.portal-batch-auto-fill{
  min-height:38px!important;
  padding:0 14px!important;
  border-radius:10px!important;
  color:#1d5fd7!important;
  border:1px solid #d8e7ff!important;
  background:#f8fbff!important;
  box-shadow:none!important;
  font-weight:850!important;
}
.portal-order-summary--batch{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:18px!important;
  margin-top:10px!important;
}
.portal-order-summary--batch span{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:4px!important;
  color:#566270!important;
}
.portal-order-summary--batch strong[data-batch-quantity-total]{
  min-width:0!important;
  font-size:18px!important;
  color:#17212b!important;
}
@media (max-width:760px){
  .portal-detail-layout > .portal-detail-shell{padding:14px!important;border-radius:14px!important;box-shadow:0 8px 22px rgba(35,55,87,.045)!important;}
  .portal-batch-modebar__panel--random{align-items:flex-start!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
  .portal-batch-target-total{width:100%!important;display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;}
  .portal-batch-target-total input{width:100%!important;}
  .portal-batch-auto-fill{width:100%!important;justify-content:center!important;}
  .portal-order-summary--batch{gap:10px!important;justify-content:flex-start!important;}
}

/* === v3.29.74 auth canvas, blue cleanup, batch row controls === */
:root{
  --v32974-blue:#2f75ff;
  --v32974-blue-soft:#eef5ff;
  --v32974-blue-soft-2:#f7fbff;
  --v32974-blue-line:#d8e7ff;
  --v32974-blue-dark:#1d5fd7;
  --v32974-surface:#fffefa;
  --v32974-line:#e3eaf3;
  --v32974-text:#17212b;
  --v32974-muted:#607086;
  --v32974-red:#e84d4f;
}

/* Login/register/forgot pages: full-screen background, no top/bottom gutters. */
.portal-shell--auth{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  overflow:auto!important;
  background:
    radial-gradient(circle at 22% 18%,rgba(47,117,255,.08),transparent 30%),
    radial-gradient(circle at 78% 70%,rgba(106,167,255,.10),transparent 34%),
    linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%)!important;
}
.portal-shell--auth .portal-header,
.portal-shell--auth .portal-notice-bar,
.portal-shell--auth .portal-footer{display:none!important;}
.portal-shell--auth .portal-main,
.portal-shell--auth .portal-main__inner,
.portal-auth-recording--single{
  min-height:100vh!important;
  min-height:100dvh!important;
  width:100%!important;
  background:transparent!important;
}
.portal-shell--auth .portal-main{display:grid!important;place-items:center!important;padding:0!important;}
.portal-shell--auth .portal-main__inner{max-width:none!important;padding:0!important;}
.portal-auth-recording--single{display:grid!important;place-items:center!important;padding:28px 16px!important;box-sizing:border-box!important;}
.portal-auth-recording--single .portal-auth-recording__card--centered{border-radius:18px!important;}
@media(max-width:760px){
  .portal-auth-recording--single{padding:18px 14px!important;}
  .portal-auth-recording--single .portal-auth-recording__card--centered{width:min(440px,calc(100vw - 28px))!important;padding:28px 22px!important;}
}

/* Storefront blue-only sweep: convert remaining green surfaces and hints to blue or neutral. */
.portal-shell--recording,
.portal-shell--member,
.portal-shell--auth{
  --portal-main-color:var(--v32974-blue)!important;
  --portal-primary:var(--v32974-blue)!important;
  --portal-gradient-end:var(--v32974-blue)!important;
  --portal-green:var(--v32974-blue)!important;
  --portal-green-soft:var(--v32974-blue-soft)!important;
  --portal-deep-green:var(--v32974-blue-dark)!important;
  --portal-main-strong:var(--v32974-blue-dark)!important;
  --portal-main-soft:var(--v32974-blue-soft)!important;
}
.portal-shell--recording .portal-inline-note,
.portal-shell--member .portal-inline-note,
.portal-shell--recording .portal-detail-hint,
.portal-shell--member .portal-detail-hint,
.portal-shell--recording .portal-order-reference-section-title,
.portal-shell--member .portal-order-reference-section-title,
.portal-shell--recording .portal-order-sheet__meta,
.portal-shell--member .portal-order-sheet__meta,
.portal-shell--recording .portal-favorites-simple__head,
.portal-shell--member .portal-favorites-simple__head,
.portal-shell--recording .portal-favorite-list-card__head,
.portal-shell--member .portal-favorite-list-card__head{
  background:var(--v32974-blue-soft-2)!important;
  border-color:var(--v32974-line)!important;
  color:var(--v32974-muted)!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-inline-note strong,
.portal-shell--member .portal-inline-note strong,
.portal-shell--recording .portal-order-reference-section-title,
.portal-shell--member .portal-order-reference-section-title,
.portal-shell--recording .portal-favorites-simple__head strong,
.portal-shell--member .portal-favorites-simple__head strong{color:var(--v32974-text)!important;}
.portal-shell--recording .portal-order-reference-kv,
.portal-shell--member .portal-order-reference-kv,
.portal-shell--recording .portal-order-reference-product-metas>div,
.portal-shell--member .portal-order-reference-product-metas>div,
.portal-shell--recording .portal-order-reference-product-card,
.portal-shell--member .portal-order-reference-product-card{
  background:var(--v32974-surface)!important;
  border-color:var(--v32974-line)!important;
}
.portal-shell--recording .portal-detail-square-media,
.portal-shell--member .portal-detail-square-media,
.portal-shell--recording .portal-record-card__placeholder,
.portal-shell--member .portal-record-card__placeholder,
.portal-shell--recording .portal-record-card__media,
.portal-shell--member .portal-record-card__media,
.portal-shell--recording .portal-order-card__thumb,
.portal-shell--member .portal-order-card__thumb,
.portal-shell--recording .portal-order-sheet__thumb,
.portal-shell--member .portal-order-sheet__thumb,
.portal-shell--recording .portal-order-sheet__cover,
.portal-shell--member .portal-order-sheet__cover,
.portal-shell--recording .portal-order-reference-product-card img,
.portal-shell--recording .portal-order-reference-product-card>span,
.portal-shell--member .portal-order-reference-product-card img,
.portal-shell--member .portal-order-reference-product-card>span,
.portal-shell--recording .portal-favorite-row__media,
.portal-shell--member .portal-favorite-row__media,
.portal-shell--recording .portal-favorite-row__placeholder,
.portal-shell--member .portal-favorite-row__placeholder{
  background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 100%)!important;
  color:var(--v32974-blue-dark)!important;
  border-color:var(--v32974-blue-line)!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-order-btn,
.portal-shell--recording .portal-order-sheet__actions a,
.portal-shell--recording .portal-order-card__actions a,
.portal-shell--recording .portal-favorite-row__buy,
.portal-shell--member .portal-order-btn,
.portal-shell--member .portal-order-sheet__actions a,
.portal-shell--member .portal-order-card__actions a,
.portal-shell--member .portal-favorite-row__buy{
  background:var(--v32974-blue-soft)!important;
  border-color:var(--v32974-blue-line)!important;
  color:var(--v32974-blue-dark)!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-order-btn--brand,
.portal-shell--recording .portal-repeat-order-btn,
.portal-shell--member .portal-order-btn--brand,
.portal-shell--member .portal-repeat-order-btn,
.portal-shell--recording .portal-favorite-row__buy:hover,
.portal-shell--member .portal-favorite-row__buy:hover{
  background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
  color:#fff!important;
  border-color:transparent!important;
}
.portal-shell--recording .portal-order-sheet__progress,
.portal-shell--member .portal-order-sheet__progress{
  background:#f8fbff!important;
  border-color:var(--v32974-line)!important;
  color:var(--v32974-muted)!important;
}
.portal-shell--recording .portal-order-reference-progress>div,
.portal-shell--member .portal-order-reference-progress>div{
  background:var(--v32974-surface)!important;
  border-color:var(--v32974-line)!important;
  color:var(--v32974-text)!important;
}
.portal-shell--recording .portal-order-reference-progress strong,
.portal-shell--member .portal-order-reference-progress strong{color:var(--v32974-text)!important;}
.portal-shell--recording .portal-order-reference-progress strong,
.portal-shell--recording .portal-order-reference-kv strong,
.portal-shell--member .portal-order-reference-progress strong,
.portal-shell--member .portal-order-reference-kv strong{color:var(--v32974-text)!important;}
.portal-shell--recording .portal-history-table__head,
.portal-shell--member .portal-history-table__head,
.portal-shell--recording .portal-history-toolbar__pill,
.portal-shell--member .portal-history-toolbar__pill{
  background:var(--v32974-blue-soft-2)!important;
  color:var(--v32974-muted)!important;
  border-color:var(--v32974-line)!important;
}
.portal-shell--recording .portal-date-range__trigger,
.portal-shell--member .portal-date-range__trigger,
.portal-shell--recording input[data-lite-date],
.portal-shell--member input[data-lite-date]{border-color:#dfe7f2!important;box-shadow:none!important;background:var(--v32974-surface)!important;}
.portal-shell--recording .portal-date-range__trigger:focus,
.portal-shell--member .portal-date-range__trigger:focus,
.portal-shell--recording input[data-lite-date]:focus,
.portal-shell--member input[data-lite-date]:focus{border-color:#8db8ff!important;box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;}
.portal-lite-calendar,
.portal-shell--recording .portal-lite-calendar,
.portal-shell--member .portal-lite-calendar{background:var(--v32974-surface)!important;border-color:var(--v32974-line)!important;box-shadow:0 16px 38px rgba(35,55,87,.10)!important;}
.portal-lite-calendar__nav,
.portal-lite-calendar__day{background:#f8fbff!important;color:var(--v32974-blue-dark)!important;border-color:transparent!important;box-shadow:none!important;}
.portal-lite-calendar__day:hover,
.portal-lite-calendar__day.is-selected{background:var(--v32974-blue)!important;color:#fff!important;}
.portal-lite-calendar__day.is-today{box-shadow:inset 0 0 0 1px rgba(47,117,255,.34)!important;}
.portal-shell--recording .portal-detail-shell__line,
.portal-shell--member .portal-detail-shell__line{color:#495867!important;}
.portal-shell--recording .portal-detail-shell__line strong,
.portal-shell--member .portal-detail-shell__line strong{color:var(--v32974-text)!important;}

/* Success/completed is blue in storefront; red/orange stays only for danger/refund/alert semantics. */
.portal-shell--recording .status-pill.ok,
.portal-shell--member .status-pill.ok,
.portal-shell--recording .message-status.read,
.portal-shell--member .message-status.read,
.portal-shell--recording .order-status--completed,
.portal-shell--member .order-status--completed,
.portal-shell--recording .portal-order-status.order-status--completed,
.portal-shell--member .portal-order-status.order-status--completed,
.portal-shell--recording .portal-history-status.order-status--completed,
.portal-shell--member .portal-history-status.order-status--completed,
.portal-shell--recording .quick-chip.order-status--completed,
.portal-shell--member .quick-chip.order-status--completed{
  background:var(--v32974-blue-soft)!important;
  border-color:var(--v32974-blue-line)!important;
  color:var(--v32974-blue-dark)!important;
}

/* Member tool badges: hide zero in template and CSS fallback; all visible counts use one red style. */
.portal-shortcut-grid--order-status a em,
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="refunding"] em,
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="failed"] em,
.portal-tool-badge,
.member-panel__nav em,
.portal-nav-badge,
.sf-count,
.count-badge{
  background:var(--v32974-red)!important;
  color:#fff!important;
  border-color:rgba(232,77,79,.18)!important;
  box-shadow:0 1px 3px rgba(232,77,79,.14)!important;
  text-shadow:none!important;
  filter:none!important;
}
.portal-shortcut-grid--order-status a em:empty,
.portal-tool-badge:empty,
.member-panel__nav em:empty,
.portal-nav-badge.is-empty,
.sf-count.is-empty,
.count-badge.is-empty{display:none!important;}

/* Batch order: default 5 rows are only placeholders.  Users can delete rows; empty rows are not allocated. */
.portal-batch-table__index{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  white-space:nowrap!important;
}
.portal-batch-row-delete{
  width:24px!important;
  height:24px!important;
  border-radius:7px!important;
  border:1px solid #e0e7f0!important;
  background:#fff!important;
  color:#7a8492!important;
  font-size:16px!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.portal-batch-row-delete:hover{border-color:#cfe0ff!important;background:#eef5ff!important;color:#1d5fd7!important;}
.portal-batch-table__row.is-empty{opacity:.72;}
.portal-batch-table__row.is-empty [data-batch-qty-input]::placeholder{color:#b5bfca!important;}
.portal-batch-table__row.is-empty [data-batch-qty-input]{background:#fbfcff!important;color:#94a3b8!important;}
.portal-batch-editor__count strong{color:var(--v32974-blue-dark)!important;}

/* v3.29.75 site console pricing + dashboard refinements */
.mini-btn.has-secret-price{position:relative;padding-right:18px}
.mini-btn.has-secret-price::after{content:"";position:absolute;right:7px;top:6px;width:7px;height:7px;border-radius:999px;background:#ef4444;box-shadow:0 0 0 2px #fff}
.dashboard-metric-cards .dashboard-metric-card{min-height:104px}
.dashboard-chart-panel{margin-top:18px}
.site-dashboard-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px;align-items:end;padding:18px 8px 4px;min-height:260px}
.site-dashboard-chart__item{display:grid;gap:8px;min-width:0;text-align:center;color:#475569}
.site-dashboard-chart__bars{height:150px;display:flex;gap:7px;align-items:flex-end;justify-content:center;padding:0 4px;border-bottom:1px solid #e5e7eb}
.site-dashboard-chart__bar{width:16px;border-radius:999px 999px 0 0;min-height:0;transition:height .2s ease}
.site-dashboard-chart__bar--amount{background:linear-gradient(180deg,#60a5fa,#2563eb)}
.site-dashboard-chart__bar--orders{background:linear-gradient(180deg,#cbd5e1,#64748b)}
.site-dashboard-chart__date{font-weight:800;font-size:13px;color:#334155}
.site-dashboard-chart__meta{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:720px){.site-dashboard-chart{grid-template-columns:repeat(7,72px);overflow-x:auto;padding-bottom:10px}.site-dashboard-chart__bars{height:120px}.site-dashboard-chart__bar{width:14px}}

/* v3.29.76 admin workbench polish and product price form clarity */
.app-shell .topbar{
  background:linear-gradient(90deg,#1677ff 0%,#1268ec 52%,#0f58d2 100%)!important;
  box-shadow:0 10px 24px rgba(15,88,210,.20)!important;
}
.app-shell .topbar .badge,
.app-shell .topbar .btn.soft{
  backdrop-filter:none!important;
  filter:none!important;
  text-shadow:none!important;
  box-shadow:0 1px 2px rgba(15,23,42,.08)!important;
}
.sidebar{
  background:#f8fbff!important;
  color:#172033!important;
  border-right:1px solid #dbe5f4!important;
}
.sidebar-brand{color:#0f172a!important;}
.sidebar-section-title,
.nav-section__title,
.sidebar-nav__group-title{
  color:#52647f!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
}
.sidebar a{
  color:#344258!important;
  font-weight:700!important;
}
.sidebar a.active,
.sidebar a:hover{
  color:#0f58d2!important;
  background:#eaf2ff!important;
  box-shadow:inset 3px 0 0 #1677ff!important;
}
.sidebar-version{background:#eaf2ff!important;color:#0f58d2!important;border:1px solid #cfe0ff!important;}
.reference-price-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.reference-price-grid label{
  display:grid;
  gap:8px;
  margin:0;
}
.reference-price-grid em{
  font-style:normal;
  font-size:13px;
  color:#475569;
  font-weight:800;
}
.reference-price-grid input{width:100%;}
.reference-price-matrix .reference-help{margin-top:8px;}
@media(max-width:900px){.reference-price-grid{grid-template-columns:1fr;}}

/* === v3.29.77 immediate pricing, blue cleanup, order actions and mobile order filters === */
.portal-shell--recording,
.portal-shell--member,
.portal-shell--auth{
  --v32977-blue:#2f75ff;
  --v32977-blue-2:#6aa7ff;
  --v32977-blue-dark:#1d5fd7;
  --v32977-blue-soft:#eef5ff;
  --v32977-blue-soft-2:#f8fbff;
  --v32977-blue-line:#d8e7ff;
  --v32977-surface:#fffefa;
  --v32977-line:#e2e8f0;
  --v32977-text:#17212b;
  --v32977-muted:#5f6f82;
  --portal-green:var(--v32977-blue)!important;
  --portal-green-soft:var(--v32977-blue-soft)!important;
  --portal-main-color:var(--v32977-blue)!important;
  --portal-primary:var(--v32977-blue)!important;
}
/* Sweep remaining old green literal colors on storefront into blue or neutral. */
.portal-shell--recording .portal-top-links--member a.active,
.portal-shell--recording .portal-top-links--member a:hover,
.portal-shell--recording .portal-tree-sidebar__item.active,
.portal-shell--recording .portal-tree-sidebar__item:hover,
.portal-shell--recording .member-panel__nav a.active,
.portal-shell--recording .member-panel__nav a:hover,
.portal-shell--recording .member-v2-nav a.active,
.portal-shell--recording .member-v2-nav a:hover,
.portal-shell--member .member-panel__nav a.active,
.portal-shell--member .member-panel__nav a:hover,
.portal-shell--member .member-v2-nav a.active,
.portal-shell--member .member-v2-nav a:hover,
.portal-shell--recording .portal-order-tabs a.active,
.portal-shell--member .portal-order-tabs a.active,
.portal-shell--recording .portal-orders-reference-tabs--top a.active,
.portal-shell--member .portal-orders-reference-tabs--top a.active{
  color:var(--v32977-blue-dark)!important;
  border-color:var(--v32977-blue)!important;
  background:var(--v32977-blue-soft)!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-order-tabs a.active,
.portal-shell--member .portal-order-tabs a.active,
.portal-shell--recording .portal-orders-reference-tabs--top a.active,
.portal-shell--member .portal-orders-reference-tabs--top a.active{
  background:transparent!important;
  border-bottom-color:var(--v32977-blue)!important;
}
.portal-shell--recording .portal-page-head__eyebrow,
.portal-shell--member .portal-page-head__eyebrow,
.portal-shell--recording .portal-history-toolbar__pill,
.portal-shell--member .portal-history-toolbar__pill,
.portal-shell--recording .portal-history-table__head,
.portal-shell--member .portal-history-table__head,
.portal-shell--recording .portal-order-card__top,
.portal-shell--member .portal-order-card__top,
.portal-shell--recording .portal-order-sheet__meta,
.portal-shell--member .portal-order-sheet__meta,
.portal-shell--recording .portal-favorite-list-card__head,
.portal-shell--member .portal-favorite-list-card__head,
.portal-shell--recording .portal-flash--success,
.portal-shell--member .portal-flash--success{
  background:var(--v32977-blue-soft-2)!important;
  border-color:var(--v32977-line)!important;
  color:var(--v32977-muted)!important;
}
.portal-shell--recording .portal-order-card__top strong,
.portal-shell--member .portal-order-card__top strong,
.portal-shell--recording .portal-order-sheet__meta strong,
.portal-shell--member .portal-order-sheet__meta strong,
.portal-shell--recording .portal-history-table__row a,
.portal-shell--member .portal-history-table__row a,
.portal-shell--recording .portal-copy-link,
.portal-shell--member .portal-copy-link,
.portal-shell--recording .portal-history-param__copy,
.portal-shell--member .portal-history-param__copy{
  color:var(--v32977-blue-dark)!important;
}
.portal-shell--recording .portal-copy-link,
.portal-shell--member .portal-copy-link,
.portal-shell--recording .portal-history-param__copy,
.portal-shell--member .portal-history-param__copy{
  border-color:var(--v32977-blue-line)!important;
  background:#fff!important;
}
.portal-shell--recording .portal-copy-link.is-copied,
.portal-shell--member .portal-copy-link.is-copied{
  background:var(--v32977-blue-soft)!important;
  border-color:var(--v32977-blue)!important;
}
.portal-shell--recording .portal-action-feedback.is-success,
.portal-shell--member .portal-action-feedback.is-success,
.portal-shell--recording .text-down,
.portal-shell--member .text-down,
.portal-shell--recording .action-menu__link.success,
.portal-shell--member .action-menu__link.success{color:var(--v32977-blue-dark)!important;}
/* Date controls: neutral by default, blue only on focus/selected, close to iOS Calendar restraint. */
.portal-shell--recording .portal-orders-date-pair input,
.portal-shell--member .portal-orders-date-pair input,
.portal-shell--recording .portal-date-range__trigger,
.portal-shell--member .portal-date-range__trigger,
.portal-shell--recording input[data-lite-date],
.portal-shell--member input[data-lite-date]{
  background:#fffefa!important;
  border-color:#dfe5ec!important;
  color:#1f2937!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-orders-date-pair input::placeholder,
.portal-shell--member .portal-orders-date-pair input::placeholder,
.portal-shell--recording .portal-date-range__trigger,
.portal-shell--member .portal-date-range__trigger{color:#64748b!important;}
.portal-shell--recording .portal-orders-date-pair input:focus,
.portal-shell--member .portal-orders-date-pair input:focus,
.portal-shell--recording .portal-date-range__trigger:focus,
.portal-shell--member .portal-date-range__trigger:focus,
.portal-shell--recording input[data-lite-date]:focus,
.portal-shell--member input[data-lite-date]:focus{
  border-color:#8db8ff!important;
  box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;
  outline:none!important;
}
.portal-lite-calendar,
.portal-shell--recording .portal-lite-calendar,
.portal-shell--member .portal-lite-calendar{
  background:#fffefa!important;
  border:1px solid #e4e8ef!important;
  color:#1f2937!important;
  box-shadow:0 14px 34px rgba(35,55,87,.08)!important;
}
.portal-lite-calendar__head button,
.portal-lite-calendar__day{
  background:#fffefa!important;
  color:#334155!important;
  box-shadow:none!important;
}
.portal-lite-calendar__head button:hover,
.portal-lite-calendar__day:hover{background:#f8fbff!important;color:var(--v32977-blue-dark)!important;}
.portal-lite-calendar__day.is-selected{background:var(--v32977-blue)!important;color:#fff!important;}
.portal-lite-calendar__day.is-today{box-shadow:inset 0 0 0 1px rgba(47,117,255,.34)!important;}
.portal-lite-calendar__week span{color:#8b97a8!important;}
/* Order action strength hierarchy: repeat > detail > refund. */
.portal-shell--recording .portal-order-btn,
.portal-shell--member .portal-order-btn,
.portal-shell--recording .portal-order-sheet__actions a,
.portal-shell--member .portal-order-sheet__actions a,
.portal-shell--recording .portal-order-sheet__actions button,
.portal-shell--member .portal-order-sheet__actions button{
  background:#f8fbff!important;
  border-color:#dfe7f2!important;
  color:#526173!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-order-btn--detail,
.portal-shell--member .portal-order-btn--detail{
  background:#eef5ff!important;
  border-color:#d8e7ff!important;
  color:#1d5fd7!important;
}
.portal-shell--recording .portal-order-btn--repeat,
.portal-shell--member .portal-order-btn--repeat,
.portal-shell--recording .portal-order-btn--primary,
.portal-shell--member .portal-order-btn--primary{
  background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
  border-color:transparent!important;
  color:#fff!important;
  font-weight:900!important;
}
.portal-shell--recording .portal-order-btn--danger,
.portal-shell--member .portal-order-btn--danger{
  background:#fffefa!important;
  border-color:#ead7d4!important;
  color:#a55d55!important;
  font-weight:780!important;
}
.portal-shell--recording .portal-order-btn--danger:hover,
.portal-shell--member .portal-order-btn--danger:hover{background:#fff7f6!important;color:#b91c1c!important;}
/* Mobile order page: compact parameter search plus funnel drawer. */
.portal-orders-mobile-searchbar{display:none;}
@media (max-width:760px){
  .portal-orders-mobile-searchbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px!important;
    gap:8px!important;
    align-items:center!important;
    padding:0 2px!important;
  }
  .portal-orders-mobile-search{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 54px!important;
    gap:7px!important;
    align-items:center!important;
    min-height:40px!important;
    padding:4px!important;
    border:1px solid #dfe7f2!important;
    border-radius:12px!important;
    background:#fffefa!important;
  }
  .portal-orders-mobile-search input{
    min-width:0!important;
    height:32px!important;
    min-height:32px!important;
    border:0!important;
    background:transparent!important;
    padding:0 7px!important;
    font-size:13px!important;
    color:#17212b!important;
    box-shadow:none!important;
  }
  .portal-orders-mobile-search button{
    height:32px!important;
    min-height:32px!important;
    border:0!important;
    border-radius:9px!important;
    background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:850!important;
    padding:0!important;
  }
  .portal-orders-mobile-filter-toggle{
    width:42px!important;
    height:42px!important;
    border-radius:12px!important;
    border:1px solid #dfe7f2!important;
    background:#fffefa!important;
    color:#526173!important;
    display:grid!important;
    place-items:center!important;
    box-shadow:none!important;
  }
  .portal-orders-mobile-filter-toggle svg{width:20px!important;height:20px!important;display:block!important;}
  .portal-orders-mobile-filter-toggle.is-active{border-color:#8db8ff!important;color:#1d5fd7!important;background:#eef5ff!important;}
  .portal-card--orders-query:not(.is-mobile-open){display:none!important;}
  .portal-card--orders-query.is-mobile-open{
    display:block!important;
    padding:12px!important;
    margin-top:0!important;
    border-radius:14px!important;
    background:#fff!important;
  }
  .portal-orders-query-grid{gap:8px!important;}
  .portal-orders-query-grid label{gap:4px!important;}
  .portal-orders-query-grid label span{font-size:11px!important;color:#64748b!important;font-weight:780!important;}
}

/* v3.29.77: storefront blue cleanup, mobile order filter drawer, and calmer date inputs. */
:root{
  --portal-green:#2f75ff!important;
  --portal-deep-green:#1d5fd7!important;
  --portal-green-soft:#eef5ff!important;
  --portal-mint:#f4f8ff!important;
  --portal-mint-2:#eaf2ff!important;
  --portal-mint-left:#8fb8ff!important;
  --portal-mint-mid:#6aa7ff!important;
  --portal-mint-right:#2f75ff!important;
  --portal-mint-deep:#1d5fd7!important;
  --portal-mint-warm:#f5f8ff!important;
  --portal-32961-mint-weak:#f4f8ff!important;
  --portal-32961-mint-soft:#eaf2ff!important;
  --portal-32961-mint-mid:#8fb8ff!important;
  --portal-32961-green:#2f75ff!important;
  --portal-32961-green-deep:#1d5fd7!important;
  --v32965-green:#2f75ff!important;
  --v32965-green-2:#6aa7ff!important;
  --v32965-green-soft:#eef5ff!important;
  --v32967-accent:#2f75ff!important;
  --v32967-accent-2:#6aa7ff!important;
  --v32967-accent-dark:#1d5fd7!important;
  --v32968-accent:#2f75ff!important;
  --v32968-accent-2:#6aa7ff!important;
  --v32968-accent-dark:#1d5fd7!important;
  --v32969-accent:#2f75ff!important;
  --v32969-accent-2:#6aa7ff!important;
  --v32969-accent-dark:#1d5fd7!important;
}
.portal-shell--recording .portal-copy-link,
.portal-shell--member .portal-copy-link,
.portal-shell--recording .portal-history-param__copy,
.portal-shell--member .portal-history-param__copy{background:#f4f8ff!important;border-color:#dbe7ff!important;color:#2f75ff!important;box-shadow:none!important;}
.portal-shell--recording .portal-history-param__copy:hover,
.portal-shell--member .portal-history-param__copy:hover,
.portal-shell--recording .portal-copy-link:hover,
.portal-shell--member .portal-copy-link:hover{background:#eaf2ff!important;color:#1d5fd7!important;}
.portal-shell--recording .portal-order-card__top,
.portal-shell--member .portal-order-card__top{background:#f7faff!important;color:#526173!important;}
.portal-shell--recording .portal-order-card__top strong,
.portal-shell--member .portal-order-card__top strong{color:#2f75ff!important;}
.portal-shell--recording .portal-order-card__actions a,
.portal-shell--member .portal-order-card__actions a{background:#f4f8ff!important;border-color:#dbe7ff!important;color:#2f75ff!important;}
.portal-shell--recording .portal-order-tabs a.active,
.portal-shell--member .portal-order-tabs a.active{color:#2f75ff!important;border-color:#2f75ff!important;background:transparent!important;}
.portal-shell--recording .portal-order-reference-product-card>span,
.portal-shell--member .portal-order-reference-product-card>span,
.portal-shell--recording .portal-order-sheet__thumb,
.portal-shell--member .portal-order-sheet__thumb{background:#eef5ff!important;color:#2f75ff!important;}
.portal-shell--recording .portal-order-reference-progress--clean strong,
.portal-shell--member .portal-order-reference-progress--clean strong{color:#2f75ff!important;}
.portal-shell--recording .portal-order-reference-kv,
.portal-shell--member .portal-order-reference-kv,
.portal-shell--recording .portal-order-reference-input-row,
.portal-shell--member .portal-order-reference-input-row,
.portal-shell--recording .portal-order-reference-progress--clean,
.portal-shell--member .portal-order-reference-progress--clean,
.portal-shell--recording .portal-order-reference-progress--clean>div,
.portal-shell--member .portal-order-reference-progress--clean>div,
.portal-shell--recording .portal-order-reference-timeline--clean,
.portal-shell--member .portal-order-reference-timeline--clean{background:#fff!important;border-color:#e5eaf1!important;}
.portal-shell--recording .portal-date-range__trigger,
.portal-shell--member .portal-date-range__trigger,
.portal-shell--recording .portal-orders-date-pair input,
.portal-shell--member .portal-orders-date-pair input,
.portal-shell--recording .portal-date-range__inputs input,
.portal-shell--member .portal-date-range__inputs input{background:#fff!important;color:#1f2937!important;border-color:#dfe5ec!important;box-shadow:none!important;}
.portal-shell--recording .portal-date-range__trigger:not(:focus),
.portal-shell--member .portal-date-range__trigger:not(:focus){color:#526173!important;}
.portal-shell--recording .portal-orders-date-pair input::placeholder,
.portal-shell--member .portal-orders-date-pair input::placeholder,
.portal-shell--recording .portal-date-range__inputs input::placeholder,
.portal-shell--member .portal-date-range__inputs input::placeholder{color:#98a2b3!important;}
.portal-shell--recording .portal-orders-date-pair input:focus,
.portal-shell--member .portal-orders-date-pair input:focus,
.portal-shell--recording .portal-date-range__trigger:focus,
.portal-shell--member .portal-date-range__trigger:focus,
.portal-shell--recording .portal-date-range__inputs input:focus,
.portal-shell--member .portal-date-range__inputs input:focus{border-color:#2f75ff!important;box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;background:#fff!important;}
.portal-lite-calendar,
.portal-shell--recording .portal-lite-calendar,
.portal-shell--member .portal-lite-calendar{background:#fff!important;border-color:#e5eaf1!important;box-shadow:0 18px 42px rgba(35,55,87,.12)!important;}
.portal-lite-calendar__head button,
.portal-lite-calendar__day{background:transparent!important;color:#2f3b4a!important;box-shadow:none!important;}
.portal-lite-calendar__week span{color:#7b8794!important;}
.portal-lite-calendar__day:hover{background:#f3f6fb!important;color:#1d5fd7!important;}
.portal-lite-calendar__day.is-today{box-shadow:inset 0 0 0 1px rgba(47,117,255,.35)!important;color:#1d5fd7!important;}
.portal-lite-calendar__day.is-selected{background:#2f75ff!important;color:#fff!important;}
.portal-date-range__quick button{background:#fff!important;color:#526173!important;border-color:#e5eaf1!important;box-shadow:none!important;}
.portal-date-range__quick button:hover{background:#f5f8ff!important;color:#1d5fd7!important;}
.portal-date-range__quick button[data-date-apply]{background:#2f75ff!important;color:#fff!important;border-color:#2f75ff!important;}
.portal-shortcut-grid--order-status a em,
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="refunding"] em,
.portal-shortcut-grid--order-status .portal-shortcut-grid__status[data-order-status-shortcut="failed"] em,
.portal-shortcut-grid__status em,
.portal-tool-badge,
.member-panel__nav em,
.portal-nav-badge,
.sf-count,
.count-badge{background:#e84c4f!important;border-color:rgba(232,76,79,.20)!important;color:#fff!important;box-shadow:0 4px 10px rgba(232,76,79,.12)!important;}
.portal-shortcut-grid--order-status a em:empty,
.portal-shortcut-grid__status em:empty,
.portal-tool-badge:empty,.portal-nav-badge:empty{display:none!important;}
.portal-order-btn--detail{background:#f7f9fc!important;border:1px solid #dfe5ec!important;color:#526173!important;box-shadow:none!important;}
.portal-order-btn--repeat,.portal-repeat-order-btn{background:#2f75ff!important;border:1px solid #2f75ff!important;color:#fff!important;box-shadow:0 8px 18px rgba(47,117,255,.16)!important;}
.portal-order-btn--refund{background:#fff!important;border:1px solid #edf1f5!important;color:#8b96a5!important;box-shadow:none!important;}
.portal-order-btn--refund:hover{border-color:#f2c9c9!important;color:#d14b4b!important;background:#fffafa!important;}
.portal-order-reference-actions--clean .portal-order-btn--refund{width:100%!important;}
.portal-order-reference-actions--clean .portal-order-btn--repeat{width:100%!important;}
.portal-orders-mobile-searchbar{display:none;}
@media(max-width:760px){
  .portal-orders-mobile-searchbar{display:grid!important;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:center;margin:0 0 10px!important;}
  .portal-orders-mobile-search{display:grid!important;grid-template-columns:minmax(0,1fr) 58px;align-items:center;gap:6px;background:#fff;border:1px solid #dfe5ec;border-radius:14px;padding:4px;box-shadow:0 6px 18px rgba(35,55,87,.05);}
  .portal-orders-mobile-search input{height:34px!important;border:0!important;background:transparent!important;padding:0 8px!important;font-size:13px!important;color:#17212b!important;box-shadow:none!important;}
  .portal-orders-mobile-search button{height:34px;border:0;border-radius:10px;background:#2f75ff;color:#fff;font-size:13px;font-weight:850;}
  .portal-orders-mobile-filter-toggle{width:42px;height:42px;border:1px solid #dfe5ec;border-radius:14px;background:#fff;color:#526173;display:grid;place-items:center;box-shadow:0 6px 18px rgba(35,55,87,.05);}
  .portal-orders-mobile-filter-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
  .portal-orders-mobile-filter-toggle.is-active{color:#2f75ff;border-color:#cfe0ff;background:#f5f8ff;}
  .portal-card--orders-query{display:none!important;margin:0 0 10px!important;padding:10px!important;border-radius:14px!important;}
  .portal-card--orders-query.is-mobile-open{display:block!important;}
  .portal-orders-query-grid{grid-template-columns:1fr!important;gap:8px!important;}
  .portal-orders-query-grid label{grid-template-columns:76px minmax(0,1fr)!important;gap:8px!important;font-size:12px!important;}
  .portal-orders-query-grid label span{color:#526173!important;font-weight:750!important;}
  .portal-orders-query-grid input,.portal-orders-query-grid select{min-height:36px!important;border-radius:10px!important;font-size:13px!important;}
  .portal-orders-date-pair{gap:5px!important;}
  .portal-order-tabs--reference{overflow-x:auto;flex-wrap:nowrap!important;gap:18px!important;margin-bottom:10px!important;padding:0 2px 6px!important;-webkit-overflow-scrolling:touch;}
  .portal-order-tabs--reference a{white-space:nowrap!important;padding:8px 2px!important;background:transparent!important;border-radius:0!important;border-bottom:2px solid transparent!important;}
  .portal-order-tabs--reference a.active{border-bottom-color:#2f75ff!important;}
  .portal-order-sheet__meta{gap:4px 8px!important;}
  .portal-order-sheet__meta-external-id{display:none!important;}
}

/* === v3.29.77 final storefront blue pass: remove remaining green residues and tune mobile orders === */
.portal-shell--recording .portal-hero-banner,
.portal-shell--recording .portal-record-card__placeholder,
.portal-shell--recording .portal-order-reference-product-card span,
.portal-shell--recording .portal-order-sheet__thumb,
.portal-shell--member .portal-record-card__placeholder,
.portal-shell--member .portal-order-reference-product-card span,
.portal-shell--member .portal-order-sheet__thumb{
  background:linear-gradient(135deg,#eef5ff,#f8fbff)!important;
  color:#2f75ff!important;
}
.portal-shell--recording .portal-tool-icon,
.portal-shell--recording .portal-user-tool__icon,
.portal-shell--recording .portal-flat-icon,
.portal-shell--recording .portal-search-icon,
.portal-shell--recording .portal-mobile-tabbar span,
.portal-shell--member .portal-tool-icon,
.portal-shell--member .portal-user-tool__icon,
.portal-shell--member .portal-flat-icon,
.portal-shell--member .portal-search-icon,
.portal-shell--member .portal-mobile-tabbar span{
  color:#2f75ff!important;
  background:linear-gradient(135deg,#eef5ff,#f8fbff)!important;
  border-color:#d8e7ff!important;
}
.portal-shell--recording .portal-tool-icon svg,
.portal-shell--recording .portal-user-tool__icon svg,
.portal-shell--member .portal-tool-icon svg,
.portal-shell--member .portal-user-tool__icon svg{stroke:#2f75ff!important;}
.portal-shell--recording .btn.success,
.portal-shell--recording .mini-btn.success,
.portal-shell--recording .quick-chip.success,
.portal-shell--recording .portal-filter-chip.is-active,
.portal-shell--recording .portal-search button,
.portal-shell--recording .portal-mobile-top-search button,
.portal-shell--member .btn.success,
.portal-shell--member .mini-btn.success,
.portal-shell--member .quick-chip.success,
.portal-shell--member .portal-filter-chip.is-active,
.portal-shell--member .portal-search button,
.portal-shell--member .portal-mobile-top-search button{
  background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
  border-color:transparent!important;
  color:#fff!important;
}
.portal-shell--recording .status-pill.ok,
.portal-shell--recording .order-status--completed,
.portal-shell--recording .portal-order-status.order-status--completed,
.portal-shell--recording .portal-history-status.order-status--completed,
.portal-shell--member .status-pill.ok,
.portal-shell--member .order-status--completed,
.portal-shell--member .portal-order-status.order-status--completed,
.portal-shell--member .portal-history-status.order-status--completed{
  background:#eef5ff!important;
  border-color:#cfe0ff!important;
  color:#1668dc!important;
}
.portal-shell--recording .portal-history-table__row .status-text,
.portal-shell--recording .portal-order-reference-table .status-text,
.portal-shell--member .portal-history-table__row .status-text,
.portal-shell--member .portal-order-reference-table .status-text{color:#1668dc!important;}
.portal-shell--recording .portal-nav-badge,
.portal-shell--recording .sf-count,
.portal-shell--recording .count-badge,
.portal-shell--recording .portal-shortcut-grid__status em,
.portal-shell--member .portal-nav-badge,
.portal-shell--member .sf-count,
.portal-shell--member .count-badge,
.portal-shell--member .portal-shortcut-grid__status em{
  background:#ef4444!important;
  color:#fff!important;
  border-color:#fff!important;
  box-shadow:0 2px 6px rgba(239,68,68,.18)!important;
}
.portal-shell--recording .portal-nav-badge.is-empty,
.portal-shell--member .portal-nav-badge.is-empty{display:none!important;}
.portal-shell--recording .portal-product-status,
.portal-shell--recording .product-badge,
.portal-shell--recording .product-badge.soft,
.portal-shell--member .portal-product-status,
.portal-shell--member .product-badge,
.portal-shell--member .product-badge.soft{
  background:#f8fafc!important;
  border-color:#e2e8f0!important;
  color:#475569!important;
}
/* Keep action hierarchy explicit even after generic button rules. */
.portal-shell--recording .portal-order-sheet__actions .portal-order-btn--repeat,
.portal-shell--recording .portal-order-reference-actions .portal-order-btn--repeat,
.portal-shell--recording .portal-repeat-order-btn,
.portal-shell--member .portal-order-sheet__actions .portal-order-btn--repeat,
.portal-shell--member .portal-order-reference-actions .portal-order-btn--repeat,
.portal-shell--member .portal-repeat-order-btn{
  background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 8px 16px rgba(47,117,255,.16)!important;
}
.portal-shell--recording .portal-order-sheet__actions .portal-order-btn--detail,
.portal-shell--member .portal-order-sheet__actions .portal-order-btn--detail{
  background:#eef5ff!important;
  border-color:#d8e7ff!important;
  color:#1d5fd7!important;
}
.portal-shell--recording .portal-order-sheet__actions .portal-order-btn--refund,
.portal-shell--recording .portal-order-reference-actions .portal-order-btn--refund,
.portal-shell--member .portal-order-sheet__actions .portal-order-btn--refund,
.portal-shell--member .portal-order-reference-actions .portal-order-btn--refund{
  background:#fff!important;
  border-color:#e2e8f0!important;
  color:#64748b!important;
}
@media (max-width:760px){
  .portal-shell--orders .portal-header .portal-search,
  .portal-shell--orders .portal-notice-bar,
  .portal-shell--me .portal-header .portal-search,
  .portal-shell--me .portal-notice-bar{display:none!important;}
  .portal-shell--orders .portal-orders-reference-page{gap:10px!important;}
  .portal-shell--orders .portal-orders-reference-tabs--top{padding:2px 0 6px!important;gap:20px!important;overflow-x:auto!important;white-space:nowrap!important;background:transparent!important;border:0!important;}
  .portal-shell--orders .portal-orders-reference-tabs--top a{font-size:13px!important;padding:8px 0!important;border-bottom:2px solid transparent!important;background:transparent!important;}
  .portal-shell--orders .portal-order-tabs--reference{gap:14px!important;overflow-x:auto!important;white-space:nowrap!important;padding-bottom:3px!important;}
  .portal-shell--orders .portal-order-tabs--reference a{font-size:12px!important;padding:7px 0!important;background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;}
  .portal-shell--orders .portal-order-tabs--reference a.active{border-bottom-color:#2f75ff!important;color:#1d5fd7!important;}
}

/* === v3.29.77 final storefront cleanup: no remaining green success/row surfaces, calmer mobile order filter === */
.portal-shell--recording .portal-history-table__row--new,
.portal-shell--member .portal-history-table__row--new,
.portal-shell--recording .portal-history-table__row,
.portal-shell--member .portal-history-table__row{
  background:#fff!important;
  border-color:#e6ebf2!important;
}
.portal-shell--recording .portal-history-table__row--new,
.portal-shell--member .portal-history-table__row--new{
  background:#f8fbff!important;
}
.portal-shell--recording .portal-history-param__popover::after,
.portal-shell--member .portal-history-param__popover::after{
  border-color:#e5eaf1!important;
}
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--completed,
.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--completed,
.portal-shell--recording .portal-order-card__top strong.portal-order-status.order-status--completed,
.portal-shell--member .portal-order-card__top strong.portal-order-status.order-status--completed,
.portal-shell--recording .portal-history-table__row > span.portal-history-status.order-status--completed,
.portal-shell--member .portal-history-table__row > span.portal-history-status.order-status--completed,
.portal-shell--recording .portal-order-status.order-status--completed,
.portal-shell--member .portal-order-status.order-status--completed{
  background:#eef5ff!important;
  border-color:#cfe0ff!important;
  color:#1d5fd7!important;
}
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--refunded,
.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--refunded,
.portal-shell--recording .portal-order-status.order-status--refunded,
.portal-shell--member .portal-order-status.order-status--refunded{
  background:#f5f8ff!important;
  border-color:#dfe7f2!important;
  color:#526173!important;
}
.portal-shell--recording .portal-order-reference-actions--clean .portal-repeat-order-btn,
.portal-shell--member .portal-order-reference-actions--clean .portal-repeat-order-btn,
.portal-shell--recording .portal-order-reference-actions--clean .portal-order-btn--repeat,
.portal-shell--member .portal-order-reference-actions--clean .portal-order-btn--repeat{
  background:#2f75ff!important;
  color:#fff!important;
  border-color:#2f75ff!important;
  box-shadow:0 8px 18px rgba(47,117,255,.16)!important;
}
.portal-shell--recording .portal-order-reference-actions--clean .portal-order-btn--refund,
.portal-shell--member .portal-order-reference-actions--clean .portal-order-btn--refund{
  background:#fff!important;
  color:#8b96a5!important;
  border-color:#edf1f5!important;
  box-shadow:none!important;
}
@media(max-width:760px){
  .portal-shell--orders .portal-orders-reference-tabs--top{display:none!important;}
  .portal-shell--orders .portal-card--orders-query:not(.is-mobile-open){display:none!important;}
  .portal-shell--orders .portal-card--orders-query.is-mobile-open{display:block!important;}
  .portal-shell--orders .portal-orders-reference-page{gap:10px!important;}
}

/* v3.29.77 final: immediate-price storefront polish and mobile order filter cleanup. */
.portal-shell--recording,
.portal-shell--member{
  --portal-blue:#2f75ff!important;
  --portal-blue-dark:#1d5fd7!important;
  --portal-blue-soft:#eef5ff!important;
  --portal-blue-line:#cfe0ff!important;
  --portal-neutral:#526173!important;
}
.portal-shell--recording .portal-page-head__eyebrow,
.portal-shell--member .portal-page-head__eyebrow,
.portal-shell--recording .portal-favorite-list-card__head,
.portal-shell--member .portal-favorite-list-card__head,
.portal-shell--recording .portal-history-table__row,
.portal-shell--member .portal-history-table__row,
.portal-shell--recording .portal-history-table__row:nth-child(even),
.portal-shell--member .portal-history-table__row:nth-child(even),
.portal-shell--recording .portal-order-reference-table tr,
.portal-shell--member .portal-order-reference-table tr,
.portal-shell--recording .portal-recent-order-card__head,
.portal-shell--member .portal-recent-order-card__head,
.portal-shell--recording .portal-order-sheet__meta,
.portal-shell--member .portal-order-sheet__meta{
  background:#f7faff!important;
  color:#526173!important;
  border-color:#e5eaf1!important;
}
.portal-shell--recording .portal-order-sheet__thumb,
.portal-shell--member .portal-order-sheet__thumb,
.portal-shell--recording .portal-record-card__thumb,
.portal-shell--member .portal-record-card__thumb,
.portal-shell--recording .portal-order-reference-product-card>span,
.portal-shell--member .portal-order-reference-product-card>span,
.portal-shell--recording .portal-product-thumb--default,
.portal-shell--member .portal-product-thumb--default{
  background:#eef5ff!important;
  color:#2f75ff!important;
}
.portal-shell--recording .order-status--completed,
.portal-shell--member .order-status--completed,
.portal-shell--recording .status-pill.ok,
.portal-shell--member .status-pill.ok{
  background:#eef5ff!important;
  border-color:#cfe0ff!important;
  color:#1d5fd7!important;
}
.portal-shell--recording .portal-lite-calendar__day,
.portal-shell--member .portal-lite-calendar__day,
.portal-lite-calendar__day{
  background:#fff!important;
  color:#2f3b4a!important;
  box-shadow:none!important;
}
.portal-lite-calendar__day:hover{background:#f3f6fb!important;color:#1d5fd7!important;}
.portal-lite-calendar__day.is-today{background:#fff!important;color:#1d5fd7!important;box-shadow:inset 0 0 0 1px rgba(47,117,255,.35)!important;}
.portal-lite-calendar__day.is-selected{background:#2f75ff!important;color:#fff!important;box-shadow:none!important;}
.portal-lite-calendar__head button{background:#fff!important;color:#2f3b4a!important;border:1px solid #e5eaf1!important;box-shadow:none!important;}
.portal-lite-calendar__head button:hover{background:#f3f6fb!important;color:#1d5fd7!important;}
.portal-shell--recording .portal-date-range__trigger:not(:focus),
.portal-shell--recording .portal-date-range__inputs input:not(:focus),
.portal-shell--recording .portal-orders-date-pair input:not(:focus),
.portal-shell--member .portal-date-range__trigger:not(:focus),
.portal-shell--member .portal-date-range__inputs input:not(:focus),
.portal-shell--member .portal-orders-date-pair input:not(:focus){
  background:#fffefa!important;
  color:#2f3b4a!important;
  border-color:#dfe5ec!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-order-btn.portal-order-btn--detail,
.portal-shell--member .portal-order-btn.portal-order-btn--detail,
.portal-shell--recording .portal-order-sheet__actions a.portal-order-btn--detail,
.portal-shell--member .portal-order-sheet__actions a.portal-order-btn--detail{
  background:#f7f9fc!important;
  border-color:#dfe5ec!important;
  color:#526173!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-order-btn.portal-order-btn--repeat,
.portal-shell--member .portal-order-btn.portal-order-btn--repeat,
.portal-shell--recording .portal-order-sheet__actions a.portal-order-btn--repeat,
.portal-shell--member .portal-order-sheet__actions a.portal-order-btn--repeat,
.portal-shell--recording .portal-repeat-order-btn,
.portal-shell--member .portal-repeat-order-btn{
  background:#2f75ff!important;
  border-color:#2f75ff!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(47,117,255,.16)!important;
}
.portal-shell--recording .portal-order-btn.portal-order-btn--refund,
.portal-shell--member .portal-order-btn.portal-order-btn--refund,
.portal-shell--recording .portal-order-sheet__actions .portal-order-btn--refund,
.portal-shell--member .portal-order-sheet__actions .portal-order-btn--refund{
  background:#fff!important;
  border-color:#edf1f5!important;
  color:#8b96a5!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-order-btn.portal-order-btn--refund:hover,
.portal-shell--member .portal-order-btn.portal-order-btn--refund:hover{border-color:#f3caca!important;color:#c24141!important;background:#fffafa!important;}
.portal-shortcut-grid--order-status a em,
.portal-shortcut-grid__status em,
.portal-tool-badge,.portal-nav-badge,.sf-count,.count-badge{
  background:#e84c4f!important;color:#fff!important;border-color:rgba(232,76,79,.2)!important;box-shadow:0 2px 6px rgba(232,76,79,.12)!important;
}
.portal-shortcut-grid--order-status a em:empty,.portal-shortcut-grid__status em:empty,.portal-tool-badge:empty,.portal-nav-badge:empty,.sf-count:empty,.count-badge:empty{display:none!important;}
@media (max-width:760px){
  .portal-orders-mobile-searchbar{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:8px!important;margin:0 0 10px!important;}
  .portal-orders-mobile-search{display:grid!important;grid-template-columns:minmax(0,1fr) 56px!important;gap:6px!important;align-items:center!important;background:#fff!important;border:1px solid #dfe5ec!important;border-radius:14px!important;padding:4px!important;box-shadow:0 6px 18px rgba(35,55,87,.05)!important;}
  .portal-orders-mobile-search input{height:34px!important;min-height:34px!important;border:0!important;background:transparent!important;padding:0 8px!important;font-size:13px!important;color:#17212b!important;box-shadow:none!important;}
  .portal-orders-mobile-search button{height:34px!important;min-height:34px!important;border:0!important;border-radius:10px!important;background:#2f75ff!important;color:#fff!important;font-size:12px!important;font-weight:850!important;}
  .portal-orders-mobile-filter-toggle{width:42px!important;height:42px!important;border:1px solid #dfe5ec!important;border-radius:14px!important;background:#fff!important;color:#526173!important;display:grid!important;place-items:center!important;box-shadow:0 6px 18px rgba(35,55,87,.05)!important;}
  .portal-orders-mobile-filter-toggle svg{width:21px!important;height:21px!important;display:block!important;}
  .portal-card--orders-query:not(.is-mobile-open){display:none!important;}
  .portal-card--orders-query.is-mobile-open{display:block!important;padding:10px!important;margin:0 0 10px!important;border-radius:14px!important;background:#fff!important;border-color:#e5eaf1!important;}
  .portal-orders-query-grid{grid-template-columns:1fr!important;gap:8px!important;}
  .portal-orders-query-grid label{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;}
  .portal-orders-query-grid label span{font-size:12px!important;color:#526173!important;font-weight:780!important;}
  .portal-orders-query-grid input,.portal-orders-query-grid select{min-height:36px!important;border-radius:10px!important;font-size:13px!important;background:#fffefa!important;color:#17212b!important;}
  .portal-order-sheet__meta-external-id{display:none!important;}
  .portal-order-sheet__meta-order-no{max-width:100%!important;}
}

/* v3.29.77 addendum: override remaining hard-coded mint/green storefront surfaces with blue-neutral surfaces. */
.portal-shell--recording .portal-hero-banner,
.portal-shell--recording .portal-hero-banner--image,
.portal-shell--recording .portal-hero-banner--polished,
.portal-shell--recording .portal-banner-card,
.portal-shell--recording .portal-inline-notice,
.portal-shell--recording .portal-product-block,
.portal-shell--recording .portal-filter-board,
.portal-shell--member .portal-hero-banner,
.portal-shell--member .portal-inline-notice{background:linear-gradient(135deg,#fff 0%,#f6f9ff 58%,#eef5ff 100%)!important;border-color:#e5eaf1!important;}
.portal-shell--recording .portal-hero-banner::before,
.portal-shell--recording .portal-hero-banner::after,
.portal-shell--recording .portal-banner-card::before,
.portal-shell--recording .portal-banner-card::after{background:radial-gradient(circle,rgba(106,167,255,.14),transparent 64%)!important;}
.portal-shell--recording .portal-hero-cta,
.portal-shell--recording .portal-search button,
.portal-shell--recording .portal-mobile-top-search button,
.portal-shell--recording .portal-filter-form button,
.portal-shell--recording .profile-recording-form button{background:#2f75ff!important;border-color:#2f75ff!important;color:#fff!important;box-shadow:0 8px 18px rgba(47,117,255,.14)!important;}
.portal-shell--recording .portal-param-open-link{background:#f4f8ff!important;color:#2f75ff!important;border-color:#dbe7ff!important;}
.portal-shell--recording .portal-order-sheet__param-line,
.portal-shell--member .portal-order-sheet__param-line{background:transparent!important;border:0!important;padding:2px 0!important;border-radius:0!important;}
@media(max-width:760px){
  .portal-home-top-row .portal-hero-banner,.portal-home-top-row .portal-hero-banner--image,.portal-hero-banner.portal-hero-banner--polished{background:linear-gradient(135deg,#fff 0%,#f7faff 58%,#edf4ff 100%)!important;}
  .portal-mobile-hero-search{display:none!important;} /* 3.29.72+ keeps search outside banner; do not overlap banner. */
}

/* === v3.29.77 final polish: immediate-price UI, mobile order filter, blue cleanup === */
.portal-shell--recording .portal-flash--success,
.portal-shell--member .portal-flash--success,
.portal-shell--auth .portal-flash--success{
  background:#eef5ff!important;
  border-color:#cfe0ff!important;
  color:#1d5fd7!important;
}
.portal-shell--recording .portal-page-head__eyebrow,
.portal-shell--member .portal-page-head__eyebrow,
.portal-shell--recording .product-badge,
.portal-shell--member .product-badge,
.portal-shell--recording .product-tag,
.portal-shell--member .product-tag,
.portal-shell--recording .message-status.read,
.portal-shell--member .message-status.read,
.portal-shell--recording .text-down,
.portal-shell--member .text-down{
  color:#475569!important;
  background:#f8fafc!important;
  border-color:#e5eaf1!important;
}
.portal-shell--recording .portal-detail-shell__line,
.portal-shell--member .portal-detail-shell__line,
.portal-shell--recording .portal-detail-shell__line--soft,
.portal-shell--member .portal-detail-shell__line--soft,
.portal-shell--recording .rich-text-block,
.portal-shell--member .rich-text-block,
.portal-shell--recording .portal-card__body,
.portal-shell--member .portal-card__body{
  color:#44515f!important;
}
.portal-shell--recording .portal-history-toolbar__pill,
.portal-shell--member .portal-history-toolbar__pill{
  background:#f8fafc!important;
  color:#475569!important;
  border-color:#e5eaf1!important;
}
.portal-shell--recording .portal-order-reference-titlebar,
.portal-shell--member .portal-order-reference-titlebar,
.portal-shell--recording .portal-order-reference-section-title,
.portal-shell--member .portal-order-reference-section-title{
  background:#f8fbff!important;
  border-color:#e5eaf1!important;
  color:#1f2937!important;
}
.portal-shell--recording .portal-order-reference-log__dot,
.portal-shell--member .portal-order-reference-log__dot{
  background:#2f75ff!important;
  box-shadow:0 0 0 4px #eef5ff!important;
}
.portal-shell--recording .portal-order-reference-log__head strong,
.portal-shell--member .portal-order-reference-log__head strong{color:#17212b!important;}
.portal-shell--recording .portal-order-reference-log__head time,
.portal-shell--member .portal-order-reference-log__head time,
.portal-shell--recording .portal-order-reference-log__body small,
.portal-shell--member .portal-order-reference-log__body small{color:#64748b!important;}
/* Date filter default = neutral; only focus/selected is blue. */
.portal-shell--recording .portal-date-range__trigger,
.portal-shell--member .portal-date-range__trigger,
.portal-shell--recording .portal-orders-date-pair input,
.portal-shell--member .portal-orders-date-pair input,
.portal-shell--recording input[data-lite-date],
.portal-shell--member input[data-lite-date]{
  background:#fff!important;
  color:#1f2937!important;
  border-color:#dfe5ec!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-date-range__icon,
.portal-shell--member .portal-date-range__icon{color:#8b97a8!important;filter:grayscale(1)!important;}
.portal-lite-calendar__head strong{color:#17212b!important;}
.portal-lite-calendar__head button{color:#526173!important;background:#f8fafc!important;border:1px solid #edf1f5!important;}
.portal-lite-calendar__day{background:transparent!important;color:#2f3b4a!important;}
.portal-lite-calendar__day:hover{background:#f3f6fb!important;color:#1d5fd7!important;}
.portal-lite-calendar__day.is-selected{background:#2f75ff!important;color:#fff!important;}
/* Action strength: 再次下单最明显，订单详情次之，申请退款最弱。 */
.portal-order-sheet__actions .portal-order-btn--detail,
.portal-order-reference-actions .portal-order-btn--detail{
  background:#f4f8ff!important;
  border-color:#dbe7ff!important;
  color:#1d5fd7!important;
}
.portal-order-sheet__actions .portal-order-btn--repeat,
.portal-order-reference-actions .portal-order-btn--repeat,
.portal-repeat-order-btn{
  background:linear-gradient(90deg,#6faaff,#2f75ff)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(47,117,255,.16)!important;
}
.portal-order-sheet__actions .portal-order-btn--refund,
.portal-order-reference-actions .portal-order-btn--refund{
  background:#fff!important;
  border-color:#e8edf3!important;
  color:#7b8794!important;
  box-shadow:none!important;
}
.portal-order-sheet__actions .portal-order-btn--refund:hover,
.portal-order-reference-actions .portal-order-btn--refund:hover{color:#c2410c!important;border-color:#fed7aa!important;background:#fffaf5!important;}
/* Mobile orders: search by order params + funnel opens a compact bottom sheet; no blurry ID fields in the first screen. */
@media(max-width:760px){
  .portal-shell--orders .portal-card--orders-query{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    display:block!important;
    transform:translateY(110%)!important;
    transition:transform .18s ease!important;
    z-index:80!important;
    max-height:78vh!important;
    overflow:auto!important;
    margin:0!important;
    padding:16px!important;
    border-radius:18px 18px 0 0!important;
    border:1px solid #e5eaf1!important;
    background:#fff!important;
    box-shadow:0 -18px 42px rgba(15,23,42,.18)!important;
  }
  .portal-shell--orders .portal-card--orders-query.is-mobile-open{transform:translateY(0)!important;}
  .portal-shell--orders .portal-card--orders-query::before{
    content:"订单筛选";
    display:block;
    font-size:16px;
    font-weight:900;
    color:#17212b;
    margin:0 0 12px;
  }
  .portal-shell--orders .portal-orders-mobile-searchbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 44px!important;
    gap:8px!important;
    align-items:center!important;
    margin:0 0 10px!important;
  }
  .portal-shell--orders .portal-orders-mobile-search{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 58px!important;
    gap:6px!important;
    align-items:center!important;
    min-width:0!important;
    padding:4px!important;
    border:1px solid #dfe5ec!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 6px 18px rgba(35,55,87,.05)!important;
  }
  .portal-shell--orders .portal-orders-mobile-search input{height:34px!important;min-height:34px!important;border:0!important;background:transparent!important;padding:0 8px!important;color:#17212b!important;box-shadow:none!important;}
  .portal-shell--orders .portal-orders-mobile-search button{height:34px!important;border:0!important;border-radius:10px!important;background:#2f75ff!important;color:#fff!important;font-weight:850!important;}
  .portal-shell--orders .portal-orders-mobile-filter-toggle{width:44px!important;height:44px!important;border:1px solid #dfe5ec!important;border-radius:14px!important;background:#fff!important;color:#526173!important;box-shadow:0 6px 18px rgba(35,55,87,.05)!important;}
  .portal-shell--orders .portal-orders-mobile-filter-toggle.is-active{color:#2f75ff!important;border-color:#cfe0ff!important;background:#f5f8ff!important;}
  .portal-shell--orders .portal-orders-mobile-filter-toggle.is-active::after{content:"";position:absolute;width:7px;height:7px;border-radius:99px;background:#ef4444;margin-left:24px;margin-top:-24px;}
  .portal-shell--orders .portal-orders-query-grid label{grid-template-columns:72px minmax(0,1fr)!important;}
  .portal-shell--orders .portal-order-sheet__meta-external-id,
  .portal-shell--orders .portal-order-sheet__meta-order-no{font-size:11px!important;color:#7b8794!important;}
}

/* === v3.29.77 final storefront sync, neutral date picker, blue cleanup and mobile order filter === */
:root{
  --v32977-blue:#2f75ff;
  --v32977-blue-weak:#f4f8ff;
  --v32977-blue-soft:#eef5ff;
  --v32977-blue-line:#d8e7ff;
  --v32977-blue-deep:#1d5fd7;
  --v32977-text:#17212b;
  --v32977-muted:#667085;
  --v32977-line:#e4e9f1;
  --v32977-surface:#fffefa;
  --v32977-danger-muted:#8a5a56;
}
/* Remove the last visible green accents in storefront; keep danger/refund red/orange semantics. */
.portal-shell--recording,
.portal-shell--member,
.portal-shell--auth{
  --portal-green:var(--v32977-blue)!important;
  --portal-deep-green:var(--v32977-blue-deep)!important;
  --portal-mint:var(--v32977-blue-soft)!important;
  --portal-mint-2:var(--v32977-blue-weak)!important;
  --portal-mint-left:#8db8ff!important;
  --portal-mint-mid:#6aa7ff!important;
  --portal-mint-right:var(--v32977-blue)!important;
  --portal-mint-deep:var(--v32977-blue-deep)!important;
}
.portal-shell--recording .portal-tool-icon,
.portal-shell--member .portal-tool-icon,
.portal-shell--recording .portal-shortcut-grid__icon,
.portal-shell--member .portal-shortcut-grid__icon,
.portal-shell--recording .portal-copy-link,
.portal-shell--member .portal-copy-link,
.portal-shell--recording .portal-inline-action,
.portal-shell--member .portal-inline-action,
.portal-shell--recording .portal-search button,
.portal-shell--member .portal-search button,
.portal-shell--recording .portal-query-btn,
.portal-shell--member .portal-query-btn{
  color:var(--v32977-blue-deep)!important;
  background:var(--v32977-blue-soft)!important;
  border-color:var(--v32977-blue-line)!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-search button,
.portal-shell--member .portal-search button,
.portal-shell--recording .portal-query-btn,
.portal-shell--member .portal-query-btn,
.portal-shell--recording .portal-hero-cta,
.portal-shell--member .portal-hero-cta{
  background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
  color:#fff!important;
  border-color:transparent!important;
}
.portal-shell--recording .status-pill.ok,
.portal-shell--member .status-pill.ok,
.portal-shell--recording .order-status--completed,
.portal-shell--member .order-status--completed,
.portal-shell--recording .portal-order-status.order-status--completed,
.portal-shell--member .portal-order-status.order-status--completed,
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--completed,
.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--completed,
.portal-shell--recording .portal-history-status.order-status--completed,
.portal-shell--member .portal-history-status.order-status--completed,
.portal-shell--recording .quick-chip.order-status--completed,
.portal-shell--member .quick-chip.order-status--completed,
.portal-shell--recording .message-status.read,
.portal-shell--member .message-status.read{
  background:var(--v32977-blue-soft)!important;
  border-color:var(--v32977-blue-line)!important;
  color:var(--v32977-blue-deep)!important;
}
.portal-shell--recording .portal-order-sheet__meta,
.portal-shell--member .portal-order-sheet__meta,
.portal-shell--recording .portal-recent-order__head,
.portal-shell--member .portal-recent-order__head,
.portal-shell--recording .portal-history-table__row,
.portal-shell--member .portal-history-table__row{
  background:#f8fbff!important;
  border-color:var(--v32977-line)!important;
}
/* Neutral date filters: default is black/gray; blue appears only on focus/hover/selected. */
.portal-shell--recording .portal-date-range__trigger,
.portal-shell--member .portal-date-range__trigger,
.portal-shell--recording .portal-date-range__inputs input,
.portal-shell--member .portal-date-range__inputs input,
.portal-shell--recording input[data-lite-date],
.portal-shell--member input[data-lite-date],
.portal-shell--recording .portal-orders-query-grid input,
.portal-shell--member .portal-orders-query-grid input,
.portal-shell--recording .portal-orders-query-grid select,
.portal-shell--member .portal-orders-query-grid select{
  color:var(--v32977-text)!important;
  background:var(--v32977-surface)!important;
  border-color:#dfe5ec!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-date-range__trigger span,
.portal-shell--member .portal-date-range__trigger span,
.portal-shell--recording .portal-date-range__icon,
.portal-shell--member .portal-date-range__icon{color:#64748b!important;opacity:1!important;filter:none!important;}
.portal-shell--recording .portal-date-range__trigger:focus,
.portal-shell--member .portal-date-range__trigger:focus,
.portal-shell--recording .portal-date-range__inputs input:focus,
.portal-shell--member .portal-date-range__inputs input:focus,
.portal-shell--recording input[data-lite-date]:focus,
.portal-shell--member input[data-lite-date]:focus,
.portal-shell--recording .portal-orders-query-grid input:focus,
.portal-shell--member .portal-orders-query-grid input:focus,
.portal-shell--recording .portal-orders-query-grid select:focus,
.portal-shell--member .portal-orders-query-grid select:focus{
  border-color:#8db8ff!important;
  box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;
  outline:none!important;
}
.portal-lite-calendar,
.portal-shell--recording .portal-lite-calendar,
.portal-shell--member .portal-lite-calendar,
.portal-shell--recording .portal-date-range__panel,
.portal-shell--member .portal-date-range__panel{
  background:var(--v32977-surface)!important;
  border-color:var(--v32977-line)!important;
  box-shadow:0 14px 34px rgba(35,55,87,.08)!important;
}
.portal-lite-calendar__head strong{color:var(--v32977-text)!important;font-weight:900!important;}
.portal-lite-calendar__head button,
.portal-lite-calendar__nav,
.portal-date-range__quick button{
  background:#f8fbff!important;
  border:1px solid #edf1f6!important;
  color:#475569!important;
  box-shadow:none!important;
}
.portal-lite-calendar__head button:hover,
.portal-date-range__quick button:hover{
  background:var(--v32977-blue-soft)!important;
  border-color:var(--v32977-blue-line)!important;
  color:var(--v32977-blue-deep)!important;
}
.portal-lite-calendar__week span{color:#7b8797!important;font-weight:850!important;}
.portal-lite-calendar__day{
  background:#f8fbff!important;
  color:#334155!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
}
.portal-lite-calendar__day:hover{background:var(--v32977-blue-soft)!important;color:var(--v32977-blue-deep)!important;border-color:var(--v32977-blue-line)!important;}
.portal-lite-calendar__day.is-today{background:#fff!important;color:var(--v32977-blue-deep)!important;border-color:#9fc1ff!important;box-shadow:none!important;}
.portal-lite-calendar__day.is-selected{background:var(--v32977-blue)!important;color:#fff!important;border-color:var(--v32977-blue)!important;}
.portal-date-range__quick button[data-date-apply]{background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;color:#fff!important;border-color:transparent!important;}
/* Order action hierarchy: repeat is prominent, detail is secondary, refund is least prominent. */
.portal-shell--recording .portal-order-btn,
.portal-shell--member .portal-order-btn{box-shadow:none!important;text-shadow:none!important;}
.portal-shell--recording .portal-order-btn--detail,
.portal-shell--member .portal-order-btn--detail{
  background:#f4f8ff!important;
  border-color:#d8e7ff!important;
  color:#1d5fd7!important;
  font-weight:820!important;
}
.portal-shell--recording .portal-order-btn--repeat,
.portal-shell--member .portal-order-btn--repeat,
.portal-shell--recording .portal-repeat-order-btn,
.portal-shell--member .portal-repeat-order-btn{
  background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
  border-color:transparent!important;
  color:#fff!important;
  font-weight:920!important;
}
.portal-shell--recording .portal-order-btn--refund,
.portal-shell--member .portal-order-btn--refund,
.portal-shell--recording .portal-order-btn--danger,
.portal-shell--member .portal-order-btn--danger{
  background:#fffefa!important;
  border-color:#e7d9d7!important;
  color:var(--v32977-danger-muted)!important;
  font-weight:760!important;
}
.portal-shell--recording .portal-order-btn--refund:hover,
.portal-shell--member .portal-order-btn--refund:hover{background:#fff7f6!important;color:#b42318!important;border-color:#f3c7c1!important;}
/* Mobile order page: hide the large filter by default and use compact parameter search + funnel. */
.portal-orders-mobile-searchbar{display:none;}
@media(max-width:760px){
  .portal-orders-reference-page{gap:10px!important;}
  .portal-orders-mobile-searchbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px!important;
    gap:8px!important;
    align-items:center!important;
    padding:0!important;
  }
  .portal-orders-mobile-search{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 52px!important;
    align-items:center!important;
    gap:6px!important;
    height:42px!important;
    border:1px solid #dfe7f2!important;
    border-radius:13px!important;
    background:#fff!important;
    padding:4px!important;
  }
  .portal-orders-mobile-search input{
    height:32px!important;
    min-height:32px!important;
    border:0!important;
    background:transparent!important;
    color:var(--v32977-text)!important;
    padding:0 7px!important;
    font-size:13px!important;
    box-shadow:none!important;
  }
  .portal-orders-mobile-search input::placeholder{color:#98a2b3!important;}
  .portal-orders-mobile-search button{
    height:32px!important;
    min-height:32px!important;
    border-radius:9px!important;
    border:0!important;
    background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:900!important;
    padding:0!important;
  }
  .portal-orders-mobile-filter-toggle{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
    border:1px solid #dfe7f2!important;
    background:#fff!important;
    color:#475569!important;
    display:grid!important;
    place-items:center!important;
    box-shadow:none!important;
  }
  .portal-orders-mobile-filter-toggle.is-active{background:var(--v32977-blue-soft)!important;border-color:var(--v32977-blue-line)!important;color:var(--v32977-blue-deep)!important;}
  .portal-orders-mobile-filter-toggle svg{width:20px!important;height:20px!important;display:block!important;}
  .portal-card--orders-query:not(.is-mobile-open){display:none!important;}
  .portal-card--orders-query.is-mobile-open{
    display:block!important;
    padding:12px!important;
    margin:0!important;
    border-radius:14px!important;
    background:#fff!important;
    border-color:#e4e9f1!important;
    box-shadow:0 10px 22px rgba(35,55,87,.045)!important;
  }
  .portal-card--orders-query.is-mobile-open .portal-orders-query-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .portal-card--orders-query.is-mobile-open .portal-orders-query-grid label{grid-template-columns:1fr!important;gap:4px!important;}
  .portal-card--orders-query.is-mobile-open .portal-orders-query-grid label span{font-size:11px!important;color:#64748b!important;font-weight:780!important;}
  .portal-card--orders-query.is-mobile-open .portal-orders-query-grid label:nth-of-type(4),
  .portal-card--orders-query.is-mobile-open .portal-orders-query-grid label:nth-of-type(6){grid-column:1 / -1!important;}
  .portal-card--orders-query.is-mobile-open .portal-orders-query-grid input,
  .portal-card--orders-query.is-mobile-open .portal-orders-query-grid select{min-height:34px!important;height:34px!important;border-radius:9px!important;font-size:12px!important;padding:5px 8px!important;background:#fff!important;}
  .portal-card--orders-query.is-mobile-open .portal-orders-query-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:2px!important;}
  .portal-card--orders-query.is-mobile-open .portal-orders-query-actions .btn,
  .portal-card--orders-query.is-mobile-open .portal-orders-query-actions button{min-height:36px!important;border-radius:10px!important;font-size:12px!important;}
}

/* v3.29.77 final override: date picker defaults are neutral; blue appears on focus/selection only. */
.portal-lite-calendar__day,
.portal-shell--recording .portal-lite-calendar__day,
.portal-shell--member .portal-lite-calendar__day{
  background:#fff!important;
  color:#334155!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
}
.portal-lite-calendar__day:hover{background:#f3f6fb!important;color:#1d5fd7!important;border-color:#d8e7ff!important;}
.portal-lite-calendar__day.is-today{background:#fff!important;color:#334155!important;border-color:#b8cdf8!important;box-shadow:none!important;}
.portal-lite-calendar__day.is-selected{background:#2f75ff!important;color:#fff!important;border-color:#2f75ff!important;}
.portal-lite-calendar__head button{background:#fff!important;color:#475569!important;border-color:#e5eaf1!important;box-shadow:none!important;}
.portal-lite-calendar__head button:hover{background:#f3f6fb!important;color:#1d5fd7!important;}

/* === v3.29.77 freshness, blue cleanup, date neutrality, mobile order filters === */
:root{
  --v32977-blue:#2f75ff;
  --v32977-blue-2:#4f86ff;
  --v32977-blue-dark:#1f5fd9;
  --v32977-blue-soft:#eef5ff;
  --v32977-blue-softer:#f8fbff;
  --v32977-line:#e2e9f2;
  --v32977-surface:#fffefa;
  --v32977-text:#17212b;
  --v32977-muted:#667485;
  --v32977-red:#ef4444;
  --v32977-refund:#6b7280;
}

/* High-priority sweep: remaining storefront greens become blue or neutral. */
.portal-shell--recording .portal-page-head__eyebrow,
.portal-shell--member .portal-page-head__eyebrow,
.portal-shell--recording .portal-history-toolbar__pill,
.portal-shell--member .portal-history-toolbar__pill,
.portal-shell--recording .portal-detail-hint,
.portal-shell--member .portal-detail-hint,
.portal-shell--recording .portal-inline-note,
.portal-shell--member .portal-inline-note,
.portal-shell--recording .portal-order-card__top,
.portal-shell--member .portal-order-card__top,
.portal-shell--recording .portal-order-sheet__meta,
.portal-shell--member .portal-order-sheet__meta,
.portal-shell--recording .portal-favorite-list-card__head,
.portal-shell--member .portal-favorite-list-card__head{
  background:var(--v32977-blue-softer)!important;
  border-color:var(--v32977-line)!important;
  color:var(--v32977-muted)!important;
}
.portal-shell--recording .portal-page-head__eyebrow,
.portal-shell--member .portal-page-head__eyebrow{
  color:var(--v32977-blue-dark)!important;
  background:var(--v32977-blue-soft)!important;
}
.portal-shell--recording .status-pill.ok,
.portal-shell--member .status-pill.ok,
.portal-shell--recording .order-status--completed,
.portal-shell--member .order-status--completed,
.portal-shell--recording .portal-order-status.order-status--completed,
.portal-shell--member .portal-order-status.order-status--completed,
.portal-shell--recording .quick-chip.success,
.portal-shell--member .quick-chip.success{
  color:var(--v32977-blue-dark)!important;
  background:var(--v32977-blue-soft)!important;
  border-color:#cfe0ff!important;
}
.portal-shell--recording .portal-order-card__top strong,
.portal-shell--member .portal-order-card__top strong{color:var(--v32977-blue-dark)!important;}
.portal-shell--recording .portal-detail-shell__line,
.portal-shell--member .portal-detail-shell__line,
.portal-shell--recording .portal-detail-shell__line strong,
.portal-shell--member .portal-detail-shell__line strong{color:#3f4d5d!important;}

/* Date filter inputs: neutral by default like mainstream calendar fields; blue only on interaction/selection. */
.portal-shell--recording .portal-orders-date-pair,
.portal-shell--member .portal-orders-date-pair,
.portal-shell--recording .portal-date-range__trigger,
.portal-shell--member .portal-date-range__trigger,
.portal-shell--recording .portal-history-filterbar input,
.portal-shell--recording .portal-history-filterbar select,
.portal-shell--member .portal-history-filterbar input,
.portal-shell--member .portal-history-filterbar select,
.portal-shell--recording .portal-orders-query-grid input,
.portal-shell--recording .portal-orders-query-grid select,
.portal-shell--member .portal-orders-query-grid input,
.portal-shell--member .portal-orders-query-grid select{
  background:var(--v32977-surface)!important;
  border:1px solid #dfe6ee!important;
  color:var(--v32977-text)!important;
  box-shadow:none!important;
}
.portal-shell--recording .portal-orders-date-pair:focus-within,
.portal-shell--member .portal-orders-date-pair:focus-within,
.portal-shell--recording .portal-date-range__trigger:focus,
.portal-shell--member .portal-date-range__trigger:focus,
.portal-shell--recording .portal-history-filterbar input:focus,
.portal-shell--recording .portal-history-filterbar select:focus,
.portal-shell--member .portal-history-filterbar input:focus,
.portal-shell--member .portal-history-filterbar select:focus,
.portal-shell--recording .portal-orders-query-grid input:focus,
.portal-shell--recording .portal-orders-query-grid select:focus,
.portal-shell--member .portal-orders-query-grid input:focus,
.portal-shell--member .portal-orders-query-grid select:focus{
  border-color:#8db8ff!important;
  box-shadow:0 0 0 3px rgba(47,117,255,.10)!important;
  outline:none!important;
}
.portal-lite-calendar,
.portal-date-range__panel{
  background:var(--v32977-surface)!important;
  border-color:var(--v32977-line)!important;
  box-shadow:0 18px 42px rgba(31,47,70,.12)!important;
}
.portal-lite-calendar__head strong,
.portal-lite-calendar__week span{color:#344258!important;}
.portal-lite-calendar__head button,
.portal-lite-calendar__nav{
  background:#f7f9fc!important;
  color:#3f4d5d!important;
  border-color:#eef2f7!important;
}
.portal-lite-calendar__day{
  background:#f8fafc!important;
  color:#344258!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.portal-lite-calendar__day:hover{background:#eef5ff!important;color:var(--v32977-blue-dark)!important;}
.portal-lite-calendar__day.is-today{background:#fff!important;color:var(--v32977-blue-dark)!important;box-shadow:inset 0 0 0 1px #a9c8ff!important;}
.portal-lite-calendar__day.is-selected{background:var(--v32977-blue)!important;color:#fff!important;box-shadow:none!important;}
.portal-date-range__quick button{background:#f7f9fc!important;border-color:#dfe6ee!important;color:#344258!important;}
.portal-date-range__quick button[data-date-apply]{background:var(--v32977-blue)!important;border-color:var(--v32977-blue)!important;color:#fff!important;}

/* Order action hierarchy: repeat is strongest, detail is secondary, refund is quiet. */
.portal-shell--recording .portal-order-btn,
.portal-shell--member .portal-order-btn,
.portal-shell--recording .portal-order-sheet__actions a,
.portal-shell--member .portal-order-sheet__actions a,
.portal-shell--recording .portal-order-sheet__actions button,
.portal-shell--member .portal-order-sheet__actions button{
  box-shadow:none!important;
  border-radius:11px!important;
}
.portal-shell--recording .portal-order-btn--repeat,
.portal-shell--member .portal-order-btn--repeat,
.portal-shell--recording .portal-repeat-order-btn,
.portal-shell--member .portal-repeat-order-btn{
  background:linear-gradient(90deg,#6aa7ff,#2f75ff)!important;
  border-color:transparent!important;
  color:#fff!important;
  font-weight:900!important;
}
.portal-shell--recording .portal-order-btn--detail,
.portal-shell--member .portal-order-btn--detail{
  background:#eef5ff!important;
  border-color:#cfe0ff!important;
  color:#1f5fd9!important;
}
.portal-shell--recording .portal-order-btn--refund,
.portal-shell--member .portal-order-btn--refund,
.portal-shell--recording .portal-order-btn--danger.portal-order-btn--refund,
.portal-shell--member .portal-order-btn--danger.portal-order-btn--refund{
  background:#fff!important;
  border-color:#e5e7eb!important;
  color:#4b5563!important;
}
.portal-shell--recording .portal-order-btn--refund:hover,
.portal-shell--member .portal-order-btn--refund:hover{border-color:#d1d5db!important;color:#374151!important;background:#f9fafb!important;}

/* Mobile orders: search by order parameter stays visible; advanced conditions live behind funnel. */
.portal-orders-mobile-searchbar{display:none;}
@media(max-width:760px){
  .portal-orders-reference-page{padding-top:0!important;}
  .portal-orders-mobile-searchbar{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    padding:8px 8px 10px!important;
    background:transparent!important;
  }
  .portal-orders-mobile-search{
    min-width:0!important;
    flex:1!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    min-height:42px!important;
    padding:0 10px!important;
    border:1px solid #dfe6ee!important;
    border-radius:12px!important;
    background:var(--v32977-surface)!important;
    box-shadow:none!important;
  }
  .portal-orders-mobile-search__icon{display:inline-flex!important;color:#8a96a7!important;font-size:18px!important;line-height:1!important;}
  .portal-orders-mobile-search input[type='search']{
    flex:1!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
    font-size:14px!important;
    color:var(--v32977-text)!important;
  }
  .portal-orders-mobile-search input[type='search']:focus{box-shadow:none!important;outline:none!important;}
  .portal-orders-mobile-search__submit{
    position:absolute!important;
    width:1px!important;height:1px!important;
    opacity:0!important;pointer-events:none!important;
  }
  .portal-orders-mobile-filter-toggle{
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid #dfe6ee!important;
    border-radius:12px!important;
    color:#374151!important;
    background:var(--v32977-surface)!important;
    box-shadow:none!important;
    position:relative!important;
  }
  .portal-orders-mobile-filter-toggle svg{width:22px!important;height:22px!important;display:block!important;}
  .portal-orders-mobile-filter-toggle.is-active::after{
    content:"";position:absolute;right:7px;top:7px;width:7px;height:7px;border-radius:999px;background:var(--v32977-red);box-shadow:0 0 0 2px #fff;
  }
  .portal-orders-mobile-filter-toggle.is-mobile-open,
  .portal-orders-mobile-filter-toggle.is-active.is-mobile-open{border-color:#bcd2ff!important;color:var(--v32977-blue-dark)!important;background:#eef5ff!important;}
  .portal-card--orders-query[data-orders-filter-panel]{
    display:none!important;
    margin:0 8px 10px!important;
    padding:14px!important;
    border-radius:14px!important;
    background:#fff!important;
    border:1px solid #e4eaf2!important;
    box-shadow:0 12px 24px rgba(31,47,70,.08)!important;
  }
  .portal-card--orders-query[data-orders-filter-panel].is-mobile-open{display:block!important;}
  .portal-orders-query-grid{grid-template-columns:1fr!important;gap:10px!important;}
  .portal-orders-query-grid label{grid-template-columns:72px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;}
  .portal-orders-query-grid label span{font-size:13px!important;color:#4b5563!important;}
  .portal-orders-query-grid input,.portal-orders-query-grid select{min-height:38px!important;height:38px!important;border-radius:10px!important;font-size:13px!important;}
  .portal-orders-query-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:2px!important;}
  .portal-orders-query-actions .btn,.portal-orders-query-actions button{height:38px!important;min-height:38px!important;border-radius:10px!important;}
  .portal-card--orders-list-frame{padding-top:10px!important;}
}

/* Remove remaining old green color hints on common public pages. */
.portal-shell--recording [style*="047857"],
.portal-shell--member [style*="047857"]{color:var(--v32977-blue-dark)!important;}
.portal-shell--recording .portal-flash--success,
.portal-shell--member .portal-flash--success{
  background:#eef5ff!important;border-color:#cfe0ff!important;color:var(--v32977-blue-dark)!important;
}

/* === v3.29.77 final-final: order filter is a real mobile drawer, not a large always-visible form === */
.portal-orders-filter-panel__head{display:none;}
@media(max-width:760px){
  .portal-shell--orders .portal-card--orders-query{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    z-index:90!important;
    max-height:78vh!important;
    overflow:auto!important;
    margin:0!important;
    padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px))!important;
    border-radius:18px 18px 0 0!important;
    border:1px solid #e4e9f1!important;
    background:#fff!important;
    box-shadow:0 -18px 42px rgba(15,23,42,.18)!important;
    display:block!important;
    transform:translateY(110%)!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:transform .18s ease,opacity .18s ease!important;
  }
  .portal-shell--orders .portal-card--orders-query.is-mobile-open{
    transform:translateY(0)!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .portal-shell--orders .portal-orders-filter-panel__head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin:0 0 12px!important;
  }
  .portal-shell--orders .portal-orders-filter-panel__head strong{font-size:16px!important;font-weight:950!important;color:#17212b!important;}
  .portal-shell--orders .portal-orders-filter-panel__head button{height:30px!important;border-radius:9px!important;border:1px solid #dfe5ec!important;background:#fff!important;color:#526173!important;font-size:12px!important;font-weight:800!important;padding:0 10px!important;}
  .portal-shell--orders .portal-card--orders-query::before{display:none!important;content:none!important;}
}

/* Date filter default = neutral */
.portal-shell--recording .portal-lite-calendar__day.is-selected{background:#2f75ff!important;color:#fff!important;border-color:#2f75ff!important;box-shadow:none!important;}
.portal-shell--member .portal-lite-calendar__day.is-selected{background:#2f75ff!important;color:#fff!important;border-color:#2f75ff!important;box-shadow:none!important;}
@media(max-width:760px){
  .portal-card--orders-query{
    transition:transform .2s ease, opacity .2s ease!important;
  }
  .portal-card--orders-query:not(.is-mobile-open){transform:translateY(110%)!important;opacity:0!important;pointer-events:none!important;}
  .portal-card--orders-query.is-mobile-open{transform:translateY(0)!important;opacity:1!important;pointer-events:auto!important;}
}
.portal-shell--recording .portal-tool-badge,
.portal-shell--member .portal-tool-badge,
.portal-shell--recording .portal-status-count,
.portal-shell--member .portal-status-count{background:#ef4444!important;color:#fff!important;box-shadow:0 3px 8px rgba(239,68,68,.14)!important;}

/* v3.29.77 static-regression marker: mobile filter drawer open transform. */
@media(max-width:760px){.portal-card--orders-query.is-mobile-open{transform:translateY(0)!important;}}

/* === v3.29.78 price/status monitor, mobile category split, ledger text and compact timeline === */
.app-shell .admin-order-progress-mini__bar i,
.admin-order-progress-mini__bar i{
  background:linear-gradient(90deg,#6bdc95 0%,#18a766 100%)!important;
}

/* Frontend balance ledger: keep account流水 text clean and do not show generated remarks. */
.portal-history-table--ledger .portal-history-table__row span:first-child{font-weight:800;color:#1f2937!important;}
.portal-history-table--ledger .portal-history-table__row span:nth-child(4){color:#5f6b7a!important;}

/* Order timeline should be tighter; a log list is for reading, not a sparse poster. */
.portal-order-reference-timeline--clean{padding:4px 14px 8px!important;}
.portal-order-reference-timeline--clean .portal-order-reference-log{padding:7px 0!important;gap:8px!important;grid-template-columns:18px minmax(0,1fr)!important;}
.portal-order-reference-timeline--clean .portal-order-reference-log::before{left:8px!important;background:#dfe5ec!important;}
.portal-order-reference-timeline--clean .portal-order-reference-log:first-child::before{top:15px!important;}
.portal-order-reference-timeline--clean .portal-order-reference-log:last-child::before{bottom:calc(100% - 15px)!important;}
.portal-order-reference-log__dot{width:8px!important;height:8px!important;margin:4px 0 0 4px!important;background:#2f75ff!important;box-shadow:0 0 0 3px #edf3ff!important;}
.portal-order-reference-log__body{gap:2px!important;}
.portal-order-reference-log__head strong{font-size:13px!important;line-height:1.25!important;}
.portal-order-reference-log__head time{font-size:11px!important;line-height:1.25!important;color:#8a94a3!important;}
.portal-order-reference-log__body small{font-size:11px!important;line-height:1.4!important;color:#64748b!important;}

/* Homepage now uses the product-zone filter model; products page uses category-first zone selection. */
.portal-home-market-layout .portal-home-top-row--compact{display:grid!important;grid-template-columns:1fr!important;}
.portal-filter-board--home-products,.portal-filter-board--zone-products{background:#fff!important;border-color:#e5eaf1!important;box-shadow:0 10px 28px rgba(15,23,42,.04)!important;}
.portal-home-category-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.portal-home-category-chips a{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:1px solid #e5eaf1;border-radius:999px;background:#fff;color:#526173;font-size:13px;font-weight:800;text-decoration:none;}
.portal-home-category-chips a.active{border-color:#cfe0ff;background:#f3f7ff;color:#1d5fd7;}
.portal-home-category-chips em{font-style:normal;font-size:11px;color:#8a94a3;}
.portal-zone-selector{padding:18px;background:#fff;border:1px solid #e5eaf1;border-radius:18px;box-shadow:0 10px 28px rgba(15,23,42,.04);}
.portal-zone-selector__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;}
.portal-zone-selector__head strong{display:block;font-size:20px;color:#0f172a;font-weight:950;}
.portal-zone-selector__head span{display:block;margin-top:4px;color:#64748b;font-size:13px;line-height:1.6;}
.portal-zone-selector__all{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:999px;border:1px solid #dbe7ff;background:#f6f9ff;color:#1d5fd7;font-weight:850;text-decoration:none;white-space:nowrap;}
.portal-zone-selector__all.active{background:#2f75ff;color:#fff;border-color:#2f75ff;}
.portal-zone-selector__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;}
.portal-zone-card{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 10px;align-items:center;min-height:68px;padding:12px;border:1px solid #e5eaf1;border-radius:14px;background:#fbfcff;text-decoration:none;transition:border-color .16s ease,background .16s ease,transform .16s ease;}
.portal-zone-card span{grid-row:1 / 3;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eef5ff;color:#2f75ff;font-size:18px;font-weight:950;}
.portal-zone-card strong{font-size:14px;color:#17212b;font-weight:900;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.portal-zone-card em{font-style:normal;font-size:12px;color:#8a94a3;line-height:1.3;}
.portal-zone-card:hover,.portal-zone-card.active{border-color:#cfe0ff;background:#f5f8ff;transform:translateY(-1px);}
.portal-zone-card.active span{background:#2f75ff;color:#fff;}

/* Reduce old green leftovers in storefront surfaces; green is reserved only for admin order progress bar above. */
.portal-shell--recording .portal-inline-action__feedback.is-success,
.portal-shell--recording .portal-status-success,
.portal-shell--recording .status-success,
.portal-shell--member .portal-inline-action__feedback.is-success,
.portal-shell--member .portal-status-success,
.portal-shell--member .status-success{color:#2f75ff!important;}
.portal-shell--recording .portal-filter-chip.is-active,
.portal-shell--member .portal-filter-chip.is-active{background:#f3f7ff!important;border-color:#cfe0ff!important;color:#1d5fd7!important;}

@media(max-width:760px){
  .portal-shell--home .portal-header{display:none!important;}
  .portal-shell--home .portal-main{padding-top:8px!important;}
  .portal-home-top-row--compact .portal-hero-banner{min-height:82px!important;padding:11px 12px!important;border-radius:14px!important;}
  .portal-home-top-row--compact .portal-hero-banner__title{font-size:17px!important;}
  .portal-home-top-row--compact .portal-hero-banner__sub{font-size:12px!important;}
  .portal-filter-board--home-products{padding:9px!important;border-radius:12px!important;}
  .portal-filter-board--home-products .portal-filter-board__head{display:flex!important;margin-bottom:8px!important;}
  .portal-filter-board--home-products .portal-filter-board__head h2{font-size:15px!important;margin:0!important;}
  .portal-filter-board--home-products .portal-filter-board__head span{font-size:12px!important;color:#8a94a3!important;}
  .portal-filter-form--home,
  .portal-filter-form--products{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;gap:7px!important;align-items:center!important;}
  .portal-filter-form--home input[name="q"],
  .portal-filter-form--products input[name="q"]{grid-column:1!important;grid-row:1!important;min-height:36px!important;border-radius:10px!important;font-size:13px!important;background:#fff!important;}
  .portal-filter-form--home button,
  .portal-filter-form--products button{grid-column:2!important;grid-row:1!important;min-height:36px!important;border-radius:10px!important;padding:0!important;font-size:12px!important;background:#2f75ff!important;color:#fff!important;}
  .portal-filter-form--home select,
  .portal-filter-form--products select{min-height:34px!important;border-radius:9px!important;font-size:12px!important;background:#fff!important;}
  .portal-filter-form--home select[name="category"],
  .portal-filter-form--products select[name="category"]{grid-column:1!important;grid-row:2!important;}
  .portal-filter-form--home select[name="sort"],
  .portal-filter-form--products select[name="sort"]{grid-column:2!important;grid-row:2!important;}
  .portal-home-category-chips{flex-wrap:nowrap!important;overflow-x:auto!important;margin-top:9px!important;padding-bottom:2px!important;-webkit-overflow-scrolling:touch;}
  .portal-home-category-chips a{white-space:nowrap;min-height:30px;padding:0 10px;font-size:12px;}

  .portal-zone-selector{padding:10px!important;border-radius:14px!important;}
  .portal-zone-selector__head{align-items:center;margin-bottom:10px!important;}
  .portal-zone-selector__head strong{font-size:16px!important;}
  .portal-zone-selector__head span{display:none!important;}
  .portal-zone-selector__all{min-height:30px;padding:0 10px;font-size:12px;}
  .portal-zone-selector__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
  .portal-zone-card{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;justify-items:center;text-align:center;gap:4px!important;min-height:78px!important;padding:9px 6px!important;border-radius:12px!important;}
  .portal-zone-card span{grid-row:auto!important;width:30px!important;height:30px!important;border-radius:10px!important;font-size:15px!important;}
  .portal-zone-card strong{font-size:12px!important;max-width:100%;}
  .portal-zone-card em{font-size:10px!important;}
  .portal-product-block--home-list .portal-product-block__head h2{font-size:16px!important;}
  .portal-product-block--home-list .portal-product-block__head a{font-size:12px!important;}
}

/* === v3.29.78: safe monitoring, mobile zone layout, balance ledger cleanup, compact timeline === */
/* Admin keeps its own blue system, but order progress bars are business-state green. */
.app-shell .admin-order-progress-mini__bar i,
.app-shell .admin-order-progress__bar i{background:linear-gradient(90deg,#52d88a,#18a95a)!important;}
.app-shell .admin-order-progress-mini:hover{color:#168b4f!important;}

/* Customer date filters: neutral by default, blue only on active interaction. */
.portal-shell--member .portal-orders-date-pair input,
.portal-shell--recording .portal-orders-date-pair input,
.portal-shell--member input[data-lite-date],
.portal-shell--recording input[data-lite-date],
.portal-shell--member .portal-date-range__trigger,
.portal-shell--recording .portal-date-range__trigger{background:#fffefa!important;border-color:#e3e8ef!important;color:#1f2937!important;box-shadow:none!important;}
.portal-shell--member .portal-orders-date-pair input::placeholder,
.portal-shell--recording .portal-orders-date-pair input::placeholder,
.portal-shell--member input[data-lite-date]::placeholder,
.portal-shell--recording input[data-lite-date]::placeholder{color:#9aa3af!important;}
.portal-shell--member .portal-orders-date-pair input:focus,
.portal-shell--recording .portal-orders-date-pair input:focus,
.portal-shell--member input[data-lite-date]:focus,
.portal-shell--recording input[data-lite-date]:focus,
.portal-shell--member .portal-date-range__trigger:focus,
.portal-shell--recording .portal-date-range__trigger:focus{border-color:#8fb7ff!important;box-shadow:0 0 0 3px rgba(47,117,255,.11)!important;color:#17212b!important;}
.portal-lite-calendar{background:#fffefa!important;border-color:#e4e9f1!important;box-shadow:0 18px 42px rgba(20,34,56,.12)!important;}
.portal-lite-calendar__day{background:#fff!important;border-color:#edf1f5!important;color:#263241!important;}
.portal-lite-calendar__day:hover{background:#f4f8ff!important;border-color:#bfd6ff!important;color:#1d5fd7!important;}
.portal-lite-calendar__day.is-selected{background:#2f75ff!important;border-color:#2f75ff!important;color:#fff!important;}

/* Remaining green residues in storefront become blue or neutral. */
.portal-shell--recording [style*="047857"],.portal-shell--member [style*="047857"],
.portal-shell--recording [style*="00a15c"],.portal-shell--member [style*="00a15c"],
.portal-shell--recording [style*="31b98d"],.portal-shell--member [style*="31b98d"],
.portal-shell--recording [style*="10b981"],.portal-shell--member [style*="10b981"],
.portal-shell--recording [style*="24955d"],.portal-shell--member [style*="24955d"]{color:#1d5fd7!important;}
.portal-shell--recording .status-success,.portal-shell--member .status-success,
.portal-shell--recording .quick-chip.success,.portal-shell--member .quick-chip.success{color:#1d5fd7!important;background:#eef5ff!important;border-color:#d8e7ff!important;}
.portal-shell--recording .portal-inline-note,.portal-shell--member .portal-inline-note{background:#f8fbff!important;border-color:#e3eaf4!important;color:#475569!important;}

/* Order action strength: repeat > detail > refund. */
.portal-shell--member .portal-order-btn--repeat,
.portal-shell--recording .portal-order-btn--repeat,
.portal-shell--member .portal-repeat-order-btn,
.portal-shell--recording .portal-repeat-order-btn{background:linear-gradient(90deg,#6fa6ff,#2f75ff)!important;border-color:#2f75ff!important;color:#fff!important;font-weight:900!important;box-shadow:0 8px 18px rgba(47,117,255,.16)!important;}
.portal-shell--member .portal-order-btn--detail,
.portal-shell--recording .portal-order-btn--detail{background:#eef5ff!important;border-color:#d8e7ff!important;color:#1d5fd7!important;font-weight:820!important;box-shadow:none!important;}
.portal-shell--member .portal-order-btn--refund,
.portal-shell--recording .portal-order-btn--refund{background:#fff!important;border-color:#e6ebf1!important;color:#9aa3af!important;font-weight:760!important;box-shadow:none!important;}
.portal-shell--member .portal-order-btn--refund:hover,
.portal-shell--recording .portal-order-btn--refund:hover{background:#fafafa!important;border-color:#d1d5db!important;color:#6b7280!important;}

/* Compact customer order timeline. */
.portal-shell--member .portal-order-reference-timeline--clean,
.portal-shell--recording .portal-order-reference-timeline--clean{padding:4px 14px 8px!important;}
.portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log,
.portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log{grid-template-columns:20px minmax(0,1fr)!important;gap:8px!important;padding:7px 0!important;}
.portal-shell--member .portal-order-reference-log__dot,
.portal-shell--recording .portal-order-reference-log__dot{width:8px!important;height:8px!important;margin:4px 0 0 6px!important;box-shadow:0 0 0 3px #eef5ff!important;}
.portal-shell--member .portal-order-reference-log__head,
.portal-shell--recording .portal-order-reference-log__head{gap:8px!important;}
.portal-shell--member .portal-order-reference-log__head strong,
.portal-shell--recording .portal-order-reference-log__head strong{font-size:13px!important;line-height:1.3!important;}
.portal-shell--member .portal-order-reference-log__head time,
.portal-shell--recording .portal-order-reference-log__head time{font-size:11px!important;line-height:1.3!important;}
.portal-shell--member .portal-order-reference-log__body,
.portal-shell--recording .portal-order-reference-log__body{gap:2px!important;}
.portal-shell--member .portal-order-reference-log__body small,
.portal-shell--recording .portal-order-reference-log__body small{font-size:11px!important;line-height:1.35!important;}

/* Home is product-filter oriented; zone page uses mobile category/product split like the reference. */
.portal-mobile-zone-panel{display:none;}
@media (max-width:760px){
  .portal-home-market-layout .portal-home-top-row,
  .portal-home-market-layout .portal-inline-notice{display:none!important;}
  .portal-filter-board--home-products{margin:8px 0 10px!important;padding:10px!important;border-radius:14px!important;background:#fff!important;border:1px solid #e6ecf5!important;}
  .portal-filter-form--home{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;gap:7px!important;align-items:center!important;}
  .portal-filter-form--home input{grid-column:1/2!important;height:36px!important;border-radius:11px!important;background:#fffefa!important;border:1px solid #dfe5ec!important;color:#1f2937!important;}
  .portal-filter-form--home select{height:34px!important;border-radius:10px!important;background:#fffefa!important;border:1px solid #dfe5ec!important;font-size:12px!important;}
  .portal-filter-form--home button{grid-column:2/3!important;grid-row:1!important;height:36px!important;border-radius:11px!important;background:#2f75ff!important;color:#fff!important;border:0!important;}
  .portal-home-category-chips{display:flex!important;gap:9px!important;overflow-x:auto!important;padding:8px 0 2px!important;}
  .portal-home-category-chips a{white-space:nowrap!important;padding:7px 10px!important;border-bottom:2px solid transparent!important;color:#606b7b!important;background:transparent!important;border-radius:0!important;font-weight:820!important;}
  .portal-home-category-chips a.active{color:#1d5fd7!important;border-bottom-color:#2f75ff!important;}
  .portal-home-category-chips em{margin-left:4px;color:#9aa3af;font-style:normal;font-size:11px;}

  .portal-zone-layout>.portal-tree-sidebar,
  .portal-zone-selector,
  .portal-filter-board--zone-products,
  .portal-zone-layout .portal-product-block{display:none!important;}
  .portal-mobile-zone-panel{display:block!important;background:#fff!important;margin:8px 0 0!important;border:0!important;}
  .portal-mobile-zone-search{display:grid!important;grid-template-columns:minmax(0,1fr) 66px!important;gap:8px!important;padding:10px!important;background:linear-gradient(180deg,#f3f7ff,#fff)!important;border-bottom:1px solid #edf1f6!important;}
  .portal-mobile-zone-search input{height:42px!important;border:0!important;border-radius:999px!important;background:#fff!important;box-shadow:0 6px 16px rgba(30,60,110,.06)!important;padding:0 14px!important;font-size:14px!important;color:#17212b!important;}
  .portal-mobile-zone-search button{height:42px!important;border:0!important;border-radius:999px!important;background:#2f75ff!important;color:#fff!important;font-weight:900!important;box-shadow:0 8px 18px rgba(47,117,255,.18)!important;}
  .portal-mobile-zone-tabs{display:flex!important;gap:24px!important;overflow-x:auto!important;padding:12px 10px 8px!important;background:#fff!important;}
  .portal-mobile-zone-tabs a{white-space:nowrap!important;color:#4b5563!important;font-weight:900!important;padding:0 0 6px!important;border-bottom:3px solid transparent!important;text-decoration:none!important;}
  .portal-mobile-zone-tabs a.active{color:#1d5fd7!important;border-bottom-color:#2f75ff!important;}
  .portal-mobile-zone-body{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;align-items:start!important;background:#fff!important;}
  .portal-mobile-zone-side{display:grid!important;align-content:start!important;background:#f6f8fb!important;min-height:60vh!important;padding:8px 0!important;max-height:calc(100vh - 190px)!important;overflow:auto!important;}
  .portal-mobile-zone-side a{display:flex!important;align-items:center!important;min-height:38px!important;padding:0 10px!important;color:#596475!important;text-decoration:none!important;font-size:13px!important;font-weight:760!important;border-left:3px solid transparent!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-zone-side a.active{background:#fff!important;color:#1d5fd7!important;border-left-color:#2f75ff!important;font-weight:900!important;}
  .portal-mobile-zone-list{display:grid!important;gap:0!important;padding:8px 8px 90px!important;background:#fff!important;}
  .portal-mobile-zone-item{display:grid!important;grid-template-columns:62px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;padding:8px 0!important;border-bottom:1px solid #f0f2f5!important;text-decoration:none!important;color:#17212b!important;}
  .portal-mobile-zone-item__media{width:62px!important;height:62px!important;border-radius:13px!important;background:#edf4ff!important;display:grid!important;place-items:center!important;overflow:hidden!important;}
  .portal-mobile-zone-item__media img{width:100%!important;height:100%!important;object-fit:cover!important;}
  .portal-mobile-zone-item__media b{font-size:24px;color:#2f75ff;}
  .portal-mobile-zone-item__main{display:grid!important;gap:7px!important;min-width:0!important;}
  .portal-mobile-zone-item__main strong{font-size:14px!important;line-height:1.28!important;color:#17212b!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-zone-item__main em{font-style:normal!important;color:#e26a35!important;font-size:16px!important;font-weight:900!important;}
  .portal-mobile-zone-item__actions{display:grid!important;grid-auto-flow:column!important;gap:6px!important;align-items:center!important;}
  .portal-mobile-zone-item__actions i{font-style:normal!important;border:1px solid #78a7ff!important;color:#2f75ff!important;border-radius:7px!important;padding:5px 8px!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important;}
  .portal-mobile-zone-item__actions b{width:30px!important;height:30px!important;border-radius:999px!important;display:grid!important;place-items:center!important;background:#4f86ff!important;color:#fff!important;font-size:14px!important;}
}

/* === v3.29.78: price monitor safety, blue cleanup, mobile category layout === */
/* Admin order progress bar intentionally uses green to match fulfillment progress semantics. */
.admin-order-progress-mini__bar i,
.admin-order-progress__bar i{
  background:linear-gradient(90deg,#45d68f,#16a34a)!important;
}
.admin-order-progress-mini__percent{color:#14532d!important;}

/* Public balance ledger: keep rows simple and neutral. */
.portal-shell--recording .portal-history-table--ledger .portal-history-table__row span,
.portal-shell--member .portal-history-table--ledger .portal-history-table__row span{color:#334155!important;}

/* Public order timeline: compact, readable, not sparse. */
.portal-shell--recording .portal-order-reference-timeline--clean,
.portal-shell--member .portal-order-reference-timeline--clean{padding:10px 18px 12px!important;gap:0!important;background:#fff!important;}
.portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log,
.portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log{
  padding:7px 0!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  gap:8px!important;
}
.portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log::before,
.portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log::before{left:8px!important;background:#dbe4ee!important;}
.portal-shell--recording .portal-order-reference-log__dot,
.portal-shell--member .portal-order-reference-log__dot{width:8px!important;height:8px!important;margin:5px 0 0 4px!important;background:#2f75ff!important;box-shadow:0 0 0 3px #edf4ff!important;}
.portal-shell--recording .portal-order-reference-log__body,
.portal-shell--member .portal-order-reference-log__body{gap:2px!important;}
.portal-shell--recording .portal-order-reference-log__head strong,
.portal-shell--member .portal-order-reference-log__head strong{font-size:13px!important;line-height:1.3!important;color:#17212b!important;}
.portal-shell--recording .portal-order-reference-log__head time,
.portal-shell--member .portal-order-reference-log__head time{font-size:11px!important;color:#8a96a7!important;}
.portal-shell--recording .portal-order-reference-log__body small,
.portal-shell--member .portal-order-reference-log__body small{font-size:11px!important;line-height:1.42!important;color:#64748b!important;}

/* More blue sweep: public success/completed should not show green, while price/danger remains semantic red/orange. */
.portal-shell--recording .message-status.read,
.portal-shell--member .message-status.read,
.portal-shell--recording .status-pill.ok,
.portal-shell--member .status-pill.ok,
.portal-shell--recording .quick-chip.success,
.portal-shell--member .quick-chip.success,
.portal-shell--recording .page-note--success,
.portal-shell--member .page-note--success,
.portal-shell--recording .portal-flash--success,
.portal-shell--member .portal-flash--success{
  background:#eef5ff!important;
  border-color:#cfe0ff!important;
  color:#1d5fd7!important;
}
.portal-shell--recording .portal-history-param__copy,
.portal-shell--member .portal-history-param__copy{background:#eef5ff!important;color:#2f75ff!important;}
.portal-shell--recording .portal-history-param__copy:hover,
.portal-shell--member .portal-history-param__copy:hover{background:#dceaff!important;color:#1d5fd7!important;}
.portal-shell--recording .portal-order-reference-progress--clean strong,
.portal-shell--member .portal-order-reference-progress--clean strong{color:#2f75ff!important;}
.portal-shell--recording .portal-order-reference-product-card img,
.portal-shell--recording .portal-order-reference-product-card>span,
.portal-shell--member .portal-order-reference-product-card img,
.portal-shell--member .portal-order-reference-product-card>span{background:#edf4ff!important;color:#2f75ff!important;}

/* Home now has product filtering like the product list. */
.portal-home-market-layout .portal-home-top-row--compact{grid-template-columns:1fr!important;margin-bottom:12px!important;}
.portal-home-category-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.portal-home-category-chips a{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid #dfe7f2;background:#fff;color:#4b5563;font-weight:800;font-size:13px;text-decoration:none;}
.portal-home-category-chips a.active{background:#eef5ff;border-color:#bdd4ff;color:#1d5fd7;}
.portal-home-category-chips em{font-style:normal;color:#94a3b8;font-size:11px;}
.portal-zone-selector{display:block;background:#fff;border:1px solid #e6ebf1;border-radius:18px;padding:18px;margin-bottom:14px;box-shadow:0 10px 30px rgba(15,23,42,.04);}
.portal-zone-selector__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;}
.portal-zone-selector__head strong{display:block;font-size:20px;font-weight:950;color:#17212b;}
.portal-zone-selector__head span{display:block;margin-top:4px;font-size:13px;color:#64748b;}
.portal-zone-selector__all{height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:999px;border:1px solid #dfe7f2;background:#fff;color:#2f75ff;font-weight:900;text-decoration:none;}
.portal-zone-selector__all.active{background:#2f75ff;color:#fff;border-color:#2f75ff;}
.portal-zone-selector__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;}
.portal-zone-card{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;row-gap:2px;align-items:center;padding:12px;border-radius:14px;border:1px solid #e3eaf4;background:#fbfdff;text-decoration:none;color:#17212b;}
.portal-zone-card span{grid-row:1 / 3;width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#eef5ff;color:#2f75ff;font-weight:950;}
.portal-zone-card strong{font-size:14px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.portal-zone-card em{font-size:12px;font-style:normal;color:#8a96a7;}
.portal-zone-card.active{border-color:#a9c8ff;background:#f3f7ff;}
.portal-mobile-zone-panel{display:none;}

@media(max-width:760px){
  .portal-home-market-layout,
  .portal-zone-layout{display:block!important;padding:0!important;}
  .portal-home-market-layout>.portal-tree-sidebar,
  .portal-zone-layout>.portal-tree-sidebar{display:none!important;}
  .portal-home-market-layout .portal-recording-content,
  .portal-zone-layout .portal-recording-content{display:grid!important;gap:10px!important;padding:0 8px 86px!important;}
  .portal-home-market-layout .portal-home-top-row--compact{display:none!important;}
  .portal-inline-notice{min-height:34px!important;padding:8px 10px!important;border-radius:12px!important;font-size:12px!important;}
  .portal-filter-board{padding:10px!important;border-radius:14px!important;margin:0!important;box-shadow:none!important;}
  .portal-filter-board__head{margin-bottom:8px!important;}
  .portal-filter-board__head h2{font-size:16px!important;}
  .portal-filter-form,
  .portal-filter-form--home,
  .portal-filter-form--products{display:grid!important;grid-template-columns:minmax(0,1fr) 74px!important;gap:8px!important;}
  .portal-filter-form input[type='text']{grid-column:1!important;height:40px!important;border-radius:12px!important;}
  .portal-filter-form button{grid-column:2!important;height:40px!important;min-height:40px!important;border-radius:12px!important;}
  .portal-filter-form select{height:36px!important;min-height:36px!important;border-radius:10px!important;font-size:12px!important;}
  .portal-filter-form select[name='category']{grid-column:1!important;}
  .portal-filter-form select[name='sort']{grid-column:2!important;}
  .portal-home-category-chips{overflow-x:auto!important;flex-wrap:nowrap!important;margin-top:8px!important;padding-bottom:2px!important;scrollbar-width:none;}
  .portal-home-category-chips::-webkit-scrollbar{display:none;}
  .portal-home-category-chips a{white-space:nowrap!important;min-height:30px!important;font-size:12px!important;padding:0 10px!important;}
  .portal-product-block{padding:10px!important;border-radius:14px!important;margin:0!important;}
  .portal-product-block__head{margin-bottom:8px!important;}
  .portal-product-block__head h2{font-size:16px!important;}
  .portal-record-grid--products{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
  .portal-record-grid--products .portal-record-card{display:grid!important;grid-template-columns:72px minmax(0,1fr) auto!important;grid-template-areas:'media name price'!important;gap:8px 10px!important;align-items:center!important;padding:8px!important;min-height:88px!important;border-radius:13px!important;}
  .portal-record-grid--products .portal-record-card__media{grid-area:media!important;width:72px!important;height:72px!important;border-radius:12px!important;}
  .portal-record-grid--products .portal-record-card__name{grid-area:name!important;font-size:14px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:0!important;}
  .portal-record-grid--products .portal-record-card__price{grid-area:price!important;font-size:16px!important;margin:0!important;align-self:center!important;white-space:nowrap!important;}
  .portal-zone-selector,.portal-zone-layout .portal-filter-board--zone-products,.portal-zone-layout .portal-product-block{display:none!important;}
  .portal-mobile-zone-panel{display:block!important;background:transparent!important;}
  .portal-mobile-zone-search{display:grid!important;grid-template-columns:minmax(0,1fr) 76px!important;gap:8px!important;padding:8px 0!important;}
  .portal-mobile-zone-search input[type='text']{height:42px!important;border-radius:14px!important;border:1px solid #dfe6ee!important;background:#fff!important;padding:0 14px!important;font-size:14px!important;}
  .portal-mobile-zone-search button{height:42px!important;border-radius:14px!important;background:#2f75ff!important;color:#fff!important;border:0!important;font-weight:900!important;}
  .portal-mobile-zone-tabs{display:flex!important;gap:18px!important;overflow-x:auto!important;padding:8px 0 6px!important;scrollbar-width:none;}
  .portal-mobile-zone-tabs::-webkit-scrollbar{display:none;}
  .portal-mobile-zone-tabs a{white-space:nowrap!important;color:#4b5563!important;text-decoration:none!important;font-weight:900!important;padding-bottom:6px!important;border-bottom:3px solid transparent!important;}
  .portal-mobile-zone-tabs a.active{color:#17212b!important;border-color:#2f75ff!important;}
  .portal-mobile-zone-body{display:grid!important;grid-template-columns:106px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;}
  .portal-mobile-zone-side{position:sticky!important;top:8px!important;max-height:calc(100vh - 142px)!important;overflow:auto!important;display:grid!important;gap:0!important;background:#f6f8fb!important;border-radius:14px!important;padding:6px!important;}
  .portal-mobile-zone-side a{display:flex!important;align-items:center!important;min-height:38px!important;padding:0 8px!important;border-radius:10px!important;color:#526173!important;text-decoration:none!important;font-size:13px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-zone-side a.active{background:#fff!important;color:#1d5fd7!important;box-shadow:0 4px 14px rgba(15,23,42,.06)!important;}
  .portal-mobile-zone-list{display:grid!important;gap:8px!important;min-width:0!important;}
  .portal-mobile-zone-item{display:grid!important;grid-template-columns:72px minmax(0,1fr) 70px!important;gap:9px!important;align-items:center!important;background:#fff!important;border:1px solid #e8edf4!important;border-radius:14px!important;padding:8px!important;text-decoration:none!important;color:#17212b!important;}
  .portal-mobile-zone-item__media{width:72px!important;height:72px!important;border-radius:13px!important;background:#edf4ff!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#2f75ff!important;font-size:24px!important;font-weight:950!important;}
  .portal-mobile-zone-item__media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .portal-mobile-zone-item__main{display:grid!important;gap:6px!important;min-width:0!important;}
  .portal-mobile-zone-item__main strong{font-size:14px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;color:#17212b!important;}
  .portal-mobile-zone-item__main em{font-style:normal!important;color:#e16a2e!important;font-size:16px!important;font-weight:950!important;}
  .portal-mobile-zone-item__actions{display:grid!important;gap:6px!important;justify-items:end!important;}
  .portal-mobile-zone-item__actions i{font-style:normal!important;display:inline-flex!important;height:28px!important;padding:0 8px!important;align-items:center!important;border-radius:9px!important;border:1px solid #9fc0ff!important;color:#2f75ff!important;background:#fff!important;font-size:12px!important;font-weight:900!important;}
  .portal-mobile-zone-item__actions b{width:30px!important;height:30px!important;border-radius:999px!important;background:#2f75ff!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:14px!important;}
}

/* === v3.29.78: admin price/order monitor and public spacing cleanup === */
.app-shell .admin-order-progress-mini__bar i,
.app-shell .admin-order-progress__bar i,
.admin-order-progress-mini__bar i,
.admin-order-progress__bar i{
  background:linear-gradient(90deg,#62d991,#18a85b)!important;
  box-shadow:none!important;
}
.admin-order-progress__bar,
.admin-order-progress-mini__bar{background:#edf3ef!important;}
.admin-order-progress-mini__percent,
.admin-order-progress__percent{color:#166534!important;}

.portal-shell--recording .portal-order-reference-timeline--clean,
.portal-shell--member .portal-order-reference-timeline--clean{padding:2px 14px 6px!important;gap:0!important;}
.portal-shell--recording .portal-order-reference-log,
.portal-shell--member .portal-order-reference-log{min-height:0!important;padding:7px 0!important;gap:8px!important;border-bottom:1px solid #edf2f7!important;}
.portal-shell--recording .portal-order-reference-log__body,
.portal-shell--member .portal-order-reference-log__body{gap:1px!important;}
.portal-shell--recording .portal-order-reference-log__head,
.portal-shell--member .portal-order-reference-log__head{gap:6px!important;align-items:center!important;}
.portal-shell--recording .portal-order-reference-log__dot,
.portal-shell--member .portal-order-reference-log__dot{width:8px!important;height:8px!important;margin-top:5px!important;box-shadow:0 0 0 3px #eef5ff!important;background:#2f75ff!important;}
.portal-shell--recording .portal-order-reference-log__head strong,
.portal-shell--member .portal-order-reference-log__head strong{font-size:13px!important;line-height:1.28!important;}
.portal-shell--recording .portal-order-reference-log__head time,
.portal-shell--member .portal-order-reference-log__head time{font-size:11px!important;}
.portal-shell--recording .portal-order-reference-log__body small,
.portal-shell--member .portal-order-reference-log__body small{font-size:11px!important;line-height:1.35!important;}

/* Mobile zone page: keep 专区 as an alternate category-first browsing mode. */
@media(max-width:760px){
  .portal-mobile-zone-search{position:sticky!important;top:0!important;z-index:4!important;background:#f6f8fb!important;padding:8px 0 6px!important;}
  .portal-mobile-zone-tabs{background:#f6f8fb!important;margin:0 -2px!important;padding:6px 2px 8px!important;}
  .portal-mobile-zone-body{grid-template-columns:94px minmax(0,1fr)!important;gap:7px!important;}
  .portal-mobile-zone-side{top:52px!important;border-radius:12px!important;background:#eef2f7!important;}
  .portal-mobile-zone-side a{min-height:36px!important;font-size:12px!important;padding:0 7px!important;}
  .portal-mobile-zone-item{grid-template-columns:64px minmax(0,1fr) 56px!important;min-height:80px!important;border-radius:13px!important;padding:7px!important;}
  .portal-mobile-zone-item__media{width:64px!important;height:64px!important;border-radius:12px!important;}
  .portal-mobile-zone-item__main strong{font-size:13px!important;-webkit-line-clamp:2!important;}
  .portal-mobile-zone-item__main em{font-size:15px!important;color:#e16a2e!important;}
  .portal-mobile-zone-item__actions i{height:25px!important;font-size:11px!important;padding:0 7px!important;}
  .portal-mobile-zone-item__actions b{width:27px!important;height:27px!important;font-size:12px!important;}
}

/* Extra green residual sweep on public pages only. */
.portal-shell--recording .portal-status-dot,
.portal-shell--member .portal-status-dot,
.portal-shell--recording .portal-tag--success,
.portal-shell--member .portal-tag--success,
.portal-shell--recording .portal-chip--success,
.portal-shell--member .portal-chip--success{
  background:#eef5ff!important;border-color:#cfe0ff!important;color:#1d5fd7!important;
}
.portal-shell--recording .portal-order-status.completed,
.portal-shell--member .portal-order-status.completed,
.portal-shell--recording .portal-order-status.success,
.portal-shell--member .portal-order-status.success{color:#1d5fd7!important;}

/* v3.29.78 static markers */
.v32978-marker-price-monitor{display:none;}

/* === v3.29.79: admin polish, safe subsite settlement UX, restored home banner/search, mobile fixes === */
:root{
  --v32979-admin-sky:#63b8ff;
  --v32979-admin-blue:#2f75ff;
  --v32979-admin-night:#172c68;
  --v32979-blue:#2f75ff;
  --v32979-blue-2:#6aa7ff;
  --v32979-blue-dark:#1d5fd7;
  --v32979-surface:#fff;
  --v32979-soft:#f7faff;
  --v32979-line:#e4eaf2;
  --v32979-text:#17212b;
  --v32979-muted:#667085;
  --v32979-red:#ef4444;
}

/* Admin workbench: cleaner sky-to-night topbar and clearer text hierarchy, no leftover active left stripe. */
.app-shell .topbar{
  background:linear-gradient(105deg,var(--v32979-admin-sky) 0%,var(--v32979-admin-blue) 48%,var(--v32979-admin-night) 100%)!important;
  box-shadow:0 10px 24px rgba(32,83,169,.18)!important;
  filter:none!important;
}
.app-shell .topbar::before,.app-shell .topbar::after{display:none!important;content:none!important;}
.app-shell .topbar .badge,.app-shell .topbar .btn.soft{
  background:rgba(255,255,255,.16)!important;
  border:1px solid rgba(255,255,255,.34)!important;
  color:#fff!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.app-shell .topbar .btn.soft{background:#fff!important;color:#1d5fd7!important;border-color:rgba(255,255,255,.72)!important;}
.app-shell .sidebar{background:#f8fbff!important;border-right:1px solid #dce6f4!important;}
.app-shell .brand{background:linear-gradient(180deg,#2f75ff 0%,#1d5fd7 100%)!important;}
.app-shell .sidebar-nav{gap:7px!important;}
.app-shell .nav-group__summary,.app-shell .nav-single{
  color:#2d3a4d!important;
  font-size:14px!important;
  font-weight:850!important;
  letter-spacing:.01em!important;
}
.app-shell .nav-child{
  color:#5b6676!important;
  font-size:13px!important;
  font-weight:680!important;
  padding-left:26px!important;
}
.app-shell .nav-group__arrow{color:#7d8a9d!important;font-weight:900!important;}
.app-shell .nav-group__summary.active,.app-shell .nav-single.active,.app-shell .nav-child.active{
  color:#1d5fd7!important;
  background:#eaf2ff!important;
  box-shadow:none!important;
  border-left:0!important;
}
.app-shell .nav-group__summary:hover,.app-shell .nav-single:hover,.app-shell .nav-child:hover{
  color:#1d5fd7!important;
  background:#f1f6ff!important;
  box-shadow:none!important;
  border-left:0!important;
}
.app-shell .nav-group__summary.active::before,.app-shell .nav-single.active::before,.app-shell .nav-child.active::before,
.app-shell .nav-group__summary:hover::before,.app-shell .nav-single:hover::before,.app-shell .nav-child:hover::before{display:none!important;content:none!important;}
.app-shell .sidebar a.active,.app-shell .sidebar a:hover{box-shadow:none!important;border-left:0!important;}
.app-shell .sidebar-version{box-shadow:none!important;}

/* Product detail favorite/cart inline feedback: clean neutral card, no green background, no connected blue seam. */
.portal-shell--recording .portal-inline-action,
.portal-shell--member .portal-inline-action{gap:7px!important;}
.portal-shell--recording .portal-inline-action__feedback,
.portal-shell--member .portal-inline-action__feedback{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  padding:7px 10px!important;
  border-radius:10px!important;
  background:#f8fbff!important;
  border:1px solid #e3eaf3!important;
  color:#526173!important;
  box-shadow:none!important;
  text-align:center!important;
}
.portal-shell--recording .portal-inline-action__feedback.is-success,
.portal-shell--member .portal-inline-action__feedback.is-success{
  background:#f8fbff!important;
  border-color:#dbe7ff!important;
  color:#1d5fd7!important;
}
.portal-shell--recording .portal-inline-action__feedback.is-error,
.portal-shell--member .portal-inline-action__feedback.is-error{
  background:#fff7f7!important;
  border-color:#ffd4d4!important;
  color:#c24141!important;
}

/* Order detail timeline: remove duplicate horizontal rules and vertical-line visual noise. */
.portal-shell--recording .portal-order-reference-timeline--clean,
.portal-shell--member .portal-order-reference-timeline--clean{
  padding:4px 14px 8px!important;
  background:#fff!important;
}
.portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log,
.portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log{
  border:0!important;
  border-top:0!important;
  border-bottom:0!important;
  padding:8px 0!important;
  grid-template-columns:18px minmax(0,1fr)!important;
}
.portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
.portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log{
  border-top:1px solid #eef2f7!important;
}
.portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log::before,
.portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log::before{
  display:none!important;
  content:none!important;
}
.portal-shell--recording .portal-order-reference-log__dot,
.portal-shell--member .portal-order-reference-log__dot{
  width:7px!important;height:7px!important;margin:6px 0 0 5px!important;box-shadow:0 0 0 3px #eef5ff!important;background:#2f75ff!important;
}
.portal-shell--recording .portal-order-reference-log__body small:empty,
.portal-shell--member .portal-order-reference-log__body small:empty{display:none!important;}

/* PC storefront: product list page should not show the mobile/category-first 专区筛选 card. */
.portal-zone-selector{display:none!important;}
.portal-zone-layout .portal-filter-board--zone-products,
.portal-zone-layout .portal-product-block{display:block!important;}
.portal-mobile-zone-panel{display:none!important;}

/* Home: restore real top search + banner; do not replace PC home with专区 selector. */
.portal-shell--home .portal-home-top-row--compact,
.portal-shell--home .portal-home-top-row{
  display:grid!important;
  grid-template-columns:1fr!important;
  margin:0 0 12px!important;
}
.portal-shell--home .portal-home-top-row .portal-hero-banner,
.portal-shell--home .portal-home-top-row--compact .portal-hero-banner{
  display:flex!important;
  min-height:220px!important;
  height:auto!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#fff 0%,#f7faff 55%,#eef5ff 100%)!important;
}
.portal-mobile-top-search{display:none;}

/* Mobile 首页: show search and banner, then compact filters and two-column product cards. */
@media(max-width:760px){
  .portal-shell--home .portal-header{display:none!important;}
  .portal-shell--home .portal-main{padding-top:8px!important;}
  .portal-home-market-layout .portal-recording-content{display:grid!important;gap:10px!important;padding:0 8px 86px!important;}
  .portal-mobile-top-search,
  .portal-mobile-top-search--home{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 74px!important;
    gap:8px!important;
    align-items:center!important;
    min-height:48px!important;
    padding:6px!important;
    border-radius:16px!important;
    background:#fff!important;
    border:1px solid #dfe7f2!important;
    box-shadow:0 8px 20px rgba(32,55,88,.06)!important;
  }
  .portal-mobile-top-search input{height:38px!important;min-height:38px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:14px!important;padding:0 10px!important;color:#17212b!important;}
  .portal-mobile-top-search button{height:38px!important;min-height:38px!important;border-radius:12px!important;border:0!important;background:#2f75ff!important;color:#fff!important;font-size:13px!important;font-weight:900!important;box-shadow:none!important;}
  .portal-shell--home .portal-home-top-row--compact,
  .portal-shell--home .portal-home-top-row,
  .portal-home-market-layout .portal-home-top-row--compact{
    display:block!important;
    margin:0!important;
  }
  .portal-shell--home .portal-home-top-row .portal-hero-banner,
  .portal-shell--home .portal-home-top-row--compact .portal-hero-banner,
  .portal-home-market-layout .portal-home-top-row--compact .portal-hero-banner{
    display:flex!important;
    min-height:132px!important;
    height:auto!important;
    padding:18px 16px!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,#fff 0%,#f7faff 58%,#eef5ff 100%)!important;
    box-shadow:0 8px 20px rgba(32,55,88,.05)!important;
  }
  .portal-shell--home .portal-hero-banner__inner{min-height:96px!important;padding:0!important;align-items:flex-start!important;text-align:left!important;}
  .portal-shell--home .portal-hero-banner__title{font-size:20px!important;line-height:1.22!important;color:#17212b!important;margin:0!important;}
  .portal-shell--home .portal-hero-banner__sub{font-size:13px!important;line-height:1.45!important;color:#526173!important;margin:6px 0 0!important;}
  .portal-shell--home .portal-hero-banner__desc{display:none!important;}
  .portal-shell--home .portal-hero-cta{display:inline-flex!important;margin-top:12px!important;min-height:36px!important;padding:0 14px!important;border-radius:12px!important;background:#2f75ff!important;color:#fff!important;font-weight:900!important;}
  .portal-shell--home .portal-filter-board--home-products{display:block!important;padding:10px!important;border-radius:15px!important;background:#fff!important;border:1px solid #e5eaf1!important;}
  .portal-shell--home .portal-filter-board--home-products .portal-filter-board__head{display:none!important;}
  .portal-shell--home .portal-filter-form--home{display:grid!important;grid-template-columns:minmax(0,1fr) 74px!important;gap:8px!important;}
  .portal-shell--home .portal-filter-form--home input[name='q']{display:none!important;}
  .portal-shell--home .portal-filter-form--home select{height:38px!important;min-height:38px!important;border-radius:12px!important;background:#fff!important;}
  .portal-shell--home .portal-filter-form--home select[name='category']{grid-column:1!important;}
  .portal-shell--home .portal-filter-form--home select[name='sort']{grid-column:1!important;}
  .portal-shell--home .portal-filter-form--home button{grid-column:2!important;grid-row:1 / span 2!important;height:100%!important;min-height:38px!important;border-radius:13px!important;background:#2f75ff!important;color:#fff!important;}
  .portal-shell--home .portal-home-category-chips{display:none!important;}
  .portal-shell--home .portal-record-grid--products,
  .portal-shell--home .portal-record-grid--wide-products{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .portal-shell--home .portal-record-grid--products .portal-record-card,
  .portal-shell--home .portal-record-grid--wide-products .portal-record-card{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:'media' 'name' 'price'!important;
    gap:8px!important;
    min-height:0!important;
    padding:10px!important;
    border-radius:15px!important;
  }
  .portal-shell--home .portal-record-card__media{grid-area:media!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;border-radius:14px!important;}
  .portal-shell--home .portal-record-card__name{grid-area:name!important;font-size:14px!important;line-height:1.35!important;margin:0!important;}
  .portal-shell--home .portal-record-card__price{grid-area:price!important;font-size:16px!important;margin:0!important;justify-self:start!important;}

  /* Products/专区 mobile: category-first mode only; keep action/cart inside the card. */
  .portal-zone-layout .portal-filter-board--zone-products,
  .portal-zone-layout .portal-product-block,
  .portal-zone-layout .portal-zone-selector{display:none!important;}
  .portal-zone-layout .portal-mobile-zone-panel{display:block!important;background:transparent!important;margin:0!important;border:0!important;}
  .portal-mobile-zone-body{grid-template-columns:92px minmax(0,1fr)!important;gap:7px!important;overflow:hidden!important;}
  .portal-mobile-zone-list{min-width:0!important;overflow:hidden!important;}
  .portal-mobile-zone-item{grid-template-columns:62px minmax(0,1fr) 38px!important;gap:8px!important;min-width:0!important;overflow:hidden!important;padding:7px!important;}
  .portal-mobile-zone-item__media{width:62px!important;height:62px!important;}
  .portal-mobile-zone-item__actions{width:38px!important;min-width:38px!important;justify-items:center!important;align-items:center!important;overflow:hidden!important;}
  .portal-mobile-zone-item__actions i{display:none!important;}
  .portal-mobile-zone-item__actions b{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;margin:0!important;transform:none!important;}

  /* Mobile orders: no leaked/blurred advanced form; keep search + funnel visible. */
  .portal-shell--orders .portal-orders-mobile-searchbar{display:flex!important;align-items:center!important;gap:8px!important;padding:8px 8px 10px!important;margin:0!important;background:transparent!important;}
  .portal-shell--orders .portal-orders-mobile-search{flex:1!important;display:flex!important;align-items:center!important;gap:7px!important;min-height:42px!important;padding:0 10px!important;border:1px solid #dfe6ee!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;}
  .portal-shell--orders .portal-orders-mobile-search::before{content:'⌕';color:#8a96a7;font-size:18px;line-height:1;}
  .portal-shell--orders .portal-orders-mobile-search input[type='search']{height:38px!important;min-height:38px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:14px!important;color:#17212b!important;}
  .portal-shell--orders .portal-orders-mobile-search__submit{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
  .portal-shell--orders .portal-orders-mobile-filter-toggle{width:42px!important;height:42px!important;flex:0 0 42px!important;display:grid!important;place-items:center!important;border:1px solid #dfe6ee!important;border-radius:12px!important;background:#fff!important;color:#374151!important;box-shadow:none!important;position:relative!important;}
  .portal-shell--orders .portal-card--orders-query:not(.is-mobile-open){display:none!important;transform:none!important;opacity:1!important;pointer-events:auto!important;}
  .portal-shell--orders .portal-card--orders-query.is-mobile-open{display:block!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;z-index:90!important;max-height:78vh!important;overflow:auto!important;margin:0!important;padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px))!important;border-radius:18px 18px 0 0!important;background:#fff!important;border:1px solid #e4e9f1!important;box-shadow:0 -18px 42px rgba(15,23,42,.18)!important;}
}

/* Customer-facing balance/cost messages must never expose upstream cost numbers. */
.portal-pay-modal__message,.portal-flash,.portal-action-feedback{word-break:break-word;}
.v32979-marker-site-settlement-safe{display:none;}

/* === v3.29.80: admin nav cleanup, stable homepage link, mobile zone/order fixes === */
:root{
  --v32980-admin-sky:#5ebcff;
  --v32980-admin-blue:#3f7eff;
  --v32980-admin-deep:#285cc7;
  --v32980-admin-text:#17212f;
  --v32980-admin-sub:#5b6778;
}

/* Admin workbench: use a narrower, cleaner blue gradient and remove default white nav blocks. */
.app-shell .topbar{
  background:linear-gradient(100deg,var(--v32980-admin-sky) 0%,var(--v32980-admin-blue) 48%,var(--v32980-admin-deep) 100%)!important;
  box-shadow:0 8px 20px rgba(40,92,199,.15)!important;
}
.app-shell .sidebar,
.app-shell .sidebar-nav,
.app-shell .sidebar-nav .nav-group{
  background:#f8fbff!important;
}
.app-shell .sidebar-nav .nav-group,
.app-shell .sidebar-nav .nav-single,
.app-shell .sidebar-nav .nav-group__summary,
.app-shell .sidebar-nav .nav-child{
  background:transparent!important;
  border-left:0!important;
  box-shadow:none!important;
}
.app-shell .sidebar-nav .nav-single,
.app-shell .sidebar-nav .nav-group__summary{
  color:var(--v32980-admin-text)!important;
  font-size:14px!important;
  font-weight:820!important;
}
.app-shell .sidebar-nav .nav-child{
  color:var(--v32980-admin-sub)!important;
  font-size:13px!important;
  font-weight:540!important;
  padding-left:26px!important;
}
.app-shell .sidebar-nav .nav-single.active,
.app-shell .sidebar-nav .nav-group__summary.active,
.app-shell .sidebar-nav .nav-child.active{
  background:#eaf3ff!important;
  color:#1d5fd7!important;
  border-left:0!important;
  box-shadow:none!important;
}
.app-shell .sidebar-nav .nav-single:hover,
.app-shell .sidebar-nav .nav-group__summary:hover,
.app-shell .sidebar-nav .nav-child:hover{
  background:#f1f6ff!important;
  color:#1d5fd7!important;
  border-left:0!important;
  box-shadow:none!important;
}
.app-shell .sidebar-nav .nav-single::before,
.app-shell .sidebar-nav .nav-group__summary::before,
.app-shell .sidebar-nav .nav-child::before{display:none!important;content:none!important;}

/* PC 首页仍然保留 banner + 搜索/筛选，专区筛选卡片只属于 products/专区页。 */
.portal-shell--home .portal-home-top-row,
.portal-shell--home .portal-filter-board--home-products{display:block!important;}
.portal-shell--home .portal-zone-selector,
.portal-shell--home .portal-mobile-zone-panel{display:none!important;}

/* Mobile 专区：只保留一个搜索框，去掉左侧分类的蓝色描边；右侧显示“买/购”两个独立操作。 */
.portal-mobile-top-search--products{display:none!important;}
@media(max-width:760px){
  .portal-shell--products-list .portal-header,
  .portal-shell--products-list .portal-mobile-top-search--products{display:none!important;}
  .portal-mobile-zone-search{display:grid!important;grid-template-columns:minmax(0,1fr) 70px!important;gap:8px!important;}
  .portal-mobile-zone-side,
  .portal-mobile-zone-side a,
  .portal-mobile-zone-side a.active{
    border-left:0!important;
    outline:0!important;
    box-shadow:none!important;
  }
  .portal-mobile-zone-side a{background:transparent!important;color:#526173!important;font-weight:620!important;}
  .portal-mobile-zone-side a.active{background:#fff!important;color:#1d5fd7!important;font-weight:780!important;}
  .portal-mobile-zone-item{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 72px!important;
    gap:8px!important;
    align-items:center!important;
    overflow:hidden!important;
  }
  .portal-mobile-zone-item__body{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:9px!important;
    align-items:center!important;
    color:inherit!important;
    text-decoration:none!important;
  }
  .portal-mobile-zone-item__actions{
    min-width:0!important;
    width:72px!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
    justify-items:stretch!important;
    align-items:center!important;
  }
  .portal-mobile-zone-cart-form{margin:0!important;display:block!important;min-width:0!important;}
  .portal-mobile-zone-action{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    padding:0!important;
    border-radius:999px!important;
    display:grid!important;
    place-items:center!important;
    text-decoration:none!important;
    border:0!important;
    font-size:12px!important;
    font-weight:900!important;
    line-height:1!important;
    box-shadow:none!important;
    cursor:pointer!important;
    font-style:normal!important;
  }
  .portal-mobile-zone-action--buy{background:#2f75ff!important;color:#fff!important;}
  .portal-mobile-zone-action--cart{background:#eef5ff!important;color:#1d5fd7!important;border:1px solid #cfe0ff!important;}
  .portal-mobile-zone-item__actions i,
  .portal-mobile-zone-item__actions b{display:none!important;}

  /* Mobile order page: no blurred duplicate filter fields on first screen; use search + funnel only. */
  .portal-shell--orders .portal-orders-mobile-searchbar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;margin:0 0 10px!important;align-items:center!important;}
  .portal-shell--orders .portal-orders-mobile-search{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;gap:6px!important;align-items:center!important;background:#fff!important;border:1px solid #dfe5ec!important;border-radius:14px!important;padding:4px!important;box-shadow:0 6px 16px rgba(35,55,87,.04)!important;}
  .portal-shell--orders .portal-orders-mobile-search input{height:34px!important;min-height:34px!important;border:0!important;background:transparent!important;padding:0 8px!important;color:#17212b!important;box-shadow:none!important;}
  .portal-shell--orders .portal-orders-mobile-search button{height:34px!important;border:0!important;border-radius:10px!important;background:#2f75ff!important;color:#fff!important;font-size:12px!important;font-weight:880!important;}
  .portal-shell--orders .portal-orders-mobile-filter-toggle{width:44px!important;height:44px!important;border:1px solid #dfe5ec!important;border-radius:14px!important;background:#fff!important;color:#526173!important;display:grid!important;place-items:center!important;box-shadow:0 6px 16px rgba(35,55,87,.04)!important;position:relative!important;}
  .portal-shell--orders .portal-card--orders-query:not(.is-mobile-open){display:none!important;visibility:hidden!important;height:0!important;max-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;transform:none!important;}
  .portal-shell--orders .portal-card--orders-query.is-mobile-open{display:block!important;visibility:visible!important;height:auto!important;max-height:78vh!important;overflow:auto!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:90!important;margin:0!important;padding:16px!important;border-radius:18px 18px 0 0!important;background:#fff!important;border:1px solid #e5eaf1!important;box-shadow:0 -18px 42px rgba(15,23,42,.18)!important;transform:none!important;}
}

.v32980-marker-admin-mobile-fix{display:none;}

/* === v3.29.81: clean product actions, restore PC member tools, remove stale warning === */
/* PC 首页恢复会员工具；手机端继续隐藏，避免重复占用首屏。 */
@media (min-width:761px){
  .portal-shell--home .portal-home-top-row,
  .portal-shell--home .portal-home-top-row--compact,
  .portal-home-market-layout .portal-home-top-row--compact{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(320px,390px)!important;
    gap:18px!important;
    align-items:stretch!important;
    margin:0 0 14px!important;
  }
  .portal-shell--home .portal-home-top-row .portal-hero-banner,
  .portal-shell--home .portal-home-top-row--compact .portal-hero-banner{
    min-height:240px!important;
    height:100%!important;
  }
  .portal-shell--home .portal-home-top-row .portal-user-panel,
  .portal-shell--home .portal-home-top-row--compact .portal-user-panel,
  .portal-shell--home .portal-home-user-panel-slot .portal-user-panel{
    display:grid!important;
    height:auto!important;
    min-height:240px!important;
    max-height:none!important;
    overflow:visible!important;
    align-self:stretch!important;
    position:static!important;
    background:#fff!important;
    border:1px solid #e5eaf1!important;
    box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
  }
  .portal-shell--home .portal-home-user-panel-slot{display:block!important;min-width:0!important;}
  .portal-shell--home .portal-home-top-row .portal-shortcut-grid--order-status,
  .portal-shell--home .portal-home-top-row--compact .portal-shortcut-grid--order-status,
  .portal-shell--home .portal-home-user-panel-slot .portal-shortcut-grid--order-status{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
}
@media (max-width:760px){
  .portal-shell--home .portal-home-top-row .portal-user-panel,
  .portal-shell--home .portal-home-top-row--compact .portal-user-panel,
  .portal-shell--home .portal-home-user-panel-slot{display:none!important;}
}

/* 商品详情收藏/加购：按钮下方不再显示多余反馈底框，统一走轻量 toast。 */
.portal-shell--recording .portal-order-actions--inline-feedback .portal-inline-action,
.portal-shell--member .portal-order-actions--inline-feedback .portal-inline-action,
.portal-order-actions--inline-feedback .portal-inline-action{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  gap:0!important;
  overflow:visible!important;
  color:inherit!important;
}
.portal-shell--recording .portal-order-actions--inline-feedback .portal-inline-action__feedback,
.portal-shell--member .portal-order-actions--inline-feedback .portal-inline-action__feedback,
.portal-order-actions--inline-feedback .portal-inline-action__feedback{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.portal-order-actions--inline-feedback .portal-inline-action > .btn{width:100%!important;position:relative;z-index:1;}
.portal-order-actions--inline-feedback .btn:disabled{opacity:.68!important;cursor:wait!important;transform:none!important;}
.portal-order-actions--inline-feedback .btn.is-action-success{transform:translateY(-1px)!important;box-shadow:0 10px 24px rgba(47,117,255,.16)!important;}
.portal-order-actions--inline-feedback .btn.is-action-error{box-shadow:0 10px 24px rgba(239,68,68,.14)!important;}

.portal-floating-toast-stack{
  position:fixed!important;
  left:50%!important;
  top:26px!important;
  transform:translateX(-50%)!important;
  z-index:10080!important;
  display:grid!important;
  gap:8px!important;
  width:auto!important;
  max-width:min(430px,calc(100vw - 32px))!important;
  pointer-events:none!important;
}
.portal-floating-toast{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:0 16px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.96)!important;
  border:1px solid #dbe7ff!important;
  color:#17212b!important;
  box-shadow:0 12px 30px rgba(18,38,85,.14)!important;
  backdrop-filter:blur(10px)!important;
  animation:portalFloatingToastIn .18s ease-out both!important;
  font-size:14px!important;
  font-weight:850!important;
}
.portal-floating-toast strong{font:inherit!important;color:inherit!important;white-space:nowrap!important;max-width:320px!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.portal-floating-toast__icon{
  width:20px!important;height:20px!important;border-radius:999px!important;display:grid!important;place-items:center!important;
  background:#2f75ff!important;color:#fff!important;font-size:12px!important;font-weight:950!important;line-height:1!important;
}
.portal-floating-toast.is-error{border-color:#ffd4d4!important;background:#fffafa!important;color:#b42318!important;}
.portal-floating-toast.is-error .portal-floating-toast__icon{background:#ef4444!important;}
.portal-floating-toast.is-hiding{animation:portalFloatingToastOut .18s ease-in both!important;}
@keyframes portalFloatingToastIn{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes portalFloatingToastOut{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-8px) scale(.98)}}
@media (max-width:760px){
  .portal-floating-toast-stack{top:14px!important;left:12px!important;right:12px!important;transform:none!important;max-width:none!important;}
  .portal-floating-toast{width:100%!important;min-height:38px!important;padding:0 12px!important;font-size:13px!important;}
}
.v32981-marker-final-cleanup{display:none;}

/* === v3.29.81 final front cleanup: avoid empty PC right column and keep member tools desktop-only. === */
@media (min-width:761px){
  .portal-shell--home .portal-home-top-row:not(.portal-home-top-row--with-user-panel),
  .portal-shell--home .portal-home-top-row--compact:not(.portal-home-top-row--with-user-panel){
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .portal-shell--home .portal-home-top-row.portal-home-top-row--with-user-panel,
  .portal-shell--home .portal-home-top-row--compact.portal-home-top-row--with-user-panel{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 340px!important;
    gap:18px!important;
    align-items:stretch!important;
  }
  .portal-home-user-panel-slot{display:block!important;min-width:0!important;align-self:stretch!important;}
  .portal-home-user-panel-slot .portal-user-panel{
    height:100%!important;
    min-height:220px!important;
    padding:16px!important;
    border-radius:18px!important;
    background:#fff!important;
    border:1px solid #e5eaf1!important;
    box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
  }
}
@media (max-width:760px){.portal-home-user-panel-slot{display:none!important;}}
.v32981-marker-final-front-clean{display:none;}

/* v3.29.81 final polish: explicit markers and final action state cleanup. */
.portal-order-actions--inline-feedback [data-inline-action-feedback]{display:none!important;}
.portal-favorite-toggle[data-favorited="1"]{
  border-color:#dbe7ff!important;
  background:#f6f9ff!important;
  color:#1d5fd7!important;
}
.portal-favorite-toggle[data-favorited="0"]{
  background:#fff!important;
  color:#1d5fd7!important;
}
.v32981-marker-final-clean{display:none;}
.v32981-marker-final-front-clean{display:none;}
/* compatibility marker for static regression: .portal-home-top-row:not(.portal-home-top-row--with-user-panel) */


/* === v3.29.84 restoration note ===
   Restored the 3.29.81 visual baseline that was removed in 3.29.82.
   Only mobile functional styles from 3.29.82 and mobile profile/order detail styles from 3.29.83 are appended below.
   This keeps the later mobile work without discarding the older UI baseline. */
:root{
  --v32982-blue:#3478f6;
  --v32982-blue-2:#5b9bff;
  --v32982-blue-3:#75b8ff;
  --v32982-blue-deep:#1f4fb4;
  --v32982-sky:#72c6ff;
  --v32982-night:#1d3f91;
  --v32982-text:#17212b;
  --v32982-strong:#0f172a;
  --v32982-muted:#667085;
  --v32982-line:#e3e9f2;
  --v32982-soft:#f5f8fc;
  --v32982-card:#ffffff;
  --v32982-field:#fbfcfe;
  --v32982-price:#e86b2f;
  --v32982-danger:#ef4444;
}

/* Mobile shared shell. */
.portal-mobile-top-search,
.portal-mobile-zone-panel,
.portal-orders-mobile-searchbar,
.portal-mobile-detail-title{display:none;}
@media (max-width:760px){
  body{background:#f6f8fb!important;}
  .portal-shell{padding-bottom:76px!important;}
  .portal-recording-layout{display:block!important;}
  .portal-recording-layout>.portal-sidebar{display:none!important;}
  .portal-recording-content{width:100%!important;max-width:none!important;padding:0 12px!important;}
  .portal-header,.portal-notice-bar{display:none!important;}
  .portal-mobile-tabbar--market{display:flex!important;}

  /* Home mobile: search + banner + category filter + goods grid. */
  .portal-shell--home .portal-mobile-top-search--home{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 58px!important;
    gap:8px!important;
    align-items:center!important;
    margin:8px 0 10px!important;
  }
  .portal-shell--home .portal-mobile-top-search--home input{height:42px!important;border-radius:15px!important;border:1px solid #dfe6ef!important;background:#fff!important;padding:0 13px!important;font-size:14px!important;}
  .portal-shell--home .portal-mobile-top-search--home button{height:42px!important;border-radius:13px!important;font-size:13px!important;font-weight:860!important;}
  .portal-shell--home .portal-home-top-row,
  .portal-shell--home .portal-home-top-row--compact{display:block!important;margin:0 0 10px!important;}
  .portal-shell--home .portal-hero-banner{display:block!important;min-height:118px!important;border-radius:16px!important;margin:0 0 10px!important;overflow:hidden!important;}
  .portal-shell--home .portal-hero-banner__content{padding:18px!important;}
  .portal-shell--home .portal-hero-banner h1{font-size:22px!important;line-height:1.18!important;margin:0 0 8px!important;}
  .portal-shell--home .portal-hero-banner p{font-size:13px!important;line-height:1.45!important;margin:0 0 10px!important;}
  .portal-shell--home .portal-hero-cta{display:inline-flex!important;min-height:34px!important;padding:0 14px!important;border-radius:11px!important;font-size:13px!important;}
  .portal-shell--home .portal-home-user-panel-slot,
  .portal-shell--home .portal-user-panel,
  .portal-shell--home .portal-member-tools,
  .portal-shell--home .member-tools{display:none!important;}
  .portal-shell--home .portal-inline-notice{display:none!important;}
  .portal-shell--home .portal-filter-board--home-products{display:block!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0 0 10px!important;}
  .portal-shell--home .portal-filter-board--home-products .portal-filter-board__head{display:none!important;}
  .portal-shell--home .portal-filter-form--home{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 64px!important;gap:8px!important;align-items:center!important;}
  .portal-shell--home .portal-filter-form--home input[name="q"]{display:none!important;}
  .portal-shell--home .portal-filter-form--home select{height:38px!important;border-radius:13px!important;background:#fff!important;border:1px solid #dfe6ef!important;padding:0 10px!important;font-size:12px!important;color:#344054!important;}
  .portal-shell--home .portal-filter-form--home button{height:38px!important;border-radius:12px!important;font-size:12px!important;}
  .portal-shell--home .portal-home-category-chips{display:flex!important;gap:8px!important;overflow-x:auto!important;padding:2px 0 0!important;scrollbar-width:none!important;}
  .portal-shell--home .portal-home-category-chips::-webkit-scrollbar{display:none!important;}
  .portal-shell--home .portal-home-category-chips a{white-space:nowrap!important;border-radius:999px!important;background:#fff!important;border:1px solid #e3e9f2!important;padding:7px 10px!important;color:#344054!important;font-size:12px!important;font-weight:760!important;text-decoration:none!important;}
  .portal-shell--home .portal-home-category-chips a.active{background:#eef5ff!important;border-color:#cfe0ff!important;color:#1d5fd7!important;}
  .portal-shell--home .portal-product-block--home-list{display:block!important;margin-top:8px!important;}
  .portal-shell--home .portal-product-block__head{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:6px 0 8px!important;}
  .portal-shell--home .portal-product-block__head h2{font-size:16px!important;margin:0!important;}
  .portal-shell--home .portal-record-grid--products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
  .portal-shell--home .portal-record-card{border-radius:14px!important;padding:8px!important;background:#fff!important;border:1px solid #e5ebf3!important;box-shadow:none!important;}
  .portal-shell--home .portal-record-card__media{height:86px!important;border-radius:12px!important;}
  .portal-shell--home .portal-record-card__name{font-size:12px!important;line-height:1.35!important;min-height:32px!important;}
  .portal-shell--home .portal-record-card__price{font-size:14px!important;}

  /* Zone mobile: one search, category column, buy/cart as different actions. */
  .portal-zone-selector,
  .portal-filter-board--zone-products,
  .portal-product-block{display:none!important;}
  .portal-mobile-zone-panel{display:block!important;}
  .portal-mobile-zone-search{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;gap:8px!important;align-items:center!important;margin:8px 0 8px!important;}
  .portal-mobile-zone-search input{height:42px!important;border-radius:15px!important;border:1px solid #dfe6ef!important;background:#fff!important;padding:0 13px!important;font-size:14px!important;color:var(--v32982-text)!important;}
  .portal-mobile-zone-search button{height:42px!important;border-radius:13px!important;font-size:13px!important;font-weight:860!important;}
  .portal-mobile-zone-tabs{display:flex!important;gap:16px!important;overflow-x:auto!important;padding:5px 0 9px!important;scrollbar-width:none!important;}
  .portal-mobile-zone-tabs::-webkit-scrollbar{display:none!important;}
  .portal-mobile-zone-tabs a{white-space:nowrap!important;text-decoration:none!important;color:#4b5563!important;font-weight:820!important;font-size:13px!important;padding-bottom:6px!important;border-bottom:3px solid transparent!important;}
  .portal-mobile-zone-tabs a.active{color:#1d56c8!important;border-color:var(--v32982-blue)!important;}
  .portal-mobile-zone-body{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;overflow:hidden!important;}
  .portal-mobile-zone-side{position:sticky!important;top:8px!important;max-height:calc(100vh - 150px)!important;overflow:auto!important;background:#f0f3f8!important;border:0!important;box-shadow:none!important;border-radius:14px!important;padding:6px!important;display:grid!important;gap:2px!important;}
  .portal-mobile-zone-side a{display:flex!important;align-items:center!important;min-height:38px!important;padding:0 8px!important;border:0!important;border-left:0!important;outline:0!important;box-shadow:none!important;border-radius:11px!important;color:#526173!important;text-decoration:none!important;font-size:12px!important;font-weight:640!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;background:transparent!important;}
  .portal-mobile-zone-side a.active{background:#fff!important;color:#1d56c8!important;font-weight:820!important;border-left:0!important;box-shadow:0 3px 10px rgba(15,23,42,.035)!important;}
  .portal-mobile-zone-list{display:grid!important;gap:8px!important;min-width:0!important;overflow:hidden!important;padding-bottom:80px!important;}
  .portal-mobile-zone-item{display:grid!important;grid-template-columns:minmax(0,1fr) 76px!important;gap:8px!important;align-items:center!important;background:#fff!important;border:1px solid #e6ebf2!important;border-radius:14px!important;padding:8px!important;overflow:hidden!important;}
  .portal-mobile-zone-item__body{min-width:0!important;display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;text-decoration:none!important;color:inherit!important;}
  .portal-mobile-zone-item__media{width:62px!important;height:62px!important;border-radius:12px!important;background:#edf4ff!important;color:var(--v32982-blue)!important;display:grid!important;place-items:center!important;overflow:hidden!important;}
  .portal-mobile-zone-item__media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .portal-mobile-zone-item__main{display:grid!important;gap:5px!important;min-width:0!important;}
  .portal-mobile-zone-item__main strong{font-size:13px!important;line-height:1.35!important;color:var(--v32982-text)!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-mobile-zone-item__main em{font-style:normal!important;color:var(--v32982-price)!important;font-size:15px!important;font-weight:900!important;}
  .portal-mobile-zone-item__actions{width:76px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;align-items:center!important;justify-items:center!important;overflow:visible!important;}
  .portal-mobile-zone-action{width:34px!important;height:34px!important;border-radius:999px!important;border:0!important;display:grid!important;place-items:center!important;font-style:normal!important;text-decoration:none!important;font-size:12px!important;font-weight:950!important;line-height:1!important;box-shadow:none!important;cursor:pointer!important;}
  .portal-mobile-zone-action--buy{background:var(--v32982-blue)!important;color:#fff!important;}
  .portal-mobile-zone-action--cart{background:#f1f6ff!important;color:#1d56c8!important;border:1px solid #cfe0ff!important;}

  /* Product detail mobile. */
  .portal-mobile-detail-title{display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px!important;align-items:center!important;height:46px!important;margin:0 0 8px!important;}
  .portal-mobile-detail-title a{font-size:28px!important;text-decoration:none!important;color:#111827!important;line-height:1!important;}
  .portal-mobile-detail-title strong{text-align:center!important;font-size:15px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;}
  .portal-detail-layout{display:grid!important;gap:10px!important;padding-bottom:82px!important;}
  .portal-detail-shell{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:0!important;background:#fff!important;border:1px solid #e6ebf2!important;border-radius:16px!important;box-shadow:0 8px 18px rgba(15,23,42,.035)!important;}
  .portal-detail-shell__media-card{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;background:transparent!important;border:0!important;border-radius:0!important;padding:14px 14px 8px!important;box-shadow:none!important;}
  .portal-detail-square-media{width:84px!important;height:84px!important;min-height:84px!important;border-radius:14px!important;background:#edf4ff!important;}
  .portal-detail-shell__summary{display:grid!important;gap:5px!important;min-width:0!important;}
  .portal-detail-shell__summary h1{font-size:18px!important;line-height:1.25!important;margin:0!important;color:var(--v32982-text)!important;}
  .portal-detail-shell__line{font-size:13px!important;line-height:1.45!important;color:#4f5f73!important;}
  .portal-detail-price-band strong{font-size:19px!important;color:var(--v32982-price)!important;}
  .portal-inline-note.top-gap{grid-column:1/-1!important;margin-top:4px!important;border-radius:12px!important;padding:10px!important;font-size:12px!important;}
  .portal-detail-shell__order-card{background:transparent!important;border:0!important;border-top:1px solid #eef2f7!important;border-radius:0!important;padding:12px 14px 14px!important;box-shadow:none!important;}
  .portal-card--detail-body,.portal-card--history{border-radius:16px!important;margin-top:10px!important;padding:16px!important;}
  .portal-detail-tabs{display:flex!important;justify-content:space-around!important;gap:10px!important;border-bottom:1px solid #e9edf3!important;padding-bottom:6px!important;}
  .portal-detail-tabs button{font-size:15px!important;flex:1!important;text-align:center!important;padding:10px 0!important;color:#9aa3af!important;background:transparent!important;}
  .portal-detail-tabs button.active{color:var(--v32982-text)!important;border-bottom:3px solid var(--v32982-blue)!important;background:transparent!important;box-shadow:none!important;}
  .portal-order-actions--recording{position:sticky!important;bottom:70px!important;background:#fff!important;padding:10px 0 0!important;margin-top:8px!important;display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:8px!important;z-index:8!important;}
  .portal-order-actions--recording .portal-mobile-order-query{display:flex!important;align-items:center!important;justify-content:center!important;}
  .portal-order-actions--recording .portal-inline-action:first-of-type{display:none!important;}
  .portal-order-actions--recording .btn{min-height:44px!important;border-radius:999px!important;}

  /* Orders mobile: search by params + funnel drawer; no visible advanced fields before tap. */
  .portal-shell--orders .portal-header,
  .portal-shell--orders .portal-notice-bar{display:none!important;}
  .portal-orders-mobile-searchbar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;margin:6px 0 10px!important;align-items:center!important;filter:none!important;backdrop-filter:none!important;}
  .portal-orders-mobile-search{display:grid!important;grid-template-columns:28px minmax(0,1fr) 0!important;gap:4px!important;align-items:center!important;background:#fff!important;border:1px solid #dfe6ef!important;border-radius:14px!important;padding:4px 8px!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;overflow:hidden!important;}
  .portal-orders-mobile-search__icon{display:grid!important;place-items:center!important;color:#7a8492!important;font-size:17px!important;}
  .portal-orders-mobile-search input{height:34px!important;min-height:34px!important;border:0!important;background:transparent!important;padding:0 4px!important;color:var(--v32982-text)!important;box-shadow:none!important;filter:none!important;}
  .portal-orders-mobile-search__submit{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
  .portal-orders-mobile-filter-toggle{width:44px!important;height:44px!important;border:1px solid #dfe6ef!important;border-radius:14px!important;background:#fff!important;color:#526173!important;display:grid!important;place-items:center!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;}
  .portal-card--orders-query:not(.is-mobile-open){display:none!important;visibility:hidden!important;height:0!important;max-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;}
  .portal-card--orders-query.is-mobile-open{display:block!important;visibility:visible!important;height:auto!important;max-height:78vh!important;overflow:auto!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:90!important;margin:0!important;padding:16px!important;border-radius:18px 18px 0 0!important;background:#fff!important;border:1px solid #e5eaf1!important;box-shadow:0 -18px 42px rgba(15,23,42,.18)!important;}
}

/* Mobile add-to-cart sheet for 专区 “购”. */
.portal-mobile-cart-sheet[hidden]{display:none!important;}
.portal-mobile-cart-sheet{position:fixed!important;inset:0!important;z-index:12000!important;display:block!important;}
.portal-mobile-cart-sheet__backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.38)!important;}
.portal-mobile-cart-sheet__panel{position:absolute!important;left:0!important;right:0!important;bottom:0!important;max-height:84vh!important;overflow:auto!important;background:#fff!important;border-radius:20px 20px 0 0!important;padding:18px 16px 20px!important;box-shadow:0 -20px 44px rgba(15,23,42,.22)!important;}
.portal-mobile-cart-sheet__close{position:absolute!important;right:14px!important;top:10px!important;width:32px!important;height:32px!important;border:0!important;border-radius:999px!important;background:#f2f5f9!important;color:#526173!important;font-size:22px!important;line-height:1!important;}
.portal-mobile-cart-sheet__product{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;margin:6px 36px 14px 0!important;}
.portal-mobile-cart-sheet__thumb{width:64px!important;height:64px!important;border-radius:14px!important;background:#edf4ff!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:var(--v32982-blue)!important;font-weight:900!important;}
.portal-mobile-cart-sheet__thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.portal-mobile-cart-sheet__info{display:grid!important;gap:5px!important;min-width:0!important;}
.portal-mobile-cart-sheet__info strong{font-size:16px!important;color:var(--v32982-text)!important;line-height:1.35!important;}
.portal-mobile-cart-sheet__info em{font-style:normal!important;color:var(--v32982-price)!important;font-weight:900!important;}
.portal-mobile-cart-sheet__fields{display:grid!important;gap:10px!important;}
.portal-mobile-cart-sheet__fields label{display:grid!important;gap:6px!important;margin:0!important;}
.portal-mobile-cart-sheet__fields label>span{font-size:13px!important;font-weight:820!important;color:#344054!important;}
.portal-mobile-cart-sheet__fields input,
.portal-mobile-cart-sheet__fields textarea,
.portal-mobile-cart-sheet__fields select{width:100%!important;border:1px solid #dfe6ef!important;background:#fbfcfe!important;border-radius:13px!important;padding:11px 12px!important;font-size:14px!important;box-shadow:none!important;}
.portal-mobile-cart-qty{display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;gap:8px!important;align-items:center!important;}
.portal-mobile-cart-qty button{height:42px!important;border-radius:13px!important;border:1px solid #dfe6ef!important;background:#fff!important;color:#1d56c8!important;font-weight:900!important;font-size:18px!important;}
.portal-mobile-cart-sheet__bar{display:grid!important;grid-template-columns:1fr 1.2fr!important;gap:10px!important;margin-top:14px!important;}
.portal-mobile-cart-sheet__bar .btn{min-height:44px!important;border-radius:999px!important;}
body.portal-mobile-cart-open{overflow:hidden!important;}

/* === v3.29.83 mobile profile/order detail refinement === */
.portal-profile-mobile-settings,
.portal-order-mobile-detail{display:none;}

@media (max-width:760px){
  /* Bottom tabbar: exactly one active target; blue theme only. */
  .portal-mobile-tabbar--market a.active{
    color:#2f75ff!important;
    background:#eef5ff!important;
    box-shadow:none!important;
  }
  .portal-mobile-tabbar--market a:not(.active){
    color:#2f3237!important;
    background:transparent!important;
  }
  .portal-mobile-tabbar--market a:not(.active) span{color:#2f3237!important;}
  .portal-mobile-tabbar--market a.active span{color:#2f75ff!important;}

  /* Personal profile/settings page: reference-like list layout. */
  .portal-shell--profile .portal-page-head,
  .portal-shell--profile .member-recording-shell > .member-nav,
  .portal-profile-desktop-card{display:none!important;}
  .portal-profile-mobile-settings{
    display:block!important;
    min-height:calc(100vh - 74px)!important;
    margin:-4px -10px 0!important;
    padding:0 14px 104px!important;
    background:#fff!important;
    color:#14181f!important;
  }
  .portal-profile-mobile-settings__bar{
    height:54px!important;
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr) 48px!important;
    align-items:center!important;
    border-bottom:1px solid #eef0f4!important;
    background:#fff!important;
  }
  .portal-profile-mobile-settings__bar>a{
    display:grid!important;
    place-items:center!important;
    width:40px!important;
    height:40px!important;
    color:#111827!important;
    text-decoration:none!important;
    font-size:32px!important;
    font-weight:300!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .portal-profile-mobile-settings__bar strong{
    text-align:center!important;
    font-size:19px!important;
    line-height:1!important;
    font-weight:900!important;
    color:#111827!important;
  }
  .portal-profile-mobile-settings__logout-icon{
    justify-self:end!important;
    font-size:19px!important;
    color:#ff5a60!important;
  }
  .portal-profile-mobile-settings__list{
    display:grid!important;
    background:#fff!important;
    margin-top:8px!important;
  }
  .portal-profile-mobile-settings__row{
    min-height:58px!important;
    display:grid!important;
    grid-template-columns:minmax(92px,.45fr) minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:center!important;
    padding:0 0!important;
    border-bottom:1px solid #f0f1f4!important;
    text-decoration:none!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .portal-profile-mobile-settings__row span{
    color:#8f949c!important;
    font-size:16px!important;
    font-weight:500!important;
    letter-spacing:.02em!important;
  }
  .portal-profile-mobile-settings__row strong,
  .portal-profile-mobile-settings__row em{
    color:#1f2329!important;
    font-size:16px!important;
    line-height:1.35!important;
    text-align:right!important;
    font-style:normal!important;
    font-weight:780!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .portal-profile-mobile-settings__row i{
    color:#b8bec7!important;
    font-size:22px!important;
    font-style:normal!important;
    font-weight:400!important;
  }
  .portal-profile-switch{
    justify-self:end!important;
    width:54px!important;
    height:32px!important;
    border:0!important;
    border-radius:999px!important;
    background:#8ca7f9!important;
    padding:3px!important;
    box-shadow:none!important;
  }
  .portal-profile-switch b{
    display:block!important;
    width:26px!important;
    height:26px!important;
    border-radius:50%!important;
    background:#fff!important;
    margin-left:auto!important;
    box-shadow:0 1px 3px rgba(15,23,42,.12)!important;
  }
  .portal-profile-mobile-settings__logout{
    display:flex!important;
    gap:8px!important;
    align-items:center!important;
    justify-content:center!important;
    height:52px!important;
    margin:44px 20px 0!important;
    border-radius:999px!important;
    background:#ff5e66!important;
    color:#fff!important;
    font-size:17px!important;
    font-weight:850!important;
    text-decoration:none!important;
    box-shadow:0 10px 20px rgba(255,94,102,.18)!important;
  }
  .portal-profile-mobile-settings__logout span{font-size:16px!important;}
  .portal-shell--profile .portal-main{
    padding-top:0!important;
    background:#fff!important;
  }

  /* Compact mobile order detail: single purpose layout instead of desktop blocks. */
  .member-recording-shell--order-detail .member-nav,
  .member-recording-shell--order-detail .portal-order-reference-titlebar--clean,
  .member-recording-shell--order-detail .portal-order-reference-detail > .portal-order-reference-block{display:none!important;}
  .portal-order-mobile-detail{
    display:block!important;
    margin:-6px -10px 0!important;
    padding:0 14px 96px!important;
    background:#f5f6f9!important;
    min-height:calc(100vh - 70px)!important;
  }
  .portal-order-mobile-titlebar{
    height:50px!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 42px!important;
    align-items:center!important;
    background:#fff!important;
    margin:0 -14px!important;
    padding:0 14px!important;
    border-bottom:1px solid #eef1f5!important;
  }
  .portal-order-mobile-titlebar a{
    display:grid!important;
    place-items:center!important;
    width:36px!important;
    height:36px!important;
    color:#111827!important;
    text-decoration:none!important;
    font-size:30px!important;
    font-weight:300!important;
  }
  .portal-order-mobile-titlebar strong{
    text-align:center!important;
    color:#111827!important;
    font-size:18px!important;
    font-weight:900!important;
  }
  .portal-order-mobile-hero{
    height:76px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    margin:0 -14px 10px!important;
    padding:0 26px!important;
    background:linear-gradient(90deg,#f7f8fa 0%,#eef1f5 100%)!important;
  }
  .portal-order-mobile-hero strong{
    max-width:70%!important;
    font-size:23px!important;
    font-weight:900!important;
    color:#9aa1aa!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .portal-order-mobile-hero span{
    width:54px!important;
    height:54px!important;
    border-radius:16px!important;
    display:grid!important;
    place-items:center!important;
    color:#9ca3af!important;
    font-size:33px!important;
    opacity:.56!important;
  }
  .portal-order-mobile-card,
  .portal-order-mobile-panel{
    background:#fff!important;
    border-radius:14px!important;
    border:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .portal-order-mobile-card{padding:12px!important;}
  .portal-order-mobile-product{
    display:grid!important;
    grid-template-columns:68px minmax(0,1fr) auto!important;
    gap:10px!important;
    align-items:start!important;
  }
  .portal-order-mobile-product img,
  .portal-order-mobile-product>span{
    width:68px!important;
    height:68px!important;
    border-radius:10px!important;
    object-fit:cover!important;
    background:#edf4ff!important;
    color:#2f75ff!important;
    font-size:30px!important;
    font-weight:900!important;
    display:grid!important;
    place-items:center!important;
  }
  .portal-order-mobile-product__main{min-width:0!important;display:grid!important;gap:6px!important;}
  .portal-order-mobile-product__main strong{font-size:17px!important;font-weight:900!important;line-height:1.3!important;color:#111827!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-order-mobile-product__main small{font-size:13px!important;color:#9aa1aa!important;}
  .portal-order-mobile-product__price{text-align:right!important;display:grid!important;gap:4px!important;}
  .portal-order-mobile-product__price strong{font-size:17px!important;color:#111827!important;font-weight:900!important;}
  .portal-order-mobile-product__price small{font-size:13px!important;color:#a2a7af!important;font-weight:700!important;}
  .portal-order-mobile-progress{
    display:flex!important;
    justify-content:center!important;
    gap:12px!important;
    margin:12px 0!important;
    padding:9px 8px!important;
    background:#f7f8fb!important;
    border-radius:12px!important;
    color:#2f3237!important;
    font-size:12px!important;
    white-space:nowrap!important;
  }
  .portal-order-mobile-summary{
    display:grid!important;
    gap:8px!important;
    margin-top:10px!important;
    padding:12px 14px!important;
    background:#f7f8fb!important;
    border-radius:12px!important;
  }
  .portal-order-mobile-summary div{
    display:grid!important;
    grid-template-columns:82px minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:start!important;
    min-height:22px!important;
  }
  .portal-order-mobile-summary span{color:#111827!important;font-size:14px!important;font-weight:780!important;}
  .portal-order-mobile-summary strong{color:#5d6673!important;font-size:14px!important;line-height:1.45!important;font-weight:650!important;text-align:right!important;word-break:break-all!important;}
  .portal-order-mobile-summary .portal-copy-link{padding:0 0!important;background:transparent!important;border:0!important;color:#5d6673!important;font-size:13px!important;box-shadow:none!important;}
  .portal-order-mobile-tabs{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:0!important;
    margin:14px 0 8px!important;
    background:transparent!important;
  }
  .portal-order-mobile-tabs button{
    height:42px!important;
    border:0!important;
    background:transparent!important;
    color:#20242b!important;
    font-size:16px!important;
    font-weight:850!important;
    box-shadow:none!important;
    position:relative!important;
  }
  .portal-order-mobile-tabs button.active{color:#2f75ff!important;}
  .portal-order-mobile-tabs button.active::after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    bottom:2px!important;
    width:38px!important;
    height:3px!important;
    border-radius:999px!important;
    background:#2f75ff!important;
    transform:translateX(-50%)!important;
  }
  .portal-order-mobile-panel{display:none!important;padding:14px!important;margin:0 0 12px!important;}
  .portal-order-mobile-panel.active{display:grid!important;gap:12px!important;}
  .portal-order-mobile-panel h3{margin:0 0 2px!important;color:#111827!important;font-size:18px!important;font-weight:900!important;}
  .portal-order-mobile-input{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:start!important;padding:2px 0 10px!important;border-bottom:0!important;}
  .portal-order-mobile-input span{grid-column:1/-1!important;color:#7a818b!important;font-size:14px!important;}
  .portal-order-mobile-input strong{font-size:16px!important;line-height:1.55!important;font-weight:500!important;color:#2f3237!important;word-break:break-all!important;}
  .portal-order-mobile-input .portal-copy-link{align-self:center!important;border:0!important;background:transparent!important;color:#636a75!important;box-shadow:none!important;}
  .portal-order-mobile-log{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:6px 10px!important;
    padding:3px 0!important;
    border:0!important;
  }
  .portal-order-mobile-log strong{font-size:14px!important;color:#20242b!important;font-weight:700!important;}
  .portal-order-mobile-log time{font-size:13px!important;color:#6b7280!important;white-space:nowrap!important;}
  .portal-order-mobile-log small{grid-column:1/-1!important;font-size:12px!important;color:#77808d!important;line-height:1.45!important;}
}

.v32983-mobile-refined{display:none;}

/* v3.29.83 profile naming cleanup after template de-duplication. */
@media (max-width:760px){
  .member-recording-shell--profile-desktop{display:none!important;}
  .portal-mobile-settings-list{display:grid!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0 14px 18px!important;}
  .portal-mobile-settings-logout-icon svg{width:21px!important;height:21px!important;color:#6b7280!important;}
  .portal-mobile-settings-logout{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:34px 34px 0!important;min-height:52px!important;border-radius:999px!important;text-decoration:none!important;background:linear-gradient(180deg,#ff6b73,#ff5c67)!important;color:#fff!important;font-size:17px!important;font-weight:900!important;box-shadow:0 12px 24px rgba(255,92,103,.20)!important;}
  .portal-mobile-settings-logout svg{width:20px!important;height:20px!important;color:#fff!important;}
}
@media (min-width:761px){
  .member-recording-shell--profile-desktop{display:grid!important;}
  .portal-mobile-profile-page{display:none!important;}
}
/* v3.29.83 mobile profile / order detail actual layout */

/* === v3.29.83 final mobile profile / order detail cleanup === */
.portal-order-mobile-detail{display:none;}
@media (max-width:760px){
  .portal-shell--profile .portal-header,
  .portal-shell--profile .portal-notice-bar,
  .portal-shell--order-detail .portal-header,
  .portal-shell--order-detail .portal-notice-bar{display:none!important;}

  /* Only one mobile tabbar item may look active. */
  .portal-mobile-tabbar--market a{background:transparent!important;color:#4b5563!important;box-shadow:none!important;}
  .portal-mobile-tabbar--market a span{background:transparent!important;color:#374151!important;box-shadow:none!important;}
  .portal-mobile-tabbar--market a.active{background:#eef4ff!important;color:#2f75ff!important;}
  .portal-mobile-tabbar--market a.active span{background:#2f75ff!important;color:#fff!important;border-radius:8px!important;}

  /* Profile settings page uses a compact, native-settings-like list. */
  .member-recording-shell--profile{display:block!important;margin:0!important;padding:0 0 calc(84px + env(safe-area-inset-bottom))!important;}
  .member-recording-shell--profile .member-nav,
  .member-recording-shell--profile .portal-page-head,
  .member-recording-shell--profile .portal-profile-desktop{display:none!important;}
  .member-recording-shell--profile .member-recording-main{width:100%!important;max-width:none!important;padding:0!important;}
  .portal-mobile-profile-page{display:block!important;margin:0!important;background:#fff!important;color:#1f2329!important;min-height:calc(100vh - 84px)!important;padding:0 0 22px!important;}
  .portal-mobile-settings-topbar{height:50px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;padding:0 12px!important;background:#fff!important;border-bottom:1px solid #f1f3f6!important;position:sticky!important;top:0!important;z-index:8!important;margin:0!important;}
  .portal-mobile-settings-topbar>a:first-child{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;text-decoration:none!important;color:#111827!important;font-size:34px!important;line-height:1!important;font-weight:340!important;}
  .portal-mobile-settings-topbar>strong{text-align:center!important;font-size:19px!important;line-height:1!important;font-weight:950!important;color:#111827!important;letter-spacing:.02em!important;}
  .portal-mobile-settings-topbar .portal-mobile-settings-logout{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:999px!important;background:#fff1f2!important;color:#ef4444!important;border:1px solid #ffe1e5!important;text-decoration:none!important;box-shadow:none!important;justify-self:end!important;}
  .portal-mobile-settings-topbar .portal-mobile-settings-logout svg{width:19px!important;height:19px!important;}
  .portal-mobile-settings-card{display:block!important;margin:0!important;padding:0 14px!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
  .portal-mobile-settings-row{display:grid!important;grid-template-columns:108px minmax(0,1fr) 18px!important;gap:8px!important;align-items:center!important;min-height:58px!important;border-bottom:1px solid #f0f2f5!important;text-decoration:none!important;background:#fff!important;color:#111827!important;}
  .portal-mobile-settings-row:last-child{border-bottom:0!important;}
  .portal-mobile-settings-row span{font-size:15px!important;line-height:1.25!important;font-weight:520!important;color:#8b96a3!important;}
  .portal-mobile-settings-row strong{min-width:0!important;text-align:right!important;font-size:15px!important;line-height:1.3!important;font-weight:760!important;color:#1f2937!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-settings-row i{font-style:normal!important;text-align:right!important;color:#aeb6c2!important;font-size:22px!important;font-weight:350!important;line-height:1!important;}
  .portal-mobile-switch{display:inline-block!important;width:48px!important;height:28px!important;border-radius:999px!important;background:#dbe4f0!important;position:relative!important;vertical-align:middle!important;}
  .portal-mobile-switch::after{content:""!important;position:absolute!important;top:3px!important;left:3px!important;width:22px!important;height:22px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 1px 4px rgba(15,23,42,.16)!important;}
  .portal-mobile-logout-pill{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:48px!important;margin:52px 32px 18px!important;border-radius:999px!important;background:#ff5b66!important;color:#fff!important;text-decoration:none!important;font-size:16px!important;font-weight:900!important;box-shadow:none!important;}
  .portal-mobile-logout-pill svg{width:18px!important;height:18px!important;}

  /* Clean compact order-detail mobile DOM; desktop detail is hidden only on mobile. */
  .member-recording-shell--order-detail{display:block!important;margin:0!important;padding:0 0 calc(88px + env(safe-area-inset-bottom))!important;}
  .member-recording-shell--order-detail .member-nav,
  .member-recording-shell--order-detail .portal-order-reference-detail{display:none!important;}
  .member-recording-shell--order-detail .member-recording-main{width:100%!important;max-width:none!important;padding:0!important;}
  .portal-order-mobile-detail{display:block!important;margin:0!important;background:#f5f6f8!important;color:#1f2329!important;min-height:100vh!important;padding:0 0 88px!important;}
  .portal-order-mobile-titlebar{height:48px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;background:#fff!important;border-bottom:1px solid #eef1f5!important;padding:0 12px!important;margin:0!important;}
  .portal-order-mobile-titlebar a{display:grid!important;place-items:center!important;text-decoration:none!important;width:44px!important;height:44px!important;color:#111827!important;font-size:34px!important;font-weight:340!important;line-height:1!important;}
  .portal-order-mobile-titlebar strong{text-align:center!important;font-size:19px!important;font-weight:950!important;color:#111827!important;letter-spacing:.02em!important;}
  .portal-order-mobile-status-band{min-height:70px!important;margin:0 0 10px!important;padding:12px 26px!important;background:linear-gradient(180deg,#fafafa 0%,#eef1f5 100%)!important;display:grid!important;grid-template-columns:minmax(0,1fr) 56px!important;gap:12px!important;align-items:center!important;}
  .portal-order-mobile-status-band small{display:block!important;color:#9aa3af!important;font-size:12px!important;font-weight:740!important;margin-bottom:3px!important;}
  .portal-order-mobile-status-band strong{display:block!important;color:#9aa0a8!important;font-size:24px!important;font-weight:950!important;max-width:220px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-order-mobile-status-band>span{width:54px!important;height:54px!important;border-radius:16px!important;background:rgba(255,255,255,.62)!important;color:#9aa0a8!important;display:grid!important;place-items:center!important;font-size:26px!important;}
  .portal-order-mobile-card{margin:0 14px 10px!important;padding:12px!important;border-radius:16px!important;background:#fff!important;border:0!important;box-shadow:0 6px 16px rgba(15,23,42,.035)!important;display:grid!important;gap:10px!important;}
  .portal-order-mobile-product{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;gap:10px!important;align-items:start!important;}
  .portal-order-mobile-thumb{width:58px!important;height:58px!important;border-radius:12px!important;background:#eef4ff!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#2f75ff!important;font-size:24px!important;font-weight:950!important;}
  .portal-order-mobile-thumb img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;}
  .portal-order-mobile-product__main{display:grid!important;gap:4px!important;min-width:0!important;}
  .portal-order-mobile-product__main strong{font-size:16px!important;line-height:1.28!important;color:#101828!important;font-weight:900!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-order-mobile-product__main small{font-size:12px!important;color:#98a2b3!important;font-weight:760!important;}
  .portal-order-mobile-money{text-align:right!important;display:grid!important;gap:2px!important;justify-items:end!important;min-width:74px!important;}
  .portal-order-mobile-money strong{font-size:18px!important;color:#101828!important;font-weight:900!important;line-height:1.2!important;}
  .portal-order-mobile-money small{font-size:12px!important;color:#9aa3af!important;font-weight:760!important;}
  .portal-order-mobile-progress{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;margin:0!important;padding:8px 6px!important;border-radius:12px!important;background:#f7f8fb!important;text-align:center!important;}
  .portal-order-mobile-progress span{font-size:11px!important;line-height:1.2!important;color:#4b5563!important;white-space:nowrap!important;font-weight:700!important;}
  .portal-order-mobile-paid{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;font-size:13px!important;color:#8c96a3!important;margin:0!important;}
  .portal-order-mobile-paid strong{font-size:14px!important;color:#101828!important;font-weight:900!important;}
  .portal-order-mobile-paid strong span{font-size:18px!important;color:#f57c00!important;}
  .portal-order-mobile-kv{display:grid!important;gap:0!important;background:#f8f9fc!important;border-radius:13px!important;padding:8px 10px!important;}
  .portal-order-mobile-kv>div{display:grid!important;grid-template-columns:78px minmax(0,1fr) auto!important;gap:5px!important;align-items:start!important;min-height:27px!important;}
  .portal-order-mobile-kv span{font-size:13px!important;color:#111827!important;font-weight:760!important;}
  .portal-order-mobile-kv strong{min-width:0!important;text-align:right!important;color:#667085!important;font-size:13px!important;line-height:1.35!important;font-weight:650!important;word-break:break-all!important;}
  .portal-order-mobile-kv .portal-copy-link{height:25px!important;padding:0 7px!important;margin-left:2px!important;border-radius:8px!important;border:1px solid #e1e7f0!important;background:#fff!important;color:#667085!important;font-size:12px!important;}
  .portal-order-mobile-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:2px!important;}
  .portal-order-mobile-actions form{display:contents!important;}
  .portal-order-mobile-action{display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;border-radius:999px!important;text-decoration:none!important;border:0!important;font-size:13px!important;font-weight:900!important;box-shadow:none!important;}
  .portal-order-mobile-action--repeat{background:#2f75ff!important;color:#fff!important;}
  .portal-order-mobile-action--refund{background:#f8fafc!important;color:#667085!important;border:1px solid #e5eaf1!important;}
  .portal-order-mobile-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:end!important;margin:8px 28px 8px!important;background:transparent!important;}
  .portal-order-mobile-tabs button{position:relative!important;height:38px!important;border:0!important;background:transparent!important;color:#262b33!important;font-size:16px!important;font-weight:820!important;}
  .portal-order-mobile-tabs button.is-active{color:#2f75ff!important;font-weight:950!important;}
  .portal-order-mobile-tabs button.is-active::after{content:""!important;position:absolute!important;left:50%!important;bottom:1px!important;width:34px!important;height:3px!important;border-radius:999px!important;background:#2f75ff!important;transform:translateX(-50%)!important;}
  .portal-order-mobile-panel{display:block!important;margin:0 14px 10px!important;padding:12px 14px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 16px rgba(15,23,42,.03)!important;border:0!important;}
  .portal-order-mobile-panel[hidden]{display:none!important;}
  .portal-order-mobile-input-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 8px!important;align-items:center!important;padding:8px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-input-row:last-child{border-bottom:0!important;}
  .portal-order-mobile-input-row span{grid-column:1 / -1!important;color:#7b8492!important;font-size:13px!important;font-weight:740!important;}
  .portal-order-mobile-input-row strong{font-size:15px!important;color:#20252d!important;line-height:1.42!important;font-weight:650!important;word-break:break-word!important;}
  .portal-order-mobile-input-row .portal-copy-link{justify-self:end!important;height:27px!important;padding:0 8px!important;border-radius:8px!important;font-size:12px!important;}
  .portal-order-mobile-panel h3{margin:0 0 8px!important;font-size:17px!important;color:#111827!important;font-weight:950!important;}
  .portal-order-mobile-logs{display:grid!important;gap:0!important;}
  .portal-order-mobile-logs>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;align-items:start!important;padding:7px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-logs>div:last-child{border-bottom:0!important;}
  .portal-order-mobile-logs strong{font-size:14px!important;color:#111827!important;line-height:1.35!important;font-weight:760!important;}
  .portal-order-mobile-logs time{font-size:12px!important;color:#667085!important;white-space:nowrap!important;}
  .portal-order-mobile-logs small{grid-column:1 / -1!important;color:#7b8492!important;font-size:12px!important;line-height:1.4!important;}

  /* Quick scan cleanup for mobile: keep cards compact across member pages. */
  .portal-shell--me .portal-card,
  .portal-shell--orders .portal-card,
  .portal-shell--order-detail .portal-card{box-shadow:0 6px 16px rgba(15,23,42,.035)!important;}
}
.v32983-final-mobile-cleanup{display:none;}

/* v3.29.83 final mobile order/profile cleanup using active template classes. */
@media (max-width:760px){
  .portal-order-mobile-detail{display:block!important;}
  .portal-order-mobile-panel{display:none!important;}
  .portal-order-mobile-panel.active{display:grid!important;gap:10px!important;}
  .portal-order-mobile-product__price{text-align:right!important;display:grid!important;gap:4px!important;justify-items:end!important;}
  .portal-order-mobile-product__price strong{font-size:18px!important;color:#111827!important;font-weight:900!important;}
  .portal-order-mobile-product__price small{font-size:13px!important;color:#a2a7af!important;font-weight:700!important;}
  .portal-order-mobile-paid{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:4px 0 10px!important;color:#8e96a3!important;font-size:14px!important;}
  .portal-order-mobile-paid strong{font-weight:900!important;color:#111827!important;}
  .portal-order-mobile-paid strong span{color:#ff7a1a!important;font-size:18px!important;}
  .portal-order-mobile-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:12px!important;}
  .portal-order-mobile-actions form{margin:0!important;}
  .portal-order-mobile-action{width:100%!important;min-height:40px!important;border-radius:999px!important;border:0!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;font-size:14px!important;font-weight:900!important;}
  .portal-order-mobile-action--repeat{background:#2f75ff!important;color:#fff!important;}
  .portal-order-mobile-action--refund{background:#fff!important;color:#7a8492!important;border:1px solid #e2e7ef!important;}
  .portal-order-mobile-summary div{grid-template-columns:82px minmax(0,1fr) auto!important;}
  .portal-order-mobile-input{border-bottom:1px solid #f1f3f6!important;}
  .portal-order-mobile-input:last-child{border-bottom:0!important;}
}
@media (max-width:760px){
  .portal-shell--profile .portal-main__inner,
  .portal-shell--orders .portal-main__inner{padding-left:0!important;padding-right:0!important;width:100%!important;max-width:none!important;}
  .portal-shell--profile .portal-header,
  .portal-shell--profile .portal-notice-bar,
  .portal-shell--orders .portal-header,
  .portal-shell--orders .portal-notice-bar{display:none!important;}
  .portal-mobile-profile-page{display:block!important;min-height:calc(100vh - 74px)!important;background:#fff!important;padding:0 14px 96px!important;color:#20242a!important;}
  .portal-mobile-settings-topbar{height:52px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;align-items:center!important;background:#fff!important;margin:0 -14px 10px!important;padding:0 14px!important;border-bottom:1px solid #eef1f5!important;}
  .portal-mobile-settings-topbar>a:first-child{font-size:34px!important;line-height:1!important;color:#111827!important;text-decoration:none!important;display:grid!important;place-items:center!important;}
  .portal-mobile-settings-topbar strong{text-align:center!important;font-size:19px!important;font-weight:900!important;color:#111827!important;}
  .portal-mobile-settings-logout{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:999px!important;background:#f5f7fb!important;color:#4b5563!important;text-decoration:none!important;border:1px solid #e6eaf1!important;box-shadow:none!important;}
  .portal-mobile-settings-logout svg{width:19px!important;height:19px!important;}
  .portal-mobile-settings-card{display:grid!important;gap:0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;}
  .portal-mobile-settings-row{display:grid!important;grid-template-columns:104px minmax(0,1fr) 18px!important;align-items:center!important;gap:8px!important;min-height:58px!important;border-bottom:1px solid #f0f2f5!important;text-decoration:none!important;color:inherit!important;background:#fff!important;}
  .portal-mobile-settings-row span{font-size:16px!important;color:#9aa0a8!important;font-weight:520!important;letter-spacing:.01em!important;}
  .portal-mobile-settings-row strong{min-width:0!important;text-align:right!important;color:#1f2329!important;font-size:16px!important;font-weight:780!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-settings-row i{font-style:normal!important;color:#b8bec7!important;font-size:22px!important;text-align:right!important;line-height:1!important;}
  .portal-mobile-settings-row--plain{grid-template-columns:104px minmax(0,1fr) 18px!important;}
  .portal-mobile-switch{display:inline-block!important;width:46px!important;height:26px!important;border-radius:999px!important;background:#d8e6ff!important;border:1px solid #c6d9ff!important;position:relative!important;vertical-align:middle!important;}
  .portal-mobile-switch::after{content:""!important;position:absolute!important;right:2px!important;top:2px!important;width:20px!important;height:20px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(15,23,42,.16)!important;}
  .portal-mobile-logout-pill{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:50px!important;margin:40px 20px 0!important;border-radius:999px!important;text-decoration:none!important;background:#ff5c66!important;color:#fff!important;font-size:16px!important;font-weight:900!important;box-shadow:0 8px 18px rgba(255,92,102,.16)!important;}
  .portal-mobile-logout-pill svg{width:18px!important;height:18px!important;color:#fff!important;}

  .portal-mobile-tabbar--market a{color:#222831!important;background:transparent!important;box-shadow:none!important;}
  .portal-mobile-tabbar--market a.active{color:#3478f6!important;background:#eef5ff!important;}
  .portal-mobile-tabbar--market a:not(.active){background:transparent!important;color:#222831!important;}

  .portal-mobile-order-detail-page{display:block!important;margin:0!important;padding:0 10px 88px!important;background:#f6f7f9!important;min-height:calc(100vh - 72px)!important;color:#1f2329!important;}
  .portal-mobile-order-topbar{height:46px!important;margin:0 -10px!important;padding:0 10px!important;background:#fff!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) 38px!important;align-items:center!important;border-bottom:1px solid #eef1f5!important;}
  .portal-mobile-order-topbar a{font-size:30px!important;line-height:1!important;color:#111827!important;text-decoration:none!important;display:grid!important;place-items:center!important;}
  .portal-mobile-order-topbar strong{text-align:center!important;font-size:18px!important;font-weight:900!important;color:#1d2129!important;}
  .portal-mobile-order-hero{height:56px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 -10px 8px!important;padding:0 18px!important;background:linear-gradient(180deg,#fafbfc 0%,#eef1f5 100%)!important;border-bottom:1px solid #eef0f3!important;}
  .portal-mobile-order-hero small{display:none!important;}
  .portal-mobile-order-hero strong{font-size:22px!important;color:#9aa1a9!important;font-weight:900!important;max-width:220px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;}
  .portal-mobile-order-hero>span{width:40px!important;height:40px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#e6e9ee!important;color:#9ca3ad!important;font-size:22px!important;}
  .portal-mobile-order-card{margin:8px 0!important;padding:12px!important;border-radius:14px!important;background:#fff!important;border:0!important;box-shadow:0 6px 16px rgba(15,23,42,.04)!important;}
  .portal-mobile-order-product{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;gap:10px!important;align-items:start!important;}
  .portal-mobile-order-thumb{width:58px!important;height:58px!important;border-radius:10px!important;background:#edf4ff!important;overflow:hidden!important;display:grid!important;place-items:center!important;color:#2f75ff!important;font-weight:900!important;}
  .portal-mobile-order-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .portal-mobile-order-main{min-width:0!important;display:grid!important;gap:4px!important;}
  .portal-mobile-order-main strong{font-size:16px!important;line-height:1.28!important;color:#111827!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-mobile-order-main small{font-size:12px!important;color:#9aa3ad!important;}
  .portal-mobile-order-money{text-align:right!important;display:grid!important;gap:3px!important;justify-items:end!important;}
  .portal-mobile-order-money strong{font-size:17px!important;color:#111827!important;font-weight:900!important;}
  .portal-mobile-order-money small{font-size:12px!important;color:#a1a8b2!important;font-weight:700!important;}
  .portal-mobile-order-progress{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:3px!important;margin:9px 0!important;padding:7px 4px!important;border-radius:11px!important;background:#f7f8fa!important;color:#505866!important;text-align:center!important;font-size:11px!important;white-space:nowrap!important;}
  .portal-mobile-order-payline{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:2px 0 8px!important;color:#8e96a3!important;font-size:13px!important;}
  .portal-mobile-order-payline strong{color:#ff7a1a!important;font-size:17px!important;font-weight:900!important;}
  .portal-mobile-order-facts{background:#f7f8fa!important;border-radius:11px!important;padding:8px 9px!important;display:grid!important;gap:5px!important;}
  .portal-mobile-order-facts div{display:grid!important;grid-template-columns:76px minmax(0,1fr) auto!important;gap:5px!important;align-items:center!important;min-height:22px!important;}
  .portal-mobile-order-facts span{color:#1f2329!important;font-size:13px!important;font-weight:700!important;}
  .portal-mobile-order-facts strong{min-width:0!important;text-align:right!important;color:#626a75!important;font-size:13px!important;font-weight:520!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-order-facts button,.portal-mobile-order-param button{border:0!important;background:transparent!important;color:#5f6875!important;font-size:12px!important;font-weight:760!important;padding:0 2px!important;}
  .portal-mobile-order-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin:8px 18px!important;align-items:end!important;}
  .portal-mobile-order-tabs button{height:38px!important;border:0!important;background:transparent!important;color:#1f2329!important;font-size:16px!important;font-weight:760!important;position:relative!important;box-shadow:none!important;}
  .portal-mobile-order-tabs button.active{color:#2f75ff!important;font-weight:900!important;}
  .portal-mobile-order-tabs button.active::after{content:""!important;position:absolute!important;left:50%!important;bottom:1px!important;width:34px!important;height:3px!important;border-radius:999px!important;background:#2f75ff!important;transform:translateX(-50%)!important;}
  .portal-mobile-order-panel{display:none!important;margin:0 0 10px!important;padding:12px 14px!important;border-radius:13px!important;background:#fff!important;border:0!important;box-shadow:0 5px 14px rgba(15,23,42,.03)!important;}
  .portal-mobile-order-panel.is-active,.portal-mobile-order-panel.active{display:block!important;}
  .portal-mobile-order-param{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px!important;padding:7px 0!important;border-bottom:1px solid #f1f3f6!important;}
  .portal-mobile-order-param:last-child{border-bottom:0!important;}
  .portal-mobile-order-param span{grid-column:1/-1!important;color:#737b87!important;font-size:12px!important;}
  .portal-mobile-order-param strong{font-size:15px!important;line-height:1.42!important;color:#1f2329!important;font-weight:560!important;word-break:break-word!important;}
  .portal-mobile-order-log-list{display:grid!important;gap:0!important;}
  .portal-mobile-order-log{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 8px!important;padding:7px 0!important;border-bottom:1px solid #f1f3f6!important;align-items:center!important;}
  .portal-mobile-order-log:last-child{border-bottom:0!important;}
  .portal-mobile-order-log strong{font-size:14px!important;color:#1f2329!important;font-weight:700!important;}
  .portal-mobile-order-log time{font-size:12px!important;color:#757d89!important;white-space:nowrap!important;}
  .portal-mobile-order-log small{grid-column:1/-1!important;color:#6b7280!important;font-size:12px!important;line-height:1.45!important;}
  .portal-mobile-order-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:10px 0 16px!important;}
  .portal-mobile-order-actions form{margin:0!important;}
  .portal-mobile-order-action{width:100%!important;height:40px!important;border-radius:999px!important;border:0!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;font-size:13px!important;font-weight:900!important;box-shadow:none!important;}
  .portal-mobile-order-action--repeat{background:#2f75ff!important;color:#fff!important;}
  .portal-mobile-order-action--refund{background:#fff!important;color:#7a8492!important;border:1px solid #e2e7ef!important;}
}

/* === v3.29.83 final mobile profile + order detail concrete selectors === */
@media (max-width:760px){
  .portal-shell--profile .portal-main__inner{padding-left:0!important;padding-right:0!important;}
  .portal-shell--profile .member-recording-main{background:#fff!important;}
  .portal-shell--profile .portal-mobile-profile-page{display:block!important;background:#fff!important;min-height:calc(100vh - 78px)!important;padding-bottom:22px!important;}
  .portal-shell--profile .portal-profile-desktop,
  .portal-shell--profile #profileDesktopForm{display:none!important;}
  .portal-mobile-settings-topbar{height:48px!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;align-items:center!important;padding:0 10px!important;background:#fff!important;border-bottom:1px solid #f1f2f5!important;margin:0!important;}
  .portal-mobile-settings-topbar>a:first-child{display:grid!important;place-items:center!important;text-decoration:none!important;color:#111827!important;font-size:34px!important;font-weight:300!important;line-height:1!important;width:44px!important;height:44px!important;}
  .portal-mobile-settings-topbar>strong{font-size:18px!important;font-weight:900!important;color:#111827!important;text-align:center!important;letter-spacing:.02em!important;}
  .portal-mobile-settings-logout-icon{display:grid!important;place-items:center!important;justify-self:end!important;width:38px!important;height:38px!important;border-radius:999px!important;background:#fff!important;border:0!important;color:#374151!important;text-decoration:none!important;}
  .portal-mobile-settings-logout-icon svg{width:22px!important;height:22px!important;}
  .portal-mobile-settings-list{margin:0 14px!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
  .portal-mobile-settings-row{min-height:58px!important;display:grid!important;grid-template-columns:108px minmax(0,1fr) 18px!important;gap:8px!important;align-items:center!important;text-decoration:none!important;background:#fff!important;border-bottom:1px solid #eef1f5!important;color:#111827!important;padding:0 0!important;}
  .portal-mobile-settings-row:last-child{border-bottom:0!important;}
  .portal-mobile-settings-row span{font-size:16px!important;font-weight:520!important;color:#9aa1aa!important;line-height:1.2!important;}
  .portal-mobile-settings-row strong{min-width:0!important;text-align:right!important;color:#20242b!important;font-size:15px!important;font-weight:760!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-settings-row em{font-style:normal!important;color:#a7adb7!important;font-size:23px!important;text-align:right!important;line-height:1!important;}
  .portal-mobile-settings-row--static{cursor:default!important;}
  .portal-mobile-switch{display:inline-block!important;width:50px!important;height:29px!important;border-radius:999px!important;background:#dbe3f2!important;position:relative!important;vertical-align:middle!important;}
  .portal-mobile-switch::after{content:""!important;position:absolute!important;top:3px!important;left:3px!important;width:23px!important;height:23px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 2px 6px rgba(15,23,42,.16)!important;}
  .portal-mobile-settings-logout{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:34px 34px 0!important;min-height:52px!important;border-radius:999px!important;text-decoration:none!important;background:#ff5d66!important;color:#fff!important;font-size:17px!important;font-weight:900!important;box-shadow:0 10px 22px rgba(255,93,102,.18)!important;}
  .portal-mobile-settings-logout svg{width:20px!important;height:20px!important;color:#fff!important;}

  .member-recording-shell--order-detail .member-recording-main{background:#f5f6f9!important;}
  .member-recording-shell--order-detail .portal-order-reference-detail{display:none!important;}
  .portal-order-mobile-detail{display:block!important;margin:-8px -9px 0!important;padding:0 14px calc(104px + env(safe-area-inset-bottom))!important;background:#f5f6f9!important;min-height:calc(100vh - 74px)!important;}
  .portal-order-mobile-titlebar{height:48px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;align-items:center!important;background:#fff!important;margin:0 -14px!important;padding:0 14px!important;border-bottom:1px solid #edf1f5!important;}
  .portal-order-mobile-titlebar a{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;color:#111827!important;text-decoration:none!important;font-size:31px!important;font-weight:300!important;line-height:1!important;}
  .portal-order-mobile-titlebar strong{text-align:center!important;color:#111827!important;font-size:18px!important;font-weight:900!important;}
  .portal-order-mobile-status-band{height:64px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 -14px 9px!important;padding:0 24px!important;background:linear-gradient(90deg,#f8f9fb 0%,#eef1f5 100%)!important;}
  .portal-order-mobile-status-band small{display:none!important;}
  .portal-order-mobile-status-band strong{display:block!important;color:#a0a6ae!important;font-size:23px!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:235px!important;}
  .portal-order-mobile-status-band>span{width:45px!important;height:45px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.6)!important;color:#a1a7b0!important;font-size:25px!important;}
  .portal-order-mobile-card,
  .portal-order-mobile-panel{background:#fff!important;border-radius:15px!important;border:0!important;box-shadow:none!important;overflow:hidden!important;}
  .portal-order-mobile-card{padding:12px!important;margin-bottom:10px!important;}
  .portal-order-mobile-product{display:grid!important;grid-template-columns:60px minmax(0,1fr) auto!important;gap:10px!important;align-items:start!important;}
  .portal-order-mobile-thumb{width:60px!important;height:60px!important;border-radius:11px!important;background:#eef4ff!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#2f75ff!important;font-size:25px!important;font-weight:950!important;}
  .portal-order-mobile-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .portal-order-mobile-product__main{min-width:0!important;display:grid!important;gap:5px!important;}
  .portal-order-mobile-product__main strong{font-size:16px!important;font-weight:900!important;line-height:1.28!important;color:#101828!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-order-mobile-product__main small{font-size:12px!important;color:#9aa1aa!important;}
  .portal-order-mobile-money{text-align:right!important;min-width:78px!important;}
  .portal-order-mobile-money strong{display:block!important;font-size:18px!important;color:#111827!important;font-weight:900!important;line-height:1.15!important;}
  .portal-order-mobile-money small{display:block!important;font-size:12px!important;color:#a0a7b0!important;font-weight:760!important;margin-top:3px!important;}
  .portal-order-mobile-progress{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;margin:10px 0!important;padding:8px 6px!important;background:#f7f8fb!important;border-radius:12px!important;text-align:center!important;}
  .portal-order-mobile-progress span{font-size:11px!important;color:#3f4650!important;line-height:1.2!important;white-space:nowrap!important;}
  .portal-order-mobile-paid{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:2px 0 8px!important;gap:10px!important;}
  .portal-order-mobile-paid>span{font-size:13px!important;color:#8f98a5!important;}
  .portal-order-mobile-paid strong{font-size:14px!important;color:#111827!important;font-weight:900!important;}
  .portal-order-mobile-paid strong span{font-size:18px!important;color:#f57c00!important;font-weight:950!important;}
  .portal-order-mobile-kv{display:grid!important;gap:6px!important;background:#f8f9fc!important;border-radius:13px!important;padding:8px 10px!important;}
  .portal-order-mobile-kv>div{display:grid!important;grid-template-columns:78px minmax(0,1fr) auto!important;gap:5px!important;align-items:start!important;min-width:0!important;}
  .portal-order-mobile-kv span{font-size:13px!important;color:#111827!important;font-weight:760!important;line-height:1.35!important;}
  .portal-order-mobile-kv strong{font-size:13px!important;color:#667085!important;font-weight:680!important;line-height:1.35!important;text-align:right!important;word-break:break-all!important;}
  .portal-order-mobile-kv .portal-copy-link{border:0!important;background:transparent!important;box-shadow:none!important;color:#667085!important;font-size:13px!important;padding:0!important;}
  .portal-order-mobile-actions{position:fixed!important;left:0!important;right:0!important;bottom:calc(60px + env(safe-area-inset-bottom))!important;z-index:82!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:8px 14px!important;background:rgba(255,255,255,.94)!important;border-top:1px solid #eef2f7!important;backdrop-filter:blur(12px)!important;}
  .portal-order-mobile-actions form{display:contents!important;}
  .portal-order-mobile-action{display:flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;border-radius:999px!important;text-decoration:none!important;font-size:14px!important;font-weight:900!important;border:0!important;}
  .portal-order-mobile-action--repeat{background:#2f75ff!important;color:#fff!important;box-shadow:0 8px 18px rgba(47,117,255,.22)!important;}
  .portal-order-mobile-action--refund{background:#f7f8fb!important;color:#667085!important;border:1px solid #e5eaf1!important;box-shadow:none!important;}
  .portal-order-mobile-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin:10px 10px 8px!important;background:transparent!important;}
  .portal-order-mobile-tabs button{height:40px!important;border:0!important;background:transparent!important;color:#20242b!important;font-size:16px!important;font-weight:850!important;box-shadow:none!important;position:relative!important;}
  .portal-order-mobile-tabs button.active,
  .portal-order-mobile-tabs button.is-active{color:#2f75ff!important;}
  .portal-order-mobile-tabs button.active::after,
  .portal-order-mobile-tabs button.is-active::after{content:""!important;position:absolute!important;left:50%!important;bottom:2px!important;width:36px!important;height:3px!important;border-radius:999px!important;background:#2f75ff!important;transform:translateX(-50%)!important;}
  .portal-order-mobile-panel{display:none!important;padding:12px!important;margin:0 0 10px!important;}
  .portal-order-mobile-panel.active,
  .portal-order-mobile-panel.is-active{display:grid!important;gap:0!important;}
  .portal-order-mobile-panel h3{margin:0 0 7px!important;color:#111827!important;font-size:18px!important;font-weight:900!important;}
  .portal-order-mobile-input-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 10px!important;padding:8px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-input-row:last-child{border-bottom:0!important;}
  .portal-order-mobile-input-row span{grid-column:1/-1!important;color:#7b8492!important;font-size:13px!important;font-weight:760!important;}
  .portal-order-mobile-input-row strong{font-size:15px!important;line-height:1.45!important;font-weight:720!important;color:#20252d!important;word-break:break-all!important;}
  .portal-order-mobile-input-row .portal-copy-link{border:0!important;background:transparent!important;color:#667085!important;box-shadow:none!important;font-size:13px!important;padding:0!important;}
  .portal-order-mobile-logs{display:grid!important;gap:0!important;}
  .portal-order-mobile-log,
  .portal-order-mobile-logs>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;align-items:start!important;padding:7px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-logs>div:last-child{border-bottom:0!important;}
  .portal-order-mobile-log strong,
  .portal-order-mobile-logs>div strong{font-size:14px!important;color:#111827!important;font-weight:760!important;line-height:1.35!important;}
  .portal-order-mobile-log time,
  .portal-order-mobile-logs>div time{font-size:12px!important;color:#667085!important;white-space:nowrap!important;line-height:1.35!important;}
  .portal-order-mobile-log small,
  .portal-order-mobile-logs>div small{grid-column:1/-1!important;font-size:12px!important;color:#7b8492!important;line-height:1.4!important;}
}

/* v3.29.83 active-class compatibility and compact mobile details. */
@media (max-width:760px){
  .portal-order-mobile-tabs button.active,
  .portal-order-mobile-tabs button.is-active{color:#2f75ff!important;font-weight:950!important;}
  .portal-order-mobile-tabs button.active::after,
  .portal-order-mobile-tabs button.is-active::after{content:""!important;position:absolute!important;left:50%!important;bottom:1px!important;width:34px!important;height:3px!important;border-radius:999px!important;background:#2f75ff!important;transform:translateX(-50%)!important;}
  .portal-order-mobile-panel.active,
  .portal-order-mobile-panel.is-active{display:grid!important;gap:10px!important;}
  .portal-order-mobile-panel[hidden]{display:none!important;}
}
.v32983-active-compat{display:none;}

/* v3.29.83 compatibility: current mobile order-detail template class names. */
@media (max-width:760px){
  .portal-order-mobile-detail{display:block!important;margin:0 -10px!important;padding:0 14px calc(92px + env(safe-area-inset-bottom))!important;background:#f5f6f8!important;min-height:100vh!important;}
  .member-recording-shell--order-detail .portal-order-reference-detail{display:none!important;}
  .portal-order-mobile-titlebar{height:48px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;align-items:center!important;margin:0 -14px!important;background:#fff!important;border-bottom:1px solid #eef1f5!important;}
  .portal-order-mobile-titlebar>a{height:48px!important;display:grid!important;place-items:center!important;text-decoration:none!important;font-size:32px!important;line-height:1!important;color:#111827!important;}
  .portal-order-mobile-titlebar strong{text-align:center!important;font-size:19px!important;color:#111827!important;font-weight:950!important;}
  .portal-order-mobile-status-band{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:74px!important;margin:0 -14px 12px!important;padding:12px 28px!important;background:linear-gradient(180deg,#fbfbfc,#eff1f4)!important;}
  .portal-order-mobile-status-band small{display:none!important;}
  .portal-order-mobile-status-band strong{display:block!important;max-width:170px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#9aa0a8!important;font-size:22px!important;font-weight:950!important;}
  .portal-order-mobile-status-band span{width:54px!important;height:54px!important;border-radius:16px!important;background:#e4e6e9!important;color:#989da5!important;display:grid!important;place-items:center!important;font-size:30px!important;}
  .portal-order-mobile-card{display:grid!important;gap:11px!important;background:#fff!important;border:0!important;border-radius:16px!important;box-shadow:0 6px 18px rgba(15,23,42,.035)!important;padding:13px!important;margin-bottom:12px!important;}
  .portal-order-mobile-product{display:grid!important;grid-template-columns:72px minmax(0,1fr) 78px!important;gap:11px!important;align-items:start!important;}
  .portal-order-mobile-thumb{width:72px!important;height:72px!important;border-radius:10px!important;overflow:hidden!important;background:#edf4ff!important;display:grid!important;place-items:center!important;color:var(--v32982-blue)!important;font-size:26px!important;font-weight:950!important;}
  .portal-order-mobile-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .portal-order-mobile-product__main{min-width:0!important;display:grid!important;gap:5px!important;align-content:start!important;}
  .portal-order-mobile-product__main strong{font-size:17px!important;line-height:1.28!important;color:#111827!important;font-weight:950!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-order-mobile-product__main small{font-size:13px!important;color:#8d939b!important;}
  .portal-order-mobile-money{text-align:right!important;display:grid!important;gap:2px!important;justify-content:end!important;}
  .portal-order-mobile-money strong{font-size:18px!important;line-height:1.1!important;color:#111827!important;font-weight:900!important;}
  .portal-order-mobile-money small{font-size:14px!important;color:#a2a6ad!important;}
  .portal-order-mobile-progress{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;background:#f7f8fa!important;border-radius:12px!important;padding:9px 5px!important;text-align:center!important;}
  .portal-order-mobile-progress span{font-size:12px!important;color:#313741!important;white-space:nowrap!important;}
  .portal-order-mobile-paid{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;font-size:15px!important;color:#9aa0a8!important;}
  .portal-order-mobile-paid strong{font-size:16px!important;color:#111827!important;font-weight:900!important;}
  .portal-order-mobile-paid strong span{color:var(--v32982-price)!important;font-size:18px!important;}
  .portal-order-mobile-kv{display:grid!important;gap:8px!important;background:#f8f9fb!important;border-radius:14px!important;padding:12px!important;}
  .portal-order-mobile-kv div{display:grid!important;grid-template-columns:86px minmax(0,1fr) auto!important;gap:8px!important;align-items:start!important;min-height:22px!important;}
  .portal-order-mobile-kv span{font-size:14px!important;color:#111827!important;font-weight:760!important;}
  .portal-order-mobile-kv strong{font-size:14px!important;color:#5f6670!important;font-weight:520!important;text-align:right!important;word-break:break-all!important;}
  .portal-order-mobile-kv .portal-copy-link{border:0!important;background:transparent!important;color:#5f6670!important;font-size:13px!important;padding:0!important;box-shadow:none!important;}
  .portal-order-mobile-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin:6px 0 10px!important;}
  .portal-order-mobile-tabs button{height:42px!important;border:0!important;background:transparent!important;color:#111827!important;font-size:17px!important;font-weight:760!important;position:relative!important;}
  .portal-order-mobile-tabs button.active,.portal-order-mobile-tabs button.is-active{color:var(--v32982-blue)!important;font-weight:900!important;}
  .portal-order-mobile-tabs button.active::after,.portal-order-mobile-tabs button.is-active::after{content:""!important;position:absolute!important;left:50%!important;bottom:0!important;width:34px!important;height:3px!important;border-radius:999px!important;background:var(--v32982-blue)!important;transform:translateX(-50%)!important;}
  .portal-order-mobile-panel{display:none!important;background:#fff!important;border:0!important;border-radius:14px!important;box-shadow:0 6px 18px rgba(15,23,42,.03)!important;padding:14px!important;margin:0 0 12px!important;}
  .portal-order-mobile-panel.active,.portal-order-mobile-panel.is-active{display:block!important;}
  .portal-order-mobile-input{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:8px!important;padding:8px 4px 12px!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-input:last-child{border-bottom:0!important;padding-bottom:4px!important;}
  .portal-order-mobile-input span{grid-column:1/-1!important;color:#737982!important;font-size:14px!important;font-weight:760!important;}
  .portal-order-mobile-input strong{font-size:16px!important;line-height:1.45!important;color:#252b33!important;font-weight:520!important;word-break:break-all!important;}
  .portal-order-mobile-input .portal-copy-link{border:0!important;background:transparent!important;color:#5f6670!important;font-size:14px!important;align-self:start!important;box-shadow:none!important;}
  .portal-order-mobile-logs{display:grid!important;gap:0!important;}
  .portal-order-mobile-logs>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:start!important;padding:7px 2px!important;}
  .portal-order-mobile-logs strong{font-size:14px!important;color:#111827!important;font-weight:760!important;}
  .portal-order-mobile-logs time{font-size:13px!important;color:#6b7280!important;white-space:nowrap!important;}
  .portal-order-mobile-logs small{grid-column:1/-1!important;color:#6b7280!important;font-size:12px!important;line-height:1.45!important;margin-top:-2px!important;}
  .portal-order-mobile-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:10px!important;}
  .portal-order-mobile-action{min-height:42px!important;border-radius:999px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;border:1px solid #dfe6ef!important;background:#fff!important;color:#344054!important;font-weight:850!important;}
  .portal-order-mobile-action--repeat{background:linear-gradient(180deg,#6fa8ff,#3478f6)!important;color:#fff!important;border-color:#3478f6!important;}
  .portal-order-mobile-action--refund{background:#fff!important;color:#8a93a0!important;border-color:#e3e8ef!important;width:100%!important;}
}
@media (max-width:760px){
  .portal-order-mobile-thumb{width:68px!important;height:68px!important;border-radius:10px!important;background:#edf4ff!important;color:#2f75ff!important;display:grid!important;place-items:center!important;overflow:hidden!important;font-size:30px!important;font-weight:900!important;}
  .portal-order-mobile-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .portal-order-mobile-thumb span{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;}
}

/* === v3.29.83 TRUE FINAL mobile settings/order detail overrides === */
@media (max-width:760px){
  .portal-shell--profile .portal-main__inner{padding-left:0!important;padding-right:0!important;}
  .portal-shell--profile .portal-mobile-profile-page{display:block!important;background:#fff!important;min-height:calc(100vh - 78px)!important;padding-bottom:22px!important;}
  .portal-shell--profile .portal-profile-desktop,#profileDesktopForm{display:none!important;}
  .portal-mobile-settings-topbar{height:48px!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;align-items:center!important;padding:0 10px!important;background:#fff!important;border-bottom:1px solid #f1f2f5!important;margin:0!important;}
  .portal-mobile-settings-topbar>a:first-child{display:grid!important;place-items:center!important;text-decoration:none!important;color:#111827!important;font-size:34px!important;font-weight:300!important;line-height:1!important;width:44px!important;height:44px!important;}
  .portal-mobile-settings-topbar>strong{font-size:18px!important;font-weight:900!important;color:#111827!important;text-align:center!important;letter-spacing:.02em!important;}
  .portal-mobile-settings-logout-icon{display:grid!important;place-items:center!important;justify-self:end!important;width:38px!important;height:38px!important;border-radius:999px!important;background:#fff!important;border:0!important;color:#374151!important;text-decoration:none!important;}
  .portal-mobile-settings-logout-icon svg{width:22px!important;height:22px!important;}
  .portal-mobile-settings-list{display:grid!important;margin:0 14px!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
  .portal-mobile-settings-row{min-height:58px!important;display:grid!important;grid-template-columns:108px minmax(0,1fr) 18px!important;gap:8px!important;align-items:center!important;text-decoration:none!important;background:#fff!important;border-bottom:1px solid #eef1f5!important;color:#111827!important;padding:0!important;}
  .portal-mobile-settings-row:last-child{border-bottom:0!important;}
  .portal-mobile-settings-row span{font-size:16px!important;font-weight:520!important;color:#9aa1aa!important;line-height:1.2!important;}
  .portal-mobile-settings-row strong{min-width:0!important;text-align:right!important;color:#20242b!important;font-size:15px!important;font-weight:760!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-settings-row em{font-style:normal!important;color:#a7adb7!important;font-size:23px!important;text-align:right!important;line-height:1!important;}
  .portal-mobile-switch{display:inline-block!important;width:50px!important;height:29px!important;border-radius:999px!important;background:#dbe3f2!important;position:relative!important;vertical-align:middle!important;}
  .portal-mobile-switch::after{content:""!important;position:absolute!important;top:3px!important;left:3px!important;width:23px!important;height:23px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 2px 6px rgba(15,23,42,.16)!important;}
  .portal-mobile-settings-logout{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:34px 34px 0!important;min-height:52px!important;border-radius:999px!important;text-decoration:none!important;background:#ff5d66!important;color:#fff!important;font-size:17px!important;font-weight:900!important;box-shadow:0 10px 22px rgba(255,93,102,.18)!important;}
  .portal-mobile-settings-logout svg{width:20px!important;height:20px!important;color:#fff!important;}

  .portal-mobile-tabbar--market a.active{background:#eef4ff!important;color:#2f75ff!important;}
  .portal-mobile-tabbar--market a.active span{background:#2f75ff!important;color:#fff!important;border-radius:8px!important;}
  .portal-mobile-tabbar--market a:not(.active){background:transparent!important;color:#4b5563!important;}
  .portal-mobile-tabbar--market a:not(.active) span{background:transparent!important;color:#374151!important;}

  .member-recording-shell--order-detail .portal-order-reference-detail{display:none!important;}
  .portal-order-mobile-detail{display:block!important;margin:-8px -9px 0!important;padding:0 14px calc(104px + env(safe-area-inset-bottom))!important;background:#f5f6f9!important;min-height:calc(100vh - 74px)!important;}
  .portal-order-mobile-titlebar{height:48px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;align-items:center!important;background:#fff!important;margin:0 -14px!important;padding:0 14px!important;border-bottom:1px solid #edf1f5!important;}
  .portal-order-mobile-titlebar a{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;color:#111827!important;text-decoration:none!important;font-size:31px!important;font-weight:300!important;line-height:1!important;}
  .portal-order-mobile-titlebar strong{text-align:center!important;color:#111827!important;font-size:18px!important;font-weight:900!important;}
  .portal-order-mobile-status-band{height:64px!important;min-height:64px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 -14px 9px!important;padding:0 24px!important;background:linear-gradient(90deg,#f8f9fb 0%,#eef1f5 100%)!important;}
  .portal-order-mobile-status-band small{display:none!important;}
  .portal-order-mobile-status-band strong{display:block!important;color:#a0a6ae!important;font-size:23px!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:235px!important;}
  .portal-order-mobile-status-band>span{width:45px!important;height:45px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.6)!important;color:#a1a7b0!important;font-size:25px!important;}
  .portal-order-mobile-card,.portal-order-mobile-panel{background:#fff!important;border-radius:15px!important;border:0!important;box-shadow:none!important;overflow:hidden!important;}
  .portal-order-mobile-card{padding:12px!important;margin-bottom:10px!important;}
  .portal-order-mobile-product{display:grid!important;grid-template-columns:60px minmax(0,1fr) auto!important;gap:10px!important;align-items:start!important;}
  .portal-order-mobile-thumb{width:60px!important;height:60px!important;border-radius:11px!important;background:#eef4ff!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#2f75ff!important;font-size:25px!important;font-weight:950!important;}
  .portal-order-mobile-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .portal-order-mobile-product__main{min-width:0!important;display:grid!important;gap:5px!important;}
  .portal-order-mobile-product__main strong{font-size:16px!important;font-weight:900!important;line-height:1.28!important;color:#101828!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-order-mobile-product__main small{font-size:12px!important;color:#9aa1aa!important;}
  .portal-order-mobile-money{text-align:right!important;min-width:78px!important;display:block!important;}
  .portal-order-mobile-money strong{display:block!important;font-size:18px!important;color:#111827!important;font-weight:900!important;line-height:1.15!important;}
  .portal-order-mobile-money small{display:block!important;font-size:12px!important;color:#a0a7b0!important;font-weight:760!important;margin-top:3px!important;}
  .portal-order-mobile-progress{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;margin:10px 0!important;padding:8px 6px!important;background:#f7f8fb!important;border-radius:12px!important;text-align:center!important;}
  .portal-order-mobile-progress span{font-size:11px!important;color:#3f4650!important;line-height:1.2!important;white-space:nowrap!important;}
  .portal-order-mobile-paid{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:2px 0 8px!important;gap:10px!important;}
  .portal-order-mobile-paid>span{font-size:13px!important;color:#8f98a5!important;}
  .portal-order-mobile-paid strong{font-size:14px!important;color:#111827!important;font-weight:900!important;}
  .portal-order-mobile-paid strong span{font-size:18px!important;color:#f57c00!important;font-weight:950!important;}
  .portal-order-mobile-kv{display:grid!important;gap:6px!important;background:#f8f9fc!important;border-radius:13px!important;padding:8px 10px!important;}
  .portal-order-mobile-kv>div{display:grid!important;grid-template-columns:78px minmax(0,1fr) auto!important;gap:5px!important;align-items:start!important;min-width:0!important;}
  .portal-order-mobile-kv span{font-size:13px!important;color:#111827!important;font-weight:760!important;line-height:1.35!important;}
  .portal-order-mobile-kv strong{font-size:13px!important;color:#667085!important;font-weight:680!important;line-height:1.35!important;text-align:right!important;word-break:break-all!important;}
  .portal-order-mobile-kv .portal-copy-link{border:0!important;background:transparent!important;box-shadow:none!important;color:#667085!important;font-size:13px!important;padding:0!important;}
  .portal-order-mobile-actions{position:fixed!important;left:0!important;right:0!important;bottom:calc(60px + env(safe-area-inset-bottom))!important;z-index:82!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:8px 14px!important;background:rgba(255,255,255,.94)!important;border-top:1px solid #eef2f7!important;backdrop-filter:blur(12px)!important;margin:0!important;}
  .portal-order-mobile-actions form{display:contents!important;}
  .portal-order-mobile-action{display:flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;border-radius:999px!important;text-decoration:none!important;font-size:14px!important;font-weight:900!important;border:0!important;}
  .portal-order-mobile-action--repeat{background:#2f75ff!important;color:#fff!important;box-shadow:0 8px 18px rgba(47,117,255,.22)!important;}
  .portal-order-mobile-action--refund{background:#f7f8fb!important;color:#667085!important;border:1px solid #e5eaf1!important;box-shadow:none!important;width:100%!important;}
  .portal-order-mobile-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin:10px 10px 8px!important;background:transparent!important;}
  .portal-order-mobile-tabs button{height:40px!important;border:0!important;background:transparent!important;color:#20242b!important;font-size:16px!important;font-weight:850!important;box-shadow:none!important;position:relative!important;}
  .portal-order-mobile-tabs button.active,.portal-order-mobile-tabs button.is-active{color:#2f75ff!important;}
  .portal-order-mobile-tabs button.active::after,.portal-order-mobile-tabs button.is-active::after{content:""!important;position:absolute!important;left:50%!important;bottom:2px!important;width:36px!important;height:3px!important;border-radius:999px!important;background:#2f75ff!important;transform:translateX(-50%)!important;}
  .portal-order-mobile-panel{display:none!important;padding:12px!important;margin:0 0 10px!important;}
  .portal-order-mobile-panel.active,.portal-order-mobile-panel.is-active{display:grid!important;gap:0!important;}
  .portal-order-mobile-panel h3{margin:0 0 7px!important;color:#111827!important;font-size:18px!important;font-weight:900!important;}
  .portal-order-mobile-input-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 10px!important;padding:8px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-input-row:last-child{border-bottom:0!important;}
  .portal-order-mobile-input-row span{grid-column:1/-1!important;color:#7b8492!important;font-size:13px!important;font-weight:760!important;}
  .portal-order-mobile-input-row strong{font-size:15px!important;line-height:1.45!important;font-weight:720!important;color:#20252d!important;word-break:break-all!important;}
  .portal-order-mobile-input-row .portal-copy-link{border:0!important;background:transparent!important;color:#667085!important;box-shadow:none!important;font-size:13px!important;padding:0!important;}
  .portal-order-mobile-logs{display:grid!important;gap:0!important;}
  .portal-order-mobile-logs>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;align-items:start!important;padding:7px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-logs>div:last-child{border-bottom:0!important;}
  .portal-order-mobile-logs>div strong{font-size:14px!important;color:#111827!important;font-weight:760!important;line-height:1.35!important;}
  .portal-order-mobile-logs>div time{font-size:12px!important;color:#667085!important;white-space:nowrap!important;line-height:1.35!important;}
  .portal-order-mobile-logs>div small{grid-column:1/-1!important;font-size:12px!important;color:#7b8492!important;line-height:1.4!important;}
}

/* === v3.29.83 mobile account/profile + order detail cleanup === */
.portal-mobile-settings-page{display:none;}
@media (max-width:760px){
  html,body{max-width:100%;overflow-x:hidden;}
  .portal-shell--profile{background:#fff!important;min-height:100vh!important;}
  .portal-shell--profile .portal-header,
  .portal-shell--profile .portal-notice-bar,
  .portal-shell--profile .portal-footer{display:none!important;}
  .portal-shell--profile .portal-main{padding:0!important;background:#fff!important;}
  .portal-shell--profile .portal-main__inner{width:100%!important;max-width:none!important;padding:0!important;}
  .portal-shell--profile .member-recording-shell--profile-desktop{display:none!important;}
  .portal-mobile-settings-page{display:block!important;min-height:100vh!important;background:#fff!important;color:#20242a!important;padding:0 0 28px!important;}
  .portal-mobile-settings-titlebar{height:52px!important;display:grid!important;grid-template-columns:52px minmax(0,1fr) 52px!important;align-items:center!important;border-bottom:1px solid #f0f2f5!important;background:#fff!important;}
  .portal-mobile-settings-titlebar a{display:grid!important;place-items:center!important;width:52px!important;height:52px!important;text-decoration:none!important;color:#111827!important;font-size:38px!important;font-weight:280!important;line-height:1!important;}
  .portal-mobile-settings-titlebar strong{text-align:center!important;color:#111827!important;font-size:20px!important;font-weight:900!important;letter-spacing:.02em!important;}
  .portal-mobile-settings-list{display:grid!important;gap:0!important;background:#fff!important;padding:6px 28px 0!important;}
  .portal-mobile-settings-row{display:grid!important;grid-template-columns:118px minmax(0,1fr) 18px!important;align-items:center!important;gap:8px!important;min-height:58px!important;border-bottom:1px solid #f0f2f5!important;background:#fff!important;color:#20242a!important;text-decoration:none!important;padding:0!important;}
  .portal-mobile-settings-row--static{grid-template-columns:118px minmax(0,1fr) 18px!important;}
  .portal-mobile-settings-row span{font-size:16px!important;color:#9aa0a8!important;font-weight:520!important;line-height:1.2!important;}
  .portal-mobile-settings-row strong{min-width:0!important;text-align:right!important;color:#1f2329!important;font-size:16px!important;font-weight:780!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-settings-row em{font-style:normal!important;color:#b8bec7!important;font-size:24px!important;line-height:1!important;text-align:right!important;}
  .portal-mobile-settings-row--switch{grid-template-columns:118px minmax(0,1fr)!important;}
  .portal-mobile-settings-row--switch span{grid-column:1!important;}
  .portal-mobile-switch{justify-self:end!important;display:block!important;width:52px!important;height:30px!important;position:relative!important;}
  .portal-mobile-switch input{position:absolute!important;opacity:0!important;pointer-events:none!important;}
  .portal-mobile-switch i{display:block!important;width:52px!important;height:30px!important;border-radius:999px!important;background:#7da0f5!important;box-shadow:inset 0 0 0 1px rgba(47,117,255,.14)!important;position:relative!important;}
  .portal-mobile-switch i::after{content:""!important;position:absolute!important;right:3px!important;top:3px!important;width:24px!important;height:24px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 2px 5px rgba(15,23,42,.16)!important;}
  .portal-mobile-settings-logout{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:52px!important;margin:46px 34px 0!important;border-radius:999px!important;background:#ff5b64!important;color:#fff!important;text-decoration:none!important;font-size:16px!important;font-weight:900!important;box-shadow:0 10px 22px rgba(255,91,100,.18)!important;}
  .portal-mobile-settings-logout i{font-style:normal!important;font-size:18px!important;line-height:1!important;}

  /* Bottom tabbar: only one item may visually active. */
  .portal-mobile-tabbar--market a{background:transparent!important;color:#222831!important;box-shadow:none!important;}
  .portal-mobile-tabbar--market a:not(.active) span,
  .portal-mobile-tabbar--market a:not(.active) strong{background:transparent!important;color:#222831!important;}
  .portal-mobile-tabbar--market a.active{background:#eef4ff!important;color:#3478f6!important;}
  .portal-mobile-tabbar--market a.active span{background:#3478f6!important;color:#fff!important;border-radius:8px!important;}
  .portal-shell--profile .portal-mobile-tabbar--market,
  .portal-shell--order-detail .portal-mobile-tabbar--market{display:none!important;}

  /* Mobile order detail: compact card-oriented layout. */
  .portal-shell--order-detail{background:#f6f7f9!important;}
  .portal-shell--order-detail .portal-header,
  .portal-shell--order-detail .portal-notice-bar,
  .portal-shell--order-detail .portal-footer{display:none!important;}
  .portal-shell--order-detail .portal-main{padding:0!important;background:#f6f7f9!important;}
  .portal-shell--order-detail .portal-main__inner{width:100%!important;max-width:none!important;padding:0!important;}
  .portal-shell--order-detail .member-recording-shell--order-detail{display:block!important;margin:0!important;padding:0!important;}
  .portal-shell--order-detail .member-recording-shell--order-detail>.member-nav,
  .portal-shell--order-detail .member-recording-shell--order-detail>aside{display:none!important;}
  .portal-shell--order-detail .member-recording-main{display:block!important;width:100%!important;margin:0!important;padding:0!important;}
  .portal-shell--order-detail .portal-order-reference-detail> :not(.portal-order-mobile-detail){display:none!important;}
  .portal-order-mobile-detail{display:block!important;background:#f6f7f9!important;padding:0 12px 24px!important;margin:0!important;}
  .portal-order-mobile-titlebar{height:50px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;align-items:center!important;background:#fff!important;border-bottom:1px solid #eef1f5!important;margin:0 -12px!important;padding:0 12px!important;}
  .portal-order-mobile-titlebar a{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;text-decoration:none!important;color:#111827!important;font-size:34px!important;line-height:1!important;font-weight:260!important;}
  .portal-order-mobile-titlebar strong{text-align:center!important;color:#1f2937!important;font-size:19px!important;font-weight:900!important;}
  .portal-order-mobile-status-band{height:68px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 54px!important;align-items:center!important;background:linear-gradient(180deg,#fafbfc 0%,#eef1f5 100%)!important;margin:0 -12px 10px!important;padding:0 28px!important;}
  .portal-order-mobile-status-band small{display:none!important;}
  .portal-order-mobile-status-band strong{display:block!important;max-width:230px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#9aa1a9!important;font-size:24px!important;font-weight:900!important;}
  .portal-order-mobile-status-band>span{width:48px!important;height:48px!important;border-radius:14px!important;background:#e6e9ee!important;color:#9ca3ad!important;display:grid!important;place-items:center!important;font-size:24px!important;justify-self:end!important;}
  .portal-order-mobile-card{background:#fff!important;border:0!important;border-radius:16px!important;box-shadow:0 7px 18px rgba(15,23,42,.035)!important;padding:12px!important;margin:0 0 10px!important;overflow:hidden!important;}
  .portal-order-mobile-product{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;gap:10px!important;align-items:start!important;}
  .portal-order-mobile-thumb{width:58px!important;height:58px!important;border-radius:12px!important;background:#eef4ff!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#2f75ff!important;font-size:24px!important;font-weight:950!important;}
  .portal-order-mobile-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .portal-order-mobile-product__main{display:grid!important;gap:4px!important;min-width:0!important;}
  .portal-order-mobile-product__main strong{font-size:17px!important;line-height:1.25!important;color:#101828!important;font-weight:900!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-order-mobile-product__main small{font-size:12px!important;color:#98a2b3!important;font-weight:760!important;}
  .portal-order-mobile-money{text-align:right!important;min-width:76px!important;}
  .portal-order-mobile-money strong{display:block!important;font-size:18px!important;color:#101828!important;font-weight:900!important;line-height:1.2!important;}
  .portal-order-mobile-money small{display:block!important;font-size:12px!important;color:#a1a9b4!important;font-weight:780!important;margin-top:2px!important;}
  .portal-order-mobile-progress{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;margin:10px 0!important;background:#f7f8fb!important;border-radius:12px!important;padding:8px 6px!important;text-align:center!important;white-space:nowrap!important;}
  .portal-order-mobile-progress span{font-size:11px!important;color:#4b5563!important;line-height:1.2!important;}
  .portal-order-mobile-paid{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:2px 0 8px!important;color:#8c96a3!important;font-size:13px!important;}
  .portal-order-mobile-paid strong{font-size:13px!important;color:#111827!important;font-weight:900!important;}
  .portal-order-mobile-paid strong span{color:#f57c00!important;font-size:18px!important;font-weight:950!important;}
  .portal-order-mobile-kv{display:grid!important;gap:5px!important;background:#f8f9fc!important;border-radius:13px!important;padding:8px 10px!important;}
  .portal-order-mobile-kv>div{display:grid!important;grid-template-columns:78px minmax(0,1fr) auto!important;gap:5px!important;align-items:start!important;min-width:0!important;min-height:20px!important;}
  .portal-order-mobile-kv span{font-size:13px!important;color:#111827!important;font-weight:760!important;}
  .portal-order-mobile-kv strong{font-size:13px!important;color:#667085!important;font-weight:680!important;text-align:right!important;line-height:1.35!important;word-break:break-all!important;}
  .portal-order-mobile-kv .portal-copy-link{border:0!important;background:transparent!important;color:#667085!important;font-size:13px!important;padding:0!important;box-shadow:none!important;}
  .portal-order-mobile-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important;}
  .portal-order-mobile-actions form{display:contents!important;}
  .portal-order-mobile-actions a,
  .portal-order-mobile-actions button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;border-radius:999px!important;border:0!important;text-decoration:none!important;font-size:13px!important;font-weight:900!important;}
  .portal-order-mobile-actions a{background:#3478f6!important;color:#fff!important;box-shadow:0 8px 18px rgba(52,120,246,.18)!important;}
  .portal-order-mobile-actions button{background:#f7f8fb!important;color:#667085!important;border:1px solid #e5eaf1!important;}
  .portal-order-mobile-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:end!important;gap:0!important;margin:8px 24px!important;background:transparent!important;}
  .portal-order-mobile-tabs button{position:relative!important;min-height:40px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#22272f!important;font-size:16px!important;font-weight:850!important;}
  .portal-order-mobile-tabs button.active{color:#3478f6!important;}
  .portal-order-mobile-tabs button.active::after{content:""!important;position:absolute!important;left:50%!important;bottom:2px!important;width:34px!important;height:3px!important;border-radius:999px!important;background:#3478f6!important;transform:translateX(-50%)!important;}
  .portal-order-mobile-panel{display:none!important;background:#fff!important;border:0!important;border-radius:16px!important;box-shadow:0 7px 18px rgba(15,23,42,.035)!important;padding:12px!important;margin:0 0 10px!important;}
  .portal-order-mobile-panel.active{display:grid!important;gap:8px!important;}
  .portal-order-mobile-input-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;padding:8px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-input-row:last-child{border-bottom:0!important;}
  .portal-order-mobile-input-row span{grid-column:1/-1!important;color:#7b8492!important;font-size:13px!important;font-weight:760!important;}
  .portal-order-mobile-input-row strong{color:#20252d!important;font-size:15px!important;line-height:1.45!important;font-weight:720!important;word-break:break-all!important;}
  .portal-order-mobile-input-row .portal-copy-link{border:0!important;background:transparent!important;color:#667085!important;font-size:13px!important;padding:0!important;box-shadow:none!important;}
  .portal-order-mobile-panel h3{margin:0 0 6px!important;color:#111827!important;font-size:18px!important;font-weight:950!important;}
  .portal-order-mobile-logs>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 8px!important;align-items:start!important;padding:7px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-logs>div:last-child{border-bottom:0!important;}
  .portal-order-mobile-logs strong{font-size:14px!important;color:#111827!important;font-weight:760!important;line-height:1.35!important;}
  .portal-order-mobile-logs time{font-size:12px!important;color:#667085!important;white-space:nowrap!important;line-height:1.35!important;}
  .portal-order-mobile-logs small{grid-column:1/-1!important;color:#7b8492!important;font-size:12px!important;line-height:1.4!important;}
}
.v32983-mobile-profile-order-clean{display:none;}

/* v3.29.83 last pass: selectors aligned to current cleaned order-detail template. */
@media (max-width:760px){
  .portal-order-mobile-hero{height:68px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 54px!important;align-items:center!important;margin:0 -12px 10px!important;padding:0 28px!important;background:linear-gradient(180deg,#fafbfc 0%,#eef1f5 100%)!important;border:0!important;}
  .portal-order-mobile-hero small{display:none!important;}
  .portal-order-mobile-hero strong{display:block!important;max-width:230px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#9aa1a9!important;font-size:24px!important;font-weight:900!important;}
  .portal-order-mobile-hero>span{width:48px!important;height:48px!important;border-radius:14px!important;background:#e6e9ee!important;color:#9ca3ad!important;display:grid!important;place-items:center!important;font-size:24px!important;justify-self:end!important;opacity:1!important;}
  .portal-order-mobile-product__price{text-align:right!important;min-width:76px!important;display:block!important;}
  .portal-order-mobile-product__price strong{display:block!important;font-size:18px!important;color:#101828!important;font-weight:900!important;line-height:1.2!important;}
  .portal-order-mobile-product__price small{display:block!important;font-size:12px!important;color:#a1a9b4!important;font-weight:780!important;margin-top:2px!important;}
  .portal-order-mobile-summary{display:grid!important;gap:5px!important;background:#f8f9fc!important;border-radius:13px!important;padding:8px 10px!important;}
  .portal-order-mobile-summary>div{display:grid!important;grid-template-columns:78px minmax(0,1fr) auto!important;gap:5px!important;align-items:start!important;min-width:0!important;min-height:20px!important;}
  .portal-order-mobile-summary span{font-size:13px!important;color:#111827!important;font-weight:760!important;}
  .portal-order-mobile-summary strong{font-size:13px!important;color:#667085!important;font-weight:680!important;text-align:right!important;line-height:1.35!important;word-break:break-all!important;}
  .portal-order-mobile-summary .portal-copy-link{border:0!important;background:transparent!important;color:#667085!important;font-size:13px!important;padding:0!important;box-shadow:none!important;}
  .portal-order-mobile-input{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;padding:8px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-input:last-child{border-bottom:0!important;}
  .portal-order-mobile-input span{grid-column:1/-1!important;color:#7b8492!important;font-size:13px!important;font-weight:760!important;}
  .portal-order-mobile-input strong{color:#20252d!important;font-size:15px!important;line-height:1.45!important;font-weight:720!important;word-break:break-all!important;}
  .portal-order-mobile-input .portal-copy-link{border:0!important;background:transparent!important;color:#667085!important;font-size:13px!important;padding:0!important;box-shadow:none!important;}
}
.v32983-template-selector-alignment{display:none;}

/* v3.29.83 final profile class compatibility */
.portal-mobile-profile-page{display:none;}
@media (max-width:760px){
  .portal-shell--profile .member-recording-shell--profile-desktop{display:none!important;}
  .portal-mobile-profile-page{display:block!important;min-height:100vh!important;background:#fff!important;padding:0 0 24px!important;color:#20242a!important;}
  .portal-mobile-settings-topbar{height:52px!important;display:grid!important;grid-template-columns:52px minmax(0,1fr) 52px!important;align-items:center!important;border-bottom:1px solid #f0f2f5!important;background:#fff!important;}
  .portal-mobile-settings-topbar>a:first-child{display:grid!important;place-items:center!important;width:52px!important;height:52px!important;font-size:38px!important;line-height:1!important;color:#111827!important;text-decoration:none!important;}
  .portal-mobile-settings-topbar>strong{text-align:center!important;font-size:20px!important;font-weight:900!important;color:#111827!important;}
  .portal-mobile-settings-topbar .portal-mobile-settings-logout{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:999px!important;background:#fff1f2!important;color:#ef4444!important;border:1px solid #fecdd3!important;box-shadow:none!important;}
  .portal-mobile-settings-topbar .portal-mobile-settings-logout svg{width:19px!important;height:19px!important;}
  .portal-mobile-settings-card{display:grid!important;gap:0!important;background:#fff!important;border:0!important;box-shadow:none!important;padding:6px 28px 0!important;margin:0!important;}
  .portal-mobile-settings-row{display:grid!important;grid-template-columns:118px minmax(0,1fr) 18px!important;align-items:center!important;gap:8px!important;min-height:58px!important;border-bottom:1px solid #f0f2f5!important;background:#fff!important;color:#20242a!important;text-decoration:none!important;padding:0!important;}
  .portal-mobile-settings-row span{font-size:16px!important;color:#9aa0a8!important;font-weight:520!important;line-height:1.2!important;}
  .portal-mobile-settings-row strong{min-width:0!important;text-align:right!important;color:#1f2329!important;font-size:16px!important;font-weight:780!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-settings-row i{font-style:normal!important;color:#b8bec7!important;font-size:24px!important;line-height:1!important;text-align:right!important;}
  .portal-mobile-switch{display:inline-block!important;width:52px!important;height:30px!important;border-radius:999px!important;background:#7da0f5!important;position:relative!important;vertical-align:middle!important;box-shadow:inset 0 0 0 1px rgba(47,117,255,.14)!important;}
  .portal-mobile-switch::after{content:""!important;position:absolute!important;right:3px!important;top:3px!important;width:24px!important;height:24px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 2px 5px rgba(15,23,42,.16)!important;}
  .portal-mobile-logout-pill{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:52px!important;margin:46px 34px 0!important;border-radius:999px!important;background:#ff5b64!important;color:#fff!important;text-decoration:none!important;font-size:16px!important;font-weight:900!important;box-shadow:0 10px 22px rgba(255,91,100,.18)!important;}
  .portal-mobile-logout-pill svg{width:20px!important;height:20px!important;}
}


/* v3.29.84 compatibility: keep latest mobile nav single-active behavior while restoring older UI baseline. */
@media (max-width:760px){
  .portal-mobile-tabbar--market a:not(.active):not(.is-active){background:transparent!important;color:#1f2937!important;box-shadow:none!important;}
  .portal-mobile-tabbar--market a.active,.portal-mobile-tabbar--market a.is-active{color:#3478f6!important;}
}
.v32984-restored-legacy-ui-tail{display:none;}

/* === v3.29.85 mobile/front cleanup: restore stable mobile UX without removing 3.29.81 baseline === */
@media (max-width: 760px) {
  /* Bottom tabbar: no broken filled icon blocks, one clear active state only. */
  .portal-mobile-tabbar--market{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    position:fixed!important;
    left:0!important;right:0!important;bottom:0!important;
    z-index:1200!important;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;
    background:rgba(255,255,255,.98)!important;
    border-top:1px solid #e7ecf3!important;
    box-shadow:0 -8px 22px rgba(15,23,42,.08)!important;
    backdrop-filter:none!important;
  }
  .portal-mobile-tabbar--market a,
  .portal-mobile-tabbar--market a:not(.active):not(.is-active){
    min-height:48px!important;
    padding:3px 0 2px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#2f343b!important;
    text-decoration:none!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
  }
  .portal-mobile-tabbar--market a span,
  .portal-mobile-tabbar--market a:not(.active):not(.is-active) span{
    width:auto!important;height:auto!important;min-width:0!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
    color:#2f343b!important;font-size:22px!important;line-height:1!important;font-weight:520!important;
  }
  .portal-mobile-tabbar--market a strong,
  .portal-mobile-tabbar--market a:not(.active):not(.is-active) strong{
    background:transparent!important;color:#2f343b!important;font-size:12px!important;line-height:1.1!important;font-weight:640!important;
  }
  .portal-mobile-tabbar--market a.active,
  .portal-mobile-tabbar--market a.is-active{
    background:transparent!important;box-shadow:none!important;color:#3478f6!important;
  }
  .portal-mobile-tabbar--market a.active span,
  .portal-mobile-tabbar--market a.is-active span,
  .portal-mobile-tabbar--market a.active strong,
  .portal-mobile-tabbar--market a.is-active strong{
    background:transparent!important;color:#3478f6!important;box-shadow:none!important;border:0!important;
  }

  /* Mobile homepage: keep search + banner + dropdown filter, not category list cards. */
  .portal-shell--home .portal-recording-layout{display:block!important;padding:10px 10px 84px!important;}
  .portal-shell--home .portal-tree-sidebar{display:none!important;}
  .portal-shell--home .portal-recording-content{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;}
  .portal-shell--home .portal-mobile-top-search--home{display:grid!important;grid-template-columns:minmax(0,1fr) 64px!important;gap:8px!important;margin:0 0 8px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  .portal-shell--home .portal-mobile-top-search--home input{height:38px!important;border-radius:11px!important;border:1px solid #dfe6ef!important;background:#fff!important;color:#17212b!important;font-size:14px!important;padding:0 12px!important;box-shadow:none!important;min-width:0!important;}
  .portal-shell--home .portal-mobile-top-search--home button{height:38px!important;border-radius:11px!important;border:0!important;background:#3478f6!important;color:#fff!important;font-size:13px!important;font-weight:860!important;box-shadow:none!important;}
  .portal-shell--home .portal-home-top-row{display:block!important;margin:0 0 8px!important;}
  .portal-shell--home .portal-hero-banner{display:block!important;min-height:108px!important;height:auto!important;margin:0 0 8px!important;border-radius:14px!important;overflow:hidden!important;}
  .portal-shell--home .portal-hero-banner__inner{padding:16px 18px!important;min-height:108px!important;}
  .portal-shell--home .portal-hero-banner__title{font-size:20px!important;line-height:1.2!important;}
  .portal-shell--home .portal-hero-banner__sub{font-size:13px!important;margin-top:5px!important;}
  .portal-shell--home .portal-hero-banner__desc{font-size:12px!important;margin-top:7px!important;max-width:85%!important;}
  .portal-shell--home .portal-filter-board--home-products{display:block!important;margin:8px 0 10px!important;padding:10px!important;border-radius:14px!important;background:#fff!important;border:1px solid #e7ecf3!important;box-shadow:0 6px 18px rgba(15,23,42,.05)!important;}
  .portal-shell--home .portal-filter-board--home-products .portal-filter-board__head{display:none!important;}
  .portal-shell--home .portal-filter-form--home{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 62px!important;gap:7px!important;align-items:center!important;}
  .portal-shell--home .portal-filter-form--home input[name="q"]{display:none!important;}
  .portal-shell--home .portal-filter-form--home select{display:block!important;height:36px!important;min-height:36px!important;border-radius:10px!important;background:#fff!important;border:1px solid #dfe6ef!important;color:#344054!important;font-size:12px!important;padding:0 10px!important;box-shadow:none!important;min-width:0!important;}
  .portal-shell--home .portal-filter-form--home button{height:36px!important;min-height:36px!important;border-radius:10px!important;background:#3478f6!important;color:#fff!important;border:0!important;font-size:12px!important;font-weight:850!important;box-shadow:none!important;}
  .portal-shell--home .portal-home-category-chips{display:none!important;}
  .portal-shell--home .portal-inline-notice{display:none!important;}
  .portal-shell--home .portal-product-block{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  .portal-shell--home .portal-product-block__head{display:none!important;}
  .portal-shell--home .portal-record-grid--products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .portal-shell--home .portal-record-card{display:block!important;min-width:0!important;padding:8px!important;border-radius:12px!important;background:#fff!important;border:1px solid #edf1f6!important;box-shadow:0 6px 14px rgba(15,23,42,.05)!important;text-decoration:none!important;}
  .portal-shell--home .portal-record-card__media{width:100%!important;height:auto!important;aspect-ratio:1/1!important;border-radius:10px!important;margin:0!important;}
  .portal-shell--home .portal-record-card__media img{width:100%!important;height:100%!important;object-fit:cover!important;}
  .portal-shell--home .portal-record-card__name{font-size:12px!important;line-height:1.35!important;height:32px!important;margin-top:7px!important;overflow:hidden!important;color:#1f2937!important;font-weight:760!important;}
  .portal-shell--home .portal-record-card__price{font-size:12px!important;margin-top:4px!important;color:#ea6b27!important;font-weight:820!important;}

  /* Mobile zone: one search, clean side list, buy/cart are different controls. */
  .portal-shell--products-list .portal-filter-board--zone-products,
  .portal-shell--products-list .portal-zone-selector{display:none!important;}
  .portal-mobile-zone-panel{display:block!important;margin:0!important;padding:0 0 84px!important;}
  .portal-mobile-zone-search{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;gap:7px!important;margin:0 0 8px!important;}
  .portal-mobile-zone-search input{height:38px!important;border:1px solid #dfe6ef!important;border-radius:11px!important;background:#fff!important;padding:0 12px!important;color:#17212b!important;min-width:0!important;box-shadow:none!important;}
  .portal-mobile-zone-search button{height:38px!important;border-radius:11px!important;border:0!important;background:#3478f6!important;color:#fff!important;font-weight:850!important;}
  .portal-mobile-zone-tabs{display:none!important;}
  .portal-mobile-zone-body{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;}
  .portal-mobile-zone-side{display:flex!important;flex-direction:column!important;gap:6px!important;background:#f3f6fb!important;border:0!important;border-radius:12px!important;padding:7px!important;max-height:calc(100vh - 156px)!important;overflow:auto!important;box-shadow:none!important;}
  .portal-mobile-zone-side a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#667085!important;font-size:12px!important;font-weight:720!important;text-decoration:none!important;box-shadow:none!important;}
  .portal-mobile-zone-side a.active{background:#fff!important;color:#3478f6!important;box-shadow:0 4px 10px rgba(15,23,42,.05)!important;border:0!important;outline:0!important;}
  .portal-mobile-zone-list{display:grid!important;gap:8px!important;min-width:0!important;}
  .portal-mobile-zone-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;background:#fff!important;border:1px solid #edf1f6!important;border-radius:12px!important;padding:8px!important;box-shadow:none!important;overflow:hidden!important;}
  .portal-mobile-zone-item__body{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;min-width:0!important;text-decoration:none!important;}
  .portal-mobile-zone-item__media{width:42px!important;height:42px!important;border-radius:9px!important;overflow:hidden!important;display:grid!important;place-items:center!important;background:#f1f6ff!important;color:#3478f6!important;}
  .portal-mobile-zone-item__media img{width:100%!important;height:100%!important;object-fit:cover!important;}
  .portal-mobile-zone-item__main{min-width:0!important;display:block!important;}
  .portal-mobile-zone-item__main strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#1f2937!important;font-size:13px!important;font-weight:800!important;}
  .portal-mobile-zone-item__main em{display:block!important;margin-top:3px!important;color:#ea6b27!important;font-size:12px!important;font-style:normal!important;font-weight:820!important;}
  .portal-mobile-zone-item__actions{display:flex!important;gap:6px!important;align-items:center!important;justify-content:flex-end!important;min-width:70px!important;}
  .portal-mobile-zone-action{width:32px!important;height:32px!important;border-radius:999px!important;border:0!important;display:grid!important;place-items:center!important;text-decoration:none!important;font-size:12px!important;font-weight:900!important;line-height:1!important;box-shadow:none!important;cursor:pointer!important;}
  .portal-mobile-zone-action--buy{background:#3478f6!important;color:#fff!important;}
  .portal-mobile-zone-action--cart{background:#f3f7ff!important;color:#1d5fd7!important;border:1px solid #d7e5ff!important;}

  /* Mobile profile: compact own content, no top-right logout icon overlap. */
  .portal-mobile-settings-topbar{height:48px!important;grid-template-columns:48px minmax(0,1fr) 48px!important;border-bottom:1px solid #f0f2f5!important;background:#fff!important;}
  .portal-mobile-settings-topbar .portal-mobile-settings-logout{display:none!important;}
  .portal-mobile-settings-topbar__spacer{display:block!important;}
  .portal-mobile-settings-topbar>a:first-child{width:48px!important;height:48px!important;font-size:34px!important;color:#111827!important;}
  .portal-mobile-settings-topbar>strong{font-size:18px!important;font-weight:880!important;color:#111827!important;}
  .portal-mobile-settings-card--compact{padding:2px 24px 0!important;margin:0!important;background:#fff!important;box-shadow:none!important;border:0!important;}
  .portal-mobile-settings-card--compact .portal-mobile-settings-row{grid-template-columns:94px minmax(0,1fr) 16px!important;min-height:48px!important;gap:8px!important;border-bottom:1px solid #f1f3f6!important;}
  .portal-mobile-settings-card--compact .portal-mobile-settings-row span{font-size:15px!important;color:#8f98a3!important;font-weight:520!important;}
  .portal-mobile-settings-card--compact .portal-mobile-settings-row strong{font-size:15px!important;color:#1f2329!important;font-weight:760!important;text-align:right!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-logout-pill{min-height:48px!important;margin:34px 34px 0!important;border-radius:999px!important;background:#ff5b64!important;color:#fff!important;font-size:16px!important;font-weight:850!important;box-shadow:0 8px 18px rgba(255,91,100,.15)!important;}

  /* Mobile orders: search uses one visual search action; all detail filters live in the drawer. */
  .portal-shell--orders .portal-orders-mobile-searchbar{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:8px!important;align-items:center!important;margin:0 0 8px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;}
  .portal-shell--orders .portal-orders-mobile-search{display:grid!important;grid-template-columns:minmax(0,1fr) 54px!important;gap:6px!important;height:38px!important;min-width:0!important;background:#fff!important;border:1px solid #dfe6ef!important;border-radius:12px!important;padding:0 4px 0 10px!important;box-shadow:none!important;overflow:hidden!important;}
  .portal-shell--orders .portal-orders-mobile-search__icon{display:none!important;}
  .portal-shell--orders .portal-orders-mobile-search input{height:36px!important;min-height:36px!important;line-height:36px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:13px!important;color:#17212b!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-shell--orders .portal-orders-mobile-search__submit{height:30px!important;min-height:30px!important;align-self:center!important;border-radius:9px!important;border:0!important;background:#3478f6!important;color:#fff!important;font-size:12px!important;font-weight:850!important;padding:0 8px!important;box-shadow:none!important;}
  .portal-shell--orders .portal-orders-mobile-filter-toggle{width:42px!important;height:38px!important;border-radius:12px!important;border:1px solid #dfe6ef!important;background:#fff!important;color:#344054!important;display:grid!important;place-items:center!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;}
  .portal-shell--orders .portal-orders-mobile-filter-toggle svg{width:18px!important;height:18px!important;display:block!important;}
  .portal-shell--orders .portal-orders-filter-drawer{display:none!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;z-index:1250!important;max-height:78vh!important;overflow:auto!important;border-radius:18px 18px 0 0!important;background:#fff!important;border:1px solid #edf1f6!important;box-shadow:0 -18px 42px rgba(15,23,42,.16)!important;padding:14px!important;margin:0!important;filter:none!important;backdrop-filter:none!important;}
  .portal-shell--orders .portal-orders-filter-drawer.is-mobile-open{display:block!important;}
  .portal-shell--orders .portal-orders-query-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .portal-shell--orders .portal-orders-query-grid label{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;background:transparent!important;border:0!important;padding:0!important;}
  .portal-shell--orders .portal-orders-query-grid input,
  .portal-shell--orders .portal-orders-query-grid select{height:38px!important;border-radius:10px!important;background:#fff!important;border:1px solid #dfe6ef!important;box-shadow:none!important;color:#1f2937!important;}

  /* Mobile product detail: force one stable compact layout and prevent horizontal overflow. */
  .portal-shell--member.portal-shell--recording:not(.portal-shell--orders) .portal-mobile-detail-title{display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;height:44px!important;align-items:center!important;margin:0 -4px 8px!important;}
  .portal-mobile-detail-title a{font-size:32px!important;text-decoration:none!important;color:#111827!important;text-align:center!important;}
  .portal-mobile-detail-title strong{font-size:17px!important;font-weight:860!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#111827!important;}
  .portal-detail-layout--product-detail{display:block!important;width:100%!important;max-width:100%!important;overflow:hidden!important;margin:0!important;padding:0 0 84px!important;}
  .portal-detail-layout--product-detail .portal-detail-shell{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:12px!important;background:#fff!important;border:1px solid #edf1f6!important;border-radius:14px!important;box-shadow:0 6px 18px rgba(15,23,42,.05)!important;overflow:hidden!important;box-sizing:border-box!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__media-card{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;width:100%!important;max-width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 12px!important;overflow:hidden!important;}
  .portal-detail-layout--product-detail .portal-detail-square-media{width:90px!important;height:90px!important;min-width:90px!important;border-radius:14px!important;overflow:hidden!important;background:#f1f6ff!important;}
  .portal-detail-layout--product-detail .portal-detail-square-media img{width:100%!important;height:100%!important;object-fit:cover!important;}
  .portal-detail-layout--product-detail .portal-record-card__placeholder--large{font-size:42px!important;color:#3478f6!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__summary{min-width:0!important;display:block!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__summary h1{font-size:18px!important;line-height:1.25!important;margin:0 0 6px!important;color:#111827!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__line{font-size:13px!important;line-height:1.65!important;color:#445266!important;font-weight:620!important;}
  .portal-detail-layout--product-detail .portal-detail-price-band{margin:8px 0 0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  .portal-detail-layout--product-detail .portal-detail-price-band span{display:block!important;font-size:12px!important;color:#7c8796!important;}
  .portal-detail-layout--product-detail .portal-detail-price-band strong{font-size:20px!important;color:#df6a2f!important;line-height:1.2!important;}
  .portal-detail-layout--product-detail .portal-inline-note{grid-column:1/-1!important;margin:6px 0 0!important;padding:9px 10px!important;border-radius:10px!important;background:#f7f9fc!important;color:#596579!important;font-size:12px!important;line-height:1.45!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__order-card{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;}
  .portal-detail-layout--product-detail .portal-detail-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border-bottom:1px solid #e7ecf3!important;margin:4px 0 10px!important;}
  .portal-detail-layout--product-detail .portal-detail-tabs button{height:42px!important;border:0!important;background:transparent!important;color:#8792a2!important;font-size:15px!important;font-weight:840!important;}
  .portal-detail-layout--product-detail .portal-detail-tabs button.active{color:#111827!important;border-bottom:3px solid #3478f6!important;}
  .portal-detail-layout--product-detail .portal-detail-panel{width:100%!important;max-width:100%!important;overflow:hidden!important;}
  .portal-detail-layout--product-detail label{display:block!important;width:100%!important;max-width:100%!important;margin:0 0 10px!important;box-sizing:border-box!important;}
  .portal-detail-layout--product-detail label>span{display:block!important;font-size:13px!important;color:#4c596b!important;font-weight:780!important;margin:0 0 5px!important;}
  .portal-detail-layout--product-detail input,
  .portal-detail-layout--product-detail textarea,
  .portal-detail-layout--product-detail select{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;border:1px solid #dfe6ef!important;border-radius:11px!important;background:#fff!important;color:#111827!important;box-shadow:none!important;}
  .portal-detail-layout--product-detail .portal-order-actions--recording{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;width:100%!important;max-width:100%!important;}
  .portal-detail-layout--product-detail .portal-order-actions--recording .btn.primary{margin-left:auto!important;min-width:116px!important;}
  .portal-detail-layout--product-detail .portal-mobile-order-query{display:none!important;}

  /* Mobile order detail: compact and no repeat button. */
  .portal-shell--order-detail .portal-mobile-tabbar--market,
  .portal-shell--profile .portal-mobile-tabbar--market{display:none!important;}
  .portal-order-mobile-detail{display:block!important;padding:0 10px 24px!important;background:#f6f7fb!important;}
  .portal-order-mobile-titlebar{height:44px!important;margin:0 -10px 0!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;background:#fff!important;border-bottom:1px solid #eef1f5!important;}
  .portal-order-mobile-titlebar>a{font-size:34px!important;color:#111827!important;text-decoration:none!important;text-align:center!important;}
  .portal-order-mobile-titlebar strong{font-size:18px!important;font-weight:900!important;text-align:center!important;color:#111827!important;}
  .portal-order-mobile-hero{height:52px!important;min-height:52px!important;margin:0 -10px 8px!important;padding:0 16px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;align-items:center!important;background:linear-gradient(180deg,#fafbfc,#eef1f5)!important;border:0!important;border-radius:0!important;}
  .portal-order-mobile-hero small{display:none!important;}
  .portal-order-mobile-hero strong{font-size:22px!important;color:#9aa1a9!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-order-mobile-hero>span{width:40px!important;height:40px!important;border-radius:12px!important;background:#e6e9ee!important;color:#9ca3ad!important;font-size:20px!important;}
  .portal-order-mobile-card{border-radius:12px!important;background:#fff!important;border:0!important;box-shadow:0 5px 14px rgba(15,23,42,.05)!important;padding:10px!important;margin:0 0 8px!important;}
  .portal-order-mobile-product{grid-template-columns:54px minmax(0,1fr) auto!important;gap:9px!important;align-items:start!important;}
  .portal-order-mobile-thumb{width:54px!important;height:54px!important;border-radius:9px!important;}
  .portal-order-mobile-product__main strong{font-size:15px!important;line-height:1.28!important;color:#111827!important;}
  .portal-order-mobile-product__main small{font-size:12px!important;color:#9aa3af!important;margin-top:3px!important;}
  .portal-order-mobile-product__price strong{font-size:17px!important;color:#111827!important;}
  .portal-order-mobile-product__price small{font-size:12px!important;color:#9aa3af!important;}
  .portal-order-mobile-progress{min-height:34px!important;border-radius:10px!important;margin:8px 0!important;padding:0 8px!important;font-size:12px!important;}
  .portal-order-mobile-paid{margin:0 0 8px!important;padding:0!important;font-size:13px!important;}
  .portal-order-mobile-paid strong span{font-size:18px!important;color:#f28a20!important;}
  .portal-order-mobile-summary{padding:8px 9px!important;border-radius:10px!important;gap:3px!important;background:#f8f9fc!important;}
  .portal-order-mobile-summary>div{grid-template-columns:72px minmax(0,1fr) auto!important;min-height:22px!important;gap:5px!important;}
  .portal-order-mobile-summary span,.portal-order-mobile-summary strong{font-size:12px!important;line-height:1.35!important;}
  .portal-order-mobile-actions .portal-order-mobile-action--repeat{display:none!important;}
  .portal-order-mobile-tabs{height:42px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;background:transparent!important;border:0!important;margin:4px 0 8px!important;}
  .portal-order-mobile-tabs button{border:0!important;background:transparent!important;color:#20242a!important;font-size:16px!important;font-weight:820!important;}
  .portal-order-mobile-tabs button.active{color:#3478f6!important;position:relative!important;}
  .portal-order-mobile-tabs button.active::after{content:""!important;position:absolute!important;left:50%!important;bottom:0!important;width:36px!important;height:3px!important;border-radius:999px!important;background:#3478f6!important;transform:translateX(-50%)!important;}
  .portal-order-mobile-panel{border-radius:12px!important;background:#fff!important;padding:10px!important;box-shadow:0 5px 14px rgba(15,23,42,.05)!important;margin:0!important;}
  .portal-order-mobile-input{padding:7px 0!important;border-bottom:1px solid #f0f2f5!important;}
  .portal-order-mobile-input span{font-size:12px!important;color:#7b8492!important;}
  .portal-order-mobile-input strong{font-size:14px!important;color:#20252d!important;line-height:1.42!important;}
  .portal-order-mobile-logs h3,.portal-order-mobile-panel h3{font-size:16px!important;margin:0 0 8px!important;}
  .portal-order-mobile-log{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:6px 0!important;border-bottom:0!important;}
  .portal-order-mobile-log strong{font-size:14px!important;color:#111827!important;font-weight:760!important;}
  .portal-order-mobile-log time{font-size:12px!important;color:#667085!important;white-space:nowrap!important;}
}

@media (min-width: 761px) {
  .portal-order-actions--recording.portal-order-actions--inline-feedback{display:flex!important;align-items:center!important;gap:10px!important;}
  .portal-order-actions--recording.portal-order-actions--inline-feedback .btn.primary{margin-left:auto!important;min-width:128px!important;}
  .portal-mobile-order-query{display:none!important;}
}

/* v3.29.85 profile page: no duplicate phone/email blocks. */
.portal-profile-kv-list{display:grid;gap:10px;}
.portal-profile-kv{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center;min-height:48px;padding:8px 0;border-bottom:1px solid #eef1f5;color:#1f2937;}
.portal-profile-kv span{color:#667085;font-size:14px;font-weight:780;}
.portal-profile-kv strong{font-size:15px;font-weight:820;color:#111827;}
.portal-profile-kv input{width:100%;height:40px;border-radius:10px;border:1px solid #dfe6ef;background:#fff;color:#111827;padding:0 12px;box-sizing:border-box;}
.portal-profile-kv a{justify-self:start;color:#3478f6;font-weight:860;text-decoration:none;}
.profile-recording-form__basic--password{margin-top:12px;}

/* === v3.29.87 text-requirement fixes: mobile home/category, detail ordering, order alignment, zone nav, search, PC buy button === */
@media (max-width:760px){
  /* 1) 手机首页：分类只能作为下拉筛选，和默认排序同一行；不再展开成分类列表。 */
  .portal-shell--home .portal-home-category-chips{display:none!important;}
  .portal-shell--home .portal-filter-board--home-products{padding:9px!important;border-radius:12px!important;margin:0 0 10px!important;}
  .portal-shell--home .portal-filter-board--home-products .portal-filter-board__head{display:none!important;}
  .portal-shell--home .portal-filter-form--home{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 64px!important;
    grid-auto-rows:auto!important;
    gap:8px!important;
    align-items:center!important;
  }
  .portal-shell--home .portal-filter-form--home input[name="q"]{
    grid-column:1 / 3!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    border-radius:11px!important;
    padding:0 12px!important;
    font-size:14px!important;
  }
  .portal-shell--home .portal-filter-form--home button{
    grid-column:3!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    border-radius:11px!important;
    padding:0!important;
    font-size:13px!important;
  }
  .portal-shell--home .portal-filter-form--home select[name="sort"]{
    grid-column:1 / 2!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    border-radius:11px!important;
    padding:0 10px!important;
    font-size:13px!important;
  }
  .portal-shell--home .portal-filter-form--home select[name="category"]{
    grid-column:2 / 4!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    border-radius:11px!important;
    padding:0 10px!important;
    font-size:13px!important;
  }

  /* 2) 手机商品详情：商品信息卡片 -> 商品详情卡片 -> 下单参数卡片。PC 不受影响。 */
  .portal-detail-layout--product-detail{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    padding:0 0 84px!important;
  }
  .portal-detail-layout--product-detail .portal-detail-shell{
    display:contents!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  .portal-detail-layout--product-detail .portal-detail-shell__media-card{
    order:1!important;
    display:grid!important;
    grid-template-columns:90px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:12px!important;
    box-sizing:border-box!important;
    background:#fff!important;
    border:1px solid #edf1f6!important;
    border-radius:14px!important;
    box-shadow:0 6px 18px rgba(15,23,42,.05)!important;
    overflow:hidden!important;
  }
  .portal-detail-layout--product-detail .portal-card--detail-body{
    order:2!important;
    margin:0!important;
    padding:12px!important;
    border-radius:14px!important;
    background:#fff!important;
    border:1px solid #edf1f6!important;
    box-shadow:0 6px 18px rgba(15,23,42,.05)!important;
  }
  .portal-detail-layout--product-detail .portal-detail-shell__order-card{
    order:3!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:12px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    background:#fff!important;
    border:1px solid #edf1f6!important;
    border-radius:14px!important;
    box-shadow:0 6px 18px rgba(15,23,42,.05)!important;
  }
  .portal-detail-layout--product-detail .portal-card--history{order:4!important;}
  .portal-detail-layout--product-detail .portal-detail-square-media{width:90px!important;height:90px!important;min-width:90px!important;border-radius:14px!important;overflow:hidden!important;background:#f1f6ff!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__summary{min-width:0!important;display:block!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__summary h1{font-size:18px!important;line-height:1.25!important;margin:0 0 6px!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__line{font-size:13px!important;line-height:1.65!important;}
  .portal-detail-layout--product-detail .portal-detail-price-band{margin:8px 0 0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  .portal-detail-layout--product-detail .portal-detail-tabs{margin:0 0 10px!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    align-items:center!important;
  }
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action{display:block!important;min-width:0!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--favorite{grid-column:1 / -1!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--cart{grid-column:1!important;grid-row:2!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.btn.primary{grid-column:2!important;grid-row:2!important;margin:0!important;min-width:0!important;width:100%!important;max-width:none!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase.portal-order-actions--no-cart>.btn.primary{grid-column:1 / -1!important;grid-row:2!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .btn{
    width:100%!important;
    height:42px!important;
    min-height:42px!important;
    border-radius:999px!important;
    padding:0 10px!important;
    font-size:14px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .portal-detail-layout--product-detail #portalCartAction{background:#fff7f2!important;border-color:#ffd9c2!important;color:#e65f1f!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.btn.primary{background:#3478f6!important;color:#fff!important;border-color:transparent!important;}

  /* 3) 手机订单详情：去掉右侧灰块，订单编号/复制按钮和订单记录栏居中对齐。 */
  .portal-order-mobile-hero,
  .portal-order-mobile-status-band{
    grid-template-columns:minmax(0,1fr)!important;
    padding:0 18px!important;
  }
  .portal-order-mobile-hero>span,
  .portal-order-mobile-status-band>span{display:none!important;}
  .portal-order-mobile-summary>div{
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr) auto!important;
    gap:6px!important;
    align-items:center!important;
    min-height:26px!important;
  }
  .portal-order-mobile-summary span{align-self:center!important;line-height:1.35!important;}
  .portal-order-mobile-summary strong{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    min-height:26px!important;
    line-height:1.35!important;
    text-align:left!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .portal-order-mobile-summary .portal-copy-link{
    align-self:center!important;
    justify-self:end!important;
    height:24px!important;
    min-height:24px!important;
    line-height:24px!important;
    padding:0 6px!important;
    border:0!important;
  }
  .portal-order-mobile-tabs button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:42px!important;
    line-height:1!important;
    text-align:center!important;
  }
  .portal-order-mobile-tabs button.active::after{left:50%!important;transform:translateX(-50%)!important;}
  .portal-order-mobile-log{
    align-items:center!important;
    min-height:34px!important;
    padding:7px 0!important;
  }
  .portal-order-mobile-log strong,
  .portal-order-mobile-log time{line-height:1.35!important;align-self:center!important;}

  /* 4) 手机专区：搜索框下方恢复主分类顶部导航，左侧只负责展示当前主分类的子分类。 */
  .portal-shell--products-list .portal-mobile-zone-tabs{
    display:flex!important;
    gap:7px!important;
    align-items:center!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    margin:0 0 8px!important;
    padding:0 2px 2px!important;
    scrollbar-width:none!important;
  }
  .portal-shell--products-list .portal-mobile-zone-tabs::-webkit-scrollbar{display:none!important;}
  .portal-shell--products-list .portal-mobile-zone-tabs a{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    padding:0 12px!important;
    border-radius:999px!important;
    border:1px solid #e2e8f0!important;
    background:#fff!important;
    color:#667085!important;
    text-decoration:none!important;
    font-size:13px!important;
    font-weight:820!important;
    box-shadow:none!important;
    white-space:nowrap!important;
  }
  .portal-shell--products-list .portal-mobile-zone-tabs a.active{
    background:#3478f6!important;
    color:#fff!important;
    border-color:#3478f6!important;
  }
  .portal-shell--products-list .portal-mobile-zone-body{grid-template-columns:82px minmax(0,1fr)!important;gap:8px!important;}
  .portal-shell--products-list .portal-mobile-zone-side{max-height:calc(100vh - 196px)!important;}

  /* 5) 手机顶部搜索栏：彻底移除左侧放大镜/伪图标，输入文字区域占满剩余空间。 */
  .portal-mobile-top-search::before,
  .portal-mobile-hero-search::before,
  .portal-shell--orders .portal-orders-mobile-search::before{content:none!important;display:none!important;}
  .portal-mobile-top-search__icon,
  .portal-mobile-hero-search__icon,
  .portal-orders-mobile-search__icon{display:none!important;}
  .portal-mobile-top-search,
  .portal-mobile-hero-search{grid-template-columns:minmax(0,1fr) 56px!important;min-width:0!important;}
  .portal-mobile-top-search input,
  .portal-mobile-hero-search input{grid-column:1!important;width:100%!important;min-width:0!important;padding-left:8px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
  .portal-mobile-top-search button,
  .portal-mobile-hero-search button{grid-column:2!important;position:static!important;width:100%!important;opacity:1!important;pointer-events:auto!important;}
  .portal-shell--orders .portal-orders-mobile-search{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 54px!important;
    gap:6px!important;
    align-items:center!important;
    min-width:0!important;
    padding:0 4px 0 10px!important;
  }
  .portal-shell--orders .portal-orders-mobile-search input,
  .portal-shell--orders .portal-orders-mobile-search input[type="search"]{
    grid-column:1!important;
    width:100%!important;
    min-width:0!important;
    padding:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .portal-shell--orders .portal-orders-mobile-search__submit{
    grid-column:2!important;
    position:static!important;
    width:100%!important;
    height:30px!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
}

/* 6) PC 商品详情：立即购买按钮缩短，并紧跟在加入购物车右侧。 */
@media (min-width:761px){
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    flex-wrap:wrap!important;
  }
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action{flex:0 0 auto!important;display:inline-flex!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .btn{width:auto!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.btn.primary{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:92px!important;
    max-width:118px!important;
    margin-left:0!important;
    padding:0 16px!important;
    white-space:nowrap!important;
  }
}

/* ========================================================================== 
   v3.29.88: category tree + mobile detail/profile/order refinements
   ========================================================================== */
.portal-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.portal-tree-sidebar__list--tree{gap:6px!important;}
.portal-tree-sidebar__group{display:grid!important;gap:4px!important;margin:0!important;}
.portal-tree-sidebar__parent,
.portal-tree-sidebar__child{display:grid!important;grid-template-columns:14px minmax(0,1fr) auto 10px!important;align-items:center!important;gap:8px!important;text-decoration:none!important;color:#475467!important;border-radius:12px!important;min-height:38px!important;padding:0 10px!important;}
.portal-tree-sidebar__child{grid-template-columns:12px minmax(0,1fr) auto!important;margin-left:16px!important;min-height:34px!important;font-size:13px!important;background:#f8fafc!important;}
.portal-tree-sidebar__parent.active,
.portal-tree-sidebar__group.active>.portal-tree-sidebar__parent,
.portal-tree-sidebar__child.active{background:#eef5ff!important;color:#2563eb!important;font-weight:850!important;}
.portal-tree-sidebar__children{display:grid!important;gap:4px!important;}
.portal-tree-sidebar__child-dot{display:block!important;width:6px!important;height:6px!important;border-radius:999px!important;background:currentColor!important;opacity:.42!important;}
.portal-tree-sidebar__name{min-width:0!important;white-space:normal!important;word-break:break-word!important;line-height:1.25!important;}
.portal-tree-sidebar__parent em,
.portal-tree-sidebar__child em{font-style:normal!important;font-size:11px!important;color:inherit!important;opacity:.72!important;}

.portal-order-icon-button{position:relative!important;display:inline-grid!important;place-items:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:999px!important;line-height:1!important;}
.portal-order-icon-button svg{width:20px!important;height:20px!important;display:block!important;}
.portal-order-icon-button--favorite{background:#fff!important;color:#64748b!important;border-color:#dbe5f2!important;}
.portal-order-icon-button--favorite[data-favorited="1"]{background:#fff1f4!important;color:#e11d48!important;border-color:#fecdd3!important;}
.portal-order-icon-button--cart{background:#fff7f0!important;color:#ea580c!important;border-color:#fed7aa!important;}
.portal-order-icon-button.is-busy{opacity:.76!important;pointer-events:none!important;}

@media (min-width:761px){
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;flex-wrap:nowrap!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action{flex:0 0 auto!important;display:inline-flex!important;width:auto!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.btn.primary{flex:0 0 auto!important;width:auto!important;min-width:96px!important;max-width:128px!important;height:42px!important;padding:0 18px!important;margin-left:0!important;white-space:nowrap!important;}
}

@media (max-width:760px){
  /* 首页：类别筛选、默认排序、查询三项同一行，且类别在最左。 */
  .portal-shell--home .portal-filter-form--home{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr) 58px!important;gap:7px!important;align-items:center!important;width:100%!important;}
  .portal-shell--home .portal-filter-form--home input[name="q"]{display:none!important;}
  .portal-shell--home .portal-filter-form--home select[name="category"]{grid-column:1!important;grid-row:1!important;order:1!important;}
  .portal-shell--home .portal-filter-form--home select[name="sort"]{grid-column:2!important;grid-row:1!important;order:2!important;}
  .portal-shell--home .portal-filter-form--home button{grid-column:3!important;grid-row:1!important;order:3!important;height:36px!important;min-height:36px!important;border-radius:10px!important;padding:0!important;background:#3478f6!important;color:#fff!important;border:0!important;font-size:12px!important;font-weight:850!important;}
  .portal-shell--home .portal-filter-form--home select{height:36px!important;min-height:36px!important;border-radius:10px!important;background:#fff!important;border:1px solid #dfe6ef!important;color:#344054!important;font-size:12px!important;padding:0 8px!important;min-width:0!important;}

  /* 专区左侧：长子分类允许两行显示。 */
  .portal-shell--products-list .portal-mobile-zone-side a,
  .portal-mobile-zone-side a{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:break-all!important;line-height:1.22!important;text-align:center!important;justify-content:center!important;align-items:center!important;min-height:44px!important;padding:6px 6px!important;}
  .portal-shell--products-list .portal-mobile-zone-body{grid-template-columns:86px minmax(0,1fr)!important;}

  /* 商品详情：商品信息/下单参数保持独立卡片底板，详情卡在中间。 */
  .portal-detail-layout--product-detail .portal-detail-shell__media-card,
  .portal-detail-layout--product-detail .portal-detail-shell__order-card,
  .portal-detail-layout--product-detail .portal-card--detail-body{background:#fff!important;border:1px solid #edf1f6!important;border-radius:14px!important;box-shadow:0 6px 18px rgba(15,23,42,.05)!important;box-sizing:border-box!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__media-card{order:1!important;padding:12px!important;margin:0!important;}
  .portal-detail-layout--product-detail .portal-card--detail-body{order:2!important;padding:12px!important;margin:0!important;}
  .portal-detail-layout--product-detail .portal-detail-shell__order-card{order:3!important;padding:12px!important;margin:0!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase{display:grid!important;grid-template-columns:42px 42px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;width:100%!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action{display:inline-grid!important;width:42px!important;min-width:42px!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--favorite{grid-column:1!important;grid-row:1!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--cart{grid-column:2!important;grid-row:1!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-order-icon-button{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.btn.primary{grid-column:3!important;grid-row:1!important;width:100%!important;max-width:none!important;height:42px!important;min-height:42px!important;margin:0!important;border-radius:999px!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase.portal-order-actions--no-cart{grid-template-columns:42px minmax(0,1fr)!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase.portal-order-actions--no-cart>.btn.primary{grid-column:2!important;}

  /* 订单详情：进度数量文字和灰色底框严格居中。 */
  .portal-order-mobile-progress{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:center!important;justify-items:center!important;place-items:center!important;gap:0!important;min-height:42px!important;padding:0 6px!important;border-radius:12px!important;background:#f7f8fb!important;text-align:center!important;line-height:1!important;}
  .portal-order-mobile-progress span{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:42px!important;margin:0!important;padding:0!important;text-align:center!important;line-height:1.15!important;white-space:normal!important;}

  /* 我的-个人资料：移动端行点击能跳到可编辑表单，退出登录改为主题蓝且不带图标。 */
  .portal-mobile-profile-edit{display:grid!important;gap:10px!important;margin:18px 24px 0!important;padding:14px!important;background:#f8fbff!important;border:1px solid #dbeafe!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(15,23,42,.04)!important;}
  .portal-mobile-profile-edit__title{font-size:14px!important;font-weight:900!important;color:#1d4ed8!important;margin:2px 0!important;}
  .portal-mobile-profile-edit label{display:grid!important;gap:6px!important;}
  .portal-mobile-profile-edit label span{font-size:13px!important;color:#64748b!important;font-weight:760!important;}
  .portal-mobile-profile-edit input{height:40px!important;border:1px solid #dbe4ef!important;border-radius:10px!important;background:#fff!important;padding:0 10px!important;font-size:14px!important;box-sizing:border-box!important;width:100%!important;}
  .portal-mobile-profile-edit button{height:42px!important;border-radius:12px!important;margin-top:2px!important;}
  .portal-mobile-logout-pill{background:#3478f6!important;color:#fff!important;box-shadow:0 8px 18px rgba(52,120,246,.18)!important;}
  .portal-mobile-logout-pill svg,.portal-mobile-logout-pill::before,.portal-mobile-logout-pill::after{display:none!important;content:none!important;}
}

/* ========================================================================== 
   v3.29.89: category delete + PC home filter + product star/cart/buy + mobile cart/profile cleanup
   ========================================================================== */
@media (min-width:761px){
  .portal-shell--home .portal-filter-form--home{
    display:grid!important;
    grid-template-columns:240px 240px 108px!important;
    justify-content:end!important;
    gap:14px!important;
    align-items:center!important;
  }
  .portal-shell--home .portal-filter-form--home input[name="q"]{display:none!important;}
  .portal-shell--home .portal-filter-form--home select[name="category"]{grid-column:1!important;min-height:46px!important;}
  .portal-shell--home .portal-filter-form--home select[name="sort"]{grid-column:2!important;min-height:46px!important;}
  .portal-shell--home .portal-filter-form--home button{grid-column:3!important;min-height:46px!important;padding:0 18px!important;}

  .portal-detail-layout--product-detail .portal-order-actions--product-purchase{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    width:100%!important;
    flex-wrap:nowrap!important;
  }
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--favorite{margin-right:auto!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--cart{margin-left:18px!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.portal-buy-now-button,
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.btn.primary{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:126px!important;
    max-width:158px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 24px!important;
    white-space:nowrap!important;
  }
}

.portal-order-icon-button--favorite{
  background:#fff!important;
  color:#3f4754!important;
  border:1px solid #cbd5e1!important;
  box-shadow:none!important;
}
.portal-order-icon-button--favorite svg path{fill:none!important;stroke:currentColor!important;}
.portal-order-icon-button--favorite[data-favorited="1"]{
  background:#fff8df!important;
  color:#f5b301!important;
  border-color:#f1c94b!important;
}
.portal-order-icon-button--favorite[data-favorited="1"] svg path{fill:currentColor!important;stroke:currentColor!important;}

.portal-mobile-cart-titlebar{display:none;}
.portal-cart-row__quantity{display:inline-flex;align-items:center;gap:0;border:1px solid #e3e8ef;border-radius:999px;background:#f8fafc;overflow:hidden;min-height:34px;}
.portal-cart-row__quantity button{width:34px;height:34px;border:0;background:transparent;color:#334155;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer;}
.portal-cart-row__quantity input[type="number"]{width:58px!important;min-height:34px!important;height:34px!important;border:0!important;border-left:1px solid #edf1f5!important;border-right:1px solid #edf1f5!important;border-radius:0!important;background:#fff!important;text-align:center!important;padding:0!important;font-size:14px!important;}
.portal-cart-row__qty-submit{min-height:34px!important;height:34px!important;padding:0 12px!important;border-radius:999px!important;}

@media (max-width:760px){
  .portal-shell--cart .portal-main__inner{padding-left:10px!important;padding-right:10px!important;}
  .portal-shell--cart .member-recording-shell{display:block!important;margin:0!important;padding:0 0 calc(166px + env(safe-area-inset-bottom))!important;}
  .portal-shell--cart .member-recording-shell .member-panel,
  .portal-shell--cart .member-recording-shell>aside{display:none!important;}
  .portal-shell--cart .member-recording-main{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;}
  .portal-mobile-cart-titlebar{display:grid!important;grid-template-columns:40px minmax(0,1fr) 72px 48px!important;align-items:center!important;gap:4px!important;margin:0 -2px 10px!important;min-height:44px!important;background:#fff!important;border-bottom:1px solid #eef1f5!important;}
  .portal-mobile-cart-titlebar a{display:grid!important;place-items:center!important;color:#111827!important;text-decoration:none!important;font-size:34px!important;line-height:1!important;}
  .portal-mobile-cart-titlebar strong{text-align:center!important;font-size:18px!important;font-weight:900!important;color:#3478f6!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .portal-mobile-cart-titlebar span,.portal-mobile-cart-titlebar em{font-style:normal!important;text-align:center!important;font-size:15px!important;font-weight:760!important;color:#222832!important;}
  .portal-card--cart-tip{display:none!important;}
  .portal-cart-screen{display:block!important;margin:0!important;padding:0!important;}
  .portal-cart-screen__main,.portal-cart-screen__side{display:block!important;width:100%!important;min-width:0!important;}
  .portal-card--cart-list-shell{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;}
  .portal-card--cart-list-shell>.portal-card__title{display:none!important;}
  .portal-cart-list--simple{display:grid!important;gap:10px!important;margin:0!important;}
  .portal-cart-row{
    display:grid!important;
    grid-template-columns:26px 92px minmax(0,1fr)!important;
    gap:9px!important;
    align-items:center!important;
    padding:12px 9px!important;
    border:0!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 6px 16px rgba(15,23,42,.045)!important;
  }
  .portal-cart-row__check{display:grid!important;place-items:center!important;padding:0!important;align-self:center!important;}
  .portal-cart-row__check input{width:18px!important;height:18px!important;margin:0!important;accent-color:#3478f6!important;}
  .portal-cart-row__media{width:92px!important;height:92px!important;min-width:92px!important;border-radius:10px!important;background:#edf4ff!important;grid-column:2!important;}
  .portal-cart-row__placeholder{font-size:42px!important;}
  .portal-cart-row__body{display:grid!important;gap:7px!important;min-width:0!important;grid-column:3!important;}
  .portal-cart-row__head{display:block!important;min-width:0!important;}
  .portal-cart-row__summary{display:block!important;min-width:0!important;}
  .portal-cart-row__name{display:block!important;font-size:15px!important;line-height:1.28!important;font-weight:900!important;color:#111827!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-decoration:none!important;}
  .portal-cart-row__meta{display:none!important;}
  .portal-cart-row__snapshot{font-size:13px!important;color:#111827!important;line-height:1.45!important;margin-top:4px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .portal-cart-row__amount{font-size:16px!important;line-height:1!important;color:#e9802c!important;font-weight:900!important;margin-top:5px!important;}
  .portal-cart-row__foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important;}
  .portal-inline-form--cart-simple{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;margin-left:auto!important;min-width:0!important;}
  .portal-cart-row__quantity{min-height:30px!important;border:0!important;background:transparent!important;gap:4px!important;overflow:visible!important;}
  .portal-cart-row__quantity button{width:28px!important;height:28px!important;border-radius:999px!important;background:#fff!important;color:#111827!important;border:1px solid #e5e7eb!important;font-size:22px!important;}
  .portal-cart-row__quantity input[type="number"]{width:50px!important;height:28px!important;min-height:28px!important;border:0!important;border-radius:6px!important;background:#f6f7f9!important;color:#111827!important;font-size:13px!important;}
  .portal-cart-row__qty-submit{display:none!important;}
  .portal-cart-row__tools{display:none!important;}
  .portal-cart-summary{
    position:fixed!important;
    left:0!important;right:0!important;
    bottom:calc(58px + env(safe-area-inset-bottom))!important;
    z-index:1195!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) minmax(132px,38vw)!important;
    align-items:center!important;
    gap:8px!important;
    min-height:58px!important;
    padding:8px 14px!important;
    background:#fff!important;
    border:0!important;
    border-top:1px solid #edf1f5!important;
    border-radius:0!important;
    box-shadow:0 -8px 24px rgba(15,23,42,.08)!important;
  }
  .portal-cart-summary__selectall{font-size:14px!important;font-weight:760!important;color:#475569!important;gap:5px!important;margin:0!important;}
  .portal-cart-summary__selectall input{width:18px!important;height:18px!important;accent-color:#3478f6!important;}
  .portal-cart-summary__row{display:none!important;}
  .portal-cart-summary__row:nth-of-type(2){display:flex!important;justify-content:flex-end!important;gap:4px!important;font-size:13px!important;color:#1f2937!important;}
  .portal-cart-summary__row:nth-of-type(2) span{font-size:0!important;}
  .portal-cart-summary__row:nth-of-type(2) span::before{content:'合计';font-size:13px!important;color:#1f2937!important;font-weight:680!important;}
  .portal-cart-summary__row:nth-of-type(2) strong{font-size:17px!important;color:#e9802c!important;font-weight:900!important;}
  .portal-cart-summary__field,.portal-cart-summary__hint,.portal-cart-summary>a.btn,.portal-cart-summary>form{display:none!important;}
  .portal-cart-summary>.btn.primary{grid-column:3!important;width:100%!important;min-height:46px!important;border-radius:999px!important;background:#3478f6!important;color:#fff!important;font-size:17px!important;font-weight:900!important;padding:0 16px!important;}
  .portal-cart-summary>.btn.primary::after{content:'(' attr(data-cart-selected-count) ')';display:none;}

  .portal-mobile-profile-page .portal-mobile-profile-edit{display:none!important;}
  .portal-mobile-profile-page .portal-mobile-profile-edit:target{display:grid!important;}
  .portal-mobile-profile-edit__hint{font-size:12px!important;color:#64748b!important;line-height:1.5!important;margin:-2px 0 2px!important;}
  .portal-mobile-settings-card--compact{margin-bottom:10px!important;}
}

/* v3.29.89 hotfix: mobile cart checkout aside must remain visible; old member mobile CSS hides all asides. */
@media (max-width:760px){
  .portal-shell--cart .member-recording-shell .portal-cart-screen__side{display:block!important;width:100%!important;min-width:0!important;}
}

/* v3.29.89 hotfix: bottom checkout bar must not inherit desktop sticky top. */
@media (max-width:760px){
  .portal-shell--cart .portal-cart-summary{top:auto!important;height:auto!important;max-height:none!important;align-content:center!important;}
}

/* ========================================================================== 
   v3.29.90: mobile zone/bottom-icon/order-detail fixes + PC duplicate cleanup
   ========================================================================== */

/* Mobile bottom navigation uses the uploaded icon set, with unified size/weight. */
.portal-mobile-tabbar__icon{display:inline-grid!important;place-items:center!important;width:24px!important;height:24px!important;min-width:24px!important;margin:0 auto 2px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;line-height:1!important;overflow:visible!important;}
.portal-mobile-tabbar__icon img{display:block!important;width:21px!important;height:21px!important;object-fit:contain!important;opacity:.74!important;filter:grayscale(1) brightness(.52)!important;}
.portal-mobile-tabbar--market a.active .portal-mobile-tabbar__icon{background:transparent!important;border:0!important;box-shadow:none!important;}
.portal-mobile-tabbar--market a.active .portal-mobile-tabbar__icon img{opacity:1!important;filter:invert(43%) sepia(84%) saturate(2231%) hue-rotate(207deg) brightness(101%) contrast(98%)!important;}
.portal-mobile-tabbar--market a strong{line-height:1.05!important;}
@media(max-width:760px){
  .portal-mobile-tabbar--market{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  .portal-mobile-tabbar--market a{display:grid!important;justify-items:center!important;align-content:center!important;gap:2px!important;min-height:48px!important;padding:3px 0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  .portal-mobile-tabbar--market a.active{background:#eef5ff!important;border-radius:12px!important;color:#3478f6!important;}
  .portal-mobile-tabbar--market a.active span.portal-mobile-tabbar__icon{background:transparent!important;color:inherit!important;border-radius:0!important;}
}

/* 1) 手机专区：购物车改为图标，立即购买显示完整文字，并把顺序调为购物车在左、立即购买在右。 */
@media(max-width:760px){
  .portal-mobile-zone-item{grid-template-columns:minmax(0,1fr) 110px!important;gap:8px!important;align-items:center!important;}
  .portal-mobile-zone-item__actions{width:110px!important;min-width:110px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:6px!important;align-items:center!important;justify-items:stretch!important;}
  .portal-mobile-zone-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;box-sizing:border-box!important;margin:0!important;line-height:1!important;box-shadow:none!important;cursor:pointer!important;}
  .portal-mobile-zone-action--cart{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:999px!important;background:#eef5ff!important;border:1px solid #cfe0ff!important;color:#1d5fd7!important;}
  .portal-mobile-zone-action--cart svg{display:block!important;width:18px!important;height:18px!important;}
  .portal-mobile-zone-action--buy{width:100%!important;min-width:0!important;height:34px!important;min-height:34px!important;padding:0 8px!important;border-radius:999px!important;background:#3478f6!important;border:1px solid #3478f6!important;color:#fff!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important;}
}

/* 3) 手机商品详情页：历史订单卡片只在手机端隐藏，PC 端仍然保留。 */
@media(max-width:760px){
  .portal-detail-layout--product-detail .portal-card--history{display:none!important;}
}

/* 4) 手机订单详情：顶部订单状态使用和订单列表一致的状态色。 */
@media(max-width:760px){
  .portal-order-mobile-status-band strong.portal-order-status,
  .portal-order-mobile-hero strong.portal-order-status{display:inline-flex!important;align-items:center!important;justify-content:center!important;max-width:max-content!important;min-height:28px!important;padding:0 12px!important;border-radius:999px!important;font-size:14px!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;}
  .portal-order-mobile-status-band strong.order-status--pending,.portal-order-mobile-hero strong.order-status--pending{background:#fff7e8!important;border:1px solid #ffd591!important;color:#d46b08!important;}
  .portal-order-mobile-status-band strong.order-status--paid,.portal-order-mobile-hero strong.order-status--paid{background:#eef5ff!important;border:1px solid #cfe0ff!important;color:#1668dc!important;}
  .portal-order-mobile-status-band strong.order-status--processing,.portal-order-mobile-hero strong.order-status--processing{background:#eef5ff!important;border:1px solid #b8d7ff!important;color:#1554b7!important;}
  .portal-order-mobile-status-band strong.order-status--completed,.portal-order-mobile-hero strong.order-status--completed{background:#eef5ff!important;border:1px solid #cfe0ff!important;color:#1d5fd7!important;}
  .portal-order-mobile-status-band strong.order-status--refunding,.portal-order-mobile-hero strong.order-status--refunding{background:#f9f0ff!important;border:1px solid #d3adf7!important;color:#722ed1!important;}
  .portal-order-mobile-status-band strong.order-status--refunded,.portal-order-mobile-hero strong.order-status--refunded{background:#f6fffb!important;border:1px solid #87e8de!important;color:#08979c!important;}
  .portal-order-mobile-status-band strong.order-status--exception,.portal-order-mobile-hero strong.order-status--exception{background:#fff1f0!important;border:1px solid #ffccc7!important;color:#cf1322!important;}
  .portal-order-mobile-status-band strong.order-status--closed,.portal-order-mobile-hero strong.order-status--closed{background:#f5f5f5!important;border:1px solid #d9d9d9!important;color:#595959!important;}
}

/* 5) 手机订单页：筛选按钮使用上传的新图标，统一大小/线条视觉。 */
.portal-orders-mobile-filter-toggle img{display:block!important;width:21px!important;height:21px!important;object-fit:contain!important;opacity:.82!important;filter:grayscale(1) brightness(.48)!important;}
.portal-orders-mobile-filter-toggle:hover img,
.portal-orders-mobile-filter-toggle:focus-visible img{opacity:1!important;filter:invert(43%) sepia(84%) saturate(2231%) hue-rotate(207deg) brightness(101%) contrast(98%)!important;}
.portal-orders-mobile-filter-toggle svg{display:none!important;}

/* 6) 手机商品详情批量下单：批量页的“立即购买”不再 sticky 覆盖表格/说明文字。 */
@media(max-width:760px){
  .portal-detail-layout--product-detail .portal-batch-builder .portal-order-actions--recording.top-gap,
  .portal-detail-layout--product-detail .portal-batch-builder .portal-order-actions--recording{position:static!important;bottom:auto!important;z-index:auto!important;background:transparent!important;padding:10px 0 0!important;margin:10px 0 0!important;display:grid!important;grid-template-columns:1fr!important;}
  .portal-detail-layout--product-detail .portal-batch-builder .portal-order-actions--recording .btn.primary{width:100%!important;min-width:0!important;margin:0!important;height:44px!important;border-radius:999px!important;}
  .portal-detail-layout--product-detail .portal-batch-editor__board{padding-bottom:8px!important;overflow:visible!important;}
  .portal-detail-layout--product-detail .portal-batch-table-wrap{max-height:none!important;}
}

/* 7) PC 订单详情记录：去掉重复分割线，保留干净时间线。 */
@media(min-width:761px){
  .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log{border:0!important;border-top:0!important;border-bottom:0!important;box-shadow:none!important;}
  .portal-order-reference-timeline--clean .portal-order-reference-log::before{display:none!important;content:none!important;}
}

/* 8) 商品详情支付方式下方解释语已从模板移除；这里兜底隐藏旧缓存节点。 */
.portal-detail-shell__order-card .portal-order-form__meta + .portal-detail-hint,
.portal-detail-shell__order-card .portal-order-form__meta .portal-detail-hint{display:none!important;}

/* 9) PC 分类/专区页面：去掉“全部分类”旁重复搜索框，筛选控件左对齐。 */
@media(min-width:761px){
  .portal-zone-layout .portal-filter-form--products{display:grid!important;grid-template-columns:240px 240px 108px!important;justify-content:start!important;justify-items:stretch!important;gap:14px!important;max-width:none!important;}
  .portal-zone-layout .portal-filter-form--products input[name="q"]{display:none!important;}
  .portal-zone-layout .portal-filter-form--products select[name="category"]{grid-column:1!important;min-height:46px!important;}
  .portal-zone-layout .portal-filter-form--products select[name="sort"]{grid-column:2!important;min-height:46px!important;}
  .portal-zone-layout .portal-filter-form--products button{grid-column:3!important;min-height:46px!important;}
}

/* 10) PC 首页：去掉中部重复公告卡片和重复分类 chips，商品筛选三项左对齐。 */
@media(min-width:761px){
  .portal-shell--home .portal-inline-notice--balanced{display:none!important;}
  .portal-shell--home .portal-home-category-chips{display:none!important;}
  .portal-shell--home .portal-filter-form--home{display:grid!important;grid-template-columns:240px 240px 108px!important;justify-content:start!important;justify-items:stretch!important;gap:14px!important;}
  .portal-shell--home .portal-filter-form--home input[name="q"]{display:none!important;}
  .portal-shell--home .portal-filter-form--home select[name="category"]{grid-column:1!important;}
  .portal-shell--home .portal-filter-form--home select[name="sort"]{grid-column:2!important;}
  .portal-shell--home .portal-filter-form--home button{grid-column:3!important;}
}

/* Product detail favorite remains star: grey outline before favorite, yellow filled after favorite. */
.portal-order-icon-button--favorite{background:#fff!important;color:#374151!important;border:1px solid #cbd5e1!important;}
.portal-order-icon-button--favorite svg path{fill:none!important;stroke:currentColor!important;}
.portal-order-icon-button--favorite[data-favorited="1"]{background:#fff4bf!important;color:#f4b400!important;border-color:#efc84a!important;}
.portal-order-icon-button--favorite[data-favorited="1"] svg path{fill:currentColor!important;stroke:currentColor!important;}

/* PC 商品详情：加购和立即购买整体稍往右，立即购买略加宽但仍不是长条。 */
@media(min-width:761px){
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase{justify-content:flex-start!important;padding-left:42px!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--favorite{margin-right:auto!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--cart{margin-left:26px!important;}
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.portal-buy-now-button{min-width:142px!important;max-width:172px!important;padding:0 28px!important;}
}

.v32990-marker-mobile-zone-bottom-pc-clean{display:none;}
/* v3.29.90 specificity guard: old favorite-toggle rules must not turn the unselected star blue. */
.portal-favorite-toggle.portal-order-icon-button--favorite[data-favorited="0"]{background:#fff!important;color:#374151!important;border-color:#cbd5e1!important;}
.portal-favorite-toggle.portal-order-icon-button--favorite[data-favorited="0"] svg path{fill:none!important;stroke:currentColor!important;}
.portal-favorite-toggle.portal-order-icon-button--favorite[data-favorited="1"]{background:#fff4bf!important;color:#f4b400!important;border-color:#efc84a!important;}
.portal-favorite-toggle.portal-order-icon-button--favorite[data-favorited="1"] svg path{fill:currentColor!important;stroke:currentColor!important;}

/* ========================================================================== 
   v3.29.92: requested UI refinements after 3.29.91 SUP guard fix
   ========================================================================== */

/* 1) PC 商品详情：立即购买按钮加长、加大点击面积；仅 PC 生效，手机端保持前版。 */
@media (min-width:761px){
  .portal-shell:not(.portal-shell--cart) .portal-detail-layout--product-detail .portal-order-actions--product-purchase > .portal-buy-now-button,
  .portal-shell:not(.portal-shell--cart) .portal-detail-layout--product-detail .portal-order-actions--product-purchase > button.btn.primary.portal-buy-now-button{
    flex:0 0 auto!important;
    min-width:184px!important;
    max-width:224px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0 34px!important;
    border-radius:999px!important;
    font-size:15px!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }
}

/* 2) PC 订单详情：订单记录不再出现双线，干净保留文字与节点；状态之间不加额外水平分割。 */
@media (min-width:761px){
  .portal-shell--order-detail .portal-order-reference-timeline--clean,
  .portal-shell--order-detail .portal-order-reference-logs.portal-order-reference-timeline--clean{
    gap:0!important;
    background:#fff!important;
  }
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log{
    border:0!important;
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log::after{
    display:none!important;
    content:none!important;
    width:0!important;
    height:0!important;
    background:transparent!important;
  }
}

/* 3) 手机底部导航：统一四个上传图标的显示盒、视觉尺寸和线条感。 */
.portal-mobile-tabbar__icon{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  display:inline-grid!important;
  place-items:center!important;
  margin:0 auto 1px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.portal-mobile-tabbar__icon img{
  width:22px!important;
  height:22px!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  opacity:.78!important;
  filter:grayscale(1) brightness(.44)!important;
}
.portal-mobile-tabbar--market a.active .portal-mobile-tabbar__icon img{
  opacity:1!important;
  filter:invert(43%) sepia(84%) saturate(2231%) hue-rotate(207deg) brightness(101%) contrast(98%)!important;
}
.portal-mobile-tabbar--market a strong{font-size:12px!important;line-height:1.05!important;font-weight:850!important;}
@media(max-width:760px){
  .portal-mobile-tabbar--market a{min-height:50px!important;align-content:center!important;gap:1px!important;}
}

/* 4) 手机购物车：参考布局只保留布局，不保留“套餐/管理”；商品图占位恢复蓝色主题。 */
@media(max-width:760px){
  .portal-shell--cart .portal-mobile-cart-titlebar{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
    gap:4px!important;
  }
  .portal-shell--cart .portal-mobile-cart-titlebar::after{content:""!important;display:block!important;}
  .portal-shell--cart .portal-mobile-cart-titlebar span,
  .portal-shell--cart .portal-mobile-cart-titlebar em{display:none!important;}
  .portal-shell--cart .portal-cart-row__media,
  .portal-shell--cart .portal-cart-row__placeholder{
    background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 100%)!important;
    color:#2f75ff!important;
    border:1px solid #dbe7ff!important;
  }
  .portal-shell--cart .portal-cart-row__placeholder{display:grid!important;place-items:center!important;font-weight:950!important;}
}

/* 5) PC 商品详情历史订单：订单列表行背景改为近白色，避免灰底过重。 */
@media(min-width:761px){
  .portal-shell--recording .portal-card--history .portal-history-table,
  .portal-shell--member .portal-card--history .portal-history-table{background:#fff!important;}
  .portal-shell--recording .portal-card--history .portal-history-table__head,
  .portal-shell--member .portal-card--history .portal-history-table__head{background:#f8fafc!important;border-color:#edf1f6!important;}
  .portal-shell--recording .portal-card--history .portal-history-table__row,
  .portal-shell--member .portal-card--history .portal-history-table__row,
  .portal-shell--recording .portal-card--history .portal-history-table__row--new,
  .portal-shell--member .portal-card--history .portal-history-table__row--new{
    background:#fbfcfe!important;
    border-color:#edf1f6!important;
  }
}

/* 6) 全站订单状态颜色统一：订单列表、订单详情、历史订单同一状态同一颜色，不同状态不同色。 */
.portal-order-status,
.portal-history-status,
.status-pill[class*="order-status--"],
.quick-chip[class*="order-status--"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:26px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  border:1px solid transparent!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.portal-order-status.order-status--pending,
.portal-history-status.order-status--pending,
.status-pill.order-status--pending,
.quick-chip.order-status--pending,
.order-status--pending{
  background:#fff7e8!important;
  border-color:#ffd591!important;
  color:#d46b08!important;
}
.portal-order-status.order-status--paid,
.portal-history-status.order-status--paid,
.status-pill.order-status--paid,
.quick-chip.order-status--paid,
.order-status--paid,
.portal-order-status.order-status--processing,
.portal-history-status.order-status--processing,
.status-pill.order-status--processing,
.quick-chip.order-status--processing,
.order-status--processing{
  background:#eef5ff!important;
  border-color:#b8d7ff!important;
  color:#1554b7!important;
}
.portal-order-status.order-status--completed,
.portal-history-status.order-status--completed,
.status-pill.order-status--completed,
.quick-chip.order-status--completed,
.order-status--completed{
  background:#ecfdf5!important;
  border-color:#bbf7d0!important;
  color:#047857!important;
}
.portal-order-status.order-status--refunding,
.portal-history-status.order-status--refunding,
.status-pill.order-status--refunding,
.quick-chip.order-status--refunding,
.order-status--refunding{
  background:#f9f0ff!important;
  border-color:#d3adf7!important;
  color:#722ed1!important;
}
.portal-order-status.order-status--refunded,
.portal-history-status.order-status--refunded,
.status-pill.order-status--refunded,
.quick-chip.order-status--refunded,
.order-status--refunded{
  background:#f1f5f9!important;
  border-color:#cbd5e1!important;
  color:#475569!important;
}
.portal-order-status.order-status--exception,
.portal-history-status.order-status--exception,
.status-pill.order-status--exception,
.quick-chip.order-status--exception,
.order-status--exception{
  background:#fff1f0!important;
  border-color:#ffccc7!important;
  color:#cf1322!important;
}
.portal-order-status.order-status--closed,
.portal-history-status.order-status--closed,
.status-pill.order-status--closed,
.quick-chip.order-status--closed,
.order-status--closed,
.portal-order-status.order-status--default,
.portal-history-status.order-status--default,
.status-pill.order-status--default,
.quick-chip.order-status--default,
.order-status--default{
  background:#f5f5f5!important;
  border-color:#d9d9d9!important;
  color:#595959!important;
}

/* 7) PC 左侧分类树：主分类下方展示子分类，因此主分类箭头统一向下。 */
.portal-tree-sidebar__parent i{
  transform:none!important;
  font-style:normal!important;
  font-size:14px!important;
  color:#9aa3af!important;
  text-align:center!important;
}
.portal-tree-sidebar__group.active > .portal-tree-sidebar__parent i{color:#2563eb!important;}

.v32992-marker-ui-refinements{display:none!important;}


/* === v3.29.92: current round fixes from text requirements === */
/* 1) PC 商品详情：立即购买加长，只作用于 PC，手机端保持 v3.29.90 的三列布局。 */
@media (min-width:761px){
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase{
    justify-content:flex-start!important;
    padding-left:42px!important;
  }
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.portal-buy-now-button,
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.btn.primary{
    min-width:186px!important;
    max-width:230px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0 36px!important;
    border-radius:999px!important;
    font-size:15px!important;
    white-space:nowrap!important;
  }
}

/* 2) PC 订单详情：订单记录彻底去掉重复横线；保留时间点，不再出现每条记录两根分割线。 */
@media (min-width:761px){
  .portal-shell--recording .portal-order-reference-timeline--clean,
  .portal-shell--member .portal-order-reference-timeline--clean{
    padding:8px 18px 10px!important;
    gap:0!important;
    background:#fff!important;
    border:0!important;
    box-shadow:none!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log{
    border:0!important;
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean div,
  .portal-shell--member .portal-order-reference-timeline--clean div,
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log__body,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log__body,
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log__head,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log__head{
    border:0!important;
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log::before{
    display:none!important;
    content:none!important;
  }
}

/* 3) 手机底部标签栏：统一四个上传图标的显示盒、视觉大小和粗细感。 */
@media (max-width:760px){
  .portal-mobile-tabbar--market{align-items:center!important;}
  .portal-mobile-tabbar--market a{display:grid!important;grid-template-rows:25px 15px!important;place-items:center!important;row-gap:1px!important;}
  .portal-mobile-tabbar__icon{
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    margin:0 auto!important;
    display:grid!important;
    place-items:center!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .portal-mobile-tabbar__icon img{
    display:block!important;
    width:22px!important;
    height:22px!important;
    object-fit:contain!important;
    opacity:.82!important;
    filter:grayscale(1) brightness(.44)!important;
  }
  .portal-mobile-tabbar--market a:nth-child(1) .portal-mobile-tabbar__icon img{transform:scale(1.04)!important;}
  .portal-mobile-tabbar--market a:nth-child(2) .portal-mobile-tabbar__icon img{transform:scale(.92)!important;}
  .portal-mobile-tabbar--market a:nth-child(3) .portal-mobile-tabbar__icon img{transform:scale(.94)!important;}
  .portal-mobile-tabbar--market a:nth-child(4) .portal-mobile-tabbar__icon img{transform:scale(1.02)!important;}
  .portal-mobile-tabbar--market a.active .portal-mobile-tabbar__icon img{
    opacity:1!important;
    filter:invert(43%) sepia(84%) saturate(2231%) hue-rotate(207deg) brightness(101%) contrast(98%)!important;
  }
  .portal-mobile-tabbar--market strong{font-size:12px!important;line-height:15px!important;font-weight:760!important;}
}

/* 4) 手机购物车：商品占位图恢复蓝色主题；只保留购物车标题，不显示参考图里的“套餐/管理”。 */
@media (max-width:760px){
  .portal-mobile-cart-titlebar{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
    padding:0 2px!important;
  }
  .portal-mobile-cart-titlebar span,
  .portal-mobile-cart-titlebar em,
  .portal-mobile-cart-titlebar .portal-cart-titlebar-extra{display:none!important;}
  .portal-mobile-cart-titlebar::after{content:"";display:block;width:40px;height:1px;}
  .portal-cart-row__media{
    background:linear-gradient(135deg,#eef5ff,#f8fbff)!important;
    border:1px solid #dbe8ff!important;
    color:#2f75ff!important;
  }
  .portal-cart-row__placeholder{
    color:#2f75ff!important;
    background:transparent!important;
  }
}

/* 5) PC 商品详情历史订单：列表区域改为近白色，避免整块灰蓝底显脏。 */
@media (min-width:761px){
  .portal-card--history .portal-history-table,
  .portal-card--history .portal-history-table--progress{background:#fff!important;border-color:#edf1f6!important;}
  .portal-card--history .portal-history-table__head{background:#fafbfd!important;color:#475569!important;border-bottom:1px solid #edf1f6!important;}
  .portal-card--history .portal-history-table__row,
  .portal-card--history .portal-history-table__row:nth-child(even),
  .portal-card--history .portal-history-table__row:nth-child(odd){background:#fff!important;border-top:1px solid #edf1f6!important;}
}

/* 6) 全站订单状态：同一个状态在订单列表、订单详情、历史订单使用同一组颜色；不同状态保持区分。 */
.portal-order-status,
.portal-history-status,
.status-pill,
.quick-chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:0 10px!important;border-radius:999px!important;border:1px solid transparent!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;}
.order-status--pending,.portal-order-status.order-status--pending,.portal-history-status.order-status--pending,.status-pill.order-status--pending,.quick-chip.order-status--pending{background:#fff7e8!important;border-color:#ffd591!important;color:#b45309!important;}
.order-status--paid,.portal-order-status.order-status--paid,.portal-history-status.order-status--paid,.status-pill.order-status--paid,.quick-chip.order-status--paid{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;}
.order-status--processing,.portal-order-status.order-status--processing,.portal-history-status.order-status--processing,.status-pill.order-status--processing,.quick-chip.order-status--processing{background:#eef5ff!important;border-color:#b8d7ff!important;color:#1554b7!important;}
.order-status--completed,.portal-order-status.order-status--completed,.portal-history-status.order-status--completed,.status-pill.order-status--completed,.quick-chip.order-status--completed{background:#ecfdf3!important;border-color:#bbf7d0!important;color:#15803d!important;}
.order-status--refunding,.portal-order-status.order-status--refunding,.portal-history-status.order-status--refunding,.status-pill.order-status--refunding,.quick-chip.order-status--refunding{background:#f9f0ff!important;border-color:#d8b4fe!important;color:#7e22ce!important;}
.order-status--refunded,.portal-order-status.order-status--refunded,.portal-history-status.order-status--refunded,.status-pill.order-status--refunded,.quick-chip.order-status--refunded{background:#f8fafc!important;border-color:#cbd5e1!important;color:#475569!important;}
.order-status--exception,.portal-order-status.order-status--exception,.portal-history-status.order-status--exception,.status-pill.order-status--exception,.quick-chip.order-status--exception{background:#fff1f0!important;border-color:#ffccc7!important;color:#cf1322!important;}
.order-status--closed,.portal-order-status.order-status--closed,.portal-history-status.order-status--closed,.status-pill.order-status--closed,.quick-chip.order-status--closed{background:#f5f5f5!important;border-color:#d9d9d9!important;color:#595959!important;}
.order-status--default,.portal-order-status.order-status--default,.portal-history-status.order-status--default,.status-pill.order-status--default,.quick-chip.order-status--default{background:#f8fafc!important;border-color:#e2e8f0!important;color:#475569!important;}

/* 7) 左侧导航：主分类有子项时，箭头保持向下，不再使用右箭头视觉。 */
.app-shell .sidebar-nav .nav-group__arrow,
.sidebar-nav .nav-group__arrow{
  transform:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  font-size:18px!important;
  line-height:1!important;
  color:#667085!important;
}
.app-shell .sidebar-nav .nav-group[open] .nav-group__arrow,
.sidebar-nav .nav-group[open] .nav-group__arrow{transform:none!important;color:#1677ff!important;}

.v32992-marker-current-round-ui-fixes{display:none;}

/* ========================================================================== 
   v3.29.92: PC detail/order polish, mobile nav/cart cleanup, unified status colors
   ========================================================================== */

/* 1) PC 商品详情：立即购买按钮加长并增大点击面积；手机端不受影响。 */
@media (min-width:761px){
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase > .portal-buy-now-button,
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase > .btn.primary.portal-buy-now-button{
    min-width:184px!important;
    max-width:220px!important;
    height:50px!important;
    min-height:50px!important;
    padding:0 38px!important;
    border-radius:14px!important;
    font-size:16px!important;
    font-weight:900!important;
  }
}

/* 2) PC 订单详情：彻底去掉订单记录重复分割线；保留简洁时间点，不再出现两条线。 */
@media (min-width:761px){
  .portal-shell--recording .portal-order-reference-timeline--clean,
  .portal-shell--member .portal-order-reference-timeline--clean{
    gap:0!important;
    background:#fff!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log{
    border:0!important;
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log::after,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log::after{
    display:none!important;
    content:none!important;
  }
}

/* 3) 手机底部导航：统一图标视觉大小、颜色和粗细。 */
.portal-mobile-tabbar--market .portal-mobile-tabbar__icon{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  display:grid!important;
  place-items:center!important;
  margin:0 auto 2px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.portal-mobile-tabbar--market .portal-mobile-tabbar__icon img{
  display:block!important;
  width:22px!important;
  height:22px!important;
  object-fit:contain!important;
  filter:brightness(0) saturate(100%)!important;
  opacity:.52!important;
}
.portal-mobile-tabbar--market .portal-mobile-tabbar__icon--home img{width:23px!important;height:23px!important;}
.portal-mobile-tabbar--market .portal-mobile-tabbar__icon--zone img{width:20.5px!important;height:20.5px!important;opacity:.50!important;}
.portal-mobile-tabbar--market .portal-mobile-tabbar__icon--orders img{width:21px!important;height:21px!important;}
.portal-mobile-tabbar--market .portal-mobile-tabbar__icon--me img{width:21px!important;height:21px!important;opacity:.50!important;}
.portal-mobile-tabbar--market a.active .portal-mobile-tabbar__icon img{
  opacity:1!important;
  filter:invert(43%) sepia(84%) saturate(2231%) hue-rotate(207deg) brightness(101%) contrast(98%)!important;
}

/* 4) 手机购物车：去掉参考图里复制来的“套餐/管理”，商品占位图恢复蓝色主题。 */
@media (max-width:760px){
  .portal-mobile-cart-titlebar{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
  }
  .portal-mobile-cart-titlebar__spacer{display:block!important;min-width:40px!important;height:1px!important;}
  .portal-mobile-cart-titlebar em{display:none!important;}
  .portal-cart-row__media{
    background:#eef5ff!important;
    border:1px solid #d8e7ff!important;
  }
  .portal-cart-row__placeholder{
    color:#2f75ff!important;
    background:linear-gradient(135deg,#eef5ff,#f8fbff)!important;
  }
  .portal-cart-row__amount,
  .portal-cart-summary__row:nth-of-type(2) strong{color:#2f75ff!important;}
}

/* 5) PC 商品详情历史订单：列表区域用近白底，不再显得灰。 */
@media (min-width:761px){
  .portal-shell--recording .portal-detail-layout--product-detail .portal-card--history .portal-history-table__row,
  .portal-shell--member .portal-detail-layout--product-detail .portal-card--history .portal-history-table__row,
  .portal-detail-layout--product-detail .portal-card--history .portal-history-table__row{
    background:#fff!important;
    border-color:#eef2f7!important;
  }
  .portal-shell--recording .portal-detail-layout--product-detail .portal-card--history .portal-history-table__head,
  .portal-shell--member .portal-detail-layout--product-detail .portal-card--history .portal-history-table__head,
  .portal-detail-layout--product-detail .portal-card--history .portal-history-table__head{
    background:#f8fafc!important;
  }
}

/* 6) 所有页面统一订单状态颜色：同一状态在列表、详情、历史订单中保持一致；不同状态使用不同颜色。 */
.order-status--pending,.portal-order-status.order-status--pending,.portal-history-status.order-status--pending,.status-pill.order-status--pending,.quick-chip.order-status--pending,
.portal-shell--recording .portal-order-status.order-status--pending,.portal-shell--member .portal-order-status.order-status--pending,
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--pending,.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--pending,
.portal-shell--recording .portal-history-status.order-status--pending,.portal-shell--member .portal-history-status.order-status--pending{
  background:#fff7e8!important;border:1px solid #ffd591!important;color:#d46b08!important;
}
.order-status--paid,.portal-order-status.order-status--paid,.portal-history-status.order-status--paid,.status-pill.order-status--paid,.quick-chip.order-status--paid,
.portal-shell--recording .portal-order-status.order-status--paid,.portal-shell--member .portal-order-status.order-status--paid,
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--paid,.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--paid,
.portal-shell--recording .portal-history-status.order-status--paid,.portal-shell--member .portal-history-status.order-status--paid{
  background:#eef5ff!important;border:1px solid #cfe0ff!important;color:#1668dc!important;
}
.order-status--processing,.portal-order-status.order-status--processing,.portal-history-status.order-status--processing,.status-pill.order-status--processing,.quick-chip.order-status--processing,
.portal-shell--recording .portal-order-status.order-status--processing,.portal-shell--member .portal-order-status.order-status--processing,
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--processing,.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--processing,
.portal-shell--recording .portal-history-status.order-status--processing,.portal-shell--member .portal-history-status.order-status--processing{
  background:#eef5ff!important;border:1px solid #b8d7ff!important;color:#1554b7!important;
}
.order-status--completed,.portal-order-status.order-status--completed,.portal-history-status.order-status--completed,.status-pill.order-status--completed,.quick-chip.order-status--completed,
.portal-shell--recording .portal-order-status.order-status--completed,.portal-shell--member .portal-order-status.order-status--completed,
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--completed,.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--completed,
.portal-shell--recording .portal-history-status.order-status--completed,.portal-shell--member .portal-history-status.order-status--completed{
  background:#ecfdf3!important;border:1px solid #abefc6!important;color:#067647!important;
}
.order-status--refunding,.portal-order-status.order-status--refunding,.portal-history-status.order-status--refunding,.status-pill.order-status--refunding,.quick-chip.order-status--refunding,
.portal-shell--recording .portal-order-status.order-status--refunding,.portal-shell--member .portal-order-status.order-status--refunding,
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--refunding,.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--refunding,
.portal-shell--recording .portal-history-status.order-status--refunding,.portal-shell--member .portal-history-status.order-status--refunding{
  background:#f9f0ff!important;border:1px solid #d3adf7!important;color:#722ed1!important;
}
.order-status--refunded,.portal-order-status.order-status--refunded,.portal-history-status.order-status--refunded,.status-pill.order-status--refunded,.quick-chip.order-status--refunded,
.portal-shell--recording .portal-order-status.order-status--refunded,.portal-shell--member .portal-order-status.order-status--refunded,
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--refunded,.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--refunded,
.portal-shell--recording .portal-history-status.order-status--refunded,.portal-shell--member .portal-history-status.order-status--refunded{
  background:#f0fdfa!important;border:1px solid #99f6e4!important;color:#0f766e!important;
}
.order-status--exception,.portal-order-status.order-status--exception,.portal-history-status.order-status--exception,.status-pill.order-status--exception,.quick-chip.order-status--exception,
.portal-shell--recording .portal-order-status.order-status--exception,.portal-shell--member .portal-order-status.order-status--exception,
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--exception,.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--exception,
.portal-shell--recording .portal-history-status.order-status--exception,.portal-shell--member .portal-history-status.order-status--exception{
  background:#fff1f0!important;border:1px solid #ffccc7!important;color:#cf1322!important;
}
.order-status--closed,.portal-order-status.order-status--closed,.portal-history-status.order-status--closed,.status-pill.order-status--closed,.quick-chip.order-status--closed,
.portal-shell--recording .portal-order-status.order-status--closed,.portal-shell--member .portal-order-status.order-status--closed,
.portal-shell--recording .portal-order-sheet__meta strong.portal-order-status.order-status--closed,.portal-shell--member .portal-order-sheet__meta strong.portal-order-status.order-status--closed,
.portal-shell--recording .portal-history-status.order-status--closed,.portal-shell--member .portal-history-status.order-status--closed{
  background:#f5f5f5!important;border:1px solid #d9d9d9!important;color:#595959!important;
}
.portal-order-status,.portal-history-status,.status-pill,.quick-chip{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;min-height:28px!important;padding:0 12px!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;
}

/* 7) 左侧导航主项箭头改为向下；子项在主项下方时不再使用向右箭头视觉。 */
.app-shell .sidebar-nav .nav-group__arrow,
.app-shell .sidebar-nav .nav-group[open] .nav-group__arrow,
.nav-group__arrow,
.nav-group[open] .nav-group__arrow{
  transform:none!important;
  rotate:0deg!important;
}
.portal-tree-sidebar__parent i{font-style:normal!important;transform:none!important;}
.v32992-marker-pc-mobile-polish{display:none;}

/* ========================================================================== 
   v3.29.92: PC detail/action sizing, order log cleanup, unified status colors,
             mobile tabbar/cart polish, product-history row background, category arrows
   ========================================================================== */

/* 1) PC 商品详情：立即购买按钮只在 PC 端加长，手机端保持原布局。 */
@media (min-width:761px){
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.portal-buy-now-button,
  .portal-detail-layout--product-detail .portal-order-actions--recording.portal-order-actions--inline-feedback>.portal-buy-now-button{
    min-width:190px!important;
    max-width:230px!important;
    min-height:46px!important;
    height:46px!important;
    padding:0 34px!important;
    border-radius:13px!important;
    font-size:15px!important;
    font-weight:900!important;
    line-height:1!important;
  }
}

/* 2) PC 订单详情-订单记录：彻底去掉旧规则叠出的双分割线，保留干净时间线结构。 */
@media (min-width:761px){
  .portal-order-reference-timeline--clean,
  .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-order-reference-timeline--clean .portal-order-reference-log__body,
  .portal-order-reference-timeline--clean .portal-order-reference-log__head,
  .portal-order-reference-timeline--clean .portal-order-reference-log small,
  .portal-order-reference-logs.portal-order-reference-timeline--clean,
  .portal-order-reference-logs.portal-order-reference-timeline--clean div{
    border-top:0!important;
    border-bottom:0!important;
    border-left:0!important;
    border-right:0!important;
    box-shadow:none!important;
  }
  .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-order-reference-timeline--clean .portal-order-reference-log::after{
    display:none!important;
    content:none!important;
  }
  .portal-order-reference-timeline--clean .portal-order-reference-log{
    padding:12px 0!important;
    margin:0!important;
    background:transparent!important;
  }
}

/* 3) 手机底部标签栏：统一 4 个上传图标的视觉大小、颜色和粗细感。 */
@media (max-width:760px){
  .portal-mobile-tabbar--market{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:center!important;
    min-height:58px!important;
  }
  .portal-mobile-tabbar--market a,
  .portal-mobile-tabbar--market a:not(.active):not(.is-active){
    display:grid!important;
    justify-items:center!important;
    align-content:center!important;
    gap:2px!important;
    min-height:48px!important;
    padding:3px 0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:#303743!important;
  }
  .portal-mobile-tabbar__icon,
  .portal-mobile-tabbar--market a span.portal-mobile-tabbar__icon,
  .portal-mobile-tabbar--market a:not(.active):not(.is-active) span.portal-mobile-tabbar__icon,
  .portal-mobile-tabbar--market a.active span.portal-mobile-tabbar__icon,
  .portal-mobile-tabbar--market a.is-active span.portal-mobile-tabbar__icon{
    display:inline-grid!important;
    place-items:center!important;
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    margin:0 auto 1px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    color:inherit!important;
    line-height:1!important;
    overflow:visible!important;
  }
  .portal-mobile-tabbar__icon img{
    display:block!important;
    object-fit:contain!important;
    object-position:center!important;
    opacity:.86!important;
    filter:brightness(0) saturate(0) opacity(.82)!important;
    transform:none!important;
  }
  .portal-mobile-tabbar__icon img[src$="mobile-nav-home.png"]{width:29px!important;height:29px!important;}
  .portal-mobile-tabbar__icon img[src$="mobile-nav-zone.png"]{width:22px!important;height:22px!important;}
  .portal-mobile-tabbar__icon img[src$="mobile-nav-orders.png"]{width:25px!important;height:25px!important;}
  .portal-mobile-tabbar__icon img[src$="mobile-nav-me.png"]{width:25px!important;height:25px!important;}
  .portal-mobile-tabbar--market a strong{
    font-size:12px!important;
    line-height:1.05!important;
    font-weight:800!important;
    color:inherit!important;
  }
  .portal-mobile-tabbar--market a.active,
  .portal-mobile-tabbar--market a.is-active{
    background:#eef5ff!important;
    border-radius:12px!important;
    color:#3478f6!important;
  }
  .portal-mobile-tabbar--market a.active span.portal-mobile-tabbar__icon img,
  .portal-mobile-tabbar--market a.is-active span.portal-mobile-tabbar__icon img{
    opacity:1!important;
    filter:invert(43%) sepia(84%) saturate(2231%) hue-rotate(207deg) brightness(101%) contrast(98%)!important;
  }
}

/* 4) 手机购物车：去掉参考图里不属于本系统的“套餐/管理”，商品主题恢复蓝色。 */
@media (max-width:760px){
  .portal-mobile-cart-titlebar{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
  }
  .portal-mobile-cart-titlebar em,
  .portal-mobile-cart-titlebar span:not(.portal-mobile-cart-titlebar__spacer){
    display:none!important;
  }
  .portal-mobile-cart-titlebar__spacer{display:block!important;}
  .portal-cart-row__media,
  .portal-cart-row__placeholder{
    background:#eef5ff!important;
    border:1px solid #d8e7ff!important;
    color:#3478f6!important;
  }
  .portal-cart-row__media img{background:#eef5ff!important;}
  .portal-cart-row__placeholder{
    display:grid!important;
    place-items:center!important;
    font-weight:950!important;
    text-shadow:none!important;
  }
  .portal-cart-row__name{
    color:#1d5fd7!important;
  }
  .portal-cart-row__check input,
  .portal-cart-summary__selectall input{
    accent-color:#3478f6!important;
  }
}

/* 5) PC 商品详情-历史订单：订单列表行背景改为近白色，避免红框区域显得发灰发蓝。 */
@media (min-width:761px){
  .portal-card--history .portal-history-table__head{
    background:#f8fafc!important;
    color:#475569!important;
  }
  .portal-card--history .portal-history-table__row,
  .portal-card--history .portal-history-table__row:nth-child(even),
  .portal-detail-layout--product-detail .portal-card--history .portal-history-table__row{
    background:#fbfcff!important;
    border-top-color:#edf2f7!important;
  }
  .portal-card--history .portal-history-table__row:hover{
    background:#ffffff!important;
  }
}

/* 6) 全站订单状态颜色统一：同一个状态在订单列表、详情页、历史订单中使用同一套颜色。 */
.portal-order-status,
.portal-history-status,
.status-pill[class*="order-status--"],
.quick-chip[class*="order-status--"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  min-height:24px!important;
  padding:4px 10px!important;
  border-radius:999px!important;
  border:1px solid transparent!important;
  font-weight:900!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
.portal-order-status.order-status--pending,.portal-history-status.order-status--pending,.status-pill.order-status--pending,.quick-chip.order-status--pending{background:#fff7e8!important;border-color:#ffd591!important;color:#d46b08!important;}
.portal-order-status.order-status--paid,.portal-history-status.order-status--paid,.status-pill.order-status--paid,.quick-chip.order-status--paid{background:#eef5ff!important;border-color:#cfe0ff!important;color:#1668dc!important;}
.portal-order-status.order-status--processing,.portal-history-status.order-status--processing,.status-pill.order-status--processing,.quick-chip.order-status--processing{background:#eef5ff!important;border-color:#b8d7ff!important;color:#1554b7!important;}
.portal-order-status.order-status--completed,.portal-history-status.order-status--completed,.status-pill.order-status--completed,.quick-chip.order-status--completed{background:#ecfdf3!important;border-color:#b7efcf!important;color:#12824c!important;}
.portal-order-status.order-status--refunding,.portal-history-status.order-status--refunding,.status-pill.order-status--refunding,.quick-chip.order-status--refunding{background:#f9f0ff!important;border-color:#d3adf7!important;color:#722ed1!important;}
.portal-order-status.order-status--refunded,.portal-history-status.order-status--refunded,.status-pill.order-status--refunded,.quick-chip.order-status--refunded{background:#f0fdfa!important;border-color:#99f6e4!important;color:#0f766e!important;}
.portal-order-status.order-status--exception,.portal-history-status.order-status--exception,.status-pill.order-status--exception,.quick-chip.order-status--exception{background:#fff1f0!important;border-color:#ffccc7!important;color:#cf1322!important;}
.portal-order-status.order-status--closed,.portal-history-status.order-status--closed,.status-pill.order-status--closed,.quick-chip.order-status--closed{background:#f5f5f5!important;border-color:#d9d9d9!important;color:#595959!important;}
.portal-order-status.order-status--default,.portal-history-status.order-status--default,.status-pill.order-status--default,.quick-chip.order-status--default{background:#f8fafc!important;border-color:#e2e8f0!important;color:#475569!important;}

/* 7) 左侧分类树：主分类有子分类展开在下方时，箭头展示为向下。 */
.portal-tree-sidebar__parent i{
  display:inline-grid!important;
  place-items:center!important;
  width:12px!important;
  height:18px!important;
  font-size:0!important;
  color:#94a3b8!important;
  font-style:normal!important;
}
.portal-tree-sidebar__parent i::before{
  content:"⌄"!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:900!important;
}
.portal-tree-sidebar__group.active>.portal-tree-sidebar__parent i{color:#2563eb!important;}

.v32992-marker-ui-regression-fixes{display:none;}

/* ========================================================================== 
   v3.29.92: precise UI corrections requested on 2026-05-11
   - PC product-detail buy button larger only on desktop
   - PC order-detail timeline removes duplicate separators
   - Mobile nav icon sizes normalized and recolored uniformly
   - Mobile cart removes copied labels and restores blue product placeholder
   - PC product history table is near-white
   - Order-detail status badges reuse list colors everywhere
   - Category parent arrow points down because children are shown below
   ========================================================================== */

@media (min-width:761px){
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase{
    justify-content:flex-start!important;
    padding-left:48px!important;
    gap:12px!important;
  }
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.portal-buy-now-button{
    min-width:184px!important;
    max-width:230px!important;
    height:48px!important;
    min-height:48px!important;
    padding:0 34px!important;
    border-radius:12px!important;
    font-size:16px!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--cart .portal-order-icon-button,
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase .portal-inline-action--favorite .portal-order-icon-button{
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    min-height:46px!important;
  }
}

@media (min-width:761px){
  .portal-shell--recording .portal-order-reference-timeline--clean,
  .portal-shell--member .portal-order-reference-timeline--clean,
  .portal-order-reference-timeline--clean{
    display:grid!important;
    gap:0!important;
    padding:6px 18px 10px!important;
    background:#fff!important;
    border:0!important;
    box-shadow:none!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-order-reference-logs>div.portal-order-reference-log{
    position:relative!important;
    display:grid!important;
    grid-template-columns:18px minmax(0,1fr)!important;
    gap:9px!important;
    align-items:flex-start!important;
    min-height:0!important;
    margin:0!important;
    padding:12px 0!important;
    border:0!important;
    border-top:0!important;
    border-bottom:0!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
  .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log{
    border-top:1px solid #eef2f7!important;
    border-bottom:0!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-order-reference-timeline--clean .portal-order-reference-log::after{
    display:none!important;
    content:none!important;
  }
}

@media (max-width:760px){
  .portal-mobile-tabbar__icon{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    margin:0 auto 2px!important;
    overflow:visible!important;
  }
  .portal-mobile-tabbar__icon img{
    display:block!important;
    width:23px!important;
    height:23px!important;
    object-fit:contain!important;
    opacity:.72!important;
    filter:brightness(0) saturate(100%) invert(39%) sepia(11%) saturate(726%) hue-rotate(177deg) brightness(93%) contrast(86%)!important;
    transform:none!important;
  }
  .portal-mobile-tabbar--market a.active .portal-mobile-tabbar__icon img{
    opacity:1!important;
    filter:invert(43%) sepia(84%) saturate(2231%) hue-rotate(207deg) brightness(101%) contrast(98%)!important;
  }
  .portal-mobile-tabbar--market a strong{
    font-size:12px!important;
    line-height:1.05!important;
    font-weight:800!important;
  }
}

@media (max-width:760px){
  .portal-mobile-cart-titlebar{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
  }
  .portal-mobile-cart-titlebar span,
  .portal-mobile-cart-titlebar em{
    display:none!important;
  }
  .portal-cart-row__media{
    background:#eef5ff!important;
    border:1px solid #d7e5ff!important;
  }
  .portal-cart-row__placeholder{
    color:#2f75ff!important;
  }
}

@media (min-width:761px){
  .portal-detail-layout--product-detail .portal-card--history .portal-history-table,
  .portal-detail-layout--product-detail .portal-card--history .portal-history-table--progress{
    background:#fff!important;
    border-color:#edf1f6!important;
  }
  .portal-detail-layout--product-detail .portal-card--history .portal-history-table__head{
    background:#f8fafc!important;
    color:#475569!important;
  }
  .portal-detail-layout--product-detail .portal-card--history .portal-history-table__row{
    background:#fdfefe!important;
    border-top:1px solid #eef2f7!important;
  }
}

.portal-tree-sidebar__parent i{
  font-style:normal!important;
  font-size:14px!important;
  line-height:1!important;
  color:#8a96a7!important;
  transform:none!important;
}

.portal-shell--recording .portal-order-reference-kv .portal-order-status,
.portal-shell--member .portal-order-reference-kv .portal-order-status,
.portal-order-reference-kv .portal-order-status{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  min-height:24px!important;
  padding:4px 10px!important;
  border-radius:999px!important;
  font-size:13px!important;
  font-weight:900!important;
  border:1px solid transparent!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--pending,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--pending,
.portal-order-reference-kv .portal-order-status.order-status--pending{background:#fff7e8!important;border-color:#ffd591!important;color:#d46b08!important;}
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--paid,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--paid,
.portal-order-reference-kv .portal-order-status.order-status--paid{background:#eef5ff!important;border-color:#cfe0ff!important;color:#1668dc!important;}
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--processing,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--processing,
.portal-order-reference-kv .portal-order-status.order-status--processing{background:#eef5ff!important;border-color:#b8d7ff!important;color:#1554b7!important;}
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--completed,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--completed,
.portal-order-reference-kv .portal-order-status.order-status--completed{background:#eef5ff!important;border-color:#cfe0ff!important;color:#1d5fd7!important;}
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--refunding,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--refunding,
.portal-order-reference-kv .portal-order-status.order-status--refunding{background:#f9f0ff!important;border-color:#d3adf7!important;color:#722ed1!important;}
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--refunded,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--refunded,
.portal-order-reference-kv .portal-order-status.order-status--refunded{background:#f6fffb!important;border-color:#87e8de!important;color:#08979c!important;}
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--exception,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--exception,
.portal-order-reference-kv .portal-order-status.order-status--exception{background:#fff1f0!important;border-color:#ffccc7!important;color:#cf1322!important;}
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--closed,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--closed,
.portal-order-reference-kv .portal-order-status.order-status--closed{background:#f5f5f5!important;border-color:#d9d9d9!important;color:#595959!important;}
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--default,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--default,
.portal-order-reference-kv .portal-order-status.order-status--default{background:#f8fafc!important;border-color:#e2e8f0!important;color:#475569!important;}

.v32992-marker-ui-corrections{display:none;}

/* === v3.29.92 final guard: applied after all legacy overrides === */
@media (min-width:761px){
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.portal-buy-now-button,
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.btn.primary.portal-buy-now-button{
    min-width:196px!important;
    max-width:240px!important;
    height:48px!important;
    min-height:48px!important;
    padding-left:38px!important;
    padding-right:38px!important;
  }
  .portal-shell--order-detail .portal-order-reference-timeline--clean,
  .portal-shell--recording.portal-shell--order-detail .portal-order-reference-timeline--clean,
  .portal-shell--member.portal-shell--order-detail .portal-order-reference-timeline--clean{
    border:0!important;
    box-shadow:none!important;
    gap:0!important;
  }
  .portal-shell--order-detail .portal-order-reference-timeline--clean *,
  .portal-shell--recording.portal-shell--order-detail .portal-order-reference-timeline--clean *,
  .portal-shell--member.portal-shell--order-detail .portal-order-reference-timeline--clean *{
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
  .portal-shell--order-detail .portal-order-reference-logs>div.portal-order-reference-log{
    border:0!important;
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log::after{display:none!important;content:none!important;}
}

/* Final unified order status palette: same class, same color on list/detail/history. */
.order-status--pending,.portal-order-status.order-status--pending,.portal-history-status.order-status--pending,.status-pill.order-status--pending,.quick-chip.order-status--pending{background:#fff7e8!important;border-color:#ffd591!important;color:#b45309!important;}
.order-status--paid,.portal-order-status.order-status--paid,.portal-history-status.order-status--paid,.status-pill.order-status--paid,.quick-chip.order-status--paid{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;}
.order-status--processing,.portal-order-status.order-status--processing,.portal-history-status.order-status--processing,.status-pill.order-status--processing,.quick-chip.order-status--processing{background:#eef5ff!important;border-color:#b8d7ff!important;color:#1554b7!important;}
.order-status--completed,.portal-order-status.order-status--completed,.portal-history-status.order-status--completed,.status-pill.order-status--completed,.quick-chip.order-status--completed{background:#ecfdf3!important;border-color:#bbf7d0!important;color:#15803d!important;}
.order-status--refunding,.portal-order-status.order-status--refunding,.portal-history-status.order-status--refunding,.status-pill.order-status--refunding,.quick-chip.order-status--refunding{background:#f9f0ff!important;border-color:#d8b4fe!important;color:#7e22ce!important;}
.order-status--refunded,.portal-order-status.order-status--refunded,.portal-history-status.order-status--refunded,.status-pill.order-status--refunded,.quick-chip.order-status--refunded{background:#f8fafc!important;border-color:#cbd5e1!important;color:#475569!important;}
.order-status--exception,.portal-order-status.order-status--exception,.portal-history-status.order-status--exception,.status-pill.order-status--exception,.quick-chip.order-status--exception{background:#fff1f0!important;border-color:#ffccc7!important;color:#cf1322!important;}
.order-status--closed,.portal-order-status.order-status--closed,.portal-history-status.order-status--closed,.status-pill.order-status--closed,.quick-chip.order-status--closed{background:#f5f5f5!important;border-color:#d9d9d9!important;color:#595959!important;}
.order-status--default,.portal-order-status.order-status--default,.portal-history-status.order-status--default,.status-pill.order-status--default,.quick-chip.order-status--default{background:#f8fafc!important;border-color:#e2e8f0!important;color:#475569!important;}

@media (max-width:760px){
  .portal-mobile-tabbar__icon img{width:22px!important;height:22px!important;object-fit:contain!important;object-position:center!important;}
  .portal-shell--cart .portal-mobile-cart-titlebar span,
  .portal-shell--cart .portal-mobile-cart-titlebar em,
  .portal-shell--cart .portal-mobile-cart-titlebar .portal-cart-titlebar-extra{display:none!important;}
  .portal-shell--cart .portal-mobile-cart-titlebar::after{content:""!important;width:40px!important;display:block!important;}
  .portal-shell--cart .portal-cart-row__media{background:linear-gradient(135deg,#eef5ff,#f8fbff)!important;border-color:#dbe7ff!important;color:#2f75ff!important;}
  .portal-shell--cart .portal-cart-row__placeholder{background:transparent!important;color:#2f75ff!important;border:0!important;}
}

.app-shell .sidebar-nav .nav-group__arrow,.sidebar-nav .nav-group__arrow{transform:none!important;}
.app-shell .sidebar-nav .nav-group[open] .nav-group__arrow,.sidebar-nav .nav-group[open] .nav-group__arrow{transform:none!important;}
.v32992-final-guard{display:none!important;}

/* v3.29.92 final status color guard: 已完成 uses green everywhere, while 处理中 stays blue. */
.order-status--completed,
.portal-order-status.order-status--completed,
.portal-history-status.order-status--completed,
.status-pill.order-status--completed,
.quick-chip.order-status--completed,
.portal-order-sheet__meta strong.portal-order-status.order-status--completed,
.portal-order-card__top strong.portal-order-status.order-status--completed,
.portal-history-table__row > span.portal-history-status.order-status--completed,
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--completed,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--completed,
.portal-order-reference-kv .portal-order-status.order-status--completed{
  background:#ecfdf3!important;
  border-color:#bbf7d0!important;
  color:#047857!important;
}
.order-status--processing,
.portal-order-status.order-status--processing,
.portal-history-status.order-status--processing,
.status-pill.order-status--processing,
.quick-chip.order-status--processing,
.portal-order-sheet__meta strong.portal-order-status.order-status--processing,
.portal-order-card__top strong.portal-order-status.order-status--processing,
.portal-history-table__row > span.portal-history-status.order-status--processing,
.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--processing,
.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--processing,
.portal-order-reference-kv .portal-order-status.order-status--processing{
  background:#eef5ff!important;
  border-color:#b8d7ff!important;
  color:#1554b7!important;
}
.v32992-marker-ui-regression-fixes{display:none;}

/* === v3.29.92 last-mile guard: highest-specificity corrections === */
@media (min-width:761px){
  .portal-shell--recording .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.portal-buy-now-button.btn.primary,
  .portal-shell--member .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.portal-buy-now-button.btn.primary,
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.portal-buy-now-button.btn.primary{
    min-width:210px!important;
    max-width:252px!important;
    min-height:50px!important;
    height:50px!important;
    padding-left:44px!important;
    padding-right:44px!important;
    font-size:16px!important;
    font-weight:900!important;
  }
  .portal-shell--order-detail .portal-order-reference-timeline--clean,
  .portal-shell--order-detail .portal-order-reference-timeline--clean div,
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log__body,
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log__head,
  .portal-shell--recording.portal-shell--order-detail .portal-order-reference-timeline--clean,
  .portal-shell--recording.portal-shell--order-detail .portal-order-reference-timeline--clean div,
  .portal-shell--member.portal-shell--order-detail .portal-order-reference-timeline--clean,
  .portal-shell--member.portal-shell--order-detail .portal-order-reference-timeline--clean div{
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }
  .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log{border-top:0!important;}
}

@media (max-width:760px){
  .portal-mobile-tabbar--market .portal-mobile-tabbar__icon{
    color:#2f3438!important;
    width:24px!important;height:24px!important;min-width:24px!important;
    display:grid!important;place-items:center!important;background:transparent!important;border:0!important;box-shadow:none!important;
  }
  .portal-mobile-tabbar--market a.active .portal-mobile-tabbar__icon{color:#3478f6!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  .portal-mobile-tabbar--market .portal-mobile-tabbar__icon img{display:none!important;}
  .portal-mobile-tabbar--market .portal-mobile-tabbar__icon::before{
    content:""!important;display:block!important;width:22px!important;height:22px!important;background:currentColor!important;
    -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
    -webkit-mask-position:center!important;mask-position:center!important;
    -webkit-mask-size:22px 22px!important;mask-size:22px 22px!important;
  }
  .portal-mobile-tabbar--market a:nth-child(1) .portal-mobile-tabbar__icon::before{-webkit-mask-image:url('/static/icons/mobile-nav-home.png')!important;mask-image:url('/static/icons/mobile-nav-home.png')!important;}
  .portal-mobile-tabbar--market a:nth-child(2) .portal-mobile-tabbar__icon::before{-webkit-mask-image:url('/static/icons/mobile-nav-zone.png')!important;mask-image:url('/static/icons/mobile-nav-zone.png')!important;}
  .portal-mobile-tabbar--market a:nth-child(3) .portal-mobile-tabbar__icon::before{-webkit-mask-image:url('/static/icons/mobile-nav-orders.png')!important;mask-image:url('/static/icons/mobile-nav-orders.png')!important;}
  .portal-mobile-tabbar--market a:nth-child(4) .portal-mobile-tabbar__icon::before{-webkit-mask-image:url('/static/icons/mobile-nav-me.png')!important;mask-image:url('/static/icons/mobile-nav-me.png')!important;}
}

/* High-specificity unified status palette, including order-detail key-value cells. */
.portal-shell--recording .portal-order-status.order-status--pending,.portal-shell--member .portal-order-status.order-status--pending,.portal-shell--recording .portal-history-status.order-status--pending,.portal-shell--member .portal-history-status.order-status--pending,.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--pending,.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--pending{background:#fff7e8!important;border-color:#ffd591!important;color:#b45309!important;}
.portal-shell--recording .portal-order-status.order-status--paid,.portal-shell--member .portal-order-status.order-status--paid,.portal-shell--recording .portal-history-status.order-status--paid,.portal-shell--member .portal-history-status.order-status--paid,.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--paid,.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--paid{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;}
.portal-shell--recording .portal-order-status.order-status--processing,.portal-shell--member .portal-order-status.order-status--processing,.portal-shell--recording .portal-history-status.order-status--processing,.portal-shell--member .portal-history-status.order-status--processing,.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--processing,.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--processing{background:#eef5ff!important;border-color:#b8d7ff!important;color:#1554b7!important;}
.portal-shell--recording .portal-order-status.order-status--completed,.portal-shell--member .portal-order-status.order-status--completed,.portal-shell--recording .portal-history-status.order-status--completed,.portal-shell--member .portal-history-status.order-status--completed,.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--completed,.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--completed{background:#ecfdf3!important;border-color:#bbf7d0!important;color:#15803d!important;}
.portal-shell--recording .portal-order-status.order-status--refunding,.portal-shell--member .portal-order-status.order-status--refunding,.portal-shell--recording .portal-history-status.order-status--refunding,.portal-shell--member .portal-history-status.order-status--refunding,.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--refunding,.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--refunding{background:#f9f0ff!important;border-color:#d8b4fe!important;color:#7e22ce!important;}
.portal-shell--recording .portal-order-status.order-status--refunded,.portal-shell--member .portal-order-status.order-status--refunded,.portal-shell--recording .portal-history-status.order-status--refunded,.portal-shell--member .portal-history-status.order-status--refunded,.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--refunded,.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--refunded{background:#f8fafc!important;border-color:#cbd5e1!important;color:#475569!important;}
.portal-shell--recording .portal-order-status.order-status--exception,.portal-shell--member .portal-order-status.order-status--exception,.portal-shell--recording .portal-history-status.order-status--exception,.portal-shell--member .portal-history-status.order-status--exception,.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--exception,.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--exception{background:#fff1f0!important;border-color:#ffccc7!important;color:#cf1322!important;}
.portal-shell--recording .portal-order-status.order-status--closed,.portal-shell--member .portal-order-status.order-status--closed,.portal-shell--recording .portal-history-status.order-status--closed,.portal-shell--member .portal-history-status.order-status--closed,.portal-shell--recording .portal-order-reference-kv .portal-order-status.order-status--closed,.portal-shell--member .portal-order-reference-kv .portal-order-status.order-status--closed{background:#f5f5f5!important;border-color:#d9d9d9!important;color:#595959!important;}
.v32992-last-mile-guard{display:none!important;}

/* v3.29.92 final product-history guard: history table is a sibling of the detail layout, so target it directly. */
@media (min-width:761px){
  .portal-card--history .portal-history-table,
  .portal-card--history .portal-history-table--progress{background:#fff!important;border-color:#edf1f6!important;}
  .portal-card--history .portal-history-table__head{background:#f8fafc!important;color:#475569!important;}
  .portal-card--history .portal-history-table__row{background:#fbfcff!important;border-top:1px solid #eef2f7!important;}
}

/* ========================================================================== 
   v3.29.92 ABSOLUTE FINAL OVERRIDES: placed last to beat older stacked guards
   ========================================================================== */
@media (min-width:761px){
  .portal-shell.portal-shell--recording .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.btn.primary.portal-buy-now-button,
  .portal-shell.portal-shell--member .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.btn.primary.portal-buy-now-button,
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.btn.primary.portal-buy-now-button,
  .portal-detail-layout--product-detail .portal-order-actions--product-purchase>.portal-buy-now-button{
    min-width:210px!important;
    max-width:260px!important;
    width:auto!important;
    height:52px!important;
    min-height:52px!important;
    padding:0 46px!important;
    border-radius:14px!important;
    font-size:16px!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-order-reference-timeline--clean .portal-order-reference-log,
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
  .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
  .portal-order-reference-logs>div.portal-order-reference-log{
    border:0!important;
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }
  .portal-shell--recording .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-shell--member .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  .portal-order-reference-timeline--clean .portal-order-reference-log::after{
    display:none!important;
    content:none!important;
  }
}

@media (max-width:760px){
  .portal-mobile-tabbar--market .portal-mobile-tabbar__icon{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    display:grid!important;
    place-items:center!important;
    margin:0 auto 2px!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .portal-mobile-tabbar--market .portal-mobile-tabbar__icon img{
    display:block!important;
    object-fit:contain!important;
    object-position:center!important;
    opacity:.68!important;
    filter:brightness(0) saturate(100%) invert(38%) sepia(13%) saturate(672%) hue-rotate(176deg) brightness(92%) contrast(88%)!important;
    transform:none!important;
  }
  .portal-mobile-tabbar--market .portal-mobile-tabbar__icon--home img{width:23px!important;height:23px!important;}
  .portal-mobile-tabbar--market .portal-mobile-tabbar__icon--zone img{width:21px!important;height:21px!important;}
  .portal-mobile-tabbar--market .portal-mobile-tabbar__icon--orders img{width:21px!important;height:21px!important;}
  .portal-mobile-tabbar--market .portal-mobile-tabbar__icon--me img{width:21px!important;height:21px!important;}
  .portal-mobile-tabbar--market a.active .portal-mobile-tabbar__icon img{
    opacity:1!important;
    filter:invert(43%) sepia(84%) saturate(2231%) hue-rotate(207deg) brightness(101%) contrast(98%)!important;
  }
  .portal-mobile-cart-titlebar{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
  }
  .portal-mobile-cart-titlebar span.portal-mobile-cart-titlebar__spacer,
  .portal-mobile-cart-titlebar em{display:block!important;font-size:0!important;color:transparent!important;}
  .portal-mobile-cart-titlebar span:not(.portal-mobile-cart-titlebar__spacer){display:none!important;}
  .portal-cart-row__media{
    background:#eef5ff!important;
    border:1px solid #d7e5ff!important;
  }
  .portal-cart-row__placeholder{
    color:#2f75ff!important;
    background:transparent!important;
    border:0!important;
  }
  .portal-cart-row__amount,
  .portal-cart-summary__row:nth-of-type(2) strong{color:#2f75ff!important;}
}

/* Same status means same color everywhere; this last block also fixes PC order-detail right-side status. */
.portal-order-status,.portal-history-status,.status-pill[class*="order-status--"],.quick-chip[class*="order-status--"]{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;border:1px solid transparent!important;box-shadow:none!important;white-space:nowrap!important;font-weight:900!important;
}
.order-status--pending,.portal-order-status.order-status--pending,.portal-history-status.order-status--pending,.status-pill.order-status--pending,.quick-chip.order-status--pending,.portal-order-reference-kv .portal-order-status.order-status--pending,.portal-order-mobile-status-band strong.order-status--pending{background:#fff7e8!important;border-color:#ffd591!important;color:#b45309!important;}
.order-status--paid,.portal-order-status.order-status--paid,.portal-history-status.order-status--paid,.status-pill.order-status--paid,.quick-chip.order-status--paid,.portal-order-reference-kv .portal-order-status.order-status--paid,.portal-order-mobile-status-band strong.order-status--paid{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;}
.order-status--processing,.portal-order-status.order-status--processing,.portal-history-status.order-status--processing,.status-pill.order-status--processing,.quick-chip.order-status--processing,.portal-order-reference-kv .portal-order-status.order-status--processing,.portal-order-mobile-status-band strong.order-status--processing{background:#eef5ff!important;border-color:#b8d7ff!important;color:#1554b7!important;}
.order-status--completed,.portal-order-status.order-status--completed,.portal-history-status.order-status--completed,.status-pill.order-status--completed,.quick-chip.order-status--completed,.portal-order-reference-kv .portal-order-status.order-status--completed,.portal-order-mobile-status-band strong.order-status--completed{background:#ecfdf3!important;border-color:#bbf7d0!important;color:#047857!important;}
.order-status--refunding,.portal-order-status.order-status--refunding,.portal-history-status.order-status--refunding,.status-pill.order-status--refunding,.quick-chip.order-status--refunding,.portal-order-reference-kv .portal-order-status.order-status--refunding,.portal-order-mobile-status-band strong.order-status--refunding{background:#f9f0ff!important;border-color:#d8b4fe!important;color:#7e22ce!important;}
.order-status--refunded,.portal-order-status.order-status--refunded,.portal-history-status.order-status--refunded,.status-pill.order-status--refunded,.quick-chip.order-status--refunded,.portal-order-reference-kv .portal-order-status.order-status--refunded,.portal-order-mobile-status-band strong.order-status--refunded{background:#f0fdfa!important;border-color:#99f6e4!important;color:#0f766e!important;}
.order-status--exception,.portal-order-status.order-status--exception,.portal-history-status.order-status--exception,.status-pill.order-status--exception,.quick-chip.order-status--exception,.portal-order-reference-kv .portal-order-status.order-status--exception,.portal-order-mobile-status-band strong.order-status--exception{background:#fff1f0!important;border-color:#ffccc7!important;color:#cf1322!important;}
.order-status--closed,.portal-order-status.order-status--closed,.portal-history-status.order-status--closed,.status-pill.order-status--closed,.quick-chip.order-status--closed,.portal-order-reference-kv .portal-order-status.order-status--closed,.portal-order-mobile-status-band strong.order-status--closed{background:#f5f5f5!important;border-color:#d9d9d9!important;color:#595959!important;}
.order-status--default,.portal-order-status.order-status--default,.portal-history-status.order-status--default,.status-pill.order-status--default,.quick-chip.order-status--default,.portal-order-reference-kv .portal-order-status.order-status--default{background:#f8fafc!important;border-color:#e2e8f0!important;color:#475569!important;}

.app-shell .sidebar-nav .nav-group__arrow,.sidebar-nav .nav-group__arrow,.app-shell .sidebar-nav .nav-group[open] .nav-group__arrow,.sidebar-nav .nav-group[open] .nav-group__arrow{transform:none!important;rotate:0deg!important;}
.portal-tree-sidebar__parent i,.portal-tree-sidebar__parent i::before{transform:none!important;}
.v32992-absolute-final-overrides{display:none!important;}

/* v3.29.92 final buy button specificity guard */
@media (min-width:761px){
  .portal-shell.portal-shell--recording:not(.portal-shell--cart) .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.btn.primary.portal-buy-now-button,
  .portal-shell.portal-shell--member:not(.portal-shell--cart) .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.btn.primary.portal-buy-now-button,
  .portal-shell:not(.portal-shell--cart) .portal-detail-layout--product-detail .portal-order-actions--product-purchase>button.btn.primary.portal-buy-now-button{
    flex:0 0 196px!important;
    width:196px!important;
    min-width:196px!important;
    max-width:240px!important;
    height:48px!important;
    min-height:48px!important;
    padding-left:38px!important;
    padding-right:38px!important;
  }
}
.v32992-buy-button-specificity-guard{display:none!important;}

/* ========================================================================== 
   v3.29.92 ULTIMATE FIX GUARD: current user-confirmed polish pass
   ========================================================================== */
@media (min-width:761px){
  html body .portal-shell.portal-shell--recording:not(.portal-shell--cart) .portal-detail-layout.portal-detail-layout--product-detail .portal-order-actions.portal-order-actions--product-purchase > button.btn.primary.portal-buy-now-button,
  html body .portal-shell.portal-shell--member:not(.portal-shell--cart) .portal-detail-layout.portal-detail-layout--product-detail .portal-order-actions.portal-order-actions--product-purchase > button.btn.primary.portal-buy-now-button,
  html body .portal-shell:not(.portal-shell--cart) .portal-detail-layout.portal-detail-layout--product-detail .portal-order-actions.portal-order-actions--product-purchase > button.btn.primary.portal-buy-now-button,
  html body .portal-detail-layout.portal-detail-layout--product-detail .portal-order-actions.portal-order-actions--product-purchase > button.portal-buy-now-button{
    flex:0 0 220px!important;
    width:220px!important;
    min-width:220px!important;
    max-width:260px!important;
    height:56px!important;
    min-height:56px!important;
    padding:0 48px!important;
    border-radius:16px!important;
    font-size:16px!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  html body .portal-shell--order-detail .portal-order-reference-logs.portal-order-reference-timeline--clean,
  html body .portal-shell--order-detail .portal-order-reference-logs.portal-order-reference-timeline--clean *,
  html body .portal-order-reference-logs.portal-order-reference-timeline--clean,
  html body .portal-order-reference-logs.portal-order-reference-timeline--clean *{
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }
  html body .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log,
  html body .portal-shell--order-detail .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log,
  html body .portal-order-reference-timeline--clean .portal-order-reference-log,
  html body .portal-order-reference-timeline--clean .portal-order-reference-log + .portal-order-reference-log{
    border:0!important;
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }
  html body .portal-order-reference-timeline--clean .portal-order-reference-log::before,
  html body .portal-order-reference-timeline--clean .portal-order-reference-log::after,
  html body .portal-order-reference-timeline--clean .portal-order-reference-log__body::before,
  html body .portal-order-reference-timeline--clean .portal-order-reference-log__body::after{
    display:none!important;
    content:none!important;
    border:0!important;
  }
  html body .portal-card--history .portal-history-table,
  html body .portal-card--history .portal-history-table--progress{
    background:#fff!important;
    border-color:#edf1f6!important;
  }
  html body .portal-card--history .portal-history-table__head{
    background:#f8fafc!important;
    border-bottom:1px solid #edf1f6!important;
  }
  html body .portal-card--history .portal-history-table__row,
  html body .portal-card--history .portal-history-table__row:nth-child(even),
  html body .portal-card--history .portal-history-table__row:nth-child(odd){
    background:#fbfcff!important;
    border-top:1px solid #eef2f7!important;
  }
}

@media (max-width:760px){
  html body .portal-mobile-tabbar.portal-mobile-tabbar--market .portal-mobile-tabbar__icon{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    display:grid!important;
    place-items:center!important;
    margin:0 auto 2px!important;
    color:#4b5563!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html body .portal-mobile-tabbar.portal-mobile-tabbar--market a.active .portal-mobile-tabbar__icon{color:#3478f6!important;}
  html body .portal-mobile-tabbar.portal-mobile-tabbar--market .portal-mobile-tabbar__icon img{display:none!important;}
  html body .portal-mobile-tabbar.portal-mobile-tabbar--market .portal-mobile-tabbar__icon::before{
    content:""!important;
    display:block!important;
    width:22px!important;
    height:22px!important;
    background:currentColor!important;
    -webkit-mask-repeat:no-repeat!important;
    mask-repeat:no-repeat!important;
    -webkit-mask-position:center!important;
    mask-position:center!important;
    -webkit-mask-size:22px 22px!important;
    mask-size:22px 22px!important;
  }
  html body .portal-mobile-tabbar.portal-mobile-tabbar--market a:nth-child(1) .portal-mobile-tabbar__icon::before{-webkit-mask-image:url('/static/icons/mobile-nav-home.png')!important;mask-image:url('/static/icons/mobile-nav-home.png')!important;}
  html body .portal-mobile-tabbar.portal-mobile-tabbar--market a:nth-child(2) .portal-mobile-tabbar__icon::before{-webkit-mask-image:url('/static/icons/mobile-nav-zone.png')!important;mask-image:url('/static/icons/mobile-nav-zone.png')!important;}
  html body .portal-mobile-tabbar.portal-mobile-tabbar--market a:nth-child(3) .portal-mobile-tabbar__icon::before{-webkit-mask-image:url('/static/icons/mobile-nav-orders.png')!important;mask-image:url('/static/icons/mobile-nav-orders.png')!important;}
  html body .portal-mobile-tabbar.portal-mobile-tabbar--market a:nth-child(4) .portal-mobile-tabbar__icon::before{-webkit-mask-image:url('/static/icons/mobile-nav-me.png')!important;mask-image:url('/static/icons/mobile-nav-me.png')!important;}
  html body .portal-shell--cart .portal-mobile-cart-titlebar{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
  }
  html body .portal-shell--cart .portal-mobile-cart-titlebar span:not(.portal-mobile-cart-titlebar__spacer),
  html body .portal-shell--cart .portal-mobile-cart-titlebar em,
  html body .portal-shell--cart .portal-mobile-cart-titlebar .portal-cart-titlebar-extra{display:none!important;}
  html body .portal-shell--cart .portal-mobile-cart-titlebar__spacer{display:block!important;min-width:40px!important;height:1px!important;visibility:hidden!important;}
  html body .portal-shell--cart .portal-cart-row__media{
    background:linear-gradient(135deg,#eef5ff,#f8fbff)!important;
    border:1px solid #d7e5ff!important;
  }
  html body .portal-shell--cart .portal-cart-row__placeholder{
    background:transparent!important;
    color:#2f75ff!important;
    border:0!important;
  }
  html body .portal-shell--cart .portal-cart-row__amount,
  html body .portal-shell--cart .portal-cart-summary__row:nth-of-type(2) strong{color:#2f75ff!important;}
}

html body .portal-order-status,
html body .portal-history-status,
html body .status-pill[class*="order-status--"],
html body .quick-chip[class*="order-status--"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
  white-space:nowrap!important;
  font-weight:900!important;
}
html body .order-status--pending,html body .portal-order-status.order-status--pending,html body .portal-history-status.order-status--pending,html body .status-pill.order-status--pending,html body .quick-chip.order-status--pending,html body .portal-order-reference-kv .portal-order-status.order-status--pending,html body .portal-order-mobile-status-band strong.order-status--pending{background:#fff7e8!important;border-color:#ffd591!important;color:#b45309!important;}
html body .order-status--paid,html body .portal-order-status.order-status--paid,html body .portal-history-status.order-status--paid,html body .status-pill.order-status--paid,html body .quick-chip.order-status--paid,html body .portal-order-reference-kv .portal-order-status.order-status--paid,html body .portal-order-mobile-status-band strong.order-status--paid{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;}
html body .order-status--processing,html body .portal-order-status.order-status--processing,html body .portal-history-status.order-status--processing,html body .status-pill.order-status--processing,html body .quick-chip.order-status--processing,html body .portal-order-reference-kv .portal-order-status.order-status--processing,html body .portal-order-mobile-status-band strong.order-status--processing{background:#eef5ff!important;border-color:#b8d7ff!important;color:#1554b7!important;}
html body .order-status--completed,html body .portal-order-status.order-status--completed,html body .portal-history-status.order-status--completed,html body .status-pill.order-status--completed,html body .quick-chip.order-status--completed,html body .portal-order-reference-kv .portal-order-status.order-status--completed,html body .portal-order-mobile-status-band strong.order-status--completed{background:#ecfdf3!important;border-color:#bbf7d0!important;color:#047857!important;}
html body .order-status--refunding,html body .portal-order-status.order-status--refunding,html body .portal-history-status.order-status--refunding,html body .status-pill.order-status--refunding,html body .quick-chip.order-status--refunding,html body .portal-order-reference-kv .portal-order-status.order-status--refunding,html body .portal-order-mobile-status-band strong.order-status--refunding{background:#f9f0ff!important;border-color:#d8b4fe!important;color:#7e22ce!important;}
html body .order-status--refunded,html body .portal-order-status.order-status--refunded,html body .portal-history-status.order-status--refunded,html body .status-pill.order-status--refunded,html body .quick-chip.order-status--refunded,html body .portal-order-reference-kv .portal-order-status.order-status--refunded,html body .portal-order-mobile-status-band strong.order-status--refunded{background:#f0fdfa!important;border-color:#99f6e4!important;color:#0f766e!important;}
html body .order-status--exception,html body .portal-order-status.order-status--exception,html body .portal-history-status.order-status--exception,html body .status-pill.order-status--exception,html body .quick-chip.order-status--exception,html body .portal-order-reference-kv .portal-order-status.order-status--exception,html body .portal-order-mobile-status-band strong.order-status--exception{background:#fff1f0!important;border-color:#ffccc7!important;color:#cf1322!important;}
html body .order-status--closed,html body .portal-order-status.order-status--closed,html body .portal-history-status.order-status--closed,html body .status-pill.order-status--closed,html body .quick-chip.order-status--closed,html body .portal-order-reference-kv .portal-order-status.order-status--closed,html body .portal-order-mobile-status-band strong.order-status--closed{background:#f5f5f5!important;border-color:#d9d9d9!important;color:#595959!important;}
html body .order-status--default,html body .portal-order-status.order-status--default,html body .portal-history-status.order-status--default,html body .status-pill.order-status--default,html body .quick-chip.order-status--default,html body .portal-order-reference-kv .portal-order-status.order-status--default{background:#f8fafc!important;border-color:#e2e8f0!important;color:#475569!important;}
html body .app-shell .sidebar-nav .nav-group__arrow,
html body .sidebar-nav .nav-group__arrow,
html body .app-shell .sidebar-nav .nav-group[open] .nav-group__arrow,
html body .sidebar-nav .nav-group[open] .nav-group__arrow,
html body .portal-tree-sidebar__parent i,
html body .portal-tree-sidebar__parent i::before{transform:none!important;rotate:0deg!important;}
.v32992-ultimate-fix-guard{display:none!important;}
