/* ===== CUBIE FX — TRADING JOURNAL ===== */
:root{
  --bg:#05070E;
  --bg2:#080B14;
  --side:#080B14;
  --card:#0C1020;
  --card2:#10152A;
  --line:rgba(255,255,255,.07);
  --line2:rgba(255,255,255,.13);
  --ink:#EDF0F8;
  --muted:#98A0B6;
  --muted2:#666E85;
  --pu:#7C5CFF;
  --bl:#4A8CFF;
  --grad:linear-gradient(100deg,#5B5BF5,#7C5CFF);
  --green:#22C55E;
  --red:#EF4444;
  --orange:#F59E0B;
  --wrap:1400px;
  --sw:206px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:"Inter",system-ui,sans-serif;font-size:14px;line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,h4,b,strong{font-family:"Manrope",system-ui,sans-serif;letter-spacing:-.02em;margin:0}
a{color:inherit;text-decoration:none}
p{margin:0}
:focus-visible{outline:2px solid var(--pu);outline-offset:2px;border-radius:8px}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:rgba(255,255,255,.09);border-radius:8px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.gt{background:linear-gradient(100deg,#6C8CFF,#A78BFA);-webkit-background-clip:text;background-clip:text;color:transparent}
.up{color:var(--green)}.down{color:var(--red)}

/* NAV */
.nav{position:sticky;top:0;z-index:60;background:rgba(5,7,14,.9);backdrop-filter:blur(20px);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;height:68px;gap:18px}
.logo{display:flex;align-items:center;gap:10px}
.logo img{width:31px;height:31px;object-fit:contain}
.logo span{font-family:"Manrope",sans-serif;font-weight:800;font-size:19px}
.logo b{color:var(--bl)}
.nlinks{display:flex;align-items:center;gap:28px;margin:0 auto;font-size:14px;font-weight:500;color:var(--muted)}
.nlinks a{position:relative;padding:6px 0}
.nlinks a:hover{color:var(--ink)}
.nlinks a.on{color:var(--ink);font-weight:600}
.nlinks a.on::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;border-radius:2px;background:var(--grad)}
.nright{display:flex;align-items:center;gap:11px}
.iconbtn{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:var(--muted);
  background:none;border:0;cursor:pointer;position:relative}
.iconbtn:hover{color:var(--ink);background:rgba(255,255,255,.05)}
.iconbtn svg{width:18px;height:18px}
.iconbtn .dot{position:absolute;top:5px;right:6px;width:7px;height:7px;border-radius:50%;background:var(--red)}
.who{display:flex;align-items:center;gap:9px;padding:5px 10px 5px 5px;border-radius:11px;
  background:rgba(255,255,255,.04);border:1px solid var(--line)}
.who .pic{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:none;
  font-family:"Manrope",sans-serif;font-weight:800;font-size:11px;color:#fff;background:linear-gradient(140deg,#F59E0B,#EC4899)}
.who b{display:block;font-size:12.5px;line-height:1.25}
.who span{font-size:11px;color:var(--muted2)}
.who svg{width:14px;height:14px;color:var(--muted2)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;
  padding:10px 20px;font-family:"Manrope",sans-serif;font-weight:700;font-size:13.5px;
  border:0;cursor:pointer;transition:transform .16s,opacity .18s,border-color .18s,background .18s}
.btn svg{width:15px;height:15px}
.btn.grad{background:var(--grad);color:#fff;box-shadow:0 8px 24px rgba(91,91,245,.3)}
.btn.grad:hover{transform:translateY(-2px)}
.btn.outline{background:transparent;border:1px solid var(--line2);color:var(--ink)}
.btn.outline:hover{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.045)}
.btn.sm{padding:8px 15px;font-size:12.5px}
.burger{display:none;background:none;border:0;color:var(--ink);padding:6px;cursor:pointer}
.burger svg{width:22px;height:22px}

/* ===== GUEST HERO ===== */
.jhero{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center;padding:44px 0 34px}
.jhero h1{font-size:clamp(28px,4vw,40px);font-weight:800;line-height:1.18;margin-bottom:14px}
.jhero .sub{font-size:14.5px;color:var(--muted);max-width:420px;margin-bottom:20px}
.hlist{display:grid;gap:10px;margin-bottom:24px}
.hlist span{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--muted)}
.hlist svg{width:15px;height:15px;color:#4ADE80;flex:none}
.nocard{font-size:12px;color:var(--muted2);margin-top:10px}
.shot{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px;
  box-shadow:0 30px 70px rgba(0,0,0,.5)}
.shot .bar{display:flex;align-items:center;gap:7px;font-size:10.5px;color:var(--muted2);margin-bottom:10px}
.shot .bar i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.16)}
.mini-kpi{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}
.mini-kpi div{background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:9px;padding:9px 8px}
.mini-kpi span{display:block;font-size:8px;color:var(--muted2)}
.mini-kpi b{font-size:12px;font-weight:800}
.shot .chart{background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:11px;padding:10px}
.shot .chart svg{width:100%;height:104px;display:block}
.shot .lbl{display:flex;justify-content:space-between;font-size:8px;color:var(--muted2);margin-top:5px}

/* feature cards */
.sec-title{text-align:center;margin:12px 0 20px}
.sec-title h2{font-size:22px;font-weight:800}
.f4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:26px}
.fc{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px;transition:transform .16s,border-color .16s}
.fc:hover{transform:translateY(-3px);border-color:var(--line2)}
.fc .fi{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;margin-bottom:12px;
  background:rgba(255,255,255,.05);border:1px solid var(--line)}
.fc .fi svg{width:19px;height:19px}
.fc b{display:block;font-size:13.5px;font-weight:800;margin-bottom:5px}
.fc p{font-size:11.5px;color:var(--muted2);line-height:1.55}
.i-gr{color:#4ADE80}.i-bl{color:#60A5FA}.i-pu{color:#A78BFA}.i-or{color:#FBBF24}

/* demo panels */
.demo2{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-bottom:26px}
.card{background:var(--card);border:1px solid var(--line);border-radius:15px;padding:16px}
.card h3{font-size:14px;font-weight:800;margin-bottom:13px}
.card .hd{display:flex;align-items:center;margin-bottom:13px}
.card .hd h3{margin:0}
.card .hd .drop{margin-left:auto;display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.04);
  border:1px solid var(--line);border-radius:9px;padding:5px 11px;font-size:11px;color:var(--muted)}
.card .hd .drop svg{width:11px;height:11px}
.card .hd .link{margin-left:auto;font-size:12px;color:var(--bl);font-weight:600}

/* testimonials */
.t3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:26px}
.tq{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px}
.tq .st{color:#FBBF24;font-size:13px;margin-bottom:9px}
.tq p{font-size:12.5px;color:var(--muted);line-height:1.7;margin-bottom:10px}
.tq span{font-size:11.5px;color:var(--muted2)}

/* comparison */
.cmp-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:14px;margin-bottom:26px;align-items:start}
.inc li{font-size:12.5px;color:var(--muted);margin-bottom:8px;display:flex;align-items:center;gap:9px}
.inc li svg{width:14px;height:14px;color:#4ADE80;flex:none}
.inc ul{list-style:none;padding:0;margin:0}
.ctable{width:100%;border-collapse:collapse}
.ctable th{font-size:11px;color:var(--muted2);font-weight:700;padding:0 10px 11px;text-align:center}
.ctable th:first-child{text-align:left}
.ctable td{font-size:12.5px;padding:9px 10px;border-top:1px solid rgba(255,255,255,.05);text-align:center}
.ctable td:first-child{text-align:left;color:var(--muted)}
.ctable .y{color:#4ADE80}
.ctable .n{color:#F87171}

/* big cta */
.bigcta{display:flex;align-items:center;gap:18px;background:linear-gradient(100deg,rgba(91,91,245,.15),rgba(12,16,32,.6));
  border:1px solid rgba(124,92,255,.3);border-radius:16px;padding:20px 24px;margin-bottom:26px;flex-wrap:wrap}
.bigcta .bi{width:46px;height:46px;border-radius:13px;flex:none;display:grid;place-items:center;
  background:rgba(124,92,255,.18);color:#A78BFA}
.bigcta .bi svg{width:22px;height:22px}
.bigcta b{display:block;font-size:16px;font-weight:800}
.bigcta p{font-size:12.5px;color:var(--muted2)}
.bigcta .btn{margin-left:auto}

/* ===== MEMBER APP ===== */
.app{display:flex;min-height:100vh}
.side{width:var(--sw);flex:none;background:var(--side);border-right:1px solid var(--line);
  padding:18px 12px;position:sticky;top:0;height:100vh;overflow-y:auto}
.side-logo{display:flex;align-items:center;gap:9px;padding:2px 8px 20px;font-family:"Manrope",sans-serif;font-weight:800;font-size:16px}
.side-logo svg{width:19px;height:19px;color:#A78BFA}
.sgroup{font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted2);
  font-weight:800;padding:14px 12px 7px}
.snav{display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:10px;
  color:var(--muted);font-size:13px;font-weight:500;transition:background .16s,color .16s}
.snav svg{width:16px;height:16px;flex:none}
.snav:hover{background:rgba(255,255,255,.045);color:var(--ink)}
.snav.on{background:var(--grad);color:#fff;font-weight:600}
.main{flex:1;min-width:0;padding:18px 22px 40px}

.kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:11px;margin-bottom:14px}
.kpi{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;text-align:center}
.kpi .ki{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;margin:0 auto 8px;
  background:rgba(255,255,255,.05)}
.kpi .ki svg{width:15px;height:15px}
.kpi .kl{display:block;font-size:10.5px;color:var(--muted2);margin-bottom:4px}
.kpi .kv{display:block;font-size:20px;font-weight:800;font-family:"Manrope",sans-serif;line-height:1.2}
.kpi .kd{display:block;font-size:10px;color:var(--muted2);margin-top:5px}

.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.tsearch{display:flex;align-items:center;gap:9px;background:var(--card);border:1px solid var(--line);
  border-radius:10px;padding:9px 13px;width:190px}
.tsearch svg{width:14px;height:14px;color:var(--muted2);flex:none}
.tsearch input{flex:1;min-width:0;background:none;border:0;color:var(--ink);font-family:"Inter",sans-serif;font-size:12.5px;outline:none}
.tsearch input::placeholder{color:var(--muted2)}
.chip{display:flex;align-items:center;gap:7px;background:var(--card);border:1px solid var(--line);
  border-radius:10px;padding:9px 14px;font-size:12px;color:var(--muted);cursor:pointer;white-space:nowrap}
.chip svg{width:11px;height:11px}
.chip:hover{color:var(--ink);border-color:var(--line2)}
.toolbar .btn{margin-left:auto}

/* trades table */
.tblcard{background:var(--card);border:1px solid var(--line);border-radius:15px;padding:16px;margin-bottom:14px;overflow-x:auto}
.tbl{width:100%;border-collapse:collapse;min-width:900px}
.tbl th{text-align:left;font-size:10.5px;color:var(--muted2);font-weight:700;padding:0 10px 11px 0;white-space:nowrap}
.tbl td{padding:9px 10px 9px 0;font-size:12px;border-top:1px solid rgba(255,255,255,.05);white-space:nowrap}
.tbl .pair{font-weight:700}
.badge{font-size:10px;font-weight:800;padding:2px 8px;border-radius:6px}
.b-buy{background:rgba(34,197,94,.16);color:#4ADE80}
.b-sell{background:rgba(239,68,68,.16);color:#F87171}
.b-win{background:rgba(34,197,94,.16);color:#4ADE80}
.b-loss{background:rgba(239,68,68,.16);color:#F87171}
.b-be{background:rgba(96,165,250,.16);color:#93C5FD}
.acts{display:flex;gap:6px}
.acts button{width:24px;height:24px;border-radius:7px;background:rgba(255,255,255,.05);
  border:1px solid var(--line);color:var(--muted2);cursor:pointer;display:grid;place-items:center}
.acts button svg{width:12px;height:12px}
.acts button:hover{color:var(--ink);border-color:var(--line2)}
.acts .del:hover{color:#F87171;border-color:rgba(239,68,68,.4)}
.empty{text-align:center;padding:34px 10px;color:var(--muted2);font-size:13px}

/* charts row */
.row3{display:grid;grid-template-columns:1.3fr .85fr .85fr;gap:14px;margin-bottom:14px}
.row3b{display:grid;grid-template-columns:1.15fr .95fr .9fr;gap:14px;margin-bottom:14px}
.chart-wrap{position:relative}
.chart-wrap svg{width:100%;display:block}
.axis-x{display:flex;justify-content:space-between;font-size:9.5px;color:var(--muted2);margin-top:6px}
.axis-y{position:absolute;left:0;top:0;bottom:18px;display:flex;flex-direction:column;
  justify-content:space-between;font-size:9px;color:var(--muted2)}
.chart-in{padding-left:30px}
.tot{position:absolute;right:6px;top:2px;text-align:right;font-size:9.5px;color:var(--muted2)}
.tot b{display:block;font-size:13px;color:#4ADE80;font-family:"Manrope",sans-serif}

.donut-row{display:flex;align-items:center;gap:16px}
.donut{position:relative;width:118px;height:118px;flex:none}
.donut svg{width:100%;height:100%}
.donut .mid{position:absolute;inset:0;display:grid;place-content:center;text-align:center}
.donut .mid b{font-size:21px;font-weight:800;font-family:"Manrope",sans-serif}
.donut .mid span{font-size:10px;color:var(--muted2)}
.legend{display:grid;gap:11px}
.legend div{display:flex;gap:9px;align-items:flex-start}
.legend i{width:9px;height:9px;border-radius:50%;margin-top:5px;flex:none}
.legend b{display:block;font-size:12px}
.legend span{font-size:11px;color:var(--muted2)}

.prow{display:flex;align-items:center;gap:10px;padding:8px 0}
.prow b{font-size:11.5px;width:66px;flex:none}
.prow .track{flex:1;height:6px;border-radius:99px;background:rgba(255,255,255,.06);overflow:hidden}
.prow .track i{display:block;height:100%;border-radius:99px;background:var(--grad)}
.prow .v{font-size:11.5px;font-weight:700;width:66px;text-align:right}

/* notes */
.note{display:flex;gap:11px;padding:11px 0;border-top:1px solid rgba(255,255,255,.05)}
.note:first-of-type{border-top:0}
.note .st{color:#FBBF24;font-size:13px;flex:none}
.note b{display:block;font-size:12px;margin-bottom:3px}
.note p{font-size:11.5px;color:var(--muted2);line-height:1.6}

/* ===== MODAL ===== */
.scrim{position:fixed;inset:0;background:rgba(3,5,10,.78);backdrop-filter:blur(4px);z-index:90;
  display:none;align-items:flex-start;justify-content:center;padding:34px 18px;overflow-y:auto}
.scrim.show{display:flex}
.modal{width:100%;max-width:620px;background:var(--card);border:1px solid var(--line2);
  border-radius:18px;box-shadow:0 40px 90px rgba(0,0,0,.7)}
.mhead{display:flex;align-items:center;padding:18px 22px;border-bottom:1px solid var(--line)}
.mhead h3{font-size:16px;font-weight:800;margin:0 auto}
.mhead .x{background:none;border:0;color:var(--muted2);cursor:pointer;font-size:22px;line-height:1;padding:0 4px}
.mhead .x:hover{color:var(--ink)}
.mtabs{display:flex;gap:8px;padding:16px 22px 0}
.mtab{flex:1;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--muted);
  border-radius:10px;padding:9px;font-family:"Manrope",sans-serif;font-weight:700;font-size:12.5px;cursor:pointer}
.mtab.on{background:var(--grad);color:#fff;border-color:transparent}
.mbody{padding:16px 22px 20px}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.frow3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.f{margin-bottom:12px}
.f label{display:block;font-size:11.5px;font-weight:600;color:var(--muted);margin-bottom:6px}
.f label i{color:#F87171;font-style:normal}
.f input,.f select,.f textarea{width:100%;background:rgba(255,255,255,.04);border:1px solid var(--line);
  border-radius:10px;padding:10px 12px;color:var(--ink);font-family:"Inter",sans-serif;font-size:13px;
  appearance:none;outline:none;transition:border-color .16s}
.f textarea{min-height:74px;resize:vertical}
.f input:focus,.f select:focus,.f textarea:focus{border-color:var(--pu);background:rgba(124,92,255,.06)}
.f select option{background:#10152A}
.f.bad input,.f.bad select{border-color:var(--red);background:rgba(239,68,68,.06)}
.seg{display:flex;gap:8px}
.seg button{flex:1;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--muted);
  border-radius:10px;padding:10px;font-family:"Manrope",sans-serif;font-weight:700;font-size:12.5px;cursor:pointer}
.seg button.on.buy{background:linear-gradient(100deg,#16A34A,#22C55E);color:#fff;border-color:transparent}
.seg button.on.sell{background:linear-gradient(100deg,#DC2626,#EF4444);color:#fff;border-color:transparent}
.counter{text-align:right;font-size:10.5px;color:var(--muted2);margin-top:4px}
.upload{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}
.upload input{width:auto}
.upload .up{margin-left:auto;font-size:12px;color:var(--bl);font-weight:600;cursor:pointer}
.mfoot{display:flex;gap:10px;padding:16px 22px;border-top:1px solid var(--line);flex-wrap:wrap}
.mfoot .btn{flex:none}
.mfoot .sp{margin-left:auto}
.calcout{background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:10px;
  padding:10px 12px;font-size:12px;color:var(--muted);display:flex;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.calcout b{color:var(--ink)}

/* toast */
.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,90px);z-index:95;
  background:var(--card2);border:1px solid var(--line2);border-radius:12px;padding:12px 20px;
  font-size:13px;font-weight:600;box-shadow:0 20px 50px rgba(0,0,0,.6);transition:transform .26s,opacity .26s;opacity:0}
.toast.show{transform:translate(-50%,0);opacity:1}
.toast.ok{border-color:rgba(34,197,94,.4);color:#4ADE80}

/* footer */
.footer{border-top:1px solid var(--line);background:var(--bg2);padding:38px 0 22px}
.fgrid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:26px}
.fbrand p{font-size:12.5px;color:var(--muted2);line-height:1.7;max-width:250px;margin-top:12px}
.fcol h4{font-size:13px;font-weight:800;margin-bottom:12px}
.fcol a{display:block;font-size:12.5px;color:var(--muted2);padding:4px 0}
.fcol a:hover{color:var(--ink)}
.fbase{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted2)}
.fbase a{color:#A78BFA;font-weight:600}

.mburger{display:none;background:none;border:0;color:var(--ink);padding:6px;cursor:pointer;margin-right:4px}
.mburger svg{width:22px;height:22px}
.sidescrim{display:none}

@media (max-width:1280px){
  .kpis{grid-template-columns:repeat(3,1fr)}
  .row3,.row3b{grid-template-columns:1fr 1fr}
}
@media (max-width:980px){
  .jhero,.demo2,.cmp-grid{grid-template-columns:1fr}
  .f4,.t3{grid-template-columns:1fr 1fr}
  .side{position:fixed;left:0;top:0;z-index:80;transform:translateX(-100%);transition:transform .22s}
  .side.open{transform:none}
  .sidescrim.show{display:block;position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:70}
  .mburger{display:grid}
  .main{padding:14px}
  .row3,.row3b{grid-template-columns:1fr}
  .nlinks{display:none;position:absolute;top:68px;left:0;right:0;flex-direction:column;align-items:flex-start;
    gap:15px;background:rgba(8,11,20,.98);padding:20px 24px;border-bottom:1px solid var(--line)}
  .nlinks.open{display:flex}
  .burger{display:grid}
  .who b,.who span{display:none}
  .fgrid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .kpis,.f4,.t3{grid-template-columns:1fr}
  .frow,.frow3{grid-template-columns:1fr}
  .toolbar .btn{margin-left:0;width:100%}
  .bigcta .btn{margin-left:0;width:100%}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}html{scroll-behavior:auto}}

/* ============================================
   Toolbar filters

   The chips beside the search box were spans with a caret and no
   handler — they looked like controls and did nothing. These are the
   styles for the working versions.
   ============================================ */

.chipwrap{position:relative;display:inline-flex}

/* Without this the menu is painted behind the Recent Trades card. */
.toolbar{position:relative;z-index:100}

/* A chip that is filtering something should not look like one that is
   not, or you cannot tell why a trade is missing from the table. */
.chip.active{
  border-color:rgba(139,92,246,.45);
  color:var(--ink);
  background:rgba(139,92,246,.12);
}
.chipwrap.open .chip{border-color:rgba(139,92,246,.55)}
.chipwrap.open .chip svg{transform:rotate(180deg)}
.chip svg{transition:transform .16s}

/* Hidden until its chip is open.

   This rule was missing. journal.js adds and removes .open on the
   wrapper, and the chip's border and caret responded to it — but nothing
   told the menu itself to disappear. So every menu ever opened stayed on
   screen, stacked over the table below. */
.chipmenu{display:none}
.chipwrap.open .chipmenu{display:flex}

.chipmenu{
  position:absolute;top:calc(100% + 6px);left:0;min-width:150px;
  /* above the cards below, which start stacking contexts of their own */
  z-index:200;
  background:var(--card);border:1px solid var(--line2);border-radius:12px;
  padding:5px;flex-direction:column;gap:1px;
  box-shadow:0 18px 40px -14px rgba(0,0,0,.7);
  max-height:280px;overflow-y:auto;
}
.chipmenu button{
  background:none;border:0;text-align:left;cursor:pointer;
  padding:8px 11px;border-radius:8px;
  font-size:12.5px;font-weight:600;color:var(--muted);
  font-family:"Manrope",sans-serif;white-space:nowrap;
}
.chipmenu button:hover{background:rgba(255,255,255,.05);color:var(--ink)}
.chipmenu button.on{background:var(--grad);color:#fff}

.chip-clear{cursor:pointer;color:#F87171;border-color:rgba(239,68,68,.3)}
.chip-clear:hover{background:rgba(239,68,68,.1)}

/* Import and Export, which moved here when the page's own sidebar became
   the member navigation. */
.toolbar .btn.ghost{
  background:rgba(255,255,255,.04);border:1px solid var(--line2);
  color:var(--muted);font-size:12.5px;font-weight:700;
  padding:9px 15px;border-radius:10px;cursor:pointer;
  font-family:"Manrope",sans-serif;
}
.toolbar .btn.ghost:hover{color:var(--ink);border-color:rgba(255,255,255,.2)}

@media (prefers-reduced-motion:reduce){
  .chip svg{transition:none}
}


/* ============================================
   Guest comparison table

   /journal loads this stylesheet, but the rules for .ctable live in
   content.css, which it does not load. The table arrived with no styling
   at all — and an SVG with no width falls back to 300x150, which is why
   the ticks and crosses filled the screen.

   Copied here rather than adding content.css to the page: this is the
   only block that page needs from it.
   ============================================ */
.ctable-wrap{
  background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:18px;margin-bottom:22px;overflow-x:auto;
}
.ctable{width:100%;border-collapse:collapse;min-width:560px}
.ctable th{
  font-size:11.5px;font-weight:800;padding:0 12px 14px;text-align:center;
  font-family:"Manrope",sans-serif;
}
.ctable th:first-child{text-align:left;color:var(--muted2);font-weight:700}
.ctable td{
  font-size:12.5px;padding:11px 12px;text-align:center;color:var(--muted);
  border-top:1px solid rgba(255,255,255,.05);
}
.ctable td:first-child{text-align:left;color:var(--ink);font-weight:600}
.ctable .y{color:#4ADE80}
.ctable .n{color:var(--muted2)}
.ctable svg{width:15px;height:15px}
.ctable .hi{background:rgba(124,92,255,.06)}
