.site-shell.mode-home>.quick-help{display:none}
.start-screen.designed-home.np-home-ready{display:flex;flex-direction:column;justify-content:flex-start;gap:8px;padding:12px 18px 8px;min-height:0;overflow:auto;max-width:660px}
.np-home-ready>*{flex-shrink:0}
.np-home-ready .home-topline{position:static;inset:auto;width:100%;margin:0;min-height:40px;gap:10px;order:0}
.np-home-ready .home-eyebrow{display:none}
.np-home-ready .theme-entry{min-height:40px;padding:7px 10px;font-size:max(14px,var(--ui-min-font,0px))}
.np-home-ready .np-titles-entry{flex:1;min-width:0;width:auto;min-height:40px;padding:8px 10px;font-size:max(14px,var(--ui-min-font,0px));gap:6px}
.np-home-ready .np-titles-entry small{white-space:nowrap;font-size:12px}
.np-home-ready .start-title{margin:0;min-height:48px;align-items:center;gap:12px;padding:0}
.np-home-ready .start-title h1{font-size:28px;line-height:1.15;margin:0}
.np-home-ready .start-title p{font-size:max(13px,var(--ui-min-font,0px));line-height:1.4;margin:5px 0 0}
.np-home-ready .notebook-mark{width:44px;height:46px;font-size:30px;flex:none}
.np-home-ready .start-choices{display:grid;grid-template-columns:1fr;gap:10px;flex:1 0 146px;min-height:146px;max-height:240px;margin:0}
.np-home-ready .choice-card{min-height:68px;padding:12px 14px;gap:12px;height:100%;box-sizing:border-box}
.np-home-ready .choice-art{width:60px;height:60px;flex:none;transform:scale(.75);transform-origin:center}
.np-home-ready .choice-copy{min-width:0;flex:1}
.np-home-ready .choice-copy strong{font-size:22px;line-height:1.25}
.np-home-ready .choice-copy small{font-size:max(13px,var(--ui-min-font,0px));line-height:1.5;margin-top:5px}
.np-home-ready .shiru-entry{min-height:48px;margin:0;padding:8px 12px;gap:10px}
.np-home-ready .shiru-entry strong{font-size:18px;line-height:1.2}
.np-home-ready .shiru-entry small{font-size:12px;line-height:1.4;margin-top:3px}
.np-home-ready .home-resume{min-height:42px;margin:0;padding:8px 12px;font-size:15px}
.np-home-ready .tutorial-entry,.np-home-ready>.site-intro{display:none}
.np-home-guide{width:min(620px,calc(100vw - 20px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--theme-line,#bac9c0);border-radius:18px;background:var(--theme-surface,#fffdf7);color:var(--theme-ink,#20372c);box-sizing:border-box}
.np-home-guide::backdrop{background:#122b21a8}
.np-home-guide>header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;background:inherit;border-bottom:1px solid var(--theme-line,#bac9c0);z-index:1}
.np-home-guide h2{font-size:20px;margin:0;line-height:1.4}
.np-home-guide button{font:inherit;min-height:44px;padding:8px 14px;border:1px solid var(--theme-line,#bac9c0);border-radius:10px;background:var(--theme-surface,#fffdf7);color:inherit;cursor:pointer}
.np-home-guide .np-home-guide-content{display:block;margin:0;border:0;padding:18px}
.np-home-guide .site-intro-copy{font-size:16px;line-height:1.8}
.np-home-guide .site-intro-links{grid-template-columns:1fr;margin-top:18px}
.np-home-guide .site-intro-links a{min-height:58px;padding:12px}
.np-home-guide .site-intro-links strong{font-size:16px}
.np-home-guide .site-intro-links small{font-size:max(14px,var(--ui-min-font,0px))}
.np-home-guide-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 18px}
@media(max-height:650px) and (max-width:600px){.np-home-ready .start-title{display:none}.start-screen.designed-home.np-home-ready{gap:6px;padding-top:8px}.np-home-ready .start-choices{flex-basis:146px;max-height:180px}.np-home-ready .choice-art{height:44px;width:48px;transform:scale(.6)}.np-home-ready .choice-copy strong{font-size:20px}.np-home-ready .choice-copy small{margin-top:3px}}
@media(min-width:600px){.np-home-ready .start-choices{grid-template-columns:repeat(2,minmax(0,1fr));min-height:180px;max-height:260px}.np-home-ready .choice-card{align-items:flex-start;flex-direction:column;justify-content:center}.np-home-ready .choice-copy strong{font-size:25px}.np-home-ready .start-title{min-height:70px}.np-home-ready .start-title h1{font-size:36px}}
@media print{.np-home-guide{display:none!important}}

/* Secondary features appear only after opening their group. */
.np-stepped-home .start-choices{flex:0 0 auto;min-height:0;max-height:none}
.np-stepped-home .choice-card{height:auto;min-height:100px}
.np-stepped-home .np-home-more{min-width:0;margin:0}
.np-home-more summary{cursor:pointer;padding:12px 14px;min-height:44px;box-sizing:border-box;font-size:max(15px,var(--ui-min-font,0px));font-weight:700}
.np-home-more nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0 0}
.np-home-more nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:10px;border:1px solid var(--theme-line,#b8cbbd);border-radius:8px;color:inherit;text-decoration:none;font-size:max(14px,var(--ui-min-font,0px));line-height:1.5;text-align:center}
.np-stepped-home .np-collection-entry .choice-arrow{position:static;flex:none}
.np-stepped-home .np-home-more summary:focus-visible,.np-stepped-home a:focus-visible{outline:3px solid var(--theme-accent,#3d7659);outline-offset:3px}
.np-stepped-home .np-collection-entry strong{font-size:18px}
@media(min-width:600px){.np-stepped-home .start-choices{flex-basis:190px;min-height:190px;max-height:240px}.np-stepped-home .choice-card{position:relative}.np-stepped-home .choice-arrow{position:absolute;right:15px;bottom:18px}.np-stepped-home .np-collection-entry .choice-arrow{position:static}}
@media(max-width:359px){.np-home-more nav{grid-template-columns:1fr}.np-stepped-home .choice-copy strong{font-size:19px}}

.np-home-more:not([open]) > nav { display: none; }

.site-shell.mode-home > .header .brand {
  margin: 0;
  line-height: 1.15;
}
@media (max-width: 600px) {
  .site-shell.mode-home > .header .brand {
    font-size: max(clamp(19px, 6vw, 30px), var(--ui-min-font, 0px));
    overflow-wrap: anywhere;
  }
  .np-stepped-home .choice-card {
    min-height: 68px;
  }
}
@media (min-width: 601px) {
  .np-stepped-home .start-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 160px;
    flex-basis: auto;
  }
}


/* The support link is two thirds of a home card in both dimensions. */
.np-stepped-home {
  --home-card-width: 100%;
  --home-card-height: 84px;
  --home-card-gap: 10px;
}
.np-stepped-home .home-support-button {
  box-sizing: border-box;
  align-self: center;
  width: calc(var(--home-card-width) * 2 / 3);
  min-height: calc(var(--home-card-height) * 2 / 3);
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--theme-line, #b8cbbd);
  background: var(--theme-surface, #fffdf7);
  font-size: max(14px, var(--ui-min-font, 0px));
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.np-stepped-home .home-support-button:hover {
  border-color: var(--theme-accent, #3d7659);
}

/* All five home destinations share the same card layout. */
.np-stepped-home .start-choices {
  align-items: start;
  gap: var(--home-card-gap);
}
.np-stepped-home .start-choices .choice-card {
  width: 100%;
  min-width: 0;
  min-height: var(--home-card-height);
  text-decoration: none;
}
.np-stepped-home .choice-copy {
  overflow-wrap: anywhere;
}
.np-stepped-home .choice-card:is(.learn-choice,.works-choice) {
  background: var(--np-card-bg);
  border-color: var(--np-card-line);
  color: var(--np-card-ink);
}
.np-stepped-home .learn-choice {
  --np-card-bg: #e0f0fc;
  --np-card-line: #3978a5;
  --np-card-ink: #173f63;
}
.np-stepped-home .works-choice {
  --np-card-bg: #f0e5f9;
  --np-card-line: #8b58a6;
  --np-card-ink: #4d2765;
  list-style: none;
}
.np-stepped-home .works-choice::-webkit-details-marker {
  display: none;
}
.np-home-more[open] .choice-arrow {
  rotate: 90deg;
}
@media (max-width: 600px) {
  .np-stepped-home .start-choices {
    grid-template-columns: 1fr;
    flex-basis: auto;
    min-height: 0;
    max-height: none;
  }
  .np-stepped-home .start-choices .choice-card {
    flex-direction: row;
    align-items: center;
  }
  .np-stepped-home .choice-art {
    width: 44px;
    height: 44px;
  }
  .np-stepped-home .choice-copy strong {
    font-size: max(clamp(17px, 5.2vw, 21px), var(--ui-min-font, 0px));
  }
}
@media (min-width: 601px) {
  .np-stepped-home {
    --home-card-width: calc((100% - 2 * var(--home-card-gap)) / 3);
    --home-card-height: 164px;
  }
  .np-stepped-home .start-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
  }
  .np-stepped-home .choice-copy strong {
    font-size: max(20px, var(--ui-min-font, 0px));
  }
}
