/* Restored shared Kingdom Launchpad. */
body.ks-launchpad-open{overflow:hidden}.ks-launchpad[hidden]{display:none!important}.ks-launchpad{position:fixed;inset:0;z-index:2600;display:grid;place-items:center;padding:24px}.ks-launchpad-backdrop{position:absolute;inset:0;background:rgba(5,27,21,.5);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px)}.ks-launchpad-panel{position:relative;width:min(720px,calc(100vw - 28px));aspect-ratio:1;border:8px solid rgba(255,255,255,.7);border-radius:50%;background:radial-gradient(circle at center,rgba(255,253,248,.99) 0 29%,rgba(249,245,236,.97) 29.5% 100%);box-shadow:0 32px 100px rgba(4,31,25,.3),inset 0 0 0 1px rgba(21,55,45,.08);overflow:visible}.ks-launchpad-center{position:absolute;left:50%;top:50%;width:43%;transform:translate(-50%,-50%);z-index:2;text-align:center;color:#14372d}.ks-launchpad-center small{color:#a97820;font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.ks-launchpad-center h2{margin:8px 0 7px;font:700 clamp(21px,3vw,34px)/1.05 Georgia,serif}.ks-launchpad-center p{min-height:34px;margin:0 auto 12px;max-width:250px;color:#747b76;font-size:12px;line-height:1.4}.ks-launchpad-open{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:#0c5945;color:#fff;text-decoration:none;font-size:12px;font-weight:800}.ks-launchpad-back{margin:0 auto 8px;padding:6px 10px;border:0;border-radius:999px;background:#eee8dd;color:#173f33;font-weight:800;cursor:pointer}.ks-launchpad-back kbd{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-right:4px;border:1px solid rgba(21,55,45,.22);border-radius:6px;background:#fffdf9;color:inherit;font:800 10px/1 system-ui}.ks-launchpad-back[hidden]{display:none}.ks-launchpad-wheel{--launch-step:45deg;position:absolute;inset:0}.ks-launchpad-wheel a{--angle:calc(var(--slot)*var(--launch-step) - 90deg);position:absolute;left:50%;top:50%;width:126px;min-height:96px;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-260px) rotate(calc(-1*var(--angle)));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px;border:1px solid rgba(21,55,45,.12);border-radius:22px;background:rgba(255,253,249,.92);color:#173f33;text-align:center;text-decoration:none;box-shadow:0 10px 30px rgba(21,55,45,.07);transition:transform .28s cubic-bezier(.2,.8,.2,1),background .18s ease,color .18s ease,box-shadow .18s ease}.ks-launchpad-wheel a.is-selected{background:#bd892b;color:#fff;box-shadow:0 17px 38px rgba(151,103,20,.3);transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-264px) rotate(calc(-1*var(--angle))) scale(1.065)}.ks-launchpad-wheel a.is-selected.is-settling{animation:ks-launchpad-settle .25s cubic-bezier(.2,.85,.25,1)}@keyframes ks-launchpad-settle{0%{filter:brightness(1);box-shadow:0 10px 24px rgba(151,103,20,.2)}45%{filter:brightness(1.09);box-shadow:0 22px 48px rgba(151,103,20,.38)}100%{filter:brightness(1);box-shadow:0 17px 38px rgba(151,103,20,.3)}}.ks-launchpad-wheel a kbd{position:absolute;right:9px;top:8px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border:1px solid currentColor;border-radius:7px;background:rgba(255,255,255,.55);font:800 10px/1 system-ui;color:inherit;opacity:.78}.ks-launchpad-wheel a span{font-size:22px}.ks-launchpad-wheel a strong{font-size:12px;line-height:1.15}.ks-launchpad-close{position:absolute;right:5%;top:5%;z-index:4;width:42px;height:42px;border:1px solid rgba(21,55,45,.13);border-radius:50%;background:#fffdf9;color:#173f33;font-size:22px;cursor:pointer}.ks-launchpad-help{position:absolute;left:50%;bottom:-47px;transform:translateX(-50%);display:flex;gap:13px;width:max-content;margin:0;color:rgba(255,255,255,.9);font:700 10px/1 system-ui}.ks-launchpad-trigger{position:fixed;right:24px;top:20px;z-index:1180;width:46px;height:46px;border:1px solid rgba(21,55,45,.12);border-radius:15px;background:#fffdf9;color:#a97820;box-shadow:0 10px 30px rgba(21,55,45,.11);font-size:20px;cursor:pointer}.ks-launchpad-trigger:hover,.ks-launchpad-trigger:focus-visible{background:#fff5db;outline:2px solid rgba(200,149,46,.34);outline-offset:2px}.ks-student-home-page>.ks-launchpad-trigger{display:none}
@media(max-width:720px){.ks-launchpad{align-items:end;padding:12px 10px calc(84px + env(safe-area-inset-bottom))}.ks-launchpad-panel{width:100%;aspect-ratio:auto;min-height:540px;border-width:1px;border-radius:28px;background:rgba(255,253,248,.98);overflow:auto}.ks-launchpad-center{position:relative;left:auto;top:auto;width:auto;transform:none;padding:28px 56px 16px 20px;text-align:left}.ks-launchpad-center p{margin-left:0}.ks-launchpad-back{margin-left:0}.ks-launchpad-wheel{position:relative;inset:auto;display:grid;touch-action:none;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:4px 14px 18px}.ks-launchpad-wheel a,.ks-launchpad-wheel a.is-selected{position:relative;left:auto;top:auto;width:auto;min-height:78px;transform:none!important;border-radius:18px}.ks-launchpad-help{position:static;transform:none;display:flex;flex-wrap:wrap;justify-content:center;width:auto;padding:0 15px 18px;color:#707873;line-height:1.4}.ks-launchpad-close{right:18px;top:18px}}
@media(prefers-reduced-motion:reduce){.ks-unified-sidebar,.ks-shell-overlay,.ks-shell-more-chevron{transition:none!important}}

/* Stable radial selection: choices never rotate away from the pointer. */
.ks-launchpad-wheel{touch-action:auto!important}
.ks-launchpad-wheel a{cursor:pointer;will-change:transform,box-shadow}


/* 2026-09-08 — calm navigation hierarchy: frequent routes in the rail, ecosystem in Launchpad. */
.ks-shell-launchpad-entry{
  width:100%;min-height:52px;margin:14px 0 0;padding:7px 10px;display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;
  border:1px solid rgba(200,149,46,.3);border-radius:14px;
  background:linear-gradient(135deg,rgba(200,149,46,.16),rgba(255,253,249,.06));
  color:inherit;font:inherit;text-align:left;cursor:pointer
}
.ks-shell-launchpad-entry:hover,.ks-shell-launchpad-entry:focus-visible{background:rgba(200,149,46,.22);outline:2px solid rgba(200,149,46,.24);outline-offset:2px}
.ks-shell-launchpad-entry>span:nth-child(2){min-width:0}.ks-shell-launchpad-entry strong,.ks-shell-launchpad-entry small{display:block}
.ks-shell-launchpad-entry strong{font-size:13px}.ks-shell-launchpad-entry small{margin-top:2px;color:var(--ks-muted);font-size:10px}
.ks-shell-launchpad-entry kbd{margin-left:auto;padding:3px 5px;border:1px solid var(--ks-border);border-radius:6px;background:var(--ks-surface);color:var(--ks-muted);font:700 9px/1 system-ui;white-space:nowrap}
.ks-shell-menu{margin-top:8px;padding-top:6px;border-top:0}
.ks-shell-menu .ks-shell-more-groups{padding-left:0}.ks-shell-menu .ks-shell-utilities{margin-top:4px;padding-top:4px;border-top:0}
.ks-shell-menu .ks-shell-nav a{min-height:40px;font-size:13px}
.ks-shell-footer{margin-top:8px;padding-top:8px}
.ks-shell-footer .ks-shell-signout{margin-top:0}
@media(min-width:981px){
  .ks-launchpad-trigger{display:none!important}
  html.ks-sidebar-collapsed .ks-shell-launchpad-entry{display:flex;justify-content:center;width:44px;padding:0}
  html.ks-sidebar-collapsed .ks-shell-launchpad-entry>span:nth-child(2),
  html.ks-sidebar-collapsed .ks-shell-launchpad-entry kbd{display:none}
}
@media(max-width:980px){
  .ks-shell-launchpad-entry{margin-top:10px}
  .ks-launchpad-trigger{display:grid}
}
sed: can't read kingdomstudy/assets/css/kingdom-launchpad-stability-v1.css: No such file or directory


/* 2026-09-26 — Launchpad becomes a compact Kingdom Atmosphere workspace.
   This intentionally replaces the old radial "wheel" presentation without creating a new page. */
.ks-launchpad{
  place-items:center;
  padding:22px;
}
.ks-launchpad-backdrop{
  background:rgba(5,27,21,.44);
  backdrop-filter:blur(14px) saturate(.9);
  -webkit-backdrop-filter:blur(14px) saturate(.9);
}
.ks-launchpad-panel.ks-launchpad-workspace{
  position:relative;
  display:flex;
  flex-direction:column;
  width:min(1040px,calc(100vw - 40px));
  height:min(720px,calc(100vh - 44px));
  aspect-ratio:auto;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.72);
  border-radius:28px;
  background:
    radial-gradient(circle at 86% 10%,rgba(226,192,118,.14),transparent 22rem),
    linear-gradient(145deg,rgba(255,254,250,.99),rgba(247,243,234,.98));
  box-shadow:0 38px 110px rgba(4,31,25,.30),inset 0 0 0 1px rgba(21,55,45,.05);
}
.ks-launchpad-workspace-head{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:82px;
  padding:14px 18px;
  border-bottom:1px solid rgba(21,55,45,.08);
  background:rgba(255,255,255,.58);
}
.ks-launchpad-workspace-brand{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
}
.ks-launchpad-workspace-brand img{
  width:58px;
  height:44px;
  object-fit:contain;
  border-radius:12px;
  background:#0b3025;
}
.ks-launchpad-workspace-brand small{
  display:block;
  color:#9e731f;
  font:900 .62rem/1 Inter,system-ui,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.ks-launchpad-workspace-brand h2{
  margin:5px 0 0;
  color:#14372d;
  font:800 1.45rem/1 Georgia,serif;
}
.ks-launchpad-workspace-head-actions{
  display:flex;
  align-items:center;
  gap:9px;
}
.ks-launchpad-workspace-head-actions>kbd{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  padding:0 9px;
  border:1px solid rgba(21,55,45,.10);
  border-radius:9px;
  background:#fffdf9;
  color:#6f7d77;
  font:800 .63rem/1 Inter,system-ui,sans-serif;
}
.ks-launchpad-workspace .ks-launchpad-close{
  position:static;
  width:38px;
  height:38px;
  border-radius:12px;
  font-size:19px;
}
.ks-launchpad-workspace-body{
  flex:1 1 auto;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(290px,.75fr);
  gap:14px;
  padding:16px;
}
.ks-launchpad-apps-section,
.ks-launchpad-side{
  min-width:0;
  min-height:0;
}
.ks-launchpad-apps-section{
  display:flex;
  flex-direction:column;
  padding:16px;
  border:1px solid rgba(21,55,45,.07);
  border-radius:21px;
  background:rgba(255,255,255,.66);
}
.ks-launchpad-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.ks-launchpad-section-heading small,
.ks-launchpad-recent-head small,
.ks-launchpad-focus-card>small{
  display:block;
  color:#a77720;
  font:900 .59rem/1 Inter,system-ui,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ks-launchpad-section-heading strong,
.ks-launchpad-recent-head strong{
  display:block;
  margin-top:5px;
  color:#18392f;
  font:850 .87rem/1.1 Inter,system-ui,sans-serif;
}
.ks-launchpad-section-heading>span{
  max-width:260px;
  color:#83908b;
  font:600 .65rem/1.35 Inter,system-ui,sans-serif;
  text-align:right;
}
.ks-launchpad-workspace .ks-launchpad-wheel.ks-launchpad-app-grid{
  --launch-step:0deg;
  position:relative;
  inset:auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  padding:0;
  touch-action:auto!important;
}
.ks-launchpad-workspace .ks-launchpad-wheel a,
.ks-launchpad-workspace .ks-launchpad-wheel a.is-selected{
  position:relative;
  left:auto;
  top:auto;
  width:auto;
  min-width:0;
  min-height:126px;
  transform:none!important;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:0;
  padding:14px;
  border:1px solid rgba(21,55,45,.08);
  border-radius:17px;
  background:linear-gradient(145deg,#fffefb,#f8f4eb);
  color:#173f33;
  text-align:left;
  box-shadow:none;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.ks-launchpad-workspace .ks-launchpad-wheel a:hover,
.ks-launchpad-workspace .ks-launchpad-wheel a:focus-visible,
.ks-launchpad-workspace .ks-launchpad-wheel a.is-selected{
  transform:translateY(-2px)!important;
  border-color:rgba(176,128,36,.34);
  background:linear-gradient(145deg,#fffefb,#f6ead1);
  box-shadow:0 12px 26px rgba(70,54,25,.08);
  outline:none;
}
.ks-launchpad-workspace .ks-launchpad-wheel a kbd{
  position:absolute;
  top:10px;
  right:10px;
  min-width:22px;
  height:22px;
  border-color:rgba(21,55,45,.12);
  background:rgba(255,255,255,.74);
  color:#7c8883;
  opacity:.9;
}
.ks-launchpad-app-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:12px;
  border-radius:13px;
  background:#edf3ee;
  color:#0e4b39;
  font:900 1rem/1 Inter,system-ui,sans-serif;
}
.ks-launchpad-workspace .ks-launchpad-wheel a:nth-child(3) .ks-launchpad-app-icon,
.ks-launchpad-workspace .ks-launchpad-wheel a:nth-child(5) .ks-launchpad-app-icon{
  background:#f7eccf;
  color:#986d19;
}
.ks-launchpad-workspace .ks-launchpad-wheel a:nth-child(4) .ks-launchpad-app-icon{
  background:#e6f1f4;
  color:#176177;
}
.ks-launchpad-workspace .ks-launchpad-wheel a:nth-child(7) .ks-launchpad-app-icon,
.ks-launchpad-workspace .ks-launchpad-wheel a:nth-child(8) .ks-launchpad-app-icon{
  background:#eee8f5;
  color:#67508b;
}
.ks-launchpad-workspace .ks-launchpad-wheel a strong{
  display:block;
  color:inherit;
  font:850 .78rem/1.2 Inter,system-ui,sans-serif;
}
.ks-launchpad-workspace .ks-launchpad-wheel a small{
  display:block;
  margin-top:5px;
  color:#85918c;
  font:600 .62rem/1.3 Inter,system-ui,sans-serif;
}
.ks-launchpad-side{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:12px;
}
.ks-launchpad-focus-card,
.ks-launchpad-recent{
  border:1px solid rgba(21,55,45,.07);
  border-radius:20px;
  background:rgba(255,255,255,.76);
}
.ks-launchpad-focus-card{
  padding:17px;
}
.ks-launchpad-focus-icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  margin-top:13px;
  border-radius:14px;
  background:#edf3ee;
  color:#0c523d;
  font:900 1.1rem/1 Inter,system-ui,sans-serif;
}
.ks-launchpad-focus-card h3{
  margin:13px 0 0;
  color:#17392f;
  font:800 1.35rem/1.05 Georgia,serif;
}
.ks-launchpad-focus-card p{
  min-height:42px;
  margin:8px 0 14px;
  color:#76847e;
  font:550 .7rem/1.45 Inter,system-ui,sans-serif;
}
.ks-launchpad-workspace .ks-launchpad-open{
  display:inline-flex;
  justify-content:center;
  min-width:110px;
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  background:#0c5945;
  font-size:.7rem;
}
.ks-launchpad-recent{
  min-height:0;
  padding:15px;
  overflow:hidden;
}
.ks-launchpad-recent-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.ks-launchpad-recent-head button{
  border:0;
  background:transparent;
  color:#9a7321;
  cursor:pointer;
  font:800 .61rem/1 Inter,system-ui,sans-serif;
}
.ks-launchpad-recent-list{
  margin-top:10px;
  display:grid;
  gap:7px;
}
.ks-launchpad-recent-list>a{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  min-height:54px;
  padding:7px 8px;
  border:1px solid rgba(21,55,45,.06);
  border-radius:13px;
  background:#fbfaf6;
  color:inherit;
  text-decoration:none;
}
.ks-launchpad-recent-list>a>span{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:#edf3ee;
  color:#154b3a;
  font-weight:900;
}
.ks-launchpad-recent-list>a strong,
.ks-launchpad-recent-list>a small{display:block}
.ks-launchpad-recent-list>a strong{
  color:#18392f;
  font:800 .68rem/1.15 Inter,system-ui,sans-serif;
}
.ks-launchpad-recent-list>a small{
  margin-top:3px;
  overflow:hidden;
  color:#89938f;
  font:600 .57rem/1.2 Inter,system-ui,sans-serif;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.ks-launchpad-recent-list>a b{color:#89958f}
.ks-launchpad-recent-empty{
  margin:8px 0 0;
  padding:16px 12px;
  border:1px dashed rgba(21,55,45,.10);
  border-radius:13px;
  color:#8b9590;
  font:600 .63rem/1.4 Inter,system-ui,sans-serif;
  text-align:center;
}
.ks-launchpad-workspace-foot{
  flex:0 0 auto;
  display:flex;
  justify-content:center;
  gap:18px;
  padding:10px 16px 12px;
  border-top:1px solid rgba(21,55,45,.07);
  color:#7f8b86;
  font:700 .58rem/1 Inter,system-ui,sans-serif;
}
.ks-launchpad-workspace .ks-launchpad-help,
.ks-launchpad-workspace .ks-launchpad-center,
.ks-launchpad-workspace .ks-launchpad-back{
  display:none!important;
}

html[data-theme="dark"] .ks-launchpad-panel.ks-launchpad-workspace{
  border-color:rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 86% 10%,rgba(174,129,44,.12),transparent 22rem),
    linear-gradient(145deg,#14231d,#192921);
}
html[data-theme="dark"] .ks-launchpad-workspace-head,
html[data-theme="dark"] .ks-launchpad-apps-section,
html[data-theme="dark"] .ks-launchpad-focus-card,
html[data-theme="dark"] .ks-launchpad-recent{
  background:rgba(21,35,29,.86);
  border-color:rgba(255,255,255,.07);
}
html[data-theme="dark"] .ks-launchpad-workspace-brand h2,
html[data-theme="dark"] .ks-launchpad-section-heading strong,
html[data-theme="dark"] .ks-launchpad-recent-head strong,
html[data-theme="dark"] .ks-launchpad-focus-card h3,
html[data-theme="dark"] .ks-launchpad-recent-list>a strong{
  color:#eef5f0;
}
html[data-theme="dark"] .ks-launchpad-workspace .ks-launchpad-wheel a,
html[data-theme="dark"] .ks-launchpad-recent-list>a{
  border-color:rgba(255,255,255,.07);
  background:#1b2d25;
  color:#edf4ef;
}
html[data-theme="dark"] .ks-launchpad-workspace .ks-launchpad-wheel a:hover,
html[data-theme="dark"] .ks-launchpad-workspace .ks-launchpad-wheel a:focus-visible,
html[data-theme="dark"] .ks-launchpad-workspace .ks-launchpad-wheel a.is-selected{
  border-color:rgba(210,164,71,.26);
  background:#24362c;
}

@media(max-width:820px){
  .ks-launchpad{align-items:end;padding:10px 8px calc(12px + env(safe-area-inset-bottom))}
  .ks-launchpad-panel.ks-launchpad-workspace{
    width:100%;
    height:min(82dvh,720px);
    min-height:560px;
    border-radius:24px 24px 18px 18px;
  }
  .ks-launchpad-workspace-head{min-height:68px;padding:10px 12px}
  .ks-launchpad-workspace-brand img{width:46px;height:38px}
  .ks-launchpad-workspace-brand h2{font-size:1.1rem}
  .ks-launchpad-workspace-head-actions>kbd{display:none}
  .ks-launchpad-workspace-body{
    overflow:auto;
    grid-template-columns:1fr;
    padding:10px;
  }
  .ks-launchpad-apps-section{padding:12px}
  .ks-launchpad-section-heading>span{display:none}
  .ks-launchpad-workspace .ks-launchpad-wheel.ks-launchpad-app-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
  }
  .ks-launchpad-workspace .ks-launchpad-wheel a,
  .ks-launchpad-workspace .ks-launchpad-wheel a.is-selected{
    min-height:94px;
    padding:10px 7px;
    align-items:center;
    text-align:center;
  }
  .ks-launchpad-workspace .ks-launchpad-wheel a kbd,
  .ks-launchpad-workspace .ks-launchpad-wheel a small{display:none}
  .ks-launchpad-app-icon{width:38px;height:38px;margin-bottom:8px}
  .ks-launchpad-side{grid-template-columns:1fr;grid-template-rows:auto auto}
  .ks-launchpad-focus-card{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    padding:12px;
  }
  .ks-launchpad-focus-card>small{display:none}
  .ks-launchpad-focus-icon{width:40px;height:40px;margin:0}
  .ks-launchpad-focus-card h3{margin:0;font:800 .8rem/1.1 Inter,system-ui,sans-serif}
  .ks-launchpad-focus-card p{min-height:0;margin:3px 0 0;grid-column:2;color:#84908b;font-size:.6rem}
  .ks-launchpad-focus-card .ks-launchpad-open{grid-column:3;grid-row:1/3;min-width:74px}
  .ks-launchpad-workspace-foot{display:none}
}
@media(max-width:520px){
  .ks-launchpad-panel.ks-launchpad-workspace{height:min(86dvh,760px)}
  .ks-launchpad-workspace .ks-launchpad-wheel.ks-launchpad-app-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ks-launchpad-workspace .ks-launchpad-wheel a strong{font-size:.63rem}
  .ks-launchpad-workspace-brand small{font-size:.52rem}
  .ks-launchpad-recent{padding:12px}
}
