@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../vendor/fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../vendor/fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../vendor/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../vendor/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url('../vendor/fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2');}
/* ==========================================================
   Plataforma de servicios + tiendas · estilos base
   Línea visual: azul marino + blanco, tarjetas redondeadas,
   barra inferior con botón central (mobile-first, lista para app)
   ========================================================== */
:root {
  --navy: #0f2f6b;
  --navy-2: #1a4596;
  --navy-ink: #0b2350;
  --tint: #eaf1fb;
  --tint-2: #f4f7fc;
  --bg: #f6f8fc;
  --card: #ffffff;
  --ink: #142033;
  --muted: #6b7a90;
  --line: #e3e9f3;
  --green: #138a5b;
  --green-bg: #e3f6ee;
  --amber: #a66300;
  --amber-bg: #fff2dc;
  --red: #c0352b;
  --red-bg: #fde8e6;
  --blue-bg: #e5eefc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 47, 107, .04), 0 6px 24px rgba(15, 47, 107, .06);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; padding-bottom: 84px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; color: var(--navy-ink); letter-spacing: -.01em; }
h1 { font-size: 1.6rem; font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 .8em; }
small, .small { font-size: .82rem; }
.muted { color: var(--muted); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.hide-sm { display: none; }
@media (min-width: 700px) { .hide-sm { display: inline-flex; } }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ---------- Topbar ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--navy); font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.topnav { display: none; gap: 4px; margin-left: 14px; }
.topnav a { color: var(--ink); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.topnav a:hover, .topnav a.on { background: var(--tint); color: var(--navy); text-decoration: none; }
@media (min-width: 900px) { .topnav { display: flex; } }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--navy); background: var(--tint-2); }
.icon-btn:hover { background: var(--tint); }
.dot-count { position: absolute; top: 3px; right: 3px; background: #e5484d; color: #fff; font-size: .68rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.me { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.me:hover { text-decoration: none; }
.me-name { display: none; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 700px) { .me-name { display: inline; } }

/* ---------- Bottom nav (móvil) ---------- */
.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; height: 70px; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; z-index: 60; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 24px rgba(15,47,107,.06); }
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .7rem; font-weight: 600; color: var(--muted); width: 64px; }
.bottomnav a:hover { text-decoration: none; }
.bottomnav a svg { width: 22px; height: 22px; }
.bottomnav a.on { color: var(--navy); }
.bottomnav a.plus { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; justify-content: center; margin-top: -30px; box-shadow: 0 8px 20px rgba(15,47,107,.35); border: 4px solid #fff; }
.bottomnav a.plus svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .bottomnav { display: none; } }

/* ---------- Footer ---------- */
.footer { margin-top: 48px; background: #fff; border-top: 1px solid var(--line); padding: 28px 0; }
.footer-in { display: grid; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 1fr auto; } .footer-in > p { grid-column: 1 / -1; } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; border-radius: 12px; padding: 11px 18px; font-size: .92rem; transition: background .15s, transform .05s; text-decoration: none !important; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: var(--tint); color: var(--navy); }
.btn-ghost:hover { background: #dbe7f8; }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--navy-2); }
.btn-green { background: var(--green); color: #fff; }
.btn-red { background: var(--red-bg); color: var(--red); }
.btn-sm { padding: 7px 12px; font-size: .84rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Formularios ---------- */
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy-ink); }
.field { margin-bottom: 14px; }
.input, input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=datetime-local], input[type=date], input[type=url], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(26,69,150,.12); }
textarea { min-height: 96px; resize: vertical; }
input[type=file] { font: inherit; font-size: .88rem; }
input[type=color] { width: 54px; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 3px; background: #fff; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.grid-2 { display: grid; gap: 0 14px; }
.grid-3 { display: grid; gap: 0 14px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Tarjetas ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; border: 1px solid rgba(227,233,243,.6); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
.card.navy { background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border: 0; }
.card.navy h1, .card.navy h2, .card.navy h3 { color: #fff; }
.card.navy .muted { color: rgba(255,255,255,.72); }
.card.tint { background: var(--tint); box-shadow: none; border: 0; }
.alert { padding: 12px 16px; border-radius: 12px; margin: 14px 0 0; font-weight: 600; font-size: .9rem; }
.alert-ok { background: var(--green-bg); color: var(--green); }
.alert-err { background: var(--red-bg); color: var(--red); }
.alert-info { background: var(--blue-bg); color: var(--navy); }
.alert-warn { background: var(--amber-bg); color: var(--amber); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge-gray { background: #eef1f6; color: #4d5b70; }
.badge-blue { background: var(--blue-bg); color: var(--navy-2); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-level { background: linear-gradient(135deg, #f7d774, #e3a92d); color: #5a3d00; }
.badge-verified { background: var(--green-bg); color: var(--green); }

/* ---------- Avatares ---------- */
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--tint); }
.avatar.sm { width: 34px; height: 34px; }
.avatar.lg { width: 84px; height: 84px; }
.avatar.xl { width: 108px; height: 108px; border: 4px solid #fff; box-shadow: var(--shadow); }
.avatar-txt { display: inline-grid; place-items: center; color: var(--navy); font-weight: 800; font-size: .9rem; }
.avatar-txt.lg, .avatar-txt.xl { font-size: 1.8rem; }
.stars { color: #f0a500; letter-spacing: 1px; }

/* ---------- Página ---------- */
.main { min-height: 60vh; }
.page { padding: 24px 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin: 0; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 12px; }
.section-title h2 { margin: 0; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 70%, #2d5fbf 100%); color: #fff; padding: 36px 0 70px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.06); right: -120px; top: -140px; }
.hero h1 { color: #fff; font-size: 1.85rem; max-width: 640px; }
.hero p { color: rgba(255,255,255,.82); max-width: 560px; }
@media (min-width: 900px) { .hero { padding: 64px 0 96px; } .hero h1 { font-size: 2.6rem; } }
.searchbox { background: #fff; border-radius: 18px; padding: 8px; display: flex; flex-direction: column; gap: 8px; max-width: 760px; box-shadow: 0 20px 40px rgba(5,20,50,.25); position: relative; z-index: 2; }
.searchbox input, .searchbox select { border: 0; background: var(--tint-2); }
.searchbox .btn { padding: 13px 22px; }
@media (min-width: 700px) { .searchbox { flex-direction: row; } .searchbox > * { flex: 1; } .searchbox .btn { flex: none; } }
.hero-tabs { display: flex; gap: 8px; margin: 22px 0 12px; }
.hero-tabs a { color: #fff; background: rgba(255,255,255,.12); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .86rem; }
.hero-tabs a.on { background: #fff; color: var(--navy); }
.hero-tabs a:hover { text-decoration: none; }
.lift { margin-top: -44px; position: relative; z-index: 3; }

/* ---------- Grids de contenido ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(8, 1fr); } }
.cat { background: #fff; border-radius: 16px; padding: 14px 8px; text-align: center; box-shadow: var(--shadow); color: var(--ink); font-weight: 600; font-size: .8rem; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1.5px solid transparent; }
.cat:hover { border-color: var(--navy-2); text-decoration: none; }
.cat-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; font-size: 1.4rem; }

.cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c4 { grid-template-columns: repeat(4, 1fr); } }

.pro { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); border: 1.5px solid transparent; }
.pro:hover { border-color: var(--tint); text-decoration: none; }
.pro-top { display: flex; gap: 12px; align-items: center; }
.pro-top strong { display: block; color: var(--navy-ink); }
.pro-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pro-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.price { font-weight: 800; color: var(--navy); }

.prod { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.prod:hover { text-decoration: none; }
.prod-img { aspect-ratio: 4/3; background: var(--tint-2); display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-body strong { color: var(--navy-ink); font-size: .95rem; line-height: 1.3; }
.cards.products { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .cards.products { grid-template-columns: repeat(4, 1fr); } }

.store-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--ink); }
.store-card:hover { text-decoration: none; }
.store-cover { height: 96px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); background-size: cover; background-position: center; }
.store-card-body { padding: 0 16px 16px; }
.store-card-body .avatar { margin-top: -26px; border: 3px solid #fff; width: 56px; height: 56px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.stat .lbl { font-size: .78rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stat .num { font-size: 1.45rem; font-weight: 800; color: var(--navy-ink); margin-top: 4px; }
.stat.navy { background: linear-gradient(145deg, var(--navy), var(--navy-2)); }
.stat.navy .lbl, .stat.navy .num { color: #fff; }
.progress { height: 8px; background: rgba(15,47,107,.1); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--navy-2); border-radius: 99px; }
.card.navy .progress { background: rgba(255,255,255,.2); }
.card.navy .progress > span { background: #fff; }

/* ---------- Panel ---------- */
.panel { display: grid; gap: 20px; padding-top: 22px; padding-bottom: 20px; }
.panel-nav { display: none; }
@media (min-width: 1000px) {
  .panel { grid-template-columns: 250px 1fr; align-items: start; }
  .panel-nav { display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; position: sticky; top: 80px; }
}
.panel-me { display: flex; gap: 10px; align-items: center; padding: 6px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.panel-me strong { display: block; font-size: .92rem; line-height: 1.2; }
.panel-me small { color: var(--muted); }
.panel-nav nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .88rem; }
.panel-nav nav a:hover { background: var(--tint-2); text-decoration: none; }
.panel-nav nav a.on { background: var(--tint); color: var(--navy); }
.panel-nav .ic { color: var(--navy-2); }
.panel-body { min-width: 0; }
.quicklinks { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.quicklinks a { flex: none; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .84rem; box-shadow: var(--shadow); color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
@media (min-width: 1000px) { .quicklinks.mobile-only { display: none; } }

/* ---------- Tablas / listas ---------- */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.list { display: flex; flex-direction: column; }
.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover { background: var(--tint-2); text-decoration: none; border-radius: 12px; }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .grow strong { display: block; color: var(--navy-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-tile { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--navy); display: grid; place-items: center; flex: none; }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); }
.empty .icon-tile { margin: 0 auto 10px; width: 56px; height: 56px; }

/* ---------- Perfil público ---------- */
.profile-cover { height: 180px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); background-size: cover; background-position: center; }
@media (min-width: 900px) { .profile-cover { height: 240px; } }
.profile-head { display: flex; gap: 16px; align-items: flex-end; margin-top: -54px; flex-wrap: wrap; }
.profile-head h1 { margin: 0; }
.profile-grid { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 900px) { .profile-grid { grid-template-columns: 1fr 340px; align-items: start; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }

/* ---------- Mapa ---------- */
.map { height: 340px; border-radius: 16px; overflow: hidden; border: 1.5px solid var(--line); z-index: 1; }
.map.tall { height: 440px; }
.map.short { height: 220px; }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; height: 460px; }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 6px 2px 10px; }
.msg { max-width: 80%; padding: 9px 13px; border-radius: 16px; font-size: .9rem; background: var(--tint-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.mine { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
.msg small { display: block; opacity: .65; font-size: .7rem; margin-top: 2px; }
.msg img { border-radius: 10px; margin-top: 6px; max-height: 220px; }
.msg.sys { align-self: center; background: var(--amber-bg); color: var(--amber); font-size: .8rem; font-weight: 600; }
.chat-form { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.chat-form input[type=text] { flex: 1; }

/* ---------- Timeline de estados ---------- */
.steps { display: flex; gap: 4px; margin: 6px 0 4px; }
.steps span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.steps span.done { background: var(--navy-2); }
.contact-box { background: var(--green-bg); color: var(--green); border-radius: 14px; padding: 14px; font-weight: 600; }
.contact-box.locked { background: var(--tint-2); color: var(--muted); }

/* ---------- Pago ---------- */
.methods { display: grid; gap: 10px; }
@media (min-width: 700px) { .methods { grid-template-columns: repeat(2, 1fr); } }
.method { position: relative; }
.method input { position: absolute; opacity: 0; }
.method label { margin: 0; display: block; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; font-weight: 600; }
.method input:checked + label { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(26,69,150,.12); background: var(--tint-2); }
.method-details { white-space: pre-line; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; background: var(--tint-2); border-radius: 12px; padding: 14px; margin: 10px 0 0; }
.amount-big { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }

/* ---------- Rating input ---------- */
.rate-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate-input input { display: none; }
.rate-input label { font-size: 1.9rem; color: #d3dae6; cursor: pointer; margin: 0; }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label { color: #f0a500; }

/* ---------- Auth ---------- */
.auth { max-width: 460px; margin: 30px auto; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.role-pick .method label { text-align: left; font-size: .86rem; }
.role-pick .method label small { display: block; color: var(--muted); font-weight: 500; margin-top: 2px; }

.tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; }
.tabs a { padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 600; font-size: .85rem; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow); }
.tabs a.on { background: var(--navy); color: #fff; }
.tabs a:hover { text-decoration: none; }

.filters { display: grid; gap: 10px; }
@media (min-width: 900px) { .filters { grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; } .filters .field { margin: 0; } }

.inline-form { display: inline; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt { margin-top: 14px; }
.thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--tint-2); flex: none; }
.receipt-thumb { width: 90px; height: 90px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.notice-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--navy-2); flex: none; }
.card-head > a { white-space: nowrap; font-weight: 600; font-size: .88rem; }
.profile-head { margin-top: 0; padding-top: 14px; align-items: flex-start; }
.profile-head > .avatar { margin-top: -70px; }
.profile-head > div { padding-bottom: 0 !important; }
.cards > *, .profile-grid > *, .panel > * { min-width: 0; }
.list-item .grow small { display: block; overflow-wrap: anywhere; }
@media (max-width: 700px) { .list-item { flex-wrap: wrap; } .list-item .grow { flex-basis: 55%; } .list-item .grow strong { white-space: normal; } }
.profile-grid .alert, .panel-body .alert, .page .alert { margin: 0 0 14px; }
