:root {
  --bg: #f4f8ff;
  --bg-soft: #eef4ff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-soft: #f7fbff;
  --surface-2: #edf4ff;
  --text: #132c4a;
  --text-strong: #0b1f38;
  --muted: #56708b;
  --line: rgba(94, 130, 176, 0.18);
  --line-strong: rgba(64, 114, 178, 0.28);
  --primary: #1f6fff;
  --primary-2: #7c3aed;
  --cyan: #00a9ff;
  --success: #00a86b;
  --warning: #ff9f0a;
  --danger: #f04461;
  --promo: #ff2d8d;
  --owned: #00a79d;
  --gold: #ffb020;
  --shadow: 0 20px 45px rgba(45, 88, 145, 0.12);
  --shadow-soft: 0 10px 25px rgba(44, 87, 145, 0.08);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 169, 255, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.10), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #eef4ff 48%, #f7fbff 100%);
}
body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}
body::before {
  top: -8rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(0, 169, 255, 0.25), rgba(0, 169, 255, 0));
  animation: floatBlob 18s ease-in-out infinite;
}
body::after {
  right: -10rem;
  bottom: -10rem;
  background: radial-gradient(circle, rgba(255, 45, 141, 0.20), rgba(124, 58, 237, 0));
  animation: floatBlob 24s ease-in-out infinite reverse;
}
@keyframes floatBlob {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.5rem, -1rem, 0) scale(1.06); }
}
@keyframes cardGlow {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: 0 22px 55px rgba(31, 111, 255, 0.18); }
}
@keyframes shine {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.shell,
.login-shell {
  width: min(1280px, calc(100% - 30px));
  margin: 0 auto;
  padding: 28px 0 58px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(244, 248, 255, 0.72);
  border-bottom: 1px solid rgba(96, 130, 180, 0.15);
}
.topbar-inner {
  width: min(1280px, calc(100% - 30px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(233,242,255,.92));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 12px 35px rgba(53, 97, 162, 0.16);
}
.brand-logo.large { width: 90px; height: 90px; }
.brand-copy h1,
.section-head h2,
.section-head h3,
.hero h2,
.login-brand h1 { margin: 0; color: var(--text-strong); }
.brand-copy p,
.hero p,
.section-head p,
.login-brand p,
.summary-main p,
.content-columns p,
.helper-text,
.content-panel p,
.content-panel li {
  color: var(--muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 111, 255, 0.10);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.nav a {
  position: relative;
  padding: 11px 15px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
  transition: .25s ease;
}
.nav a.is-active,
.nav a:hover {
  color: var(--primary);
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-soft);
}
.logout-link { color: var(--danger) !important; }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.card,
.inner-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.card::before,
.inner-card::before,
.accordion-item::before,
.request-card::before,
.mini-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.4) 45%, transparent 70%);
  transform: translateX(-110%);
  pointer-events: none;
  opacity: 0;
}
.card:hover::before,
.inner-card:hover::before,
.accordion-item:hover::before,
.request-card:hover::before,
.mini-row:hover::before {
  opacity: 1;
  animation: shine 1.1s ease;
}
.section-block,
.hero,
.login-card { padding: 28px; margin-bottom: 22px; }
.soft-gradient {
  background:
    radial-gradient(circle at 12% 18%, rgba(0,169,255,.12), transparent 24%),
    radial-gradient(circle at 86% 20%, rgba(124,58,237,.12), transparent 20%),
    linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(237,244,255,.96) 54%, rgba(250,242,255,.96) 100%);
}
.center { text-align: center; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 22px;
  align-items: stretch;
}
.hero h2 { font-size: clamp(2rem, 2.2vw, 2.8rem); line-height: 1.04; margin-bottom: 14px; }
.hero p { max-width: 68ch; font-size: 1.02rem; line-height: 1.66; margin: 0; }
.hero-notes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.info-chip,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}
.info-chip {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(96,130,180,.16);
  padding: 10px 13px;
  color: var(--primary);
}
.hero-panels {
  display: grid;
  gap: 14px;
  align-content: center;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 18px 18px 20px;
  color: #fff;
  min-height: 118px;
  box-shadow: 0 18px 42px rgba(39, 59, 111, 0.18);
}
.hero-panel strong {
  display: block;
  font-size: clamp(1.9rem, 2vw, 2.4rem);
  margin: 6px 0;
}
.hero-panel p,
.hero-panel .mini-label { color: rgba(255,255,255,.9); }
.hero-panel.panel-blue { background: linear-gradient(135deg, #1f6fff 0%, #00b0ff 100%); }
.hero-panel.panel-purple { background: linear-gradient(135deg, #6d3df4 0%, #a855f7 100%); }
.hero-panel.panel-coral { background: linear-gradient(135deg, #ff6b57 0%, #ff2d8d 100%); }
.mini-label {
  display: inline-block;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}

.stats-grid,
.grid-2,
.users-grid,
.priority-grid,
.catalog-focus-grid,
.dashboard-grid,
.section-highlight-grid {
  display: grid;
  gap: 18px;
}
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; }
.grid-2 { grid-template-columns: 1.12fr .88fr; }
.users-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.priority-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-focus-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 18px; }
.section-highlight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 22px; }

.stat-card,
.priority-card,
.focus-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.72);
}
.stat-card strong,
.priority-card strong,
.focus-card strong {
  display: block;
  color: var(--text-strong);
}
.stat-card strong { font-size: 2.25rem; margin-bottom: 6px; }
.priority-card strong { font-size: 1.06rem; margin-bottom: 8px; }
.priority-card p,
.focus-card p,
.stat-card span { color: var(--muted); }
.priority-card::after,
.focus-card::after,
.stat-card::after {
  content: "";
  position: absolute;
  inset: auto -10px -22px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  filter: blur(8px);
}
.priority-card.catalog-accent { background: linear-gradient(135deg, #e7f5ff, #eef6ff); }
.priority-card.resale-accent { background: linear-gradient(135deg, #f0ebff, #fdf3ff); }
.priority-card.owned-accent { background: linear-gradient(135deg, #e7fff8, #ecfefb); }
.priority-card .badge { margin-top: 12px; }

.form-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full,
.btn.full { grid-column: 1 / -1; width: 100%; }
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}
label > span { color: var(--text-strong); }
input,
select,
textarea,
button { font: inherit; }
input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(93, 132, 182, 0.22);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  color: var(--text-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(31,111,255,.44);
  box-shadow: 0 0 0 4px rgba(31,111,255,.10);
  transform: translateY(-1px);
}
textarea { resize: vertical; min-height: 120px; }
.check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  border: 1px dashed rgba(93, 132, 182, 0.22);
}
.check input { width: auto; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 28px rgba(66, 77, 202, 0.22);
}
.btn-secondary {
  color: var(--primary);
  background: linear-gradient(135deg, #eef5ff, #f6f1ff);
  border: 1px solid rgba(90, 126, 176, 0.14);
}
.btn-danger {
  color: #b21b38;
  background: linear-gradient(135deg, #ffe7ec, #fff0f3);
  border: 1px solid rgba(240, 68, 97, 0.18);
}

.flash {
  padding: 15px 18px;
  border-radius: 18px;
  margin-bottom: 18px;
  border: 1px solid transparent;
  transition: opacity .35s ease, transform .35s ease;
  box-shadow: var(--shadow-soft);
}
.flash-success { background: linear-gradient(135deg, #e8fff1, #effff6); color: #0b7f4b; border-color: rgba(11,127,75,.12); }
.flash-danger { background: linear-gradient(135deg, #ffedf1, #fff3f5); color: #b32041; border-color: rgba(179,32,65,.12); }
.flash-warning { background: linear-gradient(135deg, #fff7e1, #fffaf0); color: #a35d00; border-color: rgba(163,93,0,.12); }

.accordion-list { display: grid; gap: 16px; }
.accordion-item {
  position: relative;
  border: 1px solid rgba(103, 138, 187, 0.16);
  border-radius: 28px;
  background: rgba(255,255,255,.80);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.accordion-item:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(34, 72, 128, 0.14); }
.accordion-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.horizontal-card summary { min-height: 138px; }
.summary-main { flex: 1; min-width: 0; }
.summary-main h4 {
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 1.25rem;
}
.summary-main p {
  margin: 0;
  line-height: 1.55;
  max-width: 72ch;
}
.summary-kicker {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.pill {
  padding: 9px 12px;
  font-size: .74rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pill-base { background: rgba(31,111,255,.10); color: var(--primary); }
.pill-resale { background: rgba(124,58,237,.10); color: var(--primary-2); }
.pill-owned { background: rgba(0,167,157,.12); color: var(--owned); }
.pill-promo { background: rgba(255,45,141,.12); color: var(--promo); }
.pill-gold { background: rgba(255,176,32,.16); color: #a76700; }
.summary-subgrid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.mini-chip {
  min-width: 160px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.96);
  border: 1px solid rgba(103,138,187,.14);
}
.mini-chip span,
.info-grid span,
.price-stack small,
.focus-card span {
  display: block;
  font-size: .73rem;
  color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.mini-chip strong { color: var(--text-strong); font-size: .95rem; }
.summary-metrics {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 340px;
}
.price-stack,
.status-stack {
  border-radius: 22px;
  padding: 15px 16px;
  min-width: 170px;
}
.price-stack {
  background: linear-gradient(145deg, #11233f, #214e86);
  color: #fff;
  box-shadow: 0 18px 36px rgba(17, 35, 63, 0.18);
}
.price-stack strong,
.price-stack em {
  display: block;
  font-style: normal;
  color: #fff;
}
.price-stack strong { font-size: 1.45rem; margin-bottom: 10px; }
.price-stack em { font-size: 1.16rem; opacity: .95; }
.price-stack small { color: rgba(255,255,255,.72); }
.status-stack {
  background: linear-gradient(145deg, #ffffff, #f1f6ff);
  border: 1px solid rgba(94, 130, 176, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.summary-metrics strong.price-inline {
  font-size: 1.35rem;
  color: var(--primary);
}
.accordion-content {
  border-top: 1px solid rgba(103, 138, 187, 0.14);
  padding: 20px 22px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.80) 0%, rgba(245,249,255,.92) 100%);
}
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.info-grid > div,
.metric,
.content-panel {
  border-radius: 22px;
  padding: 16px;
  border: 1px solid rgba(103, 138, 187, 0.14);
  background: rgba(255,255,255,.88);
}
.focus-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.76);
}
.focus-card strong { font-size: 1.02rem; }
.focus-card.focus-owned { background: linear-gradient(135deg, #e7fff8, #effffc); }
.focus-card.focus-buy { background: linear-gradient(135deg, #e3f6ff, #f0fbff); }
.focus-card.focus-sale { background: linear-gradient(135deg, #ecfff0, #f6fff7); }
.focus-card.focus-alert { background: linear-gradient(135deg, #fff4de, #fffaf0); }
.focus-card.focus-target { background: linear-gradient(135deg, #f3ebff, #faf4ff); }
.content-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.content-panel h5,
.content-columns h5 { margin: 0 0 10px; color: var(--text-strong); font-size: 1rem; }
.content-panel p,
.content-panel ul { margin: 0; }
.content-panel ul { padding-left: 18px; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.badge-success { background: #e8fff2; color: var(--success); }
.badge-warning { background: #fff4db; color: var(--warning); }
.badge-danger { background: #ffe8ee; color: var(--danger); }
.badge-neutral { background: #eef4fa; color: #59708a; }
.badge-up { background: #ffe8e8; color: #c53348; }
.badge-down { background: #e8fff3; color: #088450; }
.badge-stable { background: #eef0ff; color: #4b56d8; }
.badge-promo { background: #ffe5f2; color: var(--promo); }
.badge-owned { background: #defbf9; color: var(--owned); }
.badge-new { background: #efe6ff; color: var(--primary-2); }

.request-list,
.mini-list { display: grid; gap: 14px; }
.request-card,
.mini-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(103, 138, 187, 0.14);
  box-shadow: var(--shadow-soft);
}
.request-card h4,
.mini-row strong { margin: 0 0 8px; color: var(--text-strong); }
.request-card p,
.mini-row p { margin: 0 0 8px; }
.meta-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pedidos-highlight {
  background:
    radial-gradient(circle at 10% 18%, rgba(255,176,32,.16), transparent 24%),
    radial-gradient(circle at 90% 18%, rgba(255,45,141,.12), transparent 20%),
    linear-gradient(135deg, rgba(255,248,232,.96) 0%, rgba(255,240,247,.96) 100%);
}
.request-zone {
  background:
    radial-gradient(circle at top left, rgba(255,176,32,.16), transparent 30%),
    linear-gradient(135deg, rgba(255,247,216,.92) 0%, rgba(255,225,234,.92) 100%);
}
.strong-request-surface {
  background: linear-gradient(135deg, rgba(255,244,221,.96), rgba(255,225,240,.96));
}
.vibrant-request-card {
  background: linear-gradient(135deg, #15355f 0%, #7a2169 58%, #ff7a18 100%);
  color: #fff;
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(101, 55, 99, 0.22);
}
.vibrant-request-card p,
.vibrant-request-card h4,
.vibrant-request-card strong { color: #fff; }
.admin-strong-surface { background: linear-gradient(135deg, rgba(238,248,255,.98), rgba(243,235,255,.95)); }
.settings-zone { background: linear-gradient(135deg, rgba(255,242,248,.98), rgba(255,247,230,.96)); }
.listing-zone-base { background: linear-gradient(135deg, rgba(236,251,255,.96), rgba(238,246,255,.98)); }
.listing-zone-resale { background: linear-gradient(135deg, rgba(243,238,255,.96), rgba(255,240,251,.98)); }
.colorful-mini-row { color: var(--text); }
.mini-base-row { background: linear-gradient(135deg, rgba(223,248,255,.96), rgba(239,246,255,.98)); }
.mini-resale-row { background: linear-gradient(135deg, rgba(239,228,255,.98), rgba(255,231,244,.96)); }
.colorful-grid .metric { color: var(--text-strong); }
.metric-state { background: linear-gradient(135deg, #fff7d8, #fff0bf); }
.metric-buy { background: linear-gradient(135deg, #ddf7ff, #d7efff); }
.metric-sale { background: linear-gradient(135deg, #e5ffe9, #d9fff0); }
.metric-trend { background: linear-gradient(135deg, #f1e6ff, #efe9ff); }
.stat-sky { background: linear-gradient(135deg, #dff5ff, #ecfbff); }
.stat-purple { background: linear-gradient(135deg, #eee7ff, #f7f3ff); }
.stat-pink { background: linear-gradient(135deg, #ffe3ef, #fff0f7); }
.stat-gold { background: linear-gradient(135deg, #fff0c9, #fff8e7); }
.danger-zone {
  border-top: 1px solid rgba(103, 138, 187, 0.14);
  margin-top: 20px;
  padding-top: 20px;
}
.danger-zone h4 { margin: 0 0 8px; }
.compact input,
.compact select,
.compact textarea { padding: 11px 12px; }
.admin-split { align-items: start; }
.catalog-hero { animation: cardGlow 6s ease-in-out infinite; }
.catalog-base-card {
  border-left: 8px solid #1aa7ff;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(239,248,255,.96));
}
.catalog-resale-card {
  border-left: 8px solid #8d4dff;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(246,239,255,.96));
}
.order-admin-card { border-left: 8px solid #ff8a00; }
.state-danger { box-shadow: 0 16px 34px rgba(240, 68, 97, 0.10); }
.state-warning { box-shadow: 0 16px 34px rgba(255, 159, 10, 0.12); }
.state-success { box-shadow: 0 16px 34px rgba(0, 168, 107, 0.10); }
.state-neutral { box-shadow: 0 16px 34px rgba(89, 112, 138, 0.10); }
.catalog-legend {
  margin-bottom: 22px;
}
.catalog-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  margin-top: 18px;
  border-radius: 20px;
  border: 1px solid rgba(103,138,187,.14);
  background: rgba(255,255,255,.72);
}
.catalog-callout strong { color: var(--text-strong); }
.login-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
}
.login-shell { width: min(580px, calc(100% - 30px)); }
.login-card { padding: 30px; }
.login-brand { text-align: center; margin-bottom: 18px; }
.login-brand .brand-logo { margin: 0 auto 16px; display: block; }
.narrow { max-width: 640px; margin: 0 auto 20px; }
.helper-text code {
  background: #f1f5fb;
  padding: 3px 8px;
  border-radius: 8px;
}
hr { border: 0; border-top: 1px solid rgba(103, 138, 187, 0.14); margin: 20px 0; }
.inline-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-actions form { margin: 0; }
.schema-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8d8, #fff5e7);
  color: #5d4700;
  border: 1px solid #f3d76d;
}
.mini-row .inline-actions { margin-left: auto; }
.mini-row { align-items: center; }
.mini-row > div:first-child { flex: 1; }
.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 26px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.55);
  border: 1px dashed rgba(103,138,187,.18);
}

.js-ui .ready-reveal {
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .5s ease, transform .5s ease;
}
.js-ui .ready-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; }
  .catalog-focus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .stats-grid,
  .grid-2,
  .users-grid,
  .info-grid,
  .content-columns,
  .priority-grid,
  .catalog-focus-grid,
  .section-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-metrics { min-width: 0; }
  .hero-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 15px;
    right: 15px;
    top: 86px;
    padding: 12px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(103,138,187,.18);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: grid; }
  .stats-grid,
  .grid-2,
  .users-grid,
  .form-grid,
  .form-grid.wide,
  .info-grid,
  .content-columns,
  .priority-grid,
  .catalog-focus-grid,
  .section-highlight-grid,
  .hero-panels { grid-template-columns: 1fr; }
  .accordion-item summary,
  .request-card,
  .mini-row,
  .topbar-inner,
  .catalog-callout { flex-direction: column; align-items: stretch; }
  .summary-metrics,
  .meta-badges { justify-content: flex-start; }
  .summary-metrics { width: 100%; }
  .price-stack,
  .status-stack { width: 100%; }
  .shell { padding-top: 18px; }
  .section-block,
  .hero,
  .login-card { padding: 22px; }
  .hero h2 { font-size: 1.8rem; }
}
