/* Stock Stats — landing page tour: page layout, device frame, and the in-phone app re-creation.
   Tokens come from style.css (same palette as the app's DesignSystem). */

/* ============ page layout ============ */

.tour{
  background:var(--bg);
  border-bottom:1px solid var(--sep);
  overflow:clip; /* keeps the phone's shadow inside the section without breaking position:sticky */
}

.tour-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 402px;
  gap:72px;
  align-items:start;
}

.tour-intro{
  min-height:calc(100vh - 52px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px 0;
}

.tour-intro .hero-top{ margin-bottom:24px; }

.tour-hint{
  margin:28px 0 0;
  font-size:13px;
  color:var(--sub);
}

.tour-hint b{ color:var(--text); font-weight:600; }

.chapter{
  min-height:68vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:24px 0;
  transition:opacity .25s ease;
}

.chapter:last-child{ min-height:80vh; }
.demo-on .chapter{ opacity:.38; cursor:pointer; }
.demo-on .chapter.is-active{ opacity:1; cursor:default; }
.chapter:focus-visible{ outline:2px solid var(--accent); outline-offset:8px; border-radius:8px; }

.chapter-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.chapter-head .eyebrow{ margin:0; }
.chapter.is-active .chapter-head .eyebrow{ color:var(--accent); }

.chapter h2{ font-size:30px; line-height:1.15; max-width:20ch; }

.chapter > p{
  color:var(--sub);
  font-size:17px;
  max-width:44ch;
  margin:0;
}

.chapter .try{
  margin-top:14px;
  font-size:13px;
  color:var(--sub);
}

.chapter .try b{ color:var(--text); font-weight:600; }

/* sticky phone column */

.tour-phone{
  position:sticky;
  top:52px;
  height:calc(100vh - 52px);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* JS sets --s so the 402×874 device fits the viewport height. */
.device-fit{
  width:calc(402px * var(--s,1));
  height:calc(874px * var(--s,1));
  flex:none;
}

.device{
  position:relative;
  width:402px;
  height:874px;
  transform:scale(var(--s,1));
  transform-origin:top left;
  border-radius:56px;
  background:#0B0E11;
  box-shadow:
    0 0 0 2px #2b3340,
    0 0 0 10px #05070a,
    0 0 0 11px #2b3340,
    0 40px 80px rgba(0,0,0,.55);
  overflow:hidden;
}

/* mobile chapter chips (JS-built); hidden on desktop */
.chapter-chips{ display:none; }

/* ============ below the tour ============ */

.features-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.pricing-card{ padding:28px; }

/* ============ narrow screens: the page becomes the app ============ */

@media (max-width:979px){
  .tour-grid{
    display:block;
  }

  .tour-intro{
    min-height:0;
    padding:40px 0 28px;
  }

  .tour-hint{ display:none; }

  .chapters{ display:none; }

  .chapter-chips{
    display:block;
    position:sticky;
    top:52px;
    z-index:40;
    margin:0 -20px;
    padding:10px 20px 8px;
    background:rgba(11,14,17,.92);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    border-top:1px solid var(--sep);
    border-bottom:1px solid var(--sep);
  }

  .chip-row{
    display:flex;
    gap:6px;
    overflow-x:auto;
    scrollbar-width:none;
    margin:0 -20px;
    padding:0 20px;
  }

  .chip-row::-webkit-scrollbar{ display:none; }

  .chip-row button{
    flex:none;
    font:inherit;
    font-size:13px;
    font-weight:600;
    color:var(--sub);
    background:var(--card2);
    border:0;
    border-radius:999px;
    padding:7px 13px;
  }

  .chip-row button.is-active{
    background:var(--accent);
    color:var(--onAccent);
  }

  .chip-caption{
    margin:8px 0 0;
    font-size:13px;
    line-height:1.4;
    color:var(--sub);
    min-height:2.8em;
  }

  .tour-phone{
    position:static;
    height:auto;
    display:block;
    margin:0 -20px;
  }

  .device-fit{
    width:auto;
    height:auto;
    max-width:480px;
    margin:0 auto;
  }

  .device{
    width:auto;
    height:auto;
    transform:none;
    border-radius:0;
    box-shadow:none;
    overflow:visible;
  }

  .features-3{ grid-template-columns:1fr; }
}

@media (max-width:860px){
  .features,.privacy-grid{ grid-template-columns:1fr; }
  h1{ font-size:32px; }
}

/* Without the script the phone is just the static summary card. */
html:not(.demo-on) .device-fit{ height:auto; }
html:not(.demo-on) .device{ height:auto; transform:none; border-radius:var(--r-card); box-shadow:none; border:1px solid #2b3340; background:var(--card); padding:20px; }

/* ============ the app, re-created ============ */

.app{
  --pink:#F6519B;
  position:relative;
  height:100%;
  background:var(--bg);
  color:var(--text);
  font-size:15px;
  line-height:1.25;
  font-variant-numeric:tabular-nums;
  -webkit-tap-highlight-color:transparent;
}

.app button{ font:inherit; color:inherit; background:none; border:0; padding:0; margin:0; text-align:left; cursor:pointer; }
.app h3,.app h4,.app h5,.app p{ margin:0; }
.app .sp{ flex:1; }
.app .gain{ color:var(--gain); } .app .loss{ color:var(--loss); } .app .sub{ color:var(--sub); } .app .accent{ color:var(--accent); }
.bg-gain{ background:var(--gain); } .bg-loss{ background:var(--loss); } .bg-sub{ background:var(--sub); } .bg-accent{ background:var(--accent); }
.bg-teal{ background:var(--teal); } .bg-purple{ background:var(--purple); } .bg-amber{ background:var(--amber); } .bg-pink{ background:var(--pink); }
.t-gain{ color:var(--gain); background:rgba(46,189,133,.15); } .t-loss{ color:var(--loss); background:rgba(246,70,93,.15); }
.t-accent{ color:var(--accent); background:rgba(46,155,255,.15); } .t-teal{ color:var(--teal); background:rgba(31,200,182,.15); }
.t-amber{ color:var(--amber); background:rgba(245,165,36,.15); } .t-purple{ color:var(--purple); background:rgba(155,125,255,.15); }
.t-gold{ color:var(--gold); background:rgba(240,194,75,.15); }

.statusbar{
  position:absolute; inset:0 0 auto 0; height:56px; z-index:20;
  display:flex; align-items:center; justify-content:space-between;
  padding:6px 34px 0 52px; background:var(--bg);
  font-size:16px; font-weight:600;
}
.sb-island{ position:absolute; left:50%; top:12px; width:124px; height:36px; margin-left:-62px; border-radius:20px; background:#000; }
.sb-icons{ display:flex; align-items:center; gap:6px; }

.scr{
  position:absolute; inset:54px 0 0 0;
  overflow-y:auto; overflow-x:hidden;
  padding-bottom:104px;
  scrollbar-width:none;
}
.scr::-webkit-scrollbar{ display:none; }

.tabbar{
  position:absolute; left:22px; right:22px; bottom:22px; z-index:30;
  height:62px; padding:4px; display:flex;
  border-radius:31px; border:1px solid rgba(255,255,255,.09);
  background:rgba(30,35,42,.78);
  -webkit-backdrop-filter:blur(18px) saturate(1.4); backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:0 8px 24px rgba(0,0,0,.4);
}
.app .tabbar button{
  flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px;
  border-radius:27px; font-size:10.5px; font-weight:600; color:var(--text);
}
.app .tabbar button.on{ color:var(--accent); background:rgba(255,255,255,.09); }

.toast{
  position:absolute; left:50%; bottom:98px; z-index:40; transform:translate(-50%,8px);
  max-width:80%; padding:9px 14px; border-radius:999px;
  background:var(--card2); border:1px solid #2b3340; box-shadow:0 6px 18px rgba(0,0,0,.45);
  font-size:12px; font-weight:600; text-align:center;
  opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease;
}
.toast.show{ opacity:1; transform:translate(-50%,0); }

/* headers */
.hdr{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 16px; background:var(--bg); position:sticky; top:0; z-index:10; }
.hdr-stack{ position:sticky; top:0; z-index:10; background:var(--bg); padding-bottom:8px; }
.hdr-stack .hdr{ position:static; }
.ttl{ font-size:28px; font-weight:700; letter-spacing:-.4px; display:flex; align-items:center; gap:8px; }
.ttl-chev{ color:var(--sub); display:inline-flex; }
.app .circ{ width:36px; height:36px; flex:none; border-radius:50%; background:var(--card); border:1px solid var(--sep); display:inline-flex; align-items:center; justify-content:center; }
.app .circ.back{ color:var(--accent); padding-right:2px; }
.circ.ghost{ visibility:hidden; }
.nav-t{ font-size:17px; font-weight:600; }
.utabs{ display:flex; gap:22px; padding:0 16px; border-bottom:1px solid var(--sep); }
.app .utabs button{ font-size:17px; font-weight:600; color:var(--sub); padding:4px 0 8px; margin-bottom:-1px; border-bottom:2px solid transparent; }
.app .utabs button.on{ color:var(--text); border-bottom-color:var(--accent); }

.pad{ padding:4px 16px 24px; display:flex; flex-direction:column; gap:14px; }
.pad.an{ padding-top:4px; }

/* portfolio home */
.total{ font-size:46px; font-weight:700; letter-spacing:-1px; line-height:1.05; margin-top:6px; }
.total small{ font-size:27px; font-weight:700; margin-right:3px; vertical-align:6px; }
.subline{ display:flex; align-items:center; flex-wrap:wrap; gap:5px; font-size:13px; color:var(--sub); margin-top:-4px; }
.subline b{ color:var(--text); font-weight:600; margin-left:2px; }
.subline span{ margin-right:12px; }

.acard{ background:var(--card); border:1px solid var(--sep); border-radius:14px; padding:16px; display:flex; flex-direction:column; gap:12px; min-width:0; }
.acard-h{ display:flex; align-items:center; gap:6px; min-height:20px; }
.acard-h h4{ font-size:16px; font-weight:600; white-space:nowrap; }
.app .info{ color:var(--sub); flex:none; }
.acc-note{ font-size:11px; color:var(--sub); }
.app .link{ font-size:13px; font-weight:500; color:var(--accent); }

.chips{ display:flex; gap:6px; flex-wrap:nowrap; }
.chips.end{ justify-content:flex-end; }
.app .chip-b{ font-size:12px; font-weight:500; color:var(--sub); background:var(--card2); border-radius:999px; padding:6px 10px; white-space:nowrap; }
.app .chip-b.on{ color:var(--onAccent); background:var(--accent); font-weight:600; }
.chips.range .chip-b{ padding:7px 12px; }
.chips.fchips{ gap:8px; overflow-x:auto; scrollbar-width:none; margin:0 -16px; padding:0 16px; }
.chips.fchips::-webkit-scrollbar{ display:none; }
.app .fchips .chip-b{ padding:8px 12px; border:1px solid var(--sep); }
.app .fchips .chip-b.on{ border-color:var(--accent); }

/* charts */
.chart{ position:relative; }
.chart .plot{ position:absolute; inset:0; touch-action:pan-y; cursor:crosshair; }
.chart.has-axis .plot{ right:50px; }
.chart svg{ position:absolute; inset:0; width:100%; height:100%; display:block; overflow:visible; }
.ytick{ position:absolute; right:0; width:44px; transform:translateY(-50%); font-size:12px; color:var(--sub); }
.rule{ position:absolute; top:0; bottom:0; width:1px; margin-left:-.5px; background:rgba(138,147,160,.6); display:none; pointer-events:none; }
.dot{ position:absolute; width:9px; height:9px; margin:-4.5px 0 0 -4.5px; border-radius:50%; pointer-events:none; box-shadow:0 0 0 2px var(--card); }
.callout{ position:absolute; top:0; z-index:5; display:none; white-space:nowrap; pointer-events:none; background:var(--card2); border:.5px solid var(--sep); border-radius:12px; padding:6px 8px; box-shadow:0 2px 8px rgba(0,0,0,.35); }
.plot.scrubbing .rule,.plot.scrubbing .callout{ display:block; }
.co-t{ font-size:11px; font-weight:600; color:var(--sub); }
.co-v{ font-size:12px; font-weight:600; margin-top:3px; }
.co-r{ display:flex; align-items:center; gap:5px; font-size:12px; margin-top:3px; }
.co-r i{ width:6px; height:6px; border-radius:50%; }
.co-r span{ color:var(--sub); }
.co-r b{ font-weight:600; margin-left:auto; padding-left:8px; }
.goal-label{ position:absolute; left:0; font-size:10px; color:var(--sub); pointer-events:none; }
.cross{ position:absolute; width:10px; height:10px; margin:-5px 0 0 -5px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 2px var(--card); pointer-events:none; }
.cross-label{ position:absolute; transform:translateX(-50%); font-size:10px; font-weight:700; color:var(--accent); pointer-events:none; }
.xends{ display:flex; justify-content:space-between; font-size:10px; color:var(--sub); margin-top:-8px; }

.bars{ position:relative; height:160px; }
.bars .plot{ position:absolute; inset:0 50px 20px 0; }
.bars .grid{ position:absolute; left:0; right:0; height:1px; background:var(--sep); }
.bars .bar{ position:absolute; bottom:0; min-width:2px; background:var(--accent); border-radius:6px 6px 0 0; }
.bars .xtick{ position:absolute; bottom:-20px; transform:translateX(-50%); font-size:11px; font-weight:600; color:var(--sub); white-space:nowrap; }
.bars .ytick{ font-size:11px; font-weight:600; }

.legend{ display:flex; flex-wrap:wrap; gap:6px 16px; font-size:13px; color:var(--sub); }
.legend span{ display:inline-flex; align-items:center; gap:6px; }
.legend i{ width:8px; height:8px; border-radius:50%; }
.legend.lg{ font-size:12px; font-weight:500; gap:6px 14px; }
.legend.col{ flex-direction:column; gap:4px; font-size:12px; font-weight:500; }

/* metric tiles (home) */
.mtiles{ display:grid; grid-template-columns:1fr 1fr; gap:12px 9px; }
.mtile{ background:var(--card); border:1px solid var(--sep); border-radius:14px; padding:14px; display:flex; flex-direction:column; gap:3px; min-width:0; }
.mtile-l{ font-size:12px; font-weight:500; color:var(--sub); }
.mtile-v{ font-size:22px; font-weight:700; }
.mtile-d{ font-size:12px; font-weight:600; }
.mtile-d.plain{ font-weight:400; }

.abar{ display:flex; height:12px; border-radius:6px; overflow:hidden; }

/* rows */
.rows{ display:flex; flex-direction:column; margin:-11px 0; }
.app .row{ display:flex; align-items:center; gap:12px; padding:11px 0; width:100%; min-width:0; }
.rows .row + .row,.rows .irow + .irow{ border-top:1px solid var(--sep); }
.itile{ width:38px; height:38px; flex:none; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; font-size:16px; font-weight:700; color:var(--onAccent); }
.itile.lg{ width:40px; height:40px; font-size:17px; }
.itile.sm{ width:30px; height:30px; font-size:14px; }
.itile.tx{ width:34px; height:34px; font-size:14px; }
.row-t{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.row-t b{ font-size:15px; font-weight:600; display:flex; align-items:center; gap:6px; }
.row-t small,.row-r small{ font-size:12px; color:var(--sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.row-r{ display:flex; flex-direction:column; align-items:flex-end; gap:2px; flex:none; }
.row-r b{ font-size:15px; font-weight:600; }
.row-r small{ font-weight:600; }
.row-r small.plain{ font-weight:400; }
.spark{ flex:none; }
.txr .row-t,.txr .row-r{ gap:3px; }
.app .row.txr{ padding:10px 0; }
.badge-t{ font-style:normal; font-size:11px; font-weight:600; padding:4px 9px; border-radius:6px; line-height:1; }

/* holding detail */
.hhead{ display:flex; align-items:center; gap:12px; padding-top:6px; }
.hhead-t{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.hhead-t b{ font-size:22px; font-weight:700; }
.hhead-t small{ font-size:12px; color:var(--sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hhead-r{ display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
.hhead-r b{ font-size:20px; font-weight:700; }
.hhead-r small{ font-size:12px; font-weight:600; }
.ptiles{ display:grid; gap:10px; }
.ptiles.c3{ grid-template-columns:repeat(3,1fr); }
.ptiles.c2{ grid-template-columns:repeat(2,1fr); margin-top:-2px; }
.ptile{ background:var(--card2); border-radius:12px; padding:10px; display:flex; flex-direction:column; gap:3px; min-width:0; }
.ptile-l{ font-size:12px; font-weight:500; color:var(--sub); display:flex; align-items:center; gap:4px; white-space:nowrap; }
.ptile-v{ font-size:19px; font-weight:600; white-space:nowrap; }
.ptiles.c3 .ptile-v{ font-size:17px; }
.ptile-s{ font-size:11px; font-weight:600; color:var(--sub); }
.app .primary{ width:100%; text-align:center; background:var(--accent); color:var(--onAccent); font-size:16px; font-weight:600; padding:16px; border-radius:14px; }

/* analytics */
.stiles{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.stiles.g10{ gap:10px; }
.stile{ background:var(--card2); border-radius:12px; padding:12px; display:flex; flex-direction:column; gap:3px; min-width:0; }
.stile-l{ font-size:12px; font-weight:500; color:var(--sub); display:flex; align-items:center; gap:4px; }
.stile-v{ font-size:22px; font-weight:700; white-space:nowrap; }
.stile.big .stile-v{ font-size:24px; }
.stile-v small{ font-size:11px; font-weight:600; color:var(--sub); }
.stile.big .stile-v small{ font-size:14px; }
.stile-c{ font-size:11px; color:var(--sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cap{ font-size:11px; font-weight:500; color:var(--sub); }
.cap b,.foot b{ color:var(--text); font-weight:600; }
.foot{ font-size:11px; line-height:1.35; color:var(--sub); }

.contrib{ display:flex; flex-direction:column; gap:11px; }
.crow{ display:flex; align-items:center; gap:10px; }
.csym{ width:52px; font-size:13px; font-weight:500; }
.ctrack{ flex:1; height:8px; border-radius:4px; background:var(--card2); overflow:hidden; }
.ctrack i{ display:block; height:100%; border-radius:4px; }
.camt{ width:76px; text-align:right; font-size:12px; font-weight:600; }

.yhead,.yrow{ display:flex; align-items:center; gap:8px; }
.yhead{ font-size:11px; font-weight:500; color:var(--sub); padding-bottom:8px; }
.yrow{ border-top:1px solid var(--sep); padding:9px 0; font-size:12px; font-weight:600; margin-top:-12px; }
.yhead + .yrow{ margin-top:-12px; }
.yrow + .foot{ margin-top:-4px; }
.yl{ font-size:13px; font-weight:500; }
.y1{ width:92px; text-align:right; }
.y2{ width:80px; text-align:right; }

.alloc{ display:flex; align-items:center; gap:18px; }
.donut{ position:relative; width:120px; height:120px; flex:none; }
.donut-c{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; }
.donut-c span{ font-size:12px; font-weight:500; color:var(--sub); }
.donut-c b{ font-size:16px; font-weight:600; }
.donut-c small{ font-size:10px; }
.alist{ flex:1; min-width:0; display:flex; flex-direction:column; gap:8px; }
.alist div{ display:flex; align-items:center; gap:8px; font-size:13px; font-weight:500; }
.alist i{ width:9px; height:9px; border-radius:50%; flex:none; }
.alist span{ flex:1; }
.alist b{ font-size:12px; font-weight:600; color:var(--sub); }

.vm{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:-4px; }
.vm-h{ display:flex; flex-direction:column; gap:2px; }
.vm-c{ font-size:11px; font-weight:500; color:var(--sub); }
.vm-h b{ font-size:20px; font-weight:700; }
.vm-h small{ font-size:11px; color:var(--sub); }
.app .picker{ display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:500; background:var(--card2); border-radius:999px; padding:6px 10px; white-space:nowrap; }
.picker svg{ width:9px; height:6px; color:var(--sub); }

.n12{ display:flex; flex-direction:column; gap:2px; }
.n12 b{ font-size:20px; font-weight:700; }
.n12 small{ font-size:11px; color:var(--sub); }
.irow{ display:flex; align-items:center; gap:10px; padding:10px 0; }
.isym{ width:52px; font-size:15px; font-weight:600; }
.icol{ display:flex; flex-direction:column; gap:1px; }
.icol.r{ width:60px; align-items:flex-end; }
.icol b{ font-size:12px; font-weight:600; }
.icol small{ font-size:11px; font-weight:600; color:var(--sub); white-space:nowrap; }

.arows{ display:flex; flex-direction:column; margin:-11px 0 -3px; }
.arow{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 0; }
.arows .arow + .arow{ border-top:1px solid var(--sep); }
.arow-t{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.arow-t b{ font-size:15px; font-weight:600; }
.arow-t small{ font-size:11px; font-weight:600; color:var(--sub); }
.stepper{ display:inline-flex; align-items:center; gap:6px; padding:4px; border-radius:999px; background:var(--card2); flex:none; }
.app .stepper button{ width:28px; height:28px; border-radius:50%; background:#2B3340; display:inline-flex; align-items:center; justify-content:center; }
.stepper b{ min-width:84px; text-align:center; font-size:14px; font-weight:700; }
.gbase{ display:flex; align-items:baseline; gap:7px; }
.gbase b{ font-size:30px; font-weight:700; }
.gbase span{ font-size:13px; font-weight:500; color:var(--sub); }
.gbar{ height:12px; border-radius:6px; background:var(--card2); overflow:hidden; margin-top:-4px; }
.gbar i{ display:block; height:100%; border-radius:6px; background:var(--accent); }
.gline{ display:flex; justify-content:space-between; align-items:center; font-size:11.5px; color:var(--sub); margin-top:-4px; }
.gline b{ color:var(--text); font-weight:600; }
.gline em{ font-style:normal; font-size:12px; font-weight:700; color:var(--accent); }
.pv{ font-size:28px; font-weight:700; color:var(--accent); }

/* transactions */
.search{ display:flex; align-items:center; gap:8px; background:var(--card); border:1px solid var(--sep); border-radius:12px; padding:10px 12px; color:var(--sub); }
.search input{ flex:1; min-width:0; font:inherit; font-size:15px; color:var(--text); background:none; border:0; outline:0; padding:0; -webkit-appearance:none; appearance:none; }
.search input::placeholder{ color:var(--sub); }
.search input::-webkit-search-cancel-button{ -webkit-appearance:none; }
#txlist{ display:flex; flex-direction:column; }
.mhead{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding:0 2px 8px; margin-top:14px; }
.mhead b{ font-size:16px; font-weight:600; white-space:nowrap; }
.mhead span{ font-size:12px; color:var(--sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mblock{ background:var(--card); border:1px solid var(--sep); border-radius:14px; padding:4px 16px; }
.mblock .row + .row{ border-top:1px solid var(--sep); }
.empty{ font-size:13px; color:var(--sub); padding:24px 0; text-align:center; }

/* settings */
.slabel{ font-size:13px; font-weight:500; color:var(--sub); padding:4px 2px 0; margin-bottom:-6px; }
.sgroup{ background:var(--card); border:1px solid var(--sep); border-radius:14px; }
.app .srow{ display:flex; align-items:center; gap:12px; width:100%; padding:11px 16px; font-size:15px; }
.srow + .srow{ border-top:1px solid var(--sep); }
.srow b{ font-weight:500; }
.srow small{ font-size:15px; color:var(--sub); }
.srow > svg{ color:var(--sub); flex:none; }
.stile-i{ width:30px; height:30px; flex:none; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; }

/* narrow screens: the app flows in the page */
@media (max-width:979px){
  .app{ height:auto; }
  .statusbar{ display:none; }
  .scr{ position:static; overflow:visible; padding-bottom:12px; min-height:70vh; }
  .hdr,.hdr-stack{ position:static; }
  .tabbar{ position:sticky; bottom:14px; left:auto; right:auto; margin:0 22px 14px; }
  .toast{ position:fixed; bottom:96px; }
}
