[hidden] { display: none !important; }

:root {
  --customer-bg: #f5f8fd;
  --customer-surface: rgba(255,255,255,.94);
  --customer-line: #cfe0f5;
  --customer-line-strong: #a9c4ec;
  --customer-text: #0f1f38;
  --customer-muted: #61718b;
  --customer-primary: #2563eb;
  --customer-primary-strong: #1d4ed8;
  --customer-success: #16a34a;
  --customer-warning: #b45309;
  --customer-danger: #dc2626;
  --customer-shadow: 0 24px 80px rgba(20, 46, 88, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--customer-text); background: radial-gradient(circle at 10% 8%, rgba(37, 99, 235, .14), transparent 34%), radial-gradient(circle at 88% 2%, rgba(14, 165, 233, .12), transparent 34%), linear-gradient(135deg, #f9fbff 0%, var(--customer-bg) 72%, #edf4ff 100%); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.customer-page { width: min(1320px, calc(100% - 28px)); margin: 0 auto; padding: 22px 0 46px; }
.customer-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.customer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; letter-spacing: -.04em; }
.customer-brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--customer-primary), #0ea5e9); box-shadow: 0 18px 38px rgba(37, 99, 235, .22); }
.customer-actions, .customer-panel-title, .customer-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.customer-btn { border: 1px solid transparent; border-radius: 14px; min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 850; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.customer-btn:hover { transform: translateY(-1px); }
.customer-btn-primary { color: #fff; background: linear-gradient(135deg, var(--customer-primary), #0ea5e9); box-shadow: 0 14px 30px rgba(37, 99, 235, .22); }
.customer-btn-soft { color: var(--customer-primary-strong); background: #eef5ff; border-color: var(--customer-line); }
.customer-btn-ghost { color: var(--customer-text); background: #fff; border-color: var(--customer-line); }
.customer-btn-danger { color: #991b1b; background: #fff5f5; border-color: #fecaca; }
.customer-hero, .customer-panel, .customer-stat, .customer-checking { border: 1px solid var(--customer-line); border-radius: 28px; background: var(--customer-surface); box-shadow: var(--customer-shadow); }
.customer-hero { padding: 22px; margin-bottom: 18px; }
.customer-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 18px; align-items: stretch; }
.customer-kicker, .customer-label { color: var(--customer-primary-strong); text-transform: uppercase; letter-spacing: .08em; font-weight: 950; font-size: .75rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 4.2rem); line-height: .96; letter-spacing: -.07em; }
h2 { margin-bottom: 8px; font-size: clamp(1.25rem, 2vw, 1.85rem); letter-spacing: -.04em; }
h3 { margin-bottom: 6px; }
p { color: var(--customer-muted); line-height: 1.62; }
.customer-hero-card { border: 1px solid var(--customer-line); border-radius: 22px; background: #f8fbff; padding: 20px; }
.customer-hero-card ul { margin: 8px 0 0; padding-left: 18px; color: var(--customer-muted); line-height: 1.8; }
.customer-checking { padding: 24px; display: grid; gap: 12px; place-items: center; text-align: center; }
.customer-spinner { width: 38px; height: 38px; border-radius: 50%; border: 4px solid #dbeafe; border-top-color: var(--customer-primary); animation: customerSpin .8s linear infinite; }
@keyframes customerSpin { to { transform: rotate(360deg); } }
.customer-auth-layout { display: grid; grid-template-columns: minmax(0, .98fr) minmax(320px, .72fr); gap: 18px; align-items: start; }
.customer-panel { padding: 22px; }
.customer-panel-stack { display: grid; gap: 14px; }
.customer-form { display: grid; gap: 14px; margin-top: 12px; }
.customer-form-section { border: 1px solid var(--customer-line); border-radius: 22px; padding: 16px; background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); display: grid; gap: 14px; }
.customer-form-section legend { padding: 0 8px; color: var(--customer-primary-strong); text-transform: uppercase; letter-spacing: .08em; font-weight: 950; font-size: .76rem; }
.customer-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.customer-form-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.customer-form-grid .is-wide { grid-column: 1 / -1; }
.customer-form label { display: grid; gap: 7px; font-weight: 850; color: #243756; }
.customer-form input, .customer-form select, .customer-form textarea { width: 100%; min-height: 48px; border: 1px solid var(--customer-line); border-radius: 14px; background: #fff; padding: 0 12px; color: var(--customer-text); outline: none; }
.customer-form textarea { min-height: 86px; padding-top: 12px; resize: vertical; }
.customer-form input:focus, .customer-form select:focus, .customer-form textarea:focus { border-color: var(--customer-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.customer-field-hint { color: var(--customer-muted); font-size: .78rem; line-height: 1.45; font-weight: 700; }
.customer-checkbox { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: flex-start; gap: 10px !important; color: var(--customer-muted) !important; font-weight: 750 !important; line-height: 1.45; }
.customer-checkbox input { width: auto; min-height: auto; margin-top: 4px; flex: 0 0 auto; }
.customer-note { border: 1px solid var(--customer-line); border-radius: 18px; background: #f8fbff; padding: 14px; color: var(--customer-muted); }
.customer-note strong { display: block; color: var(--customer-text); margin-bottom: 4px; }
.customer-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.customer-stat { padding: 16px; border-radius: 20px; }
.customer-stat span { display: block; color: var(--customer-muted); font-weight: 850; font-size: .82rem; }
.customer-stat strong { display: block; margin-top: 4px; font-size: 1.65rem; letter-spacing: -.06em; }
.customer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .74fr); gap: 14px; }
.customer-data-list { display: grid; gap: 10px; margin-top: 12px; }
.customer-data-list div { border: 1px solid var(--customer-line); background: #f8fbff; border-radius: 16px; padding: 12px; display: grid; gap: 4px; }
.customer-data-list span { color: var(--customer-muted); font-size: .82rem; }
.customer-data-list strong { font-size: .98rem; }
.customer-timeline { display: grid; gap: 10px; margin-top: 12px; }
.customer-timeline article { border: 1px solid var(--customer-line); background: #f8fbff; border-radius: 18px; padding: 14px; display: grid; gap: 5px; }
.customer-pill { width: fit-content; border-radius: 999px; padding: 5px 9px; background: #ecfdf5; color: #166534; font-size: .76rem; font-weight: 900; }
.customer-auth-required { border: 1px solid #fed7aa; border-radius: 20px; background: #fff7ed; padding: 18px; display: grid; gap: 10px; }
.customer-address-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.customer-address-list { display: grid; gap: 12px; }
.customer-address-card { border: 1px solid var(--customer-line); background: #f8fbff; border-radius: 20px; padding: 14px; display: grid; gap: 10px; }
.customer-address-card p { margin-bottom: 0; color: var(--customer-text); font-weight: 760; }
.customer-address-card small { color: var(--customer-muted); font-weight: 720; }
.customer-address-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.customer-address-badges span, .customer-status-badge { border: 1px solid #bbf7d0; border-radius: 999px; color: #166534; background: #ecfdf5; padding: 5px 8px; font-size: .74rem; font-weight: 950; white-space: nowrap; }
.customer-address-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.customer-feature-list { display: grid; gap: 10px; margin: 12px 0 0; }
.customer-feature { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; border: 1px solid var(--customer-line); border-radius: 16px; padding: 12px; background: #f8fbff; }
.customer-feature i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 950; background: linear-gradient(135deg, var(--customer-primary), #0ea5e9); }
.customer-feature strong { display: block; margin-bottom: 2px; }
.customer-feature span { color: var(--customer-muted); font-size: .9rem; line-height: 1.45; }
.customer-toast { position: fixed; top: 18px; right: 18px; width: min(420px, calc(100% - 32px)); border: 1px solid rgba(22,163,74,.25); background: #ecfdf5; color: #14532d; border-radius: 18px; padding: 14px 16px; box-shadow: var(--customer-shadow); z-index: 50; font-weight: 850; }
.customer-toast.is-warning { border-color: rgba(180,83,9,.25); background: #fff7ed; color: #7c2d12; }
.customer-toast.is-danger { border-color: rgba(220,38,38,.25); background: #fef2f2; color: #7f1d1d; }
@media (max-width: 1040px) {
  .customer-hero-grid, .customer-auth-layout, .customer-grid { grid-template-columns: 1fr; }
  .customer-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .customer-page { width: min(100% - 18px, 720px); padding-top: 12px; }
  .customer-topbar, .customer-actions, .customer-card-row, .customer-address-toolbar { align-items: stretch; flex-direction: column; }
  .customer-btn { width: 100%; }
  .customer-form-grid, .customer-form-grid.is-3 { grid-template-columns: 1fr; }
  .customer-stats { grid-template-columns: 1fr; }
  .customer-hero, .customer-panel { border-radius: 22px; padding: 16px; }
  .customer-address-badges { justify-content: flex-start; }
}
