/* CollabAce AI Cyber Range: Meridian Bank (fictional) training app.
   Palette: petrol (bank), monsoon teal (links), turmeric (main actions), mist (page). Type: Mukta (Ek Type, OFL). */
@font-face { font-family:"Mukta"; font-weight:400; font-display:swap; src:url(/static/fonts/mukta-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family:"Mukta"; font-weight:600; font-display:swap; src:url(/static/fonts/mukta-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family:"Mukta"; font-weight:700; font-display:swap; src:url(/static/fonts/mukta-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family:"Mukta"; font-weight:800; font-display:swap; src:url(/static/fonts/mukta-latin-800-normal.woff2) format("woff2"); }
:root {
  --petrol:#0D3B45; --petrol2:#14525F; --teal:#1F7A7A; --turmeric:#E3A72F; --turmeric2:#F0BC55;
  --mist:#EEF3F2; --paper:#FFFFFF; --ink:#142229; --muted:#5A6B70; --line:#D6E0DF; --soft:#F5F8F8;
  --good:#1C7C4A; --bad:#B3261E; --warn:#8A5A00;
  --navy:var(--petrol); --navy2:var(--petrol2); --gold:var(--turmeric); --gold2:var(--turmeric2);
  --bg:var(--mist); --card:var(--paper);
  --r-lg:20px; --r-md:14px; --r-sm:10px;
}
* { box-sizing:border-box; }
body { margin:0; font:16px/1.55 "Mukta",system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--ink); background:var(--mist); -webkit-font-smoothing:antialiased; }
a { color:var(--teal); text-underline-offset:2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline:3px solid var(--turmeric); outline-offset:2px; }
h1 { font-size:30px; line-height:1.15; font-weight:800; letter-spacing:-.01em; margin:6px 0 14px; }
h2 { font-size:19px; font-weight:700; margin:0 0 12px; } h3 { font-weight:700; margin:0 0 6px; }
.muted { color:var(--muted); } .mono { font-family:ui-monospace,Menlo,Consolas,monospace; font-size:13px; }
.r { text-align:right; } .small { font-size:14px; }
.skip { position:absolute; left:-999px; } .skip:focus { left:12px; top:8px; z-index:20; background:#fff; padding:6px 10px; border-radius:8px; }

/* ---- CollabAce range bar (white: the logo is designed for light backgrounds) */
.range-bar { display:flex; align-items:center; gap:22px; background:var(--paper); padding:8px 28px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.range-brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); }
.range-logo { height:34px; width:auto; display:block; }
.range-name { font-weight:700; font-size:15px; color:var(--muted); padding-left:12px; border-left:1px solid var(--line); }
.range-nav { display:flex; gap:2px; flex:1; flex-wrap:wrap; }
.range-nav a { color:var(--ink); text-decoration:none; padding:6px 12px; border-radius:999px; font-weight:600; font-size:15px; }
.range-nav a:hover { background:var(--soft); }
.range-nav .range-admin { border:1px solid var(--line); }
.range-user { display:flex; align-items:center; gap:10px; }
.range-user .uname { display:flex; flex-direction:column; font-size:14px; line-height:1.2; font-weight:600; }
.range-user small { color:var(--muted); font-weight:400; }
.avatar { width:32px; height:32px; border-radius:50%; object-fit:cover; }
.avatar.initials { display:inline-grid; place-items:center; background:var(--petrol); color:#fff; font-weight:700; }
.linkbtn { background:none; border:none; color:inherit; text-decoration:underline; cursor:pointer; font:inherit; padding:0; }
.range-user .linkbtn { color:var(--muted); font-size:14px; }
.training-banner { background:#FFF6DF; color:#6B4E00; text-align:center; font-size:14px; padding:6px 12px; border-bottom:1px solid #F1DFA6; }

/* ---- Meridian Bank bar */
.bank-bar { display:flex; align-items:center; gap:28px; background:var(--petrol); color:#fff; padding:0 28px; min-height:60px; }
.bank-brand { display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; font-weight:800; font-size:20px; letter-spacing:-.01em; }
.bank-nav { display:flex; gap:6px; align-self:stretch; }
.bank-nav a { color:#CFE3E3; text-decoration:none; font-weight:600; padding:0 14px; display:flex; align-items:center; border-bottom:3px solid transparent; }
.bank-nav a:hover { color:#fff; }
.bank-nav a.on { color:#fff; border-bottom-color:var(--turmeric); }

.page { max-width:1180px; margin:0 auto; padding:26px 28px 48px; }
.foot { text-align:center; font-size:13px; color:var(--muted); padding:18px 20px 28px; }
.foot p { margin:0 0 6px; }
.foot-links { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; } .foot-links a { color:inherit; }

/* ---- buttons, tags, forms */
.btn { display:inline-flex; align-items:center; gap:8px; background:var(--petrol); color:#fff; border:none; border-radius:999px; padding:10px 20px; font:inherit; font-weight:700; cursor:pointer; text-decoration:none; line-height:1.2; }
.btn:hover { background:var(--petrol2); }
.btn.gold, .btn.turmeric { background:var(--turmeric); color:#2B1D00; } .btn.gold:hover, .btn.turmeric:hover { background:var(--turmeric2); }
.btn.ghost { background:#fff; color:var(--petrol); border:1px solid var(--line); } .btn.ghost:hover { background:var(--soft); }
.btn.small { padding:5px 12px; font-size:14px; }
.btn:disabled { opacity:.5; cursor:wait; }
.tag { display:inline-block; font-size:12px; font-weight:700; padding:1px 9px; border-radius:999px; background:#E3ECEB; color:#2C4A50; }
.tag.good { background:#DCF1E5; color:var(--good); } .tag.bad { background:#FBE3E0; color:var(--bad); } .tag.warn { background:#FFF0CC; color:var(--warn); }
.alert { padding:10px 14px; border-radius:var(--r-sm); background:#E6F0EF; margin:12px 0; }
.alert.ok { background:#DCF1E5; color:#175F3A; } .alert.error { background:#FBE3E0; color:#8E1F18; }
input, select, textarea { font:inherit; padding:9px 12px; border:1px solid #C3D1D0; border-radius:var(--r-sm); background:#fff; color:var(--ink); }

/* ---- landing + login */
body.landing .page { max-width:1120px; }
.land-hero { display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; padding:28px 0 10px; }
.land-copy h1 { font-size:46px; line-height:1.05; margin-bottom:16px; }
.land-copy p { font-size:18px; color:#33474D; max-width:560px; }
.land-card { display:flex; justify-content:center; }
.land-card .acct-hero { width:100%; max-width:400px; transform:rotate(-3deg); }
.land-points { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:34px; border-top:1px solid var(--line); padding-top:22px; }
.land-points h2 { font-size:17px; margin-bottom:4px; } .land-points p { margin:0; color:var(--muted); }
.login-card { max-width:460px; margin:34px auto; background:var(--paper); padding:32px; border-radius:var(--r-lg); border:1px solid var(--line); }
.login-logo { height:44px; width:auto; display:block; margin-bottom:18px; }
.login-card h1 { font-size:26px; }
.btn.google { background:#fff; color:#1F1F1F; border:1px solid #C8D2D1; width:100%; justify-content:center; }
.devlogin { margin-top:24px; padding-top:18px; border-top:1px dashed var(--line); display:grid; gap:10px; }
.devlogin label { display:grid; gap:4px; font-size:14px; color:var(--muted); }
details.devlogin form { display:grid; gap:10px; margin-top:10px; } details.devlogin summary { cursor:pointer; font-weight:700; color:var(--petrol); }

/* ---- home: the account card is the one bold element */
.greet { font-size:28px; font-weight:800; margin:0 0 16px; letter-spacing:-.01em; }
.home-top { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:18px; margin-bottom:18px; }
.acct-hero { position:relative; overflow:hidden; color:#fff; border-radius:var(--r-lg); padding:22px 24px; min-height:210px; display:flex; flex-direction:column;
  background-color:var(--petrol);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 220'%3E%3Cg fill='none' stroke='%23E3A72F' stroke-opacity='.22' stroke-width='1.2'%3E%3Cellipse cx='330' cy='110' rx='12' ry='150'/%3E%3Cellipse cx='330' cy='110' rx='40' ry='150'/%3E%3Cellipse cx='330' cy='110' rx='72' ry='150'/%3E%3Cellipse cx='330' cy='110' rx='108' ry='150'/%3E%3Cellipse cx='330' cy='110' rx='150' ry='150'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(150deg,#14525F 0%,#0D3B45 55%,#0A2F37 100%);
  background-size:cover; background-position:right center; }
.acct-hero-top { display:flex; justify-content:space-between; gap:12px; font-weight:600; color:#CFE3E3; }
.acct-no { font-family:ui-monospace,Menlo,Consolas,monospace; font-size:14px; letter-spacing:.06em; color:#fff; }
.acct-hero-label { margin:auto 0 0; color:#BFD8D8; font-size:15px; }
.acct-hero-bal { margin:0; font-size:42px; font-weight:800; letter-spacing:-.02em; line-height:1.1; font-variant-numeric:tabular-nums; }
.acct-hero-foot { display:flex; justify-content:space-between; gap:12px; margin-top:14px; font-size:13px; color:#A9C8C8; }
.acct-others { display:grid; gap:12px; align-content:start; }
.acct-tile { display:flex; flex-direction:column; gap:2px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-md); padding:14px 18px; color:var(--ink); text-decoration:none; }
.acct-tile b { font-size:22px; font-variant-numeric:tabular-nums; } .acct-tile small { color:var(--muted); }
.acct-tile-kind { font-weight:700; color:var(--petrol); }
.acct-tile.credit b { color:var(--bad); }
.aria-tile { background:var(--soft); border-style:dashed; } .aria-tile span:last-child { color:var(--muted); font-size:15px; }
.aria-tile:hover { border-color:var(--teal); }
.quick { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:0 0 18px; }
.quick a { display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 8px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-md); color:var(--ink); text-decoration:none; font-weight:600; font-size:15px; text-align:center; }
.quick a:hover { border-color:var(--teal); }
.qi { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:#E3EFEE; }
.qi svg { width:22px; height:22px; fill:none; stroke:var(--petrol); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.quick a.lab .qi { background:#FFF1D3; } .quick a.lab .qi svg { stroke:#8A5A00; }

/* ---- panels + transactions as a list */
.panel { background:var(--paper); border:1px solid var(--line); border-radius:var(--r-md); padding:20px; margin-bottom:18px; }
.panel-head { display:flex; justify-content:space-between; align-items:baseline; }
.txlist { list-style:none; margin:0; padding:0; }
.txlist li { display:grid; grid-template-columns:40px minmax(0,1fr) auto; gap:12px; align-items:center; padding:11px 0; border-top:1px solid #E6EDEC; }
.txlist li:first-child { border-top:none; } .txlist li.empty { display:block; color:var(--muted); }
.tx-icon { width:40px; height:40px; border-radius:12px; display:grid; place-items:center; background:#E9F0EF; color:var(--petrol); font-weight:800; }
.tx-icon.in { background:#DCF1E5; color:var(--good); }
.tx-main { display:flex; flex-direction:column; min-width:0; } .tx-main b { font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tx-main small { color:var(--muted); font-size:13px; }
.tx-amt { text-align:right; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; display:flex; flex-direction:column; align-items:flex-end; }
.tx-amt.pos { color:var(--good); } .tx-act { font-size:13px; font-weight:600; }
.txns { width:100%; border-collapse:collapse; }
.txns th { text-align:left; font-size:13px; color:var(--muted); font-weight:600; border-bottom:1px solid var(--line); padding:8px; }
.txns td { padding:10px 8px; border-bottom:1px solid #E6EDEC; vertical-align:top; }
.neg { color:var(--ink); } .pos { color:var(--good); font-weight:600; }
.status { font-size:12px; padding:1px 8px; border-radius:999px; background:#E9F0EF; color:#2C4A50; }
.status.refunded, .status.approved, .status.issued { background:#DCF1E5; color:var(--good); }
.status.pending_approval, .status.disputed { background:#FFF0CC; color:var(--warn); } .status.rejected { background:#FBE3E0; color:var(--bad); }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:22px; }
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-bottom:22px; }
.acct { background:var(--card); border:1px solid var(--line); border-radius:var(--r-md); padding:18px 20px; display:flex; flex-direction:column; gap:2px; }

/* ---- chat */
.chat-head { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.agent-pick { display:flex; gap:8px; align-items:flex-end; } .agent-pick label { display:grid; gap:4px; font-size:14px; color:var(--muted); }
.chat-layout { display:grid; grid-template-columns:1fr; gap:18px; }
.chat-layout.with-xray { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
.chat { background:var(--paper); border:1px solid var(--line); border-radius:var(--r-lg); display:flex; flex-direction:column; height:72vh; min-height:480px; overflow:hidden; }
.chat-title { display:flex; align-items:center; gap:10px; padding:12px 16px; border-bottom:1px solid var(--line); font-weight:700; background:var(--soft); }
.chat-title .linkbtn { margin-left:auto; font-weight:400; font-size:14px; color:var(--muted); }
.dot { width:9px; height:9px; border-radius:50%; background:#2EB872; }
.messages { flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:10px; }
.msg { max-width:85%; padding:10px 14px; border-radius:18px; white-space:normal; word-wrap:break-word; }
.msg.user { align-self:flex-end; background:var(--petrol); color:#fff; border-bottom-right-radius:6px; }
.msg.assistant { align-self:flex-start; background:#E9F0EF; border-bottom-left-radius:6px; }
.msg.system { align-self:center; background:#FBE3E0; color:var(--bad); font-size:14px; }
.msg.typing { color:var(--muted); }
.composer { display:flex; gap:10px; padding:12px; border-top:1px solid var(--line); }
.composer textarea { flex:1; resize:none; border-radius:var(--r-md); }
.solved { margin:0 12px 12px; padding:10px 14px; background:#DCF1E5; color:var(--good); border-radius:var(--r-sm); }

/* x-ray */
.xray { background:#0F1722; color:#D7E0EA; border-radius:14px; padding:14px; height:72vh; min-height:480px; overflow-y:auto; font-size:13px; }
.xray .muted { color:#8FA0B2; } .xray h2 { color:#fff; margin:0; }
.xray-head { display:flex; flex-direction:column; margin-bottom:10px; }
.xsummary { display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding:8px 0 10px; border-bottom:1px solid #22303F; }
.xflags { margin:8px 0; }
.xsec { border-bottom:1px solid #22303F; padding:6px 0; } .xsec summary { cursor:pointer; font-weight:700; color:#fff; padding:4px 0; }
.xsec-body { padding:6px 0; }
.xray pre { white-space:pre-wrap; word-break:break-word; background:#162231; padding:8px; border-radius:6px; margin:6px 0; font-size:12px; color:#CFE0F0; max-height:260px; overflow:auto; }
.xchunk { border-left:3px solid #3A5A80; padding-left:8px; margin:8px 0; } .xchunk.inj { border-left-color:#E5484D; }
.xchunk-h { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.xtool { border-left:3px solid var(--gold); padding-left:8px; margin:8px 0; }
.xstep-h { color:#8FA0B2; font-size:12px; margin-top:6px; }
.xev { padding:4px 0; } .xev.guard b { color:#7EE2A8; } .xev.error b { color:#FF8A80; }
.xray .tag { background:#22303F; color:#CFE0F0; } .xray .tag.bad { background:#4A1D1D; color:#FFB4AB; } .xray .tag.good { background:#173B2A; color:#8EE0B0; } .xray .tag.warn { background:#3E3214; color:#F2D27A; }
/* lab */
.lab-head { display:flex; justify-content:space-between; align-items:center; }
.score { background:var(--navy); color:#fff; border-radius:12px; padding:10px 18px; text-align:center; } .score b { display:block; font-size:28px; color:var(--gold2); }
.challenge { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:18px; }
.challenge.done { border-color:#9ED9B8; background:#F4FBF7; }
.ch-top { display:flex; justify-content:space-between; } .pts { font-weight:700; color:var(--gold); }
.domain { font-size:12px; color:var(--muted); }
@media (max-width:900px) { .hero, .grid-3, .grid-2, .features, .chat-layout.with-xray { grid-template-columns:1fr; } .chat, .xray { height:auto; min-height:420px; } }
pre.code{background:var(--petrol);color:#F3E7B8;padding:12px;border-radius:8px;white-space:pre-wrap;word-break:break-all;font:13px/1.5 ui-monospace,Menlo,monospace}
details.devlogin form { display:grid; gap:10px; margin-top:10px; } details.devlogin summary { cursor:pointer; font-weight:600; color:var(--navy, var(--petrol)); }
/* ---- CTF */
.ctf-head { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; }
.score-box { display:flex; flex-direction:column; align-items:center; gap:4px; background:var(--navy); color:#fff; border-radius:14px; padding:14px 22px; min-width:150px; }
.score-box b { font-size:34px; color:var(--gold2); line-height:1; } .score-box small { color:#9FB3C8; }
.flag-form { display:flex; gap:8px; margin:14px 0; } .flag-form input { flex:1; font-family:ui-monospace,Menlo,monospace; }
.ctf-cat { margin-top:22px; }
.ctf-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.ctf-card { display:flex; flex-direction:column; gap:6px; background:var(--card); border:1px solid var(--line); border-top:4px solid #9FB3C8; border-radius:12px; padding:14px; color:var(--ink); text-decoration:none; position:relative; }
.ctf-card:hover { box-shadow:0 4px 14px rgba(14,42,71,.12); }
.ctf-card.d-easy { border-top-color:#2E9E6A; } .ctf-card.d-medium { border-top-color:#D9822B; } .ctf-card.d-hard { border-top-color:#C23B5A; } .ctf-card.d-insane { border-top-color:#6B2FA0; }
.ctf-card.solved { background:#F1FAF5; } .ctf-card .done { color:var(--good); font-weight:700; font-size:13px; }
.ctf-top { display:flex; gap:8px; align-items:center; } .pts { font-weight:800; color:var(--navy); } .diff { font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); }
.ctf-meta { display:flex; justify-content:space-between; font-size:12px; color:var(--muted); } .blood { font-size:12px; color:#9B1C1C; }
.ctf-detail { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:18px; } @media(max-width:900px){ .ctf-detail{grid-template-columns:1fr;} }
.hint { background:#FFF8E1; border-radius:8px; padding:8px 12px; margin:6px 0; } .inline { display:inline; }
.alert.ok { background:#DDF3E7; color:#1E6B45; } .alert.error { background:#FBE5E3; color:#9B1C1C; }
.solvers, .feed { padding-left:20px; } .feed li, .solvers li { margin:6px 0; } tr.me td { background:#FFF8E1; }
/* ---- Labs */
.progress { width:100%; height:8px; background:rgba(255,255,255,.18); border-radius:4px; overflow:hidden; margin-top:6px; }
.progress span { display:block; height:100%; background:var(--gold2, var(--turmeric2)); }
.progress.thin { background:#EEF1F5; height:5px; margin:4px 0 10px; } .progress.thin span { background:#2E9E6A; }
.lab-module { margin-top:16px; } .lab-list { padding-left:22px; margin:0; } .lab-list li { margin:10px 0; }
.lab-list li.done a { color:#1E6B45; } .lab-actions { display:flex; gap:10px; flex-wrap:wrap; margin:14px 0; }
.steps li { margin:6px 0; } .answer { background:#F1FAF5; border-left:4px solid #2E9E6A; padding:6px 14px; border-radius:8px; }
.answer p { margin:6px 0; } .lab-nav { display:flex; justify-content:space-between; margin-top:20px; border-top:1px solid var(--line); padding-top:12px; }
.diff.d-easy { color:#2E9E6A; } .diff.d-medium { color:#D9822B; } .diff.d-hard { color:#C23B5A; } .diff.d-insane { color:#6B2FA0; }
/* policies */
.legal{max-width:780px;margin:0 auto;line-height:1.6}.legal h2{margin-top:28px}.legal .lead{font-size:17px}
.legal-nav{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.legal-nav a{padding:6px 12px;border-radius:999px;border:1px solid #D5DBE3;text-decoration:none;font-size:14px}
.legal-nav a.on{background:var(--petrol);color:#fff;border-color:var(--petrol)}
.legal .callout{background:#FFF8E5;border:1px solid #E8C770;border-radius:10px;padding:12px 16px;margin:16px 0}
.legal ul ul{margin-top:6px}.legal code{background:#F2F4F7;padding:1px 5px;border-radius:4px}
.accept{max-width:640px}.accept-points li{margin:6px 0}.accept-form .check{display:flex;gap:10px;align-items:flex-start;margin:10px 0}
.accept-form .check input{margin-top:5px}.accept .decline{margin-top:10px}.kv th{text-align:left;padding:6px 16px 6px 0;color:#5B6675;font-weight:500}
.foot-links{display:flex;justify-content:center;gap:16px;margin-top:6px}.foot-links a{color:inherit;opacity:.85}
.small{font-size:13px}
/* OWASP mapping */
.owasp-card{border:1px solid #D9E2EC;border-left:4px solid var(--petrol);border-radius:10px;padding:12px 16px;margin:16px 0;background:#F7F9FC}
.owasp-head{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:6px}
.owasp-label{font-size:12px;color:#5B6675;margin-right:4px}
.owasp-chip{display:inline-block;font-size:12px;font-weight:600;padding:2px 9px;border-radius:999px;border:1px solid var(--petrol);color:var(--petrol);text-decoration:none;background:#fff;white-space:nowrap}
.owasp-chip.primary{background:var(--petrol);color:#fff}.owasp-chip.small{font-size:11px;padding:1px 7px;vertical-align:middle}
.owasp-card h3{font-size:14px;margin:10px 0 2px}.owasp-def{font-size:14px;margin:4px 0}
.owasp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.owasp-cat-head{display:flex;gap:8px;align-items:center}.owasp-cat-head h2{margin:0;font-size:17px}
.owasp-cat h3{font-size:14px;font-weight:700;color:var(--muted);margin:12px 0 4px}
.owasp-labs{margin:0;padding-left:18px}.owasp-labs li.done a{color:#1B7F4B}.owasp-labs.secondary{font-size:14px}
.owasp-cat.gap{opacity:.75;border-style:dashed}

/* ---- bottom tab bar (phones) */
.tabbar { display:none; }
@media (max-width:760px) {
  body { padding-bottom:72px; }
  .range-bar { padding:8px 16px; gap:10px; }
  .range-logo { height:28px; } .range-name { font-size:14px; }
  .range-nav, .range-user .uname { display:none; }
  .range-user { margin-left:auto; }
  .bank-bar { padding:0 16px; min-height:52px; } .bank-nav { display:none; }
  .page { padding:18px 16px 32px; }
  h1 { font-size:25px; }
  .home-top, .land-hero, .land-points { grid-template-columns:1fr; }
  .land-copy h1 { font-size:34px; } .land-card .acct-hero { transform:none; }
  .acct-hero-bal { font-size:34px; }
  .acct-hero-foot span:last-child { display:none; }
  .quick { grid-template-columns:repeat(4,1fr); gap:8px; } .quick a { font-size:13px; padding:10px 4px; border:none; background:none; }
  .tabbar { display:grid; grid-template-columns:repeat(5,1fr); position:fixed; left:0; right:0; bottom:0; z-index:10;
    background:var(--paper); border-top:1px solid var(--line); padding:6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display:flex; flex-direction:column; align-items:center; gap:2px; font-size:12px; font-weight:600; color:var(--muted); text-decoration:none; padding:4px 0; }
  .tabbar svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .tabbar a.on { color:var(--petrol); } .tabbar a.lab.on { color:var(--warn); }
  .chat { height:62vh; }
}
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto !important; transition:none !important; } }
