/* ============================================================================
   Quiltd — Apple system UI, light appearance.
   Values are the iOS system tokens, not approximations of them.
   ========================================================================== */
:root{
  --bg:#F2F2F7;                      /* systemGroupedBackground */
  --cell:#FFFFFF;                    /* secondarySystemGroupedBackground */
  --label:#000000;
  --label-2:rgba(60,60,67,.60);      /* secondaryLabel */
  --label-3:rgba(60,60,67,.30);      /* tertiaryLabel */
  --sep:#C6C6C8;                     /* opaqueSeparator */
  --chev:#C7C7CC;
  --fill:rgba(118,118,128,.12);      /* tertiarySystemFill — segmented track */
  --fill-2:rgba(118,118,128,.08);
  --switch-off:#E9E9EA;
  --bar:rgba(249,249,249,.82);       /* nav + tab bar material */
  --bar-line:rgba(0,0,0,.30);

  --blue:#007AFF;
  --green:#34C759;
  --red:#FF3B30;
  --orange:#FF9500;
  --indigo:#5856D6;
  --pink:#FF2D55;
  --gray:#8E8E93;

  --r-group:10px;
  --r-tile:7px;
  --r-btn:12px;
  --gutter:16px;
  --col:430px;                       /* the app column on a wide screen */
  --tabbar:49px;

  --sf:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","SF Pro Icons",system-ui,"Helvetica Neue",sans-serif;
  --sf-mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,monospace;
  color-scheme:light;
}

@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#000000;
    --cell:#1C1C1E;
    --label:#FFFFFF;
    --label-2:rgba(235,235,245,.60);
    --label-3:rgba(235,235,245,.30);
    --sep:#38383A;
    --chev:#48484A;
    --fill:rgba(118,118,128,.24);
    --fill-2:rgba(118,118,128,.18);
    --switch-off:#39393D;
    --bar:rgba(30,30,32,.80);
    --bar-line:rgba(255,255,255,.15);
    --blue:#0A84FF;
    --green:#30D158;
    --red:#FF453A;
    --orange:#FF9F0A;
    --indigo:#5E5CE6;
    --pink:#FF375F;
    --gray:#8E8E93;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#000000;
  --cell:#1C1C1E;
  --label:#FFFFFF;
  --label-2:rgba(235,235,245,.60);
  --label-3:rgba(235,235,245,.30);
  --sep:#38383A;
  --chev:#48484A;
  --fill:rgba(118,118,128,.24);
  --fill-2:rgba(118,118,128,.18);
  --switch-off:#39393D;
  --bar:rgba(30,30,32,.80);
  --bar-line:rgba(255,255,255,.15);
  --blue:#0A84FF;
  --green:#30D158;
  --red:#FF453A;
  --orange:#FF9F0A;
  --indigo:#5E5CE6;
  --pink:#FF375F;
  --gray:#8E8E93;
  color-scheme:dark;
}

/* ---------------------------------------------------------------- reset --- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--label);
  font-family:var(--sf);
  font-size:17px;
  line-height:1.294;                 /* 22/17, the iOS Body ramp */
  -webkit-font-smoothing:antialiased;
  -webkit-tap-highlight-color:transparent;
}
button,input,select,textarea{font:inherit;color:inherit;font-family:inherit}
button{cursor:pointer}
:focus-visible{outline:2.5px solid var(--blue);outline-offset:2px;border-radius:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mono{font-family:var(--sf-mono);font-size:15px;letter-spacing:-.2px}
.num{font-variant-numeric:tabular-nums}

/* ------------------------------------------------------------ the column -- */
/* Phone-first. On anything wider the app holds its column and the grouped
   background fills the rest, the way it looks on the device. */
#app{
  max-width:var(--col);
  margin:0 auto;
  min-height:100vh;
  min-height:100dvh;
  background:var(--bg);
  position:relative;
}
.screen{
  padding-bottom:calc(var(--tabbar) + env(safe-area-inset-bottom,0px) + 24px);
  outline:none;
}

/* ---------------------------------------------------------------- navbar -- */
.navbar{
  position:sticky;
  top:0;
  z-index:50;
  padding-top:env(safe-area-inset-top,0px);
  background:transparent;
  transition:background .22s ease;
}
.navbar.is-stuck{
  background:var(--bar);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  backdrop-filter:saturate(180%) blur(20px);
  box-shadow:0 .5px 0 var(--bar-line);
}
.navbar-in{
  height:44px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 8px 0 var(--gutter);
  position:relative;
}
.navbar-title{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  max-width:56%;
  font-size:17px;
  font-weight:600;
  letter-spacing:-.4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  opacity:0;
  transition:opacity .18s ease;
  pointer-events:none;
}
.navbar.is-stuck .navbar-title{opacity:1}
.nav-back{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:0;
  background:none;
  color:var(--blue);
  font-size:17px;
  letter-spacing:-.4px;
  padding:4px 6px 4px 0;
  margin-left:-2px;
  max-width:60%;
}
.nav-back span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-back svg{width:18px;height:18px;flex:none;stroke-width:2.6;margin-right:-3px}
.nav-btn svg{width:22px;height:22px;display:block;stroke-width:2.2}
.dot{width:10px;height:10px;border-radius:50%;flex:none}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:2px}
.nav-btn{
  border:0;background:none;color:var(--blue);
  font-size:17px;letter-spacing:-.4px;
  padding:6px 10px;border-radius:8px;
}
.nav-btn.strong{font-weight:600}
.nav-btn:active{opacity:.4}
.nav-btn[disabled]{color:var(--label-3)}

/* ----------------------------------------------------------- large title -- */
.ltitle{padding:4px var(--gutter) 8px}
.ltitle h1{
  margin:0;
  font-size:34px;
  line-height:41px;
  font-weight:700;
  letter-spacing:.37px;
}
.ltitle .sub{
  margin-top:1px;
  font-size:15px;
  line-height:20px;
  color:var(--label-2);
  letter-spacing:-.24px;
}

/* ------------------------------------------------------ the grouped list -- */
.group{margin:0 var(--gutter) 34px}
.group.tight{margin-bottom:20px}
.ghead{
  padding:0 16px 7px;
  font-size:13px;
  line-height:18px;
  letter-spacing:-.08px;
  color:var(--label-2);
}
.ghead .gcount{float:right;color:var(--label-3)}
.gfoot{
  padding:7px 16px 0;
  font-size:13px;
  line-height:18px;
  color:var(--label-2);
  letter-spacing:-.08px;
}
.glist{
  background:var(--cell);
  border-radius:var(--r-group);
  overflow:hidden;
}

/* A cell is a leading accessory, then the body. The hairline lives on the
   body, so it starts after the icon tile without anyone measuring anything. */
.cell{
  display:flex;
  align-items:stretch;
  padding-left:var(--gutter);
  background:var(--cell);
  width:100%;
  border:0;
  text-align:left;
  color:inherit;
  font:inherit;
}
.cell-lead{display:flex;align-items:center;padding-right:12px;flex:none}
.cell-body{
  flex:1;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:7px var(--gutter) 7px 0;
}
.cell + .cell > .cell-body{border-top:.5px solid var(--sep)}
button.cell:active,.cell.tappable:active{background:var(--fill-2)}

.cell-text{flex:1;min-width:0;display:block}
button.celltap{
  border:0;background:none;padding:0;margin:0;
  font:inherit;color:inherit;text-align:left;
}
button.celltap:active{opacity:.45}
.cell-sub .late{color:var(--red)}
.cell-sub .soon{color:var(--orange)}
.cell-sub .ok{color:var(--green)}
.cell-sub .quiet{color:var(--label-3)}
.iconbtn{
  border:0;background:none;color:var(--blue);
  width:30px;height:30px;padding:0;flex:none;
  display:grid;place-items:center;border-radius:8px;
}
.iconbtn svg{width:19px;height:19px}
.iconbtn:active{opacity:.45}
/* A remove control should recede until you mean it — blue reads as the
   main thing to do on the row, which it never is. */
.iconbtn.quiet{color:var(--label-3)}
.iconbtn.quiet svg{width:16px;height:16px}
.iconbtn.armed{color:var(--red)}
.cell-title{
  display:block;
  font-size:17px;
  line-height:22px;
  letter-spacing:-.41px;
  overflow-wrap:anywhere;
}
.cell-sub{
  display:block;
  font-size:13px;
  line-height:18px;
  letter-spacing:-.08px;
  color:var(--label-2);
  margin-top:1px;
  overflow-wrap:anywhere;
}
.cell-acc{display:flex;align-items:center;gap:6px;flex:none;max-width:52%}
.cell-value{
  font-size:17px;
  letter-spacing:-.41px;
  color:var(--label-2);
  text-align:right;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.cell-value.tnum{font-variant-numeric:tabular-nums}
.cell.done .cell-title{color:var(--label-2)}

.tile{
  width:29px;height:29px;
  border-radius:var(--r-tile);
  display:grid;place-items:center;
  color:#fff;
  flex:none;
}
.tile svg{width:17px;height:17px;display:block}
.chev{width:8px;height:13px;color:var(--chev);flex:none}

/* Blue centred action inside a group — "Add a bill", "Sign out". */
a.cell{text-decoration:none}
.cell-action .cell-title{color:var(--blue)}
.cell-action.danger .cell-title{color:var(--red)}
.cell-action.center .cell-body{justify-content:center}
.cell-action.center .cell-text{flex:0 1 auto;text-align:center}
.save-hint:empty{display:none}
.save-hint.dirty{color:var(--orange)}

/* --------------------------------------------------------------- profile -- */
.profile{display:flex;align-items:center;gap:14px;padding:14px var(--gutter)}
.avatar{
  width:60px;height:60px;border-radius:50%;
  display:grid;place-items:center;flex:none;
  color:#fff;font-size:24px;font-weight:500;letter-spacing:-.4px;
  background:linear-gradient(160deg,#5AC8FA,#007AFF);
}
.avatar.k{background:linear-gradient(160deg,#FF9500,#FF2D55)}
.profile-name{font-size:20px;font-weight:600;letter-spacing:-.45px;line-height:25px}
.profile-sub{font-size:14px;color:var(--label-2);letter-spacing:-.15px;margin-top:2px;line-height:19px}

/* ------------------------------------------------------- native controls -- */
/* A restyled checkbox, so it keeps native state, keyboard and form semantics. */
.switch{
  appearance:none;-webkit-appearance:none;
  width:51px;height:31px;border-radius:999px;
  background:var(--switch-off);
  border:0;padding:0;margin:0;flex:none;position:relative;
  transition:background .24s cubic-bezier(.4,0,.2,1);
}
.switch::after{
  content:"";
  position:absolute;top:2px;left:2px;
  width:27px;height:27px;border-radius:50%;
  background:#fff;
  box-shadow:0 3px 8px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.16);
  transition:transform .24s cubic-bezier(.4,0,.2,1);
}
.switch:checked{background:var(--green)}
.switch:checked::after{transform:translateX(20px)}

/* Small controls stay small but take a finger-sized tap area with them. */
.circle,.iconbtn,.linkish,.chip button{position:relative}
.circle::before,.iconbtn::before,.linkish::before,.chip button::before{
  content:"";
  position:absolute;
  top:50%;left:50%;
  width:44px;height:44px;
  transform:translate(-50%,-50%);
}
.circle{
  width:22px;height:22px;border-radius:50%;
  border:1.8px solid var(--chev);
  background:transparent;
  display:grid;place-items:center;
  color:transparent;
  flex:none;padding:0;
  transition:background .15s,border-color .15s;
}
.circle svg{width:13px;height:13px}
.circle[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.circle.green[aria-pressed="true"]{background:var(--green);border-color:var(--green)}
.circle-off{
  width:22px;height:22px;border-radius:50%;flex:none;
  border:1.8px dashed var(--chev);opacity:.55;
}

.seg{
  display:flex;
  background:var(--fill);
  border-radius:9px;
  padding:2px;
  gap:2px;
}
.seg button{
  flex:1;
  border:0;background:transparent;
  color:var(--label);
  font-size:13px;font-weight:500;letter-spacing:-.08px;
  padding:6px 8px;border-radius:7px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:background .18s;
}
.seg button[aria-pressed="true"]{
  background:var(--cell);
  font-weight:600;
  box-shadow:0 3px 8px rgba(0,0,0,.12),0 1px 1px rgba(0,0,0,.04);
}
.seg-wrap{padding:0 var(--gutter) 18px}

.btn{
  border:0;
  background:var(--fill);
  color:var(--blue);
  font-size:17px;font-weight:600;letter-spacing:-.41px;
  padding:14px 18px;border-radius:var(--r-btn);
  width:100%;
}
.btn-filled{background:var(--blue);color:#fff}
.btn-filled.danger{background:var(--red)}
.btn-filled[disabled]{opacity:.45}
.btn:active{opacity:.75}
.btn-row{padding:0 var(--gutter) 34px;display:flex;gap:10px}

/* Small pill for a status word that has to sit on one row with other things. */
.status{
  font-size:13px;font-weight:600;letter-spacing:-.08px;
  white-space:nowrap;font-variant-numeric:tabular-nums;
}
.status.late{color:var(--red)}
.status.soon{color:var(--orange)}
.status.ok{color:var(--green)}
.status.quiet{color:var(--label-2);font-weight:400}

.badge{
  min-width:20px;height:20px;padding:0 6px;border-radius:999px;
  background:var(--red);color:#fff;
  font-size:13px;font-weight:600;line-height:20px;text-align:center;
  font-variant-numeric:tabular-nums;flex:none;
}
.badge.quiet{background:var(--fill);color:var(--label-2)}

/* ------------------------------------------------------------ Today tiles -- */
/* Four destinations, each carrying its own count — the shape Reminders uses
   for its smart lists, so the numbers are places you can go, not decoration. */
.tiles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px;
  padding:0 var(--gutter);
  margin-bottom:30px;
}
.tile-card{
  background:var(--cell);
  border-radius:var(--r-group);
  border:0;
  padding:11px 13px 12px;
  text-align:left;
  display:block;
  width:100%;
}
.tile-card:active{opacity:.7}
.tile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}
.tile-glyph{
  width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;color:#fff;flex:none;
}
.tile-glyph svg{width:16px;height:16px}
.tile-n{
  font-size:26px;font-weight:700;letter-spacing:.2px;
  font-variant-numeric:tabular-nums;line-height:1;
}
.tile-n.sm{font-size:21px;letter-spacing:-.3px}
.tile-l{
  font-size:15px;font-weight:600;letter-spacing:-.24px;
  color:var(--label-2);line-height:20px;
}

/* ----------------------------------------------------------------- forms -- */
.fcell{align-items:center}
.fcell .fl{
  font-size:17px;letter-spacing:-.41px;
  flex:none;padding-right:12px;
}
.fcell .fl.today{color:var(--blue);font-weight:600}
/* Scoped to the class, not to .fcell — the same field turns up in rows that
   aren't form cells, such as the amounts in first run. */
.fi{
  flex:1;min-width:0;
  border:0;background:transparent;
  font-size:17px;letter-spacing:-.41px;
  text-align:right;
  padding:0;
  appearance:none;-webkit-appearance:none;
  border-radius:0;
}
.fi:focus{outline:none}
.fi::placeholder{color:var(--label-3)}
select.fi{
  text-align:right;text-align-last:right;
  color:var(--label-2);
  appearance:none;-webkit-appearance:none;
  padding-right:2px;
}
.fstack .cell-body{align-items:flex-start;padding-top:10px;padding-bottom:12px}
.fstack-in{width:100%}
.fstack .fl{display:block;font-size:13px;color:var(--label-2);padding:0 0 4px;letter-spacing:-.08px}
.fstack .fi{width:100%;text-align:left;font-size:17px;letter-spacing:-.41px}
.fstack textarea.fi{resize:vertical;min-height:62px;line-height:22px;font-family:inherit}
.fhint{
  padding:7px 16px 0;
  font-size:13px;line-height:18px;color:var(--label-2);letter-spacing:-.08px;
}

/* ------------------------------------------------------------- calendar --- */
.calbar .cell-body{justify-content:space-between;padding-right:8px;min-height:48px}
.calbar-m{font-size:20px;font-weight:600;letter-spacing:-.45px}
.calbar-nav{display:flex;gap:2px}
.calbar-nav .iconbtn svg{width:15px;height:15px;stroke-width:2.6}
.cal{padding:2px 8px 12px}
.cal-head{
  display:grid;grid-template-columns:repeat(7,1fr);
  padding:0 0 6px;
}
.cal-head div{
  text-align:center;
  font-size:13px;font-weight:600;letter-spacing:-.08px;
  color:var(--label-2);
}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);row-gap:2px}
.cal-day{
  height:44px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  border:0;background:none;padding:0;
}
.cal-n{
  font-size:17px;letter-spacing:-.41px;font-variant-numeric:tabular-nums;
  width:30px;height:30px;border-radius:50%;
  display:grid;place-items:center;
}
.cal-day.out .cal-n{color:var(--label-3)}
.cal-day.today .cal-n{background:var(--red);color:#fff;font-weight:600}
.cal-day.sel .cal-n{background:var(--label);color:var(--cell);font-weight:600}
.cal-day.today.sel .cal-n{background:var(--red)}
.cal-dots{display:flex;gap:3px;height:5px;align-items:center}
.cal-dot{width:5px;height:5px;border-radius:50%;background:var(--label-2)}
.cal-day.today .cal-dot,.cal-day.sel .cal-dot{background:var(--label-2)}

/* --------------------------------------------------------------- charts --- */
/* One series, so each bar is labelled directly and there is no legend. */
.bar{padding:11px var(--gutter)}
.bar + .bar{border-top:.5px solid var(--sep)}
.bar-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:7px}
.bar-l{font-size:17px;letter-spacing:-.41px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar-v{font-size:17px;letter-spacing:-.41px;font-variant-numeric:tabular-nums;flex:none}
.bar-track{height:6px;border-radius:999px;background:var(--fill);overflow:hidden}
.bar-fill{height:100%;border-radius:999px;background:var(--blue);min-width:3px}

/* ---------------------------------------------------------------- misc ---- */
.empty{
  padding:34px 28px 38px;
  text-align:center;
  color:var(--label-2);
  font-size:15px;line-height:20px;letter-spacing:-.24px;
}
.empty strong{
  display:block;color:var(--label);font-size:17px;font-weight:600;
  letter-spacing:-.41px;margin-bottom:4px;
}
.notice{
  margin:0 var(--gutter) 22px;
  padding:12px 14px;
  border-radius:var(--r-group);
  background:var(--cell);
  display:flex;gap:10px;align-items:flex-start;
  font-size:13px;line-height:18px;color:var(--label-2);letter-spacing:-.08px;
}
.notice svg{width:18px;height:18px;flex:none;color:var(--orange);margin-top:0}
.notice strong{color:var(--label);font-weight:600;display:block}

.linkish{
  border:0;background:none;color:var(--blue);
  font-size:15px;letter-spacing:-.24px;padding:0;
}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.chip{
  display:inline-flex;align-items:center;gap:4px;
  background:var(--fill);border-radius:999px;
  padding:3px 4px 3px 10px;
  font-size:13px;letter-spacing:-.08px;max-width:100%;
}
.chip a{color:var(--blue);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chip button{
  border:0;background:none;color:var(--label-2);
  width:20px;height:20px;border-radius:50%;display:grid;place-items:center;padding:0;
}
.chip button svg{width:11px;height:11px}
.chip.arm{background:rgba(255,59,48,.14)}
.chip.arm button{color:var(--red)}

.toast{
  position:fixed;left:50%;transform:translateX(-50%);
  bottom:calc(var(--tabbar) + env(safe-area-inset-bottom,0px) + 18px);
  z-index:90;
  background:rgba(0,0,0,.84);
  -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);
  color:#fff;
  padding:11px 18px;border-radius:999px;
  font-size:15px;letter-spacing:-.24px;
  max-width:calc(var(--col) - 48px);
  text-align:center;
}

/* ----------------------------------------------------------- onboarding --- */
/* A setup flow, not a screen in the app: no tab bar, one action pinned at the
   bottom where a thumb already is, and a bar that says how much is left. */
#onboard{
  position:fixed;
  inset:0;
  z-index:110;
  background:var(--bg);
}
.ob{
  max-width:var(--col);
  margin:0 auto;
  height:100%;
  display:flex;
  flex-direction:column;
  padding-top:env(safe-area-inset-top,0px);
}
.ob-bar{
  height:44px;
  flex:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 8px 0 var(--gutter);
}
.ob-progress{
  flex:none;
  height:3px;
  margin:0 var(--gutter) 10px;
  border-radius:999px;
  background:var(--fill);
  overflow:hidden;
}
.ob-progress span{
  display:block;
  height:100%;
  border-radius:999px;
  background:var(--blue);
  transition:width .3s cubic-bezier(.4,0,.2,1);
}
.ob-body{
  flex:1;
  min-height:0;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  padding-bottom:22px;
}
.ob-foot{
  flex:none;
  padding:10px var(--gutter) calc(env(safe-area-inset-bottom,0px) + 14px);
  background:var(--bar);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  backdrop-filter:saturate(180%) blur(20px);
  box-shadow:0 -.5px 0 var(--bar-line);
}

/* An unpicked row recedes rather than disappearing — you still need to read it
   to decide, so it dims instead of greying out. */
.ob-pick .cell-title{transition:color .15s}
.ob-pick:not(.on) .cell-title{color:var(--label-2)}
.ob-pick:not(.on) .cell-sub{color:var(--label-3)}
.ob-amt{
  width:84px;
  flex:none;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.ob-amt:disabled{color:var(--label-3);opacity:1}

/* ---------------------------------------------------- privacy / support --- */
/* The two static pages the App Store requires. Same column and type ramp as
   the app, so following a link out of Setup doesn't feel like leaving. */
.doc{
  max-width:var(--col);
  margin:0 auto;
  padding:calc(env(safe-area-inset-top,0px) + 28px) var(--gutter) 64px;
}
.doc h1{
  font-size:34px;line-height:41px;font-weight:700;
  letter-spacing:.37px;margin:0 0 6px;
}
.doc .updated{
  font-size:15px;line-height:20px;color:var(--label-2);
  letter-spacing:-.24px;margin:0 0 28px;
}
.doc h2{
  font-size:20px;line-height:25px;font-weight:600;
  letter-spacing:-.45px;margin:32px 0 8px;
}
.doc p,.doc li{
  font-size:17px;line-height:24px;letter-spacing:-.41px;margin:0 0 12px;
}
.doc ul{padding-left:22px;margin:0 0 12px}
.doc a{color:var(--blue)}
.doc .note{
  background:var(--cell);
  border-radius:var(--r-group);
  padding:14px 16px;margin:0 0 12px;
}
.doc .note p:last-child{margin-bottom:0}

/* --------------------------------------------------------------- tab bar -- */
.tabbar{
  position:fixed;
  bottom:0;left:0;right:0;
  z-index:60;
  max-width:var(--col);
  margin:0 auto;
  height:calc(var(--tabbar) + env(safe-area-inset-bottom,0px));
  padding-bottom:env(safe-area-inset-bottom,0px);
  display:flex;
  background:var(--bar);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  backdrop-filter:saturate(180%) blur(20px);
  box-shadow:0 -.5px 0 var(--bar-line);
}
.tab{
  flex:1;
  border:0;background:none;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;
  color:var(--gray);
  padding:0;
  position:relative;
}
.tab svg{width:26px;height:26px;display:block}
.tab .tl{font-size:10px;line-height:12px;font-weight:500;letter-spacing:.06px}
.tab[aria-current="true"]{color:var(--blue)}
.tab .badge{
  position:absolute;
  top:2px;
  left:calc(50% + 7px);
  min-width:17px;height:17px;line-height:17px;
  font-size:11px;padding:0 5px;
  box-shadow:0 0 0 1.5px var(--bar);
}

/* ------------------------------------------------------------- responsive - */
/* The design is the 390pt column; wider screens get the column, not a
   different layout. Below 360 the type ramp holds and the gutter tightens. */
@media (max-width:359px){
  :root{--gutter:12px}
  .ltitle h1{font-size:30px;line-height:36px}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
