/* Bert n Ernie: brand stylesheet. Source of truth for tokens and motion is docs/HANDOFF.md. Mobile first. */

@font-face { font-family: "Instrument Sans"; src: url("/assets/InstrumentSans-647f35c4.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/CourierPrime-Bold-c9ee43fa.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bne-accent: #3E6CB5;
  --bne-ground: #FBF9F6;
  --bne-sand: #F3EFE9;
  --bne-ink: #1F2433;
  --bne-muted: #4A5165;
  --bne-soft: #6B7186;
  --bne-periwinkle: #6E9BD6;
  --bne-blue: #34558F;
  --bne-violet: #6F72E8;
  --bne-pink: #E88BB8;
  --bne-magenta: #D65BB4;
  --bne-peach: #F6C08A;
  --bne-mint: #74C3B5;
  --bne-lavender: #CFC8F2;
  --bne-line: #ECE7E0;
  --bne-line-2: #E3DED6;
  --bne-danger: #C2453F;
  --bne-ok: #2E8B6A;
  --bne-sans: "Instrument Sans", "Helvetica Neue", Helvetica, sans-serif;
  --bne-mono: "Courier Prime", "Courier New", monospace;
  --bne-shadow: 0 1px 2px rgba(31,36,51,.05), 0 12px 32px -16px rgba(31,36,51,.18);
  --bne-shadow-hover: 0 2px 4px rgba(31,36,51,.05), 0 28px 48px -20px rgba(52,85,143,.35);
  --bne-face-shadow: drop-shadow(0 30px 30px rgba(52,85,143,.25));
  --bne-ease: cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bne-ground); color: var(--bne-ink); font-family: var(--bne-sans); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--bne-ink); text-decoration: none; }
a:hover { color: var(--bne-accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bne-accent); outline-offset: 3px; }

/* ---------- motion (verbatim from the approved design) ---------- */
@keyframes bneBobA { 0%,100% { transform: translateY(0) rotate(-4deg) } 50% { transform: translateY(-18px) rotate(1deg) } }
@keyframes bneBobB { 0%,100% { transform: translateY(-10px) rotate(4deg) } 50% { transform: translateY(8px) rotate(-1deg) } }
@keyframes bneDrift { 0%,100% { transform: translate(0,0) scale(1) } 33% { transform: translate(40px,-30px) scale(1.12) } 66% { transform: translate(-30px,20px) scale(0.92) } }
@keyframes bneRise { from { opacity: 0; transform: translateY(28px) } to { opacity: 1; transform: none } }
@keyframes bneMarquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes bnePeek { 0%,55%,100% { transform: translateY(62%) } 68%,88% { transform: translateY(8%) } }
@keyframes bneWiggle { 0%,100% { transform: rotate(0) } 25% { transform: rotate(-12deg) } 75% { transform: rotate(12deg) } }
@keyframes bneSpinIn { from { opacity: 0; transform: scale(0.6) rotate(-20deg) } to { opacity: 1; transform: none } }
.bne-bobA { animation: bneBobA 6s ease-in-out infinite; }
.bne-bobB { animation: bneBobB 6.5s ease-in-out infinite; }
.bne-drift { animation: bneDrift 18s ease-in-out infinite; }
.bne-rise { animation: bneRise .9s var(--bne-ease) both; }
.bne-d1 { animation-delay: .1s } .bne-d2 { animation-delay: .25s } .bne-d3 { animation-delay: .4s } .bne-d4 { animation-delay: .6s }
.bne-pop { animation: bneSpinIn 1s cubic-bezier(.2,.9,.3,1.3) both; }
.bne-marquee { animation: bneMarquee 32s linear infinite; }
.bne-peek { animation: bnePeek 7s ease-in-out infinite; }
.bne-peek2 { animation: bnePeek 7s ease-in-out 3.5s infinite; }
.bne-logo:hover .bne-logo-a { animation: bneWiggle .6s ease-in-out; }
.bne-logo:hover .bne-logo-b { animation: bneWiggle .6s ease-in-out .1s; }
.bne-card { transition: transform .35s var(--bne-ease), box-shadow .35s; }
.bne-card:hover { transform: translateY(-6px); box-shadow: var(--bne-shadow-hover); }
@supports (animation-timeline: view()) {
  .bne-reveal { animation: bneRise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
}
.bne-still *, .bne-still *::before, .bne-still *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .bne-motion * { animation: none !important; } }
@media (max-width: 760px) { .bne-hide-sm { display: none !important; } }

/* ---------- primitives ---------- */
.wrap { box-sizing: content-box; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 640px) { .wrap { padding-left: 32px; padding-right: 32px; } }
.eyebrow { font-family: var(--bne-mono); font-weight: 700; font-size: 15px; color: var(--bne-blue); }
.h2 { margin: 0; font-weight: 600; font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; }
.lede { margin: 0; font-size: 19px; line-height: 1.55; color: var(--bne-muted); }
.face { height: auto; display: block; filter: var(--bne-face-shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; }
.btn--accent { background: var(--bne-accent); color: #FFFFFF; box-shadow: 0 14px 30px -12px rgba(62,108,181,.6); }
.btn--accent:hover { color: #FFFFFF; background: #35609F; }
.btn--white { background: rgba(255,255,255,.85); border: 1px solid var(--bne-line-2); color: var(--bne-ink); }
.btn--ink { padding: 11px 18px; background: var(--bne-ink); color: var(--bne-ground); }
.btn--ink:hover { color: var(--bne-ground); background: #2A3150; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.arrow-ic { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251,249,246,.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--bne-line); }
.nav__inner { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.bne-logo { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.bne-logo__faces { display: flex; align-items: center; }
.bne-logo__faces img { width: 40px; height: 40px; display: block; }
.bne-logo__faces img + img { margin-left: -8px; }
.wordmark { font-family: var(--bne-mono); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--bne-ink); }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links > a:not(.btn) { color: var(--bne-muted); }
.nav__links > a:not(.btn):hover { color: var(--bne-accent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.blob--1 { width: 520px; height: 520px; left: -120px; top: 40px; background: var(--bne-lavender); opacity: .7; }
.blob--2 { width: 460px; height: 460px; right: -100px; top: 120px; background: var(--bne-peach); opacity: .55; animation-delay: -6s; }
.blob--3 { width: 420px; height: 420px; left: 38%; bottom: -160px; background: #9FD8CC; opacity: .55; animation-delay: -12s; }
.hero__inner { box-sizing: content-box; position: relative; max-width: 1100px; margin: 0 auto; padding: 88px 32px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
@media (max-width: 639px) { .hero__inner { padding-left: 20px; padding-right: 20px; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: rgba(255,255,255,.75); border: 1px solid #E6E0F5; color: var(--bne-blue); border-radius: 999px; font-family: var(--bne-mono); font-weight: 700; font-size: 14px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--bne-violet), var(--bne-pink)); }
.hero__h1 { margin: 0; max-width: 960px; font-weight: 600; font-size: clamp(2.75rem, 6.6vw, 5.75rem); line-height: 1.0; letter-spacing: -0.045em; }
.hero__sub { margin: 0; max-width: 600px; font-size: 20px; line-height: 1.55; color: var(--bne-muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero__duo { display: flex; justify-content: center; align-items: flex-end; gap: 0; padding-top: 24px; }

.hero__duo picture { display: block; width: clamp(170px, 30vw, 360px); }
.hero__duo picture + picture { margin-left: -4%; }
.hero__duo .face { width: 100%; }

/* ---------- marquee ---------- */
.ticker { border-top: 1px solid var(--bne-line); border-bottom: 1px solid var(--bne-line); background: #FFFFFF; overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; align-items: center; gap: 36px; font-family: var(--bne-mono); font-weight: 700; font-size: 24px; color: #2A3150; white-space: nowrap; }
.ticker__track img { width: 44px; height: 44px; }

/* ---------- engines ---------- */
.engines { position: relative; background: var(--bne-sand); overflow: hidden; }
.engines__face { position: absolute; right: 4%; top: 64px; width: 200px; display: block; }
.engines__face .face { width: 100%; filter: drop-shadow(0 24px 24px rgba(52,85,143,.22)); }
.engines__inner { position: relative; padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.engine { background: #FFFFFF; border-radius: 28px; padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--bne-shadow); }
.orb { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 -6px 12px rgba(31,36,51,.15), 0 10px 18px -8px var(--orb-glow); background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.85) 0, rgba(255,255,255,0) 38%), linear-gradient(160deg, var(--orb-a), var(--orb-b)); }
.orb--1 { --orb-a: var(--bne-violet); --orb-b: var(--bne-pink); --orb-glow: rgba(111,114,232,.6); }
.orb--2 { --orb-a: var(--bne-peach); --orb-b: var(--bne-pink); --orb-glow: rgba(232,139,184,.6); }
.orb--3 { --orb-a: var(--bne-mint); --orb-b: var(--bne-lavender); --orb-glow: rgba(116,195,181,.6); }
.orb--4 { --orb-a: var(--bne-magenta); --orb-b: var(--bne-violet); --orb-glow: rgba(214,91,180,.6); }
.engine__num { font-family: var(--bne-mono); font-weight: 700; font-size: 14px; color: var(--bne-soft); }
.engine__h3 { margin: 0; font-weight: 600; font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; }
.engine__p, .cap__p, .model-card__p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--bne-muted); }

/* ---------- capabilities ---------- */
.caps__inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 64px; }
.caps__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.caps__face { display: block; width: 210px; margin-top: 24px; }
.caps__face .face { width: 100%; filter: drop-shadow(0 24px 24px rgba(52,85,143,.22)); }
.caps__grid { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-content: start; }
.cap { padding: 30px; border-radius: 28px; display: flex; flex-direction: column; gap: 10px; }
.cap--1 { background: linear-gradient(160deg, #EEF0FF, #FCEAF3); }
.cap--2 { background: linear-gradient(160deg, #FFF1E2, #FCE6F0); }
.cap--3 { background: linear-gradient(160deg, #E4F5F1, #FFF1E2); }
.cap--4 { background: linear-gradient(160deg, #F4E8FB, #E9EEFF); }
.cap__h3 { margin: 0; font-weight: 600; font-size: 21px; letter-spacing: -0.015em; }

/* ---------- model ---------- */
.model { padding: 0 20px; }
.model__panel { position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto; background: var(--bne-periwinkle); border-radius: 44px; padding: 88px 48px; display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 639px) { .model__panel { padding: 64px 28px; border-radius: 36px; } }
.model__blob { width: 420px; height: 420px; right: -80px; top: -120px; background: var(--bne-pink); filter: blur(100px); opacity: .45; }
.model__top { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.model__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.model__eyebrow { font-family: var(--bne-mono); font-weight: 700; font-size: 16px; color: var(--bne-ink); }
.model__statement { margin: 0; font-weight: 600; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -0.03em; color: #FFFFFF; }
.model__duo { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.model__duo picture { display: block; width: 100%; max-width: 420px; }
.model__duo .face { width: 100%; filter: drop-shadow(0 30px 30px rgba(31,36,51,.25)); }
.model__cards { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.model-card { background: rgba(255,255,255,.92); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.model-card__h { font-weight: 600; font-size: 20px; }
.model-card__p { line-height: 1.55; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact__inner { padding-top: 128px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.contact__h2 { margin: 0; max-width: 860px; font-weight: 600; font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.02; letter-spacing: -0.04em; }
.contact__sub { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--bne-muted); }
.contact__form { width: 100%; max-width: 620px; text-align: left; background: #FFFFFF; border-radius: 28px; padding: 28px; box-shadow: var(--bne-shadow); display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .contact__form { padding: 36px; } }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--bne-mono); font-weight: 700; font-size: 13px; color: var(--bne-blue); }
.field.required label::after { content: " *"; color: var(--bne-magenta); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--bne-ink); background: var(--bne-ground); border: 1px solid var(--bne-line-2); border-radius: 14px; outline: none; appearance: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bne-accent); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(62,108,181,.14); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231F2433' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input[type="file"] { padding: 10px 14px; border-style: dashed; }
.form-note { margin: 0; font-size: 14px; color: var(--bne-soft); }
.form-error { margin: 0; padding: 12px 16px; border-radius: 14px; background: #FCEAEA; color: var(--bne-danger); font-size: 15px; font-weight: 500; }
.contact__peek { height: 170px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; gap: 48px; }
.contact__peek img { width: 220px; height: auto; }

/* ---------- footer ---------- */
.footer { position: relative; border-top: 1px solid var(--bne-line); background: var(--bne-ground); }
.footer__inner { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--bne-soft); }
.footer__brand { display: flex; align-items: center; gap: 8px; font-family: var(--bne-mono); font-weight: 700; font-size: 16px; color: var(--bne-ink); }
.footer__brand img { width: 28px; height: 28px; }
.footer__brand img + img { margin-left: -10px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--bne-soft); }

/* ---------- flash ---------- */
.flash-wrap { position: fixed; top: 76px; left: 0; right: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 20px; pointer-events: none; }
.flash { pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 18px; background: #FFFFFF; color: var(--bne-ink); border: 1px solid var(--bne-line-2); border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--bne-shadow-hover); animation: bneRise .35s var(--bne-ease); }
.flash--alert { border-color: var(--bne-danger); color: var(--bne-danger); }
.flash.is-leaving { opacity: 0; transform: translateY(-6px); transition: .3s; }
.flash button { background: none; border: 0; cursor: pointer; color: var(--bne-soft); font-size: 18px; line-height: 1; padding: 4px; }

/* ---------- auth pages ---------- */
.auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 48px 20px; }
.auth__box { width: 100%; max-width: 420px; background: #FFFFFF; border-radius: 28px; padding: 36px 28px; box-shadow: var(--bne-shadow); display: flex; flex-direction: column; gap: 16px; }
.auth__logo { display: flex; justify-content: center; margin-bottom: 4px; }
.auth__h1 { margin: 0; text-align: center; font-weight: 600; font-size: 28px; letter-spacing: -0.03em; }
.auth__foot { margin: 0; text-align: center; font-size: 14px; color: var(--bne-soft); }
.auth__foot a { color: var(--bne-accent); }

/* ================= ADMIN SHELL ================= */
.shell { min-height: 100vh; display: grid; grid-template-rows: 60px auto 1fr; }
.shell__top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; background: rgba(251,249,246,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--bne-line); }
.shell__brand { display: flex; align-items: center; gap: 10px; }
.shell__brand .bne-logo__faces img { width: 32px; height: 32px; }
.shell__brand .wordmark { font-size: 17px; }
.shell__brand span.tag { font-family: var(--bne-mono); font-weight: 700; font-size: 12px; color: var(--bne-blue); padding-left: 10px; border-left: 1px solid var(--bne-line-2); }
.shell__body { display: grid; grid-template-columns: 1fr; }
.shell__side { display: none; }
.shell__main { padding: 24px 16px 96px; min-width: 0; }
.shell__nav { display: flex; gap: 4px; overflow-x: auto; padding: 0 16px; border-bottom: 1px solid var(--bne-line); background: var(--bne-ground); position: sticky; top: 60px; z-index: 40; scrollbar-width: none; }
.shell__nav::-webkit-scrollbar { display: none; }
.shell__nav a { white-space: nowrap; padding: 12px 10px; font-size: 14px; font-weight: 500; color: var(--bne-muted); border-bottom: 2px solid transparent; }
.shell__nav a[aria-current="page"] { color: var(--bne-ink); border-bottom-color: var(--bne-accent); }
@media (min-width: 1024px) {
  .shell__body { grid-template-columns: 240px 1fr; }
  .shell__side { display: block; border-right: 1px solid var(--bne-line); padding: 24px 16px; position: sticky; top: 60px; height: calc(100vh - 60px); overflow-y: auto; }
  .shell__side a { display: block; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--bne-muted); }
  .shell__side a:hover { color: var(--bne-ink); background: var(--bne-sand); }
  .shell__side a[aria-current="page"] { color: var(--bne-ink); background: #FFFFFF; box-shadow: var(--bne-shadow); }
  .shell__side .eyebrow { padding: 0 12px; margin: 20px 0 6px; font-size: 12px; }
  .shell__nav { display: none; }
  .shell__main { padding: 40px 48px 120px; }
}
.page-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 28px; }
.page-title .eyebrow { margin: 0 0 8px; font-size: 13px; }
.page-title h1 { margin: 0; font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.panel { background: #FFFFFF; border-radius: 24px; padding: 22px; box-shadow: var(--bne-shadow); }
.panel .field { margin-bottom: 14px; }
.panel .row { margin-top: 6px; }
.panel h3 { margin: 0 0 14px; font-family: var(--bne-mono); font-weight: 700; font-size: 13px; color: var(--bne-blue); }
.stat { display: block; background: #FFFFFF; border-radius: 24px; padding: 20px 22px; box-shadow: var(--bne-shadow); transition: transform .35s var(--bne-ease), box-shadow .35s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--bne-shadow-hover); color: var(--bne-ink); }
.stat__n { font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.stat__l { font-family: var(--bne-mono); font-weight: 700; font-size: 12px; color: var(--bne-soft); margin-top: 8px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #FFFFFF; border-radius: 20px; box-shadow: var(--bne-shadow); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.table th { text-align: left; font-family: var(--bne-mono); font-weight: 700; font-size: 12px; color: var(--bne-soft); padding: 12px 16px; border-bottom: 1px solid var(--bne-line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--bne-line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--bne-ground); }
.table a.row-link { color: var(--bne-ink); font-weight: 600; }
.table a.row-link:hover { color: var(--bne-accent); }
.chip { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: 999px; background: var(--bne-sand); font-family: var(--bne-mono); font-weight: 700; font-size: 12px; color: var(--bne-muted); }
.chip--ok { background: #E4F5F1; color: var(--bne-ok); }
.chip--warn { background: #FCEAEA; color: var(--bne-danger); }
.chip--accent { background: #EEF0FF; color: var(--bne-accent); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--bne-sand); display: inline-grid; place-items: center; font-family: var(--bne-mono); font-weight: 700; font-size: 12px; color: var(--bne-blue); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 72px; height: 72px; font-size: 20px; }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0; font-size: 15px; }
.dl dt { font-family: var(--bne-mono); font-weight: 700; font-size: 12px; color: var(--bne-soft); padding-top: 3px; }
.dl dd { margin: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs a { padding: 8px 16px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--bne-line-2); font-size: 14px; font-weight: 500; color: var(--bne-muted); }
.tabs a[aria-current="page"] { color: #FFFFFF; background: var(--bne-ink); border-color: var(--bne-ink); }
.empty { padding: 40px 20px; text-align: center; color: var(--bne-soft); border: 1px dashed var(--bne-line-2); border-radius: 20px; }
.copy { font-size: 16px; line-height: 1.6; color: var(--bne-muted); }
.copy p { margin: 0 0 1em; }
.mute { color: var(--bne-soft); }
.small { font-size: 13px; }
.link { color: var(--bne-accent); }
