/* ============================================================
   Baraa Trading — design system
   Direction: "calm night trading desk". Deep ink, halal emerald, one gold accent.
   One source of truth: tokens below. Dark by default, light follows the OS.
   ============================================================ */
:root {
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  /* surfaces */
  --bg: #070d12; --bg-2: #0b141b; --card: #0f1a22; --card-2: #13212b; --line: #1d2d38; --line-2: #263946;
  /* text */
  --fg: #e8f0f2; --fg-2: #b6c4cb; --mut: #7d919b;
  /* brand */
  --acc: #34d399; --acc-2: #10b981; --acc-ink: #04241a; --acc-soft: rgba(52, 211, 153, .12);
  --gold: #e8c36a; --gold-soft: rgba(232, 195, 106, .14);
  /* status */
  --ok: #34d399; --bad: #f87171; --warn: #fbbf24; --info: #60a5fa;
  /* shape */
  --r-sm: 8px; --r: 14px; --r-lg: 20px;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .25);
  --sh-2: 0 10px 30px -12px rgba(0, 0, 0, .55);
  --sh-3: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --ring: 0 0 0 3px rgba(52, 211, 153, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
:root { color-scheme: dark; }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh;
  background-image: radial-gradient(1200px 600px at 100% -10%, rgba(52, 211, 153, .06), transparent 60%),
                    radial-gradient(900px 500px at -10% 110%, rgba(232, 195, 106, .05), transparent 60%);
  background-attachment: fixed;
}
.hidden { display: none !important; }
.mut { color: var(--mut); }
.pos { color: var(--ok); } .neg { color: var(--bad); } .warn { color: var(--warn); }
a { color: var(--acc); }
code { direction: ltr; unicode-bidi: embed; font-size: .88em; background: var(--card-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
pre { white-space: pre-wrap; word-break: break-word; font-size: 12px; background: var(--bg-2); padding: 10px; border-radius: var(--r-sm); direction: ltr; text-align: left; max-height: 340px; overflow: auto; border: 1px solid var(--line); }
::selection { background: var(--acc-soft); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }

/* ============================================================ LOGIN */
.login { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px 16px; overflow: auto; background: var(--bg); z-index: 50; }
.login-bg { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .9; }
.login-glow { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.login-glow.g1 { width: 520px; height: 520px; background: rgba(16, 185, 129, .18); top: -160px; inset-inline-end: -120px; }
.login-glow.g2 { width: 460px; height: 460px; background: rgba(232, 195, 106, .10); bottom: -180px; inset-inline-start: -120px; animation-delay: -6s; }
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }

.login-shell { position: relative; width: min(1040px, 100%); display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; }
.login-side { color: var(--fg); padding: 8px 12px; animation: rise .8s var(--ease) both; }
.side-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font-size: 13px; font-weight: 600; border: 1px solid rgba(52, 211, 153, .25); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.login-side h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.2; margin: 18px 0 18px; font-weight: 700; letter-spacing: -.5px; }
.login-side .hl { background: linear-gradient(90deg, var(--acc), #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; color: var(--fg-2); font-size: 15px; }
.side-points li { display: flex; gap: 10px; align-items: baseline; opacity: 0; animation: rise .7s var(--ease) forwards; }
.side-points li:nth-child(1) { animation-delay: .25s; } .side-points li:nth-child(2) { animation-delay: .4s; } .side-points li:nth-child(3) { animation-delay: .55s; }
.side-points span { color: var(--gold); width: 18px; text-align: center; }
.side-ticker { display: flex; gap: 6px; align-items: flex-end; height: 64px; }
.side-ticker i { flex: 1; max-width: 18px; border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, rgba(52, 211, 153, .15), var(--acc)); animation: bar 2.4s ease-in-out infinite; }
.side-ticker i:nth-child(3n) { background: linear-gradient(to top, rgba(248, 113, 113, .12), #f87171); }
.side-ticker i:nth-child(1) { animation-delay: -.1s } .side-ticker i:nth-child(2) { animation-delay: -.5s } .side-ticker i:nth-child(3) { animation-delay: -.9s }
.side-ticker i:nth-child(4) { animation-delay: -1.3s } .side-ticker i:nth-child(5) { animation-delay: -1.7s } .side-ticker i:nth-child(6) { animation-delay: -.3s }
.side-ticker i:nth-child(7) { animation-delay: -.7s } .side-ticker i:nth-child(8) { animation-delay: -1.1s } .side-ticker i:nth-child(9) { animation-delay: -1.5s }
.side-ticker i:nth-child(10) { animation-delay: -1.9s } .side-ticker i:nth-child(11) { animation-delay: -.2s } .side-ticker i:nth-child(12) { animation-delay: -.6s }
@keyframes bar { 0%, 100% { height: 22%; } 50% { height: 100%; } }

.login-card {
  position: relative; background: linear-gradient(180deg, rgba(19, 33, 43, .82), rgba(12, 22, 29, .86));
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 32px 28px 22px; box-shadow: var(--sh-3);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  animation: card-in .9s var(--ease) both .1s;
}
.login-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(52, 211, 153, .55), transparent 35%, transparent 65%, rgba(232, 195, 106, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.login-brand .logo { color: var(--acc); flex: none; filter: drop-shadow(0 6px 18px rgba(16, 185, 129, .35)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-4px); } }
.login-brand h1 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: .2px; direction: ltr; text-align: end; }
.login-brand h1 span { color: var(--acc); font-weight: 500; }
.login-brand p { margin: 2px 0 0; color: var(--mut); font-size: 14px; }

.field { display: block; margin-bottom: 16px; }
.field-label { display: block; font-size: 14px; color: var(--fg-2); margin-bottom: 6px; font-weight: 500; }
.field-box { position: relative; display: flex; align-items: center; background: rgba(7, 13, 18, .55); border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field-box:focus-within { border-color: var(--acc); box-shadow: var(--ring); background: rgba(7, 13, 18, .75); }
.field-box .ico { width: 20px; height: 20px; margin-inline-start: 14px; fill: none; stroke: var(--mut); stroke-width: 1.8; stroke-linecap: round; flex: none; transition: stroke .2s; }
.field-box:focus-within .ico { stroke: var(--acc); }
.field-box input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); font: 500 17px var(--font); padding: 14px 12px; outline: none; margin: 0; letter-spacing: .5px; }
.field-box input::placeholder { color: #4b5f69; letter-spacing: 6px; }
.eye { background: transparent; border: 0; padding: 10px 12px; cursor: pointer; display: grid; place-items: center; color: var(--mut); border-radius: 10px; }
.eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.eye:hover, .eye[aria-pressed="true"] { color: var(--acc); }
.caps { display: block; font-size: 12.5px; color: var(--warn); margin-top: 6px; }
.code-field { max-height: 0; opacity: 0; overflow: hidden; margin: 0; transition: max-height .45s var(--ease), opacity .35s, margin .45s; }
.code-field.show { max-height: 120px; opacity: 1; margin-bottom: 16px; }
.code-field input { text-align: center; font-size: 22px; letter-spacing: 10px; }

.login-btn { position: relative; width: 100%; border: 0; border-radius: 12px; padding: 14px 18px; cursor: pointer; overflow: hidden;
  font: 600 17px var(--font); color: var(--acc-ink); background: linear-gradient(135deg, #6ee7b7, var(--acc) 45%, var(--acc-2));
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, .6); transition: transform .15s, box-shadow .2s, filter .2s; }
.login-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.5s infinite 1.2s; }
@keyframes shine { 40%, 100% { transform: translateX(120%); } }
.login-btn:hover { filter: brightness(1.06); box-shadow: 0 14px 36px -10px rgba(16, 185, 129, .75); }
.login-btn:active { transform: scale(.985); }
.login-btn .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(4, 36, 26, .25); border-top-color: var(--acc-ink); animation: spin .7s linear infinite; margin: 0 auto; }
.login-btn.loading .btn-text { display: none; } .login-btn.loading .spinner { display: block; } .login-btn.loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.login-err { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--bad); text-align: center; }
.login-card.shake { animation: shake .45s; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
.login-card.ok { animation: ok .6s var(--ease) forwards; }
@keyframes ok { to { opacity: 0; transform: translateY(-12px) scale(.97); filter: blur(4px); } }
.login-foot { margin: 6px 0 0; text-align: center; color: var(--mut); font-size: 12.5px; }

/* ============================================================ APP SHELL */
#app { animation: app-in .6s var(--ease) both; }
@keyframes app-in { from { opacity: 0; } to { opacity: 1; } }
.topbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 10px 20px;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.brand .logo { color: var(--acc); }
.brand-name { font-size: 18px; font-weight: 600; direction: ltr; letter-spacing: .2px; }
.brand-name b { color: var(--acc); font-weight: 600; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(232, 195, 106, .3); }
nav { display: flex; flex-wrap: wrap; gap: 4px; }
nav a { padding: 7px 12px; border-radius: 10px; color: var(--fg-2); text-decoration: none; cursor: pointer; font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s; position: relative; }
nav a:hover { background: var(--card-2); color: var(--fg); }
nav a.on { background: var(--acc-soft); color: var(--acc); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3); }
.logout { display: inline-flex; align-items: center; gap: 6px; }
.logout svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
main { max-width: 1240px; margin: auto; padding: 18px 20px 8px; }
footer { text-align: center; padding: 24px 16px 32px; font-size: 12.5px; }
h2 { margin: 8px 0 14px; font-size: 22px; font-weight: 700; letter-spacing: -.2px; }
h3 { margin: 2px 0 10px; font-size: 16.5px; font-weight: 600; }

/* ============================================================ CARDS / GRID */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.card { background: linear-gradient(180deg, var(--card), color-mix(in srgb, var(--card) 85%, var(--bg))); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 16px; overflow-x: auto; box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card.kpi { position: relative; overflow: hidden; }
.card.kpi::after { content: ""; position: absolute; inset-inline-end: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--acc-soft); opacity: .6; transition: transform .4s var(--ease); }
.card.kpi:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card.kpi:hover::after { transform: scale(1.4); }
.kpi .l { color: var(--mut); font-size: 13.5px; position: relative; z-index: 1; }
.kpi .v { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; position: relative; z-index: 1; margin-top: 2px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ============================================================ TABLES */
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
th { color: var(--mut); font-weight: 600; font-size: 13px; text-align: start; padding: 9px 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); }
td { padding: 10px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr, tr { transition: background .2s; }
tr:hover td { background: color-mix(in srgb, var(--acc) 4%, transparent); }

/* ============================================================ PILLS / BADGES */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--line-2); background: var(--card-2); color: var(--fg-2); white-space: nowrap; }
.pill.ok { border-color: rgba(52, 211, 153, .35); color: var(--ok); background: rgba(52, 211, 153, .08); }
.pill.bad { border-color: rgba(248, 113, 113, .35); color: var(--bad); background: rgba(248, 113, 113, .08); }
.pill.warn { border-color: rgba(251, 191, 36, .35); color: var(--warn); background: rgba(251, 191, 36, .08); }

/* ============================================================ FORMS / BUTTONS */
button { font: 600 15px var(--font); background: var(--acc); color: var(--acc-ink); border: 0; border-radius: 10px; padding: 9px 16px; cursor: pointer; transition: transform .1s, filter .2s, background .2s, box-shadow .2s; }
button:hover { filter: brightness(1.08); }
button:active { transform: scale(.97); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.ghost { background: transparent; color: var(--fg-2); border: 1px solid var(--line-2); }
button.ghost:hover { background: var(--card-2); color: var(--fg); }
button.danger { background: var(--bad); color: #fff; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); color: var(--fg); font: 15px var(--font); margin: 4px 0 12px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acc); box-shadow: var(--ring); }
.err { color: var(--bad); margin-top: 8px; }
.banner { background: linear-gradient(90deg, rgba(251, 191, 36, .18), rgba(251, 191, 36, .08)); color: var(--warn); padding: 10px 16px; text-align: center; border-bottom: 1px solid rgba(251, 191, 36, .3); font-weight: 500; }
details summary { cursor: pointer; color: var(--acc); }

/* ============================================================ LIVE LAYER */
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ok); font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--acc-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); }
.dot.beat { animation: beat 1.2s ease-out; }
.dot.off { background: var(--bad); animation: none; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); } 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }
.tape { overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); white-space: nowrap; direction: ltr;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape-in { display: inline-block; padding: 8px 0; animation: tape 70s linear infinite; }
.tape:hover .tape-in { animation-play-state: paused; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 14px; font-size: 13.5px; border-radius: 8px; transition: background .3s; }
.tk b { color: var(--fg); font-weight: 600; }
.tk i { font-style: normal; font-variant-numeric: tabular-nums; color: var(--fg-2); }
.tk.whale b::after { content: " 🐋"; }
.flash-up { animation: fup 1.1s ease-out; } .flash-down { animation: fdn 1.1s ease-out; }
@keyframes fup { 0% { background: rgba(52, 211, 153, .35); } 100% { background: transparent; } }
@keyframes fdn { 0% { background: rgba(248, 113, 113, .35); } 100% { background: transparent; } }

.livebar { display: grid; grid-template-columns: 1.4fr repeat(7, minmax(110px, 1fr)); gap: 10px; max-width: 1240px; margin: 16px auto 0; padding: 0 20px; }
.lk { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; animation: rise .5s var(--ease) both; }
.lk:nth-child(2) { animation-delay: .04s } .lk:nth-child(3) { animation-delay: .08s } .lk:nth-child(4) { animation-delay: .12s }
.lk:nth-child(5) { animation-delay: .16s } .lk:nth-child(6) { animation-delay: .2s } .lk:nth-child(7) { animation-delay: .24s } .lk:nth-child(8) { animation-delay: .28s }
.lk.hero { background: linear-gradient(135deg, rgba(16, 185, 129, .18), var(--card) 70%); border-color: rgba(52, 211, 153, .3); }
.lk .l { font-size: 12px; color: var(--mut); }
.lk .v { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; transition: color .4s; }
.lk.hero .v { font-size: 22px; }
.v.up { animation: glowup .9s; } .v.down { animation: glowdn .9s; }
@keyframes glowup { 0% { color: var(--ok); transform: translateY(-2px); } 100% { transform: none; } }
@keyframes glowdn { 0% { color: var(--bad); transform: translateY(2px); } 100% { transform: none; } }

#page .card { animation: rise .45s var(--ease) both; }
#page .card:nth-child(2) { animation-delay: .05s } #page .card:nth-child(3) { animation-delay: .1s } #page .card:nth-child(4) { animation-delay: .15s } #page .card:nth-child(5) { animation-delay: .2s }
#page.soft .card { animation: none; }
#page.soft { animation: softin .5s ease; }
@keyframes softin { from { opacity: .55; } to { opacity: 1; } }
.fade { animation: rise .4s var(--ease) both; }
.meter { width: 84px; height: 7px; background: var(--line); border-radius: 6px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--warn), var(--bad)); transition: width .6s; }
.toasts { position: fixed; bottom: 16px; left: 16px; z-index: 60; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--card-2); border: 1px solid var(--line-2); border-inline-start: 4px solid var(--acc); border-radius: 12px; padding: 11px 14px; box-shadow: var(--sh-2); animation: tin .35s var(--ease); font-size: 14px; }
.toast.bad { border-inline-start-color: var(--bad); } .toast.warn { border-inline-start-color: var(--warn); } .toast.ok { border-inline-start-color: var(--ok); }
.toast.out { opacity: 0; transform: translateX(-20px); transition: all .6s; }
@keyframes tin { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }

/* ============================================================ RESPONSIVE */
@media (max-width: 1100px) { .livebar { grid-template-columns: repeat(4, 1fr); } .lk.hero { grid-column: span 2; } }
@media (max-width: 860px) {
  .login-shell { grid-template-columns: 1fr; max-width: 440px; }
  .login-side { text-align: center; padding: 0; }
  .login-side h2 { font-size: 30px; margin: 14px 0 0; }
  .side-points, .side-ticker { display: none; }
}
@media (max-width: 640px) {
  main { padding: 12px 12px 4px; }
  .topbar { padding: 8px 12px; }
  nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { white-space: nowrap; }
  .livebar { grid-template-columns: repeat(2, 1fr); padding: 0 12px; gap: 8px; }
  .lk.hero { grid-column: span 2; }
  .kpi .v { font-size: 19px; }
  .login-card { padding: 26px 18px 18px; }
  .logout span { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* the login screen is always the dark "night desk", whatever the OS theme */
.login { color-scheme: dark; --bg: #070d12; --bg-2: #0b141b; --card: #0f1a22; --card-2: #13212b; --line: #1d2d38; --line-2: #263946;
  --fg: #e8f0f2; --fg-2: #b6c4cb; --mut: #7d919b; --acc: #34d399; --acc-2: #10b981; --acc-ink: #04241a; --acc-soft: rgba(52, 211, 153, .12);
  --gold: #e8c36a; --bad: #f87171; --warn: #fbbf24; color: var(--fg); }

/* fields inside .field-box are bare: the box itself shows focus (fixes the "box inside a box") */
.field-box input, .field-box input:focus, .field-box input:hover { border: 0 !important; box-shadow: none !important; background: transparent !important; margin: 0 !important; outline: none; border-radius: 0; }
