/* ---- style ---- */
/* ============================================================
   LJUST TEMA (default)
   ============================================================ */
:root{
  --ink:#1D1D1F;
  --ink-2:#4A4A4D;
  --mute:#86868B;
  --mute-2:#C7C7CC;
  --blue:#0071E3;
  --blue-hover:#0077ED;
  --blue-soft:rgba(0,113,227,.08);
  --blue-soft-2:rgba(0,113,227,.15);
  --sidebar-bg:rgba(242,242,245,.85);
  --toolbar-bg:rgba(246,246,248,.85);
  --app-bg:#FFFFFF;
  --content-bg:#FFFFFF;
  --card-bg:#FFFFFF;
  --card-bg-hover:#FBFBFD;
  --panel-bg:#F7F7F9;
  --tile-bg:#F5F5F7;
  --sheet-head:#F6F6F8;
  --overlay-bg:rgba(0,0,0,.18);
  --hair:rgba(0,0,0,.08);
  --hair-2:rgba(0,0,0,.05);
  --hover-bg:rgba(0,0,0,.05);
  --seg-bg:rgba(0,0,0,.06);
  --seg-on:#FFFFFF;
  --btn-bg:#FFFFFF;
  --btn-bg-hover:#F5F5F7;
  --btn-border:rgba(0,0,0,.08);
  --bar-bg:rgba(28,28,32,.9);
  --bar-border:rgba(255,255,255,.1);
  --window-ring:rgba(0,0,0,.18);
  --window-shadow:0 22px 70px -20px rgba(0,0,0,.35), 0 40px 100px -40px rgba(0,0,0,.25);
  --card-shadow:0 1px 0 rgba(255,255,255,1) inset, 0 1px 2px rgba(0,0,0,.04);
  --card-shadow-hover:0 1px 0 rgba(255,255,255,1) inset, 0 10px 28px -12px rgba(0,0,0,.18);
  --icon-shadow:0 2px 6px -1px rgba(0,113,227,.35);
  --page-bg:#E8E8EC;
  --ease:cubic-bezier(.32,.72,0,1);
  --ease-soft:cubic-bezier(.4,0,.2,1);
  --theme-transition:background .3s var(--ease-soft), color .3s var(--ease-soft), border-color .3s var(--ease-soft), box-shadow .3s var(--ease-soft);
}

/* ============================================================
   MÖRKT TEMA
   ============================================================ */
:root.dark{
  --ink:#F5F5F7;
  --ink-2:#A1A1A6;
  --mute:#86868B;
  --mute-2:#48484A;
  --blue:#0A84FF;
  --blue-hover:#3D9BFF;
  --blue-soft:rgba(10,132,255,.15);
  --blue-soft-2:rgba(10,132,255,.25);
  --sidebar-bg:rgba(30,30,32,.85);
  --toolbar-bg:rgba(28,28,30,.85);
  --app-bg:#1C1C1E;
  --content-bg:#1C1C1E;
  --card-bg:#2C2C2E;
  --card-bg-hover:#3A3A3C;
  --panel-bg:#232325;
  --tile-bg:#363638;
  --sheet-head:#252527;
  --overlay-bg:rgba(0,0,0,.5);
  --hair:rgba(255,255,255,.08);
  --hair-2:rgba(255,255,255,.06);
  --hover-bg:rgba(255,255,255,.06);
  --seg-bg:rgba(255,255,255,.08);
  --seg-on:#636366;
  --btn-bg:#3A3A3C;
  --btn-bg-hover:#48484A;
  --btn-border:rgba(255,255,255,.1);
  --bar-bg:rgba(50,50,54,.92);
  --bar-border:rgba(255,255,255,.12);
  --window-ring:rgba(255,255,255,.12);
  --window-shadow:0 22px 70px -20px rgba(0,0,0,.7), 0 40px 100px -40px rgba(0,0,0,.5);
  --card-shadow:0 1px 0 rgba(255,255,255,.06) inset, 0 1px 2px rgba(0,0,0,.2);
  --card-shadow-hover:0 1px 0 rgba(255,255,255,.08) inset, 0 12px 30px -12px rgba(0,0,0,.6);
  --icon-shadow:0 2px 6px -1px rgba(10,132,255,.4);
  --page-bg:#0E0E10;
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{
  margin:0;height:100%;overflow:hidden;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Helvetica,Arial,sans-serif;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1;
  background:var(--page-bg);
  letter-spacing:-.01em;
  transition:background .4s var(--ease-soft), color .3s var(--ease-soft);
}
button{font-family:inherit;color:inherit}
button:focus-visible,.btn:focus-visible,.nav-item:focus-visible,
.cat-card:focus-visible,.model-card:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:2px;
}
::selection{background:var(--blue-soft-2)}

/* ============================================================
   APP WINDOW
   ============================================================ */
#app{
  position:fixed;
  inset:24px;
  border-radius:12px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:var(--app-bg);
  box-shadow:0 0 0 .5px var(--window-ring), var(--window-shadow);
  transition:var(--theme-transition);
}

/* ============================================================
   TOOLBAR
   ============================================================ */
.chrome{
  flex:none;
  height:52px;
  padding:0 12px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:16px;
  background:var(--toolbar-bg);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border-bottom:1px solid var(--hair);
  user-select:none;
  position:relative;z-index:3;
  transition:var(--theme-transition);
}
.chrome-left{display:flex;align-items:center;gap:6px;min-width:0}
.chrome-title{
  display:flex;align-items:center;gap:8px;
  font-size:calc(13px*var(--ts,1));font-weight:600;
  color:var(--ink);
  min-width:0;
  justify-content:center;
  white-space:nowrap;
}
.chrome-title .crumb{align-items:center;gap:6px;color:var(--mute);font-weight:400;}
.chrome-title .crumb b{color:var(--ink);font-weight:600}
.chrome-title .chrome-credit{display:none}
.chrome-title.is-home{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;justify-items:center;align-content:center;gap:1px;line-height:1}
.chrome-title.is-home .app-ico{display:none}
.chrome-title.is-home .crumb{grid-row:1;line-height:1.2}
.chrome-title.is-home .chrome-credit{display:block;grid-row:2;padding:0;border:0;background:transparent;font:inherit;font-size:calc(11px*var(--ts,1));font-weight:500;letter-spacing:.015em;color:var(--mute);opacity:.8;line-height:1.1;white-space:nowrap;cursor:pointer}
.chrome-title.is-home .chrome-credit:hover{opacity:1;text-decoration:underline;text-underline-offset:2px}
.chrome-title.is-home .chrome-credit:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:3px}
.chrome-title.is-home .chrome-heart{color:#ff453a;font-weight:700}
.chrome-title .app-ico{
  width:18px;height:18px;border-radius:4px;
  display:grid;place-items:center;flex:none;
  background:var(--blue-fill,var(--blue));color:#fff;
}
.chrome-title .app-ico:empty{display:none}
.chrome-title .app-ico svg{width:11px;height:11px}
.chrome-actions{display:flex;gap:6px;align-items:center;justify-self:end}
#learnCoachBtn{display:none}
#learnCoachBtn.visible{display:flex;width:auto;min-width:76px;gap:6px;padding:0 10px;border:1px solid var(--hair);border-radius:9px;font-size:calc(12px*var(--ts,1));font-weight:600;white-space:nowrap}
#learnCoachBtn.visible svg{width:15px;height:15px}
@media(max-width:600px){#learnCoachBtn.visible{width:40px;min-width:40px;padding:0;justify-content:center}#learnCoachBtn.visible span{display:none}}

.tool-btn{
  width:30px;height:30px;
  border-radius:7px;border:0;
  background:transparent;
  cursor:pointer;
  display:grid;place-items:center;
  padding:0;
  color:var(--ink-2);
  transition:background .15s, color .15s, opacity .2s, transform .15s;
}
.tool-btn:hover{background:var(--hover-bg);color:var(--ink)}
.tool-btn:active{transform:scale(.94)}
.tool-btn:disabled{opacity:.3;pointer-events:none}
.tool-btn svg{width:16px;height:16px}
.tool-btn:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.app-ico{cursor:default}
.egg-toast{position:fixed;left:50%;bottom:28px;z-index:9500;display:flex;align-items:center;gap:11px;width:max-content;max-width:calc(100vw - 32px);padding:11px 15px;border:1px solid var(--hair);border-radius:15px;background:var(--card-bg);color:var(--ink);box-shadow:0 12px 36px rgba(0,0,0,.16);opacity:0;visibility:hidden;transform:translate(-50%,10px);transition:opacity .25s var(--ease-soft),transform .25s var(--ease-soft),visibility 0s linear .25s;pointer-events:none}
.egg-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0);transition-delay:0s}
.egg-toast-mark{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:9px;background:var(--blue-soft);color:var(--blue)}
.egg-toast-mark svg{width:16px;height:16px}
.egg-toast-copy{min-width:0}
.egg-toast-copy b{display:block;font-size:calc(13px*var(--ts,1));font-weight:650;line-height:1.35}
.egg-toast-copy span{display:block;margin-top:2px;font-size:calc(12px*var(--ts,1));line-height:1.4;color:var(--ink-2)}
@media(prefers-reduced-motion:reduce){.egg-toast{transition:none}}
:root.dark .theme-btn .icon-sun{display:none}
:root:not(.dark) .theme-btn .icon-moon{display:none}

/* ============================================================
   APP BODY + SIDEBAR
   ============================================================ */
.app-body{flex:1;display:flex;min-height:0;overflow:hidden}
.sidebar{
  width:220px;flex:none;
  display:flex;flex-direction:column;
  background:var(--sidebar-bg);
  backdrop-filter:blur(30px) saturate(180%);
  -webkit-backdrop-filter:blur(30px) saturate(180%);
  border-right:1px solid var(--hair);
  overflow-y:auto;
  scrollbar-width:none;
  transition:var(--theme-transition);
}
.sidebar::-webkit-scrollbar{display:none}
/* Sidebar: quiet system style. One accent colour, plain glyphs, no coloured tiles. */
.sidebar{padding:10px 10px 12px}
.sb-toggle{align-self:flex-end;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--mute);cursor:pointer;display:grid;place-items:center;margin-bottom:2px;transition:background .15s,color .15s}
.sb-toggle:hover{background:var(--hover-bg);color:var(--ink)}
.sb-toggle svg{width:16px;height:16px;transition:transform .25s ease}
.sb-section{margin:0;padding:20px 10px 6px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.02em;color:var(--mute)}
.sb-collapse-head{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:transparent;font:inherit;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.02em;color:var(--mute);text-align:left;cursor:pointer}
.sb-collapse-head svg{width:12px;height:12px;flex:none;opacity:.55;transition:transform .2s ease}
.sb-collapse-head[aria-expanded="true"] svg{transform:rotate(90deg)}
.sb-nav-group[hidden]{display:none!important}
.nav-item{
  position:relative;display:flex;align-items:center;gap:10px;
  width:100%;margin:0 0 1px;padding:7px 10px;
  border:0;border-radius:8px;background:transparent;
  color:var(--ink);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:400;
  letter-spacing:-.01em;text-align:left;cursor:pointer;
  transition:background .15s ease,color .15s ease;
}
.nav-item .ico{width:20px;height:20px;flex:none;display:grid;place-items:center;color:var(--ink-2);transition:color .15s ease}
.nav-item .ico svg{width:18px;height:18px;stroke-width:1.7}
.nav-item .label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-item .badge{min-width:0;padding:0;background:none;font-size:calc(12px*var(--ts,1));font-weight:400;color:var(--mute);font-variant-numeric:tabular-nums}
.nav-item:hover{background:var(--hover-bg)}
.nav-item:active{background:var(--seg-bg)}
.nav-item.active,.nav-item.active:hover{background:color-mix(in srgb,var(--blue) 13%,transparent);font-weight:500}
.nav-item.active .ico{color:var(--blue)}
.nav-item.active .badge{color:var(--ink-2)}
@media (min-width:901px){
  .sidebar{transition:width .25s ease,background .3s}
  .sidebar.collapsed{width:68px}
  .sidebar.collapsed .sb-toggle{align-self:center;width:32px;height:32px;margin:0 0 2px;border:1px solid var(--hair);border-radius:10px;background:var(--card-bg);box-shadow:var(--card-shadow)}
  .sidebar.collapsed .sb-toggle:hover{background:var(--card-bg-hover);border-color:color-mix(in srgb,var(--blue) 30%,var(--hair));color:var(--blue)}
  .sidebar.collapsed .sb-toggle svg{transform:rotate(180deg)}
  .sidebar.collapsed .label,.sidebar.collapsed .badge,.sidebar.collapsed .sb-footer{display:none}
  .sidebar.collapsed .sb-section{font-size:0;padding:0;height:1px;margin:12px 10px;background:var(--hair)}
  .sidebar.collapsed .sb-collapse-head{font-size:0;padding:0;height:1px;margin:12px 10px;pointer-events:none}
  .sidebar.collapsed .sb-collapse-head svg{display:none}
  .sidebar.collapsed .nav-item{justify-content:center;padding:8px 0}
}
@media (max-width:900px){.sb-toggle{display:none}}
.sb-footer{
  margin-top:auto;
  padding:12px 14px 10px;
  border-top:1px solid var(--hair);
  font-size:calc(11px*var(--ts,1));line-height:1.45;color:var(--mute);
  display:flex;flex-direction:column;gap:2px;
}
.sb-footer .row span:last-child{color:var(--ink-2);font-weight:500;font-variant-numeric:tabular-nums}
.sb-tip{position:fixed;z-index:1000;transform:translateY(-50%) translateX(-4px);padding:6px 10px;border-radius:8px;background:#1d1d1f;color:#fff;font-size:calc(12px*var(--ts,1));font-weight:500;line-height:1.2;white-space:nowrap;pointer-events:none;opacity:0;box-shadow:0 4px 14px rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.12);transition:opacity .12s ease,transform .12s ease}
.sb-tip.on{opacity:1;transform:translateY(-50%) translateX(0)}
@media (max-width:900px),(hover:none){.sb-tip{display:none}}
.sb-credit{margin-top:8px;padding-top:8px;border-top:1px solid var(--hair-2);font-size:calc(11px*var(--ts,1));line-height:1.5;color:var(--mute)}
.sb-credit-text b{font-weight:600;color:var(--ink-2)}
.sb-credit-btn{display:flex;align-items:center;gap:6px;margin:6px -8px 0;padding:6px 8px;width:calc(100% + 16px);border:0;border-radius:8px;background:transparent;color:var(--ink-2);font:inherit;font-size:calc(12px*var(--ts,1));font-weight:600;cursor:pointer;text-align:left}
.sb-credit-btn:hover{background:var(--hair-2)}
.sb-credit-btn svg{width:14px;height:14px;flex:none}
.sb-credit-btn .chev{margin-left:auto;opacity:.45}
.cl-hero{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;max-width:1320px;margin:0 0 20px;padding:25px 28px;overflow:hidden;border:1px solid color-mix(in srgb,var(--blue) 22%,var(--hair));border-radius:21px;background:radial-gradient(ellipse at 94% 0%,color-mix(in srgb,var(--blue) 20%,transparent),transparent 36%),linear-gradient(120deg,color-mix(in srgb,var(--blue) 9%,var(--panel-bg)),var(--panel-bg) 60%)}
.cl-hero-copy{position:relative;z-index:1}.cl-eyebrow{display:block;margin-bottom:8px;color:var(--blue);font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.12em;text-transform:uppercase}.cl-hero h1{margin:0 0 6px;font-size:calc(28px*var(--ts,1));letter-spacing:-.035em}.cl-hero p{margin:0;max-width:680px;color:var(--ink-2);font-size:calc(15px*var(--ts,1));line-height:1.5}.cl-version{position:relative;z-index:1;flex:none;padding:11px 15px;border:1px solid var(--hair);border-radius:13px;background:color-mix(in srgb,var(--card-bg) 80%,transparent);font-size:calc(12px*var(--ts,1));color:var(--ink-2)}.cl-version b{color:var(--blue);font-size:calc(15px*var(--ts,1))}
.cl-list{display:grid;gap:11px;max-width:1320px}.cl-entry{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;padding:18px 20px;border:1px solid var(--hair);border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--card-bg) 90%,var(--blue-soft)),var(--card-bg))}.cl-date{font-size:calc(12px*var(--ts,1));color:var(--mute);font-variant-numeric:tabular-nums}.cl-date b{display:block;margin-bottom:5px;color:var(--blue);font-size:calc(13px*var(--ts,1))}.cl-copy h2{margin:0 0 5px;font-size:calc(17px*var(--ts,1));letter-spacing:-.02em}.cl-copy p{margin:0;color:var(--ink-2);font-size:calc(13px*var(--ts,1));line-height:1.5}.cl-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.cl-tags span{padding:4px 8px;border:1px solid var(--hair);border-radius:999px;color:var(--ink-2);font-size:calc(11px*var(--ts,1));font-weight:600}
.content-meta{display:flex;align-items:center;gap:7px;margin:8px 0 0;color:var(--mute);font-size:calc(11px*var(--ts,1));line-height:1.3}.content-meta svg{width:12px;height:12px;flex:none;color:var(--blue);opacity:.8}.content-meta .meta-dot{opacity:.6}
.gx-meta{display:block;margin-top:8px;color:var(--mute);font-size:calc(11px*var(--ts,1));font-weight:500;line-height:1.3}
.cr-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1320px;min-height:132px;margin:0 0 16px;padding:22px 26px;overflow:hidden;border:1px solid color-mix(in srgb,var(--blue) 22%,var(--hair));border-radius:22px;background:radial-gradient(ellipse at 92% 10%,color-mix(in srgb,var(--blue) 20%,transparent),transparent 36%),linear-gradient(120deg,color-mix(in srgb,var(--blue) 9%,var(--panel-bg)),var(--panel-bg) 58%);}
.cr-hero::after{content:"";position:absolute;width:210px;height:210px;right:-68px;top:-110px;border:1px solid color-mix(in srgb,var(--blue) 22%,transparent);border-radius:50%;box-shadow:0 0 0 18px color-mix(in srgb,var(--blue) 5%,transparent),0 0 0 38px color-mix(in srgb,var(--blue) 3%,transparent);pointer-events:none}
.cr-hero-copy{position:relative;z-index:1;min-width:0}.cr-eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:9px;color:var(--blue);font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.12em;text-transform:uppercase}.cr-eyebrow svg{width:14px;height:14px}.cr-hero .t-view-title{font-size:calc(34px*var(--ts,1));margin-bottom:5px}.cr-hero .t-view-sub{max-width:590px}
.cr-hero-stat{position:relative;z-index:1;flex:none;display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--hair);border-radius:15px;background:color-mix(in srgb,var(--card-bg) 76%,transparent);backdrop-filter:blur(12px)}.cr-stat-avatars{display:flex;padding-left:3px}.cr-stat-avatars i{display:grid;place-items:center;width:29px;height:29px;margin-left:-4px;border:2px solid var(--panel-bg);border-radius:50%;background:linear-gradient(145deg,var(--blue-soft-2),var(--tile-bg));color:var(--blue);font-style:normal;font-size:calc(11px*var(--ts,1));font-weight:700}.cr-stat-copy b{display:block;font-size:calc(17px*var(--ts,1));line-height:1.1}.cr-stat-copy span{display:block;margin-top:3px;color:var(--mute);font-size:calc(11px*var(--ts,1));white-space:nowrap}
.cr-tools{position:sticky;top:-1px;z-index:2;display:flex;align-items:center;gap:12px;max-width:1320px;margin:10px 0 4px;padding:8px 0;background:var(--content-bg);}
.cr-search{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:44px;padding:0 14px;border:1px solid var(--hair);border-radius:12px;background:var(--card-bg);color:var(--mute)}
.cr-search:focus-within{outline:2px solid var(--blue);outline-offset:2px}
.cr-search svg{width:18px;height:18px;flex:none}
.cr-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:calc(15px*var(--ts,1))}
.cr-search input::placeholder{color:var(--mute)}
.cr-results{flex:none;font-size:calc(12px*var(--ts,1));color:var(--mute);font-variant-numeric:tabular-nums}
.cr-filters{display:flex;flex-wrap:wrap;gap:7px;max-width:1320px;margin:2px 0 12px}
.cr-filter{min-height:32px;padding:6px 11px;border:1px solid var(--hair);border-radius:999px;background:var(--card-bg);color:var(--ink-2);font:inherit;font-size:calc(12px*var(--ts,1));font-weight:550;white-space:nowrap;cursor:pointer;transition:background .16s,border-color .16s,color .16s}
.cr-filter:hover{border-color:var(--blue);color:var(--blue)}
.cr-filter.on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue);font-weight:650}
.cr-filter:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.cr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px;max-width:1320px}
.cr-card{position:relative;display:flex;gap:14px;align-items:flex-start;justify-content:flex-start;text-align:left;min-width:0;padding:18px;border:1px solid var(--hair);border-radius:17px;background:linear-gradient(145deg,color-mix(in srgb,var(--card-bg) 88%,var(--blue-soft)),var(--card-bg));transition:transform .18s var(--ease-soft),border-color .18s,box-shadow .18s}
.cr-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--blue) 35%,var(--hair));box-shadow:var(--card-shadow-hover)}
.cr-card>div:last-child{min-width:0}
.cr-empty{max-width:1320px;padding:24px 4px;color:var(--mute);font-size:calc(15px*var(--ts,1))}
.cr-av{flex:none;width:46px;height:46px;border:1px solid color-mix(in srgb,var(--blue) 18%,var(--hair));border-radius:15px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,var(--blue-soft-2),var(--panel-bg));color:var(--blue);font-weight:700;font-size:calc(15px*var(--ts,1));letter-spacing:-.03em}
.cr-card h3{margin:0 0 2px;font-size:calc(17px*var(--ts,1));letter-spacing:-.02em;color:var(--ink)}
.cr-role{font-size:calc(12px*var(--ts,1));color:var(--mute);margin:0 0 8px}
.cr-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cr-link{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--hair);border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-size:calc(12px*var(--ts,1));font-weight:600;text-decoration:none;cursor:pointer}
.cr-link svg{width:14px;height:14px;flex:none}
a.cr-link:hover{background:var(--hair-2)}
.cr-link.off{opacity:.4;cursor:default;pointer-events:none}
.cr-card ul{margin:0;padding-left:18px;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink)}
.cr-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}
.cr-tags span{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border:1px solid color-mix(in srgb,var(--blue) 12%,var(--hair-2));border-radius:999px;background:color-mix(in srgb,var(--blue) 7%,var(--panel-bg));color:var(--ink-2);font-size:calc(11px*var(--ts,1));font-weight:600;line-height:1.2}
@media(min-width:601px) and (max-width:1050px){.cr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cr-hero{align-items:flex-start;flex-direction:column;gap:16px;padding:22px 20px;min-height:0}.cr-hero .t-view-title{font-size:calc(28px*var(--ts,1))}.cr-hero-stat{padding:9px 12px}.cr-tools{top:-1px;gap:8px;flex-wrap:wrap}.cr-search{flex-basis:100%}.cr-results{margin-left:2px}.cr-filters{flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 6px;margin-right:-4px;scrollbar-width:none}.cr-filters::-webkit-scrollbar{display:none}.cr-grid{grid-template-columns:minmax(0,1fr);gap:9px}.cr-card{padding:14px}}
@media(max-width:600px){.cl-hero{align-items:flex-start;flex-direction:column;padding:22px 20px;gap:14px}.cl-entry{grid-template-columns:1fr;gap:7px;padding:16px}.cl-date b{display:inline;margin:0 8px 0 0}}
.sb-footer .row{display:flex;justify-content:space-between;align-items:center}

/* ============================================================
   CONTENT
   ============================================================ */
.content{
  flex:1;min-width:0;
  display:flex;flex-direction:column;
  overflow:hidden;position:relative;
  background:var(--content-bg);
  transition:var(--theme-transition);
}
.view{
  position:absolute;inset:0;
  display:flex;flex-direction:column;
  overflow:hidden;
  transition:opacity .2s ease, transform .2s ease, visibility 0s;
}
/* Hidden views fade out, then leave the tab order and screen readers */
.view.hide{opacity:0;pointer-events:none;transform:translateX(6px);visibility:hidden;transition:opacity .2s ease, transform .2s ease, visibility 0s .2s}
.view-scroll{
  flex:1;min-height:0;
  overflow-y:auto;overflow-x:hidden;
  padding:40px 44px 110px;
  scrollbar-width:thin;
  scrollbar-color:rgba(120,120,128,.3) transparent;
}
.view-scroll::-webkit-scrollbar{width:10px}
.view-scroll::-webkit-scrollbar-thumb{
  background:rgba(120,120,128,.3);border-radius:999px;
  border:3px solid transparent;background-clip:content-box;
}

/* ============================================================
   TYPOGRAFI
   ============================================================ */
.t-view-title{font-size:calc(28px*var(--ts,1));font-weight:700;letter-spacing:-.03em;margin:0 0 6px;line-height:1.15;color:var(--ink)}
.t-view-sub{font-size:calc(15px*var(--ts,1));color:var(--mute);letter-spacing:-.012em;line-height:1.5;margin:0;max-width:620px}
.t-section{
  font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--mute);
  margin:0 0 14px;
  display:flex;align-items:center;gap:10px;
}
.t-section::after{content:"";flex:1;height:1px;background:var(--hair-2)}

/* ============================================================
   SEGMENTED CONTROL (Novice / Tech interested / Expert)
   ============================================================ */
.seg{display:inline-flex;background:var(--seg-bg);border-radius:9px;padding:2px;gap:2px;flex:none}
.seg button{
  border:0;background:transparent;
  font-size:calc(12px*var(--ts,1));font-weight:500;
  padding:5px 11px;border-radius:7px;
  cursor:pointer;color:var(--ink-2);white-space:nowrap;
  transition:background .15s, color .15s, box-shadow .15s;
}
.seg button:hover{color:var(--ink)}
.seg button.on{background:var(--seg-on);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.1), 0 0 0 .5px var(--hair)}
.lvl-badge{
  display:block;
  font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  color:var(--blue);margin-bottom:4px;
}

/* ============================================================
   HEM: HERO
   ============================================================ */
/* ============================================================
   HEM: SEKTIONER
   ============================================================ */
.feature,.step{
  padding:20px;
  border-radius:16px;
  background:var(--card-bg);
  border:1px solid var(--hair-2);
  box-shadow:var(--card-shadow);
}
.feature h3,.step h3{font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.02em;margin:0 0 5px;color:var(--ink)}
.feature p,.step p{font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--mute);margin:0}
.why{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:40px;
  padding:34px;
  border-radius:20px;
  background:var(--panel-bg);
  border:1px solid var(--hair-2);
}
.why h2{font-size:calc(22px*var(--ts,1));font-weight:700;letter-spacing:-.03em;line-height:1.2;margin:0 0 12px;color:var(--ink)}
.why p{font-size:calc(15px*var(--ts,1));line-height:1.6;color:var(--ink-2);margin:0}
.principles{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}
.principles li{display:flex;gap:12px;align-items:flex-start}
.principles b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;margin-bottom:2px;color:var(--ink)}
.principles span{font-size:calc(13px*var(--ts,1));color:var(--mute);line-height:1.5}
.ck{
  flex:none;width:20px;height:20px;border-radius:50%;
  background:var(--blue-fill,var(--blue));color:#fff;
  display:grid;place-items:center;
}
.ck svg{width:11px;height:11px}
.principles .ck{width:24px;height:24px}
.principles .ck svg{width:13px;height:13px}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.step-num{
  width:28px;height:28px;border-radius:50%;
  border:1.5px solid var(--blue);color:var(--blue);
  font-size:calc(13px*var(--ts,1));font-weight:600;
  display:grid;place-items:center;
  margin-bottom:14px;
}

kbd{
  font-family:inherit;font-size:calc(11px*var(--ts,1));font-weight:600;
  padding:1px 6px;border-radius:5px;
  border:1px solid var(--hair);background:var(--card-bg);
  color:var(--ink-2);
}
.home-foot{
  margin-top:8px;padding-top:18px;
  border-top:1px solid var(--hair-2);
  font-size:calc(12px*var(--ts,1));color:var(--mute);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;
}

/* ============================================================
   NOTIS (kontrollera specs)
   ============================================================ */
.notice{
  display:flex;gap:10px;align-items:flex-start;
  padding:11px 14px;border-radius:10px;
  background:var(--panel-bg);border:1px solid var(--hair-2);
  font-size:calc(13px*var(--ts,1));color:var(--ink-2);line-height:1.5;
  margin-bottom:28px;
}

.notice b{color:var(--ink);font-weight:600}

/* ============================================================
   KATEGORIKORT
   ============================================================ */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-bottom:40px}
.cat-card{
  padding:20px 20px 16px;
  border-radius:16px;
  background:var(--card-bg);
  border:1px solid var(--hair-2);
  box-shadow:var(--card-shadow);
  cursor:pointer;
  display:flex;flex-direction:column;
  min-height:220px;
  transition:transform .3s var(--ease-soft), box-shadow .3s, border-color .2s, background .3s var(--ease-soft);
  animation:cardIn .45s var(--ease-soft) both;
}
.cat-card:hover{transform:translateY(-3px);border-color:var(--blue);box-shadow:var(--card-shadow-hover)}
.cat-card:active{transform:translateY(-1px) scale(.995)}

.cat-ico{
  width:46px;height:46px;border-radius:13px;
  display:grid;place-items:center;flex:none;
  color:#fff;background:var(--blue-fill,var(--blue));
  box-shadow:var(--icon-shadow);
}
.cat-ico svg{width:24px;height:24px}

.cat-card h3{font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.025em;margin:0 0 4px;color:var(--ink)}
.cat-card .tag{font-size:calc(13px*var(--ts,1));color:var(--mute);line-height:1.45;margin:0}
@keyframes cardIn{from{opacity:0;transform:translateY(8px)}}

/* ============================================================
   KATEGORI-VY
   ============================================================ */
.cat-header{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.cat-header .cat-ico{width:60px;height:60px;border-radius:16px}
.cat-header .cat-ico svg{width:30px;height:30px}
.cat-header-text{min-width:0;flex:1}

.guide-chip{
  display:flex;align-items:flex-start;gap:11px;
  padding:13px 14px;
  border-radius:12px;
  background:var(--card-bg);
  border:1px solid var(--hair-2);
  box-shadow:var(--card-shadow);
  cursor:pointer;text-align:left;
}
.guide-chip:hover{border-color:var(--blue);background:var(--card-bg-hover)}
.guide-chip:active{transform:scale(.985)}
.guide-chip .q{
  flex:none;width:26px;height:26px;border-radius:8px;
  display:grid;place-items:center;
}
.guide-chip .q svg{width:14px;height:14px}
.guide-chip .txt{font-size:calc(13px*var(--ts,1));line-height:1.38;color:var(--ink);letter-spacing:-.012em}
.guide-chip .txt b{display:flex;align-items:center;gap:3px;margin-top:5px;font-size:calc(12px*var(--ts,1));font-weight:600;color:var(--blue)}
.guide-chip .txt b svg{width:11px;height:11px}
.models-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.model-card{
  padding:20px;
  border-radius:16px;
  background:var(--card-bg);
  border:1px solid var(--hair-2);
  box-shadow:var(--card-shadow);
  cursor:pointer;
  display:flex;flex-direction:column;
  animation:cardIn .45s var(--ease-soft) both;
}
.model-card.selected{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft-2), var(--card-shadow)}
.model-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.model-ico{
  width:42px;height:42px;border-radius:11px;
  display:grid;place-items:center;flex:none;
  color:#fff;background:var(--blue-fill,var(--blue));
  box-shadow:var(--icon-shadow);
}
.model-ico svg{width:22px;height:22px}
.model-ico.has-img{background:var(--card-bg);box-shadow:none;border:1px solid var(--hair-2);overflow:hidden}
.model-ico.has-img svg{display:none}
.vp-cnt{opacity:.6;font-weight:500;margin-left:2px}

.tr-list{display:flex;flex-direction:column;gap:8px}
.tr-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;font:inherit;font-size:calc(15px*var(--ts,1));font-weight:500;color:var(--ink);cursor:pointer;padding:15px 18px;border-radius:14px;background:var(--card-bg);border:1px solid var(--hair-2);}
.tr-row:hover{border-color:var(--blue)}
.tr-row svg{width:14px;height:14px;flex:none;color:var(--mute)}
.q-txt b{display:block;color:var(--ink);font-weight:600;font-size:calc(15px*var(--ts,1))}
.q-txt{flex:1;min-width:0}
.link-btn:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.tr-row .q-txt{font-weight:500;font-size:calc(15px*var(--ts,1))}
.tr-row .q-txt b{font-weight:500}
.tr-from{display:block;font-size:calc(12px*var(--ts,1));color:var(--mute);font-weight:500;margin-top:2px}

.catbar.hide{display:none}
.sb-top{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.sb-search{flex:1;min-width:0;border:0;background:var(--seg-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") no-repeat 9px 50%/14px;color:var(--ink);font:inherit;font-size:calc(13px*var(--ts,1))}
.sb-search:focus{outline:2px solid var(--blue);outline-offset:0}
@media (pointer:coarse){.sb-search{font-size:calc(17px*var(--ts,1))}}
.sb-top .sb-toggle{margin-bottom:0}
@media (min-width:901px){.chrome-ally-mark{display:none;width:30px;height:30px;flex:none;border-radius:8px;background:var(--seg-bg) var(--am-head) center/26px 26px no-repeat}.sidebar.collapsed .sb-search{display:none}.sidebar.collapsed .sb-top{width:100%;align-self:stretch;justify-content:center}#app:has(.sidebar.collapsed) .chrome-ally-mark{display:block;margin-left:7px}}
.model-ico img{width:100%;height:100%;object-fit:contain;padding:4px;box-sizing:border-box}
.model-ico.has-img{width:64px;height:56px;border-radius:12px}
.model-ico.lg.has-img{width:92px;height:80px;border-radius:16px}
.cmp-col .model-ico.has-img{width:54px;height:40px}

.model-title{min-width:0;flex:1}
.model-title h3{font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.022em;margin:0;line-height:1.2;color:var(--ink)}
.model-title .tag{font-size:calc(13px*var(--ts,1));color:var(--mute);line-height:1.35;margin:3px 0 0}
.model-best{
  font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2);
  margin:0 0 14px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}

.tile{background:var(--tile-bg);border-radius:9px;padding:9px 11px;min-width:0}
.tile span{display:block;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);margin-bottom:3px}
.tile b{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:calc(13px*var(--ts,1));font-weight:500;line-height:1.35;color:var(--ink);letter-spacing:-.01em;
}
.model-foot{
  margin-top:auto;
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding-top:14px;border-top:1px solid var(--hair-2);
}
.cmp{
  display:inline-flex;align-items:center;gap:7px;
  font-size:calc(13px*var(--ts,1));font-weight:500;
  border:0;background:transparent;color:var(--ink-2);
  padding:4px 6px 4px 2px;border-radius:6px;
  cursor:pointer;transition:color .15s;
}
.cmp:hover{color:var(--blue)}
.cmp-box{
  width:16px;height:16px;border-radius:5px;
  border:1.5px solid var(--mute-2);
  display:grid;place-items:center;color:transparent;
}
.cmp-box svg{width:11px;height:11px}
.cmp:hover .cmp-box{border-color:var(--blue)}
.cmp.on{color:var(--blue)}
.cmp.on .cmp-box{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}
.detail-link{display:inline-flex;align-items:center;gap:2px;font-size:calc(13px*var(--ts,1));color:var(--blue);font-weight:600;white-space:nowrap}
.detail-link svg{width:13px;height:13px;transition:transform .3s var(--ease)}
/* ============================================================
   SPECS EXPLAINED-VY
   ============================================================ */
.term-card{
  padding:20px;border-radius:16px;
  background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow);
  display:flex;flex-direction:column;gap:8px;
  animation:cardIn .45s var(--ease-soft) both;
}
.term-card h3{font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.022em;margin:0 0 4px;color:var(--ink)}
.term-card p{font-size:calc(13px*var(--ts,1));line-height:1.6;color:var(--ink-2);margin:0}
.found{margin-top:auto;padding-top:12px;border-top:1px solid var(--hair-2);display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.found small{font-size:calc(11px*var(--ts,1));color:var(--mute);margin-right:4px}
.found button{
  font-size:calc(11px*var(--ts,1));font-weight:500;padding:3px 8px;border-radius:999px;
  border:1px solid var(--hair);background:transparent;color:var(--ink-2);cursor:pointer;
  transition:border-color .15s, color .15s;
}
.found button:hover{border-color:var(--blue);color:var(--blue)}

/* ============================================================
   SHEET
   ============================================================ */
.overlay{
  position:absolute;inset:0;
  background:var(--overlay-bg);
  display:flex;align-items:center;justify-content:center;
  padding:40px;
  opacity:0;pointer-events:none;
  z-index:5;border-radius:inherit;
}
.overlay.open{opacity:1;pointer-events:auto}
.sheet{
  width:min(1000px,100%);
  max-height:100%;
  border-radius:16px;
  overflow:hidden;
  display:flex;flex-direction:column;
  background:var(--app-bg);
  box-shadow:0 0 0 .5px var(--window-ring), 0 24px 60px -20px rgba(0,0,0,.35), 0 40px 100px -30px rgba(0,0,0,.2);
  transform:scale(.97) translateY(8px);
  opacity:0;
}
.overlay.open .sheet{transform:none;opacity:1}
.sheet-head{
  flex:none;
  padding:20px 24px;
  border-bottom:1px solid var(--hair);
  display:flex;align-items:center;gap:16px;
  background:var(--sheet-head);
}
.model-ico.lg{width:56px;height:56px;border-radius:15px}
.model-ico.lg svg{width:30px;height:30px}
.sheet-title{min-width:0;flex:1}
.eyebrow{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue);margin-bottom:3px}
.sheet-title h1{font-size:calc(22px*var(--ts,1));font-weight:700;letter-spacing:-.028em;margin:0;line-height:1.15;color:var(--ink)}
.sheet-title .tag{font-size:calc(13px*var(--ts,1));color:var(--mute);margin:4px 0 0}
.head-actions{display:flex;align-items:center;gap:6px;flex:none}

.sheet-body{
  flex:1;min-height:0;
  overflow-y:auto;
  padding:24px;
  scrollbar-width:thin;
  scrollbar-color:rgba(120,120,128,.3) transparent;
}
.sheet-body.anim{animation:bodyIn .35s var(--ease-soft)}
@keyframes bodyIn{from{opacity:0;transform:translateY(4px)}}
.panel-block{padding:18px 20px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.panel-block h4{margin:0 0 12px;font-size:calc(11px*var(--ts,1));letter-spacing:.06em;text-transform:uppercase;color:var(--mute);font-weight:600}
.panel-block p{font-size:calc(13px*var(--ts,1));line-height:1.55;color:var(--ink-2);margin:0}
.link-btn{border:0;background:none;padding:2px 4px;cursor:pointer;font-size:calc(12px*var(--ts,1));font-weight:500;color:var(--blue);border-radius:4px}
.link-btn:hover{text-decoration:underline}
.spec-row{
  display:block;width:100%;
  text-align:left;background:none;border:0;
  border-bottom:1px solid var(--hair-2);
  padding:12px 0;
  cursor:pointer;
  font-family:inherit;color:inherit;
}
.spec-row:last-child{border-bottom:0;padding-bottom:2px}
.spec-line{display:flex;align-items:center;gap:12px;font-size:calc(13px*var(--ts,1))}
.spec-line .label{color:var(--mute);width:92px;flex:none;font-size:calc(12px*var(--ts,1))}
.spec-line .value{flex:1;font-weight:500;letter-spacing:-.012em;min-width:0;color:var(--ink);line-height:1.4}
.spec-line .chev{
  flex:none;width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;
  color:var(--mute);background:var(--seg-bg);
  transition:transform .3s var(--ease), background .15s, color .15s;
}
.spec-line .chev svg{width:12px;height:12px}
.spec-row:hover .chev{background:var(--blue-soft-2);color:var(--blue)}
.spec-row.open .chev{transform:rotate(180deg);background:var(--blue-fill,var(--blue));color:#fff}
.spec-info{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s var(--ease)}
.spec-info > span{overflow:hidden;min-height:0}
.spec-info-in{
  display:block;margin-top:10px;
  font-size:calc(13px*var(--ts,1));line-height:1.6;
  background:var(--blue-soft);
  border-radius:8px;padding:10px 12px;
  color:var(--ink-2);
}
.spec-row.open .spec-info{grid-template-rows:1fr}
.rec-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.rec-list li{display:flex;gap:10px;align-items:flex-start;font-size:calc(13px*var(--ts,1));color:var(--ink);line-height:1.45}
.persona{display:flex;gap:14px;align-items:flex-start}

.persona h4{margin-bottom:6px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chips span{font-size:calc(12px*var(--ts,1));font-weight:500;padding:5px 10px;border-radius:999px;background:var(--card-bg);border:1px solid var(--hair);color:var(--ink)}
.panel-block.tip{background:transparent;border:1px dashed var(--hair)}
.panel-block.tip p{font-style:italic}
.sheet-foot{
  flex:none;
  padding:12px 20px;
  border-top:1px solid var(--hair);
  background:var(--sheet-head);
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
  font-size:calc(12px*var(--ts,1));color:var(--mute);
}

/* Compare */
.cmp-wrap{overflow:auto;height:100%}
.cmp-table{width:100%;border-collapse:separate;border-spacing:0;min-width:560px;font-size:calc(13px*var(--ts,1))}
.cmp-table th,.cmp-table td{padding:14px 18px;border-bottom:1px solid var(--hair-2);text-align:left;vertical-align:top}
.cmp-table thead th{position:sticky;top:0;z-index:1;background:var(--sheet-head);border-bottom:1px solid var(--hair)}
.cmp-table th:first-child,.cmp-table td:first-child{
  position:sticky;left:0;z-index:1;
  background:var(--app-bg);
  width:120px;
  font-size:calc(12px*var(--ts,1));color:var(--mute);font-weight:500;
}
.cmp-table thead th:first-child{z-index:2;background:var(--sheet-head)}
.cmp-table td{color:var(--ink);font-weight:500;line-height:1.45}
.cmp-table tr.soft td:not(:first-child){color:var(--ink-2);font-weight:400}
.cmp-col{display:flex;gap:10px;align-items:center}
.cmp-col .model-ico{width:34px;height:34px;border-radius:9px}
.cmp-col .model-ico svg{width:18px;height:18px}
.cmp-col b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink);letter-spacing:-.02em}
.cmp-col small{display:block;font-size:calc(12px*var(--ts,1));color:var(--mute);font-weight:400;margin-top:2px}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  border:1px solid var(--btn-border);
  background:var(--btn-bg);
  border-radius:7px;
  padding:6px 13px;
  font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--ink);
  letter-spacing:-.012em;
  cursor:pointer;
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset, 0 1px 1px rgba(0,0,0,.03);
  white-space:nowrap;flex:none;
}
:root.dark .btn{box-shadow:0 1px 0 rgba(255,255,255,.06) inset, 0 1px 1px rgba(0,0,0,.3)}
.btn:hover{background:var(--btn-bg-hover);border-color:var(--blue)}

.btn:disabled{opacity:.4;pointer-events:none}
.btn.pri{background:var(--blue-fill,var(--blue));color:#fff;border-color:var(--blue);box-shadow:0 1px 0 rgba(255,255,255,.2) inset, 0 1px 2px rgba(0,0,0,.1)}
.btn.pri:hover{background:var(--blue-fill-hover,var(--blue-hover));border-color:var(--blue-hover)}
.btn.lg{padding:10px 18px;font-size:calc(15px*var(--ts,1));border-radius:10px}
.btn.icon{width:30px;height:30px;padding:0;display:grid;place-items:center}
.btn.icon svg{width:14px;height:14px}

/* ============================================================
   BOTTOM BAR
   ============================================================ */
.bar{
  position:absolute;left:50%;
  transform:translate(-50%,200%);
  padding:8px 8px 8px 16px;
  display:flex;gap:8px;align-items:center;
  font-weight:500;font-size:calc(13px*var(--ts,1));
  border-radius:12px;
  color:#fff;
  background:var(--bar-bg);
  backdrop-filter:blur(30px) saturate(180%);
  -webkit-backdrop-filter:blur(30px) saturate(180%);
  border:1px solid var(--bar-border);
  box-shadow:0 12px 40px -8px rgba(0,0,0,.5), 0 2px 8px -2px rgba(0,0,0,.3);
}

.bar .btn{background:rgba(255,255,255,.12);color:#fff;border-color:transparent;padding:5px 12px;font-size:calc(13px*var(--ts,1));box-shadow:none}
.bar .btn:hover{background:rgba(255,255,255,.22);border-color:transparent}
.bar .btn.pri{background:var(--blue-fill,var(--blue))}
.bar .btn.pri:hover{background:var(--blue-fill-hover,var(--blue-hover))}
.bar .sep{width:1px;height:14px;background:rgba(255,255,255,.15);margin:0 4px}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1150px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){
  #app{inset:0;border-radius:0;box-shadow:none}
  .chrome{height:48px;padding:0 8px;grid-template-columns:auto 1fr auto;gap:10px}
  .chrome-title{justify-content:flex-start;overflow:hidden}
  .sidebar{
    position:absolute;top:0;left:0;bottom:0;
    width:250px;
    transform:translateX(-100%);
    transition:transform .3s var(--ease), background .3s var(--ease-soft);
    box-shadow:4px 0 20px rgba(0,0,0,.15);
  }
  .sidebar.open{transform:translateX(0)}
  .view-scroll{padding:24px 20px 100px}
  .why{grid-template-columns:1fr;padding:24px;gap:24px}
  .overlay{padding:16px}
  .cat-header{gap:14px}
  .cat-header .cat-ico{width:48px;height:48px;border-radius:13px}
  .cat-header .cat-ico svg{width:24px;height:24px}
  .t-view-title{font-size:calc(22px*var(--ts,1))}
  .sb-footer>*{display:none}
  .sb-footer>.sb-credit{display:block;border-top:0;margin-top:0}
  .sb-footer .sb-credit-text{display:none}
}
@media (max-width:600px){
  .crumb .crumb-root,.crumb .crumb-sep{display:none}
  .steps{grid-template-columns:1fr}
  
  .overlay{align-items:flex-end;padding:0}
  .sheet{border-radius:18px 18px 0 0;max-height:94%;transform:translateY(40px)}
  .sheet-head{padding:16px 18px;}
  .model-ico.lg{width:46px;height:46px;border-radius:13px}
  .model-ico.lg svg{width:24px;height:24px}
  .sheet-title h1{font-size:calc(20px*var(--ts,1))}
  .sheet-body{padding:18px}
  .sheet-foot{flex-direction:column;align-items:stretch;text-align:center}
  .grid,.models-grid{grid-template-columns:1fr}
}
@media (min-width:901px){.menu-btn{display:none!important}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* ============================================================
   DEMOS AND TIPS
   ============================================================ */

.demo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.demo-card{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:12px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.demo-num{flex:none;width:28px;height:28px;border-radius:50%;background:var(--blue-fill,var(--blue));color:#fff;font-size:calc(13px*var(--ts,1));font-weight:600;display:grid;place-items:center}
.demo-card b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;margin-bottom:3px;color:var(--ink);letter-spacing:-.015em}
.demo-card p{margin:0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.tips{margin-top:18px;padding-top:16px;border-top:1px solid var(--hair-2)}
.tips h4{margin:0 0 10px}

/* ============================================================
   IPAD AND TOUCH
   ============================================================ */
@media (pointer:coarse){
  #app{inset:0;border-radius:0;box-shadow:none;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
  .bar{bottom:calc(170px + env(safe-area-inset-bottom,0px))}
  .chrome{height:60px}
  .tool-btn{width:44px;height:44px}
  .tool-btn svg{width:20px;height:20px}
  .btn{min-height:44px;padding:10px 18px;font-size:calc(15px*var(--ts,1))}
  .btn.icon{width:44px;height:44px}
  .btn.icon svg{width:18px;height:18px}
  .nav-item{min-height:44px;font-size:calc(15px*var(--ts,1));padding:8px 12px}
  .nav-item .ico{width:24px;height:24px}
  .nav-item .ico svg{width:21px;height:21px}
  .sidebar{width:250px}
  .seg button{min-height:38px;font-size:calc(15px*var(--ts,1));padding:7px 14px}
  .link-btn{min-height:44px;font-size:calc(15px*var(--ts,1));padding:2px 8px}
  .cmp{min-height:44px;font-size:calc(15px*var(--ts,1))}
  .cmp-box{width:20px;height:20px}
  .guide-chip{padding:16px}
  .guide-chip .txt{font-size:calc(15px*var(--ts,1))}
  .t-section{font-size:calc(13px*var(--ts,1))}
  .tile span{font-size:calc(11px*var(--ts,1))}
  .tile b{font-size:calc(15px*var(--ts,1))}
  .model-best{font-size:calc(15px*var(--ts,1))}
  .cat-card .tag,.model-title .tag{font-size:calc(15px*var(--ts,1))}
  .spec-row{padding:16px 0}
  .spec-line{font-size:calc(15px*var(--ts,1))}
  .spec-line .label{font-size:calc(13px*var(--ts,1));width:100px}
  .spec-line .chev{width:30px;height:30px}
  .spec-info-in{font-size:calc(15px*var(--ts,1))}
  .rec-list li,.panel-block p{font-size:calc(15px*var(--ts,1))}
  .chips span{font-size:calc(15px*var(--ts,1));padding:7px 12px}
  .demo-card b{font-size:calc(15px*var(--ts,1))}
  .demo-card p{font-size:calc(15px*var(--ts,1))}
  .demo-num{width:32px;height:32px}
  .term-card p{font-size:calc(15px*var(--ts,1))}
  .found button{font-size:calc(13px*var(--ts,1));padding:7px 12px}
  
  .sheet-foot{font-size:calc(13px*var(--ts,1))}
  .view-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  .cat-card:active,.model-card:active,.guide-chip:active{transform:scale(.985);border-color:var(--blue)}
}
@media (hover:none){
  .cat-card:hover,.model-card:hover{transform:none;border-color:var(--hair-2);box-shadow:var(--card-shadow)}
  .model-card.selected:hover{border-color:var(--blue)}
  .btn:hover{background:var(--btn-bg);border-color:var(--btn-border)}
  .btn.pri:hover{background:var(--blue-fill,var(--blue));border-color:var(--blue)}
  .nav-item:hover{background:transparent}
}
button,.cat-card,.model-card{touch-action:manipulation}
.sheet-body{overscroll-behavior:contain}

/* ============================================================
   CALMER LAYOUT
   ============================================================ */
.home-head{margin-bottom:26px}
.grid .cat-card{min-height:170px}

.about{margin-top:12px;border-top:1px solid var(--hair-2);padding-top:14px}
.about summary{cursor:pointer;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--blue);min-height:44px;display:flex;align-items:center;list-style:none}
.about summary::-webkit-details-marker{display:none}
.about summary::after{content:"+";margin-left:8px;font-weight:500}
.about[open] summary::after{content:"\2212"}
.about p{font-size:calc(15px*var(--ts,1));line-height:1.6;color:var(--ink-2);max-width:640px;margin:4px 0 18px}

.dtab{
  flex:1;max-width:200px;min-height:40px;padding:8px 16px;
  border-radius:10px;border:1px solid var(--hair);background:transparent;
  font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink-2);cursor:pointer;
  transition:background .15s,color .15s,border-color .15s;
}
.dtab.on{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}
.pane.hide{display:none}
@media (pointer:coarse){.dtab{min-height:46px;font-size:calc(15px*var(--ts,1))}}
@media (max-width:600px){.dtab{max-width:none}}

.fine{font-size:calc(12px*var(--ts,1));color:var(--mute);margin:22px 0 0}
.models-grid .model-best{-webkit-line-clamp:3;font-size:calc(15px*var(--ts,1))}
@media (min-width:601px){.models-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}
@media (pointer:coarse){.fine{font-size:calc(13px*var(--ts,1))}.models-grid .model-best{font-size:calc(15px*var(--ts,1))}}
/* SPECS EXPLAINED (layout) */
.tt-lab{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.tt-pills.catbar{flex-wrap:nowrap;overflow-x:auto;margin:18px 0 6px;padding:2px;scrollbar-width:none}
.tt-pills.catbar::-webkit-scrollbar{display:none}
.tt-pills .catpill{flex:none;min-height:36px;padding:6px 14px;font-size:calc(13px*var(--ts,1));white-space:nowrap}
@media (pointer:coarse){.tt-pills .catpill{min-height:42px;font-size:calc(15px*var(--ts,1))}}
.spec-line .value .tt-name{display:block;font-weight:600;font-size:calc(15px*var(--ts,1));letter-spacing:-.016em;color:var(--ink)}
.spec-line .value .spec-tease{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));font-weight:400;line-height:1.45;color:var(--mute);letter-spacing:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.spec-row.open .spec-tease{display:none}
@media (pointer:coarse){.spec-line .value .spec-tease{font-size:calc(15px*var(--ts,1))}.tt-lab{font-size:calc(12px*var(--ts,1))}}
.catbar{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 28px}
.catpill{min-height:40px;padding:8px 16px;border-radius:999px;border:1px solid var(--hair);background:transparent;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink-2);cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.catpill.on{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}
@media (pointer:coarse){.catpill{min-height:46px;font-size:calc(15px*var(--ts,1))}}
.dm-meta{display:flex;justify-content:space-between;align-items:center;margin:8px 2px 14px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.spec-row.static{cursor:default}

/* ============================================================
   NEW TO APPLE (welcome tour)
   ============================================================ */
.tour{max-width:760px;margin:0 auto}
.tour-prog{margin:0 0 30px}
.tour-steps{display:flex;gap:8px;overflow-x:auto;padding:3px;margin:0 -3px;scrollbar-width:none}
.tour-steps::-webkit-scrollbar{display:none}
.tstep{flex:1 1 0;min-width:38px;max-width:64px;height:40px;border-radius:12px;border:1px solid var(--hair);background:var(--card-bg);color:var(--mute);display:grid;place-items:center;padding:0;cursor:pointer;transition:background .2s,color .2s,border-color .2s,box-shadow .2s}
.tstep svg{width:19px;height:19px}
.tstep:hover{border-color:var(--blue);color:var(--blue)}
.tstep.done{background:var(--blue-soft);border-color:transparent;color:var(--blue)}
.tstep.on,.tstep.on:hover{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff;box-shadow:var(--icon-shadow)}
.tour-bar{height:3px;border-radius:3px;background:var(--seg-bg);margin-top:10px;overflow:hidden}
.tour-bar i{display:block;height:100%;border-radius:3px;background:var(--blue-fill,var(--blue));transition:width .4s var(--ease)}

.tour-body{animation:cardIn .35s var(--ease-soft) both}
.tour-title{font-size:calc(34px*var(--ts,1));letter-spacing:-.035em;line-height:1.1;margin:0 0 10px}
.tour .intro{font-size:calc(17px*var(--ts,1));line-height:1.55;color:var(--ink-2);max-width:600px;margin:0}
.tour-h2{margin:0 0 12px;font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.022em;line-height:1.3;color:var(--ink)}
.tour-sec{margin:28px 0 0}
.tour .need-h{margin-bottom:12px}
.tour .need-h .tour-h2{margin:0}

/* guide, missions, score */
.tour-more{margin-top:20px;border-top:1px solid var(--hair-2);padding-top:6px}
.tour-more>summary{list-style:none;cursor:pointer;padding:10px 0;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--blue)}
.tour-more>summary::-webkit-details-marker{display:none}
.tour-more>summary::after{content:" +";color:var(--mute)}
.tour-more[open]>summary::after{content:" \2212"}
.tour-guide{display:flex;gap:10px;align-items:flex-end;margin:0 0 24px}
.tc-col{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;flex:1}
.tc-name{margin:0 0 2px 12px;font-size:calc(12px*var(--ts,1));color:var(--mute)}
.tc-row{position:relative;max-width:min(100%,520px)}
.tc-msg{padding:9px 15px 10px;border-radius:18px;background:var(--seg-bg);color:var(--ink);font-size:calc(15px*var(--ts,1));line-height:1.45;animation:tcIn .4s var(--ease-soft) both;animation-delay:calc(var(--i,0)*.8s + .55s)}
.tc-row:last-child .tc-msg{border-bottom-left-radius:5px}
.tc-typing{position:absolute;left:0;top:0;display:flex;gap:4px;padding:12px 15px;border-radius:18px;background:var(--seg-bg);pointer-events:none;animation:tcType .55s linear both;animation-delay:calc(var(--i,0)*.8s)}
.tc-typing i{width:7px;height:7px;border-radius:50%;background:var(--mute);animation:tcDot .55s ease-in-out infinite}
.tc-typing i:nth-child(2){animation-delay:.09s}.tc-typing i:nth-child(3){animation-delay:.18s}
@keyframes tcType{0%{opacity:0}12%,88%{opacity:1}100%{opacity:0}}
@keyframes tcDot{0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(-3px);opacity:1}}
.tc-msg b{font-weight:600;color:var(--blue)}
@keyframes tcIn{from{opacity:0;transform:translateY(8px) scale(.96);transform-origin:left bottom}}
.tg-av{flex:none;width:40px;height:40px;display:grid;place-items:center;}
.tg-av svg{width:20px;height:20px}
.tour-wave{display:inline-block;transform-origin:70% 70%;animation:tWave 2.2s ease-in-out .4s 2}
@keyframes tWave{0%,60%,100%{transform:rotate(0)}10%,30%{transform:rotate(16deg)}20%,40%{transform:rotate(-10deg)}50%{transform:rotate(8deg)}}
@media (prefers-reduced-motion:reduce){.tc-msg,.tour-wave{animation:none}.tc-typing{display:none}}
/* welcome */
/* product step */
.tm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.tm-card{position:relative;display:flex;flex-direction:column;padding:18px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow);cursor:pointer;transition:transform .25s var(--ease-soft),border-color .2s,box-shadow .25s,opacity .25s}
.tm-card:hover{transform:translateY(-2px);border-color:var(--blue);box-shadow:var(--card-shadow-hover)}
.tm-card:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.tm-card .model-head{margin-bottom:10px}
.tm-for{margin:0;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
.tm-for span{color:var(--mute)}
.tm-why{display:none;margin:12px 0 0;padding-top:12px;border-top:1px solid var(--hair-2);font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.tm-card .detail-link{margin-top:auto;padding-top:14px}
.tm-badge{display:none;position:absolute;top:14px;right:14px;font-size:calc(12px*var(--ts,1));font-weight:600;color:#fff;background:var(--blue-fill,var(--blue));padding:3px 9px;border-radius:999px}
.tm-card.match{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue),var(--card-shadow-hover)}
.tm-card.match .tm-badge,.tm-card.match .tm-why{display:block}
.tm-card.match .model-head{padding-right:76px}
.tm-grid.has-need .tm-card:not(.match){opacity:.5}
.tour-know{margin-top:28px}
.tour-know .spec-row{padding:2px 0 0}

/* done */
.tour-done-ico{display:grid;place-items:center;margin-bottom:18px;}
.tour-done-ico svg{width:28px;height:28px}
.tnext{display:flex;flex-direction:column;gap:10px}
.tnext-card{display:flex;align-items:center;gap:14px;text-align:left;padding:14px 16px;border-radius:14px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow);cursor:pointer;font-family:inherit;transition:border-color .2s,transform .25s var(--ease-soft)}
.tnext-card:hover{border-color:var(--blue);transform:translateY(-1px)}
.tnext-ico{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--c,var(--blue));color:#fff}
.tnext-ico svg{width:18px;height:18px}
.tnext-txt{flex:1;min-width:0;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.tnext-txt b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.016em;color:var(--ink);margin-bottom:1px}
.tnext-card>svg{flex:none;width:16px;height:16px;color:var(--mute)}
.tour-again{margin-top:14px;padding-left:0;font-size:calc(13px*var(--ts,1))}

/* navigation */
.tour-nav{display:flex;justify-content:space-between;gap:12px;margin-top:32px}
.tour-nav .btn.pri{margin-left:auto}
@media (max-width:600px){
  .tour-title{font-size:calc(28px*var(--ts,1))}
  .tour-nav .btn{flex:1;justify-content:center;margin-left:0!important}
}
@media (pointer:coarse){
  .tstep{height:44px}
  .tm-for,.tm-why{font-size:calc(15px*var(--ts,1))}
  .tnext-txt{font-size:calc(15px*var(--ts,1))}
  
  .tour .intro{font-size:calc(17px*var(--ts,1))}
}
@media (prefers-reduced-motion:reduce){
  .tour-body{animation:none}
  .tour-bar i,.tm-card,.tnext-card{transition:none}
}
/* VISION GUIDES */
.gd-pane{display:flex;flex-direction:column;gap:14px}
.gd-pane.hide{display:none}
.gd-pane>p,.gd-pane .panel-block p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.55;color:var(--ink-2)}
.gd-pane .panel-block p+.rec-list{margin-top:12px}
.gd-pane .rec-list li{font-size:calc(15px*var(--ts,1))}
.ck.yes{background:#34C759}
.ck.no{background:#FF3B30}
.panel-block.warn{background:rgba(255,149,0,.1);border-color:rgba(255,149,0,.3)}
.panel-block.warn h4{color:#C77700}
:root.dark .panel-block.warn h4{color:#FFB340}
.gd-cost{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.gd-big{display:flex;flex-direction:column;gap:4px;padding:18px 20px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.gd-big small{font-size:calc(12px*var(--ts,1));font-weight:600;color:var(--mute);letter-spacing:.02em}
.gd-big strong{font-size:calc(28px*var(--ts,1));font-weight:700;letter-spacing:-.03em;color:var(--blue);line-height:1.1}
.gd-big span{font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
.gd-table{border-radius:14px;overflow:hidden;border:1px solid var(--hair-2);background:var(--panel-bg)}
.gd-tr{display:grid;grid-template-columns:1.1fr 1.2fr 1.2fr;gap:8px;align-items:center;padding:12px 16px;font-size:calc(15px*var(--ts,1));border-top:1px solid var(--hair-2)}
.gd-tr:first-child{border-top:0}
.gd-tr.hd{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.gd-tr span{display:flex;align-items:center;gap:8px}
.gd-tr>span:first-child{font-weight:600}

/* GUIDES: learning layer (uses the app's own card language) */
@keyframes gdUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.gd-pane:not(.hide)>*{animation:gdUp .3s var(--ease-soft) both}
.gd-pane:not(.hide)>*:nth-child(2){animation-delay:.04s}
.gd-pane:not(.hide)>*:nth-child(3){animation-delay:.08s}

/* Myth or fact */
.mf-wrap{display:flex;flex-direction:column;gap:10px}
.mf{padding:16px 18px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2);transition:border-color .2s}
.mf-s{font-size:calc(15px*var(--ts,1))!important;font-weight:600;color:var(--ink)!important;letter-spacing:-.014em;line-height:1.4!important}
.mf-btns{display:flex;gap:8px;margin-top:12px}
.mf-btns .btn{flex:1;justify-content:center}
.mf.done .mf-btns .btn{pointer-events:none;opacity:.45}
.mf.done .mf-btns .btn.picked{opacity:1}
.mf.right{border-color:rgba(52,199,89,.55)}
.mf.wrong{border-color:rgba(255,59,48,.45)}
.mf-r{display:none;gap:10px;align-items:flex-start;margin-top:12px;padding-top:12px;border-top:1px solid var(--hair-2)}
.mf.done .mf-r{display:flex}
.mf-r p{margin:0!important;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.mf-r b{color:var(--ink)}
.mf-score{text-align:center;font-weight:600;font-size:calc(15px*var(--ts,1));color:var(--blue);min-height:20px}
/* Quiz */
.qz{padding:20px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.qz-top{display:flex;align-items:center;gap:12px;font-size:calc(12px*var(--ts,1));font-weight:500;color:var(--mute)}
.qz-bar{flex:1;height:4px;border-radius:99px;background:var(--hair-2);overflow:hidden}
.qz-bar i{display:block;height:100%;background:var(--blue-fill,var(--blue));border-radius:99px;transition:width .4s var(--ease-soft)}
.qz-q{margin:14px 0 14px;font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.02em;line-height:1.3;color:var(--ink)}
.qz-opts{display:flex;flex-direction:column;gap:8px}
.qz-opt{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font:inherit;font-size:calc(15px*var(--ts,1));line-height:1.4;padding:12px 14px;border-radius:10px;cursor:pointer;color:var(--ink);background:var(--card-bg);border:1px solid var(--hair-2);transition:border-color .15s,background .15s}
.qz-opt:hover{border-color:var(--blue)}
.qz-opt:active{background:var(--blue-soft)}
.qz.locked .qz-opt{pointer-events:none}
.qz-opt.right{border-color:#34C759;background:rgba(52,199,89,.08)}
.qz-opt.wrong{border-color:#FF3B30;background:rgba(255,59,48,.06)}
.qz.locked .qz-opt:not(.right):not(.wrong){opacity:.5}
.fb-row{display:flex;gap:10px;align-items:flex-start}
.fb-row p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.fb-row b{color:var(--ink)}
.qz-fb{margin-top:14px}
.qz-fb>div{animation:gdUp .25s both}
.qz-fb .btn{margin-top:12px}
.qz-end{text-align:center;padding:10px 8px 4px;animation:gdUp .3s both}
.qz-end small{display:block;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.qz-end h3{margin:6px 0 4px;font-size:calc(34px*var(--ts,1));font-weight:700;letter-spacing:-.03em;color:var(--blue)}
.qz-end p{margin:0 0 14px;font-size:calc(15px*var(--ts,1));color:var(--ink-2)}
.vp-search{width:100%;max-width:420px;min-height:40px;padding:8px 14px;border-radius:10px;border:1px solid var(--hair);background:var(--btn-bg);color:var(--ink);font:inherit;font-size:calc(15px*var(--ts,1));margin-bottom:14px}
.vp-search:focus{outline:2px solid var(--blue);outline-offset:1px}
@media (pointer:coarse){.vp-search{font-size:calc(17px*var(--ts,1))}}
/* VISION MAP */
@keyframes vpPing{0%{box-shadow:0 0 0 0 var(--blue-soft-2)}100%{box-shadow:0 0 0 2.6cqw rgba(0,113,227,0)}}
/* Ask Ally: search results */
.sr-sec{display:flex;align-items:baseline;justify-content:space-between;max-width:760px;margin:28px 2px 10px;font-size:calc(12px*var(--ts,1));font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--mute)}
#searchScroll .tt-pills+.sr-sec{margin-top:22px}
#searchScroll .tr-list{max-width:760px}
.sr-row{align-items:flex-start}
.sr-row>svg{margin-top:5px}
.sr-t{font-weight:600!important}
.sr-snip{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--ink-2,var(--mute));font-weight:400;margin-top:5px;opacity:.85}
.sr-hl{background:var(--blue-soft-2);color:inherit;border-radius:4px;padding:0 2px;margin:0 -1px}
.sr-more{display:block;margin:10px 4px 0;padding:6px 2px;background:none;border:0;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue);cursor:pointer}
.sr-more:hover{text-decoration:underline}
.sr-note{max-width:760px;margin:14px 4px 0;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.sr-empty{max-width:760px;margin-top:22px;padding:22px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2)}
.sr-empty b{display:block;font-size:calc(17px*var(--ts,1));font-weight:600;color:var(--ink)}
.sr-empty p{margin:6px 0 14px;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--mute)}
.sr-row .tr-from{margin-top:3px}
@media (max-width:600px){.sr-sec{margin-top:24px}#searchScroll .sr-row{padding:14px 16px}}
#searchScroll .t-view-sub+.tr-list,#searchScroll .t-view-sub+.sr-empty{margin-top:20px}
.sr-empty .tt-pills{flex-wrap:wrap;overflow:visible;margin:0;padding:0;gap:8px;-webkit-mask-image:none;mask-image:none}
.sr-head{max-width:760px;margin-bottom:22px}
.sr-search{display:flex;align-items:center;gap:10px;margin:18px 0 10px;padding:5px 6px 5px 14px;min-height:54px;border:1px solid var(--hair);border-radius:14px;background:var(--card-bg);box-shadow:var(--card-shadow)}
.sr-search:focus-within{outline:2px solid var(--blue);outline-offset:2px;border-color:transparent}
.sr-search svg{width:19px;height:19px;flex:none;color:var(--mute)}
.sr-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:calc(17px*var(--ts,1))}
.sr-search input::placeholder{color:var(--mute)}
.sr-examples{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.sr-examples>span{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.sr-examples .catpill{min-height:34px}
.sr-status{max-width:760px;margin:18px 2px 0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
@media(max-width:600px){.sr-search{min-height:52px}.sr-examples{gap:6px}}

/* ---- ss-v2 ---- */
/* ============================================================
   SCREENSAVER v2: type only, one quiet light, no decoration
   ============================================================ */
#ss{
  --ss-bg:#FFFFFF; --ss-ink:#1D1D1F; --ss-dim:rgba(29,29,31,.16); --ss-mute:#86868B; --ss-glow:rgba(0,113,227,.12); --ss-grain:.05;
  position:fixed;inset:0;z-index:99999;cursor:pointer;overflow:hidden;
  display:grid;grid-template-rows:auto 1fr auto;
  padding:max(28px,env(safe-area-inset-top,0px)) clamp(28px,7vw,120px) max(28px,env(safe-area-inset-bottom,0px));
  background:var(--ss-bg);color:var(--ss-ink);
  opacity:0;visibility:hidden;
  transition:opacity 1s var(--ease-soft), visibility 0s linear 1s;
}
:root.dark #ss{--ss-bg:#000; --ss-ink:#F5F5F7; --ss-dim:rgba(245,245,247,.17); --ss-mute:#7C7C82; --ss-glow:rgba(10,132,255,.20); --ss-grain:.07}
#ss.on{opacity:1;visibility:visible;transition:opacity 1s var(--ease-soft), visibility 0s}

/* one single light from below, breathing slowly; fine grain keeps it from looking like a plastic gradient */
#ss::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(92% 72% at 50% 112%, var(--ss-glow), transparent 72%);
  animation:ssBreathe 16s ease-in-out infinite alternate}
#ss::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:var(--ss-grain);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
@keyframes ssBreathe{from{opacity:.55;transform:translateY(3%)}to{opacity:1;transform:translateY(0)}}

.ss-top,.ss-bot{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:baseline;gap:16px;
  font-size:calc(clamp(13px,1.5vw,16px)*var(--ts,1));font-weight:500;letter-spacing:-.005em;color:var(--ss-mute);font-variant-numeric:tabular-nums}
/* slow drift, a few pixels, so a screen that stays on all day never burns in */

@keyframes ssDrift{from{transform:translate(0,0)}to{transform:translate(14px,-10px)}}
.ss-bot{flex-direction:column;align-items:center;justify-content:flex-end;gap:20px}
.ss-go{color:var(--ss-mute)}

/* the invitation: a touch point that sends out slow ripples; they travel far up the screen and fade */
@keyframes ssRing{0%{transform:scale(1);opacity:.4}35%,100%{transform:scale(6);opacity:0}}
@keyframes ssIn{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  #ss::before{animation:none!important}
  
}

/* ---- ss-chat ---- */
/* ============================================================
   SCREENSAVER, scene 2: Ally says hello (same chat language as the tour)
   ============================================================ */
#ss{--ss-bub:rgba(29,29,31,.06)}
:root.dark #ss{--ss-bub:rgba(245,245,247,.10)}
#ss.boot{transition:none}

.ss-stage{position:relative;z-index:1;align-self:center;display:grid}
.ss-stage>*{grid-area:1/1;min-width:0}

/* scene crossfade */
.ss-chat{opacity:0;visibility:hidden;transition:opacity .9s var(--ease-soft), visibility 0s linear .9s;
  animation:ssDrift 90s ease-in-out infinite alternate}
#ss[data-scene="chat"] .ss-chat{opacity:1;visibility:visible;transition:opacity .9s var(--ease-soft) .35s, visibility 0s}

.ss-chat{display:flex;align-items:flex-start;gap:clamp(12px,1.6vw,20px);
  width:100%;max-width:min(100%,34em);font-size:calc(clamp(16px,min(2.35vw,3.1vh),27px)*var(--ts,1))}
.ssc-av{flex:none;width:2.7em;height:2.7em;margin-top:1.15em;background:var(--am-head) center/contain no-repeat;
  animation:sscIn .9s var(--ease) .15s both;transform-origin:50% 80%}
.ssc-col{display:flex;flex-direction:column;align-items:flex-start;gap:.28em;min-width:0;flex:1}
.ssc-name{margin:0 0 .1em .9em;font-size:.52em;font-weight:500;letter-spacing:0;color:var(--ss-mute);
  animation:sscIn .6s var(--ease) .2s both}
.ssc-row{position:relative;max-width:100%}
.ssc-row.first .ssc-msg{animation:none;opacity:1;transform:none}
.ssc-row.first .ssc-typing{display:none}
.ssc-msg{padding:.55em .95em .62em;border-radius:1.2em;background:var(--ss-bub);color:var(--ss-ink);
  line-height:1.36;letter-spacing:-.018em;text-wrap:pretty;transform-origin:left bottom;
  animation:sscIn .6s var(--ease) both;animation-delay:calc(var(--t)*1s + 1s)}
.ssc-msg b{font-weight:600;color:var(--blue)}
.ssc-row.last .ssc-msg{border-bottom-left-radius:.3em}
.ssc-typing{position:absolute;left:0;top:0;display:flex;gap:.26em;padding:.82em .95em;border-radius:1.2em;
  background:var(--ss-bub);pointer-events:none;
  animation:sscType 1s linear both;animation-delay:calc(var(--t)*1s)}
.ssc-typing i{width:.32em;height:.32em;border-radius:50%;background:var(--ss-mute);animation:tcDot .55s ease-in-out infinite}
.ssc-typing i:nth-child(2){animation-delay:.09s}.ssc-typing i:nth-child(3){animation-delay:.18s}
.ssc-wave{display:inline-block;transform-origin:70% 70%;animation:tWave 2.2s ease-in-out calc(var(--t)*1s + 1.2s) 2}

/* your side of the conversation: one calm reply that doubles as the way in */
.ssc-reply{align-self:flex-end;margin-top:.7em;display:inline-flex;align-items:center;gap:.5em;
  font:inherit;font-size:.78em;font-weight:500;letter-spacing:-.01em;color:#fff;background:var(--blue-fill,var(--blue));
  border:0;border-radius:1.4em;padding:.55em 1.05em .58em 1.2em;cursor:pointer;transform-origin:right bottom;
  animation:sscIn .6s var(--ease) both;animation-delay:calc(var(--t)*1s + .5s);
  transition:transform .3s var(--spring),background .2s}
.ssc-reply svg{width:1em;height:1em;transition:transform .3s var(--spring)}
.ssc-reply:hover{background:var(--blue-fill-hover,var(--blue-hover));transform:scale(1.04)}
.ssc-reply:hover svg{transform:translateX(3px)}
.ssc-reply:active{transform:scale(.96)}
.ssc-reply:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

@keyframes sscIn{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:none}}
@keyframes sscType{0%{opacity:0}10%,90%{opacity:1}100%{opacity:0}}

@media (max-height:420px){.ssc-row:nth-child(4){display:none}}
@media (prefers-reduced-motion:reduce){
  .ss-chat{animation:none}
  .ssc-av,.ssc-name,.ssc-msg,.ssc-reply,.ssc-wave{animation:none!important;opacity:1}
  .ssc-typing{display:none}
}

/* ---- ss-combo ---- */
/* ============================================================
   SCREENSAVER v3: one scene. The three lines on the left (one at a time takes the light),
   Ally's hello on the right. Stacks on phones and in portrait.
   ============================================================ */
#ss .ss-stage{display:grid;align-items:center;
  column-gap:clamp(28px,5vw,88px);width:100%;animation:ssDrift 90s ease-in-out infinite alternate}
#ss .ss-stage>*{grid-area:auto;min-width:0}
#ss .ss-chat{opacity:1;visibility:visible;animation:none;transition:opacity .8s var(--ease-soft);width:100%;}
#ss .ss-chat.out{opacity:0}

#ss .ss-bot{gap:0}
#ss .ss-go{font-size:calc(clamp(13px,1.4vw,15px)*var(--ts,1))}

@media (max-width:620px),(max-aspect-ratio:1/1){
  #ss .ss-stage{grid-template-columns:minmax(0,1fr);row-gap:clamp(22px,4.5vh,48px);align-content:center}
  
  #ss .ss-chat{max-width:34em;font-size:calc(clamp(15px,min(3.9vw,2.4vh),22px)*var(--ts,1))}
}

@media (prefers-reduced-motion:reduce){#ss .ss-stage{animation:none}}
/* finishing touches: a readable name label, avatar level with the first bubble, a gentle nudge on the way in */
#ss .ssc-name{font-size:.6em;margin:0 0 .15em .95em;letter-spacing:.01em}
#ss .ssc-av{margin-top:1.05em}
#ss .ssc-reply{
  animation-name:sscIn,sscNudge;animation-duration:.6s,5s;
  animation-delay:calc(var(--t)*1s + .5s),calc(var(--t)*1s + 2.4s);
  animation-iteration-count:1,infinite;animation-fill-mode:both,none;
  animation-timing-function:var(--ease),ease-out}
@keyframes sscNudge{0%{box-shadow:0 0 0 0 rgba(0,113,227,.38)}45%,100%{box-shadow:0 0 0 14px rgba(0,113,227,0)}}
#ss .ss-go{opacity:0;animation:ssHint 1.2s var(--ease-soft) 2.5s forwards}
@keyframes ssHint{to{opacity:1}}
@media (prefers-reduced-motion:reduce){#ss .ss-go{opacity:1;animation:none}}
/* v4: chat only, centred; the three lines live inside one bubble as a rotating phrase */
#ss .ss-stage{grid-template-columns:minmax(0,1fr)}
#ss .ss-chat{justify-self:center;max-width:31em;font-size:calc(clamp(17px,min(2.5vw,3.3vh),30px)*var(--ts,1))}
@media (max-aspect-ratio:1/1){#ss .ss-chat{font-size:calc(clamp(16px,min(4.2vw,2.6vh),26px)*var(--ts,1))}}
#ss .ssc-rot{display:inline-grid;color:var(--blue);font-weight:600}
#ss .ssc-rot>span{grid-area:1/1;white-space:nowrap;opacity:0;
  animation:sscRot 5s ease-out 1 both}
#ss .ssc-rot>span:nth-child(1){animation-delay:calc(var(--t)*1s + 1.15s)}
#ss .ssc-rot>span:nth-child(2){animation-delay:calc(var(--t)*1s + 2.65s)}
#ss .ssc-rot>span:nth-child(3){animation-delay:calc(var(--t)*1s + 4.15s)}
@keyframes sscRot{0%{opacity:0;transform:translateY(45%)}4%,29%{opacity:1;transform:none}33%,100%{opacity:0;transform:translateY(-45%)}}
#ss .ss-chat .ssc-av{animation:sscIn .9s var(--ease) .15s both,ssAvatarBreath 8s ease-in-out 1.2s infinite}
@keyframes ssAvatarBreath{0%,100%{transform:scale(1);filter:drop-shadow(0 0 0 rgba(0,113,227,0))}50%{transform:scale(1.018);filter:drop-shadow(0 0 9px rgba(0,113,227,.12))}}
@media (prefers-reduced-motion:reduce){
  #ss .ssc-rot>span{animation:none!important}
  #ss .ssc-rot>span:first-child{opacity:1}
  #ss .ssc-rot>span:not(:first-child){display:none}
}
/* Final screensaver polish: clear brand, calmer rhythm and a more visible start cue. */
#ss .ss-top{align-items:center;min-height:34px}
#ss .ss-top{flex-direction:column;align-items:flex-end;justify-content:center;gap:3px}
#ss .ss-brand{display:inline-flex;align-items:center;gap:10px;color:var(--ss-ink);font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.025em}
#ss .ss-brand-mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--ss-dim);border-radius:10px;color:var(--blue)}
#ss .ss-brand-mark svg{width:17px;height:17px}
#ss #ssClock{font-size:calc(13px*var(--ts,1));color:var(--ss-mute)}
#ss .ss-credit{font-size:calc(11px*var(--ts,1));letter-spacing:.025em;color:var(--ss-mute);opacity:.78;white-space:nowrap}
#ss .ss-heart{color:#ff453a;font-size:1.12em;line-height:0}
#ss .ss-chat{max-width:32em}
#ss .ssc-col{gap:.36em}
#ss .ssc-msg{line-height:1.42}
#ss .ss-bot{gap:0}
#ss .ss-go{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid var(--ss-dim);border-radius:999px;color:var(--ss-mute);font-size:calc(12px*var(--ts,1));letter-spacing:.01em;backdrop-filter:blur(12px)}
#ss .ss-go::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--blue-fill,var(--blue));box-shadow:0 0 0 4px var(--ss-glow)}
@media(max-width:620px){
  #ss{padding-left:22px;padding-right:22px}
  #ss .ss-brand{font-size:calc(13px*var(--ts,1));gap:8px}
  #ss .ss-brand-mark{width:28px;height:28px;border-radius:9px}
  #ss #ssClock{font-size:calc(11px*var(--ts,1))}
  #ss .ss-credit{font-size:calc(11px*var(--ts,1))}
  #ss .ss-go{font-size:calc(11px*var(--ts,1));padding:8px 12px}
}
@media(max-height:420px){#ss .ss-top{min-height:26px}#ss .ss-brand-mark{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){#ss .ssc-reply{animation:none!important}}

/* ---- ally-home ---- */
.home-head .t-view-title{font-weight:700;line-height:1.05;margin:0;padding-bottom:.08em}
.home-head .intro{font-weight:400;color:var(--ink-2);margin:6px 0 0;}
.home-head .pp-big{font-size:calc(clamp(20px,2.8vw,26px)*var(--ts,1));font-weight:600;letter-spacing:-.025em;margin:22px 0 0}

/* ---- gd-v2 ---- */
/* Guides: landing */
.gd-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin:20px 0 0}
.gd-bar .vp-search{margin:0;flex:1 1 240px;max-width:340px}
.gd-bar .catbar{margin:0}
.gd-count{margin:16px 2px 12px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
/* Guides: inside a guide */
.gd-fun{padding:14px 16px;margin:0}
.gd-pane .demo-grid{margin:0}
.gd-fun p{font-size:calc(15px*var(--ts,1))}
.ck.warn{background:#FF9500}
@media (max-width:600px){.gd-bar .vp-search{max-width:none;flex-basis:100%}}

/* ---- gd-v3 ---- */
/* Guide detail: quieter chrome, clear headings, stable height */
.gd-pane .panel-block h4{margin:0 0 10px;font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.012em;text-transform:none;color:var(--ink)}
.gd-pane .panel-block.warn h4{color:#C77700}
:root.dark .gd-pane .panel-block.warn h4{color:#FFB340}

/* ---- tt-v3 ---- */
/* Technical knowledge: the explanation is clearly its own box */

/* ---- style ---- */
#ed{position:fixed;inset:0;z-index:9000;display:none;align-items:center;justify-content:center;background:var(--overlay-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
#ed.on{display:flex}
.ed-sheet{width:min(920px,calc(100% - 24px));height:min(86vh,820px);background:var(--app-bg);color:var(--ink);border-radius:16px;box-shadow:var(--window-shadow),0 0 0 .5px var(--window-ring);display:flex;flex-direction:column;overflow:hidden}
.ed-head{flex:none;display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--hair);background:var(--sheet-head)}
.ed-head h2{margin:0;font-size:calc(17px*var(--ts,1));font-weight:600;flex:1}
.ed-body{flex:1;overflow:auto;padding:18px}
.ed-foot{flex:none;display:flex;flex-wrap:wrap;gap:8px;padding:12px 18px;border-top:1px solid var(--hair);background:var(--sheet-head)}
.ed-b{border:1px solid var(--btn-border);background:var(--btn-bg);color:var(--ink);border-radius:9px;padding:8px 14px;font-size:calc(15px*var(--ts,1));cursor:pointer}
.ed-b:hover{background:var(--btn-bg-hover)}
.ed-b.pri{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}
.ed-b.del{color:#FF3B30}
.ed-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.ed-chip{border:1px solid var(--hair);background:var(--tile-bg);color:var(--ink);border-radius:999px;padding:7px 14px;font-size:calc(15px*var(--ts,1));cursor:pointer}
.ed-chip.on{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}
.ed-row{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--hair);border-radius:12px;margin-bottom:8px;background:var(--card-bg)}
.ed-row div{flex:1;min-width:0}.ed-row b{display:block;font-size:calc(15px*var(--ts,1))}.ed-row small{color:var(--mute);font-size:calc(13px*var(--ts,1))}
.ed-f{display:block;margin-bottom:14px}
.ed-f span{display:block;font-size:calc(12px*var(--ts,1));font-weight:600;color:var(--mute);margin-bottom:5px;letter-spacing:.02em}
.ed-f input,.ed-f textarea,.ed-f select{width:100%;font:inherit;font-size:calc(15px*var(--ts,1));color:var(--ink);background:var(--panel-bg);border:1px solid var(--hair);border-radius:9px;padding:9px 11px}
.ed-f textarea{min-height:76px;resize:vertical}
.ed-f input:focus,.ed-f textarea:focus,.ed-f select:focus{outline:2px solid var(--blue);outline-offset:1px}
.ed-g{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.ed-h{font-size:calc(13px*var(--ts,1));font-weight:600;margin:18px 0 10px;color:var(--ink-2)}
.ed-note{font-size:calc(13px*var(--ts,1));color:var(--mute);margin:0 0 14px}
@media(max-width:640px){.ed-g{grid-template-columns:1fr}}

/* ---- style ---- */
/* Compare bar sits higher so it is not covered by Box's own bar at the bottom */

@media (pointer:coarse){.bar{bottom:calc(170px + env(safe-area-inset-bottom,0px))}}

/* ---- style ---- */
/* Compare bar can be dragged anywhere (grab the dots or the "selected" text) */
.bar.show{transform:translate(calc(-50% + var(--bx,0px)),var(--by,0px))}
.bar.drag{transition:none!important}
.bar-grip{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;opacity:.55;letter-spacing:-2px;font-size:calc(15px*var(--ts,1));line-height:1;padding:6px 4px 6px 0}
#barTxt{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}

/* ---- style ---- */
/* Compare bar: hidden until something is selected, then slides up (a bit lower than before) */
.bar{opacity:0;visibility:hidden;pointer-events:none;bottom:120px;transition:transform .5s var(--spring),opacity .25s,visibility 0s linear .5s,background .3s var(--ease-soft)!important}
.bar.show{opacity:1;visibility:visible;pointer-events:auto;transition:transform .5s var(--spring),opacity .25s,visibility 0s,background .3s var(--ease-soft)!important}
@media (pointer:coarse){.bar{bottom:calc(120px + env(safe-area-inset-bottom,0px))}}

/* ---- style ---- */
/* Compare bar: low on computers, higher on touch screens */
@media (pointer:fine){.bar{bottom:28px}}

/* ---- pp-css ---- */
.pp-big{margin:18px 0 8px;font-size:calc(clamp(28px,5vw,40px)*var(--ts,1));line-height:1.1;font-weight:700;letter-spacing:-.035em;color:var(--ink)}

.home-fb{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin:26px 0 6px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.home-fb a,.home-fb .fb{color:var(--blue);text-decoration:none;font-weight:550}
.home-fb a:hover{text-decoration:underline}
.home-fb .off{color:var(--mute);cursor:default}
.sb-fb{display:flex;gap:10px;margin-top:6px;font-size:calc(11px*var(--ts,1))}
.sb-fb a{color:var(--blue);text-decoration:none}
.sb-fb .off{color:var(--mute)}

/* ---- pd-v2 ---- */
.qf-i{max-width:240px;font-size:calc(13px*var(--ts,1));font-weight:600;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.qf-i small{display:block;margin-bottom:1px;font-size:calc(12px*var(--ts,1));font-weight:500;color:var(--mute)}

/* ---- pd-v3 ---- */
/* Sell it, extra polish */

/* ---- need-css ---- */
.need-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-bottom:14px}

.need-hint{font-size:calc(13px*var(--ts,1));font-weight:400;color:var(--mute)}
.need-chips{display:flex;flex-wrap:wrap;gap:10px}
.need-chip{display:inline-flex;align-items:center;gap:10px;font:inherit;font-size:calc(15px*var(--ts,1));font-weight:500;line-height:1.3;text-align:left;padding:7px 18px 7px 7px;border-radius:999px;border:1px solid var(--hair);background:var(--card-bg);color:var(--ink);box-shadow:var(--card-shadow);cursor:pointer;transition:transform .25s var(--ease-soft),box-shadow .25s var(--ease-soft),border-color .2s,background .25s,color .2s}
.need-chip .nq{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--blue-soft);color:var(--blue);transition:background .25s,color .25s}
.need-chip .nq svg{width:14px;height:14px;display:block}
.need-chip:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--hair));transform:translateY(-1px);box-shadow:var(--card-shadow-hover,0 6px 16px -8px rgba(0,0,0,.25))}
.need-chip:active{transform:scale(.98)}
.need-chip.on{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff;box-shadow:0 8px 18px -8px rgba(0,113,227,.6)}
.need-chip.on .nq{background:rgba(255,255,255,.24);color:#fff}
.need+.models-grid{margin-top:22px}
.match-note{display:none;margin-bottom:10px;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue)}
.model-card.match .match-note{display:block}
.model-card.match{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.models-grid.has-need .model-card:not(.match){opacity:.55}
@media (pointer:coarse){.need-chip{min-height:46px;font-size:calc(15px*var(--ts,1))}}

/* ---- tt-v2 ---- */
.tt-search{margin:16px 0 0}
#learnScroll .tt-pills.catbar{margin-top:14px}

/* ---- tt-polish ---- */


/* ---- tt-open-clear ---- */
/* Technical knowledge: calm, flat open state. Air and hierarchy instead of boxes */

/* ---- tt-calm ---- */
/* Technical knowledge: calm landing (basics + topic tiles), advanced terms tucked away */
.tt-pills[hidden]{display:none}

/* ---- demo-polish ---- */
/* Demo tips polish */
.dx-search{min-height:44px;border-radius:12px;background:var(--card-bg)}
.dx-search::placeholder{color:var(--mute);opacity:1}
.dx-empty{padding:28px 20px;text-align:center;border:1.5px dashed var(--hair);border-radius:16px;background:var(--panel-bg);color:var(--mute)}
@media (max-width:900px){.sidebar:not(.open){box-shadow:none}}
@media (max-width:600px){
  .dx-cats{margin-right:-16px;padding-right:32px;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent)}
}

/* ---- sb-store-group ---- */
/* Sidebar: "In the store" is a collapsible group below Products, closed by default */
.sb-grouphead{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;background:none;font-family:inherit;text-align:left;cursor:pointer;transition:color .15s}
.sb-grouphead:hover{color:var(--ink)}
.sb-grouphead .sb-gh-chev{width:13px;height:13px;flex:none;transition:transform .25s ease;transform:rotate(-90deg)}
.sb-group.open .sb-grouphead .sb-gh-chev{transform:none}
/* Button-style header: soft pill, readable text, still quiet */
.sb-group>.sb-grouphead{margin:18px 0 6px;padding:8px 10px;width:100%;gap:9px;border-radius:9px;background:var(--seg-bg);color:var(--ink);font-size:calc(13px*var(--ts,1));font-weight:500;letter-spacing:-.01em;transition:background .15s,color .15s}
.sb-group>.sb-grouphead:hover{background:var(--blue-soft);color:var(--blue)}
.sb-group>.sb-grouphead:active{background:var(--blue-soft-2)}
.sb-group>.sb-grouphead:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.sb-group.open>.sb-grouphead{background:var(--blue-soft);color:var(--blue)}
.sb-grouphead .sb-gh-ico{width:16px;height:16px;flex:none;opacity:.85}
.sb-grouphead .sb-gh-label{flex:1;min-width:0}
.sb-groupbody{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .28s ease,visibility 0s .28s}
.sb-groupinner{overflow:hidden;min-height:0}
.sb-group.open .sb-groupbody{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .28s ease,visibility 0s}
/* collapsed icon rail: no header to click, so the items stay reachable */
.sidebar.collapsed .sb-group>.sb-grouphead{font-size:0;padding:0;height:1px;margin:12px 10px;background:var(--hair);border-radius:0;pointer-events:none}
.sidebar.collapsed .sb-grouphead svg,.sidebar.collapsed .sb-gh-label{display:none}
.sidebar.collapsed .sb-group .sb-groupbody{grid-template-rows:1fr;visibility:visible}
@media (prefers-reduced-motion:reduce){.sb-groupbody,.sb-grouphead .sb-gh-chev{transition:none}}

/* ---- touch-fix ---- */
/* 1. When the screensaver is closed, nothing inside it may catch touches.
      Its chat bubbles had their own visibility:visible, so they stayed
      invisible but tappable on top of the whole page (left side and menu). */
#ss:not(.on),#ss:not(.on) *{pointer-events:none!important}
/* 2. The "See all products" pill (z-index 5) was drawn above the open menu.
      The menu and its dimmed backdrop now sit above it. */
@media (max-width:900px){
  .sidebar{z-index:20}
  
}
/* 3. Touch scrolling: let the menu scroll on its own and not pass the swipe on */
.sidebar{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
/* Screensaver: clock sits at the right now that the "Ally" label is gone */
.ss-top{justify-content:flex-end}
/* "Ask Ally" field: the mascot sits inside it instead of the magnifier */
.sb-search{
  min-height:42px;padding:6px 12px 6px 46px;border-radius:12px;
  background-color:var(--seg-bg);
  background-image:var(--am-head);
  background-repeat:no-repeat;background-position:9px 50%;background-size:28px 28px;
  font-weight:500;
}
.sb-search::placeholder{color:var(--mute);font-weight:500}
.sb-search:focus{background-color:var(--panel-bg,var(--seg-bg))}
/* Home entry point: make the two common starting paths easy to spot. */
.home-ask{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0 30px;padding:18px 20px;border:1px solid var(--hair-2);border-radius:16px;background:var(--panel-bg)}
.home-ask-copy{min-width:0}
.home-ask-copy b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.home-ask-copy p{margin:4px 0 0;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
.home-ask-form{display:flex;align-items:center;gap:8px;flex:1;min-width:0;max-width:600px}
.home-ask-form input{flex:1;min-width:0;min-height:44px;padding:9px 13px;border:1px solid var(--hair);border-radius:10px;background:var(--card-bg);color:var(--ink);font:inherit;font-size:calc(15px*var(--ts,1))}
.home-ask-form input::placeholder{color:var(--mute)}
.home-ask-form input:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
@media(max-width:700px){.home-ask{align-items:stretch;flex-direction:column;gap:14px}.home-ask-form{width:100%;max-width:none}.home-ask-form .btn{min-height:44px}}
@media(max-width:430px){.home-ask-form{align-items:stretch;flex-direction:column}.home-ask-form .btn{width:100%}}

/* ---- liquidGlass ---- */
/* ===== Liquid Glass =====
   Glass is only for the layer that floats above content (bars, menus, popovers, players).
   Content (cards, sheets, tables) stays solid. Tweak the look via the --lg-* variables. */
:root{
 /* the white sheen fades towards Clear, so content and colours show through */
 --lg-k:var(--lg-frost);
 --lg-fill:linear-gradient(160deg,rgb(255 255 255 / calc(.72 * var(--lg-k))),rgb(255 255 255 / calc(.42 * var(--lg-k))) 45%,rgb(255 255 255 / calc(.58 * var(--lg-k))));
 --lg-frost:1; /* 0 = clear glass (almost no tint or blur), 1 = frosted; set from the Glass slider */
 --lg-base:rgb(246 246 248 / calc(.9 * var(--lg-frost)));
 --lg-base-menu:rgb(250 250 252 / calc(.3 + .7 * var(--lg-frost)));
 --lg-bar:rgb(246 246 248 / calc(var(--lg-frost)));
 --lg-bar-dense:rgb(246 246 248 / calc(.3 + .68 * var(--lg-frost)));
 --lg-edge:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(255,255,255,.45),0 0 0 .5px rgba(0,0,0,.08);
 --lg-shadow:0 10px 34px rgba(0,0,0,.12);
 --lg-pill:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.7));
 --lg-pill-edge:inset 0 1px 0 #fff,0 0 0 .5px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.08);
 --lg-well:rgba(0,0,0,.05);
 --lg-pill-solid:rgba(255,255,255,.9);
 --lg-well-edge:inset 0 0 0 .5px rgba(0,0,0,.06);
 --lg-tint:rgb(28 28 32 / calc(.1 + .89 * var(--lg-frost)));
 /* blur, colour boost and brightening all go to zero at Clear, so what is behind shows as it is */
 --lg-blur:url(#lgRefract) blur(calc(24px * var(--lg-frost))) saturate(calc(1 + .9 * var(--lg-frost))) brightness(calc(1 + .05 * var(--lg-frost)));
 --lg-blur-safe:blur(calc(24px * var(--lg-frost))) saturate(calc(1 + .9 * var(--lg-frost))) brightness(calc(1 + .05 * var(--lg-frost)));
}
:root.dark{
 --lg-k:var(--lg-frost);
 --lg-fill:linear-gradient(160deg,rgb(255 255 255 / calc(.10 * var(--lg-k))),rgb(255 255 255 / calc(.03 * var(--lg-k))) 40%,rgb(255 255 255 / calc(.05 * var(--lg-k))));
 --lg-base:rgb(30 30 32 / calc(.95 * var(--lg-frost)));
 --lg-base-menu:rgb(38 38 42 / calc(.3 + .7 * var(--lg-frost)));
 --lg-bar:rgb(28 28 30 / calc(var(--lg-frost)));
 --lg-bar-dense:rgb(28 28 30 / calc(.3 + .68 * var(--lg-frost)));
 --lg-edge:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -1px 0 rgba(255,255,255,.06),inset 1px 0 0 rgba(255,255,255,.10),inset -1px 0 0 rgba(255,255,255,.05),0 0 0 .5px rgba(255,255,255,.12);
 --lg-shadow:0 12px 40px rgba(0,0,0,.45);
 --lg-pill:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.06));
 --lg-pill-edge:inset 0 1px 0 rgba(255,255,255,.30),inset 0 0 0 .5px rgba(255,255,255,.14),0 2px 10px rgba(0,0,0,.25);
 --lg-well:rgba(255,255,255,.07);
 --lg-pill-solid:rgba(255,255,255,.12);
 --lg-well-edge:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 .5px rgba(255,255,255,.08);
 --lg-tint:rgb(44 44 48 / calc(.1 + .89 * var(--lg-frost)));
}

/* Floating panels: sidebar, popover menus, toast, audio player */
.sidebar,#moreMenu,.quicklinks-menu,.egg-toast,.ls-player{
 border:none!important;background:var(--lg-fill),var(--lg-base)!important;
 -webkit-backdrop-filter:var(--lg-blur-safe)!important;backdrop-filter:var(--lg-blur)!important;
 box-shadow:var(--lg-edge),var(--lg-shadow)!important}
#moreMenu,.quicklinks-menu{background:var(--lg-fill),var(--lg-base-menu)!important;border-radius:22px!important}
.egg-toast{border-radius:999px!important}
.ls-player{border-radius:999px!important}

/* Sidebar */
.sidebar{margin:10px 0 10px 10px;border-radius:24px!important;overflow-x:hidden!important} /* never scroll sideways, also when collapsed */
/* Free-floating on desktop: air on both sides, shadow drawn above the content,
   and the area behind it has the same colour as the content (no band beside the glass) */
@media (min-width:901px){
 .sidebar{margin-right:10px;position:relative;z-index:4}
 .app-body{background:var(--content-bg,var(--app-bg))}
}
.sidebar .nav-item{border-radius:12px!important;transition:background .25s,box-shadow .25s}
.sidebar .nav-item.active{background:var(--lg-pill)!important;box-shadow:var(--lg-pill-edge)!important}
/* only the colour changes, so Ally's avatar icon inside the field stays */
.sidebar .sb-search{border-radius:999px!important;border:none!important;background-color:var(--lg-well)!important;box-shadow:var(--lg-well-edge)!important;text-align:left}
.sidebar .sb-search:focus{background-color:var(--lg-pill-solid,var(--lg-well))!important;outline:2px solid var(--blue);outline-offset:1px}
/* Scroll edge effect (as in iOS 26): items that scroll under the rounded top and bottom are blurred and soften away.
   No colour of its own, so it can never look darker than the glass. At rest it only covers the panel's padding. */
.sidebar{padding-top:14px!important;padding-bottom:14px!important}
.sidebar::before,.sidebar::after{content:"";display:block;position:sticky;z-index:2;height:14px;pointer-events:none;flex:none;background:none;
 -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.sidebar::before{top:-14px;margin:-14px 0 0;-webkit-mask-image:linear-gradient(to bottom,#000 30%,transparent);mask-image:linear-gradient(to bottom,#000 30%,transparent)}
.sidebar::after{bottom:-14px;margin:0 0 -14px;height:24px;-webkit-mask-image:linear-gradient(to top,#000 30%,transparent);mask-image:linear-gradient(to top,#000 30%,transparent)}
.sidebar .sb-footer{padding-bottom:14px}
@media (max-width:900px){.sidebar:not(.open){transform:translateX(calc(-100% - 60px))}}
/* Collapsed sidebar: a capsule; its controls use radii concentric with it (34 - 14 padding = 20) */
@media (min-width:901px){
 .sidebar.collapsed{border-radius:34px!important}
 .sidebar.collapsed .sb-toggle{width:40px;height:40px;border:none;border-radius:999px;background:var(--lg-well);box-shadow:var(--lg-well-edge)}
 .sidebar.collapsed .sb-toggle:hover{background:var(--lg-pill);box-shadow:var(--lg-pill-edge);border-color:transparent}
 .sidebar.collapsed .nav-item{border-radius:999px!important}
 /* section heads kept 10px side margins at 48px wide, so they stuck out 20px and the menu could scroll sideways */
 .sidebar.collapsed .sb-section{margin-left:0!important;margin-right:0!important}
 /* the Ally mark in the toolbar lines up with the icons (the glass sidebar sits 10px in) */
 #app:has(.sidebar.collapsed) .chrome-ally-mark{margin-left:7px;border-radius:999px} /* the toolbar itself now sits 10px in, like the sidebar */
}

/* Toolbar: translucent bar + buttons grouped in a glass capsule */
.chrome{background:var(--lg-fill),var(--lg-base)!important;-webkit-backdrop-filter:var(--lg-blur-safe)!important;backdrop-filter:var(--lg-blur)!important;
 border-bottom:none!important;box-shadow:inset 0 -.5px 0 var(--hair),inset 0 1px 0 rgba(255,255,255,.08)}
/* On larger screens the toolbar floats like the sidebar: same glass, rim and shadow, 10px of air around it */
@media (min-width:901px){
 /* The toolbar floats over the content, so pages scroll in behind the glass (as in iOS 26).
    Everything is pushed down by the toolbar's 52px + 10px gap, so nothing moves at rest,
    and sticky rows (which are placed relative to the page padding) still stop just under the toolbar. */
 /* --lg-chrome-h is the toolbar height: 52px with a mouse, 60px on touch screens like iPad (bigger buttons) */
 :root{--lg-chrome-h:52px}
 .chrome{position:absolute;top:0;left:0;right:0;margin:10px;border-radius:22px;z-index:5;box-shadow:var(--lg-edge),var(--lg-shadow)!important}
 .sidebar{margin-top:calc(var(--lg-chrome-h) + 20px)}
 #content .view-scroll{padding-top:calc(var(--lg-chrome-h) + 50px);scroll-padding-top:calc(var(--lg-chrome-h) + 20px)}
 #content #guidesScroll{padding-top:calc(var(--lg-chrome-h) + 48px)}
 /* sticky section tabs and the chat header stop 10px under the toolbar, level with the sidebar */
 #content .fx-nav,#content .pp-nav,#content #learnScroll .cb-head{top:-30px}
}
@media (min-width:901px) and (pointer:coarse){:root{--lg-chrome-h:60px}}
.chrome-actions{background:var(--lg-well);box-shadow:var(--lg-well-edge);border-radius:999px;padding:3px}
.chrome-actions .tool-btn{border-radius:999px!important}

/* Sticky section tabs inside pages: content scrolls under these, so the glass shows */
.fx-nav,.pp-nav,.pr-head{background:var(--lg-bar-dense)!important;-webkit-backdrop-filter:blur(calc(3px + 31px * var(--lg-frost))) saturate(1.8)!important;backdrop-filter:blur(calc(3px + 31px * var(--lg-frost))) saturate(1.8)!important;
 border-bottom:none!important;box-shadow:inset 0 -.5px 0 var(--hair-2,var(--hair)),inset 0 1px 0 rgba(255,255,255,.06)}

/* Dark tinted floating bars (action bar, compare strip) */
.bar,.cmp-strip{background:var(--lg-fill),var(--lg-tint)!important;border:none!important;
 -webkit-backdrop-filter:var(--lg-blur-safe)!important;backdrop-filter:var(--lg-blur)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 .5px rgba(255,255,255,.14),0 12px 36px rgba(0,0,0,.35)!important}
.bar{border-radius:20px!important}
.cmp-strip{border-radius:20px!important}

/* Screensaver hint pill */
#ss .ss-go{border:none!important;background:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 0 0 .5px rgba(255,255,255,.14)}

/* Sheets stay solid (they hold content) but get a glass rim and softer corners */
.sheet,.ed-sheet{border-radius:24px}
:root.dark .sheet,:root.dark .ed-sheet{box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 0 0 .5px var(--window-ring),0 24px 60px -20px rgba(0,0,0,.5)}
@media (max-width:600px){.sheet{border-radius:24px 24px 0 0}}

/* Glass slider in Accessibility & display */
.prefs-glass-ctl{display:flex;align-items:center;gap:10px;font-size:calc(12px*var(--ts,1));color:var(--mute)}
.prefs-glass-ctl input{width:150px;accent-color:var(--blue)}

/* Opening intro: no "press any key" hint, the app eases in behind the fading intro */
#ss.intro .ss-bot{visibility:hidden}
.ally-enter #app{animation:allyEnter 1.1s cubic-bezier(.2,.7,.2,1) both}
@media (min-width:901px){.ally-enter .sidebar{animation:allyEnterSide 1.1s cubic-bezier(.2,.7,.2,1) .08s both}}
@keyframes allyEnter{from{opacity:0;transform:scale(.965);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}
@keyframes allyEnterSide{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}

/* Search page: product tiles reuse the Overview photo tiles (ovTile) */
.sr-cats.sr-prods{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.sr-prods .ov-tile .pc-art{height:clamp(92px,8vw,132px)}
/* same text layout as #homeGrid */
.sr-prods .ov-tile-t{gap:3px}
.sr-prods .ov-tile-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;width:100%;min-width:0}
.sr-prods .ov-tile-row b{flex:0 1 auto}
.sr-prods .ov-tile-row small{flex:0 0 auto}
.sr-prods .ov-tile-tag{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:calc(13px*var(--ts,1));line-height:1.35;color:var(--mute);text-align:left}
@media (max-width:600px){.sr-cats.sr-prods{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Accessibility */
@media (prefers-reduced-transparency:reduce){
 .sidebar,#moreMenu,.quicklinks-menu,.egg-toast,.ls-player{background:var(--card-bg)!important}
 .sidebar{background:var(--panel-bg)!important}
 .chrome,.fx-nav,.pp-nav,.pr-head{background:var(--app-bg)!important}
 .bar,.cmp-strip{background:var(--bar-bg)!important}
 .sidebar,#moreMenu,.quicklinks-menu,.egg-toast,.ls-player,.chrome,.fx-nav,.pp-nav,.pr-head,.bar,.cmp-strip{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@media (prefers-contrast:more){
 .sidebar,#moreMenu,.quicklinks-menu,.egg-toast,.ls-player,.bar,.cmp-strip{outline:1px solid var(--ink-2);outline-offset:-1px}
}

/* ---- focus-css ---- */
@keyframes fcIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* Focus: timeline, jump links, numbered highlights, compare, good to know */
.fc-chat .tour-guide{margin-bottom:0}
.fc-chat{margin-top:24px}

/* ---- sr-more-css ---- */
/* Search Ally: pictures on the results */
.sr-row{align-items:center}
.sr-pic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--panel-bg);color:var(--c,var(--ink-2));overflow:hidden}
.sr-pic svg{width:19px;height:19px}
.sr-pic.img{background:#fff}
.sr-pic img,.sr-top-pic img{width:100%;height:100%;object-fit:contain}
/* the best match */
.sr-top{display:flex;align-items:flex-start;gap:18px;margin:6px 0 26px;padding:20px;border-radius:18px;border:1px solid color-mix(in srgb,var(--blue) 30%,var(--hair-2));background:var(--card-bg);box-shadow:var(--card-shadow)}
.sr-top-pic{flex:none;display:grid;place-items:center;width:84px;height:84px;border-radius:16px;background:var(--panel-bg);color:var(--c,var(--blue));overflow:hidden}
.sr-top-pic.img{background:#fff;padding:6px}
.sr-top-pic svg{width:34px;height:34px}
.sr-top-t{flex:1;min-width:0}
.sr-kick{display:block;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.sr-top h2{margin:4px 0 6px;font-size:calc(22px*var(--ts,1));font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.sr-top p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.55;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.sr-top-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.sr-top-acts .btn{display:inline-flex;align-items:center;gap:6px;max-width:100%}
.sr-top-acts .btn svg{width:14px;height:14px}
/* before you type */
.sr-block{margin-top:24px}
.sr-block .sr-sec{display:flex;align-items:center;justify-content:space-between}
.sr-clear{font-size:calc(13px*var(--ts,1))}
.sr-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.sr-quick .sr-chips{margin-top:0}
.sr-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;margin-top:10px}
.sr-cat{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid var(--hair-2);background:var(--card-bg);font:inherit;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .2s}
.sr-cat:hover{border-color:var(--blue)}
.sr-cat i{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--panel-bg);color:var(--ink-2)}
.sr-cat i svg{width:16px;height:16px}
/* the field with the help button next to it */
.sr-field{display:flex;align-items:center;gap:10px;margin:18px 0 10px}
.sr-field .sr-search{margin:0}
.sr-field .sr-search{flex:1;min-width:0}
.sr-help-btn{flex:none;display:inline-flex;align-items:center;gap:8px;height:54px;padding:0 16px;border-radius:14px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink-2);cursor:pointer;transition:border-color .2s,color .2s}
.sr-help-btn b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-size:calc(13px*var(--ts,1))}
.sr-help-btn:hover,.sr-help-btn.on{border-color:var(--blue);color:var(--ink)}
.sr-help-btn:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.sr-help{margin-top:12px;padding:16px;border-radius:16px;border:1px solid var(--hair-2);background:var(--panel-bg)}
.sr-help[hidden]{display:none}
.sr-help-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px 18px;margin-top:10px}
.sr-help .sr-help-grid{margin-top:0}
.sr-help-h{display:flex;align-items:center;gap:8px}
.sr-help-h i{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--blue-soft);color:var(--blue)}
.sr-help-h i svg{width:14px;height:14px}
.sr-help-h b{font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink)}
.sr-help-c .sr-chips{margin-top:8px;gap:6px}
.sr-help-c .catpill{font-size:calc(13px*var(--ts,1));padding:6px 12px}
.sr-help-tip{margin:16px 0 0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--mute)}
.sr-help-tip b{color:var(--ink);margin-right:4px}
.sr-help-tip .link-btn{font-size:calc(13px*var(--ts,1));padding:0}
/* while you type: what is searched for and ready-made completions */
#srHint:empty{display:none}
#srHint{margin-top:10px}
.sr-trans{margin:0 2px 8px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.sr-trans b{color:var(--ink-2);font-weight:600}
.sr-sug{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.sr-sug>span{margin-right:4px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.sr-sug .catpill{font-size:calc(13px*var(--ts,1));padding:5px 12px}
#srPills:empty{display:none}
@media (max-width:600px){
  .sr-help-btn span{display:none}
  .sr-sug .catpill:nth-of-type(n+4){display:none}
  .sr-help-btn{padding:0 12px}
}
/* hand-off to the chat */
.sr-ask{display:flex;align-items:center;gap:14px;width:100%;margin:28px 0 10px;padding:14px 16px;border-radius:16px;border:1px dashed var(--hair);background:var(--panel-bg);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s}
.sr-ask:hover{border-color:var(--blue)}
.sr-ask:focus-visible,.sr-row:focus-visible,.sr-top .btn:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.sr-ask-av{flex:none;width:38px;height:44px;background:var(--am-idea,var(--am-head)) center/contain no-repeat}
.sr-ask>span:nth-child(2){flex:1;min-width:0}
.sr-ask b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600}
.sr-ask small{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.sr-ask>svg{flex:none;width:14px;height:14px;color:var(--mute)}
@media (max-width:600px){
  .sr-top{flex-direction:column;gap:12px;padding:16px}
  .sr-top-pic{width:56px;height:56px;border-radius:14px}
  .sr-top-pic svg{width:26px;height:26px}
  .sr-top-acts .btn{width:100%;justify-content:center;white-space:normal;text-align:center}
  .sr-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Search page: align the field, featured match, groups and chat hand-off in one calm lane. */
#searchScroll .sr-head,#searchScroll #srHint,#searchScroll #srPills,#searchScroll #srBody{width:min(100%,1080px);max-width:1080px;margin-left:auto;margin-right:auto}
#searchScroll .sr-head{margin-bottom:18px}
#searchScroll .sr-top{max-width:none;margin:6px 0 20px;padding:16px;gap:14px;border-radius:16px}
#searchScroll .sr-top-pic{width:68px;height:68px;border-radius:14px}
#searchScroll .sr-top-pic svg{width:28px;height:28px}
#searchScroll .sr-sec,#searchScroll .tr-list,#searchScroll .sr-note,#searchScroll .sr-empty,#searchScroll .sr-ask{max-width:none}
@media(max-width:600px){
  #searchScroll .sr-head,#searchScroll #srHint,#searchScroll #srPills,#searchScroll #srBody{width:100%}
  #searchScroll .sr-top{padding:14px}
  #searchScroll .sr-top-pic{width:56px;height:56px}
}

/* ---- ui-polish-css ---- */
/* Headings that get focus when a sheet opens show no ring unless you use the keyboard */
#gxT:focus:not(:focus-visible),#psTitle:focus:not(:focus-visible),#coTitle:focus:not(:focus-visible){outline:none}
#gxT:focus,#psTitle:focus{outline-offset:4px;border-radius:6px}
/* Videos: a calm placeholder until the first real video is added */
.vx-soon{display:flex;align-items:flex-start;gap:16px;max-width:620px;margin-top:22px;padding:22px;border-radius:18px;border:1px solid var(--hair-2);background:var(--card-bg)}
.vx-soon-ico{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--blue-soft);color:var(--blue)}
.vx-soon-ico svg{width:20px;height:20px}
.vx-soon b{display:block;font-size:calc(17px*var(--ts,1));font-weight:600;color:var(--ink)}
.vx-soon p{margin:6px 0 14px;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.vx-soon .btn{display:inline-flex;align-items:center;gap:6px}
.vx-soon .btn svg{width:14px;height:14px}
/* Top bar on phones: More menu */
#moreBtn{display:none}
@media (max-width:600px){
  .chrome-actions #edBtn,.chrome-actions #refreshBtn,.chrome-actions #ssBtn,.chrome-actions #seasonToggle,.chrome-actions #themeBtn{display:none!important}
  #moreBtn{display:grid}
}
#moreMenu{position:fixed;top:calc(env(safe-area-inset-top,0px) + 54px);right:12px;z-index:9500;min-width:230px;padding:6px;border-radius:14px;border:1px solid var(--hair);background:var(--card-bg);box-shadow:0 18px 40px -12px rgba(0,0,0,.45);animation:fcIn .18s ease both}
#moreMenu button{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;border-radius:10px;background:none;font:inherit;font-size:calc(15px*var(--ts,1));color:var(--ink);text-align:left;cursor:pointer}
#moreMenu button:hover,#moreMenu button:focus-visible{background:var(--panel-bg);outline:none}
#moreMenu svg{width:19px;height:19px;color:var(--ink-2)}

/* ---- ss-more ---- */
/* Screensaver: the tour as a quiet second way in */
#ss .ssc-tour{align-self:flex-end;margin-top:.55em;border:0;background:none;padding:.3em .2em;font:inherit;font-size:.68em;font-weight:500;color:var(--ss-mute,rgba(255,255,255,.6));cursor:pointer;
  opacity:0;animation:sscIn .6s var(--ease) both;animation-delay:calc(var(--t)*1s + .5s)}
#ss .ssc-tour:hover{color:#fff;text-decoration:underline}
#ss .ssc-tour:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:6px}
/* The clock and the hint drift slowly too, so nothing stays in one place for hours */
#ss .ss-top{animation:ssDrift 120s ease-in-out infinite alternate-reverse}
#ss .ss-bot{animation:ssDrift 150s ease-in-out infinite alternate}
/* Let the blue light below the conversation breathe, without pulling focus. */
#ss::before{animation:ssGlowPulse 13s ease-in-out infinite}
@keyframes ssGlowPulse{0%,100%{opacity:.48;transform:scale(1)}50%{opacity:1;transform:scale(1.07)}}
/* Evening and night: dimmer, so it is calm in a dark back room */
#ss.dim .ss-top,#ss.dim .ss-stage,#ss.dim .ss-bot{opacity:.82;transition:opacity 2s}
/* learn it, understand it, show it keep taking turns, so the bubble is never empty */
#ss .ssc-rot>span{animation:sscRotLoop 4.5s ease-out infinite both}
@keyframes sscRotLoop{0%{opacity:0;transform:translateY(45%)}5%,30%{opacity:1;transform:none}34%,100%{opacity:0;transform:translateY(-45%)}}
@media (prefers-reduced-motion:reduce){#ss .ssc-tour{animation:none;opacity:1}#ss .ss-top,#ss .ss-bot,#ss::before{animation:none;opacity:1;transform:none}}

/* ---- style ---- */
.dx-sec{display:flex;justify-content:space-between;align-items:center;gap:12px 20px;flex-wrap:wrap;margin:0 0 14px;scroll-margin-top:16px}
.dx-sec h2{margin:0;font-size:calc(12px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.dx-sec .dx-search{margin:0;max-width:340px;flex:1 1 240px}
.dx-cats{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;margin:0 0 22px;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.dx-cats::-webkit-scrollbar{display:none}
.dx-cat{flex:none;width:136px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:14px;border-radius:14px;border:1px solid var(--hair-2);background:var(--card-bg);box-shadow:var(--card-shadow);cursor:pointer;text-align:left;font:inherit;color:var(--ink);}
.dx-cat:hover{border-color:var(--blue)}
.dx-cat b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.015em}
.dx-cat small{display:block;font-size:calc(12px*var(--ts,1));color:var(--mute);margin-top:2px}
.dx-cat.on{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}

.dx-cat.on small{color:rgba(255,255,255,.8)}
.dx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.dx-card{display:flex;flex-direction:column;text-align:left;font:inherit;color:inherit;padding:20px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow);cursor:pointer;animation:cardIn .45s var(--ease-soft) both;transition:transform .3s var(--ease-soft),box-shadow .3s,border-color .2s}
.dx-card:hover{transform:translateY(-3px);border-color:var(--blue);box-shadow:var(--card-shadow-hover)}
.dx-card:active{transform:scale(.985)}
.dx-card:focus-visible,.dx-cat:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.dx-card-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.dx-card-title{min-width:0;flex:1}
.dx-from{display:block;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue);margin-bottom:2px}
.dx-name{display:block;font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.022em;line-height:1.2;color:var(--ink)}
.dx-tag{display:block;font-size:calc(13px*var(--ts,1));color:var(--mute);line-height:1.35;margin-top:3px}

.dx-card-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:14px;border-top:1px solid var(--hair-2);font-size:calc(13px*var(--ts,1));color:var(--mute)}
.dx-card:hover .detail-link svg{transform:translateX(3px)}
.dx-empty{margin:8px 2px 0}

/* Demo mode (sheet) */
@media (max-width:600px){
  .dx-sec .dx-search{max-width:none}
  .dx-grid{grid-template-columns:1fr}
}
@media (pointer:coarse){
  .dx-cat{width:148px;padding:16px}
  .dx-cat b{font-size:calc(15px*var(--ts,1))}
  .dx-cat small{font-size:calc(13px*var(--ts,1))}
  .dx-name{font-size:calc(17px*var(--ts,1))}
  .dx-tag{font-size:calc(15px*var(--ts,1))}
  .dx-card-foot{font-size:calc(13px*var(--ts,1))}
}
@media (hover:none){
  .dx-card:hover{transform:none;border-color:var(--hair-2);box-shadow:var(--card-shadow)}
  .dx-card:active{border-color:var(--blue)}
  .dx-cat:hover{border-color:var(--hair-2)}
  .dx-cat.on:hover{border-color:var(--blue)}
}

/* ---- dz-more ---- */
/* Demo tips: All or Not tried yet */
.dz-meta{flex-wrap:wrap;gap:8px 12px}
.dz-filter{font-size:calc(13px*var(--ts,1))}
.dz-filter button{padding:5px 12px}
/* the next model with something left to practise */
.dz-upnext{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 14px;padding:11px 14px;border-radius:14px;border:1px dashed color-mix(in srgb,var(--blue) 40%,var(--hair));background:var(--blue-soft);font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.dz-upnext span{flex:none;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.dz-upnext b{flex:1;min-width:0;font-size:calc(15px*var(--ts,1));font-weight:600}
.dz-upnext svg{flex:none;width:14px;height:14px;color:var(--blue)}
.dz-upnext:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
/* Got a demo idea? */
.dz-idea{display:flex;align-items:center;gap:14px;margin:30px 0 8px;padding:16px 18px;border-radius:16px;border:1px solid var(--hair-2);background:var(--panel-bg)}
.dz-idea>i{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--blue-soft);color:var(--blue)}
.dz-idea>i svg{width:20px;height:20px}
.dz-idea>div{flex:1;min-width:0}
.dz-idea b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.dz-idea span{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.dz-idea .btn{flex:none}
.dz-idea .dz-soon{opacity:.6;cursor:default;pointer-events:none}
@media (max-width:600px){.dz-idea{flex-wrap:wrap}.dz-idea .btn{width:100%;justify-content:center}}
/* Demo mode: full step names where there is room, and the product page on phones too */
@media (min-width:900px){#panel .dy-st{max-width:340px}}
@media (max-width:600px){.dy-head .dy-link{display:inline-flex;padding:6px 8px;font-size:calc(13px*var(--ts,1))}.dy-head .dy-title{flex:1;min-width:0}.dy-head .dy-title small,.dy-head .dy-title b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

/* ---- style ---- */
:root{
  --spring:cubic-bezier(.34,1.45,.64,1);
}
@keyframes popIn{from{opacity:0;transform:scale(.55)}to{opacity:1;transform:none}}
@keyframes slideIn{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
@keyframes titleShine{from{background-position:100% 0}to{background-position:0% 0}}
@keyframes themeSpin{from{opacity:0;transform:rotate(-140deg) scale(.5)}to{opacity:1;transform:none}}

/* Cards that wait for the scroll before they play their entrance */
.rv-wait{animation-play-state:paused!important}

/* ---------- Load sequence on the home screen ---------- */

.home-head>:nth-child(2){animation-delay:.07s}
.home-head>:nth-child(3){animation-delay:.14s}
.home-head>:nth-child(4){animation-delay:.2s}
.home-head .t-view-title{
  background-size:250% 100%;background-position:0% 0;
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
/* ---------- Staggered grids ---------- */
/* ---------- Shared transitions ---------- */
.cat-card,.model-card,.dx-card,.feature,.step,.term-card,.guide-chip{position:relative}
.cat-card,.model-card,.dx-card{transition:transform .4s var(--spring), box-shadow .3s, border-color .2s, background .3s var(--ease-soft)}
.feature,.step,.term-card{transition:transform .35s var(--spring), box-shadow .3s, border-color .2s}
.guide-chip{transition:transform .35s var(--spring), box-shadow .3s, border-color .15s, background .15s}
.cat-ico,.model-ico,.guide-chip .q,.step-num{
  transition:transform .45s var(--spring), box-shadow .3s, background .2s, color .2s;
}
.btn{transition:background .15s, border-color .15s, transform .25s var(--spring), box-shadow .25s, color .3s var(--ease-soft)}
.tool-btn svg{transition:transform .35s var(--spring)}
.dx-cat{transition:border-color .15s, background .2s, color .2s, transform .35s var(--spring), box-shadow .3s}

.tr-row{transition:border-color .15s, transform .3s var(--spring), box-shadow .3s}
.tr-row:not(.q-row)>svg,.tr-row:not(.q-row) svg{transition:transform .3s var(--ease), color .2s}
.spec-line .value{transition:transform .3s var(--ease)}
.cmp-box{transition:background .15s, border-color .15s, color .15s, transform .3s var(--spring)}
.bar{transition:transform .5s var(--spring), background .3s var(--ease-soft)}

/* ---------- Primary button: light sweep ---------- */
.btn.pri{position:relative;overflow:hidden}
.btn.pri::after{
  content:"";position:absolute;top:0;bottom:0;left:-70%;width:45%;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.38),transparent);
  transform:skewX(-20deg);transition:left .7s var(--ease);
}

/* ---------- Demo mode: steps appear one piece at a time ---------- */
/* room so the lift is not clipped by the scroll row */
.dx-cats{padding-top:6px;padding-bottom:16px;margin-top:-4px;margin-bottom:14px}

/* ---------- Sheet: spring, blurred backdrop, staggered content ---------- */
.overlay{transition:opacity .25s ease, background .3s var(--ease-soft), backdrop-filter .3s, -webkit-backdrop-filter .3s}
.overlay.open{-webkit-backdrop-filter:blur(8px) saturate(120%);backdrop-filter:blur(8px) saturate(120%)}
.sheet{transition:transform .5s var(--spring), opacity .25s ease, background .3s var(--ease-soft)}
.sheet-body.anim>*{animation:cardIn .5s var(--ease-soft) both}
.sheet-body.anim>:nth-child(2){animation-delay:.05s}
.sheet-body.anim>:nth-child(3){animation-delay:.1s}
.sheet-body.anim>:nth-child(4){animation-delay:.15s}
.sheet-body.anim>:nth-child(n+5){animation-delay:.2s}

/* ---------- Theme button ---------- */
.theme-btn.spin svg{animation:themeSpin .55s var(--spring) both}

/* ---------- Press feedback (works on touch too) ---------- */
.btn:active{transform:scale(.96)}
.seg button:active{transform:scale(.95)}
.dx-cat:active{transform:scale(.96)}
.cat-card:active .cat-ico,.model-card:active .model-ico,.dx-card:active .model-ico{transform:scale(1.07)}

/* ============================================================
   HOVER (only on devices that can hover)
   ============================================================ */
@media (hover:hover) and (pointer:fine){

  /* cards: lift a little higher with a springy settle */
  
  .cat-card:active,.model-card:active,.dx-card:active{transform:translateY(-1px) scale(.99)}
  .feature:hover,.step:hover,.term-card:hover{
    transform:translateY(-3px);border-color:var(--blue);box-shadow:var(--card-shadow-hover);
  }
  .guide-chip:hover{transform:translateY(-3px);box-shadow:var(--card-shadow-hover)}
  .guide-chip:active{transform:scale(.985)}

  /* icons tilt */
  .cat-card:hover .cat-ico{transform:translateY(-2px) rotate(-7deg) scale(1.1)}
  .model-card:hover .model-ico,.dx-card:hover .model-ico{transform:rotate(-6deg) scale(1.1)}
  .model-card:hover .model-ico.has-img,.dx-card:hover .model-ico.has-img{transform:scale(1.07)}
  
  .guide-chip:hover .q{transform:rotate(-8deg) scale(1.12)}
  .guide-chip .txt b svg{transition:transform .3s var(--ease)}
  .guide-chip:hover .txt b svg{transform:translateX(4px)}
  .step:hover .step-num{transform:scale(1.12)}
  .dx-cat:hover{transform:translateY(-3px)}
  
  .dx-cat:active{transform:scale(.96)}

  /* toolbar */
  .tool-btn:hover svg{transform:scale(1.14)}
  .theme-btn:hover svg{transform:rotate(24deg) scale(1.14)}

  /* buttons */
  .btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px -8px rgba(0,0,0,.35)}
  .btn.pri:hover::after{left:140%}
  .btn:active{transform:scale(.96)}
  .btn.icon:hover{transform:translateY(-1px) rotate(-4deg)}
  .bar .btn:hover{transform:none;box-shadow:none}
  .btn:disabled:hover{transform:none;box-shadow:none}

  /* rows and small controls */
  .tr-row:hover{transform:translateX(4px);box-shadow:var(--card-shadow-hover)}
  
  .tr-row:not(.q-row):hover svg{transform:translateX(3px);color:var(--blue)}
  .spec-row:hover .value{transform:translateX(3px)}
  .cmp:hover .cmp-box{transform:scale(1.15)}
  .link-btn{transition:transform .25s var(--ease)}
  .link-btn:hover{transform:translateX(2px)}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-iteration-count:1!important;scroll-behavior:auto!important}
  .cat-card:hover,.model-card:hover,.dx-card:hover,.feature:hover,.step:hover,.term-card:hover,.guide-chip:hover,.btn:hover,.nav-item:hover,.tr-row:hover,.dx-cat:hover{transform:none!important}
}

/* ---- menu-close-fix ---- */
#sbScrim{display:none}
@media (max-width:900px){
  #sbScrim{
    display:block;position:absolute;inset:0;z-index:3;
    background:rgba(0,0,0,.35);
    -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
    opacity:0;pointer-events:none;transition:opacity .25s ease;
  }
  #sbScrim.on{opacity:1;pointer-events:auto}
  .sb-top{margin-bottom:8px}
}

/* ---- dark-menu-fix ---- */
:root{color-scheme:light}
:root.dark{color-scheme:dark}
@media (max-width:900px){
  /* Menu is a solid panel on phones, so nothing shows through it */
  .sidebar{background:var(--app-bg);-webkit-backdrop-filter:none;backdrop-filter:none}
  :root.dark .sidebar{background:#1C1C1E;box-shadow:4px 0 24px rgba(0,0,0,.6);border-right:1px solid rgba(255,255,255,.08)}
  :root.dark #sbScrim{background:rgba(0,0,0,.6)}
}

/* ---- menu-below-bar ---- */
@media (max-width:900px){
  :root{--chrome-h:48px}
  .sidebar{
    top:calc(var(--chrome-h) + var(--box-top,0px) + env(safe-area-inset-top,0px));
    padding-bottom:max(12px,env(safe-area-inset-bottom,0px));
  }
  #sbScrim{top:calc(var(--chrome-h) + var(--box-top,0px) + env(safe-area-inset-top,0px))}
}
@media (max-width:900px) and (pointer:coarse){:root{--chrome-h:60px}}

/* ---- build-tag ---- */


/* ---- box-offset ---- */
/* TEST: leave room at the top for a host banner (Box) that may cover the toolbar.
   If the toolbar and menu button are now fully visible, keep this.
   Change 64px to fit, or set it to 0px to turn it off. */
@media (max-width:900px){
  :root{--box-top:0px}
  #app{padding-top:calc(var(--box-top) + env(safe-area-inset-top,0px))}
  
}

/* ---- toolkit-page ---- */
.home-ways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
.way{display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;font:inherit;transition:border-color .2s,transform .25s var(--ease-soft),box-shadow .25s}
.way:hover{border-color:var(--blue);box-shadow:var(--card-shadow-hover);transform:translateY(-2px)}
.way:active{transform:scale(.99)}
.way:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.way-ico{flex:none;display:grid;place-items:center;}

.way-txt{display:flex;flex-direction:column;gap:1px;min-width:0}
.way-txt b{font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.way-txt small{font-size:calc(13px*var(--ts,1));color:var(--mute)}
.home-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:0 0 34px}
.home-links .link-btn{font-size:calc(13px*var(--ts,1));padding:2px 0}
.fit-btn{display:inline-flex;align-items:center;gap:10px;font:inherit;letter-spacing:-.01em;cursor:pointer;text-align:left;transition:background .2s,transform .25s var(--ease-soft),box-shadow .25s}
.fit-btn:hover{transform:translateY(-1px);box-shadow:var(--card-shadow-hover)}
.fit-btn:active{transform:scale(.98)}
.fit-btn:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.fit-ico{flex:none;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--blue-fill,var(--blue));color:#fff}
.fit-ico svg{width:14px;height:14px}
.fit-go{flex:none;display:grid;place-items:center}
.fit-go svg{width:15px;height:15px;transition:transform .25s var(--ease)}
.fit-btn:hover .fit-go svg{transform:translateX(3px)}

.home-sec{margin-bottom:16px}
.tk-home{margin:8px 0 44px;scroll-margin-top:24px}
.tk-title{margin:0 0 6px;font-size:calc(22px*var(--ts,1));font-weight:700;letter-spacing:-.03em;color:var(--ink)}
.tk-intro{margin:0 0 18px;max-width:640px;font-size:calc(15px*var(--ts,1));line-height:1.55;color:var(--mute)}
.tk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin:0 0 28px}
.tk-card{display:flex;flex-direction:column;gap:10px;padding:18px 20px;border-radius:18px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow)}
.tk-card.me{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft),var(--card-shadow)}
.tk-top{display:flex;align-items:center;gap:12px}
.tk-ico{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--seg-bg);color:var(--ink-2)}
.tk-ico svg{width:20px;height:20px}

.tk-name{font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.tk-role{font-size:calc(13px*var(--ts,1));color:var(--mute);margin-top:1px}
.tk-card.me .tk-role{color:var(--blue);font-weight:500}
.tk-what{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.tk-when{margin:auto 0 0;padding-top:10px;border-top:1px solid var(--hair-2);font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.tk-when b{color:var(--ink-2);font-weight:600}
.tk-sub{margin:0 0 10px;font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.tk-flex{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.tk-fx{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 18px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow);text-align:left;cursor:pointer;font:inherit;transition:border-color .2s,transform .25s var(--ease-soft)}
.tk-fx:hover{border-color:var(--blue);transform:translateY(-2px)}
.tk-fx:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.tk-time{font-size:calc(12px*var(--ts,1));font-weight:600;padding:3px 10px;border-radius:999px;background:var(--blue-soft);color:var(--blue)}
.tk-fx b{font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.02em;color:var(--ink);margin-top:2px}
.tk-go{display:inline-flex;align-items:center;gap:5px;font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--blue)}
.tk-go svg{width:14px;height:14px}
.tk-note{margin:18px 0 0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--mute)}
@media (max-width:700px){.home-ways{grid-template-columns:1fr}}

/* ---- model-img-fit ---- */
/* Product images always sit fully inside their box (no cropping at the bottom) */
.model-ico.has-img{position:relative}
.model-ico.has-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:4px}
.model-ico.lg.has-img img{padding:6px}
:root.dark .model-ico.has-img img.inv{filter:invert(1)}

/* ---- close-menu-btn ---- */
.sb-closeitem{display:flex;margin-bottom:2px}
.sb-closeitem .label{color:var(--ink-2)}
/* Desktop already has the collapse arrows next to search, so no extra close item there */
@media (min-width:901px){.sb-closeitem{display:none}}

/* ---- refresh-fit ---- */
@media (max-width:600px){.chrome-actions .tool-btn,.chrome-left .tool-btn{width:40px;height:40px}}

/* ---- updates-css ---- */


/* ---- mobile-fixes ---- */
/* ============================================================
   MOBILE FIXES: keep everything inside the screen
   ============================================================ */
html,body{max-width:100%;overscroll-behavior:none}
#app{max-width:100vw}
@supports (height:100dvh){@media (max-width:900px),(pointer:coarse){#app{height:100dvh;bottom:auto}}}
.ed-sheet{height:min(86dvh,820px)}

/* Compare bar: never wider than the screen, wraps instead of overflowing */
.bar{
  width:max-content;
  max-width:calc(100% - 24px);
  flex-wrap:wrap;justify-content:center;
  white-space:normal;
}
.bar #barTxt{white-space:nowrap}

/* Inputs at 16px+ so iOS does not zoom the page when you tap them */
@media (pointer:coarse){
  input,select,textarea,.ed-f input,.ed-f textarea,.ed-f select{font-size:calc(17px*var(--ts,1))}
}

/* Level selector (Novice / Tech interested / Expert) fits and wraps */
.seg{max-width:100%}

@media (max-width:600px){
  .seg{display:flex;width:100%}
  .seg button{flex:1 1 0;min-width:0;white-space:normal;line-height:1.2;padding:7px 6px;font-size:calc(13px*var(--ts,1))}
  
}

/* Top bar: long titles are cut off nicely instead of pushing buttons out */
.chrome-title{overflow:hidden}
.chrome-title .crumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;min-width:0}
.chrome-title .crumb b{display:inline}
@media (max-width:600px){
  .chrome{gap:4px}
  .chrome-actions{gap:2px}
}

/* Tables and long text inside cards */
.gd-tr>span{min-width:0;overflow-wrap:anywhere}
@media (max-width:600px){
  .gd-tr{padding:10px 12px;font-size:calc(13px*var(--ts,1));gap:6px}
  .sheet-head{gap:10px}
  .head-actions{gap:2px}
  
  .sheet-title h1,.sheet-title .tag{overflow-wrap:anywhere}
  .view-scroll{padding:20px 16px 100px}
}
.view-scroll,.sheet-body{overflow-wrap:break-word}

/* ---- compare-fix ---- */
/* Compare strip: a second, always-visible Compare button at the top of the model list */
.cmp-strip{position:sticky;top:8px;z-index:4;display:none;align-items:center;gap:10px;flex-wrap:wrap;
  margin:0 0 16px;padding:10px 12px 10px 16px;border-radius:14px;
  background:var(--bar-bg);color:#fff;border:1px solid var(--bar-border);
  -webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);
  box-shadow:0 10px 30px -10px rgba(0,0,0,.45)}
.cmp-strip.on{display:flex;animation:cardIn .35s var(--ease-soft) both}
.cmp-strip .cs-t{font-size:calc(15px*var(--ts,1));font-weight:600;flex:1 1 auto;min-width:0}
.cmp-strip .cs-t small{display:block;font-size:calc(12px*var(--ts,1));font-weight:400;color:rgba(255,255,255,.7);margin-top:1px}
.cmp-strip .btn{background:rgba(255,255,255,.14);color:#fff;border-color:transparent;box-shadow:none}
.cmp-strip .btn.pri{background:var(--blue-fill,var(--blue))}
/* Floating bar: always above everything else, and the buttons stay readable after a tap on touch screens */
.bar{z-index:60}
@media (hover:none){
  .bar .btn:hover{background:rgba(255,255,255,.14);color:#fff;border-color:transparent}
  .bar .btn.pri:hover{background:var(--blue-fill,var(--blue));border-color:transparent}
  .cmp-strip .btn:hover{background:rgba(255,255,255,.14);color:#fff;border-color:transparent}
  .cmp-strip .btn.pri:hover{background:var(--blue-fill,var(--blue));border-color:transparent}
}

/* ---- style ---- */
/* Practice mode: calmer hierarchy, aligned reading width, and a unified takeaway. */
.co-head{gap:12px;padding:16px 22px 13px}
.co-home{flex:none;white-space:nowrap}
.co-title{min-width:180px}
.co-title h1{font-size:calc(clamp(22px,2.1vw,28px)*var(--ts,1))}
.co-rail{gap:5px;padding:10px 22px;mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 26px),transparent)}
.co-pill{min-height:38px;padding:5px 11px;font-size:calc(13px*var(--ts,1))}
.co-body{padding:22px 22px 26px}
.co-qrow,.co-ans{width:min(100%,1040px);margin-left:auto;margin-right:auto}
.co-qrow{gap:12px}
.co-av{width:40px;height:40px}
.co-qb{max-width:820px;padding:15px 19px;border-radius:18px 18px 18px 7px}
.co-qb .co-q{font-size:calc(clamp(20px,2.1vw,26px)*var(--ts,1));line-height:1.24}
.co-reveal{margin:16px 0 0 52px}
.co-ans{margin-top:22px}
.co-cols{gap:12px;margin-bottom:18px;align-items:stretch}
.co-col{padding:18px;border-radius:16px;min-width:0}
.co-col.hot{background:var(--panel-bg);border-color:var(--hair-2);box-shadow:inset 0 2px 0 color-mix(in srgb,var(--blue) 78%,transparent)}
.co-col strong{font-size:calc(clamp(23px,2.2vw,29px)*var(--ts,1))}
.co-col ul{gap:7px}
.co-take{gap:0;overflow:hidden;border:1px solid var(--hair-2);border-radius:16px;background:var(--panel-bg)}
.co-box,.co-box.say{min-width:0;padding:16px 18px;border:0;border-radius:0;background:transparent}
.co-box+.co-box{border-left:1px solid var(--hair-2)}
.co-box small{margin-bottom:5px}
.co-box p{font-size:calc(15px*var(--ts,1));line-height:1.5}
.co-follow{margin-top:12px}
.co-ref{max-width:1040px;margin:14px auto 0}
@media(max-width:720px){
  .co-head{display:flex;flex-wrap:wrap;gap:9px;padding:13px 15px 12px}
  .co-home{order:0;font-size:calc(12px*var(--ts,1));padding:7px 10px}
  .co-num{order:1;width:38px;height:38px;border-radius:12px;font-size:calc(17px*var(--ts,1))}
  .co-title{order:2;flex:1 1 calc(100% - 65px);min-width:0}
  .co-title h1{font-size:calc(22px*var(--ts,1))}
  .co-acts{order:3;flex:1 1 100%;justify-content:flex-end;gap:7px}
  .co-sw{margin-right:auto}
  .co-rail{padding:9px 15px;mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 18px),transparent)}
  .co-body{padding:18px 15px 22px}
  .co-qrow,.co-ans{width:100%}
  .co-qrow{gap:9px}
  .co-av{width:34px;height:34px}
  .co-qb{padding:13px 15px}
  .co-qb .co-q{font-size:calc(20px*var(--ts,1))}
  .co-reveal{margin:14px 0 0 43px}
  .co-cols{grid-template-columns:1fr;gap:10px;margin-bottom:14px}
  .co-col{padding:16px}
  .co-take{grid-template-columns:1fr}
  .co-box+.co-box{border-left:0;border-top:1px solid var(--hair-2)}
  .co-box,.co-box.say{padding:14px 16px}
  .co-foot{gap:5px;padding:8px}
  .co-nx{max-width:52%;font-size:calc(13px*var(--ts,1))}
}

/* ---- overview-shortcuts-polish ---- */
/* Small color signatures make the four overview shortcuts easier to scan without adding visual noise. */
#homeScroll .home-ways .way{--way-accent:var(--blue);position:relative;overflow:hidden;min-height:60px;border-radius:15px;background:color-mix(in srgb,var(--way-accent) 3%,var(--card-bg));transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
#homeScroll .home-ways .way:nth-child(2){--way-accent:#A78BFA}
#homeScroll .home-ways .way:nth-child(3){--way-accent:#FFAD42}
#homeScroll .home-ways .way:nth-child(4){--way-accent:#5AC8A8}
#homeScroll .home-ways .way-ico{background:color-mix(in srgb,var(--way-accent) 12%,var(--tile-bg));color:var(--way-accent);transition:background .2s,color .2s,transform .2s}
#homeScroll .home-ways .way-go{flex:none;width:25px;height:25px;margin-left:auto;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--way-accent) 9%,transparent);color:var(--way-accent);transition:background .2s,transform .2s}
#homeScroll .home-ways .way-go svg{width:13px;height:13px}
#homeScroll .home-ways .way:hover{background:color-mix(in srgb,var(--way-accent) 7%,var(--card-bg));border-color:color-mix(in srgb,var(--way-accent) 24%,var(--hair-2));transform:translateY(-2px);box-shadow:0 8px 20px -16px color-mix(in srgb,var(--way-accent) 55%,transparent)}
#homeScroll .home-ways .way:hover .way-ico{background:color-mix(in srgb,var(--way-accent) 18%,var(--tile-bg));transform:scale(1.04)}
#homeScroll .home-ways .way:hover .way-go{background:color-mix(in srgb,var(--way-accent) 14%,transparent);transform:translateX(2px)}
#homeScroll .home-ways .way:focus-visible{outline:2px solid var(--way-accent);outline-offset:2px}
#homeScroll .home-ways .way-search{cursor:text}
#homeScroll .home-ways .way-search:hover{transform:translateY(-1px);background:color-mix(in srgb,var(--way-accent) 5%,var(--card-bg));border-color:color-mix(in srgb,var(--way-accent) 18%,var(--hair-2));box-shadow:none}
#homeScroll .home-ways .way-search .way-ico{background:color-mix(in srgb,var(--way-accent) 12%,var(--tile-bg));color:var(--way-accent)}
@media(max-width:700px){#homeScroll .home-ways .way{min-height:54px;border-radius:14px}#homeScroll .home-ways .way-go{width:23px;height:23px}}
@media(prefers-reduced-motion:reduce){#homeScroll .home-ways .way,#homeScroll .home-ways .way-ico,#homeScroll .home-ways .way-go{transition:none}}

/* ---- product-detail-layout-refinement ---- */
/* Product detail: give the content a deliberate reading width and align its sections. */
.sheet:has(.dt-head) .sheet-body{padding:24px 30px 30px}
.sheet:has(.dt-head) .ps-pane:not(.hide){width:min(100%,1200px);margin-inline:auto}
.dt-head{gap:0 16px;padding:18px 30px 0}
.dt-head .model-ico{width:112px;height:82px}
.dt-head .qf-i{padding-top:11px;padding-bottom:12px}
.dt-head .qf-i+.qf-i{border-left:0;padding-left:18px}
.dt-head .sheet-title h1{font-size:calc(28px*var(--ts,1))}
.dt-seg{max-width:900px;margin-inline:auto}
.ps-body{scroll-padding-top:18px}
.ps-lead{margin:2px 0 0;padding:0 0 17px;border-bottom:1px solid var(--hair-2)}
.ps-lead .ps-kick{margin-bottom:5px}
.ps-lead p{max-width:44em;font-size:calc(22px*var(--ts,1));line-height:1.32}
.ps-grid2{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:12px;margin-top:17px;align-items:stretch}
.ps-card{height:100%;box-sizing:border-box;padding:17px 18px;border-radius:15px}
.ps-h{margin-bottom:9px}
.ps-checks{gap:9px}
.ps-checks li{font-size:calc(15px*var(--ts,1));line-height:1.42}
.ps-ck{width:19px;height:19px;background:var(--blue-soft);color:var(--blue)}
.ps-ck svg{width:10px;height:10px}
.ps-quote{display:flex;flex-direction:column;justify-content:center}
.ps-quote blockquote{font-size:calc(15px*var(--ts,1));line-height:1.55}
.ps-quote blockquote::before{font-size:calc(28px*var(--ts,1));margin-bottom:3px;opacity:.32}
.ps-row{margin-top:18px}
.ps-row .ps-h{margin-bottom:8px}
.ps-chips{gap:7px}
.ps-chips span{padding:5px 10px;border-color:var(--hair-2);background:var(--card-bg);font-size:calc(13px*var(--ts,1))}
.ps-alt{margin-top:18px;padding:12px 14px;border-color:var(--hair-2);border-radius:14px;background:var(--card-bg)}
@media(max-width:720px){
  .sheet:has(.dt-head) .sheet-body{padding:18px 16px 24px}
  .sheet:has(.dt-head) .ps-pane:not(.hide){width:100%}
  .dt-head .model-ico{width:78px;height:58px}
  .dt-head .qf-i+.qf-i{padding-left:10px}
  .dt-seg{max-width:none}
  .ps-lead{padding-bottom:14px}
  .ps-lead p{font-size:calc(17px*var(--ts,1))}
  .ps-grid2{gap:10px;margin-top:14px}
  .ps-card{padding:15px}
  .ps-alt{gap:10px}
}

/* ---- reviewFixes ---- */
/* Fixes from the full review, 2026-10-12. Kept last in the file; some older layers are injected at runtime, so a few rules use an extra id for weight. */
/* Chat header in Technical knowledge: same blue tint, but opaque, so text scrolling under it doesn't show through */
#viewLearn #learnScroll .cb-head{background:linear-gradient(110deg,color-mix(in srgb,var(--blue) 14%,var(--panel-bg)),var(--panel-bg) 58%)}
/* Team NPS header: title left, "Private" chip right (the classes had no styles) */
.bz-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.bz-headr{flex:none;padding-top:8px}
.bz-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:calc(12px*var(--ts,1));font-weight:600;color:var(--mute);background:var(--seg-bg);box-shadow:inset 0 0 0 .5px var(--hair)}
.bz-chip::before{content:"";width:10px;height:10px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat}
@media (max-width:600px){.bz-head{flex-direction:column;gap:6px}.bz-headr{padding-top:0}}
/* Feedback panel: status line under the send buttons */
.quicklinks-status{min-height:1em;margin:6px 2px 0;font-size:calc(12px*var(--ts,1));line-height:1.35;color:var(--mute)}
.quicklinks-status:empty{display:none}
.quicklinks-status.ok{color:var(--green,#30D158)}
/* Level Up: line up with the other pages (the .gm wrapper added its own inset) */
#gameScroll .gm{padding-left:0;padding-right:0;padding-top:0}
/* Question text: the start page's big h1 style also hit the question; keep it readable in 2-3 lines */
#gameScroll .gm h1.gm-q{font-size:calc(clamp(22px,2.4vw,30px)*var(--ts,1));line-height:1.25}
/* Picture answers: 4 in a row when there is room, 2 x 2 on narrow screens (never 3 + 1) */
#gameScroll .gm-opts.pics{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}
@media (max-width:600px){#gameScroll .gm-opts.pics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* the 1-4 key sits above the picture instead of on it */
#gameScroll .gm-opts.pics .gm-opt{padding-top:34px}
/* Guides: two cards per row from about 620px of content width (iPad portrait), so more guides fit on screen */
#viewGuides #guidesScroll .gx-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
/* New to Apple: names under the step icons, the same pattern as the Technical knowledge tour */
@media (min-width:720px){
 #tourScroll .tstep{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:auto;min-height:52px;max-width:none;padding:7px 6px}
 #tourScroll .tstep-l{display:block;max-width:100%;font-size:calc(11px*var(--ts,1));font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
/* Narrow product tiles (phones, or five per row on a laptop): the model count goes under the name,
   so "Apple Watch" and "Accessories" are not cut off. Based on the tile's own width. */
#homeGrid .ov-tile,.sr-prods .ov-tile{container-type:inline-size}
@container (max-width:190px){
 .ov-tile-row{flex-direction:column!important;align-items:flex-start!important;gap:0!important}
 .ov-tile-row b{white-space:normal!important}
}
/* Feedback panel: a short line on where to send the copied message */
.quicklinks-how{margin:2px 2px 0;font-size:calc(12px*var(--ts,1));line-height:1.4;color:var(--mute)}
/* Vision and purpose: calmer and more even.
   No stripes, no lone card on its own row, and the teams read as a list instead of yet another grid of boxes. */
#viewPurpose #purposeScroll .pp-convo b{color:var(--blue)}
#viewPurpose #purposeScroll .pp-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
#viewPurpose #purposeScroll .pp-story{grid-template-columns:repeat(3,minmax(0,1fr))}
#viewPurpose #purposeScroll .pp-grid:has(> :nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
#viewPurpose #purposeScroll .pp-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
#viewPurpose #purposeScroll .pp-depts{grid-template-columns:1fr;gap:0;border-top:1px solid var(--hair-2)}
#viewPurpose #purposeScroll .pp-depts > div{display:grid;grid-template-columns:34px minmax(150px,210px) 1fr;column-gap:16px;align-items:start;padding:14px 2px;border:0;border-bottom:1px solid var(--hair-2);border-radius:0;background:none;box-shadow:none}
#viewPurpose #purposeScroll .pp-depts > div:hover{transform:none}
#viewPurpose #purposeScroll .pp-depts > div > *{margin:0}
#viewPurpose #purposeScroll .pp-depts > div b{padding-top:6px}
#viewPurpose #purposeScroll .pp-depts > div p{padding-top:6px}
@media (max-width:900px){#viewPurpose #purposeScroll .pp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){
 #viewPurpose #purposeScroll .pp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 #viewPurpose #purposeScroll .pp-stats > div:last-child:nth-child(odd){grid-column:1/-1}
 #viewPurpose #purposeScroll .pp-story{grid-template-columns:1fr}
 #viewPurpose #purposeScroll .pp-grid:has(> :nth-child(4):last-child){grid-template-columns:1fr}
 #viewPurpose #purposeScroll .pp-depts > div{grid-template-columns:34px 1fr}
 #viewPurpose #purposeScroll .pp-depts > div p{grid-column:2;padding-top:2px}
}
@media (max-width:600px){#viewPurpose #purposeScroll .pp-steps{grid-template-columns:1fr}}
/* "Explain at" is CSS text, so the dictionary can't reach it; the page sets lang="sv" in Swedish */
html[lang="sv"] #learnScroll .cb-lv::before{content:"Förklara på"}
/* ===== HIG audit 2026-10-12 (Apple design skill) ===== */
/* Secondary text reaches 4.5:1: light #6E6E73 on white 5.1:1, dark #98989D on #2C2C2E 4.9:1 */
html:root{--ts:1;--mute:#6E6E73}
html:root.dark{--mute:#98989D}
html:root #ss{--ss-mute:#6E6E73}
html:root.dark #ss{--ss-mute:#98989D}
/* Filled accent backgrounds carry white text: in dark mode use the deeper light-mode shade (4.6-7.2:1) */
html:root.dark{--blue-fill:#0071E3;--blue-fill-hover:#0068D1}
html:root.dark[data-accent="pink"]{--blue-fill:#C2185B;--blue-fill-hover:#AD1457}
html:root.dark[data-accent="purple"]{--blue-fill:#6941A5;--blue-fill-hover:#56348E}
html:root.dark[data-accent="green"]{--blue-fill:#167A45;--blue-fill-hover:#12663A}
html:root.dark[data-accent="yellow"]{--blue-fill:#946200;--blue-fill-hover:#795000}
html:root.dark[data-accent="orange"]{--blue-fill:#C45100;--blue-fill-hover:#A94300}
/* Increase Contrast also raises text, not just borders */
@media (prefers-contrast: more){
  html:root{--mute:#4A4A4D;--ink-2:#1D1D1F}
  html:root.dark{--mute:#C7C7CC;--ink-2:#F5F5F7}
}
/* Toolbar: the page title is primary text; the credit lives in About/Credits */
html #chromeCrumb{color:var(--ink)}
html .chrome-title .chrome-credit{display:none!important}
/* Appearance is chosen in Accessibility & display (Auto by default), not with a toolbar toggle */
html #themeBtn{display:none!important}
/* The whole card is the button; the chevron circle only took space from the text */
html .way .way-go{display:none!important}
/* Touch targets: 44 pt default on touch screens */
@media (pointer: coarse){
  html .chrome .tool-btn{min-width:44px;min-height:44px}
  html .prefs-swatch{width:30px;height:30px;position:relative}
  html .prefs-swatches{gap:6px}
  html .prefs-swatch::before{content:"";position:absolute;inset:-7px;border-radius:50%}
  html .prefs-seg button, html #prefsSheet select{min-height:44px}
  html .dd-shuf{min-height:44px;padding:0 12px}
}
/* Text size scales content; navigation chrome keeps its size (typography.md: prioritize content) */
html #sidebar, html .chrome{--ts:1}
/* Large text sizes: fewer columns instead of clipped words */
html #homeScroll .home-ways .way-txt{min-width:0}
html #homeScroll .home-ways .way-txt b, html #homeScroll .home-ways .way-txt small{overflow-wrap:break-word;hyphens:auto}
html[data-pref-text="150"] #homeScroll .home-ways, html[data-pref-text="175"] #homeScroll .home-ways, html[data-pref-text="200"] #homeScroll .home-ways{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Mobile tab bar */
.tabbar{display:none}
@media (max-width: 900px){
  .tabbar{display:flex;position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:850;height:62px;padding:6px;gap:2px;border-radius:31px;
    background:var(--toolbar-bg);-webkit-backdrop-filter:blur(24px) saturate(1.5);backdrop-filter:blur(24px) saturate(1.5);
    border:1px solid var(--hair);box-shadow:0 10px 30px -12px rgba(0,0,0,.35)}
  .tabbar button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:25px;background:none;color:var(--ink-2);font:inherit;font-size:11px;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .tabbar button svg{width:22px;height:22px}
  .tabbar button.on{color:var(--blue);background:var(--hover-bg)}
  .tabbar{transition:opacity .2s ease,transform .2s ease}
  /* Modal layers (menu drawer, sheets) cover the tab bar */
  body:has(#sidebar.open) .tabbar, body:has(#ov.open) .tabbar, body:has(#ed.on) .tabbar, body:has(.overlay.open) .tabbar, body:has([role=dialog].open) .tabbar{opacity:0;transform:translateY(16px);pointer-events:none}
  .tabbar button:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
  html .view-scroll{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
}
@media (max-width: 900px) and (prefers-reduced-transparency: reduce){
  .tabbar{background:var(--app-bg);-webkit-backdrop-filter:none;backdrop-filter:none}
}
@media (max-width: 900px) and (prefers-contrast: more){ .tabbar{outline:1px solid var(--ink-2);outline-offset:-1px} }
/*@end-review-css*/

/* ---- demo-dash-css ---- */
.gd-launch{box-shadow:0 5px 16px color-mix(in srgb,var(--blue) 22%,transparent)}
#gameScroll .gm.gd-intro,#gameScroll .gm.gd-world{width:min(100%,820px);margin:0 auto}
.gd-intro .gd-intro-card{margin-top:20px;padding:24px;border:1px solid var(--hair-2);border-radius:20px;background:var(--panel-bg)}
.gd-intro .gd-intro-card h2{margin:0 0 8px;font-size:calc(22px*var(--ts,1));color:var(--ink)}
.gd-intro .gd-intro-card p{margin:0;color:var(--ink-2);font-size:calc(15px*var(--ts,1));line-height:1.55}
.gd-intro .gm-start{margin-top:20px}
.gd-world .gd-world-top{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.gd-world .gd-world-title{flex:1;min-width:0}
.gd-world .gd-world-title h1{margin:0;color:var(--ink);font-size:calc(23px*var(--ts,1))}
.gd-world .gd-world-title p{margin:3px 0 0;color:var(--mute);font-size:calc(13px*var(--ts,1))}
.gd-world .gd-world-back{width:42px;height:42px;border:1px solid var(--hair-2);border-radius:50%;background:var(--card-bg);color:var(--ink);cursor:pointer}
.gd-world .gd-progress{padding:8px 12px;border:1px solid var(--hair-2);border-radius:99px;background:var(--panel-bg);color:var(--ink-2);font-size:calc(13px*var(--ts,1));font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-map-frame{overflow:hidden;border:1px solid var(--hair-2);border-radius:18px;background:#b8df9b;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.gd-map{display:block;width:100%;height:auto;aspect-ratio:15/9;touch-action:none}
.gd-play-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.72fr);gap:14px;margin-top:14px;align-items:start}
.gd-play-main{min-width:0}
.gd-controls{display:grid;grid-template-columns:repeat(3,54px);grid-template-rows:repeat(2,48px);justify-content:center;gap:6px;margin:4px auto 0}
.gd-controls button,.gd-talk{min-width:48px;min-height:44px;border:1px solid var(--hair-2);border-radius:13px;background:var(--card-bg);color:var(--ink);font:inherit;font-weight:700;cursor:pointer;touch-action:manipulation}
.gd-controls button{font-size:21px}
.gd-controls button:active,.gd-talk:active{transform:scale(.97);background:var(--blue-soft)}
.gd-controls button:focus-visible,.gd-talk:focus-visible,.gd-world-back:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.gd-controls .up{grid-column:2}.gd-controls .left{grid-column:1;grid-row:2}.gd-controls .down{grid-column:2;grid-row:2}.gd-controls .right{grid-column:3;grid-row:2}
.gd-talk{display:block;width:min(100%,250px);margin:8px auto 0;padding:10px 15px;background:var(--blue);color:#fff;border-color:transparent}
.gd-world .gd-panel{padding:16px;border:1px solid var(--hair-2);border-radius:16px;background:var(--panel-bg)}
.gd-world .gd-panel h2{margin:0 0 9px;color:var(--ink);font-size:calc(15px*var(--ts,1))}
.gd-world .gd-journal{display:grid;gap:11px;margin:0;padding:0;list-style:none}
.gd-world .gd-journal li{padding-top:10px;border-top:1px solid var(--hair-2);color:var(--ink-2);font-size:calc(13px*var(--ts,1));line-height:1.5}
.gd-world .gd-journal li:first-child{padding-top:0;border-top:0}
.gd-world .gd-journal b{display:block;margin-bottom:3px;color:var(--ink)}
.gd-world .gd-empty{color:var(--mute);font-size:calc(13px*var(--ts,1));line-height:1.5}
.gd-world .gd-dialog{margin-top:13px;padding:16px;border:1px solid color-mix(in srgb,var(--blue) 30%,var(--hair-2));border-radius:16px;background:var(--card-bg)}
.gd-world .gd-dialog[hidden]{display:none}
.gd-world .gd-dialog-kicker{display:block;margin-bottom:5px;color:var(--blue);font-size:calc(12px*var(--ts,1));font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.gd-world .gd-dialog h2{margin:0 0 6px;color:var(--ink);font-size:calc(17px*var(--ts,1))}
.gd-world .gd-dialog p{margin:0;color:var(--ink-2);font-size:calc(14px*var(--ts,1));line-height:1.5}
.gd-world .gd-dialog .gd-dialog-tip{margin-top:10px;padding-top:10px;border-top:1px solid var(--hair-2)}
.gd-world .gd-dialog .gd-dialog-action{margin-top:12px}
.gd-world .gd-hint{margin:10px 0 0;text-align:center;color:var(--mute);font-size:calc(12px*var(--ts,1))}
@media(max-width:640px){
  .gd-intro .gd-intro-card{padding:18px}
  .gd-play-layout{grid-template-columns:1fr}
  .gd-world .gd-world-top{gap:8px}
  .gd-world .gd-world-title h1{font-size:calc(20px*var(--ts,1))}
  .gd-world .gd-progress{padding:7px 9px}
  .gd-world .gd-panel{padding:14px}
}
@media(prefers-reduced-motion:reduce){.gd-controls button:active,.gd-talk:active{transform:none}}

/* ---- duo-camera-demo-css ---- */
.duo-entry{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 2px;padding:15px 17px;border:1px solid var(--hair-2);border-radius:16px;background:var(--panel-bg)}
.duo-entry div{display:grid;gap:4px}.duo-entry b{font-size:14px}.duo-entry span{font-size:12px;color:var(--muted);line-height:1.45}
#duoCamDemo{position:fixed;inset:0;z-index:10050;display:none;overflow:auto;background:color-mix(in srgb,var(--ink) 48%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:clamp(10px,2vw,28px)}
#duoCamDemo.open{display:grid;place-items:center}
.dcd-shell{width:min(1240px,100%);max-height:min(920px,calc(100dvh - 20px));overflow:auto;background:var(--panel-bg);color:var(--ink);border:1px solid var(--hair-2);border-radius:28px;box-shadow:0 30px 100px #0004;scrollbar-width:thin}
.dcd-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;background:color-mix(in srgb,var(--panel-bg) 90%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--hair-2)}
.dcd-brand{display:flex;align-items:center;gap:11px}.dcd-mark{width:38px;height:38px;border-radius:13px;background:linear-gradient(145deg,#cfeaff,#91c9ff);display:grid;place-items:center;color:#075b9c;font-size:12px;font-weight:800;letter-spacing:-.04em}.dcd-brand small{display:block;color:var(--muted);font-size:11px}.dcd-brand b{font-size:14px}.dcd-x{flex:none}
.dcd-content{padding:clamp(18px,3vw,34px)}.dcd-intro{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px}.dcd-intro-main{max-width:720px}.dcd-kicker{font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}.dcd-intro h2{font-size:clamp(27px,4vw,42px);letter-spacing:-.045em;line-height:1.03;margin:8px 0}.dcd-intro p{color:var(--muted);line-height:1.5;margin:0;max-width:650px}.dcd-journey{flex:none;display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid var(--hair-2);border-radius:999px;font-size:12px;color:var(--muted)}.dcd-journey strong{color:var(--ink);font-variant-numeric:tabular-nums}
.dcd-scenarios{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.dcd-scenario{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:11px;min-height:82px;text-align:left;padding:10px;border-radius:16px;border:1px solid var(--hair-2);background:var(--panel-bg);color:var(--ink);cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}.dcd-scenario:hover{transform:translateY(-2px)}.dcd-scenario>img{width:58px;height:58px;object-fit:cover;border-radius:11px;background:var(--blue-soft)}.dcd-scenario-copy{display:grid;gap:5px;min-width:0}.dcd-scenario[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--blue-soft)}.dcd-scenario b{display:block;font-size:13px;line-height:1.2}.dcd-scenario-copy>span{display:block;font-size:11px;color:var(--muted);line-height:1.35}.dcd-stamp{font-size:10px;color:var(--accent);font-weight:700}
.dcd-work{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(320px,.72fr);gap:clamp(16px,2.5vw,28px);align-items:stretch}.dcd-stage-col{min-width:0}.dcd-stage{position:relative;overflow:hidden;aspect-ratio:16/10;margin:0;border-radius:22px;background:#121619;box-shadow:0 14px 36px #0002;isolation:isolate}.dcd-stage-poster,.dcd-stage-gif{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.dcd-stage-poster{z-index:-2;transition:opacity .5s ease,transform .25s ease}.dcd-stage-poster.dcd-change{animation:dcd-image-in .32s ease-out}@keyframes dcd-image-in{from{opacity:.5;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}.dcd-stage-gif{z-index:-1;opacity:0;transition:opacity .6s ease}.dcd-stage.is-playing .dcd-stage-gif{opacity:1}.dcd-stage-wash{position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,#07131b7d 0%,transparent 32%,transparent 55%,#07131bd9 100%);pointer-events:none}.dcd-stage-top,.dcd-stage-device{display:none!important}.dcd-stage-top{position:absolute;top:14px;left:14px;right:14px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px}.dcd-watch-video{padding:8px 11px;border:1px solid #ffffff70;border-radius:999px;background:#101a;color:white;font-size:11px;font-weight:700;backdrop-filter:blur(10px);cursor:pointer}.dcd-watch-video:hover{background:#ffffff2b}.dcd-film-overlay{position:absolute;inset:0;z-index:5;display:none;align-items:center;justify-content:center;background:#07090bf5}.dcd-film-overlay.is-open{display:flex}.dcd-film-overlay video{width:100%;height:100%;object-fit:contain;background:#07090b}.dcd-film-close{position:absolute;top:12px;right:12px;z-index:2;width:38px;height:38px;border:1px solid #ffffff80;border-radius:50%;background:#101a;color:#fff;font-size:24px;cursor:pointer}.dcd-film-error{position:absolute;left:12px;right:58px;bottom:12px;padding:9px 12px;border-radius:10px;background:#101a;color:#fff;font-size:12px;pointer-events:none}.dcd-film-error:empty{display:none}.dcd-film-label{display:flex;align-items:center;gap:8px;color:white;font-size:11px;font-weight:700;text-shadow:0 1px 5px #0008}.dcd-live-dot{width:7px;height:7px;border-radius:50%;background:#73e0a1;box-shadow:0 0 0 4px #73e0a12b}.dcd-film-label small{font-size:10px;font-weight:500;color:#fffd}.dcd-play{width:38px;height:38px;border:1px solid #ffffff66;border-radius:50%;background:#1119;color:#fff;backdrop-filter:blur(10px);cursor:pointer}.dcd-stage-copy{position:absolute;left:20px;bottom:18px;z-index:2;max-width:60%;color:white;text-shadow:0 2px 12px #0008}.dcd-stage-copy span{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;opacity:.82}.dcd-stage-copy b{display:block;margin-top:4px;font-size:clamp(16px,2.2vw,24px);letter-spacing:-.025em;line-height:1.1}.dcd-stage-device{position:absolute;right:16px;bottom:15px;z-index:2;width:clamp(150px,27%,245px);padding:9px;border:1px solid #ffffff6b;border-radius:14px;background:#111b;color:white;backdrop-filter:blur(16px);box-shadow:0 10px 30px #0003;transform:rotate(-2deg);transition:transform .4s ease,background .3s ease}.dcd-stage[data-device=stand] .dcd-stage-device{transform:rotate(0) translateY(-6px)}.dcd-device-top{display:flex;justify-content:space-between;font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#fffc;margin-bottom:6px}.dcd-device-displays{display:grid;grid-template-columns:1fr 6px 1fr;gap:4px;align-items:stretch}.dcd-display{min-height:51px;padding:6px;border-radius:6px;background:linear-gradient(145deg,#253d48,#151c20);font-size:8px;color:#fff}.dcd-display b{display:block;color:#a8d9ff;font-size:8px;margin-bottom:4px}.dcd-display span{font-size:8px;line-height:1.25}.dcd-hinge{border-radius:4px;background:linear-gradient(90deg,#555,#111,#777)}.dcd-stage[data-device=stand] .dcd-display:last-child{background:linear-gradient(145deg,#2d5964,#162b31)}.dcd-stage[data-state=done] .dcd-stage-device{border-color:#9ef0c0;box-shadow:0 0 0 3px #9ef0c02a,0 10px 30px #0003}
.dcd-stage-status{position:absolute;left:14px;top:14px;bottom:auto;z-index:3;max-width:45%;padding:8px 11px;border:1px solid #ffffff5c;border-radius:999px;background:#101a;color:#fff;font-size:10px;font-weight:700;backdrop-filter:blur(14px);transition:all .25s ease}.dcd-stage-status[data-tone=good]{background:#0c4b38e8;border-color:#b6f2d7}35%{opacity:1}100%{transform:translate(42px,-30px) scale(1.2);opacity:0}}
.dcd-flash{position:absolute;inset:0;z-index:4;background:#fff;opacity:0;pointer-events:none}.dcd-stage.flash .dcd-flash{animation:dcd-flash .42s ease-out}@keyframes dcd-flash{0%{opacity:0}15%{opacity:.9}100%{opacity:0}}
.dcd-film-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 4px 0;color:var(--muted);font-size:11px}.dcd-film-foot a{color:var(--accent);font-weight:650;text-decoration:none}.dcd-film-foot a:hover{text-decoration:underline}.dcd-lesson{display:flex;flex-direction:column;min-width:0;padding:clamp(15px,2vw,22px);border:1px solid var(--hair-2);border-radius:22px;background:color-mix(in srgb,var(--panel-bg) 94%,var(--blue-soft));}.dcd-customer{padding:14px 15px;border-radius:15px;background:var(--blue-soft);line-height:1.45;font-size:13px}.dcd-customer b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:var(--accent);margin-bottom:5px}.dcd-progress{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:19px 0 6px;color:var(--muted);font-size:11px;font-weight:650}.dcd-progressbar{height:5px;border-radius:8px;background:var(--hair-2);overflow:hidden}.dcd-progressbar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#1682d4,#58c9a5);border-radius:inherit;transition:width .4s ease}.dcd-step-title{font-size:clamp(20px,2vw,25px);letter-spacing:-.035em;line-height:1.1;margin:14px 0 7px}.dcd-step-copy{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.dcd-task{display:grid;gap:9px;margin-top:16px}.dcd-task-label{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:750}.dcd-action{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:9px 12px;text-align:left;border:1px solid var(--hair-2);border-radius:13px;background:var(--panel-bg);color:var(--ink);cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}.dcd-action:hover{transform:translateY(-1px);border-color:var(--accent)}.dcd-action:active{transform:scale(.99)}.dcd-action[aria-pressed=true]{border-color:var(--accent);background:var(--blue-soft)}.dcd-action-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:var(--blue-soft);color:var(--accent);font-size:17px}.dcd-action-copy{flex:1;min-width:0}.dcd-action-copy b{display:block;font-size:12px}.dcd-action-copy small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.3}.dcd-action-arrow{color:var(--muted);font-size:15px}.dcd-task-tools{display:flex;gap:8px;flex-wrap:wrap}.dcd-controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dcd-controls-grid .dcd-action{min-height:48px;padding:8px}.dcd-controls-grid .dcd-action-copy small{display:none}.dcd-task-tools .btn{min-height:40px}.dcd-range{display:grid;gap:6px;padding:11px 12px;border:1px solid var(--hair-2);border-radius:12px;background:var(--panel-bg);font-size:11px}.dcd-range-line{display:flex;justify-content:space-between;gap:10px;color:var(--muted)}.dcd-range input{width:100%;accent-color:var(--accent)}.dcd-feedback{min-height:26px;margin-top:auto;padding-top:12px;color:var(--accent);font-size:12px;font-weight:650;line-height:1.4}.dcd-finish{padding:13px;border:1px solid color-mix(in srgb,#54b98f 45%,var(--hair-2));border-radius:14px;background:color-mix(in srgb,#52c49a 12%,var(--panel-bg));line-height:1.45}.dcd-finish b{display:block;margin-bottom:4px}.dcd-finish-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.dcd-finish-actions .btn{min-height:40px}.dcd-footer{display:flex;justify-content:space-between;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--hair-2);color:var(--muted);font-size:10px}.dcd-footer a{color:var(--accent);text-decoration:none}
@media(max-width:820px){.dcd-intro{align-items:flex-start;flex-direction:column;gap:12px}.dcd-work{grid-template-columns:1fr}.dcd-lesson{min-height:0}.dcd-scenarios{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#duoCamDemo{padding:5px}.dcd-shell{max-height:calc(100dvh - 10px);border-radius:20px}.dcd-head{padding:12px 14px}.dcd-content{padding:15px 12px}.dcd-intro h2{font-size:28px}.dcd-scenarios{gap:7px;margin:14px 0}.dcd-scenario{grid-template-columns:42px 1fr;gap:8px;min-height:68px;padding:8px;border-radius:13px}.dcd-scenario>img{width:42px;height:42px;border-radius:9px}.dcd-scenario b{font-size:11px}.dcd-scenario-copy>span{font-size:10px}.dcd-stage{aspect-ratio:4/3;border-radius:17px}.dcd-stage-device{right:9px;bottom:9px;width:45%;padding:7px}.dcd-stage-status{left:9px;top:9px;bottom:auto;max-width:47%;font-size:9px}.dcd-stage-copy{left:13px;bottom:54px;max-width:70%}.dcd-stage-copy b{font-size:18px}.dcd-lesson{padding:14px;border-radius:17px}.dcd-journey{font-size:11px}}
@media(prefers-reduced-motion:reduce){#duoCamDemo *,#duoCamDemo *::before,#duoCamDemo *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}#duoCamDemo .dcd-stage-gif{display:none!important}}

/* ---- ally-chat-css ---- */
.ally-chat{padding:16px 18px 18px;border:1px solid var(--hair);border-radius:20px;background:var(--card-bg);max-width:880px}
.ac-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.ac-av{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue)}
.ac-av svg{width:16px;height:16px}
.ac-head b{display:block;font-size:calc(15px*var(--ts,1));letter-spacing:-.01em;color:var(--ink);line-height:1.2}
.ac-head small{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.ac-log{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.ac-msg{display:flex}
.ac-msg.me{justify-content:flex-end}
.ac-bub{padding:10px 14px;border-radius:18px;font-size:calc(15px*var(--ts,1));line-height:1.45;max-width:min(560px,90%);animation:acIn .28s ease both}
.ac-msg.ally .ac-bub{background:var(--panel-bg,var(--hair-2));color:var(--ink);border-bottom-left-radius:6px}
.ac-msg.me .ac-bub{background:var(--blue-fill,var(--blue));color:#fff;border-bottom-right-radius:6px}
.ac-bub b{font-weight:650}
.ac-sub{display:block;margin-top:4px;color:var(--mute);font-size:calc(13px*var(--ts,1))}
.ac-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ac-btn{font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;padding:6px 12px;border-radius:999px;border:1px solid var(--hair);background:var(--card-bg);color:var(--ink);cursor:pointer}
.ac-btn.pri{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}
@keyframes acIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes acDot{0%,60%,100%{opacity:.3;transform:none}30%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.ac-bub{animation:none}}
@media (max-width:600px){.ally-chat{padding:14px}}

/* ---- need-gap-fix ---- */
.need{margin:28px 0 22px}
.need-chips{align-items:flex-start}
#cmpStrip{margin-top:0}
.need+.models-grid,.need~.models-grid{margin-top:0}

/* ---- lock-icon-css ---- */
/* Lock symbol on locked menu items (Store map, Who to contact, Business) */
.nav-item .lock{flex:none;width:14px;height:14px;color:var(--mute);display:grid;place-items:center;opacity:.85}
.nav-item .lock svg{width:14px;height:14px}
.nav-item .lock .lk-o{display:none}
.nav-item.unlocked .lock .lk-c{display:none}
.nav-item.unlocked .lock .lk-o{display:block}
.nav-item.unlocked .lock{opacity:.55}
@media (min-width:901px){
  .sidebar.collapsed .nav-item .lock{display:grid;position:absolute;right:10px;bottom:5px;width:13px;height:13px;padding:1px;border-radius:50%;background:var(--card-bg);box-shadow:0 0 0 1px var(--hair-2)}
  .sidebar.collapsed .nav-item .lock svg{width:9px;height:9px}
}

/* ---- poster-cards-css ---- */
/* Background tone per product category, used by the product tiles on the overview */
.poster[data-cat="mac"]        {--pa1:#EFF3FB;--pa2:#E4E9F3}
.poster[data-cat="ipad"]       {--pa1:#EEF6F2;--pa2:#E3EEE9}
.poster[data-cat="iphone"]     {--pa1:#FBF0F4;--pa2:#F2E6EC}
.poster[data-cat="watch"]      {--pa1:#F4F0FB;--pa2:#EAE4F4}
.poster[data-cat="ipods"]      {--pa1:#F4F5F8;--pa2:#E9EBF0}
.poster[data-cat="pod"]        {--pa1:#FAF3ED;--pa2:#F1E7DE}
.poster[data-cat="tv"]         {--pa1:#EDF0F5;--pa2:#E2E6ED}
.poster[data-cat="services"]   {--pa1:#F7F0F8;--pa2:#EDE4F0}
.poster[data-cat="airtag"]     {--pa1:#F8F3EA;--pa2:#EEE4D3}
.poster[data-cat="accessories"]{--pa1:#F1F4F7;--pa2:#E6EAEF}
html.dark .poster[data-cat="mac"]        {--pa1:#1B2230;--pa2:#141922}
html.dark .poster[data-cat="ipad"]       {--pa1:#172420;--pa2:#111A17}
html.dark .poster[data-cat="iphone"]     {--pa1:#261A22;--pa2:#1A1218}
html.dark .poster[data-cat="watch"]      {--pa1:#201A2E;--pa2:#161220}
html.dark .poster[data-cat="ipods"]      {--pa1:#1D1F24;--pa2:#15171B}
html.dark .poster[data-cat="pod"]        {--pa1:#261F19;--pa2:#1A1512}
html.dark .poster[data-cat="tv"]         {--pa1:#1A1E25;--pa2:#13161B}
html.dark .poster[data-cat="services"]   {--pa1:#241B28;--pa2:#19131C}
html.dark .poster[data-cat="airtag"]     {--pa1:#26201A;--pa2:#1A1612}
html.dark .poster[data-cat="accessories"]{--pa1:#1A1E22;--pa2:#131619}

/* ---- tt-love-css ---- */
/* Topic cards */
/* Overall progress */
/* Term rows */
/* Say it like this */
.tt-say{display:block;margin-top:16px;padding:0}

/* ---- ally-calm ---- */
:root{--card-shadow:none;--card-shadow-hover:0 6px 18px -12px rgba(0,0,0,.22);--icon-shadow:none}
:root.dark{--card-shadow:none;--card-shadow-hover:0 8px 22px -14px rgba(0,0,0,.7)}
/* Overview header */
.home-head>*{animation:none!important}
.home-head .home-eye{font-size:calc(13px*var(--ts,1));font-weight:600;letter-spacing:0;color:var(--mute);margin:0 0 8px}
.home-head .t-view-title{background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--ink)!important;animation:none!important;font-size:calc(clamp(34px,5vw,46px)*var(--ts,1));letter-spacing:-.035em}
.home-head .intro{font-size:calc(17px*var(--ts,1));line-height:1.5;max-width:34em;margin-top:8px}

/* Three ways in: one quiet panel instead of three blue tiles */
.home-ways{gap:0;margin:26px 0 12px;border:1px solid var(--hair-2);border-radius:16px;overflow:hidden;background:var(--card-bg)}
.way{border:0;border-radius:0;background:transparent;box-shadow:none!important;transform:none!important;padding:16px 18px}
.way+.way{border-left:1px solid var(--hair-2)}
.way:hover{background:var(--hover-bg)}
.way-ico{background:var(--tile-bg);color:var(--ink);box-shadow:none;width:34px;height:34px;border-radius:9px}
.way-ico svg{width:17px;height:17px}
.way-txt b{font-size:calc(15px*var(--ts,1))}
@media (max-width:700px){.way+.way{border-left:0;border-top:1px solid var(--hair-2)}}
.fit-btn{padding:0;border:0;background:none;color:var(--blue);font-weight:500;font-size:calc(13px*var(--ts,1));border-radius:0;box-shadow:none!important;transform:none!important}
.fit-btn:hover{background:none;text-decoration:underline}
.fit-ico{display:none}
@media (max-width:700px){.fit-btn{width:auto}}

/* Icon tiles: neutral, not blue blocks */
.cat-ico,.tnext-ico{background:var(--tile-bg)!important;color:var(--ink)!important;box-shadow:none!important}
.model-ico:not(.has-img){background:var(--tile-bg);color:var(--ink-2);box-shadow:none}
.guide-chip .q{background:var(--tile-bg);color:var(--ink-2)}

/* Pills and callouts */
/* Poster cards: neutral grey like a product page */
.poster[data-cat]{--pa1:#F5F5F7!important;--pa2:#EDEDF0!important}
html.dark .poster[data-cat]{--pa1:#1F1F21!important;--pa2:#18181A!important}
.cat-card.poster .pc-go{background:var(--ink);color:var(--app-bg)}
.cat-card.poster .pc-count{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(255,255,255,.9)}
html.dark .cat-card.poster .pc-count{background:rgba(0,0,0,.55)}

/* Technical knowledge topic cards: no big faded icon, no tint */
/* Motion: keep it subtle */
.btn.pri::after{display:none}
@media (hover:hover) and (pointer:fine){
  .cat-card:hover,.model-card:hover,.dx-card:hover{transform:translateY(-2px)}
  .cat-card:hover .cat-ico,.model-card:hover .model-ico,.dx-card:hover .model-ico,.model-card:hover .model-ico.has-img,.dx-card:hover .model-ico.has-img,.guide-chip:hover .q,.step:hover .step-num{transform:none}
  .step:hover .step-num{background:transparent;color:var(--blue)}
  .feature:hover,.step:hover,.term-card:hover,.guide-chip:hover,.dx-cat:hover{transform:none}
  .btn:hover,.btn.icon:hover{transform:none;box-shadow:none}
  .tool-btn:hover svg,.theme-btn:hover svg{transform:none}
  .tr-row:hover,.spec-row:hover .value,.link-btn:hover{transform:none}
  
}

/* ---- ally-store-pages-css ---- */
/* ---------- Leaderboard ---------- */
.lb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;}
.lb-chip{display:inline-flex;align-items:center;gap:6px;font-size:calc(13px*var(--ts,1));font-weight:600;padding:5px 12px;border-radius:999px;background:var(--seg-bg);color:var(--ink-2)}
.lb-chip.live{background:rgba(52,199,89,.14);color:#1E9A4D}
.lb-chip.over{background:rgba(255,149,0,.14);color:#C77700}
:root.dark .lb-chip.live{color:#5FD582}
:root.dark .lb-chip.over{color:#FFB340}
.lb-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 2px 10px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
@keyframes lbBump{40%{transform:scale(1.015);border-color:var(--blue)}}
.lb-mid b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.014em;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lb-mid input{width:100%;min-height:36px;padding:0 10px;border-radius:9px;border:1px solid var(--hair);background:var(--panel-bg);color:var(--ink);font:inherit;font-size:calc(15px*var(--ts,1))}
.lb-pts{flex:none;text-align:right;}
.lb-empty{padding:28px 20px;text-align:center;border:1.5px dashed var(--hair);border-radius:16px;background:var(--panel-bg);color:var(--mute);font-size:calc(15px*var(--ts,1));line-height:1.5}
/* ---------- Take a breath ---------- */
.br-stage{position:relative;width:min(76vw,340px);aspect-ratio:1;margin:30px 0 22px}
.br-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.br-ring circle{fill:none;stroke-width:3}
.br-ring .bg{stroke:var(--hair)}
.br-ring .fg{stroke:#2BB3A6;stroke-linecap:round}
.br-halo,.br-orb{position:absolute;inset:13%;border-radius:50%;will-change:transform}
.br-halo{background:#2BB3A6;opacity:.12}
.br-orb{background:radial-gradient(circle at 38% 32%,#9BEBDD 0%,#3CC2B3 55%,#22968B 100%);display:grid;place-items:center;transform:scale(.62)}
.br-in{display:flex;flex-direction:column;align-items:center;gap:2px;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.18)}
.br-in b{font-size:calc(clamp(20px,4.5vw,26px)*var(--ts,1));font-weight:600;letter-spacing:-.02em}
.br-in span{font-size:calc(15px*var(--ts,1));font-weight:500;opacity:.85;font-variant-numeric:tabular-nums;min-height:20px}
.br-time{font-size:calc(40px*var(--ts,1));font-weight:700;letter-spacing:-.04em;color:var(--ink);font-variant-numeric:tabular-nums}
.br-cue{min-height:48px;margin:6px 0 20px;font-size:calc(17px*var(--ts,1));line-height:1.5;color:var(--ink-2);max-width:30em;transition:opacity .6s}
.br-acts{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.br-acts .btn{min-width:130px}
.br-note{max-width:32em;}

/* ---------- Team NPS ---------- */
.np-empty{margin-bottom:14px}
#npsGate,#compGate{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
#npsGate.open,#compGate.open{display:flex}
#npsGate .gate-card,#compGate .gate-card{width:100%;max-width:340px;padding:24px 22px 20px;border-radius:20px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:0 20px 50px -10px rgba(0,0,0,.35);color:var(--ink)}
#npsGate h2,#compGate h2{margin:0 0 4px;font-size:calc(20px*var(--ts,1));font-weight:700;letter-spacing:-.02em}
#npsGate p,#compGate p{margin:0 0 14px;font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
#npsGate input,#compGate input{width:100%;box-sizing:border-box;font:inherit;font-size:calc(17px*var(--ts,1));padding:11px 14px;border-radius:12px;border:1px solid var(--hair);background:var(--app-bg);color:var(--ink);outline:none}
#npsGate input:focus,#compGate input:focus{border-color:var(--blue)}
#npsGate .gate-err,#compGate .gate-err{min-height:18px;margin:8px 0 0;font-size:calc(13px*var(--ts,1));color:#FF3B30}
#npsGate .gate-row,#compGate .gate-row{display:flex;gap:8px;margin-top:10px}
#npsGate button,#compGate button{flex:1;font:inherit;font-size:calc(15px*var(--ts,1));font-weight:600;padding:10px 14px;border-radius:12px;border:1px solid var(--hair);background:transparent;color:var(--ink-2);cursor:pointer}
#npsGate button.pri,#compGate button.pri{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}

/* ---- ally-premium ---- */
/* shared: segmented control, eyebrow labels, card with side stripe */
.sg{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--seg-bg);max-width:100%;overflow-x:auto}
.sg button{border:0;background:none;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;padding:6px 14px;border-radius:8px;color:var(--ink-2);cursor:pointer;white-space:nowrap;transition:background .2s,color .2s}
.sg button.on{background:var(--card-bg);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.14)}
.lb-eyebrow,.np-eyebrow{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.lb-hero,.np-card{position:relative;border-radius:20px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow),0 18px 40px -30px rgba(0,0,0,.28)}
/* Leaderboard */
.lb-head{margin-bottom:22px}.lb-seg{margin:0 0 22px}
.lb-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:28px 32px 26px 32px;margin-bottom:26px;overflow:hidden;background:radial-gradient(80% 130% at 100% 0%,rgba(10,132,255,.07),transparent 60%),var(--card-bg)}
.lb-hn{margin-top:8px;font-size:calc(clamp(28px,5vw,44px)*var(--ts,1));font-weight:700;letter-spacing:-.04em;line-height:1.05;color:var(--ink)}
.lb-gap{margin-top:8px;font-size:calc(15px*var(--ts,1));color:var(--ink-2)}
.lb-big{text-align:right;line-height:.9}
.lb-big span{font-size:calc(clamp(64px,14vw,120px)*var(--ts,1));font-weight:700;letter-spacing:-.06em;color:var(--ink);font-variant-numeric:tabular-nums}
.lb-big small{display:block;margin-top:6px;font-size:calc(11px*var(--ts,1));letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.lb-list{display:flex;flex-direction:column;gap:0}
.lb-row{display:flex;align-items:center;gap:18px;padding:16px 4px;background:none;border:0;border-bottom:1px solid var(--hair-2);border-radius:0;box-shadow:none;animation:lbRise .5s var(--ease-soft) both;animation-delay:calc(var(--i,0)*60ms)}
.lb-row:last-child{border-bottom:0}
.lb-rk{flex:none;width:28px;text-align:center;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--mute);font-variant-numeric:tabular-nums}
.lb-row.lead .lb-rk{color:var(--blue)}
.lb-mid{flex:1;min-width:0}
.lb-nm{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.lb-nm b{font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.02em;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lb-pts{min-width:0;font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.lb-bar{height:3px;border-radius:3px;background:var(--seg-bg);margin-top:10px;overflow:hidden}
.lb-bar i{display:block;height:100%;width:0;border-radius:inherit;background:var(--mute-2,#C7C7CC);transition:width 1.1s cubic-bezier(.2,.8,.2,1)}
.lb-row.lead .lb-bar i{background:var(--blue-fill,var(--blue))}
@keyframes lbRise{from{opacity:0;transform:translateY(14px)}}
.lb-cf{position:fixed;z-index:100001;width:7px;height:11px;border-radius:2px;pointer-events:none;animation:lbCf 1.3s cubic-bezier(.2,.8,.3,1) forwards}
@keyframes lbCf{to{transform:translate(var(--dx),calc(var(--dy) + 260px)) rotate(var(--r));opacity:0}}
#lbTV{--ink:#F5F5F7;--ink-2:#C7C7CC;--mute:#8E8E93;--hair-2:rgba(255,255,255,.1);--seg-bg:rgba(255,255,255,.12);--card-bg:#1C1C1E;position:fixed;inset:0;z-index:9500;display:none;overflow:auto;color:#fff;background:radial-gradient(120% 80% at 50% 0%,#232326 0%,#0B0B0C 60%,#000 100%);padding:max(24px,env(safe-area-inset-top,0px)) 24px max(24px,env(safe-area-inset-bottom,0px))}
#lbTV.open{display:block}
.lbtv-in{max-width:1000px;margin:0 auto}
.lbtv-h{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:8px}
.lbtv-h h1{margin:0;font-size:calc(clamp(30px,6vw,60px)*var(--ts,1));font-weight:700;letter-spacing:-.04em}
.lbtv-r{font-size:calc(clamp(15px,2vw,22px)*var(--ts,1));color:var(--ink-2);margin:6px 0 26px}
.lbtv-x{position:fixed;top:max(14px,env(safe-area-inset-top,0px));right:14px;width:44px;height:44px;border-radius:50%;border:0;background:#ffffff1c;color:#fff;font-size:calc(17px*var(--ts,1));cursor:pointer;z-index:2}
#lbTV .lb-hero{border-color:#ffffff14;box-shadow:none;background:#1C1C1E}
#lbTV .lb-row{padding:clamp(12px,2vw,22px) 4px}
#lbTV .lb-nm b,#lbTV .lb-pts{font-size:calc(clamp(20px,3vw,34px)*var(--ts,1))}
#lbTV .lb-rk{font-size:calc(clamp(16px,2.4vw,26px)*var(--ts,1))}
#lbTV .lb-bar{height:5px}
@media (max-width:520px){.lb-hero{padding:22px 20px 20px 20px}}
@media (prefers-reduced-motion:reduce){.lb-row{animation:none}.lb-cf{display:none}}
/* Team NPS */
.np-card{--tc:var(--mute);margin:18px 0 14px;overflow:hidden}
.np-card.up{--tc:#1E9A4D}.np-card.down{--tc:#D6393F}.np-card.flat{--tc:#C77700}
.np-top{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:28px 32px 24px 36px}
.np-big{margin-top:8px;font-size:calc(clamp(64px,14vw,104px)*var(--ts,1));font-weight:700;letter-spacing:-.06em;line-height:.95;color:var(--ink);font-variant-numeric:tabular-nums}
.np-trend{margin-top:14px;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--tc)}
.np-trend small{margin-left:6px;font-size:calc(13px*var(--ts,1));font-weight:400;color:var(--mute)}
.np-sp{color:var(--tc)}
.np-met{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--hair-2)}
.np-m{padding:18px 22px 18px 36px}.np-m+.np-m{border-left:1px solid var(--hair-2);padding-left:22px}
.np-ml{display:flex;align-items:center;gap:7px;font-size:calc(12px*var(--ts,1));color:var(--mute)}.np-ml i{width:8px;height:8px;border-radius:50%;background:var(--c)}
.np-mv{margin-top:4px;font-size:calc(28px*var(--ts,1));font-weight:700;letter-spacing:-.04em;color:var(--ink)}
.np-md{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));font-weight:600}.np-md.up{color:#1E9A4D}.np-md.down{color:#D6393F}.np-md.flat{color:var(--mute)}
.np-ch{border-top:1px solid var(--hair-2);padding:20px 24px 14px 36px}
.np-chh{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.np-key{display:flex;gap:16px;font-size:calc(13px*var(--ts,1));color:var(--ink-2)}.np-key span{display:flex;align-items:center;gap:6px}.np-key i{width:8px;height:8px;border-radius:50%}
.np-tip{display:flex;gap:14px;flex-wrap:wrap;align-items:baseline;min-height:22px;margin:12px 0 4px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.np-tip b{color:var(--ink)}.np-tip span[style]{color:var(--c);font-weight:600}.np-tip em{font-style:normal}
.np-hist .np-ch{padding-bottom:18px}
.np-empty{padding:26px 20px;text-align:center;border:1.5px dashed var(--hair);border-radius:16px;background:var(--panel-bg);color:var(--mute);font-size:calc(15px*var(--ts,1))}
@media (max-width:560px){.np-top{padding:22px 20px 18px 26px}.np-sp{display:none}.np-met{grid-template-columns:1fr 1fr}.np-m,.np-m+.np-m{padding:16px 16px 16px 26px}.np-m:nth-child(3){grid-column:1/-1;border-left:0;border-top:1px solid var(--hair-2)}.np-ch{padding:16px 14px 10px 26px}}
/* Take a breath */
.br-tg{appearance:none;-webkit-appearance:none;flex:none;position:relative;width:51px;height:31px;border-radius:99px;background:var(--seg-bg);cursor:pointer;transition:background .25s;border:0;margin:0}
.br-tg::after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.3);transition:transform .25s var(--ease)}
.br-tg:checked{background:#34C759}.br-tg:checked::after{transform:translateX(20px)}
.br-note{margin-top:22px}
#brFull{background:radial-gradient(100% 70% at 50% 38%,#0B2B4A 0%,#050E18 62%,#000 100%)}
#brFull::before{background:radial-gradient(60% 45% at 50% 42%,#0A84FF40,transparent 70%)}
#brFull .br-ring circle{stroke-width:1.2}
#brFull .br-ring .bg{stroke:rgba(255,255,255,.14)}#brFull .br-ring .fg{stroke:rgba(255,255,255,.85)}
#brFull .br-halo{background:rgba(10,132,255,.14)}
#brFull .br-orb{background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.92),rgba(150,210,255,.6) 36%,rgba(10,132,255,.4) 74%);box-shadow:0 0 90px rgba(10,132,255,.5),inset 0 0 40px rgba(255,255,255,.3)}
#brFull .br-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;pointer-events:none;color:#fff}
#brFull .br-in b{font-size:calc(clamp(22px,4.6vw,30px)*var(--ts,1));font-weight:600;letter-spacing:-.025em;text-shadow:0 2px 16px rgba(0,30,70,.6)}
#brFull .br-in span{font-size:calc(15px*var(--ts,1));opacity:.9;text-shadow:0 2px 12px rgba(0,30,70,.6)}
#brFull .br-time{font-size:calc(15px*var(--ts,1));font-weight:500;letter-spacing:.06em;color:rgba(255,255,255,.6)}
#brFull .br-cue{max-width:26em;font-size:calc(17px*var(--ts,1));line-height:1.5;color:rgba(255,255,255,.75)}
#brFull .btn{background:rgba(255,255,255,.12);border:0;color:#fff;border-radius:99px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
#brFull .btn.pri{background:#fff;color:#000}
.brf-top button{border:0;background:rgba(255,255,255,.12)}

/* ---- ally-premium-fix ---- */
#brFull{position:fixed;inset:0;z-index:9600;display:none;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;color:#fff;padding:max(18px,env(safe-area-inset-top,0px)) 20px max(26px,env(safe-area-inset-bottom,0px))}
#brFull.open{display:flex;animation:brIn .6s ease both}
@keyframes brIn{from{opacity:0}}
#brFull::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:calc(.25 + var(--glow,0)*.75)}
.brf-top{position:relative;width:100%;display:flex;align-items:center;font-size:calc(13px*var(--ts,1));color:rgba(255,255,255,.7)}
.brf-top button{width:44px;height:44px;border-radius:50%;color:#fff;font-size:calc(17px*var(--ts,1));cursor:pointer}
.brf-mid{position:relative;display:flex;flex-direction:column;align-items:center;width:100%}
#brFull .br-stage{width:min(78vw,52vh,380px);margin:0 0 22px}
#brFull .br-acts{position:relative}
@media (prefers-reduced-motion:reduce){#brFull.open{animation:none}}

/* Focus right now: finishing touches */
.fc-chat .tc-row+.tc-row{margin-top:6px}

/* ---- tt-fun-css ---- */
/* Technical knowledge v2: one clear path, no saved data */
.tl{max-width:760px}
.tl-fade{animation:fcIn .38s var(--ease-soft) both}
@media (prefers-reduced-motion:reduce){.tl-fade{animation:none}}
#learnScroll .tl-search{max-width:none;margin:0 0 2px}

.tl-shuf{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;letter-spacing:0;text-transform:none;color:var(--blue);background:none;border:0;padding:6px 4px;cursor:pointer;border-radius:8px}
.tl-shuf svg{width:15px;height:15px}
.tl-shuf:hover{text-decoration:underline}
.tl-shuf:focus-visible,.tl-back:focus-visible,.tl-row:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.tl-row:hover{border-color:var(--c,var(--blue))}
.tl-row:active{transform:scale(.985)}
.tl-rows{display:flex;flex-direction:column;gap:8px}
.tl-row{font:inherit;text-align:left;width:100%;display:flex;align-items:center;gap:14px;padding:13px 16px;border-radius:14px;background:var(--card-bg);border:1px solid var(--hair-2);color:var(--ink);cursor:pointer;transition:border-color .15s,transform .25s var(--spring)}
.tl-ri{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-style:normal;color:var(--c);background:color-mix(in srgb,var(--c) 14%,transparent)}
.tl-ri svg{width:19px;height:19px}
.tl-rt{flex:1;min-width:0;display:block}
.tl-rt b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.012em}
.tl-rt small{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));line-height:1.4;color:var(--mute)}
.tl-row>svg{flex:none;width:14px;height:14px;color:var(--mute)}

.tl-tag{font-style:normal;flex:none;font-size:calc(12px*var(--ts,1));font-weight:600;padding:2px 8px;border-radius:999px;background:var(--seg-bg);color:var(--ink-2)}
.tl-back{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:calc(15px*var(--ts,1));font-weight:500;color:var(--blue);background:none;border:0;padding:6px 4px 6px 0;margin:0 0 4px -2px;cursor:pointer;border-radius:8px}
.tl-back svg{width:15px;height:15px}
.tl-back:hover{text-decoration:underline}
.tl-empty{margin:18px 2px 0;font-size:calc(15px*var(--ts,1));color:var(--mute);line-height:1.5}
.tv-desc{margin:0 0 18px;font-size:calc(13px*var(--ts,1));color:var(--mute);line-height:1.5}

.tv .tt-say{margin-top:26px}
@media (hover:hover){.tl-row:hover{transform:translateY(-1px)}}

/* ---- tt-ally-css ---- */
/* Technical knowledge v3: Ally guides, calm and short */
.tl-calm .tc-msg{animation:none}.tl-calm .tc-typing{display:none}
.tl .tour-guide{margin:18px 0 18px}

.tl-pill{font:inherit;font-size:calc(15px*var(--ts,1));font-weight:500;padding:10px 16px;border-radius:999px;border:1px solid var(--blue);color:var(--blue);background:transparent;cursor:pointer;transition:background .15s,transform .2s var(--spring)}
.tl-pill:hover{background:var(--blue-soft)}.tl-pill:active{transform:scale(.97)}
.tl-pill:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.tl-sub{margin:30px 2px 12px;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--mute)}
.tl .tour-more{margin-top:18px}

/* ---- tt-chat-css ---- */
/* Technical knowledge v4: a real chat with Ally */
.cb{max-width:640px;margin-top:16px;border:1px solid var(--hair-2);border-radius:22px;overflow:hidden}
.cb-head{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--hair-2)}
.cb-head .tg-av{width:36px;height:36px}.cb-head .tg-av svg{width:18px;height:18px}
.cb-head div:nth-of-type(1){flex:1;min-width:120px;line-height:1.25}
.cb-head-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-left:auto}
.cb-head b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.cb-head small{font-size:calc(13px*var(--ts,1));color:var(--mute)}
.cb-lv .seg{font-size:calc(12px*var(--ts,1))}
.cb-thread{display:flex;flex-direction:column;gap:10px;padding:18px 16px 8px;min-height:150px}
.cb-row{display:flex;align-items:flex-start;gap:8px;min-width:0}
.cb-row.u{justify-content:flex-end;align-items:flex-end}

.cb-av0{flex:none}
.cb-m{max-width:min(82%,460px);padding:9px 15px 10px;border-radius:18px;border-bottom-left-radius:6px;background:var(--seg-bg);color:var(--ink);font-size:calc(15px*var(--ts,1));line-height:1.45;animation:tcIn .35s var(--ease-soft) both}
.cb-m.u{background:var(--blue-fill,var(--blue));color:#fff;border-radius:18px;border-bottom-right-radius:6px}
.cb-typing{display:flex;gap:4px;padding:13px 15px;border-radius:18px;border-bottom-left-radius:6px;background:var(--seg-bg)}
.cb-typing i{width:7px;height:7px;border-radius:50%;background:var(--mute);animation:tcDot .55s ease-in-out infinite}
.cb-typing i:nth-child(2){animation-delay:.09s}.cb-typing i:nth-child(3){animation-delay:.18s}
.cb-tray{padding:12px 16px 16px;border-top:1px solid var(--hair-2);background:color-mix(in srgb,var(--panel-bg) 58%,transparent)}
.cb-pills{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 10px 36px}
.cb-pills[hidden]{display:none}
.cb-tray .tl-pill{max-width:100%;font-size:calc(15px*var(--ts,1));line-height:1.25;padding:8px 12px;white-space:normal;text-align:left}
.cb-shortcuts{display:flex;flex-wrap:wrap;gap:4px 8px;margin:0 0 10px 46px}
.cb-tray .cb-shortcuts .tl-pill{font-size:calc(13px*var(--ts,1));padding:5px 9px}
.cb-tray .tl-pill.pri{background:var(--blue-fill,var(--blue));color:#fff}
.cb-tray .tl-pill.ghost{border-color:var(--hair);color:var(--mute)}
.cb-in{width:100%;box-sizing:border-box;font:inherit;font-size:calc(15px*var(--ts,1));padding:11px 16px;border-radius:999px;border:1px solid var(--hair);background:var(--bg,transparent);color:var(--ink)}
.cb-in:focus{outline:2px solid var(--blue);outline-offset:1px}
.cb-none{font-size:calc(15px*var(--ts,1));color:var(--mute)}
.cb-face{display:grid;place-items:center;flex:none}
.cb-face svg{width:100%;height:100%}
@keyframes cbFloat{50%{transform:translateY(-4px)}}

@media (prefers-reduced-motion:reduce){.cb-m{animation:none}.cb-typing i{animation:none}}

/* ---- tt-path-css ---- */
/* Technical knowledge v5: a guided path, borrowing the New to Apple rhythm */
.tl .tour-prog{margin:4px 0 22px}
.tl .tour-title{margin:10px 0 4px}
.tl .tour-nav{margin-top:30px}
.tl .tnext{margin-top:22px}
.tl .tour-done-ico{margin-top:14px}

/* ---- tt-fine-css ---- */
.tl-ck{font-style:normal;flex:none;font-size:calc(15px*var(--ts,1));font-weight:700;color:#34C759}

/* ---- tt-tabs-css ---- */
/* Technical knowledge v6: tabs at the top, Ask Ally and Browse terms side by side */
.tl-tabs{display:flex;gap:8px;margin:14px 0 20px;overflow-x:auto;scrollbar-width:none;padding:2px}
.tl-tabs::-webkit-scrollbar{display:none}
.tl-tab{font:inherit;display:inline-flex;align-items:center;gap:8px;padding:9px 16px 9px 12px;border-radius:12px;border:1px solid var(--hair);background:var(--card-bg);color:var(--mute);font-size:calc(15px*var(--ts,1));font-weight:600;white-space:nowrap;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.tl-tab svg{width:18px;height:18px}
.tl-tab:hover{border-color:var(--blue);color:var(--blue)}
.tl-tab.on,.tl-tab.on:hover{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff;box-shadow:var(--icon-shadow)}
.tl-tab:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.tl-lvl{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 6px}
.tl .tl-search{max-width:none;margin:6px 0 14px}
.tl-count{margin:16px 2px 0;font-size:calc(13px*var(--ts,1));color:var(--mute)}

/* ---- tt-mascot-css ---- */
.cb-face{background:none;border-radius:0;overflow:visible;width:38px;height:38px}
.cb-face.big{width:50px;height:50px}
.cb-av0{width:38px}
.cb-face img{width:100%;height:100%;object-fit:cover;display:block}

/* ---- ally-mascot-css ---- */
/* ALLY MASCOT: small, transparent, no background tile. Images live as CSS variables (--am-*), set once by ally-mascot-js. */
.tg-av{background:var(--am-head) center/contain no-repeat!important;box-shadow:none!important;border-radius:0!important;color:transparent!important}
.tg-av svg{display:none!important}
.tour-guide .tg-av{width:44px;height:44px}
/* Small mascot next to page titles */
.t-view-title[data-am]:not([data-am=""])::after{content:"";display:inline-block;width:1.4em;height:1.7em;margin:-.5em 0 -.4em .2em;vertical-align:middle;background-position:center;background-size:contain;background-repeat:no-repeat;pointer-events:none}
.t-view-title[data-am="wave"]::after{background-image:var(--am-wave)}
.t-view-title[data-am="tablet"]::after{background-image:var(--am-tablet)}
.t-view-title[data-am="idea"]::after{background-image:var(--am-idea)}
.t-view-title[data-am="present"]::after{background-image:var(--am-present)}
.t-view-title[data-am="calm"]::after{background-image:var(--am-calm)}
.t-view-title[data-am="celebrate"]::after{background-image:var(--am-celebrate)}
.t-view-title[data-am="thumbs"]::after{background-image:var(--am-thumbs)}
.t-view-title[data-am="clipboard"]::after{background-image:var(--am-clipboard)}
.home-head .t-view-title[data-am]::after{width:1.15em;height:1.5em;margin:-.25em 0 -.3em .25em}

/* Empty states */
.sr-empty::before,.dx-empty::before,.lb-empty::before{content:"";display:block;width:64px;height:72px;margin:0 0 10px;background:var(--am-idea) center/contain no-repeat}
.dx-empty::before,.lb-empty::before{margin:0 auto 10px}
.lb-empty::before{background-image:var(--am-calm)}

/* Quiz result */
.qz-end::before{content:"";display:block;width:84px;height:84px;margin:0 auto 4px;background:var(--am-thumbs) center/contain no-repeat}
.qz-end.am-win::before{background-image:var(--am-celebrate)}

/* Tour finished */
.tour-done-ico{background:var(--am-celebrate) center/contain no-repeat!important;box-shadow:none!important;border-radius:0!important;width:96px!important;height:96px!important;color:transparent!important}
.tour-done-ico svg{display:none!important}

/* Toolkit card for Ally */
.tk-card.me .tk-ico{background:var(--am-head) center/contain no-repeat!important;box-shadow:none!important;color:transparent!important;width:44px;height:44px}
.tk-card.me .tk-ico svg{display:none!important}

/* Screensaver brand */
/* v2: pictures instead of icons in product pages */
.cat-pic{flex:none;width:76px;height:56px;display:block;overflow:hidden}
.cat-pic img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.need-chip .nq.has-pic{width:38px;height:30px;border-radius:9px;background:var(--card-bg);border:1px solid var(--hair-2);overflow:hidden}
.need-chip.on .nq.has-pic{background:#fff;border-color:transparent}
.need-chip .nq.has-pic img{width:100%;height:100%;object-fit:contain;padding:3px;display:block}
@media (max-width:720px){.cat-pic{width:60px;height:46px}}
html.dark .cat-pic img.inv,html.dark .nq img.inv{filter:invert(1)}
/* Focus: Ally fades in with the last message */
.fc-chat .tg-av,#tourScroll .tour-guide .tg-av{opacity:0;animation:amFade .7s var(--ease-soft) both;animation-delay:calc((var(--n,1) - 1)*.8s + 1s)}
@keyframes amFade{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.fc-chat .tg-av,#tourScroll .tour-guide .tg-av{animation:none;opacity:1}}
/* Take a breath: Ally appears when you are done */
.brf-mid.am-done .br-cue::before{content:"";display:block;width:84px;height:92px;margin:0 auto 10px;background:var(--am-calm) center/contain no-repeat;animation:amFade .9s var(--ease-soft) both}

/* Overview: scroll cue + a shorter hero card so the Mac title is not cut off */
.am-more{position:sticky;bottom:0;height:0;overflow:visible;z-index:5;display:flex;justify-content:center;pointer-events:none}
.am-more-btn{pointer-events:auto;position:absolute;bottom:calc(18px + env(safe-area-inset-bottom,0px));display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:calc(15px*var(--ts,1));font-weight:600;color:#fff;background:var(--blue-fill,var(--blue));border:0;border-radius:999px;padding:9px 16px 9px 18px;box-shadow:0 8px 22px -8px rgba(0,113,227,.7);cursor:pointer;transition:opacity .3s var(--ease-soft),transform .3s var(--ease-soft)}
.am-more-btn svg{animation:amBob 1.8s ease-in-out infinite}
@keyframes amBob{0%,100%{transform:translateY(-1px)}50%{transform:translateY(3px)}}
.am-nomore .am-more-btn{opacity:0;transform:translateY(8px);pointer-events:none}
@media (prefers-reduced-motion:reduce){.am-more-btn svg{animation:none}}

/* ===== Model sheet (Sell it / Demo it / Specs): refined layout ===== */
.sheet:has(.dt-head){height:min(760px,100%)}
.dt-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"pic title actions" "facts facts facts";align-items:center;gap:0 20px;padding:22px 28px 0;border-bottom:1px solid var(--hair)}
.dt-head .model-ico{grid-area:pic;border-radius:0;background:none!important;border:0!important;box-shadow:none!important}
.dt-head .model-ico img{padding:0!important;object-fit:contain}
.dt-head .sheet-title{grid-area:title}
.dt-head .sheet-title h1{font-size:calc(28px*var(--ts,1));letter-spacing:-.034em}
.dt-head .sheet-title .tag{font-size:calc(15px*var(--ts,1));margin-top:5px}
.dt-head .head-actions{grid-area:actions;align-self:start}

.dt-head .qf-i{max-width:none;padding:13px 12px 14px 0;font-size:calc(15px*var(--ts,1));overflow-wrap:anywhere}
.dt-head .qf-i+.qf-i{padding-left:18px;border-left:1px solid var(--hair-2)}
.dt-head .qf-i small{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.05em;text-transform:uppercase;margin-bottom:3px}

.dt-seg{display:grid;gap:2px;background:rgba(120,120,128,.14)}
.dt-seg .dtab{max-width:none;padding:6px 10px;border:0;border-radius:8px;background:transparent;font-size:calc(15px*var(--ts,1));white-space:nowrap}
.dt-seg .dtab.on{background:var(--card-bg);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.14),0 0 0 .5px rgba(0,0,0,.06)}
html.dark .dt-seg .dtab.on{background:rgba(255,255,255,.14);box-shadow:none}
.sheet:has(.dt-head) .sheet-body{padding:26px 28px 30px}
.sa-pic{flex:none;width:64px;height:48px;display:block}
.sa-pic img{width:100%;height:100%;object-fit:contain;display:block}
html.dark .sa-pic img.inv{filter:invert(1)}
@media (max-width:720px){
  .sheet:has(.dt-head){height:92%}
  .dt-head{padding:16px 16px 0;gap:0 12px;grid-template-areas:"pic title actions" "facts facts facts"}
  
  .dt-head .sheet-title h1{font-size:calc(22px*var(--ts,1))}
  .dt-head .sheet-title .tag{font-size:calc(13px*var(--ts,1))}
  .dt-head .head-actions{gap:4px}
  .dt-head .head-actions .btn.icon{width:32px;height:32px;min-width:32px}
  .dt-head .qf-i{font-size:calc(13px*var(--ts,1));padding:10px 8px 11px 0}
  .dt-head .qf-i+.qf-i{padding-left:12px}
  .dt-head .qf-i small{font-size:calc(11px*var(--ts,1))}
  
  .sheet:has(.dt-head) .sheet-body{padding:20px 16px 24px}
  .sheet:has(.dt-head) .sheet-foot>span{display:none}
  .sheet:has(.dt-head) .sheet-foot{padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))}
  .sheet:has(.dt-head) .sheet-foot .head-actions{width:100%}
  .sheet:has(.dt-head) .sheet-foot .head-actions .btn{flex:1;justify-content:center}
  
}

/* ===== Model sheet: round 2 ===== */
.dt-head .model-ico img{filter:drop-shadow(0 10px 12px rgba(0,0,0,.2));transition:transform .5s var(--spring)}
.dt-head .model-ico{width:132px;height:96px}
html.dark .dt-head .model-ico img{filter:drop-shadow(0 10px 14px rgba(0,0,0,.55))}
.dt-seg{position:relative}
.dt-seg::before{content:"";position:absolute;border-radius:8px;background:var(--card-bg);box-shadow:0 1px 3px rgba(0,0,0,.14),0 0 0 .5px rgba(0,0,0,.06);transition:transform .38s var(--spring)}
html.dark .dt-seg::before{background:rgba(255,255,255,.16);box-shadow:none}
.dt-seg .dtab{position:relative;z-index:1}
.dt-seg .dtab.on,html.dark .dt-seg .dtab.on{background:transparent;box-shadow:none;color:var(--ink)}
.dt-seg .dtab:not(.on):hover{color:var(--ink)}
.sheet:has(.dt-head) .pane:not(.hide){animation:amPane .32s var(--ease-soft) both}
@keyframes amPane{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.sheet:has(.dt-head) .spec-row .value{font-weight:600;color:var(--ink)}

@media (min-width:721px) and (max-height:800px){
  .dt-head{padding-top:16px}
  .dt-head .model-ico{width:104px;height:74px}
  .dt-head .sheet-title h1{font-size:calc(28px*var(--ts,1))}
  
  .dt-head .qf-i{padding:9px 12px 10px 0}
  .dt-head .qf-i+.qf-i{padding-left:18px}
  
  .sheet:has(.dt-head) .sheet-body{padding-top:20px}
}
@media (max-width:720px){.dt-head .model-ico{width:84px;height:62px}}
@media (prefers-reduced-motion:reduce){.dt-seg::before{transition:none}.sheet:has(.dt-head) .pane:not(.hide){animation:none}}

/* ===== Model sheet: round 3 (flow and demo mode) ===== */
/* ===== Model sheet: round 4 (visual polish) ===== */
.sheet:has(.dt-head){--sp:rgba(0,113,227,.06)}
.dt-head{background:linear-gradient(180deg,var(--blue-soft) 0,transparent 140%),var(--sheet-head)}
.dt-head .eyebrow{display:inline-flex;padding:3px 9px;border-radius:999px;background:var(--blue-soft);margin-bottom:8px}

.dt-head .qf-i{font-weight:650;letter-spacing:-.015em}
.dt-seg{padding:4px;border-radius:13px}
.dt-seg::before{top:4px;bottom:4px;left:4px;}
.dt-seg .dtab{min-height:38px;font-weight:600}
.dt-seg .dtab:not(.on){color:var(--mute)}
.sheet:has(.dt-head) .rec-list{gap:12px}
.sheet:has(.dt-head) .rec-list li{align-items:flex-start;line-height:1.45}
.sheet:has(.dt-head) .rec-list .ck{margin-top:2px;background:var(--blue-fill,var(--blue));color:#fff}
.sheet:has(.dt-head) [data-p="specs"] .panel-block{padding:6px 22px 8px;border-radius:16px}

.sheet:has(.dt-head) .spec-line{display:flex;align-items:center;gap:16px;padding:6px 0}
.sheet:has(.dt-head) .spec-line .label{flex:0 0 34%;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.sheet:has(.dt-head) .spec-line .value{flex:1;text-align:right;font-size:calc(15px*var(--ts,1))}
.sheet:has(.dt-head) .sheet-foot{background:var(--sheet-head)}
@media (max-width:720px){
  
  .sheet:has(.dt-head) .spec-line .label{flex-basis:40%}
  
  .dt-head .qf-i:nth-child(3){grid-column:1/-1;padding-left:0;border-left:0;border-top:1px solid var(--hair-2)}
}

/* ===== Model sheet: round 5 ===== */

.sheet:has(.dt-head){transition:transform .45s var(--spring),opacity .25s ease}
.dt-head .model-ico img{transform:translateY(0) rotate(-1deg)}
.sheet:has(.dt-head):hover .model-ico img{transform:translateY(-2px) rotate(0)}
.sheet:has(.dt-head) .rec-list li+li{padding-top:12px;border-top:1px solid var(--hair-2)}
.sheet:has(.dt-head) .spec-row{border-radius:10px;transition:background .15s}
.sheet:has(.dt-head) button.spec-row:hover{background:var(--hover-bg)}
.sheet:has(.dt-head) .spec-row.open{background:var(--blue-soft)}
.sheet:has(.dt-head) .spec-row:last-child{border-bottom:0}
@media (prefers-reduced-motion:reduce){.dt-head .model-ico img{transform:none!important}}

/* ===== Model flow: round 6 (cards in, sheet details) ===== */
.model-card{transition:transform .3s var(--ease),border-color .2s,box-shadow .3s var(--ease)}
.model-card:hover{transform:translateY(-3px);border-color:var(--blue-soft-2);box-shadow:var(--card-shadow-hover)}
.model-card:active{transform:scale(.985)}
.model-card .model-title h3{letter-spacing:-.025em}
.model-card .model-best{line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.model-card .detail-link{display:inline-flex;align-items:center;gap:5px;font-weight:600;color:var(--blue)}
.model-card .detail-link svg{transition:transform .2s var(--ease-soft)}
.model-card:hover .detail-link svg{transform:translateX(3px)}
.sheet:has(.dt-head) .head-actions .btn.icon{border-radius:50%}
.sheet:has(.dt-head) .head-actions .btn.icon:disabled{opacity:.35}
.sheet:has(.dt-head) .sheet-body{scroll-behavior:smooth;scroll-padding-top:12px}
.sheet:has(.dt-head) .sheet-body::after{content:"";display:block;}
.sheet:has(.dt-head) .pane>*{animation:amRise .45s var(--ease-soft) both}
.sheet:has(.dt-head) .pane>*:nth-child(2){animation-delay:.05s}
.sheet:has(.dt-head) .pane>*:nth-child(3){animation-delay:.1s}
.sheet:has(.dt-head) .pane>*:nth-child(4){animation-delay:.15s}
.sheet:has(.dt-head) .pane>*:nth-child(5){animation-delay:.2s}
@keyframes amRise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.sheet:has(.dt-head) .sheet-foot{padding:12px 28px;border-top:1px solid var(--hair)}
.sheet:has(.dt-head) .sheet-foot>span{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.sheet:has(.dt-head) .sheet-foot .btn{border-radius:10px}

.sa-pic{filter:drop-shadow(0 6px 8px rgba(0,0,0,.15))}
@media (max-width:720px){.sheet:has(.dt-head) .sheet-foot{padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){.sheet:has(.dt-head) .pane>*{animation:none}.model-card:hover{transform:none}}

/* ===== Round 7: 4 tabs, Demo and Tips split, sticky level switch ===== */
.dt-seg{grid-template-columns:repeat(var(--n,3),1fr)}
.dt-seg::before{width:calc((100% - 8px - (var(--n,3) - 1)*2px)/var(--n,3))}
.dt-seg:has(.dtab:nth-child(4).on)::before{transform:translateX(calc(300% + 6px))}
.dt-seg:has(.dtab:nth-child(3).on)::before{transform:translateX(calc(200% + 4px))}
.dt-seg:has(.dtab:nth-child(2).on)::before{transform:translateX(calc(100% + 2px))}
.dm-go{flex:none;display:inline-flex;align-items:center;gap:5px;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue);opacity:.85}
.dm-go svg{width:13px;height:13px}
@media (max-width:720px){
  
  .dm-go{display:none}
  .dt-seg .dtab{font-size:calc(13px*var(--ts,1));padding-inline:4px}
}
/* ===== Round 8: sticky specs header flush with the top edge ===== */
.sheet:has(.dt-head) .sheet-body{--pt:26px}
@media (min-width:721px) and (max-height:800px){.sheet:has(.dt-head) .sheet-body{--pt:20px}}
@media (max-width:720px){.sheet:has(.dt-head) .sheet-body{--pt:20px}}

.sheet:has(.dt-head) [data-p="specs"] .panel-block{padding-top:0}
/* ===== Round 9: polish across all tabs ===== */
.dt-seg .tc{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:99px;font-size:calc(11px*var(--ts,1));font-weight:700;background:var(--hover-bg);color:var(--mute);transition:background .2s,color .2s}
.dt-seg .dtab.on .tc{background:var(--blue-fill,var(--blue));color:#fff}
.sheet:has(.dt-head) :focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:10px}
.sheet:has(.dt-head) .sheet-body{scrollbar-width:thin;scrollbar-color:rgba(120,120,128,.35) transparent}
.sheet:has(.dt-head) .spec-row{padding-inline:10px;margin-inline:-10px}
.sheet:has(.dt-head) .spec-line .label{font-weight:500;letter-spacing:.01em}
.sheet:has(.dt-head) .spec-line .value{letter-spacing:-.012em}
.sheet:has(.dt-head) .spec-line .chev{color:var(--mute);transition:transform .25s var(--ease-soft)}
.sheet:has(.dt-head) .spec-row.open .spec-line .chev{transform:rotate(180deg);color:var(--blue)}
.sheet:has(.dt-head) .spec-info-in{padding:6px 0 8px;line-height:1.6;color:var(--ink-2)}
.sheet:has(.dt-head) .lvl-badge{display:inline-block;margin-right:8px;padding:2px 8px;border-radius:99px;font-size:calc(11px*var(--ts,1));font-weight:600;background:var(--blue-soft-2);color:var(--blue)}
@media (max-width:720px){.dt-seg .tc{margin-left:4px;min-width:16px;height:16px;font-size:calc(11px*var(--ts,1))}.sheet:has(.dt-head) .spec-row{margin-inline:-6px;padding-inline:6px}}
@media (prefers-reduced-motion:reduce){.sheet:has(.dt-head) .spec-line .chev{transition:none}}

/* ===== Round 10: demo mode and sheet frame ===== */
.overlay{-webkit-backdrop-filter:blur(6px) saturate(1.1);backdrop-filter:blur(6px) saturate(1.1)}
.sheet:has(.dt-head){border-radius:20px}
@media (prefers-reduced-motion:reduce){.overlay{-webkit-backdrop-filter:none;backdrop-filter:none}}

/* ---- ally-chat-calm ---- */
/* Ally chat in category view: steady, nothing jumps */
.ally-chat{position:relative}
.ally-chat .ac-log{justify-content:flex-start}
.ally-chat .need-chip{transition:box-shadow .25s var(--ease-soft),border-color .2s,background .25s,color .2s}
.ally-chat .need-chip:hover,.ally-chat .need-chip:active{transform:none}
.models-grid .model-card{transition:transform .3s var(--ease),border-color .2s,box-shadow .3s var(--ease),opacity .3s var(--ease-soft)}
.models-grid .match-note{position:absolute;top:-10px;left:18px;margin:0;border-radius:999px;background:var(--blue-fill,var(--blue));color:#fff;font-size:calc(12px*var(--ts,1));font-weight:600;line-height:1.3;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s var(--ease-soft),visibility 0s linear .25s}
.models-grid .model-card.match .match-note{opacity:1;visibility:visible;transition:opacity .25s var(--ease-soft)}
@media (prefers-reduced-motion:reduce){.models-grid .model-card,.models-grid .match-note{transition:none}}

/* ---- ally-compact ---- */
/* Ally in category view: slimmer card, answer opens only when asked */
.need.ally-chat{margin:18px 0 20px;padding:12px 14px 14px;border-radius:16px}
.ally-chat .ac-head{margin-bottom:8px;gap:10px;align-items:center}
.ally-chat .ac-av{position:absolute;z-index:2;right:20px;bottom:calc(100% - 7px);width:62px;height:76px;border-radius:0;color:transparent;background:var(--am-wave) center/contain no-repeat;transform-origin:50% 100%;pointer-events:none;filter:drop-shadow(0 6px 6px rgba(0,0,0,.10))}
#catScroll:has(.ally-chat) .cat-header-text{padding-right:84px}
@media (max-width:720px){.ally-chat .ac-av{width:50px;height:62px;right:14px}#catScroll:has(.ally-chat) .cat-header-text{padding-right:60px}}
.ally-chat .ac-av svg{display:none}
.ally-chat.is-thinking .ac-av{background-image:var(--am-idea)}
.ally-chat.is-answered .ac-av{background-image:var(--am-thumbs)}

@keyframes acPop{0%{transform:scale(.88) rotate(-4deg)}60%{transform:scale(1.06) rotate(2deg)}100%{transform:none}}
.ally-chat .ac-head>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 8px;min-width:0}
.ally-chat .ac-head small{font-size:calc(13px*var(--ts,1))}
.ally-chat .need-chips{gap:8px}
.ally-chat .need-chip{font-size:calc(13px*var(--ts,1));gap:8px;padding:4px 14px 4px 4px}
.ally-chat .need-chip .nq{width:24px;height:24px}
.ally-chat .need-chip .nq svg{width:12px;height:12px}
.ally-chat .need-chip .nq.has-pic{width:34px;height:26px;border-radius:8px}
.ally-chat .ac-log{min-height:0;margin:0;overflow:hidden;transition:height .32s var(--ease)}
.ally-chat .ac-log .ac-msg:first-child{margin-top:12px}
.ally-chat .ac-bub{max-width:100%;width:100%;padding:10px 13px;font-size:calc(13px*var(--ts,1));line-height:1.42}
.ally-chat .ac-msg.ally .ac-bub{border-radius:12px;background:var(--blue-soft)}
.ally-chat .ac-sub{font-size:calc(13px*var(--ts,1));margin-top:3px}
.ally-chat .ac-acts{margin-top:9px;gap:6px}
.ally-chat .ac-btn{padding:5px 11px}
.need.ally-chat{background:linear-gradient(180deg,var(--blue-soft),transparent 72px),var(--card-bg)}
.ally-chat[data-k="ipad"]:not(.is-answered):not(.is-thinking) .ac-av{background-image:var(--am-tablet)}
.ally-chat .ac-av{animation:acEnter .7s var(--ease) both,acBreathe 4.8s ease-in-out .7s infinite}
.ally-chat .ac-av.pop{animation:acPop .45s var(--ease)}
@keyframes acEnter{0%{opacity:0;transform:translateY(14px) scale(.9) rotate(-3deg)}60%{opacity:1;transform:translateY(-3px) scale(1.04) rotate(2deg)}100%{opacity:1;transform:none}}
@keyframes acBreathe{0%,100%{transform:none}50%{transform:translateY(-1.5px) scale(1.025)}}
.ally-chat .need-chip{animation:acIn .38s var(--ease-soft) backwards}
.ally-chat .need-chip:nth-child(1){animation-delay:.15s}.ally-chat .need-chip:nth-child(2){animation-delay:.21s}.ally-chat .need-chip:nth-child(3){animation-delay:.27s}.ally-chat .need-chip:nth-child(4){animation-delay:.33s}.ally-chat .need-chip:nth-child(n+5){animation-delay:.39s}
@media (prefers-reduced-motion:reduce){.ally-chat .need-chip{animation:none}}
.models-grid .match-note{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 4px}
.models-grid .match-note::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;background:#fff var(--am-head) center/84% no-repeat}
.models-grid .model-card.match::after{content:"";position:absolute;inset:-1px;border-radius:16px;pointer-events:none;animation:acRing .9s ease-out}
@keyframes acRing{from{box-shadow:0 0 0 0 rgba(0,113,227,.38)}to{box-shadow:0 0 0 14px rgba(0,113,227,0)}}
@media (prefers-reduced-motion:reduce){.models-grid .model-card.match::after{animation:none}}
.ally-chat .ac-for i{font-style:normal;font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);margin-right:8px}
.ally-chat .ac-btn:not(.pri){background:transparent;border-color:transparent;color:var(--blue);padding:5px 8px}
.ally-chat .ac-btn:not(.pri):hover{background:var(--blue-soft)}
.ally-chat .ac-acts{align-items:center}
@media (pointer:coarse){.ally-chat .need-chip{min-height:40px;font-size:calc(15px*var(--ts,1))}}
@media (max-width:720px){
  .ally-chat .need-chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -14px;padding:2px 14px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .ally-chat .need-chips::-webkit-scrollbar{display:none}
  .ally-chat .need-chip{flex:none}
}
@media (prefers-reduced-motion:reduce){.ally-chat .ac-log{transition:none}.ally-chat .ac-av,.ally-chat .ac-av.pop{animation:none}}

/* ---- tt-ally-refine ---- */
/* Technical knowledge, Ask Ally: same Ally language as the category page */
.cb{background:linear-gradient(180deg,var(--blue-soft),transparent 96px),var(--card-bg)}
.cb-head{padding:10px 18px;gap:6px 12px;align-items:center}
.cb-head .cb-face.big{width:44px;height:54px;border-radius:0;background:var(--am-wave) center/contain no-repeat;transform-origin:50% 90%}
.cb-head .cb-face.big img{display:none}
.cb[data-mood="think"] .cb-head .cb-face.big{background-image:var(--am-idea)}
.cb[data-mood="idea"] .cb-head .cb-face.big{background-image:var(--am-thumbs)}
.cb[data-mood="cheer"] .cb-head .cb-face.big{background-image:var(--am-celebrate)}
.cb-head .cb-face.big.pop{animation:acPop .45s var(--ease)}
.cb-lv{display:flex;align-items:center;gap:8px}
.cb-lv::before{content:"Explain at";font-size:calc(12px*var(--ts,1));color:var(--mute);white-space:nowrap}
.cb-m:not(.u){background:var(--blue-soft)}
.cb-pills{margin-left:46px}
.tl-tab:first-child svg{display:none}
.tl-tab:first-child::before{content:"";flex:none;width:22px;height:22px;border-radius:50%;background:#fff var(--am-head) center/82% no-repeat;box-shadow:0 0 0 1px var(--hair-2)}
/* questions as calm chips, same look as the category page; the main actions step back */
.cb-tray .tl-pill:not(.pri):not(.ghost){background:var(--card-bg);border-color:var(--hair);color:var(--ink);box-shadow:var(--card-shadow);transition:border-color .2s,background .2s,box-shadow .2s}
.cb-tray .tl-pill:not(.pri):not(.ghost):hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--hair));background:var(--card-bg)}
@media (max-width:520px){.cb-pills,.cb-shortcuts{margin-left:0}.cb-lv::before{display:none}}
@media (prefers-reduced-motion:reduce){.cb-head .cb-face.big.pop{animation:none}}

/* ---- tt-term-ally ---- */
/* Term page: Ally's pose follows the level, and what she is doing in each bubble */
.tv .tour-guide .tg-av{width:46px;height:56px;background-image:var(--am-present)!important}

.tv .tl-calm .tc-name{margin-left:12px}

/* ---- sheet-fit-css ---- */
/* ===== Model sheet: everything in view, plus the Bring up tab ===== */
.dt-seg:has(.dtab:nth-child(5).on)::before{transform:translateX(calc(400% + 8px))}
.sheet:has(.dt-head) .sheet-body::after{height:0}

@media (min-width:901px){
  /* head on one row: picture, title, three key facts, actions */
  .dt-head{grid-template-columns:auto minmax(190px,1fr) auto auto;grid-template-areas:"pic title facts actions";gap:0 22px;padding:16px 28px;align-items:center}
  .dt-head .model-ico{width:112px;height:82px}
  
  .dt-head .qf-i{padding:2px 18px;border-left:1px solid var(--hair-2);min-width:96px;max-width:176px}
  .dt-head .qf-i+.qf-i{padding-left:18px}
  .dt-head .head-actions{align-self:center}
}
@media (min-width:721px){
  .sheet:has(.dt-head) .sheet-body{padding:18px 28px 20px}
  /* Sell it: two calm rows instead of one long column */
  .sheet:has(.dt-head) .pane[data-p="sell"]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 20px;align-items:stretch}
  .sheet:has(.dt-head) .pane[data-p="sell"]>*{grid-column:1/-1;margin:0}
  .sheet:has(.dt-head) .pane[data-p="sell"] .rec-list{gap:7px}
  .sheet:has(.dt-head) .pane[data-p="sell"] .rec-list li+li{padding-top:7px}
  /* other tabs: tighter, two columns where it helps */
  .sheet:has(.dt-head) .dm-go{font-size:0;gap:0}
  .sheet:has(.dt-head) [data-p="specs"] .panel-block{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;align-items:start}
  
}

/* Bring up tab */
.br-note{margin:12px 2px 0;font-size:calc(12px*var(--ts,1));line-height:1.5;color:var(--mute)}

@media (max-width:520px){
  .dt-seg .dtab{font-size:calc(13px*var(--ts,1));padding:6px 2px}
  .dt-seg .dtab .tc{display:none}
  
}

/* ---- ps-css ---- */
@media (min-width:601px){.sheet:has(.ps-head){border-radius:20px}}
.sheet:has(.ps-head){height:min(800px,100%);background:var(--app-bg)}

/* Header */
.ps-head{flex:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:20px;padding:20px 24px 0;background:var(--sheet-head)}
.ps-pic{width:120px;height:84px;display:grid;place-items:center;padding:10px;border-radius:18px;background:var(--tile-bg);color:var(--ink-2)}
.ps-pic img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.16))}
html.dark .ps-pic img{filter:drop-shadow(0 8px 14px rgba(0,0,0,.5))}
html.dark .ps-pic img.inv{filter:invert(1)}
.ps-pic.ico{width:64px;height:64px;border-radius:16px;background:var(--tile-bg)}
.ps-pic.ico svg{width:30px;height:30px}
.ps-eyebrow{margin:0 0 4px;font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--mute)}
.ps-title h1{margin:0;font-size:calc(28px*var(--ts,1));font-weight:700;letter-spacing:-.032em;line-height:1.1;color:var(--ink);outline:none}
.ps-title p{margin:6px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.35;color:var(--ink-2)}
.ps-x{align-self:start;border-radius:50%}
.ps-facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));margin:18px 0 0;border-top:1px solid var(--hair-2)}
.ps-fact{min-width:0;padding:12px 16px 14px}
.ps-fact:first-child{padding-left:0}
.ps-fact+.ps-fact{border-left:1px solid var(--hair-2)}
.ps-fact dt{margin:0 0 3px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--mute)}
.ps-fact dd{margin:0;font-size:calc(15px*var(--ts,1));font-weight:600;line-height:1.3;letter-spacing:-.012em;color:var(--ink);overflow-wrap:anywhere}

/* Tabs */
.ps-tabs{flex:none;padding:12px 24px;background:var(--sheet-head);border-bottom:1px solid var(--hair)}
.ps-seg{position:relative;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));padding:3px;border-radius:12px;background:var(--seg-bg)}
.ps-seg::before{content:"";position:absolute;top:3px;bottom:3px;left:3px;width:calc((100% - 6px)/var(--n));border-radius:9px;background:var(--seg-on);box-shadow:0 1px 3px rgba(0,0,0,.12),0 0 0 .5px var(--hair);transform:translateX(calc(var(--i,0)*100%));transition:transform .35s var(--ease)}
.ps-tab{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 8px;border:0;border-radius:9px;background:none;font:inherit;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--mute);white-space:nowrap;cursor:pointer;transition:color .2s}
.ps-tab:hover,.ps-tab[aria-selected="true"]{color:var(--ink)}
.ps-tab:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.ps-tab i{min-width:18px;height:18px;padding:0 5px;border-radius:99px;display:inline-grid;place-items:center;font-style:normal;font-size:calc(11px*var(--ts,1));font-weight:700;background:var(--hover-bg);color:var(--mute);transition:background .2s,color .2s}
.ps-tab[aria-selected="true"] i{background:var(--blue-fill,var(--blue));color:#fff}

/* Body */
.ps-body{flex:1;min-height:0;overflow-y:auto;padding:24px 24px 28px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(120,120,128,.35) transparent}
.ps-pane:not(.hide){animation:psIn .3s var(--ease-soft) both}
@keyframes psIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ps-kick{display:block;margin:0 0 6px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.ps-h{margin:0 0 10px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.ps-lead p{margin:0;max-width:36em;font-size:calc(22px*var(--ts,1));font-weight:600;line-height:1.3;letter-spacing:-.024em;color:var(--ink);text-wrap:balance}
.ps-lead.sm{margin-bottom:16px}
.ps-lead.sm p{font-size:calc(17px*var(--ts,1))}
.ps-empty{margin:0;padding:18px 20px;border-radius:14px;border:1px dashed var(--hair);font-size:calc(15px*var(--ts,1));color:var(--mute)}
.ps-next{display:flex;justify-content:flex-end;margin-top:26px;padding-top:16px;border-top:1px solid var(--hair-2)}
.ps-next .btn,.ps-demo-top .btn{display:inline-flex;align-items:center;gap:6px}
.ps-next .btn svg,.ps-demo-top .btn svg{width:14px;height:14px}

/* Sell it */
.ps-grid2{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:14px;margin-top:22px}
.ps-card{margin:0;padding:18px 20px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.ps-checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ps-checks li{display:flex;gap:10px;align-items:flex-start;font-size:calc(15px*var(--ts,1));line-height:1.4;color:var(--ink)}
.ps-ck{flex:none;width:20px;height:20px;margin-top:1px;border-radius:50%;display:grid;place-items:center;background:var(--blue-fill,var(--blue));color:#fff}
.ps-ck svg{width:11px;height:11px}
.ps-quote blockquote{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.55;color:var(--ink)}
.ps-quote blockquote::before{content:"\201C";display:block;margin-bottom:4px;font-size:calc(34px*var(--ts,1));line-height:.7;font-weight:700;color:var(--blue);opacity:.4}
.ps-row{margin-top:22px}
.ps-chips{display:flex;flex-wrap:wrap;gap:8px}
.ps-chips span{padding:6px 12px;border-radius:999px;border:1px solid var(--hair);font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--ink)}
.ps-alt{display:flex;align-items:center;gap:14px;margin-top:22px;padding:14px 16px;border-radius:16px;border:1px solid var(--hair)}
.ps-alt-pic{flex:none;width:56px;height:42px;display:grid;place-items:center}
.ps-alt-pic img{max-width:100%;max-height:100%;object-fit:contain}
html.dark .ps-alt-pic img.inv{filter:invert(1)}
.ps-alt-t{flex:1;min-width:0}
.ps-alt-t .ps-h{margin-bottom:3px}
.ps-alt-t p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink)}
.ps-alt .btn{flex:none}

/* Demo it */
.ps-demo-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-radius:16px;background:var(--blue-soft);border:1px solid var(--blue-soft-2)}
.ps-demo-top h2{margin:0;font-size:calc(20px*var(--ts,1));font-weight:700;letter-spacing:-.025em;line-height:1.2;color:var(--ink)}
.ps-demo-top p{margin:4px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
.ps-demo-top .btn{flex:none}
.ps-steps{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.ps-step{display:flex;align-items:flex-start;gap:14px;width:100%;padding:16px 18px;border-radius:14px;border:1px solid var(--hair-2);background:var(--card-bg);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.ps-step:hover{border-color:var(--blue)}
.ps-step:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ps-n{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:calc(13px*var(--ts,1));font-weight:700;background:var(--blue-fill,var(--blue));color:#fff}
.ps-step-t{flex:1;min-width:0}
.ps-step-t b{display:block;margin-bottom:3px;font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.016em;color:var(--ink)}
.ps-step-t span{display:block;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.ps-go{flex:none;align-self:center;display:inline-flex;align-items:center;gap:4px;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue)}
.ps-go svg{width:13px;height:13px}
.ps-sub{margin-top:28px}
.ps-tips{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.ps-tips li{padding:14px 16px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink)}

/* Bring up */
.ps-convo{padding:0 20px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.ps-cv-row{display:grid;grid-template-columns:160px minmax(0,1fr) minmax(0,1.35fr);gap:24px;padding:18px 0;border-top:1px solid var(--hair-2)}
.ps-cv-hd{padding:14px 0 10px;border-top:0}
.ps-cv-hd .ps-h{margin:0}
.ps-cv-lab{display:none}
.ps-cv-id{display:flex;align-items:center;gap:10px;align-self:start}
.ps-cv-ico{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--card-bg);border:1px solid var(--hair-2);color:var(--ink)}
.ps-cv-ico svg{width:16px;height:16px}
.ps-cv-id b{font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.015em;color:var(--ink)}
.ps-cv-when p{margin:4px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.ps-cv-say p{margin:4px 0 0;font-size:calc(15px*var(--ts,1));font-weight:500;line-height:1.5;letter-spacing:-.008em;color:var(--ink)}
.ps-cv-say small{display:block;margin-top:8px;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.ps-cv-say small b{font-weight:600;color:var(--ink-2)}

/* Specs */
.ps-spec-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px}
.ps-lab{font-size:calc(13px*var(--ts,1));color:var(--mute)}
.ps-spec-tools .link-btn{margin-left:auto}
.ps-specs{padding:2px 18px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.ps-specs .spec-row{padding:13px 0}
.ps-specs .spec-line{gap:16px}
.ps-specs .spec-line .label{width:auto;flex:0 0 30%;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.ps-specs .spec-line .value{font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.ps-specs .spec-info-in{font-size:calc(15px*var(--ts,1));line-height:1.6}
.ps-note{margin:14px 2px 0;font-size:calc(12px*var(--ts,1));line-height:1.5;color:var(--mute)}

/* Footer */
.ps-foot{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:10px 14px;border-top:1px solid var(--hair);background:var(--sheet-head)}
.ps-mv{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;justify-self:start;padding:6px 10px;border:0;border-radius:10px;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:background .15s}
.ps-mv:hover{background:var(--hover-bg)}
.ps-mv:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.ps-mv:disabled{visibility:hidden}
.ps-mv.next{justify-self:end;flex-direction:row-reverse;text-align:right}
.ps-mv svg{flex:none;width:16px;height:16px;color:var(--mute)}
.ps-mv span{min-width:0}
.ps-mv small{display:block;font-size:calc(11px*var(--ts,1));color:var(--mute)}
.ps-mv b{display:block;font-size:calc(13px*var(--ts,1));font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Shorter screens (iPad landscape, small laptop windows): keep more room for the content */
@media (min-width:721px) and (max-height:820px){
  .ps-head{padding-top:14px}
  .ps-pic{width:96px;height:64px}
  .ps-title h1{font-size:calc(22px*var(--ts,1))}
  .ps-title p{margin-top:4px;font-size:calc(15px*var(--ts,1))}
  .ps-facts{margin-top:12px}
  .ps-fact{padding-top:9px;padding-bottom:10px}
  .ps-tabs{padding-top:9px;padding-bottom:9px}
  .ps-body{padding-top:18px}
}

@media (max-width:720px){
  .sheet:has(.ps-head){height:94%}
  .ps-head{column-gap:12px;padding:14px 16px 0}
  .ps-pic{width:72px;height:54px}
  .ps-title h1{font-size:calc(22px*var(--ts,1))}
  .ps-title p{font-size:calc(13px*var(--ts,1))}
  .ps-facts{margin-top:12px}
  .ps-fact{padding:10px 10px 12px}
  .ps-fact dt{font-size:calc(11px*var(--ts,1))}
  .ps-fact dd{font-size:calc(13px*var(--ts,1))}
  .ps-tabs{padding:10px 16px}
  .ps-tab{padding:6px 4px;font-size:calc(13px*var(--ts,1))}
  .ps-tab i{display:none}
  .ps-body{padding:18px 16px 22px}
  .ps-lead p{font-size:calc(20px*var(--ts,1))}
  .ps-grid2{grid-template-columns:1fr}
  .ps-alt{flex-wrap:wrap}
  .ps-alt .btn{width:100%}
  .ps-demo-top{flex-direction:column;align-items:stretch}
  .ps-demo-top .btn{justify-content:center}
  .ps-go{display:none}
  .ps-convo{padding:0 16px}
  .ps-cv-hd{display:none}
  .ps-cv-row{grid-template-columns:1fr;gap:12px;padding:16px 0}
  .ps-cv-row:nth-child(2){border-top:0}
  .ps-cv-lab{display:block;margin:0}
  .ps-cv-when p,.ps-cv-say p{margin-top:3px}
  .ps-specs{padding:2px 14px}
  .ps-specs .spec-line .label{flex-basis:38%}
  .ps-next .btn{flex:1;justify-content:center}
  .ps-foot{gap:6px;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px))}
  .ps-mv{padding:6px}
  .ps-mv small{display:none}
  .ps-mv b{font-size:calc(13px*var(--ts,1))}
}
@media (pointer:coarse){.ps-tab,.ps-mv{min-height:44px}.ps-step-t span{font-size:calc(15px*var(--ts,1))}}
@media (prefers-reduced-motion:reduce){.ps-seg::before{transition:none}.ps-pane:not(.hide){animation:none}}

/* ---- fx-css ---- */
.fx-hero{position:relative;overflow:hidden;padding:clamp(24px,4vw,42px);border:1px solid var(--hair-2);border-radius:26px;background:radial-gradient(ellipse at 100% 0%,var(--blue-soft) 0,transparent 44%),var(--panel-bg);color:var(--ink)}
.fx-hero::after{content:"";position:absolute;top:-94px;right:-56px;width:270px;height:270px;border:1px solid var(--blue-soft-2);border-radius:50%;box-shadow:0 0 0 28px color-mix(in srgb,var(--blue-soft) 55%,transparent),0 0 0 58px color-mix(in srgb,var(--blue-soft) 28%,transparent);pointer-events:none}
.fx-hero .btn{box-shadow:none}
.fx-top,.fx-top.noimg{position:relative;z-index:1;display:block;min-height:0;background:none}
.fx-txt{padding:0 0 24px;max-width:800px}
.fx-eyebrow{display:inline-flex;align-items:center;gap:9px;margin:0 0 14px;padding:7px 11px;border:1px solid var(--blue-soft-2);border-radius:999px;background:var(--card-bg);font-size:calc(11px*var(--ts,1));font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--blue)}
.fx-eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--blue-fill,var(--blue));box-shadow:0 0 0 4px var(--blue-soft);}
.fx-img{display:none}
.fx-badge{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;background:var(--blue-soft);color:var(--blue);font-size:calc(13px*var(--ts,1));font-weight:600}
.fx-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.fx-title{margin:0;font-size:calc(clamp(38px,5.2vw,60px)*var(--ts,1));font-weight:750;letter-spacing:-.052em;line-height:1.02;color:var(--ink);text-wrap:balance}
.fx-tag{margin:13px 0 0;max-width:34em;font-size:calc(clamp(16px,1.6vw,18px)*var(--ts,1));line-height:1.55;color:var(--ink-2);text-wrap:pretty}
.fx-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.fx-cta .btn{display:inline-flex;align-items:center;gap:6px}
.fx-cta .btn svg{width:14px;height:14px}

.fx-when{position:relative;z-index:1;display:flex;align-items:center;gap:32px;margin-top:4px;padding:18px 22px;border:1px solid var(--hair-2);border-radius:16px;background:var(--card-bg);box-shadow:0 1px 2px rgba(0,0,0,.04)}
.fx-count{flex:none;display:flex;align-items:baseline;gap:10px}
.fx-count b{font-size:calc(40px*var(--ts,1));font-weight:700;letter-spacing:-.04em;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums}
.fx-count span{max-width:9em;font-size:calc(15px*var(--ts,1));line-height:1.3;color:var(--ink-2)}
.fx-tl{flex:1;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr))}
.fx-tl li{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.fx-tl li::before{content:"";position:absolute;top:10px;right:50%;width:100%;height:2px;background:var(--hair)}
.fx-tl li:first-child::before{display:none}
.fx-tl li.past::before,.fx-tl li.next::before{background:var(--blue-fill,var(--blue))}
.fx-dot{position:relative;z-index:1;width:22px;height:22px;margin-bottom:6px;border-radius:50%;display:grid;place-items:center;background:var(--card-bg);border:2px solid var(--hair);color:#fff}
.fx-dot svg{width:11px;height:11px}
.fx-tl li.past .fx-dot{background:var(--blue-fill,var(--blue));border-color:var(--blue)}
.fx-tl li.next .fx-dot{border-color:var(--blue);box-shadow:0 0 0 4px var(--blue-soft-2)}
.fx-tl b{font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.fx-tl small{font-size:calc(13px*var(--ts,1));color:var(--mute)}
.fx-tl li.next small{color:var(--blue);font-weight:600}

#focusScroll .fx-chat{margin-top:26px}
#focusScroll .fx-chat .tour-guide{
  align-items:flex-end;gap:14px;margin:0;padding:18px 20px;
  border:1px solid var(--blue-soft-2);border-radius:18px;
  background:linear-gradient(110deg,var(--blue-soft),var(--panel-bg) 58%);
}
#focusScroll .fx-chat .tg-av{
  width:38px;height:38px;margin-top:1px;border-radius:12px;
  background:var(--card-bg);opacity:1;animation:none;
}
#focusScroll .fx-chat .tg-av svg{width:23px;height:23px}
#focusScroll .fx-chat .tc-col{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;flex:1;max-width:680px}
#focusScroll .fx-chat .tc-name{margin:0 0 2px 12px;font-size:calc(12px*var(--ts,1));font-weight:650;letter-spacing:.01em;color:var(--ink-2)}
#focusScroll .fx-chat .tc-name::after{content:"  ·  A quick guide";font-weight:450;color:var(--mute)}
#focusScroll .fx-chat .tc-row{position:relative;max-width:min(100%,620px);min-width:0}
#focusScroll .fx-chat .tc-row+.tc-row{margin-top:6px}
#focusScroll .fx-chat .tc-msg{height:auto;box-sizing:border-box;padding:9px 15px 10px;border:0;border-radius:18px;background:var(--seg-bg);font-size:calc(15px*var(--ts,1));line-height:1.5;animation:tcIn .4s var(--ease-soft) both;animation-delay:calc(var(--i,0)*.8s + .55s)}
#focusScroll .fx-chat .tc-row:last-child .tc-msg{border-bottom-left-radius:5px}
#focusScroll .fx-chat .tc-typing{display:flex}
@media(max-width:680px){
  #focusScroll .fx-chat{margin-top:18px}
  #focusScroll .fx-chat .tour-guide{gap:11px;padding:14px}
  #focusScroll .fx-chat .tg-av{width:32px;height:32px}
  #focusScroll .fx-chat .tg-av svg{width:20px;height:20px}
  #focusScroll .fx-chat .tc-col{gap:3px}
  #focusScroll .fx-chat .tc-name{margin-bottom:2px}
  #focusScroll .fx-chat .tc-msg{font-size:calc(15px*var(--ts,1))}
}

.fx-nav{position:sticky;top:-40px;z-index:5;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin:26px -44px 0;padding:10px 44px;background:var(--content-bg);border-bottom:1px solid var(--hair-2)}
.fx-nav::-webkit-scrollbar{display:none}
.fx-nav button{flex:none;border:0;border-radius:999px;padding:7px 14px;background:transparent;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink-2);cursor:pointer;transition:background .2s,color .2s}
.fx-nav button:hover{background:var(--hover-bg);color:var(--ink)}
.fx-nav button.on{background:var(--ink);color:var(--app-bg)}
.fx-nav button:focus-visible{outline:2px solid var(--blue);outline-offset:1px}

.fx-sec{margin-top:36px;scroll-margin-top:66px}
.fx-h2row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.fx-h2{margin:0;font-size:calc(22px*var(--ts,1));font-weight:700;letter-spacing:-.028em;color:var(--ink)}
.fx-h2row .btn{display:inline-flex;align-items:center;gap:6px}
.fx-h2row .btn svg{width:13px;height:13px}
.fx-kick{display:block;margin:0 0 8px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.fx-quote{margin:0 0 12px;padding:22px 26px;border-radius:18px;background:var(--blue-soft);border:1px solid var(--blue-soft-2)}
.fx-quote blockquote{margin:0;font-size:calc(clamp(19px,2.2vw,24px)*var(--ts,1));font-weight:600;line-height:1.35;letter-spacing:-.022em;color:var(--ink);text-wrap:balance}
.fx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fx-item{display:flex;gap:14px;padding:18px 20px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.fx-num{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:calc(13px*var(--ts,1));font-weight:700;background:var(--card-bg);border:1px solid var(--hair);color:var(--ink)}
.fx-num.pri{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}
.fx-item b{display:block;margin:2px 0 4px;font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.016em;color:var(--ink)}
.fx-item p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.fx-watch,.fx-panel{padding:2px 20px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.fx-w{display:flex;gap:14px;padding:15px 0;border-top:1px solid var(--hair-2)}
.fx-w:first-child{border-top:0}
.fx-w>i{flex:none;width:8px;height:8px;margin-top:7px;border-radius:50%;background:#FF9F0A}
.fx-w b{display:block;margin-bottom:2px;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.fx-w p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.fx-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.fx-panel h3{margin:14px 0 2px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.fx-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-top:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1))}
.fx-panel h3+.fx-row{border-top:0}
.fx-row span{color:var(--mute)}
.fx-row b{font-weight:600;text-align:right;color:var(--ink);font-variant-numeric:tabular-nums}
.fx-note{margin:10px 2px 0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--mute)}
.fx-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}

@media (max-width:900px){.fx-nav{top:-24px;margin:22px -20px 0;padding:8px 20px}}
@media (max-width:720px){
  .fx-hero{padding:23px 19px;border-radius:20px}
  .fx-hero::after{top:-122px;right:-130px;width:230px;height:230px}
  .fx-top,.fx-top.noimg{min-height:0}
  .fx-top .fx-txt{padding:2px 0 22px}
  .fx-eyebrow{margin-bottom:10px}
  .fx-cta .btn{flex:1;justify-content:center}
  .fx-when{flex-direction:column;align-items:stretch;gap:18px;padding:16px 20px}
  .fx-grid,.fx-two{grid-template-columns:1fr}
  .fx-quote{padding:18px 20px}
  .fx-sec{margin-top:30px}
}
@media (max-width:600px){.fx-nav{top:-20px;margin:20px -16px 0;padding:8px 16px}}
@media (pointer:coarse){.fx-nav button{min-height:40px;font-size:calc(15px*var(--ts,1))}}

/* ---- ov-css ---- */
.ov-focus{display:flex;align-items:center;gap:18px;width:100%;margin:24px 0 0;padding:12px 18px 12px 12px;border-radius:18px;border:1px solid var(--hair-2);background:var(--card-bg);box-shadow:var(--card-shadow);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .25s}
.ov-focus:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--hair));box-shadow:var(--card-shadow-hover)}
.ov-focus:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ov-f-pic{flex:none;width:104px;height:70px;border-radius:12px;overflow:hidden;background:#fff;border:1px solid var(--hair-2)}
.ov-f-pic img{display:block;width:100%;height:100%;object-fit:cover;object-position:right center}
.ov-f-txt{flex:1;min-width:0}
.ov-f-txt small{display:block;margin-bottom:3px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.ov-f-txt b{display:block;font-size:calc(20px*var(--ts,1));font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.ov-f-txt span{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));line-height:1.4;color:var(--mute)}
.ov-f-count{flex:none;display:flex;flex-direction:column;align-items:flex-end;padding:0 6px 0 18px;border-left:1px solid var(--hair-2)}
.ov-f-count b{font-size:calc(28px*var(--ts,1));font-weight:700;line-height:1;letter-spacing:-.035em;color:var(--ink);font-variant-numeric:tabular-nums}
.ov-f-count small{margin-top:3px;font-size:calc(12px*var(--ts,1));color:var(--mute);white-space:nowrap}
.ov-f-go{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue)}
.ov-f-go svg{width:14px;height:14px}
/* Overview layout: one calm column of sections */
#homeScroll .home-head{margin-bottom:0}
#homeScroll .home-head .intro{max-width:34em}
#homeScroll .home-ask{flex-direction:column;align-items:stretch;gap:12px;margin:22px 0 0}
#homeScroll .home-ask-form{max-width:none}
#homeScroll .home-sec{display:flex;align-items:center;gap:12px;margin:34px 0 12px}
#homeScroll .home-sec .link-btn{order:1;font-size:calc(13px*var(--ts,1));font-weight:600;letter-spacing:0;text-transform:none}
#homeScroll .am-more{display:none}
/* Focus right now and Try this today side by side */
.ov-top{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px}
@media (min-width:1180px){.ov-top{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}}
.ov-top .ov-focus{margin:0;height:100%}
.ov-top>:only-child{grid-column:1/-1}
.ov-today{display:flex;align-items:center;gap:16px;min-width:0;padding:14px 18px;border-radius:18px;border:1px solid var(--hair-2);background:var(--card-bg);box-shadow:var(--card-shadow);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .25s}
.ov-today:hover{border-color:color-mix(in srgb,#FF9500 45%,var(--hair));box-shadow:var(--card-shadow-hover)}
.ov-today:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ov-td-t{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
@media (min-width:1180px){.ov-today{flex-direction:column;align-items:flex-start;gap:8px}.ov-today em{margin-top:auto}}
.ov-today small{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#C77700}
html.dark .ov-today small{color:#FFB340}
.ov-today b{font-size:calc(15px*var(--ts,1));font-weight:650;letter-spacing:-.018em;line-height:1.3;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ov-today span{font-size:calc(13px*var(--ts,1));color:var(--mute)}
.ov-today em{flex:none;display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue)}
.ov-today em svg{width:13px;height:13px}
/* The three ways in */
#homeScroll .home-ways{margin:14px 0 0}
/* Pick up where you left off */
.ov-recent{display:flex;flex-wrap:wrap;gap:8px}
.ov-rc{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:8px 14px 8px 8px;border-radius:999px;border:1px solid var(--hair-2);background:var(--card-bg);font:inherit;font-size:calc(13px*var(--ts,1));color:var(--ink);cursor:pointer;transition:border-color .2s}
.ov-rc:hover{border-color:var(--blue)}
.ov-rc:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ov-rc i{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-style:normal}
.ov-rc i svg{width:15px;height:15px}
.ov-rc span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ov-rc small{color:var(--mute);font-size:calc(12px*var(--ts,1))}
/* Products as compact tiles */
/* Product tiles with photos: the whole product on the calm category colour, never cropped */
.ov-tile .pc-art.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:12% 14%;box-sizing:border-box;filter:drop-shadow(0 10px 14px rgba(0,0,0,.22));transition:transform .45s var(--ease-soft)}
.ov-tile .pc-art.photo.wide img{padding:16% 10%}
.ov-tile .pc-art.photo.icon img{padding:18%;filter:drop-shadow(0 6px 12px rgba(0,0,0,.2))}
html.dark .ov-tile .pc-art.photo img{filter:drop-shadow(0 10px 18px rgba(0,0,0,.5))}
/* ten categories: five in a row on wider screens, two on phones, so no row ends half empty */
#homeGrid.ov-prods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ov-tile{display:flex;flex-direction:column;min-width:0;padding:0;border-radius:16px;overflow:hidden;border:1px solid var(--hair-2);background:var(--card-bg);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .25s,transform .25s var(--ease-soft)}
.ov-tile:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ov-tile .pc-art{position:relative;height:clamp(112px,10vw,180px);overflow:hidden;background:linear-gradient(165deg,var(--pa1,#F1F2F6),var(--pa2,#E6E8EE))}
.ov-tile .pc-art svg,.ov-tile .pc-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s var(--ease-soft)}
.ov-tile{position:relative}
.ov-tile-t{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:10px 12px 12px}
.ov-tile-f{position:absolute;top:8px;left:8px;z-index:2;padding:3px 8px;border-radius:999px;font-style:normal;font-size:calc(11px*var(--ts,1));font-weight:700;background:var(--blue-fill,var(--blue));color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.ov-tile-t b{max-width:100%;min-width:0;font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.016em;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ov-tile-t small{flex:none;font-size:calc(12px*var(--ts,1));color:var(--mute);font-variant-numeric:tabular-nums}
.ov-tile.on{border-color:color-mix(in srgb,var(--blue) 40%,var(--hair-2))}

@media (hover:hover){
  .ov-tile:hover{border-color:var(--hair);box-shadow:var(--card-shadow-hover);transform:translateY(-2px)}
  .ov-tile:hover .pc-art svg,.ov-tile:hover .pc-art img{transform:scale(1.06)}
}
/* New in Ally */
.ov-news{display:flex;flex-direction:column;border:1px solid var(--hair-2);border-radius:16px;background:var(--card-bg);overflow:hidden}
.ov-nw{display:flex;align-items:center;gap:14px;width:100%;padding:12px 16px;border:0;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.ov-nw+.ov-nw{border-top:1px solid var(--hair-2)}
.ov-nw:hover{background:var(--panel-bg)}
.ov-nw:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.ov-nw>i{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--seg-bg);color:var(--ink-2)}
.ov-nw>i svg{width:17px;height:17px}
.ov-nw-t{flex:1;min-width:0}
.ov-nw-t b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.014em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ov-nw-t small{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.ov-nw em{flex:none;font-style:normal;font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:var(--blue-soft);color:var(--blue)}
.ov-nw>svg{flex:none;width:14px;height:14px;color:var(--mute)}
/* The bottom: New to Apple, then the folded sections */
#homeScroll .home-links{margin-top:30px}
#homeScroll .ov-tk{margin-top:28px}
#homeScroll .ov-tk .tk-home{margin:6px 0 18px}
#homeScroll .ov-tk .tk-home>.t-section{display:none}
#homeScroll .ov-tk+.about{margin-top:0}
/* New to Apple: a real button, not a small text link */
#homeScroll .home-links .ov-tour{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:7px 14px 7px 10px;border-radius:999px;border:1px solid var(--hair);background:var(--card-bg);font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink)}
#homeScroll .home-links .ov-tour:hover{border-color:var(--blue);text-decoration:none}
#homeScroll .home-links .ov-tour i{width:22px;height:22px;border-radius:50%;background:var(--blue-soft) var(--am-head) center/80% no-repeat}
@media (max-width:820px){.ov-top{grid-template-columns:1fr}}
@media (max-width:600px){
  #homeGrid.ov-prods{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ov-today em{font-size:0;width:30px;height:30px;justify-content:center;border-radius:50%;background:var(--blue-soft)}
  .ov-today em svg{width:14px;height:14px}
  .ov-tile .pc-art{height:104px}
  .ov-tile .pc-art.photo img{padding:9% 10%}
  .ov-tile .pc-art.photo.wide img{padding:12% 8%}
  .ov-focus{gap:12px;padding:10px 12px 10px 10px}
  .ov-f-pic{width:72px;height:52px}
  .ov-f-txt b{font-size:calc(17px*var(--ts,1))}
  .ov-f-count{display:none}
}
@media (pointer:coarse){#homeScroll .home-links .ov-tour{min-height:44px}}
/* Breadcrumb in the top bar */
#chromeCrumb .crumb-root{color:var(--mute)}
#chromeCrumb .crumb-sep{margin:0 7px;color:var(--mute);opacity:.7}
/* Category page: two key facts on each model card */
.mc-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 2px}
.mc-facts span{min-width:0;padding:8px 10px;border-radius:10px;background:var(--panel-bg);font-size:calc(13px*var(--ts,1));line-height:1.35;font-weight:500;color:var(--ink)}
.mc-facts small{display:block;margin-bottom:1px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--mute)}
/* Category page: demos, guides and terms for the category */
.cat-more-h{margin:34px 0 12px}
.cat-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-bottom:20px}
.cat-mo{display:flex;align-items:center;gap:12px;min-width:0;padding:12px 14px;border-radius:14px;border:1px solid var(--hair-2);background:var(--card-bg);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s}
.cat-mo:hover{border-color:var(--blue)}
.cat-mo:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.cat-mo>i{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--blue-soft);color:var(--blue)}
.cat-mo>i svg{width:17px;height:17px}
.cat-mo>span{flex:1;min-width:0}
.cat-mo b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600}
.cat-mo small{display:block;margin-top:1px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.cat-mo>svg{flex:none;width:14px;height:14px;color:var(--mute)}

/* ---- bx-css ---- */
.bx{max-width:640px;margin:0 auto}
.bx .t-view-sub{max-width:34em}
.bx-chat{margin:22px 0 4px}
.bx-chat .tg-av{width:52px!important;height:60px!important;background-image:var(--am-calm)!important;opacity:0;animation:amFade .7s var(--ease-soft) both;animation-delay:calc((var(--n,1) - 1)*.8s + 1s)}
.bx-sec{margin-top:30px}
.bx-sh{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}
.bx-n{flex:none;width:24px;height:24px;margin-top:1px;border-radius:50%;display:grid;place-items:center;font-size:calc(12px*var(--ts,1));font-weight:700;background:var(--blue-soft);color:var(--blue)}
.bx-sh h2{margin:0;font-size:calc(17px*var(--ts,1));font-weight:650;letter-spacing:-.02em;color:var(--ink)}
.bx-sh p{margin:2px 0 0;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.bx-opts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bx-opt{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px 14px 13px;border-radius:14px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .2s,background .2s}
.bx-opt:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--hair))}
.bx-opt:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.bx-opt[aria-pressed="true"]{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);background:color-mix(in srgb,var(--blue) 4%,var(--card-bg))}
.bx-opt b{font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.014em}
.bx-opt small{font-size:calc(13px*var(--ts,1));color:var(--ink-2);font-variant-numeric:tabular-nums}
.bx-use{font-size:calc(13px*var(--ts,1));line-height:1.4;color:var(--mute)}
.bx-bar{display:flex;gap:2px;width:100%;height:6px;border-radius:99px;overflow:hidden}
.bx-bar i{display:block;height:100%}
.bx-bar .in{background:var(--blue-fill,var(--blue))}
.bx-bar .hold,.bx-bar .rest{background:var(--blue-soft-2)}
.bx-bar .out{background:color-mix(in srgb,var(--blue) 50%,transparent)}
.bx-list{border-radius:14px;border:1px solid var(--hair);background:var(--card-bg);overflow:hidden}
.bx-sw{display:flex;align-items:center;gap:14px;padding:14px 16px}
.bx-sw+.bx-sw{border-top:1px solid var(--hair-2)}
.bx-sw label{flex:1;min-width:0;cursor:pointer}
.bx-sw b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.bx-sw small{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.bx-sw .link-btn{flex:none;font-size:calc(13px*var(--ts,1));font-weight:600}
.bx-hint{margin:10px 2px 0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--mute)}
.bx-go{display:flex;justify-content:center;margin-top:30px}
.bx-go .btn{min-width:280px;border-radius:99px}
.bx .br-note{margin:18px auto 0;text-align:center}
/* Ally is with you in the session */
.brf-top{justify-content:flex-start;gap:10px}
.brf-top>button{margin-left:auto}
.bx-fa{flex:none;width:30px;height:36px;background:var(--am-calm) center/contain no-repeat;opacity:.9}
#brFull .br-acts:has(.bx-next){display:flex;flex-direction:column;align-items:center;gap:12px}
.bx-next{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:560px}
.bx-again{border:0;background:none;padding:8px 12px;font:inherit;font-size:calc(15px*var(--ts,1));font-weight:500;color:rgba(255,255,255,.7);cursor:pointer}
.bx-again:hover{color:#fff}
@media (max-width:600px){.bx-next{display:grid;grid-template-columns:1fr 1fr;width:100%}.bx-next .btn{width:100%}}
@media (max-width:600px){
  .bx-opts{grid-template-columns:1fr}
  .bx-go .btn{width:100%;min-width:0}
}
@media (pointer:coarse){.bx-opt{min-height:44px}.bx-sw .link-btn{min-height:44px}}
@media (prefers-reduced-motion:reduce){.bx-chat .tg-av{animation:none;opacity:1}}

/* A calmer setup: configure on the left, see the session at a glance on the right. */
.bx{max-width:940px}
.bx-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(270px,.85fr);gap:clamp(24px,4vw,48px);align-items:start;margin-top:10px}
.bx-config{min-width:0}
.bx-config .bx-sec:first-child{margin-top:12px}
.bx-preview{position:sticky;top:18px;display:flex;flex-direction:column;align-items:center;padding:28px 24px 22px;border:1px solid var(--hair-2);border-radius:22px;background:linear-gradient(155deg,var(--blue-soft),var(--card-bg) 55%);box-shadow:var(--card-shadow);text-align:center;overflow:hidden}
.bx-preview-main{display:flex;flex-direction:column;align-items:center;width:100%;text-align:center}
.bx-preview-copy{display:flex;flex-direction:column;align-items:center}
.bx-preview-orb{position:relative;display:grid;place-items:center;width:112px;height:112px;margin:4px 0 22px;border-radius:50%;background:radial-gradient(circle at 35% 28%,color-mix(in srgb,var(--blue) 30%,white),color-mix(in srgb,var(--blue) 20%,transparent) 54%,transparent 72%)}
.bx-preview-orb::before{content:"";position:absolute;inset:-13px;border:1px solid color-mix(in srgb,var(--blue) 22%,transparent);border-radius:50%;animation:bxPreviewPulse 7s ease-in-out infinite}
.bx-preview-orb i{display:block;width:58px;height:58px;border-radius:50%;background:radial-gradient(circle at 35% 28%,color-mix(in srgb,var(--blue) 42%,white),var(--blue) 75%);box-shadow:0 10px 34px color-mix(in srgb,var(--blue) 22%,transparent);animation:bxPreviewBreathe 7s ease-in-out infinite}
@keyframes bxPreviewPulse{0%,100%{transform:scale(.94);opacity:.55}50%{transform:scale(1.08);opacity:1}}
@keyframes bxPreviewBreathe{0%,100%{transform:scale(.84)}50%{transform:scale(1)}}
.bx-preview-kicker{font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.1em;color:var(--blue)}
.bx-preview h2{margin:7px 0 0;font-size:calc(28px*var(--ts,1));font-weight:650;letter-spacing:-.035em;color:var(--ink)}
.bx-preview-desc{margin:4px 0 18px;font-size:calc(15px*var(--ts,1));color:var(--ink-2);font-variant-numeric:tabular-nums}
.bx-preview-rhythm{display:flex;flex-direction:column;gap:5px;width:100%;padding:13px 12px;margin:0 0 18px;border-radius:12px;background:color-mix(in srgb,var(--panel-bg) 76%,transparent);font-size:calc(13px*var(--ts,1));color:var(--ink-2)}
.bx-preview-rhythm i{font-style:normal;color:var(--mute)}
.bx-preview>.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;border-radius:999px}
.bx-preview>.btn svg{width:15px;height:15px}
.bx-preview .br-note{margin:13px 0 0;font-size:calc(12px*var(--ts,1));line-height:1.45;color:var(--mute)}
@media(max-width:760px){.bx-layout{grid-template-columns:1fr;gap:18px}.bx-preview{position:static;order:2}.bx-preview-orb{width:90px;height:90px;margin-bottom:15px}.bx-preview-orb i{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){.bx-preview-orb::before,.bx-preview-orb i{animation:none}}

/* Desktop: one clear reading flow, with the session summary condensed above the choices. */
@media(min-width:900px) and (pointer:fine){
  .bx-layout{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .bx-preview{position:static;order:1;display:grid;width:100%;box-sizing:border-box;grid-template-columns:minmax(230px,1.15fr) minmax(220px,1fr) minmax(190px,220px);grid-template-areas:"main rhythm start" "note note note";gap:14px 24px;align-items:center;margin:8px 0 4px;padding:20px 24px;text-align:left}
  .bx-preview-main{grid-area:main;display:grid;grid-template-columns:60px minmax(0,1fr);column-gap:16px;align-items:center;min-width:0}
  .bx-preview-orb{grid-column:1;grid-row:1/4;width:50px;height:50px;margin:0}
  .bx-preview-orb::before{inset:-8px}
  .bx-preview-orb i{width:28px;height:28px}
  .bx-preview-copy{grid-column:2;grid-row:1/4;display:flex;flex-direction:column;align-items:flex-start;min-width:0;text-align:left}
  .bx-preview-kicker{display:block;margin-bottom:3px;font-size:calc(11px*var(--ts,1))}
  .bx-preview h2{margin:0;font-size:calc(20px*var(--ts,1))}
  .bx-preview-desc{margin:2px 0 0;font-size:calc(13px*var(--ts,1))}
  .bx-preview-rhythm{grid-area:rhythm;display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:auto;margin:0;padding:0 0 0 20px;border-left:1px solid var(--hair-2);background:none;font-size:calc(12px*var(--ts,1))}
  .bx-preview-rhythm-label{font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
  .bx-preview-sound{color:var(--mute)}
  .bx-preview>.btn{grid-area:start;width:100%;min-height:46px;margin:0;padding:10px 16px;font-size:calc(15px*var(--ts,1));line-height:1.2;white-space:nowrap}
  .bx-preview .br-note{grid-area:note;width:100%;box-sizing:border-box;margin:0;padding-top:10px;border-top:1px solid var(--hair-2);font-size:calc(11px*var(--ts,1));line-height:1.4;text-align:left}
  .bx-config .bx-sec:first-child{margin-top:22px}
  .bx-config .bx-sec{margin-top:30px}
  .bx-config .bx-sh{align-items:center;margin-bottom:14px}
  .bx-config .bx-n{width:21px;height:21px;font-size:calc(11px*var(--ts,1))}
  .bx-config .bx-opt{position:relative;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
  .bx-config .bx-opt:hover{transform:translateY(-1px)}
  .bx-config .bx-opt[aria-pressed="true"]{background:color-mix(in srgb,var(--blue) 7%,var(--card-bg));box-shadow:0 0 0 1px var(--blue),0 8px 18px -16px color-mix(in srgb,var(--blue) 65%,transparent)}
  .bx-config .bx-opt[aria-pressed="true"]::after{content:"✓";position:absolute;top:12px;right:12px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--blue-fill,var(--blue));color:#fff;font-size:calc(12px*var(--ts,1));font-weight:700}
  .bx-config .bx-sec:first-child .bx-opt{min-height:142px}
  .bx-config .bx-sec:nth-child(2) .bx-opt{min-height:82px;justify-content:center}
}

/* ---- tx-css ---- */
.tx{max-width:680px}
.tx-eye{display:flex;align-items:center;gap:8px;margin:14px 0 8px;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--c)}
.tx-eye i{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;font-style:normal;background:color-mix(in srgb,var(--c) 14%,transparent)}
.tx-eye svg{width:14px;height:14px}
.tx-eye em{font-style:normal;font-weight:500;color:var(--mute)}
.tx-title{margin:0;font-size:calc(clamp(28px,4.6vw,38px)*var(--ts,1));font-weight:700;letter-spacing:-.035em;line-height:1.1;color:var(--ink)}
.tx-lvl{margin:24px 0 0;padding:14px 16px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.tx-lab{display:block;margin:0 0 8px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.tx-lvl .seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;padding:3px;border-radius:11px}
.tx-lvl .seg button{min-width:0;padding:8px 6px;border-radius:8px;font-size:calc(13px*var(--ts,1));font-weight:600;white-space:normal;line-height:1.2}
.tx-lvl .tx-desc{margin:8px 2px 0;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.tx-sec{margin-top:32px}
.tx-h{margin:0 0 10px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.tx-lead{margin:0;max-width:34em;font-size:calc(clamp(20px,2.6vw,23px)*var(--ts,1));font-weight:600;line-height:1.35;letter-spacing:-.022em;color:var(--ink);text-wrap:pretty}
.tx-body{margin:12px 0 0;max-width:38em;font-size:calc(17px*var(--ts,1));line-height:1.65;color:var(--ink-2)}
.tx-body:empty{display:none}
.tx-prods{display:flex;flex-wrap:wrap;gap:8px}
.tx-prod{display:inline-flex;align-items:center;gap:10px;padding:7px 12px 7px 7px;border-radius:12px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .15s}
.tx-prod:hover{border-color:var(--c)}
.tx-prod:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.tx-prod i{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-style:normal;background:var(--tile-bg);color:var(--ink-2)}
.tx-prod i svg{width:16px;height:16px}
.tx-prod>svg{width:12px;height:12px;color:var(--mute)}
.tx-say{margin-top:32px;padding:18px 20px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.tx-say-h{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.tx-av{flex:none;width:26px;height:30px;background:var(--am-present) center/contain no-repeat}
.tx-q{margin:0;font-size:calc(17px*var(--ts,1));font-weight:500;line-height:1.5;letter-spacing:-.012em;color:var(--ink)}
.tx-ask{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.tx-ask b{display:block;margin-bottom:2px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.tx-rel{margin-top:36px}
.tx-relh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 10px}
.tx-relh h2{margin:0;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.tx-src{display:block;margin-top:28px;font-size:calc(12px*var(--ts,1));line-height:1.5;color:var(--mute)}
@media (pointer:coarse){.tx-q{font-size:calc(17px*var(--ts,1))}.tx-ask{font-size:calc(17px*var(--ts,1))}}

@media(min-width:900px) and (pointer:fine){
  /* Group the product families so models read as choices within each family. */
  .tx-where{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:1180px}
  .tx-wr{min-width:0;padding:14px 16px;border:1px solid var(--hair-2);border-radius:16px;background:var(--panel-bg);gap:10px}
  .tx-prod{width:100%;justify-content:flex-start;padding:0 0 10px;border:0;border-bottom:1px solid var(--hair-2);border-radius:0;background:transparent;font-size:calc(13px*var(--ts,1))}
  .tx-prod:hover{color:var(--c)}
  .tx-prod>svg{margin-left:auto}
  .tx-mdls{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:6px}
  .tx-mdl{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:7px 9px;border-radius:9px;background:var(--card-bg);font-size:calc(13px*var(--ts,1));text-align:left}
  .tx-mdl::after{content:"›";flex:none;color:var(--mute);font-size:calc(17px*var(--ts,1));line-height:1}
  .tx-mdl:hover{background:var(--blue-soft)}
}

@media(min-width:900px) and (pointer:fine){
  .tx-prod{gap:12px;min-height:52px}
  .tx-prod .cat-pic{flex:none;width:48px;height:40px;border-radius:10px;overflow:hidden;background:var(--card-bg);border:1px solid var(--hair-2)}
  .tx-prod .cat-pic img{width:100%;height:100%;object-fit:contain;padding:2px;box-sizing:border-box}
  .tx-prod .cat-ico{flex:none;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--card-bg);border:1px solid var(--hair-2);color:var(--ink-2)}
  .tx-prod .cat-ico svg{width:20px;height:20px}
  .tx-prod-name{font-size:calc(15px*var(--ts,1));font-weight:650;letter-spacing:-.015em}
  .tx-mdl{min-height:34px}
}

/* ---- dz-css ---- */
.dz-sub{max-width:36em}
.dz-prog{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 30px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.dz-prog b{color:var(--ink);font-weight:600}
.dz-bar{flex:1 1 160px;max-width:260px;height:5px;border-radius:99px;background:var(--seg-bg);overflow:hidden}
.dz-bar i{display:block;height:100%;border-radius:inherit;background:#34C759;transition:width .4s var(--ease)}
.dz-prog .link-btn{font-size:calc(13px*var(--ts,1))}

.dz-spot{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;margin:24px 0 16px;padding:24px 26px;border-radius:20px;background:radial-gradient(110% 155% at 100% 0%,var(--blue-soft),transparent 58%),linear-gradient(135deg,var(--card-bg),color-mix(in srgb,var(--blue-soft) 20%,var(--card-bg)));border:1px solid var(--hair-2);box-shadow:var(--card-shadow);animation:cardIn .45s var(--ease-soft) both}
.dz-kick{display:block;margin:0 0 6px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.dz-from{display:block;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.dz-from em{font-style:normal;font-weight:600;color:#1E9A4D}
:root.dark .dz-from em{color:#5FD582}
.dz-spot h2{margin:6px 0 8px;font-size:calc(clamp(22px,2.8vw,28px)*var(--ts,1));font-weight:700;letter-spacing:-.03em;line-height:1.15;color:var(--ink)}
.dz-spot p{margin:0;max-width:34em;font-size:calc(17px*var(--ts,1));line-height:1.55;color:var(--ink-2)}
.dz-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.dz-acts .btn{display:inline-flex;align-items:center;gap:7px}
.dz-acts .btn svg{width:15px;height:15px}
.dz-spot-pic{width:170px;height:120px;display:grid;place-items:center;border-radius:16px;background:radial-gradient(ellipse at 50% 60%,color-mix(in srgb,var(--blue) 13%,transparent),transparent 72%)}
.dz-spot-pic img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 10px 14px rgba(0,0,0,.16))}
html.dark .dz-spot-pic img.inv,html.dark .dz-cpic img.inv{filter:invert(1)}

.dz-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin:0 0 12px}
.dz-h{margin:0;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.dz-head .dx-search{margin:0;flex:1 1 240px;max-width:340px}
.dz-cats .dx-cat{width:150px;gap:10px;padding:12px;border-color:var(--hair-2);box-shadow:none}
.dz-cats .dx-cat.on,.dz-cats .dx-cat.on:hover{background:color-mix(in srgb,var(--blue) 6%,var(--card-bg));border-color:var(--blue);color:var(--ink);box-shadow:0 0 0 1px var(--blue)}
.dz-cats .dx-cat.on small{color:var(--mute)}
.dz-rail{position:relative;margin:0 0 22px}
.dz-rail .dx-cats{margin:0;padding:4px 2px 10px;-webkit-mask-image:none;mask-image:none}
.dz-rail::before,.dz-rail::after{content:"";position:absolute;top:0;bottom:6px;width:64px;z-index:1;pointer-events:none;opacity:0;transition:opacity .2s}
.dz-rail::before{left:0;background:linear-gradient(90deg,var(--content-bg) 15%,transparent)}
.dz-rail::after{right:0;background:linear-gradient(270deg,var(--content-bg) 15%,transparent)}
.dz-rail.l::before,.dz-rail.r::after{opacity:1}
.dz-arr{position:absolute;top:50%;z-index:2;width:36px;height:36px;margin-top:-20px;border-radius:50%;border:1px solid var(--hair);background:var(--card-bg);color:var(--ink);box-shadow:0 4px 14px -4px rgba(0,0,0,.25);display:grid;place-items:center;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.dz-arr svg{width:15px;height:15px}
.dz-arr.l{left:-4px}.dz-arr.r{right:-4px}
.dz-rail.l .dz-arr.l,.dz-rail.r .dz-arr.r{opacity:1;pointer-events:auto}
.dz-arr:hover{transform:scale(1.06)}
@media (pointer:coarse){.dz-arr{width:44px;height:44px;margin-top:-24px}}
.dz-cpic{flex:none;width:52px;height:38px;display:grid;place-items:center;overflow:hidden;color:var(--ink-2)}
.dz-cpic img{display:block;width:100%;height:100%;object-fit:contain}
/* Pictures always stay inside their box (a max-height in % does not hold inside a grid cell) */
.ps-pic img,.ps-alt-pic img,.dy-pic img,.dz-spot-pic img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.dz-cpic:has(img),.ps-pic:has(img),.ps-alt-pic:has(img),.dy-pic:has(img),.dz-spot-pic:has(img){display:block}
.ps-alt-pic,.dy-pic{overflow:hidden}
.dz-cpic svg{width:22px;height:22px}
.dz-cbar{display:block;width:100%;height:3px;border-radius:99px;background:var(--seg-bg);overflow:hidden}
.dz-cbar i{display:block;height:100%;background:#34C759}

.dz-card .dx-card-head{margin-bottom:14px}
.dz-list{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:9px}
.dz-list li{display:flex;align-items:center;gap:10px;font-size:calc(15px*var(--ts,1));font-weight:500;line-height:1.35;color:var(--ink)}
.dz-n{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:calc(12px*var(--ts,1));font-weight:600;color:var(--blue);background:var(--blue-soft)}
.dz-list li.done{color:var(--ink-2)}
.dz-list li.done .dz-n{background:#34C759;color:#fff}
.dz-n svg{width:11px;height:11px}
.dz-card .dx-card-foot .dz-all{color:#1E9A4D;font-weight:600}
:root.dark .dz-card .dx-card-foot .dz-all{color:#5FD582}
@media (max-width:600px){
  .dz-spot{grid-template-columns:1fr;padding:18px;margin:18px 0 28px}
  .dz-spot-pic{display:none}
  .dz-acts .btn{flex:1;justify-content:center}
  .dz-head .dx-search{max-width:none;flex-basis:100%}
}
@media (pointer:coarse){.dz-list li{font-size:calc(15px*var(--ts,1))}.dz-n{width:26px;height:26px}}

/* Demo mode */
.sheet:has(.dy-head){height:min(660px,100%);width:min(860px,100%);background:var(--app-bg)}
@media (min-width:601px){.sheet:has(.dy-head){border-radius:20px}}
.dy-head{flex:none;display:flex;align-items:center;gap:12px;padding:14px 16px 14px 18px;background:var(--sheet-head);border-bottom:1px solid var(--hair)}
.dy-pic{flex:none;width:56px;height:40px;display:grid;place-items:center;color:var(--ink-2)}
.dy-pic img{max-width:100%;max-height:100%;object-fit:contain}
html.dark .dy-pic img.inv{filter:invert(1)}
.dy-pic.ico{width:40px;border-radius:10px;background:var(--tile-bg)}
.dy-pic.ico svg{width:20px;height:20px}
.dy-title{flex:1;min-width:0}
.dy-title small{display:block;font-size:calc(12px*var(--ts,1));color:var(--mute)}
.dy-title b{display:block;font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.016em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dy-link{flex:none;border:0;background:none;padding:7px 10px;border-radius:9px;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue);cursor:pointer}
.dy-link:hover{background:var(--hover-bg)}
.dy-x{border-radius:50%}
.dy-steps{flex:none;display:flex;gap:6px;padding:12px 18px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--hair-2)}
.dy-steps::-webkit-scrollbar{display:none}
.dy-st{flex:none;display:inline-flex;align-items:center;gap:8px;max-width:230px;padding:5px 13px 5px 5px;border-radius:999px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--ink-2);cursor:pointer;transition:border-color .15s,box-shadow .15s}
.dy-st:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--hair))}
.dy-st.on{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);color:var(--ink);font-weight:600}
.dy-st:focus-visible,.dy-link:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.dy-dot{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:calc(12px*var(--ts,1));font-weight:700;background:var(--seg-bg);color:var(--ink-2)}
.dy-dot svg{width:12px;height:12px}
.dy-st.on .dy-dot{background:var(--blue-fill,var(--blue));color:#fff}
.dy-st.done:not(.on) .dy-dot{background:#34C759;color:#fff}
.dy-st-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dy-body{flex:1;min-height:0;overflow-y:auto;display:flex;padding:30px 32px 26px;overscroll-behavior:contain}
.dy-stage{margin:auto 0;width:100%;max-width:600px;animation:psIn .3s var(--ease-soft) both}
.dy-kick{display:block;margin:0 0 8px;font-size:calc(12px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.dy-stage h2{margin:0;font-size:calc(clamp(26px,3.6vw,34px)*var(--ts,1));font-weight:700;letter-spacing:-.032em;line-height:1.12;color:var(--ink);text-wrap:balance}
.dy-do{margin:14px 0 0;max-width:34em;font-size:calc(clamp(17px,2.2vw,20px)*var(--ts,1));line-height:1.55;letter-spacing:-.012em;color:var(--ink);text-wrap:pretty}
.dy-coach{display:flex;align-items:flex-start;gap:12px;margin-top:26px;padding:14px 16px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.dy-av{flex:none;width:28px;height:32px;background:var(--am-present) center/contain no-repeat}
.dy-coach b{display:block;margin-bottom:2px;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.dy-coach div span{font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.dy-tips{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:10px}
.dy-tips li{padding:14px 16px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink)}
.dy-nav{flex:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));background:var(--sheet-head);border-top:1px solid var(--hair)}
.dy-nav .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:120px;border-radius:12px}
.dy-nav .btn svg{width:14px;height:14px}
.dy-nav .btn:disabled{visibility:hidden}
.dy-up{min-width:0;text-align:center;font-size:calc(13px*var(--ts,1));color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dy-up b{font-weight:600;color:var(--ink-2)}
@media (max-width:600px){
  .sheet:has(.dy-head){height:94%}
  .dy-link{display:none}
  .dy-st{padding:4px}
  .dy-st-t{display:none}
  .dy-st.on{padding-right:12px}
  .dy-st.on .dy-st-t{display:inline}
  .dy-body{padding:22px 18px}
  .dy-up{display:none}
  .dy-nav{grid-template-columns:1fr 1fr}
  .dy-nav .btn{min-width:0;width:100%}
}
@media (pointer:coarse){.dy-st{min-height:40px}.dy-coach div span{font-size:calc(15px*var(--ts,1))}}
@media (prefers-reduced-motion:reduce){.dy-stage{animation:none}}

/* ---- vx-css ---- */
/* Videos page */
.vd-modal{position:fixed;inset:0;z-index:3000;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top,0px)) 12px max(12px,env(safe-area-inset-bottom,0px))}
.vx-sub{max-width:36em}
.vx-filt{display:flex;flex-wrap:wrap;gap:12px 24px;margin:22px 0 4px}
.vx-f{display:flex;align-items:center;gap:10px}
.vx-lab{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.vx-count{margin:18px 2px 12px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.vx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.vx-card{display:flex;flex-direction:column;width:100%;padding:0;overflow:hidden;border-radius:16px;border:1px solid var(--hair-2);background:var(--card-bg);box-shadow:var(--card-shadow);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .25s,transform .25s var(--ease-soft)}
.vx-card:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--hair));box-shadow:var(--card-shadow-hover)}
.vx-card:active{transform:scale(.99)}
.vx-card:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.vx-poster{position:relative;display:block;aspect-ratio:16/9;background:var(--tile-bg);border-bottom:1px solid var(--hair-2)}
.vx-poster img{position:absolute;left:20%;top:16%;width:60%;height:68%;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.14))}
html.dark .vx-poster img.inv{filter:invert(1)}
.vx-poster>i{position:absolute;inset:0;display:grid;place-items:center;font-style:normal;color:var(--mute)}
.vx-poster>i svg{width:40px;height:40px}
.vx-play{position:absolute;left:12px;bottom:12px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--blue-fill,var(--blue));color:#fff;box-shadow:0 6px 14px -6px rgba(0,113,227,.7)}
.vx-play svg{width:15px;height:15px;margin-left:2px}
.vx-len{position:absolute;right:12px;bottom:12px;padding:3px 8px;border-radius:99px;background:rgba(0,0,0,.62);color:#fff;font-size:calc(12px*var(--ts,1));font-weight:600;font-variant-numeric:tabular-nums}
.vx-body{display:flex;flex-direction:column;gap:5px;padding:14px 16px 16px}
.vx-meta{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--blue)}
.vx-body b{font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.018em;line-height:1.3;color:var(--ink)}
.vx-d{font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vx-empty{margin-top:18px;padding:22px;border-radius:16px;border:1px dashed var(--hair);color:var(--mute);font-size:calc(15px*var(--ts,1));text-align:center}
.vx-empty .link-btn{font-size:calc(15px*var(--ts,1));font-weight:600}

/* Video window */
.vx-dlg{width:min(540px,100%);max-height:100%;display:flex;flex-direction:column;overflow:hidden;border-radius:20px;background:var(--app-bg);box-shadow:0 20px 60px rgba(0,0,0,.45)}
.vx-dh{flex:none;display:flex;align-items:flex-start;gap:12px;padding:18px 18px 14px 22px;background:var(--sheet-head);border-bottom:1px solid var(--hair)}
.vx-dh>div{flex:1;min-width:0}
.vx-dh small{display:block;margin-bottom:3px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--blue)}
.vx-dh b{display:block;font-size:calc(20px*var(--ts,1));font-weight:700;letter-spacing:-.024em;line-height:1.25;color:var(--ink)}
.vx-dh .btn{border-radius:50%}
.vx-db{overflow:auto;padding:18px 22px 22px}
.vx-dd{margin:0 0 18px;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.vx-yt{position:relative;width:100%;aspect-ratio:16/9;margin:0 0 18px;overflow:hidden;border-radius:14px;background:#000}
.vx-yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vx-qrbox{display:flex;align-items:center;gap:18px;margin-bottom:18px;padding:16px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.vx-qr{flex:none;width:132px;height:132px;padding:6px;border-radius:12px;background:#fff;border:1px solid var(--hair-2)}
.vx-qr svg{display:block;width:100%;height:100%}
.vx-qrbox b{display:block;margin-bottom:4px;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.vx-qrbox span{font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.vx-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.vx-acts .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;border-radius:12px}
.vx-acts .btn svg{width:15px;height:15px}
.vx-hint{margin:14px 2px 0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--mute)}
@media (max-width:600px){
  .vx-filt{flex-direction:column;align-items:stretch;gap:10px}
  .vx-f{flex-direction:column;align-items:stretch;gap:6px}
  .vx-qrbox{flex-direction:column;text-align:center}
  .vx-acts{grid-template-columns:1fr}
}
@media (pointer:coarse){.vx-d{font-size:calc(15px*var(--ts,1))}}

/* ---- gx-css ---- */
.gx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.gx-card{display:flex;flex-direction:column;gap:8px;min-height:200px;padding:18px 20px;border-radius:16px;border:1px solid var(--hair-2);background:var(--card-bg);box-shadow:var(--card-shadow);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .25s}
.gx-card:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--hair));box-shadow:var(--card-shadow-hover)}
.gx-card:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.gx-ct{display:flex;align-items:center;gap:8px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.gx-cico{flex:none;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--tile-bg);color:var(--ink-2)}
.gx-cico svg{width:15px;height:15px}
.gx-ctag{font-weight:600;color:var(--ink-2)}
.gx-new{padding:2px 8px;border-radius:99px;background:var(--blue-fill,var(--blue));color:#fff;font-size:calc(11px*var(--ts,1));font-weight:600}
.gx-cdate{margin-left:auto;white-space:nowrap}
.gx-card b{margin-top:6px;font-size:calc(17px*var(--ts,1));font-weight:650;letter-spacing:-.022em;line-height:1.25;color:var(--ink)}
.gx-cs{font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.gx-cf{margin-top:auto;padding-top:12px;border-top:1px solid var(--hair-2);display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.gx-cst{display:inline-flex;align-items:center;gap:5px;font-weight:600;color:var(--blue);white-space:nowrap}
.gx-cst svg{width:13px;height:13px}
.gx-cst.done{color:#1E9A4D}
:root.dark .gx-cst.done{color:#5FD582}

/* Guide sheet */
.sheet:has(.gx-head){height:min(760px,100%);width:min(900px,100%);background:var(--app-bg)}
@media (min-width:601px){.sheet:has(.gx-head){border-radius:20px}}
.gx-head{flex:none;display:flex;align-items:flex-start;gap:14px;padding:18px 18px 16px 22px;background:var(--sheet-head);border-bottom:1px solid var(--hair)}
.gx-ico{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--tile-bg);color:var(--ink-2)}
.gx-ico svg{width:21px;height:21px}
.gx-title{flex:1;min-width:0}
.gx-title small{display:block;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.gx-title h1{margin:3px 0 0;font-size:calc(22px*var(--ts,1));font-weight:700;letter-spacing:-.026em;line-height:1.2;color:var(--ink)}
.gx-x{flex:none;border-radius:50%}
.gx-steps{flex:none;display:flex;gap:6px;padding:12px 18px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--hair-2)}
.gx-steps::-webkit-scrollbar{display:none}
.gx-st{flex:none;display:inline-flex;align-items:center;gap:8px;max-width:220px;padding:5px 13px 5px 5px;border-radius:999px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--ink-2);cursor:pointer;transition:border-color .15s,box-shadow .15s}
.gx-st:hover{border-color:color-mix(in srgb,var(--blue) 45%,var(--hair))}
.gx-st.on{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);color:var(--ink);font-weight:600}
.gx-st:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.gx-dot{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:calc(12px*var(--ts,1));font-weight:700;background:var(--seg-bg);color:var(--ink-2)}
.gx-dot svg{width:12px;height:12px}
.gx-st.on .gx-dot{background:var(--blue-fill,var(--blue));color:#fff}
.gx-st.seen:not(.on) .gx-dot{background:#34C759;color:#fff}
.gx-st-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gx-body{flex:1;min-height:0;overflow-y:auto;padding:24px 28px 28px;overscroll-behavior:contain}
.gx-pane{max-width:680px}
.gx-kick{display:block;margin:0 0 4px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--c,var(--blue))}
.gx-lead p{margin:0;font-size:calc(clamp(18px,2.4vw,21px)*var(--ts,1));font-weight:600;line-height:1.35;letter-spacing:-.02em;color:var(--ink);text-wrap:pretty}
.gx-fun{padding:14px 16px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.gx-fun b{display:block;margin-bottom:3px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.gx-fun p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.gx-sh{display:flex;align-items:flex-start;gap:12px;margin-top:4px}
.gx-sh>i{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-style:normal;color:var(--c);background:color-mix(in srgb,var(--c) 14%,transparent)}
.gx-sh>i svg{width:17px;height:17px}
.gx-sh h2{margin:0;font-size:calc(22px*var(--ts,1));font-weight:700;letter-spacing:-.026em;line-height:1.2;color:var(--ink)}
.gx-sh p{margin:4px 0 0;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.gx-note{max-width:680px;margin:26px 0 0;font-size:calc(12px*var(--ts,1));line-height:1.5;color:var(--mute)}
.gx-nav{flex:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));background:var(--sheet-head);border-top:1px solid var(--hair)}
.gx-nav .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:110px;max-width:280px;border-radius:12px;overflow:hidden;text-overflow:ellipsis}
.gx-nav .btn svg{flex:none;width:14px;height:14px}
.gx-nav .btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gx-nav .btn:disabled{visibility:hidden}
.gx-pos{min-width:0;text-align:center;font-size:calc(13px*var(--ts,1));color:var(--mute)}
@media (max-width:600px){
  .sheet:has(.gx-head){height:94%}
  .gx-head{padding:14px 14px 12px 16px}
  .gx-title h1{font-size:calc(20px*var(--ts,1))}
  .gx-st{padding:4px}.gx-st-t{display:none}
  .gx-st.on{padding-right:12px}.gx-st.on .gx-st-t{display:inline}
  .gx-body{padding:20px 18px 24px}
  .gx-pos{display:none}
  .gx-nav{grid-template-columns:1fr 1fr}
  .gx-nav .btn{min-width:0;max-width:none;width:100%}
}
@media (pointer:coarse){.gx-st{min-height:40px}}

/* ---- pf-css ---- */
/* Ally profile chat: a row under the Mac bubbles that opens a short chat built on Stefan's customer profiles */
.pf-row{display:flex;align-items:center;gap:12px;width:100%;margin-top:14px;padding:12px 14px;border-radius:14px;border:1px solid var(--hair-2);background:var(--card-bg);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .2s,transform .2s}
.pf-row:hover{border-color:color-mix(in srgb,var(--blue) 45%,transparent)}
.pf-row:active{transform:scale(.995)}
.pf-ri{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue)}
.pf-ri svg{width:18px;height:18px}
.pf-rt{flex:1;min-width:0}
.pf-rt b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.pf-rt small{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.pf-row>svg{flex:none;width:14px;height:14px;color:var(--mute)}
.pf-body{display:flex;flex-direction:column}
.sheet:has(.pf-body){width:min(1080px,100%);height:min(620px,100%)}
.sheet:has(.pf-body):has(.pf-result-grid){height:min(800px,100%)}
.sheet:has(.pf-body) .pf-body{padding:22px 28px}
@media(max-height:700px){.sheet:has(.pf-body){height:calc(100% - 12px)}.sheet:has(.pf-body):has(.pf-result-grid){height:calc(100% - 12px)}}
@media(max-width:720px){.sheet:has(.pf-body){height:94%;width:100%}.sheet:has(.pf-body) .pf-body{padding:18px 16px}}
.pf-log{display:flex;flex-direction:column;gap:12px;padding-bottom:8px}
.pf-msg{display:flex;align-items:flex-end;gap:10px;max-width:min(580px,94%);animation:pfIn .32s ease both}
.pf-msg.me{align-self:flex-end;flex-direction:row-reverse}
.pf-av{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--tile-bg) center/78% no-repeat;color:var(--blue)}
.pf-av svg{width:15px;height:15px}
.pf-av.am{background-image:var(--am-head)}
.pf-av.am svg{display:none}
.pf-bub{padding:10px 14px;border-radius:18px 18px 18px 6px;background:var(--panel-bg);border:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink)}
.pf-msg.me .pf-bub{background:var(--blue-fill,var(--blue));border-color:transparent;color:#fff;border-radius:18px 18px 6px 18px}
.pf-dots{display:inline-flex;gap:4px;padding:4px 2px}
.pf-dots i{width:6px;height:6px;border-radius:50%;background:var(--mute);animation:pfDot 1s infinite ease-in-out}
.pf-dots i:nth-child(2){animation-delay:.15s}.pf-dots i:nth-child(3){animation-delay:.3s}
.pf-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-left:40px;max-width:760px;animation:pfIn .32s ease both}
.pf-opt{display:inline-flex;flex-direction:column;align-items:flex-start;padding:8px 14px;border-radius:14px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .15s,color .15s}
.pf-opt small{font-size:calc(12px*var(--ts,1));font-weight:400;color:var(--mute)}
.pf-opt:hover{border-color:var(--blue);color:var(--blue)}
.pf-opt.ghost{border-style:dashed;color:var(--ink-2)}
.pf-card{margin-left:40px;width:min(820px,calc(100% - 40px));padding:20px;border-radius:18px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow);animation:pfIn .36s ease both}
.pf-result-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(260px,.95fr);gap:20px;align-items:start}
.pf-result-main,.pf-result-side{min-width:0}
.pf-result-side{padding-left:18px;border-left:1px solid var(--hair-2)}
.pf-k{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.pf-card h3{margin:4px 0 6px;font-size:calc(20px*var(--ts,1));font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.pf-card>p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pf-lab{display:block;margin:16px 0 8px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.pf-picks{display:grid;gap:8px}
.pf-pick{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:14px;border:1px solid var(--hair-2);background:var(--panel-bg);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .15s}
.pf-pick:hover{border-color:var(--blue)}
.pf-pick.main{background:var(--blue-soft);border-color:color-mix(in srgb,var(--blue) 30%,transparent)}
.pf-pick .model-ico{flex:none;width:52px!important;height:40px!important;margin:0!important;border-radius:10px;background:transparent}
.pf-pick .model-ico img{width:100%;height:100%;object-fit:contain}
.pf-pick .model-ico svg{width:22px;height:22px}
.pf-pt{flex:1;min-width:0}
.pf-pt small{display:block;font-size:calc(12px*var(--ts,1));color:var(--mute)}
.pf-pt b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.pf-pick>svg{flex:none;width:14px;height:14px;color:var(--mute)}
.pf-spec{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pf-spec-many{grid-template-columns:repeat(2,minmax(0,1fr))}
.pf-spec div{padding:10px 12px;border-radius:12px;background:var(--tile-bg)}
.pf-spec small{display:block;font-size:calc(11px*var(--ts,1));color:var(--mute)}
.pf-spec b{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));font-weight:600;line-height:1.3;color:var(--ink)}
.pf-tip{margin-top:14px;padding:12px 14px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.pf-tip small{display:block;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.pf-tip p{margin:4px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink)}
.pf-ask{margin:12px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pf-ask b{color:var(--ink)}
.pf-acc{display:flex;flex-wrap:wrap;gap:6px}
.pf-acc span{padding:4px 10px;border-radius:999px;border:1px solid var(--hair);font-size:calc(13px*var(--ts,1));color:var(--ink-2)}
@keyframes pfIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes pfDot{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(max-width:760px){.pf-result-grid{grid-template-columns:1fr;gap:0}.pf-result-side{padding:0;border:0}.pf-card{width:100%}}
@media(max-width:600px){.pf-spec{grid-template-columns:repeat(3,minmax(0,1fr))}.pf-spec-many{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-card,.pf-opts{margin-left:0}.pf-opts{grid-template-columns:1fr}.pf-card{padding:16px}}
@media(max-width:380px){.pf-spec,.pf-spec-many{grid-template-columns:1fr}}
@media(max-height:520px){.overlay{padding:8px}.sheet,.sheet:has(.pf-body){height:100%;max-height:100%}.sheet-body{min-height:0;overflow-y:auto}}
@media(max-height:520px) and (max-width:600px){.overlay{align-items:stretch;padding:0}.sheet,.sheet:has(.pf-body){width:100%;height:100%;max-height:100%;border-radius:0}.sheet-head{padding:10px 14px}.sheet-body{padding:12px 16px}.sheet-foot{flex-direction:row;align-items:center;text-align:left;padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.pf-msg,.pf-opts,.pf-card{animation:none}.pf-dots i{animation:none}}

/* ---- lc-css ---- */
.ls-btn{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:5px 12px 5px 9px;border-radius:999px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.ls-btn svg{width:15px;height:15px}
.ls-btn:hover{border-color:var(--blue)}
.ls-btn.on{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}
.ls-btn .ls-eq{display:none;align-items:flex-end;gap:2px;height:12px}
.ls-btn .ls-eq i{width:2.5px;border-radius:2px;background:currentColor;animation:lsEq .9s infinite ease-in-out}
.ls-btn .ls-eq i:nth-child(2){animation-delay:.2s}.ls-btn .ls-eq i:nth-child(3){animation-delay:.4s}
.ls-btn.on .ls-eq{display:inline-flex}.ls-btn.on svg{display:none}
@keyframes lsEq{0%,100%{height:3px}50%{height:12px}}
.ps-title .ls-btn{margin-top:10px}
.sheet:has(.co-head){width:min(1180px,100%);height:94%}
#panel:has(.co-head){display:flex;flex-direction:column}
#panel:fullscreen{width:100%;height:100%;max-height:none;border-radius:0;}
.co-head{flex:none;display:flex;gap:14px;padding:20px 26px 14px;background:var(--sheet-head);border-bottom:1px solid var(--hair)}
.co-title{flex:1;min-width:0}
.co-eye{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.co-title h1{font-size:calc(clamp(22px,2.4vw,30px)*var(--ts,1));font-weight:700;letter-spacing:-.028em;line-height:1.15;color:var(--ink)}
.co-title p{margin:0;font-size:calc(15px*var(--ts,1));color:var(--mute)}
.co-acts{display:flex;align-items:center;gap:8px}
.co-acts .btn.icon{border-radius:50%}
.co-acts .ls-btn{margin:0}
.co-rail{flex:none;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:10px 26px;border-bottom:1px solid var(--hair-2)}
.co-rail::-webkit-scrollbar{display:none}
.co-pill{flex:none;display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 7px;border-radius:999px;border:0;background:transparent;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink-2);cursor:pointer;transition:background .2s,color .2s}
.co-pill i{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:calc(11px*var(--ts,1));background:var(--tile-bg);color:var(--ink-2)}
.co-pill:hover{background:var(--panel-bg)}
.co-pill.on{background:var(--ink);color:var(--app-bg)}
.co-pill.on i{background:var(--app-bg);color:var(--ink)}
.co-body{flex:1;overflow:auto;padding:26px 26px 30px}
.co-ask{display:inline-block;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.co-q{margin:6px 0 24px;max-width:30em;font-size:calc(clamp(21px,2.5vw,29px)*var(--ts,1));font-weight:700;letter-spacing:-.025em;line-height:1.22;color:var(--ink);text-wrap:balance}
.co-bars{display:grid;gap:10px;margin-bottom:26px}
.co-bar{display:grid;grid-template-columns:minmax(120px,210px) 1fr auto;align-items:center;gap:14px}
.co-bar>span{font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.co-bar>span small{display:block;font-size:calc(12px*var(--ts,1));font-weight:400;color:var(--mute)}
.co-track{height:34px;border-radius:10px;background:var(--tile-bg);overflow:hidden}
.co-fill{height:100%;width:0;border-radius:10px;background:color-mix(in srgb,var(--blue) 35%,var(--tile-bg));transition:width .8s cubic-bezier(.2,.8,.2,1)}
.co-bar.hot .co-fill{background:var(--blue-fill,var(--blue))}
.co-bar>b{min-width:84px;text-align:right;font-size:calc(17px*var(--ts,1));font-weight:700;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.co-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-bottom:26px}
.co-col{padding:20px;border-radius:18px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.co-col.hot{background:var(--blue-soft);border-color:color-mix(in srgb,var(--blue) 30%,transparent)}
.co-col small{display:block;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--mute)}
.co-col strong{display:block;margin:4px 0 2px;font-size:calc(clamp(24px,2.6vw,32px)*var(--ts,1));font-weight:700;letter-spacing:-.03em;line-height:1.1;color:var(--ink)}
.co-col h3{margin:0 0 12px;font-size:calc(17px*var(--ts,1));font-weight:600;color:var(--ink)}
.co-col ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.co-col li{position:relative;padding-left:16px;font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
.co-col li::before{content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--blue-fill,var(--blue))}
.co-take{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.co-box{padding:18px 20px;border-radius:16px;border:1px solid var(--hair-2);background:var(--card-bg)}
.co-box.say{background:var(--panel-bg)}
.co-box small{display:block;margin-bottom:6px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.co-box p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink)}
.co-ref{margin:16px 2px 0;font-size:calc(12px*var(--ts,1));color:var(--mute)}
.co-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border-top:1px solid var(--hair)}
.co-mv{display:flex;align-items:center;gap:10px;min-width:0;max-width:40%;padding:8px 10px;border:0;border-radius:12px;background:transparent;font:inherit;color:inherit;text-align:left;cursor:pointer}
.co-mv:hover:not(:disabled){background:var(--panel-bg)}
.co-mv:disabled{opacity:.35;cursor:default}
.co-mv.next{text-align:right;flex-direction:row-reverse}
.co-mv svg{flex:none;width:15px;height:15px;color:var(--blue)}
.co-mv small{display:block;font-size:calc(12px*var(--ts,1));color:var(--mute)}
.co-mv b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:720px){
  .co-head,.co-body{padding-left:16px;padding-right:16px}.co-rail{padding:10px 16px}
  .co-bar{grid-template-columns:1fr auto;gap:6px 10px}.co-track{grid-column:1/-1;order:3;height:26px}
  .co-take{grid-template-columns:1fr}.co-mv small{display:none}
}

.cp-card{margin-top:16px;padding:18px 20px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.cp-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.cp-draft{padding:2px 8px;border-radius:999px;background:var(--tile-bg);font-size:calc(11px*var(--ts,1));font-weight:600;color:var(--mute)}
.cp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cp-it{display:flex;gap:12px}
.cp-ico{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--card-bg);border:1px solid var(--hair-2);color:var(--blue)}
.cp-ico svg{width:17px;height:17px}
.cp-it b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.cp-it p{margin:3px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
@media(max-width:720px){.cp-grid{grid-template-columns:1fr}}

/* Read aloud: highlight and player */
.ls-hl{scroll-margin:24px 0 120px;background:color-mix(in srgb,var(--blue) 13%,transparent)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--blue) 13%,transparent);border-radius:6px;transition:background .25s,box-shadow .25s}
.ls-player{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:5000;display:flex;align-items:center;gap:12px;width:min(580px,calc(100% - 24px));padding:8px 8px 8px 10px;border-radius:22px;background:var(--card-bg);border:1px solid var(--hair);box-shadow:0 20px 44px -14px rgba(0,0,0,.38);opacity:0;transform:translate(-50%,16px);transition:opacity .25s ease,transform .3s cubic-bezier(.2,.8,.2,1)}
.ls-player.on{opacity:1;transform:translate(-50%,0)}
body:has(#ov.open) .ls-player{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
.ls-pav{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft) center/80% no-repeat;color:var(--blue)}
.ls-pav svg{width:17px;height:17px}.ls-pav.am{background-image:var(--am-head);background-color:var(--tile-bg)}.ls-pav.am svg{display:none}
.ls-pt{flex:1;min-width:0}
.ls-pt small{display:block;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--blue)}
.ls-pt b{display:block;margin:1px 0 5px;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ls-prog{display:block;height:3px;border-radius:3px;background:var(--tile-bg);overflow:hidden}
.ls-prog i{display:block;height:100%;width:0;background:var(--blue-fill,var(--blue));transition:width .4s ease}
.ls-pc{flex:none;display:flex;align-items:center;gap:2px}
.ls-pc button{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:var(--ink-2);cursor:pointer;transition:background .15s,color .15s}
.ls-pc button:hover{background:var(--panel-bg);color:var(--ink)}
.ls-pc button svg{width:16px;height:16px}
.ls-pc .ls-pp{width:40px;height:40px;margin:0 2px;background:var(--blue-fill,var(--blue));color:#fff}
.ls-pc .ls-pp:hover{background:var(--blue-fill,var(--blue));color:#fff;filter:brightness(1.08)}
.ls-pc .ls-pp svg{width:17px;height:17px}
.ls-pc .ls-sp{width:auto;min-width:44px;padding:0 10px;border-radius:999px;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:700;color:var(--ink);background:var(--tile-bg)}
@media(max-width:520px){.ls-pt small{display:none}.ls-pc button{width:32px;height:32px}.ls-pav{display:none}}

/* Practice mode, round 2 */
.co-head{position:relative;align-items:center}
.co-num{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--blue-fill,var(--blue));color:#fff;font-size:calc(22px*var(--ts,1));font-weight:700;letter-spacing:-.02em}
.co-title h1{margin:2px 0 0}
.co-prog{position:absolute;left:0;right:0;bottom:-1px;height:3px;background:transparent}
.co-prog i{display:block;height:100%;background:var(--blue-fill,var(--blue));transition:width .4s ease}
.co-sw{display:inline-flex;align-items:center;gap:8px;margin-right:4px;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink-2);cursor:pointer;user-select:none}
.co-sw input{position:absolute;opacity:0;width:1px;height:1px}
.co-swt{position:relative;width:32px;height:19px;border-radius:999px;background:var(--seg-bg,rgba(0,0,0,.12));transition:background .2s}
.co-swt::after{content:"";position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .2s}
.co-sw input:checked+.co-swt{background:var(--blue-fill,var(--blue))}
.co-sw input:checked+.co-swt::after{transform:translateX(13px)}
.co-sw input:focus-visible+.co-swt{outline:2px solid var(--blue);outline-offset:2px}
.co-pill.seen i{background:color-mix(in srgb,#34C759 18%,transparent);color:#1F9D47}
.co-pill i svg{width:11px;height:11px}
.co-qrow{display:flex;align-items:flex-start;gap:14px}
.co-av{flex:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft) center/80% no-repeat;color:var(--blue)}
.co-av svg{width:20px;height:20px}.co-av.am{background-image:var(--am-head);background-color:var(--tile-bg)}.co-av.am svg{display:none}
.co-qb{max-width:760px;padding:18px 22px;border-radius:22px 22px 22px 8px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.co-qb .co-q{margin:4px 0 0}
.co-reveal{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:22px 0 0 60px}
.co-reveal p{margin:0;font-size:calc(15px*var(--ts,1));color:var(--mute)}
.co-reveal .btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px}
.co-reveal .btn svg{width:17px;height:17px}
.co-reveal small{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.co-ans{display:none;margin-top:28px}
.co-body.shown .co-reveal{display:none}
.co-body.shown .co-ans{display:block;animation:coIn .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes coIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.co-follow{display:flex;align-items:flex-start;gap:12px;margin-top:14px;padding:16px 18px;border-radius:16px;border:1px dashed var(--hair)}
.co-fi{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue)}
.co-fi svg{width:16px;height:16px}
.co-follow small{display:block;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.co-follow p{margin:3px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink)}
.co-keys{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.co-nx{display:inline-flex;align-items:center;gap:6px;max-width:55%;border-radius:999px}
.co-nx span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-nx svg{flex:none;width:14px;height:14px}
#panel:fullscreen .co-body{padding:40px 56px}
#panel:fullscreen .co-q{font-size:calc(clamp(28px,3.2vw,44px)*var(--ts,1))}
#panel:fullscreen .co-bar>span{font-size:calc(17px*var(--ts,1))}
#panel:fullscreen .co-track{height:44px}
#panel:fullscreen .co-bar>b{font-size:calc(22px*var(--ts,1))}
#panel:fullscreen .co-box p,#panel:fullscreen .co-follow p{font-size:calc(17px*var(--ts,1))}
#panel:fullscreen .co-col li{font-size:calc(17px*var(--ts,1))}
@media(max-width:720px){.co-sw span:last-child,.co-keys{display:none}.co-reveal{margin-left:0}.co-num{width:38px;height:38px;font-size:calc(17px*var(--ts,1))}.co-av{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.co-body.shown .co-ans{animation:none}.ls-player{transition:none}}
@media(prefers-reduced-motion:reduce){.co-fill{transition:none}.ls-btn .ls-eq i{animation:none;height:8px}}

/* ---- tq-css ---- */
.tl-intro{margin:4px 0 0;max-width:36em;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--mute)}
.cb-grp{display:block;margin:4px 0 8px 46px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.cb-grp~.cb-grp{margin-top:6px}
.cb-tray .tl-pill.q{border-color:var(--hair);color:var(--ink);background:var(--panel-bg)}
.cb-tray .tl-pill.q:hover{border-color:var(--blue);color:var(--blue);background:var(--blue-soft)}
.cb-hint{margin:8px 4px 0;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.cb-sugl{display:block;width:100%;margin:0 0 2px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
@media(max-width:600px){.cb-grp,.cb-shortcuts{margin-left:0}}
/* Answer cards in the chat */
.cb-m:has(.cb-card){min-width:0;padding:0;background:transparent;max-width:min(calc(100% - 46px),540px)}
.cb-card{padding:14px 16px 12px;border-radius:18px;border-bottom-left-radius:6px;background:var(--card-bg);border:1px solid var(--hair);box-shadow:0 8px 20px -16px rgba(0,0,0,.35)}
.cb-ct{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.cb-ct i{flex:none;width:24px;height:24px;border-radius:7px;display:grid;place-items:center;font-style:normal;color:var(--c);background:color-mix(in srgb,var(--c) 14%,transparent)}
.cb-ct i svg{width:14px;height:14px}
.cb-ct b{font-size:calc(15px*var(--ts,1));font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.cb-deep-inline{margin-top:14px;padding:14px 2px 0;border-top:1px solid color-mix(in srgb,var(--c) 24%,var(--hair-2))}
.cb-deep-top{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.cb-deep-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;color:var(--c);background:color-mix(in srgb,var(--c) 12%,transparent)}
.cb-deep-icon svg{width:17px;height:17px}
.cb-deep-kicker{display:block;margin-bottom:1px;font-size:calc(11px*var(--ts,1));font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--c)}
.cb-deep-top b{font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink)}
.cb-deep-text{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.6;color:var(--ink-2);white-space:pre-line}
.cb-deep-next{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;width:100%;margin-top:17px;padding:11px 13px;border:1px solid var(--hair-2);border-radius:13px;background:var(--panel-bg);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .2s var(--spring)}
.cb-deep-next:hover{border-color:var(--blue);background:var(--blue-soft);transform:translateY(-1px)}
.cb-deep-next:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.cb-deep-next-label{grid-column:1;font-size:calc(11px*var(--ts,1));font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.cb-deep-next b{grid-column:1;font-size:calc(13px*var(--ts,1));font-weight:600;line-height:1.35}
.cb-deep-next small{grid-column:1;font-size:calc(12px*var(--ts,1));line-height:1.4;color:var(--mute)}
.cb-deep-next>svg{grid-column:2;grid-row:1/4;width:15px;height:15px;color:var(--blue)}
.cb-tray .tl-pill.pri.is-open{background:var(--seg-bg);border-color:var(--hair);color:var(--mute);cursor:default}
.cb-ex{display:block;font-size:calc(15px*var(--ts,1));line-height:1.55;color:var(--ink);transition:opacity .2s}
.cb-lead{margin:0 0 9px;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
.cb-say{margin-top:10px;padding-top:9px;border-top:1px solid var(--hair-2);font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.cb-cl{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:12px;padding-top:10px;border-top:1px solid var(--hair-2)}
.cb-cl>span{font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.cb-cl .seg button{font-size:calc(12px*var(--ts,1));padding:4px 9px}
.cb-then{display:block;margin-top:6px}
.cb-new{flex:none;margin-left:4px;padding:6px 12px;border-radius:999px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue);cursor:pointer}
.cb-new:hover{border-color:var(--blue)}
/* The chat header with the level switch stays in view while the conversation grows */
#learnScroll .cb{overflow:clip}
#learnScroll .cb-head{position:sticky;top:-40px;z-index:6;background:linear-gradient(110deg,var(--blue-soft),var(--panel-bg) 58%);border-radius:22px 22px 0 0;transition:box-shadow .2s}
#learnScroll .cb-head.stuck{border-radius:0 0 16px 16px;box-shadow:0 10px 22px -16px rgba(0,0,0,.4)}
@media(max-width:900px){#learnScroll .cb-head{top:-24px}}
@media(max-width:600px){#learnScroll .cb-head{top:-20px}}
@supports not (overflow:clip){#learnScroll .cb{overflow:visible}}

/* ---- tt-explore-layout-css ---- */
/* The app window itself never scrolls, only the page inside it */
#app{overflow:clip}
/* Guided tour: a way back to the start above the topic steps */
#learnScroll .tl>.tl-back+.tour-prog{margin-top:10px}
/* Topic steps: the name under the icon where there is room, a tick on finished topics */
.tstep-l{display:none}
@media(min-width:720px){
  #learnScroll .tstep{flex-direction:column;gap:3px;height:auto;min-height:52px;max-width:none;padding:7px 6px}
  #learnScroll .tstep-l{display:block;max-width:100%;font-size:calc(11px*var(--ts,1));font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #learnScroll .tstep{display:flex;align-items:center;justify-content:center}
}
#learnScroll .tstep.done svg{width:16px;height:16px}
/* Tour progress on its tab; phones use the short tab names */
.tl-tab-s{display:none}
.tl-tab-n{margin-left:2px;padding:1px 7px;border-radius:999px;font-style:normal;font-size:calc(12px*var(--ts,1));font-weight:700;background:var(--blue-soft);color:var(--blue)}
.tl-tab.on .tl-tab-n{background:rgba(255,255,255,.22);color:#fff}
/* Check yourself in the tour */
.tl-check-sub{margin:-4px 0 12px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
/* Term page: go on in the chat, and the models that have it */
.tx-next{display:flex;align-items:center;gap:10px;width:100%;margin-top:14px;padding:11px 14px;border-radius:12px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s}
.tx-next:hover{border-color:var(--c,var(--blue))}
.tx-next span{flex:none;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.tx-next b{flex:1;min-width:0;font-size:calc(15px*var(--ts,1));font-weight:600}
.tx-next svg{flex:none;width:14px;height:14px;color:var(--mute)}
.tx-where{display:flex;flex-direction:column;gap:12px}
.tx-wr{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.tx-mdls{display:flex;flex-wrap:wrap;gap:6px}
.tx-mdl{padding:6px 12px;border-radius:999px;border:1px solid var(--hair-2);background:var(--panel-bg);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--ink-2);cursor:pointer;transition:border-color .2s,color .2s}
.tx-mdl:hover{border-color:var(--blue);color:var(--blue)}
/* Look up a word: every topic visible, one line per term */
#learnScroll .tt-pills{flex-wrap:wrap;overflow:visible}
#btList .tl-rt small{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
/* The line under Ally's name only shows where it fits on one line */
@media(max-width:1179px){#learnScroll .cb-head small{display:none}}
/* Phones: a compact chat header, the level switch on its own row */
@media(max-width:600px){
  #learnScroll .cb-head small{display:none}
  #learnScroll .cb-head-actions{width:100%;margin-left:0;justify-content:space-between;flex-wrap:nowrap}
  #learnScroll .cb-lv{flex:1;min-width:0}
  #learnScroll .cb-lv .seg{display:flex;width:100%}
  #learnScroll .cb-lv .seg button{flex:1;white-space:nowrap;padding:6px 8px;font-size:calc(12px*var(--ts,1))}
  #learnScroll .cb-head .cb-new{position:absolute;top:14px;right:14px;margin:0}
  /* all three tabs visible at once */
  #learnScroll .tl-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible}
  #learnScroll .tl-tab{justify-content:center;gap:5px;padding:9px 6px;font-size:calc(13px*var(--ts,1))}
  #learnScroll .tl-tab>svg,#learnScroll .tl-tab>img,#learnScroll .tl-tab>i:not(.tl-tab-n){display:none}
  #learnScroll .tl-tab .tl-tab-l{display:none}
  #learnScroll .tl-tab .tl-tab-s{display:inline}
}
@media(min-width:1200px){
  /* Use the desktop canvas without letting individual answers become overly wide. */
  #learnScroll .tl{width:100%;max-width:min(100%,1380px)}
  #learnScroll .cb{width:100%;max-width:none}
  #learnScroll .cb-thread:has(.cb-row:only-child){min-height:86px;padding-bottom:8px}
  #learnScroll .cb-m{max-width:min(86%,680px)}
  #learnScroll .cb-m:has(.cb-card){max-width:min(calc(100% - 46px),760px)}
}

/* ---- pp-css-2 ---- */
.pp{max-width:880px}
.pp .tour-guide{margin:18px 0 6px}
.pp-lead{margin:6px 0 0;max-width:38em;font-size:calc(17px*var(--ts,1));line-height:1.55;color:var(--ink-2)}
.pp-nav{position:sticky;top:-40px;z-index:5;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin:26px -44px 0;padding:10px 44px;background:var(--content-bg,var(--app-bg));border-bottom:1px solid var(--hair-2)}
.pp-nav::-webkit-scrollbar{display:none}
.pp-nav button{flex:none;border:0;border-radius:999px;padding:7px 14px;background:transparent;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink-2);cursor:pointer;transition:background .2s,color .2s}
.pp-nav button:hover{background:var(--panel-bg);color:var(--ink)}
.pp-nav button.on{background:var(--ink);color:var(--app-bg)}
@media(max-width:900px){.pp-nav{top:-24px;margin:22px -20px 0;padding:10px 20px}}
@media(max-width:600px){.pp-nav{top:-20px;margin:20px -16px 0;padding:10px 16px}}
.pp-sec{margin-top:44px;scroll-margin-top:70px}
.pp-kick{display:block;margin:0 0 6px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.pp-h2{margin:0 0 8px;font-size:calc(clamp(22px,2.4vw,28px)*var(--ts,1));font-weight:700;letter-spacing:-.028em;color:var(--ink)}
.pp-sub{margin:0 0 18px;max-width:40em;font-size:calc(15px*var(--ts,1));line-height:1.55;color:var(--ink-2)}
.pp-quote{margin:0 0 18px;padding:24px 28px;border-radius:20px;background:var(--blue-soft);border:1px solid color-mix(in srgb,var(--blue) 18%,transparent)}
.pp-quote small{display:block;margin-bottom:8px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.pp-quote p{margin:0;font-size:calc(clamp(19px,2.2vw,24px)*var(--ts,1));font-weight:650;line-height:1.35;letter-spacing:-.022em;color:var(--ink);text-wrap:balance}
.pp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.pp-card{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow)}
.pp-ico{width:34px;height:34px;margin-bottom:4px;border-radius:10px;display:grid;place-items:center;color:var(--c,var(--blue));background:color-mix(in srgb,var(--c,var(--blue)) 13%,transparent)}
.pp-ico svg{width:18px;height:18px}
.pp-card b{font-size:calc(17px*var(--ts,1));font-weight:600;letter-spacing:-.014em;color:var(--ink)}
.pp-card p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pp-go{align-self:flex-start;margin-top:6px;padding:0;border:0;background:none;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue);cursor:pointer}
.pp-go:hover{text-decoration:underline}
.pp-tl{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.pp-tl li{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:18px 20px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.pp-when{font-size:calc(13px*var(--ts,1));font-weight:700;letter-spacing:.02em;color:var(--blue)}
.pp-when small{display:block;margin-top:3px;font-weight:500;color:var(--mute)}
.pp-tl b{display:block;margin-bottom:4px;font-size:calc(17px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-tl p{margin:0 0 8px;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pp-chips{display:flex;flex-wrap:wrap;gap:6px}
.pp-chips button{padding:5px 11px;border-radius:999px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .15s,color .15s}
.pp-chips button:hover{border-color:var(--blue);color:var(--blue)}
.pp-steps{counter-reset:pp;list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.pp-steps li{position:relative;padding:44px 18px 18px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2)}
.pp-steps li::before{counter-increment:pp;content:counter(pp);position:absolute;top:14px;left:18px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:calc(12px*var(--ts,1));font-weight:700;background:var(--blue-fill,var(--blue));color:#fff}
.pp-steps b{display:block;margin-bottom:4px;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-steps p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pp-script{padding:20px 22px;border-radius:16px;background:var(--panel-bg)}
.pp-script small{display:block;margin-bottom:6px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.pp-script p{margin:0;font-size:calc(17px*var(--ts,1));line-height:1.55;color:var(--ink);font-style:italic}
.pp-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.pp-list{padding:18px 20px;border-radius:16px;border:1px solid var(--hair-2);background:var(--card-bg)}
.pp-list h3{margin:0 0 10px;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-list ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.pp-list li{display:flex;gap:10px;font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
.pp-list li i{flex:none;width:18px;height:18px;margin-top:1px;border-radius:50%;display:grid;place-items:center;font-style:normal}
.pp-list li i svg{width:11px;height:11px}
.pp-list.yes li i{background:color-mix(in srgb,#34C759 18%,transparent);color:#1F9D47}
.pp-list.no li i{background:color-mix(in srgb,#FF3B30 14%,transparent);color:#D70015}
.pp-fit{display:grid;gap:10px}
.pp-fr{display:grid;grid-template-columns:200px 1fr 1fr;gap:16px;align-items:start;padding:16px 20px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2)}
.pp-fr.me{background:var(--blue-soft);border-color:color-mix(in srgb,var(--blue) 25%,transparent)}
.pp-fr b{font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-fr small{display:block;margin-bottom:3px;font-size:calc(11px*var(--ts,1));font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--mute)}
.pp-fr span{font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pp-rule{margin:14px 0 0;padding:14px 18px;border-radius:14px;background:var(--panel-bg);font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink)}
.pp-rule b{color:var(--blue)}
.pp-plan{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:12px}
.pp-plan div{padding:16px 18px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.pp-plan small{display:block;font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.pp-plan b{display:block;margin:4px 0;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-plan p{margin:0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pp-end{margin-top:44px;padding:22px 24px;border-radius:20px;background:var(--card-bg);border:1px solid var(--hair-2);display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.pp-end p{flex:1;min-width:220px;margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pp-end p b{display:block;margin-bottom:2px;font-size:calc(17px*var(--ts,1));color:var(--ink)}
.pp-note{margin:22px 2px 0;font-size:calc(12px*var(--ts,1));color:var(--mute)}
@media(max-width:720px){.pp-tl li{grid-template-columns:1fr;gap:6px}.pp-two{grid-template-columns:1fr}.pp-fr{grid-template-columns:1fr;gap:8px}}
/* Vision and purpose, round 2 */
.pp-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 200px;align-items:center;gap:24px;padding:30px 32px;border-radius:26px;background:linear-gradient(135deg,var(--blue-soft),color-mix(in srgb,var(--blue) 3%,var(--card-bg)));border:1px solid color-mix(in srgb,var(--blue) 16%,transparent);overflow:hidden}
.pp-title{margin:0;font-size:calc(clamp(30px,4vw,44px)*var(--ts,1));font-weight:700;letter-spacing:-.04em;line-height:1.05;color:var(--ink)}
.pp-hero .pp-lead{margin-top:12px}
.pp-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.pp-cta .btn,.pp-end .btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px}
.pp-cta .btn svg,.pp-end .btn svg{width:14px;height:14px}
.pp-art{display:block;width:200px;height:220px;background:var(--am-present) center/contain no-repeat;animation:amFade .8s var(--ease-soft,ease) both}
.pp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:14px}
.pp-stats div{padding:16px 18px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2)}
.pp-stats b{display:block;font-size:calc(28px*var(--ts,1));font-weight:700;letter-spacing:-.03em;line-height:1;color:var(--blue);font-variant-numeric:tabular-nums}
.pp-stats span{display:block;margin-top:6px;font-size:calc(13px*var(--ts,1));line-height:1.35;color:var(--ink-2)}
.pp-h3{margin:28px 0 12px;font-size:calc(20px*var(--ts,1));font-weight:650;letter-spacing:-.02em;color:var(--ink)}
.pp-prin{counter-reset:pr;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pp-prin li{position:relative;padding:16px 18px 16px 56px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.pp-prin li::before{counter-increment:pr;content:counter(pr);position:absolute;left:18px;top:16px;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-size:calc(13px*var(--ts,1));font-weight:700;background:var(--ink);color:var(--app-bg)}
.pp-prin b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-prin span{display:block;margin-top:3px;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pp-prin.big b{font-size:calc(20px*var(--ts,1))}.pp-prin.big span{font-size:calc(17px*var(--ts,1))}
.pp-sacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.pp-sacts .btn{border-radius:999px}
.pp-planh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:28px}
.pp-planh .pp-h3{margin:0}
.pp-planh span{font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--mute)}
.pp-pw{position:relative;display:block;width:100%;padding:16px 18px 16px 18px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.pp-pw:hover{border-color:color-mix(in srgb,var(--blue) 40%,transparent)}
.pp-pw small{display:block;font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.pp-pw b{display:block;margin:4px 0;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-pw p{margin:0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pp-ck{position:absolute;top:14px;right:14px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--hair);color:transparent;transition:background .2s,border-color .2s,color .2s}
.pp-ck svg{width:12px;height:12px}
.pp-pw.done{background:color-mix(in srgb,#34C759 7%,var(--card-bg));border-color:color-mix(in srgb,#34C759 35%,transparent)}
.pp-pw.done .pp-ck{background:#34C759;border-color:#34C759;color:#fff}
.pp-pw.done b{text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--ink) 35%,transparent)}
.pp-endart{flex:none;display:block;width:64px;height:72px;background:var(--am-thumbs) center/contain no-repeat}
/* Story timeline */
.pp-story{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pp-story::before{content:"";position:absolute;left:10px;right:10px;top:10px;height:2px;background:linear-gradient(90deg,var(--blue),color-mix(in srgb,var(--blue) 20%,transparent))}
.pp-story li{position:relative;padding-top:30px}
.pp-dot{position:absolute;top:3px;left:0;width:16px;height:16px;border-radius:50%;background:var(--blue-fill,var(--blue));box-shadow:0 0 0 4px var(--app-bg)}
.pp-story li.next .pp-dot{background:var(--app-bg);border:2px dashed var(--blue)}
.pp-story small{display:block;font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.pp-story b{display:block;margin:4px 0;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-story p{margin:0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.pp-story.big b{font-size:calc(20px*var(--ts,1))}.pp-story.big p{font-size:calc(15px*var(--ts,1))}
/* In the conversation */
.pp-convo{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.pp-convo div{padding:18px 20px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2)}
.pp-convo b{display:block;margin-bottom:6px;font-size:calc(17px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-convo p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
/* Built together */
.pp-depts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.pp-depts div{padding:16px;border-radius:16px;background:var(--panel-bg);border:1px solid var(--hair-2)}
.pp-depts b{display:block;margin:2px 0 4px;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.pp-depts p{margin:0;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
@media(max-width:720px){.pp-story{grid-template-columns:1fr;padding-left:26px}.pp-story::before{left:7px;right:auto;top:6px;bottom:6px;width:2px;height:auto;background:linear-gradient(180deg,var(--blue),color-mix(in srgb,var(--blue) 20%,transparent))}.pp-story li{padding-top:0}.pp-dot{top:2px;left:-26px}.pp-convo{grid-template-columns:1fr}}
/* Present mode */
.sheet:has(.ps2-head){width:min(1180px,100%);height:94%}
#panel:has(.ps2-head){display:flex;flex-direction:column}
#panel:fullscreen{background:var(--app-bg)}
.ps2-head{flex:none;display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--hair-2)}
.ps2-dots{flex:1;display:flex;gap:6px}
.ps2-dots button{width:26px;height:6px;padding:0;border:0;border-radius:99px;background:var(--hair);cursor:pointer;transition:background .2s,width .25s}
.ps2-dots button.on{width:44px;background:var(--blue-fill,var(--blue))}
.ps2-pos{font-size:calc(13px*var(--ts,1));color:var(--mute);font-variant-numeric:tabular-nums}
.ps2-head .btn.icon{border-radius:50%}
.ps2-body{flex:1;overflow:auto;padding:clamp(24px,4vw,56px)}
.ps2-slide{max-width:980px;margin:0 auto;animation:coIn .45s cubic-bezier(.2,.8,.2,1) both}
.ps2-title{margin:4px 0 24px;font-size:calc(clamp(28px,3.6vw,46px)*var(--ts,1));font-weight:700;letter-spacing:-.035em;line-height:1.1;color:var(--ink);text-wrap:balance}
.ps2-big{margin:0 0 22px;font-size:calc(clamp(22px,2.8vw,34px)*var(--ts,1));font-weight:650;letter-spacing:-.025em;line-height:1.3;color:var(--ink);text-wrap:balance}
.ps2-slide .pp-stats.in div{background:var(--panel-bg)}
.ps2-end{display:flex;align-items:flex-start;gap:24px}
.ps2-end .pp-endart{width:120px;height:136px}
.ps2-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--hair-2)}
.ps2-foot .btn{border-radius:999px}
.ps2-hint{font-size:calc(12px*var(--ts,1));color:var(--mute)}
#panel:fullscreen .ps2-slide{max-width:1200px}
@media(max-width:720px){.pp-hero{grid-template-columns:1fr;padding:22px}.pp-art{display:none}.pp-prin{grid-template-columns:1fr}.ps2-hint{display:none}.ps2-end{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.pp-art,.ps2-slide{animation:none}}

/* ---- source-guides-css ---- */
.gx-sources{max-width:680px;margin:20px 28px 26px;padding:15px 17px;border:1px solid var(--hair-2);border-radius:14px;background:var(--panel-bg)}.gx-sources>b{display:block;font-size:calc(12px*var(--ts,1));font-weight:650;color:var(--ink)}.gx-sources>p{margin:5px 0 10px;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2)}.gx-sources>div{display:flex;flex-wrap:wrap;gap:8px}.gx-sources a,.gx-sources span{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:6px 10px;border:1px solid var(--hair);border-radius:999px;background:var(--card-bg);font-size:calc(12px*var(--ts,1));color:var(--blue);text-decoration:none}.gx-sources a:hover{border-color:var(--blue)}.gx-sources a svg{width:12px;height:12px}.gx-sources>small{display:block;margin-top:10px;font-size:calc(12px*var(--ts,1));color:var(--mute)}@media(max-width:600px){.gx-sources{margin:18px 18px 22px}}

/* ---- ipad-layout-refinement ---- */
/* iPad: let learning content use the available canvas instead of stopping short. */
@media (min-width:761px) and (max-width:1400px) and (pointer:coarse){
  #learnScroll .tl,
  #learnScroll .cb{width:100%;max-width:none;box-sizing:border-box}

  /* Keep Take a breath in the same full-width, bottom-summary flow as desktop. */
  #breatheScroll .bx{width:100%;max-width:none;box-sizing:border-box}
  #breatheScroll .bx-layout{display:flex;flex-direction:column;align-items:stretch;gap:0}
  #breatheScroll .bx-config{width:100%}
  #breatheScroll .bx-preview{
    position:static;order:2;display:grid;width:100%;box-sizing:border-box;
    grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);
    grid-template-areas:"main start" "rhythm start" "note note";
    gap:14px 24px;align-items:center;margin:8px 0 4px;padding:20px 24px;text-align:left
  }
  #breatheScroll .bx-preview-main{grid-area:main;display:grid;grid-template-columns:60px minmax(0,1fr);column-gap:16px;align-items:center;min-width:0;text-align:left}
  #breatheScroll .bx-preview-orb{grid-column:1;grid-row:1;width:50px;height:50px;margin:0}
  #breatheScroll .bx-preview-orb::before{inset:-8px}
  #breatheScroll .bx-preview-orb i{width:28px;height:28px}
  #breatheScroll .bx-preview-copy{grid-column:2;grid-row:1;align-items:flex-start;min-width:0;text-align:left}
  #breatheScroll .bx-preview-kicker{display:block;margin-bottom:3px;font-size:calc(11px*var(--ts,1))}
  #breatheScroll .bx-preview h2{margin:0;font-size:calc(20px*var(--ts,1))}
  #breatheScroll .bx-preview-desc{margin:2px 0 0;font-size:calc(13px*var(--ts,1))}
  #breatheScroll .bx-preview-rhythm{grid-area:rhythm;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;width:auto;margin:0;padding:10px 0 0;border-top:1px solid var(--hair-2);background:none;font-size:calc(12px*var(--ts,1))}
  #breatheScroll .bx-preview-rhythm-label{font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
  #breatheScroll .bx-preview-sound{color:var(--mute)}
  #breatheScroll .bx-preview>.btn{grid-area:start;width:100%;min-height:46px;margin:0;padding:10px 16px;font-size:calc(15px*var(--ts,1));line-height:1.2;white-space:nowrap}
  #breatheScroll .bx-preview .br-note{grid-area:note;width:100%;box-sizing:border-box;margin:0;padding-top:10px;border-top:1px solid var(--hair-2);font-size:calc(11px*var(--ts,1));line-height:1.4;text-align:left}
}

/* ---- overview-calm-refinement ---- */
/* Overview: fewer competing cards and a clearer first step. */
#homeScroll .home-head .intro{max-width:none;font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
#homeScroll .home-head .home-eye{margin-bottom:5px}
#homeScroll .home-head .intro{margin-top:5px}
#homeScroll .home-ask{flex-direction:row;align-items:center;margin-top:10px;padding:10px 12px;gap:14px;border-radius:12px}
#homeScroll .home-ask-copy{flex:0 1 250px}
#homeScroll .home-ask-copy b{font-size:calc(13px*var(--ts,1))}
#homeScroll .home-ask-copy p{font-size:calc(12px*var(--ts,1));line-height:1.35}
#homeScroll .home-ask-form{max-width:460px}
#homeScroll .home-ask-form input{min-height:40px;font-size:calc(13px*var(--ts,1))}
@media(max-width:700px){#homeScroll .home-ask{flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px}#homeScroll .home-ask-copy{flex:none}#homeScroll .home-ask-form{max-width:none}}
#homeScroll .home-sec{margin:24px 0 10px}
#homeScroll .ov-top{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:4px;margin-top:12px;padding:7px;border:1px solid var(--hair-2);border-radius:18px;background:var(--card-bg)}
#homeScroll .ov-top .ov-focus,#homeScroll .ov-top .ov-today{height:auto;margin:0;padding:10px 12px;border:0;border-radius:12px;background:transparent;box-shadow:none}
#homeScroll .ov-top .ov-focus:hover,#homeScroll .ov-top .ov-today:hover{background:var(--hover-bg);box-shadow:none}
#homeScroll .ov-top .ov-today{flex-direction:row;align-items:center;gap:10px;border-left:1px solid var(--hair-2)}
#homeScroll .ov-top .ov-today em{margin:0;font-size:0;width:28px;height:28px;justify-content:center;border-radius:50%;background:var(--blue-soft)}
#homeScroll .ov-top .ov-today em svg{width:14px;height:14px}
#homeScroll .home-ways{display:flex;align-items:center;gap:18px;margin:10px 0 0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
#homeScroll .home-ways .way{flex:0 1 auto;gap:7px;padding:6px 2px;border:0;border-radius:8px;background:transparent}
#homeScroll .home-ways .way+.way{border:0}
#homeScroll .home-ways .way:hover{background:var(--hover-bg)}
#homeScroll .home-ways .way-ico{width:22px;height:22px;border-radius:6px;background:transparent;color:var(--mute)}
#homeScroll .home-ways .way-ico svg{width:15px;height:15px}
#homeScroll .home-ways .way-txt b{font-size:calc(13px*var(--ts,1));font-weight:550;color:var(--ink-2)}
#homeScroll .ov-recent{gap:6px}
#homeScroll .ov-rc{padding:5px 10px 5px 6px;font-size:calc(13px*var(--ts,1))}
#homeScroll .ov-rc i{width:24px;height:24px}
#homeGrid.ov-prods{gap:10px}
#homeScroll .ov-tile .pc-art{height:clamp(92px,8vw,132px)}
#homeScroll .home-links{margin-top:22px}
#homeScroll .ov-tk{margin-top:20px}
@media(max-width:1179px){
  #homeScroll .ov-top{grid-template-columns:1fr}
  #homeScroll .ov-top .ov-today{border-left:0;border-top:1px solid var(--hair-2)}
}
@media(max-width:700px){
  #homeScroll .home-head .intro{max-width:38em}
  #homeScroll .home-ways{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  #homeScroll .home-ways .way{width:100%;justify-content:center;gap:5px;padding:7px 3px}
  #homeScroll .home-ways .way-ico{display:none}
  #homeScroll .home-ways .way-txt b{font-size:calc(12px*var(--ts,1));text-align:center;white-space:normal}
  #homeScroll .ov-top .ov-focus{padding:9px 8px}
  #homeScroll .ov-top .ov-today{padding:10px 8px}
}

/* ---- overview-focus-card-refinement ---- */
/* Focus card: one clear subject, one useful date and one action. */
#homeScroll .ov-top .ov-focus{gap:13px;padding:10px 10px 10px 9px}
#homeScroll .ov-f-pic{width:78px;height:60px;border-radius:11px;background:var(--panel-bg);border-color:transparent}
#homeScroll .ov-f-pic img{object-fit:contain;object-position:center;padding:4px;box-sizing:border-box}
#homeScroll .ov-f-kicker{display:flex;align-items:center;gap:7px;margin-bottom:3px;font-size:calc(11px*var(--ts,1));letter-spacing:.075em}
#homeScroll .ov-f-kicker::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--blue-fill,var(--blue))}
#homeScroll .ov-f-txt b{font-size:calc(17px*var(--ts,1));line-height:1.2}
#homeScroll .ov-f-txt>span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:calc(12px*var(--ts,1));line-height:1.35}
#homeScroll .ov-f-count{align-items:center;gap:1px;padding:6px 9px;border:0;border-radius:10px;background:var(--blue-soft);color:var(--blue)}
#homeScroll .ov-f-count b{font-size:calc(17px*var(--ts,1));line-height:1;color:var(--blue)}
#homeScroll .ov-f-count small{margin:1px 0 0;font-size:calc(11px*var(--ts,1));line-height:1.1;color:var(--blue);text-transform:uppercase;letter-spacing:.035em}
#homeScroll .ov-f-go{width:26px;height:26px;background:transparent;color:var(--mute)}
#homeScroll .ov-f-go svg{width:13px;height:13px}
#homeScroll .ov-focus:hover .ov-f-go{background:var(--blue-soft);color:var(--blue)}
@media(max-width:600px){
  #homeScroll .ov-top .ov-focus{gap:9px}
  #homeScroll .ov-f-pic{width:58px;height:48px}
  #homeScroll .ov-f-count{display:none}
}

/* Model cards: picture, name, who it is for and the key facts that tell the models apart */
.models-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr))!important}
.models-grid .model-card{display:flex;flex-direction:column}
.models-grid .model-card .model-head{gap:14px;margin-bottom:12px}
.models-grid .model-card .model-ico{width:64px;height:64px;flex:none}
.models-grid .model-card .model-best{-webkit-line-clamp:2;margin-bottom:0}
.mc-keys{margin:14px 0 0;padding:0;border-top:1px solid var(--hair-2)}
.mc-keys>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--hair-2)}
.mc-keys dt{flex:none;margin:0;font-size:calc(13px*var(--ts,1));font-weight:400;color:var(--mute)}
.mc-keys dd{min-width:0;margin:0;font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--ink);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.models-grid .model-card .model-foot{margin-top:auto;padding-top:12px}
.models-grid .model-card .model-best{min-height:3em}
.models-grid .model-card .model-foot{border-top:0}
.mc-keys{margin-bottom:14px}

/* ---- game-css ---- */
/* ============================================================
   LEVEL UP: a short learning game built from Ally's own content
   ============================================================ */
#gameScroll .gm{width:min(100%,760px);margin:0 auto;padding:clamp(20px,4vw,40px) clamp(16px,3vw,28px) 60px}
.gm-kick{display:block;margin:0 0 6px;font-size:calc(11px*var(--ts,1));font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--blue)}
.gm h1{margin:0;font-size:calc(clamp(30px,4.4vw,44px)*var(--ts,1));font-weight:700;letter-spacing:-.03em;line-height:1.08;color:var(--ink)}
.gm-sub{margin:10px 0 0;max-width:36em;font-size:calc(17px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.gm-modes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:10px;margin-top:26px}
.gm-md{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px 16px;border-radius:14px;border:1.5px solid var(--hair-2);background:var(--card-bg);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.gm-md b{font-size:calc(17px*var(--ts,1));font-weight:650}
.gm-md span{font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.gm-md small{margin-top:4px;font-size:calc(12px*var(--ts,1));font-weight:600;color:var(--ink-2)}
.gm-md:hover{border-color:var(--blue)}
.gm-md.on{border-color:var(--blue);background:color-mix(in srgb,var(--blue) 9%,var(--card-bg))}
.gm-md:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.gm-time-bar i{background:#FF9500;transition:width .1s linear}
.gm-time-bar.low i{background:#FF3B30}
.gm-surv{background:none}
.gm-lb{margin-top:28px}
.gm-lb-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
.gm-lb-h h2{margin:0;font-size:calc(11px*var(--ts,1));font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
.gm-lb-h span{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.gm-lb ol{list-style:none;margin:0;padding:0}
.gm-lb li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1));color:var(--ink)}
.gm-lb li i{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:calc(12px*var(--ts,1));font-weight:700;background:var(--hair-2);color:var(--ink-2)}
.gm-lb li:first-child i{background:#FFCC00;color:#3a2a00}
.gm-lb li span{flex:1;min-width:0}
.gm-lb li b{font-variant-numeric:tabular-nums}
.gm-lb-empty{margin:6px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--mute)}
.gm-send{margin:30px auto 0;max-width:520px;padding:18px 20px;border-radius:16px;border:1px solid var(--hair-2);background:var(--panel-bg);text-align:left}
.gm-send h2{margin:0 0 4px;font-size:calc(17px*var(--ts,1));font-weight:650;color:var(--ink)}
.gm-send p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.gm-code{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.gm-code code{flex:1;min-width:0;padding:9px 12px;border-radius:10px;background:var(--card-bg);border:1px solid var(--hair-2);font:600 15px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;color:var(--ink);user-select:all}
.gm-mode{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:26px}
.gm-mode-l{margin-right:4px;font-size:calc(12px*var(--ts,1));font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.gm-kinds{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:0 28px}
.gm-kinds li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--hair-2)}
.gm-kinds i{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-style:normal;font-size:calc(13px*var(--ts,1));font-weight:700;color:#fff;background:var(--c)}
.gm-kinds b{display:block;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.gm-kinds span{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.gm-start{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:28px}
.gm-start .btn{display:inline-flex;align-items:center;gap:7px}
.gm-start .btn svg,.gm-next svg{width:14px;height:14px}
.gm-best{font-size:calc(15px*var(--ts,1));color:var(--mute)}
.gm-best b{color:var(--ink);font-variant-numeric:tabular-nums}

.gm-top{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.gm-quit{flex:none;width:36px;height:36px;border-radius:50%;border:1px solid var(--hair-2);background:var(--card-bg);color:var(--ink-2);display:grid;place-items:center;cursor:pointer}
.gm-quit svg{width:14px;height:14px}
.gm-bar{flex:1;height:6px;border-radius:99px;background:var(--hair-2);overflow:hidden}
.gm-bar i{display:block;height:100%;border-radius:inherit;background:var(--blue-fill,var(--blue));transition:width .35s var(--ease-soft,ease)}
.gm-score{flex:none;font-size:calc(15px*var(--ts,1));font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink)}
.gm-streak{flex:none;padding:4px 9px;border-radius:99px;font-size:calc(12px*var(--ts,1));font-weight:700;color:#fff;background:#FF9500;animation:gmPop .3s ease both}
.gm-meta{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px}
.gm-meta span{font-size:calc(13px*var(--ts,1));color:var(--mute);font-variant-numeric:tabular-nums}
.gm-q{margin:0;font-size:calc(clamp(20px,2.6vw,25px)*var(--ts,1));font-weight:650;line-height:1.3;letter-spacing:-.02em;color:var(--ink);text-wrap:pretty}
.gm-q-detail{margin:12px 0 0;padding:14px 16px;border:1px solid var(--hair-2);border-radius:12px;background:var(--panel-bg);font-size:calc(15px*var(--ts,1));line-height:1.55;color:var(--ink-2);text-wrap:pretty}
.gm-opts{display:grid;gap:10px;margin-top:22px}
.gm-opts.pics{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
.gm-opt{position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border-radius:14px;border:1.5px solid var(--hair-2);background:var(--card-bg);font:inherit;font-size:calc(15px*var(--ts,1));line-height:1.4;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
.gm-opt:hover:not(:disabled){background:var(--card-bg-hover)}
.gm-opt:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.gm-opt .gm-k{flex:none;width:24px;height:24px;border-radius:7px;display:grid;place-items:center;font-size:calc(12px*var(--ts,1));font-weight:700;color:var(--mute);border:1px solid var(--hair)}
.gm-opts.pics .gm-opt{flex-direction:column;justify-content:flex-start;text-align:center;padding:16px 12px 14px;font-weight:600}
.gm-opts.pics .gm-k{position:absolute;top:10px;left:10px}
.gm-pic{display:block;width:100%;height:96px;overflow:hidden}
/* a fixed box for the picture, so a large image can never grow over the name below it */
.gm-pic img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
html.dark .gm-pic img.inv{filter:invert(1)}
.gm-opt:disabled{cursor:default}
.gm-opt.right{border-color:#30A46C;background:color-mix(in srgb,#30A46C 14%,var(--card-bg));animation:gmPop .35s ease both}
.gm-opt.right .gm-k{background:#30A46C;border-color:#30A46C;color:#fff}
.gm-opt.wrong{border-color:#FF3B30;background:color-mix(in srgb,#FF3B30 10%,var(--card-bg));animation:gmShake .35s ease both}
.gm-opt.wrong .gm-k{background:#FF3B30;border-color:#FF3B30;color:#fff}
.gm-opt.dim{opacity:.5}
.gm-fb{margin-top:18px;padding:16px 18px;border-radius:14px;background:var(--panel-bg);border:1px solid var(--hair-2);animation:psIn .3s ease both}
.gm-fb h2{margin:0 0 4px;font-size:calc(17px*var(--ts,1));font-weight:700;color:var(--ink)}
.gm-fb.ok h2{color:#30A46C}
.gm-fb.no h2{color:#FF3B30}
.gm-fb p{margin:0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.gm-fb-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.gm-next{display:inline-flex;align-items:center;gap:6px}
.gm-end{text-align:center}
.gm-end h1{margin-top:6px}
.gm-big{margin:22px 0 4px;font-size:calc(64px*var(--ts,1));font-weight:750;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums;color:var(--ink)}
.gm-end .gm-sub{margin-left:auto;margin-right:auto}
.gm-new{display:inline-block;margin-top:12px;padding:5px 11px;border-radius:99px;font-size:calc(13px*var(--ts,1));font-weight:700;color:#fff;background:#30A46C;animation:gmPop .4s ease both}
.gm-end .gm-start{justify-content:center}
.gm-miss{margin:34px 0 0;text-align:left}
.gm-miss h2{margin:0 0 6px;font-size:calc(11px*var(--ts,1));font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
.gm-miss ul{list-style:none;margin:0;padding:0}
.gm-miss li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1));line-height:1.4;color:var(--ink)}
.gm-miss li small{display:block;margin-top:4px;color:var(--mute);font-size:calc(13px*var(--ts,1));line-height:1.45}
.gm-miss li small+small{color:var(--ink-2)}
.gm-miss .link-btn{flex:none}
@keyframes gmPop{0%{transform:scale(.96)}60%{transform:scale(1.02)}100%{transform:none}}
@keyframes gmShake{0%,100%{transform:none}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@media (prefers-reduced-motion:reduce){.gm-opt.right,.gm-opt.wrong,.gm-streak,.gm-new{animation:none}}
@media (pointer:coarse){.gm-opt{min-height:52px}}

/* Start page, polished */
.gm-home .gm-sub{max-width:34em}
.gm-modes{margin-top:28px!important;gap:12px!important}
.gm-md{position:relative;gap:0!important;padding:16px 16px 14px!important;border-radius:16px!important}
.gm-md-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:12px}
.gm-md-top i{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff;background:var(--c)}
.gm-md-top i svg{width:20px;height:20px}
.gm-md-ck{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--hair);color:transparent;transition:background .15s,border-color .15s}
.gm-md-ck svg{width:12px;height:12px}
.gm-md.on{border-color:var(--c)!important;background:color-mix(in srgb,var(--c) 10%,var(--card-bg))!important}
.gm-md.on .gm-md-ck{background:var(--c);border-color:var(--c);color:#fff}
.gm-md b{font-size:calc(17px*var(--ts,1))!important}
.gm-md-d{margin-top:3px;font-size:calc(13px*var(--ts,1));line-height:1.45;color:var(--mute)}
.gm-md-meta{margin-top:auto;padding-top:12px;font-size:calc(12px*var(--ts,1));font-weight:600;color:var(--ink-2)}
.gm-md:hover{border-color:var(--c)!important}
.gm-panel{margin-top:14px;padding:18px 20px;border-radius:18px;border:1px solid var(--hair-2);background:var(--panel-bg)}
.gm-lab{display:block;margin:0 0 10px;font-size:calc(11px*var(--ts,1));font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
.gm-detail-label{margin-top:18px}
.gm-detail-select{width:min(100%,320px);min-height:42px;padding:8px 12px;border:1px solid var(--hair);border-radius:10px;background:var(--card-bg);color:var(--ink);font:inherit;font-size:calc(14px*var(--ts,1))}
.gm-detail-select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.gm-chips{display:flex;flex-wrap:wrap;gap:8px}
.gm-panel .gm-lb{margin-top:0}
.gm-panel .gm-lb li:last-child{border-bottom:0}
.gm-go{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid var(--hair-2)}
.gm-go .btn{display:inline-flex;align-items:center;gap:7px}
.gm-go .btn svg{width:14px;height:14px}
.gm-qk{margin-top:28px}
.gm-qk ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.gm-qk li{display:flex;align-items:flex-start;gap:10px;max-width:380px;font-size:calc(15px*var(--ts,1));color:var(--ink-2)}
.gm-qk li i{flex:none;width:8px;height:8px;margin-top:6px;border-radius:50%;background:var(--c)}
.gm-qk li b{display:block;font-weight:600;color:var(--ink)}
.gm-qk li small{display:block;margin-top:2px;font-size:calc(13px*var(--ts,1));line-height:1.4;color:var(--mute)}
@media(max-width:600px){.gm-panel{padding:16px}.gm-go .btn{flex:1;justify-content:center}}
/* Phones: each mode is one compact row */
@media(max-width:600px){
  .gm-md{display:grid!important;grid-template-columns:36px 1fr 22px;column-gap:12px;align-items:center;padding:12px 14px!important}
  .gm-md-top{display:contents}
  .gm-md-top i{grid-column:1;grid-row:1/4}
  .gm-md-ck{grid-column:3;grid-row:1/4}
  .gm-md b,.gm-md-d,.gm-md-meta{grid-column:2}
  .gm-md b{font-size:calc(17px*var(--ts,1))!important}
  .gm-md-meta{padding-top:3px}
  .gm-modes{gap:8px!important}
}

/* Level Up: leaderboard page */
.gm-back{margin-bottom:18px}
.gm-seg{display:inline-flex;margin:18px 0 0}
.gm-boards .gm-sub{margin-top:12px}
.gm-pod{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:10px;margin:26px auto 0;max-width:520px}
.gm-pod-c{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;text-align:center}
.gm-pod-n{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(15px*var(--ts,1));font-weight:650;color:var(--ink)}
.gm-pod-c>b{font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--mute);font-variant-numeric:tabular-nums}
.gm-pod-b{width:100%;margin-top:8px;border-radius:12px 12px 0 0;display:flex;justify-content:center;padding-top:10px;background:var(--c,var(--hair-2))}
.gm-pod-b i{font-style:normal;font-size:calc(22px*var(--ts,1));font-weight:800;color:#fff}
.gm-pod-c.p1 .gm-pod-b{height:120px;--c:linear-gradient(#FFCC00,#E0A800)}
.gm-pod-c.p2 .gm-pod-b{height:88px;--c:linear-gradient(#C7CBD1,#9EA4AC)}
.gm-pod-c.p3 .gm-pod-b{height:64px;--c:linear-gradient(#D9925B,#B06A35)}
.gm-pod-c.p1 .gm-pod-n{font-size:calc(17px*var(--ts,1))}
.gm-lb-full{list-style:none;margin:18px auto 0;padding:0;max-width:520px}
.gm-lb-full li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1));color:var(--ink)}
.gm-lb-full li i{flex:none;width:26px;font-style:normal;font-weight:700;color:var(--mute);text-align:center}
.gm-lb-full li span{flex:1;min-width:0}
.gm-lb-full li b{font-variant-numeric:tabular-nums}
.gm-lb-big{margin:22px 0 0;padding:18px 20px;border-radius:14px;border:1px dashed var(--hair)}
.gm-how{margin-top:30px;padding:18px 20px;border-radius:18px;border:1px solid var(--hair-2);background:var(--panel-bg)}
.gm-how h2{margin:0 0 8px;font-size:calc(17px*var(--ts,1));font-weight:650;color:var(--ink)}
.gm-how ol{margin:0;padding-left:20px;font-size:calc(15px*var(--ts,1));line-height:1.7;color:var(--ink-2)}
.gm-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.gm-actions .btn{display:inline-flex;align-items:center;gap:7px}
.gm-actions .btn svg{width:16px;height:16px}
.gm-lb-link{margin-top:10px}
/* Question screen, polished */
.gm-segs{flex:1;display:flex;gap:4px}
.gm-segs i{flex:1;height:6px;border-radius:99px;background:var(--hair-2);transition:background .25s}
.gm-segs i.cur{background:color-mix(in srgb,var(--blue) 45%,var(--hair-2))}
.gm-segs i.ok{background:#30A46C}
.gm-segs i.no{background:#FF3B30}
.gm-surv{flex:1;display:flex;align-items:center;gap:7px;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--mute)}
.gm-heart{display:inline-grid;color:#FF2D55}
.gm-heart svg{width:16px;height:16px;fill:currentColor}
.gm-score-w{position:relative;flex:none}
.gm-plus{position:absolute;right:0;top:-2px;font-size:calc(15px*var(--ts,1));font-weight:800;color:#30A46C;pointer-events:none;animation:gmPlus .9s ease-out forwards}
.gm-plus.neg{color:#FF3B30}
@keyframes gmPlus{0%{opacity:0;transform:translateY(4px)}20%{opacity:1}100%{opacity:0;transform:translateY(-22px)}}
.gm-kind{display:inline-flex!important;align-items:center;gap:7px;color:var(--c)!important;margin:0!important}
.gm-kind i{width:8px;height:8px;border-radius:50%;background:var(--c)}
.gm-q{max-width:30em}
.gm-opt .gm-k svg{width:13px;height:13px}
.gm-hint{display:none;margin:12px 0 0;font-size:calc(13px*var(--ts,1));color:var(--mute)}
@media (hover:hover) and (pointer:fine){.gm-hint{display:block}}
.gm-opt.right~.gm-hint,.gm-opts:has(.right)+.gm-hint{visibility:hidden}
.gm-fb.no{--fbc:#FF3B30}
.gm-fb h2{display:flex;align-items:center;gap:8px}
.gm-fb-i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--fbc,#30A46C)}
.gm-fb-i svg{width:12px;height:12px}
@media(max-width:600px){.gm-fb-row .gm-next{flex:1;justify-content:center}.gm-fb-row{flex-direction:column-reverse;align-items:stretch}.gm-fb-row .link-btn{align-self:center}}
@media (prefers-reduced-motion:reduce){.gm-plus{animation:none;opacity:0}}
.gm-actions .btn.gm-locked{opacity:.55;filter:grayscale(1)}
.gm-actions .btn.gm-locked:hover{opacity:.8}
.gm-lock{display:inline-grid;margin-left:2px}
.gm-lock svg{width:13px!important;height:13px!important}

/* Level Up: team quiz for a big screen */
.hd-teams{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:8px}
.hd-team{position:relative}
.hd-team input{width:100%;box-sizing:border-box;padding:11px 40px 11px 14px;border-radius:12px;border:1px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(15px*var(--ts,1));color:var(--ink)}
.hd-team input:focus{outline:none;border-color:var(--blue)}
.hd-x{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;border:0;background:var(--hair-2);color:var(--ink-2);display:grid;place-items:center;cursor:pointer}
.hd-x svg{width:11px;height:11px}
.hd-add{padding:11px 14px;border-radius:12px;border:1px dashed var(--hair);background:none;font:inherit;font-size:calc(15px*var(--ts,1));color:var(--blue);cursor:pointer}
.hd-gap{margin-top:18px!important}
#gameScroll .hd{width:min(100%,1200px);margin:0 auto;padding:clamp(16px,3vw,36px) clamp(16px,3vw,40px) 40px}
.hd-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:clamp(14px,2.5vw,28px)}
.hd-count{font-size:calc(clamp(14px,1.4vw,18px)*var(--ts,1));font-weight:600;color:var(--mute)}
.hd-qrow{display:flex;align-items:center;justify-content:space-between;gap:24px}
.hd-q{margin:6px 0 0;font-size:calc(clamp(24px,3.4vw,46px)*var(--ts,1));font-weight:700;line-height:1.2;letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.hd-q-sm{font-size:calc(clamp(20px,2.4vw,32px)*var(--ts,1));margin:0 0 4px}
.hd-q-detail{margin:14px 0 0;padding:14px 16px;border:1px solid var(--hair);border-radius:14px;background:var(--panel);font-size:calc(clamp(16px,1.6vw,21px)*var(--ts,1));line-height:1.5;color:var(--ink-2);text-wrap:pretty}
.hd-ring{--p:1;flex:none;width:clamp(72px,8vw,110px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--blue) calc(var(--p)*360deg),var(--hair-2) 0);position:relative}
.hd-ring::before{content:"";position:absolute;inset:8px;border-radius:50%;background:var(--app-bg)}
.hd-ring span{position:relative;font-size:calc(clamp(26px,3vw,40px)*var(--ts,1));font-weight:800;font-variant-numeric:tabular-nums;color:var(--ink)}
.hd-tiles{display:grid;grid-template-columns:1fr 1fr;gap:clamp(8px,1.2vw,16px);margin-top:clamp(16px,3vw,32px)}
.hd-tile{position:relative;display:flex;align-items:center;gap:clamp(10px,1.4vw,18px);min-height:clamp(76px,10vw,140px);padding:clamp(12px,1.6vw,22px);border-radius:16px;background:var(--c);color:#fff;transition:opacity .25s,transform .25s}
.hd-shape{flex:none;width:clamp(28px,3vw,44px);height:clamp(28px,3vw,44px)}
.hd-shape svg{width:100%;height:100%}
.hd-num{position:absolute;top:8px;right:12px;font-size:calc(13px*var(--ts,1));font-weight:800;opacity:.75}
.hd-tile img{flex:none;width:clamp(44px,5vw,72px);height:clamp(44px,5vw,72px);object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.3))}
.hd-t{font-size:calc(clamp(16px,1.9vw,26px)*var(--ts,1));font-weight:700;line-height:1.25;text-wrap:balance}
.hd-tile.dim{opacity:.28}
.hd-tile.right{transform:scale(1.02);box-shadow:0 0 0 4px #fff,0 0 0 7px var(--c)}
.hd-ok{flex:none;margin-left:auto;width:clamp(30px,3vw,44px);height:clamp(30px,3vw,44px);border-radius:50%;background:#fff;color:var(--c);display:grid;place-items:center}
.hd-ok svg{width:60%;height:60%}
.hd-why{margin:clamp(14px,2vw,24px) 0 0;font-size:calc(clamp(15px,1.5vw,20px)*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.hd-who{margin-top:clamp(14px,2vw,24px)}
.hd-chips{display:flex;flex-wrap:wrap;gap:10px}
.hd-tchip{padding:12px 18px;border-radius:999px;border:1.5px solid var(--hair);background:var(--card-bg);font:inherit;font-size:calc(clamp(15px,1.4vw,19px)*var(--ts,1));font-weight:600;color:var(--ink);cursor:pointer}
.hd-tchip small{margin-left:6px;font-weight:500;color:var(--mute)}
.hd-tchip.on{border-color:#30A46C;background:#30A46C;color:#fff}
.hd-tchip.on small{color:rgba(255,255,255,.8)}
.hd-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:clamp(16px,2.5vw,30px)}
.hd-foot .btn{display:inline-flex;align-items:center;gap:7px}
.hd-foot .btn svg{width:15px;height:15px}
.hd-score{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.hd-score li{position:relative;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-radius:14px;overflow:hidden;background:var(--card-bg);border:1px solid var(--hair-2);font-size:calc(clamp(17px,1.8vw,24px)*var(--ts,1));font-weight:650;color:var(--ink)}
.hd-score li::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--w);background:color-mix(in srgb,var(--blue) 16%,transparent);transition:width .6s ease}
.hd-score li>*{position:relative}
.hd-score b{font-variant-numeric:tabular-nums}
@media(max-width:600px){.hd-tiles{grid-template-columns:1fr}.hd-qrow{align-items:flex-start}}

/* ---- toolbar-css ---- */
/* ============================================================
   TOP BAR TOOLS: clearer icons, the everyday ones in view, the rest in More
   Mac:    Screensaver · Appearance · Accessibility · Feedback | More (Edit products, Refresh)
   iPad:   the same, with 44 pt touch targets
   iPhone: Feedback | More (everything else), so the page name keeps its room
   ============================================================ */
.chrome-actions{gap:2px!important}
.chrome-actions .tool-btn{width:34px;height:34px;border-radius:10px;color:var(--ink-2)}
.chrome-actions .tool-btn svg{width:19px!important;height:19px!important}
.chrome-actions .tool-btn:hover{color:var(--ink)}
.chrome-actions #edBtn,.chrome-actions #refreshBtn,.chrome-actions #seasonToggle{display:none!important}
.chrome-actions #moreBtn{display:grid!important;place-items:center}
.chrome-actions .tb-sep{width:1px;height:18px;margin:0 6px;background:var(--hair)}
@media (pointer:coarse){
  .chrome-actions .tool-btn{width:44px!important;height:44px!important}
  .chrome-actions .tool-btn svg{width:21px!important;height:21px!important}
  .chrome-actions .tb-sep{margin:0 4px}
}
@media (max-width:600px){
  .chrome-actions #ssBtn,.chrome-actions #themeBtn,.chrome-actions #prefsBtn,.chrome-actions .tb-sep{display:none!important}
  .chrome-actions .tool-btn{width:40px!important;height:40px!important}
}
/* The More menu: icon, label and a hint, grouped */
#moreMenu{min-width:250px;padding:6px}
#moreMenu button{align-items:center}
#moreMenu .mm-t{display:flex;flex-direction:column;min-width:0}
#moreMenu .mm-t small{font-size:calc(12px*var(--ts,1));color:var(--mute)}
#moreMenu hr{margin:5px 8px;border:0;border-top:1px solid var(--hair-2)}
#moreMenu svg{flex:none}
@media (pointer:coarse){#moreMenu button{min-height:48px}}

/* ---- edit-lock-css ---- */
#edGate,#hdGate{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
#edGate.open,#hdGate.open{display:flex}
#edGate .gate-card,#hdGate .gate-card{width:100%;max-width:340px;padding:24px 22px 20px;border-radius:20px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:0 20px 50px -10px rgba(0,0,0,.35);color:var(--ink)}
#edGate h2,#hdGate h2{margin:0 0 4px;font-size:calc(20px*var(--ts,1));font-weight:700;letter-spacing:-.02em}
#edGate p,#hdGate p{margin:0 0 14px;font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
#edGate input,#hdGate input{width:100%;box-sizing:border-box;font:inherit;font-size:calc(17px*var(--ts,1));padding:11px 14px;border-radius:12px;border:1px solid var(--hair);background:var(--app-bg);color:var(--ink);outline:none}
#edGate input:focus,#hdGate input:focus{border-color:var(--blue)}
#edGate .gate-err,#hdGate .gate-err{min-height:18px;margin:8px 0 0;font-size:calc(13px*var(--ts,1));color:#FF3B30}
#edGate .gate-row,#hdGate .gate-row{display:flex;gap:8px;margin-top:10px}
#edGate button,#hdGate button{flex:1;font:inherit;font-size:calc(15px*var(--ts,1));font-weight:600;padding:10px 14px;border-radius:12px;border:1px solid var(--hair);background:transparent;color:var(--ink-2);cursor:pointer}
#edGate button.pri,#hdGate button.pri{background:var(--blue-fill,var(--blue));border-color:var(--blue);color:#fff}
/* What Ally stands for, under the name on the Overview */
.ally-means{display:none;margin:6px 0 0;font-size:calc(15px*var(--ts,1));font-weight:500;letter-spacing:.01em;color:var(--mute)}
.ally-means b{font-weight:700;color:var(--blue)}
/* Easter egg: tap the Ally name and it tells you what it stands for, one word at a time */
.home-head .t-view-title{cursor:pointer;-webkit-tap-highlight-color:transparent;width:max-content}
.home-head .t-view-title:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:8px}
.home-head.ally-open .ally-means{display:block}
.ally-means>span{display:inline-block;opacity:0;animation:amIn .45s cubic-bezier(.2,.9,.3,1.2) forwards;animation-delay:calc(var(--i)*110ms)}
@keyframes amIn{from{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:none}}
.home-head.ally-open .t-view-title{animation:amPop .4s ease}
@keyframes amPop{40%{transform:scale(1.04)}}
@media (prefers-reduced-motion:reduce){.ally-means>span{animation:none;opacity:1}.home-head.ally-open .t-view-title{animation:none}}

/* ---- ov-tile-tag-css ---- */
/* Overview tiles: name and count on one row, a short line about the category under it */
#homeGrid .ov-tile-t{gap:3px}
#homeGrid .ov-tile-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;width:100%;min-width:0}
#homeGrid .ov-tile-row b{flex:0 1 auto}
#homeGrid .ov-tile-row small{flex:none}
#homeGrid .ov-tile-tag{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:calc(13px*var(--ts,1));line-height:1.35;color:var(--mute);text-align:left}

/* ---- ov-demo-day-css ---- */
/* Overview: Demo of the day, one featured demo and two more ideas */
#homeScroll .dd{margin-top:28px}
.dd-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.dd-head h2{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#C77700}
html.dark .dd-head h2{color:#FFB340}
.dd-head h2 i{width:7px;height:7px;border-radius:50%;background:#FF9F0A}
.dd-head>span{font-size:calc(13px*var(--ts,1));color:var(--mute)}
.dd-head .link-btn{margin-left:auto}
.dd-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:12px}
.dd-main{display:flex;align-items:center;gap:20px;min-width:0;padding:18px 22px;border-radius:20px;border:1px solid var(--hair-2);background:var(--card-bg);box-shadow:var(--card-shadow);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.dd-main:hover{border-color:var(--hair);box-shadow:var(--card-shadow-hover)}
.dd-main:focus-visible,.dd-row:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.dd-pic{flex:none;display:block;width:clamp(84px,10vw,128px);height:clamp(84px,10vw,128px)}
.dd-pic img,.dd-thumb img{display:block;width:100%;height:100%;object-fit:contain}
html.dark .dd-pic img.inv,html.dark .dd-thumb img.inv{filter:invert(1)}
.dd-main-t{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.dd-main-t small{font-size:calc(13px*var(--ts,1));color:var(--mute)}
.dd-main-t b{font-size:calc(clamp(19px,2vw,24px)*var(--ts,1));font-weight:700;letter-spacing:-.02em;line-height:1.2;color:var(--ink)}
.dd-main-t>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:calc(15px*var(--ts,1));line-height:1.45;color:var(--ink-2)}
.dd-main-t em{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:7px 13px;border-radius:999px;background:#FF9F0A;color:#fff;font-style:normal;font-size:calc(13px*var(--ts,1));font-weight:650}
.dd-main-t em svg{width:13px;height:13px}
.dd-more{display:flex;flex-direction:column;min-width:0;padding:6px 8px;border-radius:20px;border:1px solid var(--hair-2);background:var(--card-bg);box-shadow:var(--card-shadow)}
.dd-lab{padding:8px 10px 2px;font-size:calc(11px*var(--ts,1));font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
.dd-row{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:10px;border:0;border-radius:14px;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.dd-row+.dd-row{border-top:1px solid var(--hair-2);border-radius:0 0 14px 14px}
.dd-row:hover{background:var(--hover-bg)}
.dd-thumb{flex:none;display:block;width:46px;height:46px}
.dd-row-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.dd-row-t small{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.dd-row-t b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink)}
.dd-row em{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--panel-bg);color:var(--mute);transition:transform .15s,background .15s,color .15s}
.dd-row em svg{width:13px;height:13px}
.dd-row:hover em{background:var(--blue-soft);color:var(--blue);transform:translateX(2px)}
.dd-prog{display:inline-flex;align-items:center;gap:7px;font-size:calc(13px*var(--ts,1));color:var(--mute);font-variant-numeric:tabular-nums}
.dd-prog i{position:relative;width:46px;height:5px;border-radius:99px;background:var(--hair-2);overflow:hidden}
.dd-prog i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--p);border-radius:inherit;background:#FF9F0A}
.dd-acts{display:inline-flex;align-items:center;gap:14px;margin-left:auto}
.dd-head .dd-acts .link-btn{margin-left:0}
.dd-shuf{display:inline-flex;align-items:center;gap:6px;padding:4px 2px;border:0;background:none;font:inherit;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--blue);cursor:pointer}
.dd-shuf svg{width:14px;height:14px;transition:transform .35s}
.dd-shuf:hover svg{transform:rotate(180deg)}
.dd-done{color:#30A46C;font-weight:600}
.dd-pic{position:relative}
.dd-pic img{position:relative;transition:transform .35s cubic-bezier(.2,.9,.3,1.2)}
.dd-main:hover .dd-pic img{transform:scale(1.06) rotate(-2deg)}
.dd-thumb img{transition:transform .25s}
.dd-row:hover .dd-thumb img{transform:scale(1.08)}
.dd-swap .dd-main,.dd-swap .dd-more{animation:ddIn .45s cubic-bezier(.2,.9,.3,1) both}
.dd-swap .dd-more{animation-delay:.06s}
@keyframes ddIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.dd-swap .dd-main,.dd-swap .dd-more{animation:none}.dd-main:hover .dd-pic img,.dd-row:hover .dd-thumb img{transform:none}}
@media(max-width:820px){.dd-grid{grid-template-columns:1fr}}
@media(max-width:600px){.dd-main{padding:14px 16px;gap:14px}.dd-head>span:not(.dd-acts){display:none}.dd-acts{width:100%;justify-content:space-between;margin-left:0}}

/* ---- tour-more-css ---- */
/* New to Apple: continue, quick check and the first week list */
.tour-resume{display:flex;align-items:center;gap:14px;width:100%;max-width:420px;margin-top:18px;padding:12px 16px;border-radius:16px;border:1px solid var(--hair-2);background:var(--card-bg);box-shadow:var(--card-shadow);font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.tour-resume:hover{border-color:var(--blue)}
.tour-resume>span:first-child{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue)}
.tour-resume>span:first-child svg{width:22px;height:22px}
.tour-resume>span:nth-child(2){flex:1;display:flex;flex-direction:column}
.tour-resume small{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.tour-resume b{font-size:calc(17px*var(--ts,1));font-weight:650}
.tour-resume>svg{width:14px;height:14px;color:var(--blue)}
.tq-q{margin:0 0 12px;font-size:calc(17px*var(--ts,1));font-weight:600;line-height:1.4;color:var(--ink)}
.tq-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:8px}
.tq-opt{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 10px;border-radius:14px;border:1.5px solid var(--hair-2);background:var(--card-bg);font:inherit;font-size:calc(15px*var(--ts,1));font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .15s,opacity .2s}
.tq-opt img{display:block;width:100%;height:64px;object-fit:contain}
html.dark .tq-opt img.inv{filter:invert(1)}
.tq-opt:hover:not(:disabled){border-color:var(--blue)}
.tq-opt.right{border-color:#30A46C;background:color-mix(in srgb,#30A46C 12%,var(--card-bg))}
.tq-opt.wrong{border-color:#FF3B30;background:color-mix(in srgb,#FF3B30 9%,var(--card-bg))}
.tq-opt.dim{opacity:.45}
.tq-opt:disabled{cursor:default}
.tq-fb{margin:12px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.tq-fb.ok b{color:#30A46C}
.tq-fb.no b{color:#FF3B30}
.tour-week{margin-top:30px;padding:18px 20px;border-radius:18px;border:1px solid var(--hair-2);background:var(--card-bg)}
.tw-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.tw-h .tour-h2{margin:0}
.tw-h span{font-size:calc(13px*var(--ts,1));color:var(--mute)}
.tour-week ul{list-style:none;margin:10px 0 0;padding:0}
.tour-week li{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1));color:var(--ink)}
.tour-week li>i{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--hair);color:#fff}
.tour-week li>i svg{width:12px;height:12px}
.tour-week li.done>i{background:#30A46C;border-color:#30A46C}
.tour-week li.done>span{color:var(--mute)}
.tour-week li>span{flex:1;min-width:0}
.tour-week li small{font-size:calc(13px*var(--ts,1));font-weight:600;color:#30A46C}
.tour-week .link-btn{flex:none;display:inline-flex;align-items:center;gap:4px}
.tour-week .link-btn svg{width:12px;height:12px}

/* ---- product-scroll-cue ---- */
/* A quiet, temporary cue that more product guidance continues below.
   It sits at the bottom of what you can see, so it never covers the top of the content,
   and it goes away as soon as you scroll. */
#psBody{position:relative;padding-bottom:46px}
#psBody.has-more:not(.has-scrolled)::after{content:"Scroll for more  ↓";position:sticky;z-index:2;bottom:-46px;display:flex;align-items:flex-end;justify-content:center;height:72px;margin:-72px -24px 0;padding-bottom:12px;box-sizing:border-box;pointer-events:none;background:linear-gradient(to bottom,transparent,var(--app-bg) 78%);color:var(--mute);font-size:calc(12px*var(--ts,1));font-weight:600;letter-spacing:.02em;animation:fcIn .3s ease both}

/* Sell it: one headline, the scenario under it, then a calm list */
.sheet:has(.ps-head) .ps-lead .ps-scn{margin:12px 0 0;max-width:46em;font-size:calc(15px*var(--ts,1));font-weight:400;line-height:1.5;letter-spacing:0;color:var(--mute);text-wrap:pretty}
.sheet:has(.ps-head) .ps-lead .ps-scn b{display:inline;margin-right:6px;font-weight:600;color:var(--ink)}
.ps-rec{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px 24px!important}
.ps-fact dd small{font-size:.86em;font-weight:500;color:var(--mute)}

/* Bring up: what you might hear, as short quotes */
.ps-cv-cues{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.ps-cv-cues li{font-size:calc(15px*var(--ts,1));line-height:1.4;color:var(--ink-2)}

/* Bring up: Trade In values as a calm two-column list */
.ps-ti{margin-top:24px}
.ps-ti-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.ps-ti-h .ps-h{margin:0}
.ps-ti-h span{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.ps-ti-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));column-gap:28px}
.ps-ti-list li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;border-bottom:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1));color:var(--ink)}
.ps-ti-list li b{flex:none;font-weight:600;font-variant-numeric:tabular-nums}
.ps-ti-list.clip li:nth-child(n+9){display:none}
.ps-ti-more{margin-top:8px}
.ps-ti-note{margin:10px 0 0;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--mute)}

/* Apps to show: apps with a Software term are buttons that open it in Technical knowledge */
.ps-app{display:inline-flex;align-items:center;gap:5px;padding:6px 10px 6px 12px;border-radius:999px;border:1px solid var(--hair-2);background:var(--card-bg);font:inherit;font-size:calc(13px*var(--ts,1));font-weight:500;color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s}
.ps-app svg{width:11px;height:11px;color:var(--blue);transition:transform .15s}
.ps-app:hover{border-color:var(--blue)}
.ps-app:hover svg{transform:translateX(2px)}
.ps-app:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media (pointer:coarse){.ps-app{min-height:40px}}

/* Product sheet on phones: use the whole screen, and stack the key facts as rows instead of three squeezed columns */
@media(max-width:720px){
  #ov.open:has(#panel .ps-head){padding:0!important}
  #panel.sheet:has(.ps-head){height:100%!important;max-height:100%!important;margin:0!important;border-radius:0!important;padding-top:env(safe-area-inset-top,0px)}
  #panel .ps-head{padding-top:12px!important}
  #panel .ps-pic{width:60px!important;height:60px!important}
  #panel .ps-facts{grid-template-columns:1fr!important;margin-top:12px!important}
  #panel .ps-fact{display:flex;align-items:baseline;gap:12px;padding:8px 0!important;border-left:0!important}
  #panel .ps-fact+.ps-fact{border-top:1px solid var(--hair-2)}
  #panel .ps-fact dt{flex:none;width:76px;margin:0!important}
  #panel .ps-fact dd{flex:1;min-width:0;font-size:calc(15px*var(--ts,1))!important}
}

/* ---- guides-calm-refinement ---- */
/* Guides: keep the entry point easy to scan and the lesson oriented one step at a time. */
#guidesScroll>.t-view-title,#guidesScroll>.t-view-sub,#guidesScroll>.gd-bar,#guidesScroll>#gList{width:min(100%,1080px);margin-left:auto;margin-right:auto}
#guidesScroll>.t-view-sub{max-width:54ch}
#guidesScroll>.gd-bar{gap:10px;margin-top:22px}
#guidesScroll .gd-bar .vp-search{flex:1 1 360px;max-width:520px;min-height:44px}
#guidesScroll .gd-filter-label{display:flex;align-items:center;gap:8px;font-size:calc(12px*var(--ts,1));font-weight:600;color:var(--mute)}
#guidesScroll .gd-filter{min-height:42px;min-width:148px;padding:0 34px 0 12px;border:1px solid var(--hair-2);border-radius:11px;background:var(--card-bg);color:var(--ink);font:inherit;font-size:calc(13px*var(--ts,1));cursor:pointer}
#guidesScroll .gd-filter:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
#guidesScroll #gList{margin-top:16px}
#guidesScroll .gx-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:12px}
#guidesScroll .gx-card{min-height:0;padding:17px 18px;gap:6px;border-radius:15px}
#guidesScroll .gx-card b{margin-top:3px;font-size:calc(17px*var(--ts,1))}
#guidesScroll .gx-cs{-webkit-line-clamp:2;font-size:calc(13px*var(--ts,1));line-height:1.45}
#guidesScroll .gx-cf{padding-top:10px;font-size:calc(12px*var(--ts,1))}
#guidesScroll .gx-cst{font-size:calc(12px*var(--ts,1))}

.gx-steps{padding:10px 20px 8px;border-bottom:0}
.gx-st-t{display:none}
.gx-st.on .gx-st-t{display:inline}
.gx-st{max-width:190px}
.gx-st.on{padding-right:13px}
.gx-progress{flex:none;height:2px;margin:0 20px;background:var(--hair-2);overflow:hidden;border-radius:99px}
.gx-progress span{display:block;width:0;height:100%;border-radius:inherit;background:var(--blue-fill,var(--blue));transition:width .25s ease}
.gx-body{padding-top:22px}
.gx-sources{max-width:680px}
.gx-sources summary{font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink-2);cursor:pointer;list-style:none}
.gx-sources summary::-webkit-details-marker{display:none}
.gx-sources summary::after{content:"+";float:right;color:var(--blue);font-size:calc(17px*var(--ts,1));line-height:1}
.gx-sources[open] summary::after{content:"−"}
.gx-sources>p{margin-top:12px}
@media(max-width:600px){
  #guidesScroll>.gd-bar{align-items:stretch}
  #guidesScroll .gd-bar .vp-search{flex-basis:100%;max-width:none}
  #guidesScroll .gd-filter-label{justify-content:space-between}
  #guidesScroll .gd-filter{flex:1}
  #guidesScroll .gx-cf{align-items:flex-start}
  .gx-steps{padding:8px 14px 7px}
  .gx-progress{margin:0 14px}
}
@media(prefers-reduced-motion:reduce){.gx-progress span{transition:none}}

/* ---- category-ally-width-refinement ---- */
/* Category welcome: let Ally's prompt use the same canvas as the product cards. */
@media (min-width:721px){
  #catScroll .ally-chat{width:100%;max-width:none;box-sizing:border-box}
  #catScroll .ally-chat .need-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
  #catScroll .ally-chat .need-chip{width:100%;min-width:0;min-height:46px;box-sizing:border-box;justify-content:flex-start;padding:6px 12px 6px 6px;border-radius:12px;white-space:normal}
}
@media (min-width:1200px){#catScroll .ally-chat .need-chips{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1750px){#catScroll .ally-chat .need-chips{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---- read-aloud-voice-refinement ---- */
.ls-pc #lsVc{width:auto;min-width:36px;max-width:76px;height:34px;padding:0 8px;border-radius:999px;background:var(--tile-bg);font-size:calc(11px*var(--ts,1));font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ls-pc #lsVc[hidden]{display:none}
@media(max-width:520px){.ls-pc #lsVc{max-width:62px;padding:0 6px;font-size:calc(11px*var(--ts,1))}}

/* ---- demo-mode-refinement-v2 ---- */
/* Demo mode: one centered reading area and a single, clear next action. */
.sheet:has(.dy-head){height:min(600px,100%);width:min(780px,100%)}
.dy-body{align-items:center;padding:24px 30px}
.dy-stage{max-width:620px;margin:auto;width:100%}
.dy-do{margin-top:12px;max-width:36em}
.dy-coach{margin-top:20px;padding:12px 14px;gap:10px;background:var(--blue-soft);border-color:var(--blue-soft-2)}
.dy-av{width:25px;height:29px}
.dy-coach b{font-size:calc(12px*var(--ts,1));letter-spacing:.015em}
.dy-coach div span{font-size:calc(13px*var(--ts,1));line-height:1.45}
.dy-tips{gap:0;overflow:hidden;border:1px solid var(--hair-2);border-radius:14px;background:var(--panel-bg)}
.dy-tips li{padding:12px 15px;border:0;border-radius:0;background:transparent;font-size:calc(15px*var(--ts,1))}
.dy-tips li+li{border-top:1px solid var(--hair-2)}
.dy-progress{min-width:0;text-align:center;font-size:calc(13px*var(--ts,1));color:var(--mute);font-variant-numeric:tabular-nums}
@media(max-width:600px){
  .sheet:has(.dy-head){height:94%;width:100%}
  .dy-body{padding:22px 18px}
  .dy-progress{display:none}
}

/* ---- accessibility-preferences-css ---- */
html[data-pref-font="readable"] body{font-family:Arial,Helvetica,sans-serif}

html[data-reduce-motion="true"] *,html[data-reduce-motion="true"] *::before,html[data-reduce-motion="true"] *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
#prefsOverlay{z-index:9800}
#prefsSheet{width:min(520px,100%);height:auto;max-height:min(88vh,820px)}
.prefs-body{display:grid;gap:12px;padding-top:16px;padding-bottom:16px}
.prefs-group{padding:14px 16px;border:1px solid var(--hair-2);border-radius:14px;background:var(--panel-bg)}
.prefs-group-title{margin-bottom:10px;font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
.prefs-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px}
.prefs-row+.prefs-row{margin-top:6px}
.prefs-row>label{font-size:calc(13px*var(--ts,1));font-weight:550;color:var(--ink)}
.prefs-row select{min-width:150px;max-width:62%;min-height:36px;padding:6px 30px 6px 10px;border:1px solid var(--hair);border-radius:9px;background:var(--card-bg);color:var(--ink);font:inherit;font-size:calc(13px*var(--ts,1))}
.prefs-row select:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.prefs-seg{display:flex;padding:3px;border:1px solid var(--hair);border-radius:10px;background:var(--card-bg)}
.prefs-seg button{min-width:62px;min-height:30px;padding:4px 10px;border:0;border-radius:7px;background:transparent;color:var(--ink-2);font:inherit;font-size:calc(12px*var(--ts,1));font-weight:600;cursor:pointer}
.prefs-seg button.on{background:var(--blue-fill,var(--blue));color:#fff}
.prefs-seg button:focus-visible,.prefs-check input:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.prefs-check{display:flex;align-items:center;gap:11px;min-height:40px;cursor:pointer}
.prefs-check input{width:18px;height:18px;accent-color:var(--blue)}
.prefs-check b{display:block;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink)}
.prefs-check small{display:block;margin-top:2px;font-size:calc(12px*var(--ts,1));color:var(--mute)}
.prefs-note{margin:9px 0 0;font-size:calc(12px*var(--ts,1));line-height:1.4;color:var(--mute)}
.prefs-preview-controls{display:flex;align-items:center;gap:7px}.prefs-preview-controls select{min-width:105px}
.prefs-play{min-height:34px;padding:5px 10px;display:inline-flex;align-items:center;gap:5px;font-size:calc(12px*var(--ts,1))}
.prefs-play svg{width:14px;height:14px}.prefs-play[data-playing="true"] svg{display:none}.prefs-play[data-playing="true"] span::before{content:"■";margin-right:5px;font-size:calc(11px*var(--ts,1))}
.prefs-sheet .sheet-foot{justify-content:space-between}
@media(max-width:600px){#prefsSheet{width:100%;max-height:92vh;border-radius:18px 18px 0 0}.prefs-row select{min-width:130px}}
@media(prefers-reduced-motion:reduce){#prefsOverlay,#prefsSheet{transition:none}}
.quicklinks-menu{position:fixed;z-index:9700;top:62px;right:14px;width:min(410px,calc(100vw - 24px));max-height:min(82vh,760px);overflow:auto;padding:10px;border:1px solid var(--hair);border-radius:18px;background:var(--card-bg);box-shadow:0 18px 50px rgba(0,0,0,.2);opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease,visibility .16s}
.quicklinks-menu.open{opacity:1;visibility:visible;transform:translateY(0)}
.quicklinks-heading{padding:10px 11px 8px;font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
.quicklinks-item{display:flex;width:100%;align-items:center;gap:11px;padding:11px;border:0;border-radius:10px;background:transparent;color:var(--ink);text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.quicklinks-item:hover{background:var(--hover-bg)}
.quicklinks-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:var(--blue-soft);color:var(--blue);font-size:calc(17px*var(--ts,1))}
.quicklinks-item>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}
.quicklinks-item b{font-size:calc(13px*var(--ts,1));font-weight:600}.quicklinks-item small{font-size:calc(12px*var(--ts,1));color:var(--mute)}
.quicklinks-arrow{color:var(--mute);font-size:calc(17px*var(--ts,1))}.quicklinks-item.is-disabled{cursor:default;opacity:.72}.quicklinks-item.is-disabled:hover{background:transparent}
.quicklinks-form{display:grid;gap:8px;padding:13px;margin:5px 0 8px;border:1px solid var(--hair-2);border-radius:14px;background:var(--panel-bg)}
.quicklinks-form+.quicklinks-form{margin-top:10px}
.quicklinks-form-head{display:flex;align-items:center;gap:10px;margin-bottom:3px}
.quicklinks-form-head .quicklinks-icon{width:34px;height:34px}
.quicklinks-form-head h2{margin:0;font-size:calc(15px*var(--ts,1));font-weight:650;letter-spacing:-.015em;color:var(--ink)}
.quicklinks-form-head p{margin:3px 0 0;font-size:calc(12px*var(--ts,1));line-height:1.4;color:var(--mute)}
.quicklinks-form>label{margin-top:2px;font-size:calc(11px*var(--ts,1));font-weight:600;color:var(--ink-2)}
.quicklinks-form textarea,.quicklinks-form input,.quicklinks-form select{width:100%;min-height:36px;padding:9px 10px;border:1px solid var(--hair);border-radius:9px;background:var(--card-bg);color:var(--ink);font:inherit;font-size:calc(12px*var(--ts,1));outline:none}
.quicklinks-form textarea{min-height:70px;resize:vertical;line-height:1.45}
.quicklinks-form textarea:focus,.quicklinks-form input:focus,.quicklinks-form select:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}
.quicklinks-form textarea::placeholder,.quicklinks-form input::placeholder{color:var(--mute)}
.quicklinks-send{justify-self:end;min-height:34px;margin-top:2px;padding:7px 12px;border:0;border-radius:9px;background:var(--blue-fill,var(--blue));color:#fff;font:inherit;font-size:calc(12px*var(--ts,1));font-weight:600}
.quicklinks-send:disabled{opacity:.62;cursor:not-allowed}
@media(max-width:600px){.quicklinks-menu{top:58px;right:8px}}
@media(prefers-reduced-motion:reduce){.quicklinks-menu{transition:none}}
.prefs-accent-row{align-items:flex-start;padding-top:7px}
.prefs-swatches{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:220px}
.prefs-swatch{display:grid;place-items:center;width:28px;height:28px;padding:0;border:2px solid transparent;border-radius:50%;background:var(--swatch);cursor:pointer}
.prefs-swatch.on{border-color:var(--ink);box-shadow:0 0 0 2px var(--panel-bg) inset}
.prefs-swatch.on::after{content:"✓";font-size:calc(15px*var(--ts,1));font-weight:800;color:#fff;text-shadow:0 1px 2px #333}
.prefs-swatch:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
:root[data-accent="pink"]{--blue:#C2185B;--blue-hover:#AD1457;--blue-soft:rgba(194,24,91,.09);--blue-soft-2:rgba(194,24,91,.17);--icon-shadow:0 2px 6px -1px rgba(194,24,91,.35)}
:root.dark[data-accent="pink"]{--blue:#FF6B9D;--blue-hover:#FF8FB2;--blue-soft:rgba(255,107,157,.16);--blue-soft-2:rgba(255,107,157,.25);--icon-shadow:0 2px 6px -1px rgba(255,107,157,.35)}
:root[data-accent="purple"]{--blue:#6941A5;--blue-hover:#56348E;--blue-soft:rgba(105,65,165,.09);--blue-soft-2:rgba(105,65,165,.17);--icon-shadow:0 2px 6px -1px rgba(105,65,165,.35)}
:root.dark[data-accent="purple"]{--blue:#B69CFF;--blue-hover:#C6B3FF;--blue-soft:rgba(182,156,255,.16);--blue-soft-2:rgba(182,156,255,.25);--icon-shadow:0 2px 6px -1px rgba(182,156,255,.35)}
:root[data-accent="green"]{--blue:#167A45;--blue-hover:#12663A;--blue-soft:rgba(22,122,69,.09);--blue-soft-2:rgba(22,122,69,.17);--icon-shadow:0 2px 6px -1px rgba(22,122,69,.35)}
:root.dark[data-accent="green"]{--blue:#54D68A;--blue-hover:#72E2A0;--blue-soft:rgba(84,214,138,.16);--blue-soft-2:rgba(84,214,138,.25);--icon-shadow:0 2px 6px -1px rgba(84,214,138,.35)}
:root[data-accent="yellow"]{--blue:#946200;--blue-hover:#795000;--blue-soft:rgba(148,98,0,.1);--blue-soft-2:rgba(148,98,0,.18);--icon-shadow:0 2px 6px -1px rgba(148,98,0,.35)}
:root.dark[data-accent="yellow"]{--blue:#FFD166;--blue-hover:#FFDC85;--blue-soft:rgba(255,209,102,.16);--blue-soft-2:rgba(255,209,102,.25);--icon-shadow:0 2px 6px -1px rgba(255,209,102,.35)}
:root[data-accent="orange"]{--blue:#C45100;--blue-hover:#A94300;--blue-soft:rgba(196,81,0,.09);--blue-soft-2:rgba(196,81,0,.17);--icon-shadow:0 2px 6px -1px rgba(196,81,0,.35)}
:root.dark[data-accent="orange"]{--blue:#FF9F4A;--blue-hover:#FFB36F;--blue-soft:rgba(255,159,74,.16);--blue-soft-2:rgba(255,159,74,.25);--icon-shadow:0 2px 6px -1px rgba(255,159,74,.35)}

/* ---- guide-experience-polish ---- */
#guidesScroll{padding-top:clamp(22px,3.2vw,38px)}
.gd-hero{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;margin:0 0 28px;padding:26px 28px;overflow:hidden;border:1px solid var(--hair-2);border-radius:22px;background:radial-gradient(ellipse at 100% 0%,var(--blue-soft) 0,transparent 45%),var(--panel-bg)}
.gd-hero-mark{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:var(--blue-fill,var(--blue));color:#fff;box-shadow:var(--icon-shadow)}
.gd-hero-mark svg{width:28px;height:28px}
.gd-hero-copy{min-width:0}
.gd-kicker{display:block;margin-bottom:5px;font-size:calc(11px*var(--ts,1));font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--blue)}
.gd-hero-copy h1{margin:0;font-size:calc(clamp(28px,3.4vw,38px)*var(--ts,1));font-weight:720;letter-spacing:-.045em;line-height:1.05;color:var(--ink)}
.gd-hero-copy p{max-width:610px;margin:8px 0 0;font-size:calc(15px*var(--ts,1));line-height:1.5;color:var(--ink-2)}
.gd-hero-stats{display:flex;gap:8px;align-items:stretch}
.gd-hero-stats>div{display:grid;align-content:center;min-width:72px;padding:10px 12px;border:1px solid var(--hair-2);border-radius:13px;background:var(--card-bg);text-align:center}
.gd-hero-stats b{font-size:calc(20px*var(--ts,1));line-height:1.1;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.gd-hero-stats span{margin-top:4px;font-size:calc(11px*var(--ts,1));color:var(--mute)}
.gd-bar{margin:0 0 17px;padding:10px;border:1px solid var(--hair-2);border-radius:16px;background:var(--panel-bg)}
.gd-bar .vp-search{max-width:none;min-height:42px;border-radius:11px;background:var(--card-bg)}
.gd-bar .gd-filter{min-height:42px;border-radius:11px;background:var(--card-bg)}
.gd-results-head{display:flex;align-items:center;gap:9px;margin:0 2px 11px;color:var(--mute);font-size:calc(12px*var(--ts,1))}
.gd-results-head b{font-size:calc(13px*var(--ts,1));color:var(--ink-2)}
.gd-results-head span{padding-left:9px;border-left:1px solid var(--hair)}
#guidesScroll .gx-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:14px}
#guidesScroll .gx-card{position:relative;min-height:204px;padding:19px 20px 16px;border-radius:18px;gap:8px;box-shadow:var(--card-shadow);transition:transform .2s var(--ease-soft),border-color .2s,box-shadow .2s}
#guidesScroll .gx-card:hover{transform:translateY(-2px);box-shadow:var(--card-shadow-hover)}
.gx-card-top{display:flex;align-items:center;gap:8px;min-height:30px}
.gx-card-top .gx-cico{width:30px;height:30px;border-radius:10px;background:var(--blue-soft);color:var(--blue)}
.gx-card-top .gx-cico svg{width:16px;height:16px}
.gx-card-top .gx-ctag{font-size:calc(12px*var(--ts,1))}
.gx-card-top .gx-new{margin-left:auto;padding:4px 9px;background:var(--blue-soft);color:var(--blue)}
#guidesScroll .gx-card>b{margin-top:4px;font-size:calc(17px*var(--ts,1));line-height:1.24}
#guidesScroll .gx-cs{font-size:calc(13px*var(--ts,1));line-height:1.5;-webkit-line-clamp:3}
#guidesScroll .gx-cf{padding-top:12px;font-size:calc(12px*var(--ts,1))}
.gx-cf i{font-style:normal;opacity:.65;padding:0 2px}
.gd-empty{display:grid;justify-items:center;gap:8px;margin-top:20px;padding:38px 20px;border:1px dashed var(--hair);border-radius:18px;text-align:center;background:var(--panel-bg)}
.gd-empty>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--blue-soft);color:var(--blue)}
.gd-empty>span svg{width:22px;height:22px}.gd-empty b{font-size:calc(17px*var(--ts,1));color:var(--ink)}.gd-empty p{margin:0 0 6px;color:var(--mute);font-size:calc(13px*var(--ts,1))}
/* The individual guide reader */
.sheet:has(.gx-head){box-shadow:var(--window-shadow),0 0 0 .5px var(--window-ring)}
.gx-head{align-items:center;padding:20px 24px;background:radial-gradient(ellipse at 0% 0%,var(--blue-soft) 0,transparent 60%),var(--sheet-head)}
.gx-ico{width:46px;height:46px;border:1px solid var(--blue-soft-2);border-radius:14px;background:var(--card-bg);color:var(--blue)}
.gx-title small{font-size:calc(12px*var(--ts,1));font-weight:600;letter-spacing:.015em}
.gx-title h1{margin-top:5px;font-size:calc(22px*var(--ts,1));letter-spacing:-.035em}
.gx-steps{gap:8px;padding:13px 22px 11px;background:var(--app-bg)}
.gx-st{min-height:38px;padding:5px 13px 5px 5px;background:var(--panel-bg)}
.gx-st.on{background:var(--blue-soft);box-shadow:inset 0 0 0 1px var(--blue)}
.gx-progress{height:3px;margin:0 22px;border-radius:99px}
.gx-body{padding:26px 32px 32px}
.gx-pane{max-width:720px;margin:0 auto}
.gx-lead{margin:0 0 15px;padding:17px 19px;border:1px solid var(--blue-soft-2);border-radius:16px;background:var(--blue-soft)}
.gx-lead .gx-kick{margin-bottom:7px}
.gx-lead p{font-size:calc(clamp(17px,2.1vw,20px)*var(--ts,1));line-height:1.42}
.gx-fun{margin-bottom:21px;padding:14px 17px;border-radius:14px;background:var(--panel-bg)}
.gx-sh{align-items:center;gap:13px;margin:24px 0 14px}
.gx-sh h2{font-size:calc(22px*var(--ts,1));letter-spacing:-.035em}
.gx-sh>i{width:38px;height:38px;border-radius:12px}
.gx-pane>.gx-sh:first-child{margin-top:0}
.gx-pane .panel-block{padding:19px 21px;border-radius:16px;background:var(--panel-bg)}
.gx-pane .panel-block p{font-size:calc(15px*var(--ts,1));line-height:1.65}
.gx-pane .rec-list{gap:0}
.gx-pane .rec-list li{padding:12px 0;font-size:calc(15px*var(--ts,1));line-height:1.55}
.gx-pane .rec-list li+li{border-top:1px solid var(--hair-2)}
.gx-pane .rec-list .ck{margin-top:1px}
.gx-pane .mf-wrap{gap:10px}.gx-pane .mf{padding:17px 18px;border-radius:15px}
.gx-nav{padding:13px 22px calc(13px + env(safe-area-inset-bottom,0px));background:var(--sheet-head)}
.gx-nav .btn{min-height:42px}
@media(max-width:760px){
  .gd-hero{grid-template-columns:auto minmax(0,1fr);gap:14px;padding:20px;border-radius:18px}
  .gd-hero-mark{width:48px;height:48px;border-radius:14px}.gd-hero-mark svg{width:23px;height:23px}
  .gd-hero-stats{grid-column:1/-1;justify-content:flex-start}
  .gd-hero-stats>div{min-width:68px}
  .gd-bar{padding:8px}
}
@media(max-width:600px){
  #guidesScroll{padding-top:18px}
  .gd-hero{margin-bottom:20px;padding:17px;gap:12px}
  .gd-hero-copy p{font-size:calc(13px*var(--ts,1))}
  .gd-hero-stats{gap:6px}.gd-hero-stats>div{min-width:0;flex:1;padding:8px 5px}
  #guidesScroll .gx-grid{gap:10px}
  #guidesScroll .gx-card{min-height:0;padding:16px;border-radius:16px}
  .gx-head{align-items:flex-start;padding:14px 14px 12px 16px}
  .gx-ico{width:38px;height:38px;border-radius:12px}.gx-ico svg{width:19px;height:19px}
  .gx-title h1{font-size:calc(20px*var(--ts,1))}
  .gx-body{padding:18px 16px 22px}
  .gx-lead{padding:15px;border-radius:14px}
  .gx-pane .panel-block{padding:16px}
  .gx-steps{padding:9px 14px 8px}.gx-progress{margin:0 14px}
  .gx-nav{padding-left:14px;padding-right:14px}
}
@media(prefers-reduced-motion:reduce){#guidesScroll .gx-card{transition:none}}

/* ---- purpose-experience-polish ---- */
/* Vision & purpose: give the story a clearer opening and more room to breathe. */
#purposeScroll>.pp{width:min(100%,1040px);max-width:1040px;margin:0 auto;padding-top:clamp(22px,3vw,38px)}
#purposeScroll .pp-hero{min-height:232px;grid-template-columns:minmax(0,1fr) 150px;gap:22px;padding:clamp(24px,3.5vw,36px);border-radius:26px;background:radial-gradient(ellipse at 88% 12%,var(--blue-soft-2),transparent 34%),linear-gradient(135deg,var(--blue-soft),color-mix(in srgb,var(--blue) 3%,var(--card-bg)));box-shadow:var(--card-shadow)}
#purposeScroll .pp-hero::after{content:none}
#purposeScroll .pp-ht{position:relative;z-index:1;max-width:700px}
#purposeScroll .pp-kick{font-size:calc(11px*var(--ts,1));font-weight:750;letter-spacing:.1em}
#purposeScroll .pp-title{font-size:calc(clamp(36px,5vw,54px)*var(--ts,1));letter-spacing:-.05em}
#purposeScroll .pp-lead{max-width:39em;font-size:calc(clamp(16px,1.7vw,18px)*var(--ts,1));line-height:1.58}
#purposeScroll .pp-cta{margin-top:24px}
#purposeScroll .pp-cta .btn{min-height:44px;padding-left:18px;padding-right:18px}
#purposeScroll .pp-art{position:relative;z-index:1;width:108px;height:118px;filter:drop-shadow(0 7px 12px rgba(0,0,0,.1));animation:ppArtIn .7s var(--ease-soft) both}
@keyframes ppArtIn{from{opacity:0;transform:translateY(9px) scale(.97)}to{opacity:1;transform:none}}
#purposeScroll .pp-stats{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin-top:14px}
#purposeScroll .pp-stats>div{position:relative;overflow:hidden;padding:15px 17px;border-radius:15px;box-shadow:var(--card-shadow);transition:transform .2s var(--ease-soft),border-color .2s}
#purposeScroll .pp-stats>div:hover{transform:translateY(-2px);border-color:var(--blue-soft-2)}
#purposeScroll .pp-stats b{font-size:calc(34px*var(--ts,1));letter-spacing:-.04em}
#purposeScroll .pp-stats span{font-size:calc(13px*var(--ts,1))}
#purposeScroll .pp-nav{margin-top:28px;padding-top:10px;padding-bottom:10px;backdrop-filter:saturate(1.2);-webkit-backdrop-filter:saturate(1.2)}
#purposeScroll .pp-nav button{padding:8px 15px;font-size:calc(13px*var(--ts,1))}
#purposeScroll .pp-nav button.on{box-shadow:0 1px 3px rgba(0,0,0,.14)}
#purposeScroll .pp-sec{margin-top:42px;scroll-margin-top:70px}
#purposeScroll .pp-sec>.pp-kick{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;padding:5px 9px;border-radius:999px;background:var(--blue-soft);color:var(--blue)}
#purposeScroll .pp-sec>.pp-kick::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
#purposeScroll .pp-h2{max-width:24em;margin-bottom:10px;font-size:calc(clamp(24px,3vw,32px)*var(--ts,1));letter-spacing:-.04em;line-height:1.12}
#purposeScroll .pp-sub{max-width:49em;font-size:calc(15px*var(--ts,1));line-height:1.65}
#purposeScroll .pp-quote{position:relative;margin-top:17px;padding:26px 30px 27px 32px;border-radius:20px;background:linear-gradient(120deg,var(--blue-soft),var(--card-bg));border-color:var(--blue-soft-2)}
#purposeScroll .pp-quote::before{content:none}
#purposeScroll .pp-story::before{content:none}
#purposeScroll .pp-quote p{max-width:52em;font-size:calc(clamp(20px,2.4vw,27px)*var(--ts,1));line-height:1.4}
#purposeScroll .pp-story{gap:12px}
#purposeScroll .pp-story li{padding:31px 16px 17px;border:1px solid var(--hair-2);border-radius:16px;background:var(--panel-bg);transition:transform .2s var(--ease-soft),border-color .2s}
#purposeScroll .pp-story li:hover{transform:translateY(-2px);border-color:var(--blue-soft-2)}
#purposeScroll .pp-story::before{left:8px;right:8px;top:10px}
#purposeScroll .pp-story .pp-dot{left:1px}
#purposeScroll .pp-story li.next{background:var(--blue-soft);border-color:var(--blue-soft-2)}
#purposeScroll .pp-grid{gap:14px}
#purposeScroll .pp-card{min-height:100%;padding:20px 21px;border-radius:18px;transition:transform .2s var(--ease-soft),border-color .2s,box-shadow .2s}
#purposeScroll .pp-card:hover{transform:translateY(-2px);border-color:var(--blue-soft-2);box-shadow:var(--card-shadow-hover)}
#purposeScroll .pp-ico{width:38px;height:38px;border-radius:12px}
#purposeScroll .pp-ico svg{width:19px;height:19px}
#purposeScroll .pp-card b{font-size:calc(17px*var(--ts,1));line-height:1.3}
#purposeScroll .pp-card p{font-size:calc(15px*var(--ts,1));line-height:1.6}
#purposeScroll .pp-prin{gap:12px}
#purposeScroll .pp-prin li{padding:18px 20px 18px 60px;border-radius:17px}
#purposeScroll .pp-prin li::before{left:20px;top:18px;border-radius:9px;background:var(--blue-soft);color:var(--blue)}
#purposeScroll .pp-tl li{padding:20px 22px;border-radius:18px;transition:border-color .2s,transform .2s var(--ease-soft)}
#purposeScroll .pp-tl li:hover{transform:translateY(-1px);border-color:var(--blue-soft-2)}
#purposeScroll .pp-fr{padding:19px 22px;border-radius:17px;grid-template-columns:190px 1fr 1fr}
#purposeScroll .pp-fr.me{box-shadow:none}
#purposeScroll .pp-convo>div,#purposeScroll .pp-depts>div{border-radius:17px;transition:transform .2s var(--ease-soft),border-color .2s}
#purposeScroll .pp-convo>div:hover,#purposeScroll .pp-depts>div:hover{transform:translateY(-2px);border-color:var(--blue-soft-2)}
#purposeScroll .pp-planh{padding-top:4px}
#purposeScroll .pp-plan .pp-pw{border-radius:17px;transition:transform .2s var(--ease-soft),border-color .2s,box-shadow .2s}
#purposeScroll .pp-plan .pp-pw:hover{transform:translateY(-2px);box-shadow:var(--card-shadow-hover)}
#purposeScroll .pp-script{padding:21px 23px;border-radius:18px;background:linear-gradient(120deg,var(--blue-soft),var(--panel-bg));border-left:0}
#purposeScroll .pp-script p{font-size:calc(17px*var(--ts,1));line-height:1.65}
#purposeScroll .pp-end{margin-top:38px;padding:24px 28px;border-radius:22px;background:radial-gradient(ellipse at 0% 50%,var(--blue-soft),transparent 62%),var(--card-bg);box-shadow:var(--card-shadow)}
#purposeScroll .pp-endart{filter:drop-shadow(0 6px 12px rgba(0,0,0,.1))}
#purposeScroll .pp-note{padding-top:14px;border-top:1px solid var(--hair-2)}
#panel:has(.ps2-head) .ps2-head{background:linear-gradient(90deg,var(--blue-soft),var(--sheet-head) 52%)}
#panel:has(.ps2-head) .ps2-slide .pp-kick{display:inline-flex;padding:5px 10px;border-radius:999px;background:var(--blue-soft)}
#panel:has(.ps2-head) .ps2-title{max-width:18em}
#panel:has(.ps2-head) .ps2-foot .btn{min-height:42px;border-radius:12px}
@media(max-width:900px){#purposeScroll>.pp{padding-top:24px}}
@media(max-width:720px){
  #purposeScroll>.pp{padding-top:18px}
  #purposeScroll .pp-hero{min-height:0;grid-template-columns:1fr;padding:24px 21px;border-radius:21px}
  #purposeScroll .pp-hero::after{content:none}
  #purposeScroll .pp-art{display:block;width:58px;height:62px;position:absolute;right:14px;bottom:10px;opacity:.88}
  #purposeScroll .pp-ht{padding-right:50px}
  #purposeScroll .pp-title{font-size:calc(38px*var(--ts,1))}
  #purposeScroll .pp-lead{font-size:calc(15px*var(--ts,1))}
  #purposeScroll .pp-cta{margin-top:18px}
  #purposeScroll .pp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  #purposeScroll .pp-nav{margin-top:20px}
  #purposeScroll .pp-sec{margin-top:34px;scroll-margin-top:64px}
  #purposeScroll .pp-quote{padding:21px 20px 22px 24px}
  #purposeScroll .pp-story li{padding:0 0 0 27px;background:transparent;border:0}
  #purposeScroll .pp-story li:hover{transform:none;border-color:transparent}
  #purposeScroll .pp-story::before{content:none}
  #purposeScroll .pp-story .pp-dot{top:2px;left:0}
  #purposeScroll .pp-fr{grid-template-columns:1fr;gap:10px}
  #purposeScroll .pp-fr>div{padding-top:8px;border-top:1px solid var(--hair-2)}
  #purposeScroll .pp-script{padding:19px}
  #purposeScroll .pp-script p{font-size:calc(15px*var(--ts,1))}
  #purposeScroll .pp-end{margin-top:36px;padding:20px}
}
@media(prefers-reduced-motion:reduce){#purposeScroll .pp-art,#purposeScroll .pp-card,#purposeScroll .pp-story li,#purposeScroll .pp-convo>div,#purposeScroll .pp-depts>div{animation:none;transition:none}}

/* ---- purpose-compact-followup ---- */
#purposeScroll .pp-hero .pp-lead{max-width:36em;font-size:calc(17px*var(--ts,1))}
#purposeScroll .pp-stats{margin-top:10px}
#purposeScroll .pp-story li{padding-bottom:13px}
#purposeScroll .pp-card{padding:17px 18px}
#purposeScroll .pp-tl li{padding-top:16px;padding-bottom:16px}
#purposeScroll .pp-plan{gap:9px}
#purposeScroll .pp-plan .pp-pw{padding:14px 16px}
#purposeScroll .pp-end{margin-top:32px}

/* ---- practice-floor-tool ---- */
#ov.practice-mode{position:fixed;inset:0;z-index:9990;display:flex;align-items:stretch;justify-content:stretch;padding:0;border-radius:0;background:var(--app-bg);backdrop-filter:none;-webkit-backdrop-filter:none}
#ov.practice-mode #panel.practice-full{width:100%;height:100%;max-height:100%;border-radius:0;overflow:auto;background:var(--app-bg)}
.pr-head{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:22px;padding:20px clamp(20px,4vw,64px);background:color-mix(in srgb,var(--app-bg) 92%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--hair)}
.pr-kicker{font-size:calc(11px*var(--ts,1));font-weight:750;letter-spacing:.1em;color:var(--blue);text-transform:uppercase}
.pr-head h1{margin:4px 0;font-size:calc(clamp(24px,3vw,34px)*var(--ts,1));letter-spacing:-.04em;color:var(--ink)}
.pr-head p{margin:0;color:var(--ink-2)}.pr-actions{display:flex;align-items:center;gap:10px}.pr-actions .btn{white-space:nowrap}
.pr-main{width:min(1140px,100%);margin:0 auto;padding:clamp(20px,4vw,48px);display:grid;gap:22px}
.pr-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.pr-controls label{display:grid;gap:6px;min-width:180px;font-size:calc(12px*var(--ts,1));font-weight:650;color:var(--mute)}.pr-controls select{min-width:190px;max-width:300px;padding:11px 36px 11px 13px;border:1px solid var(--hair);border-radius:12px;background:var(--card-bg);color:var(--ink);font:inherit;font-size:calc(15px*var(--ts,1))}.pr-vs{padding-bottom:12px;color:var(--mute);font-size:calc(12px*var(--ts,1));font-weight:700}
.pr-compare,.pr-coach{overflow:hidden;border:1px solid var(--hair-2);border-radius:22px;background:var(--card-bg);box-shadow:var(--card-shadow)}.pr-products{display:grid;grid-template-columns:1fr 44px 1fr;align-items:center;padding:26px 28px 22px;background:linear-gradient(120deg,var(--blue-soft),transparent 60%);border-bottom:1px solid var(--hair-2)}.pr-products article{min-width:0}.pr-products small{color:var(--blue);font-weight:650}.pr-products h2{margin:5px 0;font-size:calc(clamp(22px,3vw,32px)*var(--ts,1));letter-spacing:-.035em;color:var(--ink)}.pr-products p{max-width:42em;margin:0;color:var(--ink-2);line-height:1.5}.pr-middle{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--panel-bg);color:var(--mute);font-size:calc(11px*var(--ts,1));font-weight:750}
.pr-specs{padding:4px 28px 18px}.pr-row{display:grid;grid-template-columns:minmax(135px,.7fr) 1fr 1fr;gap:18px;padding:15px 0;border-bottom:1px solid var(--hair-2);line-height:1.4}.pr-row:last-child{border:0}.pr-row b{font-size:calc(13px*var(--ts,1));color:var(--mute)}.pr-row span{font-size:calc(15px*var(--ts,1));color:var(--ink)}.pr-row span:last-child{padding-left:18px;border-left:1px solid var(--hair-2)}
.pr-coach{padding:22px 26px}.pr-coach h2{margin:5px 0 16px;font-size:calc(20px*var(--ts,1));letter-spacing:-.025em;color:var(--ink)}.pr-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pr-steps article{padding:15px 16px;border-radius:15px;background:var(--panel-bg)}.pr-steps b{font-size:calc(15px*var(--ts,1));color:var(--ink)}.pr-steps p{margin:7px 0 0;font-size:calc(13px*var(--ts,1));line-height:1.55;color:var(--ink-2)}.pr-note{margin:0;color:var(--mute);font-size:calc(12px*var(--ts,1))}
.co-home{order:-1;white-space:nowrap}
@media(max-width:680px){.pr-head{align-items:flex-start;padding:16px}.pr-head>div:first-child p{font-size:calc(13px*var(--ts,1))}.pr-actions{gap:4px}.pr-actions>.btn:first-child{white-space:normal;max-width:115px;font-size:calc(12px*var(--ts,1))}.pr-main{padding:16px;gap:14px}.pr-controls{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.pr-controls label:first-child{grid-column:1/-1}.pr-controls label{min-width:0}.pr-controls select{min-width:0;width:100%;max-width:none}.pr-vs{display:none}.pr-products{grid-template-columns:1fr 30px 1fr;padding:19px 16px 16px;gap:8px}.pr-products h2{font-size:calc(20px*var(--ts,1))}.pr-products p{font-size:calc(12px*var(--ts,1))}.pr-products small{font-size:calc(11px*var(--ts,1))}.pr-middle{width:27px;height:27px;font-size:calc(11px*var(--ts,1))}.pr-specs{padding:0 16px 12px}.pr-row{grid-template-columns:1fr 1fr;gap:5px 12px;padding:12px 0}.pr-row b{grid-column:1/-1}.pr-row span:last-child{padding-left:12px}.pr-steps{grid-template-columns:1fr}.pr-coach{padding:19px}.co-home{font-size:calc(11px*var(--ts,1));padding:7px 10px}}

/* ---- practice-technical-focus ---- */
.pr-knowledge{overflow:hidden;border:1px solid var(--hair-2);border-radius:22px;background:var(--card-bg);box-shadow:var(--card-shadow)}.pr-knowledge>header{padding:22px 26px 15px}.pr-knowledge>header h2{margin:4px 0;font-size:calc(22px*var(--ts,1));letter-spacing:-.03em;color:var(--ink)}.pr-knowledge>header p{margin:0;max-width:66ch;font-size:calc(13px*var(--ts,1));line-height:1.5;color:var(--ink-2)}.pr-kb-search{display:grid;gap:6px;padding:0 26px 15px}.pr-kb-search label,.pr-kb-related>small{font-size:calc(11px*var(--ts,1));font-weight:700;color:var(--mute)}.pr-kb-search input{width:100%;padding:12px 14px;border:1px solid var(--hair);border-radius:13px;background:var(--panel-bg);color:var(--ink);font:inherit;font-size:calc(15px*var(--ts,1));outline:none}.pr-kb-search input:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.pr-kb-quick{display:flex;gap:7px;overflow-x:auto;padding:0 26px 16px;scrollbar-width:thin}.pr-kb-quick button,.pr-kb-related button{flex:none;padding:7px 10px;border:1px solid var(--hair-2);border-radius:999px;background:var(--panel-bg);color:var(--ink-2);font:inherit;font-size:calc(12px*var(--ts,1));cursor:pointer}.pr-kb-quick button.on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue);font-weight:650}.pr-kb-content{padding:20px 26px 24px;border-top:1px solid var(--hair-2)}.pr-kb-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.pr-kb-top>div:first-child small{font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--blue)}.pr-kb-top h3{margin:4px 0 0;font-size:calc(20px*var(--ts,1));color:var(--ink)}.pr-kb-levels{display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--panel-bg)}.pr-kb-levels button{padding:7px 10px;border:0;border-radius:9px;background:transparent;color:var(--ink-2);font:inherit;font-size:calc(12px*var(--ts,1));cursor:pointer}.pr-kb-levels button.on{background:var(--card-bg);box-shadow:0 1px 4px rgba(0,0,0,.12);color:var(--blue);font-weight:650}.pr-kb-expl{margin-top:15px;padding:17px 19px;border-radius:15px;background:var(--blue-soft)}.pr-kb-expl small{display:block;margin-bottom:6px;color:var(--blue);font-size:calc(11px*var(--ts,1));line-height:1.4}.pr-kb-expl p{margin:0;color:var(--ink);font-size:calc(15px*var(--ts,1));line-height:1.65}.pr-kb-say{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.pr-kb-say>div{padding:15px 17px;border-radius:15px;background:var(--panel-bg)}.pr-kb-say small{font-size:calc(11px*var(--ts,1));font-weight:750;letter-spacing:.07em;text-transform:uppercase;color:var(--blue)}.pr-kb-say p{margin:6px 0 0;color:var(--ink-2);font-size:calc(13px*var(--ts,1));line-height:1.55}.pr-kb-related{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:14px}.pr-kb-related>small{margin-right:3px}.pr-kb-related button{font-size:calc(11px*var(--ts,1))}.pr-kb-related button:hover{border-color:var(--blue);color:var(--blue)}
@media(max-width:680px){.pr-knowledge>header{padding:19px 19px 12px}.pr-knowledge>header h2{font-size:calc(20px*var(--ts,1))}.pr-kb-search{padding:0 19px 13px}.pr-kb-quick{padding:0 19px 13px}.pr-kb-content{padding:17px 19px 20px}.pr-kb-top{align-items:flex-start;flex-direction:column}.pr-kb-levels{width:100%;justify-content:space-between}.pr-kb-levels button{flex:1}.pr-kb-say{grid-template-columns:1fr}}

/* ---- overview-mobile-card-separation ---- */
@media(max-width:1179px){
  #homeScroll .ov-top{gap:10px;padding:0;border:0;border-radius:0;background:transparent}
  #homeScroll .ov-top .ov-focus,#homeScroll .ov-top .ov-today{border:1px solid var(--hair-2);border-radius:15px;background:var(--card-bg);box-shadow:var(--card-shadow)}
  #homeScroll .ov-top .ov-focus:hover,#homeScroll .ov-top .ov-today:hover{background:var(--hover-bg);box-shadow:var(--card-shadow-hover)}
  #homeScroll .ov-top .ov-today{border-top:1px solid var(--hair-2)}
  #homeScroll .ov-top .ov-today em{color:#C77700;background:color-mix(in srgb,#FF9500 13%,var(--card-bg))}
  html.dark #homeScroll .ov-top .ov-today em{color:#FFB340;background:color-mix(in srgb,#FF9F0A 18%,var(--card-bg))}
}

/* ---- overview-mobile-shortcuts-and-chrome ---- */
/* On compact screens, make the four overview destinations read as deliberate tap targets. */
#homeBtn{display:none!important}
@media(max-width:700px){
  #homeScroll .home-ways{align-items:stretch;gap:8px;margin-top:12px}
  #homeScroll .home-ways .way{justify-content:flex-start;gap:10px;min-height:48px;padding:9px 12px;border:1px solid var(--hair-2);border-radius:13px;background:var(--card-bg);text-align:left}
  #homeScroll .home-ways .way:hover{background:var(--hover-bg)}
  #homeScroll .home-ways .way-ico{display:grid;flex:none;width:27px;height:27px;border-radius:8px;background:var(--tile-bg);color:var(--ink-2)}
  #homeScroll .home-ways .way-ico svg{width:15px;height:15px}
  #homeScroll .home-ways .way-txt{min-width:0}
  #homeScroll .home-ways .way-txt b{font-size:calc(12px*var(--ts,1));line-height:1.25;text-align:left}
}

/* ---- overview-shortcut-cards-all-screens ---- */
#homeScroll .home-ways{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:10px;margin:14px 0 0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
#homeScroll .home-ways .way{display:flex;justify-content:flex-start;align-items:center;gap:11px;min-width:0;min-height:54px;padding:10px 13px;border:1px solid var(--hair-2);border-radius:13px;background:var(--card-bg);text-align:left;transition:background .18s,border-color .18s,transform .18s}
#homeScroll .home-ways .way+.way{border:1px solid var(--hair-2)}
#homeScroll .home-ways .way:hover{background:var(--hover-bg);border-color:var(--hair)}
#homeScroll .home-ways .way-ico{display:grid;flex:none;width:30px;height:30px;border-radius:9px;background:var(--tile-bg);color:var(--ink-2)}
#homeScroll .home-ways .way-ico svg{width:16px;height:16px}
#homeScroll .home-ways .way-txt{min-width:0}
#homeScroll .home-ways .way-txt b{font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--ink);text-align:left;white-space:normal}
#homeScroll .home-ways .way-search{cursor:text}
#homeScroll .home-ways .way-search:hover{background:var(--card-bg);border-color:var(--hair-2)}
#homeScroll .home-ways .way-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}
#homeScroll .home-ways .way-search input{flex:1;min-width:0;width:0;min-height:38px;padding:0 10px;border:1px solid var(--hair);border-radius:10px;outline:0;background:var(--panel-bg);color:var(--ink);font:inherit;font-size:calc(13px*var(--ts,1));transition:border-color .18s,background .18s}
#homeScroll .home-ways .way-search input:focus{border-color:var(--blue);background:var(--card-bg)}
#homeScroll .home-ways .way-search input::placeholder{color:var(--mute);opacity:1}
#homeScroll .home-ways .way-search input::-webkit-search-cancel-button{-webkit-appearance:none}
#homeScroll .home-ways .way-search-submit{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;height:36px;padding:0 10px;border:0;border-radius:10px;background:var(--blue-fill,var(--blue));color:#fff;font:inherit;font-size:calc(12px*var(--ts,1));font-weight:650;white-space:nowrap;cursor:pointer}
#homeScroll .home-ways .way-search-submit svg{width:13px;height:13px}
#homeScroll .home-ways .way-search-submit:hover{filter:brightness(1.07)}
@media(max-width:980px){#homeScroll .home-ways{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#homeScroll .home-ways .way-search{grid-column:1/-1}}
@media(max-width:700px){
  #homeScroll .home-ways{gap:8px;margin-top:12px}
  #homeScroll .home-ways .way{gap:10px;min-height:48px;padding:9px 12px}
  #homeScroll .home-ways .way-ico{width:27px;height:27px;border-radius:8px}
  #homeScroll .home-ways .way-ico svg{width:15px;height:15px}
  #homeScroll .home-ways .way-txt b{font-size:calc(12px*var(--ts,1));line-height:1.25}
}

/* ---- overview-shortcut-descriptions ---- */
#homeScroll .home-ways .way{min-height:62px}
#homeScroll .home-ways .way-txt{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
#homeScroll .home-ways .way-txt small{font-size:calc(11px*var(--ts,1));line-height:1.3;color:var(--mute)}
@media(max-width:700px){#homeScroll .home-ways .way{min-height:64px}#homeScroll .home-ways .way-txt small{font-size:calc(11px*var(--ts,1))}}

/* ---- overview-independent-focus-and-demo-cards ---- */
#homeScroll .ov-top{gap:12px;padding:0;border:0;border-radius:0;background:transparent}
#homeScroll .ov-top .ov-focus,#homeScroll .ov-top .ov-today{border:1px solid var(--hair-2);border-radius:16px;background:var(--card-bg);box-shadow:var(--card-shadow)}
#homeScroll .ov-top .ov-focus:hover,#homeScroll .ov-top .ov-today:hover{background:var(--hover-bg);box-shadow:var(--card-shadow-hover)}
#homeScroll .ov-top .ov-today{border-top:1px solid var(--hair-2)}
@media(max-width:1179px){#homeScroll .ov-top{gap:10px}}

/* ---- overview-shortcut-arrow-cue ---- */
#homeScroll .home-ways .way-go{flex:none;display:grid;place-items:center;width:25px;height:25px;margin-left:auto;border-radius:50%;background:var(--panel-bg);color:var(--mute);opacity:.72;transition:opacity .18s,color .18s,background .18s,transform .18s}
#homeScroll .home-ways .way-go svg{width:13px;height:13px}
#homeScroll .home-ways .way:hover .way-go,#homeScroll .home-ways .way:focus-visible .way-go{background:var(--blue-soft);color:var(--blue);opacity:1;transform:translateX(1px)}

/* ---- overview-shortcut-touch-feedback ---- */
@media(pointer:coarse){#homeScroll .home-ways .way:active{background:var(--hover-bg);border-color:color-mix(in srgb,var(--blue) 30%,var(--hair-2))}}

/* ---- overview-welcome-focus-composition ---- */
/* Give the first screen one clear welcome moment instead of several equal grey blocks. */
#homeScroll .home-head{
  position:relative;isolation:isolate;overflow:hidden;
  margin:0;padding:clamp(20px,2.3vw,30px) clamp(18px,2.3vw,30px) 12px;
  border-radius:22px 22px 0 0;
  background:radial-gradient(ellipse at 88% 5%,color-mix(in srgb,var(--blue) 13%,transparent),transparent 42%),linear-gradient(115deg,color-mix(in srgb,var(--blue) 6%,var(--app-bg)),var(--app-bg) 72%);
}
#homeScroll .home-head::after{
  content:"";position:absolute;z-index:-1;right:-78px;top:-154px;width:290px;height:290px;
  border:1px solid color-mix(in srgb,var(--blue) 13%,transparent);border-radius:50%;
  box-shadow:0 0 0 22px color-mix(in srgb,var(--blue) 3%,transparent),0 0 0 46px color-mix(in srgb,var(--blue) 2%,transparent);
  pointer-events:none
}
#homeScroll .home-head .home-eye{display:flex;align-items:center;gap:8px;margin-bottom:7px;color:var(--blue);font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.075em;text-transform:uppercase}
#homeScroll .home-head .home-eye::before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:var(--blue-fill,var(--blue));box-shadow:0 0 0 4px var(--blue-soft)}
#homeScroll .home-head .t-view-title{font-size:calc(clamp(38px,4.7vw,52px)*var(--ts,1));letter-spacing:-.055em}
#homeScroll .home-head .intro{max-width:44em;margin-top:7px;font-size:calc(15px*var(--ts,1))}
#homeScroll .ov-top{position:relative;margin:0;padding:2px 0 18px;border:0;border-radius:0 0 22px 22px;background:linear-gradient(115deg,color-mix(in srgb,var(--blue) 6%,var(--app-bg)),var(--app-bg) 72%)}
#homeScroll .ov-top .ov-focus,#homeScroll .ov-top .ov-today{border:0;border-radius:15px;background:color-mix(in srgb,var(--card-bg) 88%,transparent);box-shadow:0 12px 32px rgba(0,0,0,.08)}
#homeScroll .ov-top .ov-focus{min-height:82px;padding:12px 30px;border-radius:0;background:transparent;box-shadow:none}
#homeScroll .ov-top .ov-focus:hover{border-color:transparent;background:transparent;box-shadow:none}
#homeScroll .ov-top .ov-today:hover{background:var(--card-bg);box-shadow:var(--card-shadow-hover)}
#homeScroll .ov-f-pic{background:color-mix(in srgb,var(--blue) 8%,var(--panel-bg))}
#homeScroll .ov-f-go{background:transparent;color:var(--mute)}
#homeScroll .ov-focus:hover .ov-f-go{background:transparent;color:var(--blue)}
#homeScroll .home-ways{margin-top:16px}
#homeScroll .home-sec{margin-top:28px}
@media(max-width:700px){
  #homeScroll .home-head{padding:19px 17px 10px;border-radius:18px 18px 0 0}
  #homeScroll .home-head::after{right:-175px;top:-180px}
  #homeScroll .home-head .home-eye{font-size:calc(11px*var(--ts,1))}
  #homeScroll .home-head .t-view-title{font-size:calc(38px*var(--ts,1))}
  #homeScroll .home-head .intro{font-size:calc(15px*var(--ts,1))}
  #homeScroll .ov-top{padding:0 0 10px;border-radius:0 0 18px 18px}
  #homeScroll .ov-top .ov-focus{padding:10px 17px;border-radius:12px}
  #homeScroll .ov-top .ov-focus,#homeScroll .ov-top .ov-today{min-height:70px}
  #homeScroll .home-ways{margin-top:13px}
}

/* ---- overview-mobile-search-shortcut ---- */
@media(max-width:560px){
  #homeScroll .home-ways .way-search{grid-column:auto;gap:7px;padding:9px 10px}
  #homeScroll .home-ways .way-search .way-ico{display:none}
  #homeScroll .home-ways .way-search input{font-size:calc(12px*var(--ts,1));padding:0 8px}
  #homeScroll .home-ways .way-search-submit{width:38px;height:38px;padding:0;font-size:0}
  #homeScroll .home-ways .way-search-submit span{display:none}
  #homeScroll .home-ways .way-search-submit svg{width:16px;height:16px}
}

/* ---- overview-continuous-welcome-rings ---- */
/* Keep the decorative rings on the same continuous surface as the focus banner. */
#homeScroll .home-welcome{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;background:radial-gradient(ellipse at 88% 8%,color-mix(in srgb,var(--blue) 13%,transparent),transparent 42%),linear-gradient(115deg,color-mix(in srgb,var(--blue) 6%,var(--app-bg)),var(--app-bg) 72%)}
#homeScroll .home-welcome::after{content:"";position:absolute;z-index:0;right:-78px;top:-125px;width:330px;height:330px;border:1px solid color-mix(in srgb,var(--blue) 13%,transparent);border-radius:50%;box-shadow:0 0 0 24px color-mix(in srgb,var(--blue) 3%,transparent),0 0 0 50px color-mix(in srgb,var(--blue) 2%,transparent);pointer-events:none}
#homeScroll .home-welcome>.home-head,#homeScroll .home-welcome>.ov-top{position:relative;z-index:1;background:transparent;border-radius:0}
#homeScroll .home-welcome>.home-head{overflow:visible}
#homeScroll .home-welcome>.home-head::after{display:none}
#homeScroll .home-welcome>.ov-top{padding:2px 0 18px}
@media(max-width:700px){#homeScroll .home-welcome{border-radius:18px}#homeScroll .home-welcome::after{right:-170px;top:-145px;width:300px;height:300px}}

/* ---- category-mobile-swipe-cue ---- */
.ac-chip-cue{display:none}
@media(max-width:720px){
  .ac-chip-rail{position:relative;min-width:0}
  .ally-chat .need-chips{padding-right:76px}
  .ac-chip-cue{position:absolute;z-index:2;top:0;right:-14px;bottom:6px;display:flex;align-items:center;justify-content:flex-end;gap:3px;width:76px;padding-right:12px;box-sizing:border-box;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--card-bg) 82%,transparent) 35%,var(--card-bg) 74%);color:var(--blue);font-size:calc(11px*var(--ts,1));font-weight:700;letter-spacing:.01em;pointer-events:none}
  .ac-chip-cue svg{width:13px;height:13px;flex:none}
}

/* ---- overview-floor-reset-link ---- */
#homeScroll .home-breath{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:34px;margin-top:12px;padding:5px 10px 5px 7px;border:1px solid color-mix(in srgb,var(--blue) 18%,var(--hair-2));border-radius:999px;background:color-mix(in srgb,var(--blue) 6%,transparent);font:inherit;font-size:calc(12px*var(--ts,1));line-height:1.3;color:var(--ink-2);text-align:left;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
#homeScroll .home-breath:hover{border-color:color-mix(in srgb,var(--blue) 38%,var(--hair-2));background:color-mix(in srgb,var(--blue) 10%,transparent)}
#homeScroll .home-breath:active{transform:scale(.99)}
#homeScroll .home-breath .home-breath-ico{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:var(--blue-soft);color:var(--blue)}
#homeScroll .home-breath .home-breath-ico svg{width:13px;height:13px}
#homeScroll .home-breath b{font-size:calc(12px*var(--ts,1));font-weight:700;color:var(--blue);white-space:nowrap}
#homeScroll .home-breath>svg{flex:none;width:13px;height:13px;margin-left:1px;color:var(--blue)}
@media(max-width:700px){#homeScroll .home-breath{margin-top:10px;font-size:calc(12px*var(--ts,1));gap:6px}#homeScroll .home-breath b{font-size:calc(12px*var(--ts,1))}}

/* ---- overview-daily-demo-rail ---- */


/* ---- overview-demo-inset-dividers ---- */


/* ---- overview-demo-panel-refinement ---- */


/* ---- overview-demo-mobile-layout-fix ---- */


/* ---- overview-demo-feature-alignment ---- */


/* ---- credits-memoji-portraits ---- */
.cr-av-memoji{overflow:visible;padding:0;border:0;border-radius:0;background:transparent}
.cr-av-memoji img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.cr-stat-avatars i.has-memoji{overflow:visible;border-color:transparent;background:transparent}
.cr-stat-avatars i.has-memoji img{display:block;width:100%;height:100%;border-radius:0;object-fit:contain;object-position:center}

/* ---- breathe-content-after-greeting ---- */
#breatheScroll .bx-layout.bx-intro{opacity:0;animation:bxContentAfterGreeting .55s var(--ease-soft) 1.05s both}
@keyframes bxContentAfterGreeting{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#breatheScroll .bx-layout.bx-intro{opacity:1;animation:none}}

/* ---- new-to-apple-start-after-greeting ---- */
#tourScroll .tour-start-intro{opacity:0;animation:tourStartAfterAlly .5s var(--ease-soft) 2.65s both}
@keyframes tourStartAfterAlly{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#tourScroll .tour-start-intro{opacity:1;animation:none}}

/* ---- guide-reader-layout-refinement ---- */
/* Keep guide titles and metadata readable when their content is long. */
#panel:has(.gx-head) .gx-title{min-width:0}
#panel:has(.gx-head) .gx-title small{line-height:1.45;overflow-wrap:anywhere}
#panel:has(.gx-head) .gx-title h1{overflow-wrap:anywhere;text-wrap:pretty}
#panel:has(.gx-head) .gx-pane{min-width:0}
#panel:has(.gx-head) .gx-pane .gd-table{min-width:0}
#panel:has(.gx-head) .gx-pane .gd-tr{grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr) minmax(0,1.2fr)}
#panel:has(.gx-head) .gx-pane .gd-tr>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){
  #panel:has(.gx-head) .gx-pane .gd-table{display:grid;gap:8px;overflow:visible;border:0;background:transparent}
  #panel:has(.gx-head) .gx-pane .gd-tr.hd{display:none}
  #panel:has(.gx-head) .gx-pane .gd-tr:not(.hd){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:13px;border:1px solid var(--hair-2);border-radius:13px;background:var(--panel-bg)}
  #panel:has(.gx-head) .gx-pane .gd-tr:not(.hd)>span:first-child{grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid var(--hair-2);font-size:calc(15px*var(--ts,1))}
  #panel:has(.gx-head) .gx-pane .gd-tr:not(.hd)>span:not(:first-child){display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:calc(13px*var(--ts,1))}
  #panel:has(.gx-head) .gx-pane .gd-tr:not(.hd)>span:not(:first-child)::before{content:attr(data-label);font-size:calc(11px*var(--ts,1));font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--mute)}
  #panel:has(.gx-head) .gx-pane .gd-tr:not(.hd)>span .ck{flex:none}
  #panel:has(.gx-head) .gx-head{gap:10px}
  #panel:has(.gx-head) .gx-title small{font-size:calc(11px*var(--ts,1))}
}
@media(prefers-reduced-motion:reduce){#panel:has(.gx-head) .gd-pane:not(.hide)>*{animation:none}}

/* ---- guide-reader-balance-refinement ---- */
/* Bring the opening summary and first lesson into one calmer reading rhythm. */
#panel:has(.gx-head) .gx-pane{gap:12px}
#panel:has(.gx-head) .gx-pane>.gx-lead{margin:0;padding:15px 18px;border-radius:15px}
#panel:has(.gx-head) .gx-pane>.gx-lead p{max-width:62ch;font-size:calc(clamp(16px,1.25vw,18px)*var(--ts,1));line-height:1.5;letter-spacing:-.012em}
#panel:has(.gx-head) .gx-pane>.gx-fun{margin:0;padding:12px 16px;border-radius:13px}
#panel:has(.gx-head) .gx-pane>.gx-sh{margin:8px 0 2px}
#panel:has(.gx-head) .gx-pane>.gx-fun+.gx-sh{margin-top:0}
#panel:has(.gx-head) .gx-pane>.gx-lead+.gx-sh{margin-top:0}
@media(min-width:601px){
  #panel:has(.gx-head) .gx-title:has(.ls-btn){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px}
  #panel:has(.gx-head) .gx-title:has(.ls-btn)>small{grid-column:1/-1}
  #panel:has(.gx-head) .gx-title:has(.ls-btn)>h1{grid-column:1;grid-row:2}
  #panel:has(.gx-head) .gx-title:has(.ls-btn)>.ls-btn{grid-column:2;grid-row:2;margin:0;white-space:nowrap}
}
@media(max-width:600px){
  #panel:has(.gx-head) .gx-pane>.gx-lead{padding:14px 15px}
  #panel:has(.gx-head) .gx-pane>.gx-fun{padding:11px 14px}
}

/* ---- guide-reader-editorial-opening ---- */
/* The title is focused for assistive technology on open, but is not a control. */
#panel:has(.gx-head) #gxT:focus{outline:none!important;box-shadow:none!important}
/* Give the takeaway the feel of a reading lead rather than a second hero card. */
#panel:has(.gx-head) .gx-pane>.gx-lead{padding:12px 18px 13px;border:0;border-radius:13px;background:color-mix(in srgb,var(--blue) 6%,var(--panel-bg))}
#panel:has(.gx-head) .gx-pane>.gx-lead .gx-kick{margin-bottom:4px;font-size:calc(11px*var(--ts,1));letter-spacing:.08em}
#panel:has(.gx-head) .gx-pane>.gx-lead p{max-width:64ch;font-size:calc(clamp(15.5px,1.15vw,17px)*var(--ts,1));font-weight:550;line-height:1.5;letter-spacing:-.008em}
#panel:has(.gx-head) .gx-pane>.gx-fun{padding:11px 15px;border:1px solid var(--hair-2);border-radius:12px;background:color-mix(in srgb,var(--card-bg) 55%,var(--panel-bg))}
#panel:has(.gx-head) .gx-pane>.gx-fun b{margin-bottom:2px;font-size:calc(11px*var(--ts,1));letter-spacing:.075em}
#panel:has(.gx-head) .gx-pane>.gx-fun p{font-size:calc(13px*var(--ts,1));line-height:1.5}
#panel:has(.gx-head) .gx-pane>.gx-sh{margin-top:4px;margin-bottom:0}
#panel:has(.gx-head) .gx-pane>.gx-fun+.gx-sh,#panel:has(.gx-head) .gx-pane>.gx-lead+.gx-sh{margin-top:0}
@media(max-width:600px){
  #panel:has(.gx-head) .gx-pane>.gx-lead{padding:11px 13px}
  #panel:has(.gx-head) .gx-pane>.gx-fun{padding:10px 13px}
}

/* ---- guide-summary-neutral-refinement ---- */
#panel:has(.gx-head) .gx-pane>.gx-lead{border:1px solid var(--hair-2);border-left:1px solid var(--hair-2);border-radius:14px;background:color-mix(in srgb,var(--panel-bg) 82%,var(--card-bg));padding:14px 17px}
#panel:has(.gx-head) .gx-pane>.gx-lead .gx-kick{color:var(--blue)}
#panel:has(.gx-head) .gx-pane>.gx-fun{border-color:var(--hair-2);background:var(--panel-bg)}
#panel:has(.gx-head) .gx-pane>.gx-sh{margin-top:2px}

/* ---- guide-reader-aligned-layout ---- */
#panel:has(.gx-head) .gx-intro{display:flex;flex-direction:column;gap:12px;min-width:0;padding:17px 19px;border:1px solid var(--hair-2);border-radius:15px;background:var(--panel-bg)}
#panel:has(.gx-head) .gx-intro>.gx-lead{margin:0;padding:0;border:0;border-radius:0;background:transparent}
#panel:has(.gx-head) .gx-intro>.gx-lead .gx-kick{margin-bottom:5px}
#panel:has(.gx-head) .gx-intro>.gx-lead p{font-size:calc(clamp(15.5px,1.15vw,17px)*var(--ts,1));line-height:1.5;font-weight:550;letter-spacing:-.008em}
#panel:has(.gx-head) .gx-intro>.gx-fun{margin:0;padding:11px 0 0;border:0;border-top:1px solid var(--hair-2);border-radius:0;background:transparent}
#panel:has(.gx-head) .gx-intro>.gx-fun b{margin-bottom:3px;font-size:calc(11px*var(--ts,1));letter-spacing:.075em}
#panel:has(.gx-head) .gx-intro>.gx-fun p{font-size:calc(13px*var(--ts,1));line-height:1.5}
#panel:has(.gx-head) .gx-sources{box-sizing:border-box;width:100%;max-width:720px;margin:22px auto 26px}
@media(max-width:600px){
  #panel:has(.gx-head) .gx-intro{gap:10px;padding:14px 15px}
  #panel:has(.gx-head) .gx-sources{margin:18px auto 22px}
}

/* ---- product-sell-it-final-fix ---- */
/* The active product sheet uses ps-head/ps-fact, so target that component directly. */
.sheet:has(.ps-head) .ps-lead .ps-kick{display:flex;align-items:center;gap:8px;margin:0 0 7px;color:var(--ink)!important;font-size:calc(12px*var(--ts,1));font-weight:650;letter-spacing:.075em}
.sheet:has(.ps-head) .ps-lead .ps-kick::before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:var(--blue-fill,var(--blue))}
.sheet:has(.ps-head) .ps-quote{justify-content:flex-start}
.sheet:has(.ps-head) .ps-quote blockquote::before{content:none!important;display:none!important}
.sheet:has(.ps-head) .ps-quote blockquote{font-size:calc(15px*var(--ts,1));line-height:1.55}
@media(max-width:720px){.sheet:has(.ps-head) .ps-lead .ps-kick{font-size:calc(12px*var(--ts,1))}}

/* ---- story-mode-css ---- */
/* Story mode in Technical knowledge: one thing per screen, one main button */
#learnScroll .tl.sm{max-width:680px}
.sm-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.sm-eye{font-size:calc(12px*var(--ts,1));font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--mute)}
.sm-free{font-size:calc(13.5px*var(--ts,1));padding:6px 0}
.sm .tour-prog{margin-bottom:24px}
.sm .tstep{cursor:default}
.sm-count{display:block;margin:0 0 6px;font-size:calc(13px*var(--ts,1));font-weight:600;color:var(--c,var(--blue))}
.sm-card{margin-top:6px;padding:22px 22px 20px;border-radius:18px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow)}
.sm-card h2{margin:0 0 10px;font-size:calc(26px*var(--ts,1));letter-spacing:-.03em;line-height:1.15;color:var(--ink)}
.sm-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--c,var(--blue));color:#fff;margin-bottom:14px}
.sm-ico svg{width:20px;height:20px}
.sm-lead{margin:0 0 8px;font-size:calc(18px*var(--ts,1));line-height:1.45;font-weight:600;color:var(--ink)}
.sm-body{margin:0;font-size:calc(16px*var(--ts,1));line-height:1.55;color:var(--ink-2)}
.sm-say{margin-top:18px;padding:14px 16px;border-radius:14px;background:var(--seg-bg)}
.sm-say b{display:block;margin-bottom:4px;font-size:calc(12px*var(--ts,1));font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--c,var(--blue))}
.sm-say p{margin:0;font-size:calc(16px*var(--ts,1));line-height:1.5;color:var(--ink)}
.sm-meta{margin:4px 0 0;font-size:calc(14px*var(--ts,1));color:var(--mute)}
.sm-sub{margin:0 0 14px;font-size:calc(14.5px*var(--ts,1));color:var(--mute)}
.sm .qz{margin-top:4px}
.sm .tour-nav{margin-top:26px;align-items:center}
.sm .tour-nav .btn.pri[disabled]{opacity:.4;cursor:default;pointer-events:none}
.sm-skip{display:block;margin:14px auto 0;font-size:calc(14px*var(--ts,1))}
.sm-pick{display:grid;gap:12px;margin-top:4px}
.sm-opt{display:flex;gap:14px;align-items:flex-start;text-align:left;padding:18px;border-radius:16px;background:var(--card-bg);border:1px solid var(--hair-2);box-shadow:var(--card-shadow);font:inherit;color:inherit;cursor:pointer;transition:border-color .2s,transform .25s var(--ease-soft)}
.sm-opt:hover{border-color:var(--blue);transform:translateY(-1px)}
.sm-opt:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.sm-opt .tnext-ico{width:44px;height:44px;border-radius:12px}
.sm-opt b{display:block;font-size:calc(17px*var(--ts,1));margin-bottom:3px;color:var(--ink)}
.sm-opt small{display:block;font-size:calc(14px*var(--ts,1));line-height:1.45;color:var(--mute)}
.sm-note{margin-top:14px;font-size:calc(13px*var(--ts,1));color:var(--mute)}
.sm-center{text-align:center}
.sm-center .tour-guide{text-align:left;max-width:460px;margin-left:auto;margin-right:auto}
.sm-done-ico{display:grid;place-items:center;width:64px;height:64px;margin:4px auto 14px;border-radius:50%;background:var(--c,var(--blue));color:#fff}
.sm-done-ico svg{width:30px;height:30px}
.sm-chaps{display:flex;justify-content:center;gap:8px;margin:12px 0 22px;flex-wrap:wrap}
.sm-chap{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--hair);color:var(--mute)}
.sm-chap svg{width:16px;height:16px}
.sm-chap.done{background:var(--c);border-color:var(--c);color:#fff}
.sm-center .tour-nav{justify-content:center}
.sm-center .tour-nav .btn.pri{margin-left:0}
.sm-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;padding:10px 14px;border-radius:12px;background:var(--seg-bg);font-size:calc(14px*var(--ts,1));color:var(--ink-2)}
.sm-bar .link-btn{font-size:calc(14px*var(--ts,1));font-weight:600;padding:0}
html[data-learn-story="on"] #learnCoachBtn.visible{display:none}
@media (prefers-reduced-motion:reduce){.sm-opt{transition:none}}

/* ---- ally-fixes-2026-11-30 ---- */
/* Overview: search comes first, it is what you need right after a customer */
#homeScroll .home-search{display:flex;align-items:center;gap:10px;margin:16px 0 0;padding:6px 14px;min-height:54px;max-width:620px;border:1px solid var(--hair);border-radius:14px;background:var(--card-bg);box-shadow:var(--card-shadow);cursor:text}
#homeScroll .home-search:focus-within{outline:2px solid var(--blue);outline-offset:2px;border-color:transparent}
#homeScroll .home-search svg{width:19px;height:19px;flex:none;color:var(--mute)}
#homeScroll .home-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:calc(17px*var(--ts,1))}
#homeScroll .home-search input::placeholder{color:var(--mute)}
#homeScroll .home-try{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#homeScroll .home-try-chip{min-height:36px;padding:6px 14px;border:1px solid var(--hair);border-radius:999px;background:transparent;color:var(--ink-2);font:inherit;font-size:calc(14px*var(--ts,1));cursor:pointer}
#homeScroll .home-try-chip:hover{background:var(--seg-bg);color:var(--ink)}
@media(max-width:600px){#homeScroll .home-try-chip{min-height:34px;padding:5px 12px;font-size:calc(13px*var(--ts,1))}}

/* ---- ally-fixes-2026-11-30-chat ---- */
/* Ally's chat bubbles come in quickly, without typing dots, so you never wait to read */
.tc-msg,#focusScroll .fx-chat .tc-msg{animation-duration:.28s!important;animation-delay:calc(var(--i,0)*.15s)!important}
.tc-typing,#focusScroll .fx-chat .tc-typing{display:none!important}
.fc-chat .tg-av,#tourScroll .tour-guide .tg-av,.bx-chat .tg-av{animation-delay:calc((var(--n,1) - 1)*.15s + .15s)!important}

/* ---- ally-fixes-2026-11-30-layout ---- */
/* Same page width rule everywhere: reading pages sit centred, like the tour and Practice Round */
#learnScroll>.tl,#breatheScroll>*{margin-left:auto;margin-right:auto}
/* Top bar buttons are big enough to hit with a finger on iPad (44 pt) */
@media (pointer:coarse){.chrome-actions .tool-btn{min-width:44px;min-height:44px}}

/* ---- ally-fixes-2026-11-30-mobile ---- */
/* Phones: Ally's figure on product pages no longer sits on top of the intro text */
@media(max-width:600px){#catScroll .t-view-sub{padding-right:64px}}
