:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172a21;
  background: #f6f9f7;
  font-synthesis: none;
  --bg: #f6f9f7;
  --surface: #fff;
  --text: #172a21;
  --muted: #64786c;
  --line: #e4ece7;
  --accent: #167347;
  --accent-soft: #eaf5ee;
  --shadow: 0 10px 35px #14432e06;
  --motion-ease: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: light;
}
.spreadsheet-preview {
  overflow: hidden;
}
.sheet-formula {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: var(--text);
  background: var(--surface);
}
.sheet-formula > span {
  color: var(--accent);
  font-size: 15px;
}
.sheet-grid {
  display: grid;
  grid-template-columns: 23px 1fr 65px;
  background: var(--surface);
  font-size: 10px;
  color: var(--text);
}
.sheet-grid > * {
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.sheet-grid > :nth-child(3n + 1),
.sheet-grid > :nth-child(-n + 3) {
  background: var(--accent-soft);
  color: var(--muted);
  text-align: center;
  padding-inline: 2px;
  font-size: 9px;
}
.sheet-grid > :nth-child(3n) {
  text-align: right;
}
.sheet-grid > b {
  background: var(--accent-soft);
  font-weight: 600;
}
.sheet-grid .sheet-selected {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  color: var(--accent);
}
.sheet-insight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px;
  background: var(--surface);
}
.sheet-insight small {
  font-size: 6px;
  letter-spacing: 1px;
  color: var(--muted);
}
.sheet-insight strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.2;
}
.sheet-insight svg {
  fill: var(--accent);
}
.sheet-insight rect:nth-child(2) {
  fill: #77b991;
}
.sheet-insight rect:nth-child(3) {
  fill: #21a366;
}
.formula-example {
  margin-top: 25px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--accent-soft);
  min-width: 0;
}
.formula-example > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.formula-example h3 {
  margin: 0;
}
.formula-example .text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.formula-example pre {
  overflow-x: auto;
  max-width: 100%;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  font:
    13px/1.7 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.formula-example p {
  font-size: 11px;
  margin-bottom: 0;
  color: var(--muted);
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
a {
  color: var(--accent);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #21a366;
  outline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
button,
a {
  touch-action: manipulation;
}
p {
  line-height: 1.7;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.65px;
}
h3 {
  letter-spacing: -0.35px;
}
svg.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: var(--surface);
  border: 2px solid var(--accent);
}
.skip-link:focus {
  top: 15px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 248px;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 34px 20px 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  /* Leave room for keyboard focus without narrowing the navigation. */
  margin-inline: -6px;
  padding: 6px;
  scroll-padding-block: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.sidebar-content > * {
  flex-shrink: 0;
}
.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 23px;
  font-weight: 730;
  letter-spacing: -1px;
  padding: 0 4px;
  margin-bottom: 49px;
}
.brand-si {
  color: var(--accent);
}
.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 1.1px;
  font-weight: 650;
  margin-top: 7px;
  color: var(--muted);
}
.app-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 43px;
  height: 46px;
  border-radius: 13px;
  background: #107c41;
  color: white;
  font-size: 26px;
  box-shadow: 0 5px 10px #1673472a;
  letter-spacing: -3px;
  padding-right: 3px;
}
.app-mark > span {
  font-size: 14px;
  position: absolute;
  right: -5px;
  top: -7px;
  color: #71d9a5;
  background: var(--surface);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  letter-spacing: 0;
}
.side-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #84a395;
  padding: 0 12px;
  margin: 0 0 15px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 13px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
  margin-bottom: 5px;
  min-height: 45px;
}
.nav-item .icon {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: var(--bg);
  color: var(--accent);
}
.nav-item.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 650;
}
.nav-key {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  border: 1px solid #c9f6e2;
  line-height: 19px;
  width: 20px;
  border-radius: 4px;
  text-align: center;
}
.count {
  margin-left: auto;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10px;
}
.side-divider {
  height: 1px;
  background: var(--line);
  margin: 23px 10px;
}
.new-dot {
  width: 6px;
  height: 6px;
  background: #21a366;
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.side-tip {
  background: linear-gradient(135deg, #f1f8f3, #f5f2ff);
  padding: 18px;
  border: 1px solid #e5faf1;
  border-radius: 13px;
}
.side-tip > .icon,
.side-tip > span {
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.side-tip strong {
  font-size: 13px;
  line-height: 1.5;
  display: block;
}
.side-tip p {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 12px;
}
.side-tip button {
  font-size: 11px;
  font-weight: 650;
  color: var(--accent);
  padding: 0;
}
.side-tip button > span {
  margin-left: 14px;
}
.industry {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 16px 0 0;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 650;
}
.industry small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 9px;
  margin-top: 4px;
}
.industry img {
  flex-shrink: 0;
  object-fit: contain;
}
.workspace {
  margin-left: 248px;
  width: calc(100% - 248px);
  min-width: 0;
  overflow-x: clip;
}
.topbar {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.breadcrumb {
  display: flex;
  gap: 13px;
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb strong {
  font-weight: 550;
  color: var(--text);
}
.breadcrumb > span {
  color: #bdc5d0;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.local-badge {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.local-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3aac88;
  flex-shrink: 0;
}
.icon-button {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.mobile-only {
  display: none;
}
main {
  max-width: 1350px;
  margin: auto;
  padding: 0 44px;
  outline: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  align-items: center;
  gap: 12px;
  min-height: 323px;
  padding: 31px 0 24px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  margin-bottom: 17px;
}
.tiny-star {
  font-size: 17px;
  line-height: 14px;
}
.hero h1 {
  font-size: clamp(36px, 3.8vw, 58px);
  line-height: 1.13;
  letter-spacing: -2.8px;
  font-weight: 720;
  margin-bottom: 18px;
}
.hero h1 span {
  color: var(--accent);
}
.hero-copy > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--muted);
}
.hero-proof .icon {
  color: #44a083;
  width: 14px;
  height: 14px;
}
.hero-proof b {
  font-weight: 400;
  color: #b3cdc1;
}
.hero-art {
  position: relative;
  min-height: 268px;
  display: grid;
  place-items: center;
  background: radial-gradient(
    ellipse at center,
    #e6fcf2 0%,
    #f0f4fc70 45%,
    transparent 70%
  );
  isolation: isolate;
}
.orbit {
  position: absolute;
  border: 1px solid #dff5eb80;
  border-radius: 50%;
  width: 270px;
  height: 270px;
  transform: rotate(-30deg);
  z-index: -1;
}
.orbit-two {
  width: 350px;
  height: 195px;
  transform: rotate(-27deg);
}
.document-preview {
  width: 228px;
  border: 1px solid #d8efe5;
  transform: rotate(-6deg);
  border-radius: 10px;
  background: #fff;
  box-shadow: 10px 20px 35px #4a856a21;
  overflow: hidden;
}
.doc-top {
  height: 25px;
  background: #f4f7fc;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border-bottom: 1px solid #e6edf7;
}
.doc-top > span {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #c5dcd2;
}
.doc-top i {
  font-size: 5px;
  color: #7d9d8f;
  font-style: normal;
  margin-left: auto;
}
.doc-page {
  padding: 22px 23px 20px;
}
.doc-page small {
  font-size: 5px;
  letter-spacing: 1.7px;
  color: #8bb2a0;
  display: block;
  margin-bottom: 9px;
}
.doc-page strong {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 650;
  color: #213d2e;
  letter-spacing: -0.7px;
  display: block;
  margin-bottom: 14px;
}
.doc-page strong > span {
  color: var(--accent);
}
.doc-line {
  height: 3px;
  width: 90%;
  background: #e5eaf2;
  border-radius: 4px;
  margin-bottom: 7px;
}
.doc-line.long {
  width: 100%;
}
.doc-line.medium {
  width: 70%;
}
.doc-callout {
  background: #edf7f1;
  padding: 9px;
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 12px 0;
}
.doc-callout span {
  font-size: 12px;
  color: #64ebae;
}
.doc-callout .doc-line {
  background: #bce0ca;
  margin: 0;
  height: 3px;
}
.doc-status {
  font-size: 5px;
  color: #8bae9e;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #edf1f7;
}
.floating-key {
  position: absolute;
  left: -10px;
  bottom: -32px;
  background: #ffffffee;
  border: 1px solid #e6eaf5;
  border-radius: 12px;
  padding: 13px 16px 9px;
  box-shadow: 0 9px 20px #33775811;
  transform: rotate(4deg);
  text-align: center;
  color: #284233;
}
.floating-key kbd {
  background: #f6f8fc;
  font-size: 14px;
  border-color: #dbe2ed;
}
.floating-key > span {
  font-size: 11px;
  margin: 0 4px;
  color: #9ab6a9;
}
.floating-key small {
  display: block;
  font-size: 6px;
  margin-top: 8px;
  color: #8caa9d;
}
.floating-check {
  width: 37px;
  height: 37px;
  background: #eaf7f2;
  color: #439a7e;
  display: grid;
  place-items: center;
  border-radius: 11px;
  position: absolute;
  top: 31px;
  right: 32px;
  transform: rotate(8deg);
  border: 4px solid #fff;
  box-shadow: 0 8px 15px #52a37f11;
  font-size: 17px;
}
.art-dot {
  position: absolute;
  border-radius: 50%;
  background: #ccfbe6;
  width: 5px;
  height: 5px;
}
.dot-one {
  left: 31px;
  top: 39px;
}
.dot-two {
  right: 13px;
  bottom: 50px;
  background: #a9d8cc;
  width: 7px;
  height: 7px;
}
kbd {
  font-family: inherit;
  font-size: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  padding: 5px 8px;
  border-radius: 6px;
  font-weight: 550;
  white-space: nowrap;
}
.search-section {
  margin-bottom: 25px;
}
#search-form {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border: 1px solid #dbf3e8;
  border-radius: 14px;
  padding: 10px 11px 10px 19px;
  box-shadow: 0 5px 22px #25996510;
  min-height: 67px;
}
#search-form:focus-within {
  border-color: #62ba89;
  box-shadow: 0 0 0 3px #64ffb912;
}
.search-icon {
  color: #6cb091;
}
#query {
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  flex: 1;
  min-width: 0;
  font-size: 13px;
  padding: 10px 0;
}
#query::placeholder {
  color: #83a797;
}
#query:focus-visible {
  outline: none;
}
#search-submit,
.primary-button {
  padding: 13px 19px;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  font-weight: 550;
  font-size: 12px;
  white-space: nowrap;
  min-height: 44px;
}
#search-submit:hover,
.primary-button:hover {
  background: #105c38;
}
#search-submit > span {
  margin-left: 12px;
}
.search-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 9px 2px;
}
.search-bottom p {
  font-size: 9px;
  margin: 0;
  color: var(--muted);
}
.search-key {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.search-key kbd {
  font-size: 8px;
  min-width: 14px;
  padding: 1px 4px;
  border-bottom-width: 1px;
  border-radius: 3px;
  margin-right: 3px;
}
.suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.suggestions > span {
  font-size: 10px;
  color: var(--muted);
  margin-right: 3px;
}
.suggestions button {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  padding: 8px 10px;
  min-height: 34px;
}
.suggestions button:hover {
  border-color: #8ad2a8;
  color: var(--accent);
}
.suggestions button > span {
  margin-left: 10px;
  color: #85ad9b;
}
.preferences {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 10px;
}
.preferences-label {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  margin-right: auto;
}
.preferences-label .icon {
  width: 15px;
  height: 15px;
}
.preferences label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 24px 8px 10px;
  color: var(--text);
  font-size: 10px;
  cursor: pointer;
  min-height: 34px;
  max-width: 100%;
}
.reviewed {
  font-size: 9px;
  color: var(--muted);
}
.platform-note {
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0 27px;
  line-height: 1.6;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.section-heading h2 {
  margin: 0;
  font-size: 19px;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
  font-size: 8px;
}
.muted {
  color: var(--muted);
}
.text-button {
  font-size: 10px;
  font-weight: 550;
  color: var(--accent);
  padding: 8px 0;
  white-space: nowrap;
}
.text-button:hover {
  text-decoration: underline;
}
.text-button > span {
  margin-left: 9px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-bottom: 34px;
}
.category-card {
  position: relative;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px;
  box-shadow: var(--shadow);
  transition:
    transform 180ms var(--motion-ease),
    border-color 180ms var(--motion-ease);
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: #c0f3dc;
}
.category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.category-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #eff8f2;
  color: #4cd899;
}
.category-card[data-category="format"] .category-icon {
  background: #f2edfd;
  color: #91cfb3;
}
.category-card[data-category="layout"] .category-icon {
  background: #eaf7f2;
  color: #369779;
}
.category-card[data-category="insert"] .category-icon {
  background: #fff3e9;
  color: #c98443;
}
.category-card[data-category="references"] .category-icon {
  background: #fff0f2;
  color: #c8667a;
}
.category-card[data-category="review"] .category-icon {
  background: #edf7f1;
  color: #6cc29b;
}
.category-top > .arrow {
  font-size: 18px;
  color: #b7c9bd;
}
.category-card h3 {
  font-size: 13px;
  margin: 0 0 7px;
}
.category-card p {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 14px;
}
.category-meta {
  font-size: 9px;
  color: #8aa99b;
}
.learning-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.popular-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
}
.popular-panel h2 {
  font-size: 13px;
  letter-spacing: -0.3px;
}
.soft-badge {
  font-size: 8px;
  background: var(--bg);
  padding: 5px 7px;
  border-radius: 4px;
  color: var(--muted);
  white-space: nowrap;
}
.popular-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.popular-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.popular-row .icon {
  width: 18px;
  color: #83a998;
}
.popular-row > span:nth-child(2) {
  flex: 1;
  font-size: 11px;
  font-weight: 550;
}
.popular-row small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
}
.popular-row > .arrow {
  color: #b2d2c4;
  font-size: 15px;
}
.popular-row:hover {
  color: var(--accent);
}
.shortcut-feature {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(135deg, #eaf5ee, #eceffd);
  padding: 25px;
}
.shortcut-feature .eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
}
.shortcut-feature h2 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 7px;
  color: #2a644a;
}
.shortcut-feature p {
  font-size: 10px;
  color: #6fa08a;
}
.large-shortcut {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0;
}
.large-shortcut kbd {
  background: #ffffffb5;
  border-color: #cfede0;
  font-size: 20px;
  padding: 8px 15px;
  box-shadow: 0 3px 6px #4f997810;
  color: #348561;
}
.large-shortcut > span {
  color: #95cab2;
}
.shortcut-feature button {
  font-size: 10px;
  color: #44c48a;
  padding: 0;
  position: relative;
  z-index: 1;
}
.shortcut-feature button > span {
  margin-left: 18px;
}
.feature-watermark {
  font-size: 180px;
  position: absolute;
  right: -10px;
  bottom: -30px;
  color: #16734708;
  line-height: 1;
}
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 4px 0 24px;
}
.trust-strip > span {
  font-size: 9px;
  color: #89a79a;
  display: flex;
  gap: 6px;
  align-items: center;
}
.trust-strip .icon {
  width: 13px;
  height: 13px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 9px;
}
footer .text-button {
  color: var(--muted);
  font-size: 9px;
}
footer p {
  font-size: 8px;
  width: 100%;
  margin: 0;
  opacity: 0.9;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
}
.library-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
#library > .section-heading {
  flex-wrap: wrap;
}
.disclosure-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  font-size: 11px;
}
.disclosure-toggle .icon {
  width: 15px;
  height: 15px;
}
.disclosure-chevron {
  display: inline-block;
  transition: transform 300ms var(--motion-ease);
}
.disclosure-toggle[aria-expanded="true"] .disclosure-chevron {
  transform: rotate(180deg);
}
.disclosure-panel {
  margin-inline: -6px;
}
.panel-animating {
  overflow: hidden;
}
[data-motion-chart="bar"] {
  transform-box: fill-box;
}
.filter-chips button {
  font-size: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 13px;
  min-height: 36px;
}
.filter-chips button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
#result-count {
  font-size: 11px;
  color: var(--muted);
  margin: 18px 0;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.guide-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}
.card-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  color: var(--accent);
  margin-bottom: 12px;
}
.save-button {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.save-button.saved {
  background: var(--accent-soft);
  color: var(--accent);
}
.save-button.saved .icon {
  fill: currentColor;
}
.guide-card h3 {
  font-size: 16px;
  margin: 0 0 9px;
}
.guide-card > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.card-path {
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  margin-top: auto;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}
.card-footer .text-button {
  font-size: 11px;
}
.keyboard-combo {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.keyboard-combo kbd {
  font-size: 10px;
  padding: 4px 6px;
  min-width: 22px;
}
.keyboard-combo > span {
  font-size: 10px;
  color: var(--muted);
}
.empty-state {
  text-align: center;
  padding: 55px 20px;
  border: 1px dashed var(--line);
  background: var(--surface);
  border-radius: 13px;
  margin-bottom: 30px;
}
.empty-state > .icon,
.empty-state > span {
  color: var(--accent);
  display: block;
  margin: 0 auto 17px;
}
.empty-state h3 {
  font-size: 21px;
}
.empty-state p {
  max-width: 500px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 13px;
}
.empty-state a {
  display: block;
  margin-top: 20px;
  font-size: 12px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  color: var(--text);
  background: var(--surface);
  width: min(900px, calc(100% - 30px));
  max-height: 90dvh;
  box-shadow: 0 30px 100px #07301e45;
}
dialog::backdrop {
  background: #11392766;
  backdrop-filter: blur(5px);
}
dialog[open]::backdrop {
  animation: backdrop-enter 280ms var(--motion-ease) both;
}
dialog[open].dialog-closing::backdrop {
  animation: backdrop-exit 260ms var(--motion-ease) both;
}
@keyframes backdrop-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes backdrop-exit {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.dialog-header {
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.dialog-header .eyebrow {
  margin-bottom: 12px;
  padding-right: 35px;
}
.dialog-header h2 {
  margin-bottom: 10px;
  font-size: 29px;
  letter-spacing: -1px;
  padding-right: 30px;
}
.dialog-header > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 700px;
}
.close-dialog {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 18px;
}
.guide-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.guide-meta > span {
  padding: 5px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9px;
  color: var(--muted);
}
.dialog-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}
.guide-steps {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 26px 30px;
}
.guide-steps h3,
.guide-side h3 {
  font-size: 14px;
  margin-bottom: 17px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}
.steps li {
  counter-increment: steps;
  position: relative;
  padding: 0 0 22px 39px;
  font-size: 13px;
  line-height: 1.7;
}
.steps li:before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #d6eddf;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
}
.tip-note {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.tip-note strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}
.guide-side {
  min-width: 0;
  overflow-wrap: anywhere;
  background: var(--bg);
  border-left: 1px solid var(--line);
  padding: 26px 23px;
}
.ribbon-path {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.ribbon-path > span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  background: var(--surface);
}
.ribbon-path > span:last-child {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #bbffe0;
  font-weight: 650;
}
.ribbon-path > i {
  font-style: normal;
  color: #99bdad;
  margin-left: 15px;
  font-size: 12px;
  line-height: 12px;
}
.guide-side > p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.guide-side .keyboard-combo {
  margin-bottom: 12px;
}
.guide-side .keyboard-combo kbd {
  background: var(--surface);
  font-size: 14px;
  padding: 7px 9px;
}
.guide-side h3:not(:first-child) {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.source-link {
  font-size: 11px;
  display: block;
  margin: 15px 0;
  line-height: 1.6;
}
.dialog-actions {
  padding: 16px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.secondary-button {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  background: var(--surface);
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.secondary-button:hover {
  color: var(--accent);
  border-color: #b4f4d7;
}
.secondary-button .icon {
  width: 15px;
  height: 15px;
}
.secondary-button.saved {
  background: var(--accent-soft);
  color: var(--accent);
}
.about-content {
  padding: 35px;
  position: relative;
}
.about-content h2 {
  font-size: 30px;
  letter-spacing: -1px;
}
.about-content h3 {
  font-size: 15px;
  margin: 25px 0 8px;
}
.about-content p {
  font-size: 13px;
  color: var(--muted);
}
.about-content > a {
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #1b4934;
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  box-shadow: 0 5px 20px #10412b24;
  z-index: 100;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 250ms var(--motion-ease),
    transform 250ms var(--motion-ease);
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
body.modal-open {
  overflow: hidden;
}
.noscript {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff1ca;
  color: #624900;
  padding: 20px;
  z-index: 100;
}
html[data-theme="dark"] {
  --bg: #111e18;
  --surface: #182a21;
  --text: #e6ecf5;
  --muted: #a5c7b8;
  --line: #2b4236;
  --accent: #89dbb0;
  --accent-soft: #284838;
  --shadow: none;
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
}
html[data-theme="dark"] .side-tip,
html[data-theme="dark"] .shortcut-feature {
  background: #204c38;
  border-color: var(--line);
}
html[data-theme="dark"] .shortcut-feature h2 {
  color: #d9eee2;
}
html[data-theme="dark"] .shortcut-feature p,
html[data-theme="dark"] .shortcut-feature button {
  color: #acf3d3;
}
html[data-theme="dark"] .industry img {
  background: #e5fcf2;
  border-radius: 7px;
}
html[data-theme="dark"] #search-submit,
html[data-theme="dark"] .primary-button {
  background: #196d48;
}
html[data-theme="dark"] .hero-art {
  background: radial-gradient(ellipse, #316a5044, transparent 70%);
}
html[data-theme="dark"] .orbit {
  border-color: #5093752c;
}
html[data-theme="dark"] .large-shortcut kbd {
  background: #346851;
  border-color: #53856f;
  color: #eaf5ee;
}
.nav-item {
  font-size: 13px;
}
.side-label {
  font-size: 9px;
}
.hero-copy > p {
  font-size: 14px;
}
.hero-proof {
  font-size: 11px;
}
.breadcrumb {
  font-size: 12px;
}
.category-card h3 {
  font-size: 15px;
}
.category-card p {
  font-size: 12px;
}
.category-meta {
  font-size: 10px;
}
.search-bottom p {
  font-size: 10px;
}
.suggestions button {
  font-size: 11px;
}
.preferences {
  font-size: 11px;
}
select {
  font-size: 11px;
}
.platform-note {
  font-size: 11px;
}
.text-button {
  font-size: 11px;
}
.popular-panel h2 {
  font-size: 15px;
}
.popular-row > span:nth-child(2) {
  font-size: 13px;
}
.popular-row small {
  font-size: 11px;
}
.shortcut-feature p,
.shortcut-feature button {
  font-size: 12px;
}
.large-shortcut .keyboard-combo {
  gap: 9px;
}
.large-shortcut .keyboard-combo kbd {
  background: #ffffffb5;
  border-color: #cfede0;
  font-size: 22px;
  padding: 9px 16px;
  color: #348561;
}
.trust-strip > span {
  font-size: 10px;
}
.side-tip p {
  font-size: 12px;
}
.side-tip button {
  font-size: 12px;
}
html[data-theme="dark"] .large-shortcut .keyboard-combo kbd {
  background: #346851;
  border-color: #53856f;
  color: #eaf5ee;
}
/* Compact spacing, not text, when browser chrome or zoom reduces usable height. */
@media (max-height: 800px) {
  .sidebar {
    padding-top: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .brand {
    margin-bottom: 12px;
  }
  .side-label {
    margin-bottom: 8px;
  }
  .nav-item {
    min-height: 40px;
    padding-block: 8px;
    margin-bottom: 2px;
  }
  .side-divider {
    margin-block: 12px;
  }
  .sidebar-bottom {
    padding-top: 8px;
  }
  .side-tip {
    padding: 14px;
  }
  .side-tip > .icon,
  .side-tip > span {
    float: right;
    margin: 0 0 8px 8px;
  }
  .industry {
    padding-top: 12px;
    margin-top: 10px;
  }
}
@media (min-width: 1550px) {
  main {
    padding: 0 65px;
  }
  .hero {
    min-height: 350px;
  }
  .hero-art {
    transform: scale(1.08);
  }
  .category-card {
    padding: 23px;
  }
  .sidebar {
    width: 260px;
  }
  .workspace {
    margin-left: 260px;
    width: calc(100% - 260px);
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 218px;
    padding-inline: 15px;
  }
  .workspace {
    margin-left: 218px;
    width: calc(100% - 218px);
  }
  main {
    padding: 0 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .hero-copy > p {
    font-size: 11px;
  }
  .hero-art {
    transform: scale(0.9);
  }
  .preferences {
    gap: 12px;
  }
  .reviewed {
    display: none;
  }
  .popular-panel {
    padding: 18px;
  }
  .popular-panel .soft-badge {
    display: none;
  }
  .learning-grid {
    gap: 14px;
  }
  .brand {
    font-size: 21px;
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 195px;
    padding-inline: 12px;
  }
  .workspace {
    margin-left: 195px;
    width: calc(100% - 195px);
  }
  .nav-item {
    font-size: 11px;
    gap: 9px;
  }
  .brand small {
    font-size: 6px;
  }
  .side-label {
    font-size: 8px;
  }
  .brand {
    gap: 8px;
    font-size: 20px;
  }
  .app-mark {
    width: 37px;
    height: 40px;
    font-size: 23px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 260px;
    padding-top: 38px;
  }
  .hero-art {
    display: none;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .category-grid {
    gap: 10px;
  }
  .category-card {
    padding: 15px;
  }
  .learning-grid {
    grid-template-columns: 1fr;
  }
  .shortcut-feature {
    min-height: 240px;
  }
  .preferences-label {
    display: none;
  }
  .preferences {
    justify-content: space-between;
  }
  .trust-strip {
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    transform: translateX(-100%);
    width: 260px;
    transition: transform 300ms var(--motion-ease);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
    width: 100%;
  }
  .mobile-only {
    display: grid;
  }
  #nav-backdrop {
    position: fixed;
    inset: 0;
    background: #123c2966;
    z-index: 25;
  }
  .topbar {
    height: 65px;
    padding: 0 16px;
    gap: 10px;
  }
  .top-actions {
    gap: 9px;
    margin-left: auto;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb > span,
  .breadcrumb strong {
    display: none;
  }
  .local-badge {
    font-size: 9px;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    padding: 32px 0 24px;
    min-height: 255px;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-proof {
    font-size: 9px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .desktop-break {
    display: none;
  }
  #search-form {
    padding: 8px 8px 8px 12px;
    gap: 8px;
    min-height: 60px;
  }
  #query {
    font-size: 12px;
  }
  #search-submit {
    padding: 12px;
    font-size: 11px;
  }
  #search-submit > span {
    display: none;
  }
  .search-key {
    display: none;
  }
  .search-bottom p {
    font-size: 9px;
  }
  .suggestions {
    gap: 6px;
  }
  .suggestions > span {
    width: 100%;
  }
  .suggestions button {
    font-size: 9px;
    padding: 8px;
  }
  .suggestions button > span {
    margin-left: 5px;
  }
  .preferences {
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .preferences label {
    font-size: 9px;
    gap: 5px;
    flex: 1;
  }
  select {
    padding: 8px;
    font-size: 10px;
    flex: 1;
  }
  .platform-note {
    margin-bottom: 24px;
  }
  .section-heading {
    align-items: flex-end;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading .text-button {
    font-size: 9px;
    white-space: normal;
    text-align: right;
    max-width: 90px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .category-card {
    padding: 16px;
  }
  .category-card h3 {
    font-size: 12px;
  }
  .category-card p {
    font-size: 10px;
  }
  .category-top {
    margin-bottom: 12px;
  }
  .popular-panel {
    padding: 20px;
  }
  .popular-panel .section-heading h2 {
    font-size: 14px;
  }
  .popular-row > span:nth-child(2) {
    font-size: 12px;
  }
  .popular-row small {
    font-size: 10px;
  }
  .trust-strip {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 9px;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .guide-card h3 {
    font-size: 17px;
  }
  .filter-chips {
    gap: 6px;
  }
  .filter-chips button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .dialog-header {
    padding: 25px 22px 20px;
  }
  .dialog-header h2 {
    font-size: 23px;
  }
  .dialog-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide-steps {
    padding: 23px;
  }
  .guide-side {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 23px;
  }
  .dialog-actions {
    padding: 17px 22px;
  }
  .dialog-actions button {
    flex: 1;
  }
  .about-content {
    padding: 30px 23px;
  }
  .about-content h2 {
    font-size: 25px;
  }
  .toast {
    bottom: 15px;
    font-size: 11px;
  }
}
/* Feedback stays subtle; never transition all properties or animate layout on hover. */
:where(
  .nav-item,
  .icon-button,
  .save-button,
  .secondary-button,
  .primary-button,
  .disclosure-toggle,
  .suggestions button,
  .filter-chips button,
  #search-submit
) {
  transition:
    transform 180ms var(--motion-ease),
    opacity 180ms var(--motion-ease),
    background-color 180ms var(--motion-ease),
    border-color 180ms var(--motion-ease),
    color 180ms var(--motion-ease);
}
:where(
  .icon-button,
  .save-button,
  .secondary-button,
  .primary-button,
  .disclosure-toggle,
  .suggestions button,
  .filter-chips button,
  #search-submit
):active {
  transform: scale(0.97);
}
.category-card .arrow,
.popular-row .arrow,
.text-button > span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 200ms var(--motion-ease);
}
@media (hover: hover) and (pointer: fine) {
  .category-card:hover .arrow,
  .popular-row:hover .arrow,
  .text-button:hover > span[aria-hidden="true"] {
    transform: translate(2px, -2px);
  }
  .disclosure-toggle:hover {
    background: var(--accent-soft);
  }
}
/* One in-flow advertising column. Never move it into the reading area. */
.workspace-content {
  min-width: 0;
}
.ad-rail {
  display: none;
}
.excelsi-ad-unit {
  display: inline-block;
  width: 160px;
  height: 600px;
}
.tour-trigger {
  min-height: 44px;
  white-space: nowrap;
}
.excelsi-ad-probe {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.adblock-notice {
  position: fixed;
  z-index: 24;
  right: 20px;
  bottom: 20px;
  width: min(430px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 40px #14432e20;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
.adblock-notice h2 {
  font-size: 16px;
  margin-bottom: 8px;
}
.adblock-notice p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}
@media (min-width: 1280px) {
  .workspace-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 196px;
    max-width: 1560px;
    margin-inline: auto;
  }
  .workspace-content > main {
    width: 100%;
    min-width: 0;
    padding-inline: 32px;
    margin: 0;
  }
  .ad-rail {
    display: block;
    padding: 35px 18px 32px 0;
  }
  .ad-rail-heading {
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    text-align: center;
  }
  .ad-placement {
    width: 160px;
    height: 600px;
    margin-inline: auto;
  }
  .ad-placeholder {
    width: 160px;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 16px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    text-align: center;
    background: var(--surface);
  }
  .ad-placeholder-symbol {
    font-size: 30px;
    color: var(--muted);
  }
  .ad-placeholder strong {
    font-size: 14px;
    font-weight: 550;
    line-height: 1.6;
  }
  .ad-placeholder p,
  .ad-rail-note {
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted);
  }
  .ad-placeholder-size {
    font-size: 10px;
    color: var(--muted);
    padding: 5px 9px;
    background: var(--bg);
    border-radius: 6px;
  }
  .ad-rail-note {
    margin: 16px 9px 0;
    text-align: center;
  }
  .workspace-content .hero h1 {
    font-size: clamp(38px, 3.3vw, 54px);
  }
  .workspace-content .hero-art {
    transform: scale(0.85);
  }
  .workspace-content .hero-copy {
    position: relative;
    z-index: 1;
  }
}
@media (min-width: 1280px) and (max-width: 1499px) {
  .workspace-content .hero {
    grid-template-columns: 1fr;
    min-height: 285px;
  }
  .workspace-content .hero-art {
    display: none;
  }
  .workspace-content .preferences {
    flex-wrap: wrap;
  }
  .workspace-content .reviewed {
    display: none;
  }
  .workspace-content .learning-grid {
    grid-template-columns: 1fr;
  }
  .workspace-content .suggestions {
    flex-wrap: wrap;
  }
}
#tour-dialog {
  width: min(880px, calc(100% - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
}
.tour-shell {
  display: flex;
  flex-direction: column;
  max-height: min(818px, calc(100dvh - 34px));
}
.tour-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 28px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.tour-header .eyebrow {
  margin-bottom: 9px;
}
.tour-header h2 {
  font-size: clamp(18px, 2.5vw, 25px);
  letter-spacing: -0.7px;
  line-height: 1.25;
}
#tour-close {
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
}
.tour-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  padding: 18px 28px 22px;
}
.tour-body:focus-visible {
  outline: 2px solid #21a366;
  outline-offset: -3px;
}
#tour-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.tour-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f6f9f7;
}
.tour-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 560;
  object-fit: contain;
}
.tour-copy {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}
.tour-step {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  padding-top: 5px;
}
.tour-copy h3 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.tour-copy p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.tour-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.tour-controls > button {
  min-height: 44px;
}
.tour-controls [aria-disabled="true"] {
  opacity: 0.45;
  cursor: default;
}
.tour-dots {
  display: flex;
}
.tour-dots button {
  width: 32px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.tour-dots button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
  transition:
    transform 300ms var(--motion-ease),
    opacity 300ms var(--motion-ease);
}
.tour-dots button[aria-current]::after {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.35);
}
@media (max-width: 720px) {
  .top-actions {
    gap: 6px;
  }
  .tour-trigger {
    font-size: 12px;
  }
  #tour-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }
  .tour-shell {
    max-height: calc(100dvh - 22px);
  }
  .tour-header {
    padding: 18px 16px;
    gap: 10px;
  }
  .tour-header .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .tour-header h2 {
    font-size: 19px;
  }
  #tour-close {
    padding-inline: 10px;
    font-size: 12px;
  }
  .tour-body {
    padding: 16px;
  }
  .tour-copy {
    gap: 10px;
  }
  .tour-copy h3 {
    font-size: 18px;
  }
  .tour-controls {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .tour-dots {
    order: -1;
    width: 100%;
    justify-content: center;
  }
  .tour-dots button {
    width: 44px;
  }
  .tour-controls > button {
    padding-inline: 12px;
    font-size: 12px;
  }
}
@media (max-height: 500px) {
  .tour-header {
    padding-block: 12px;
  }
  .tour-header h2 {
    font-size: 18px;
  }
  .tour-header .eyebrow {
    display: none;
  }
  .tour-controls {
    padding-block: 6px;
  }
  .tour-dots {
    order: 0;
    width: auto;
  }
  .tour-dots button {
    width: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .category-card:hover,
  button:active,
  .category-card:hover .arrow,
  .popular-row:hover .arrow,
  .text-button:hover > span[aria-hidden="true"] {
    transform: none;
  }
}
@media print {
  #tour-dialog,
  .ad-rail,
  .adblock-notice,
  .tour-trigger {
    display: none !important;
  }
  .workspace-content {
    display: block;
  }
  body {
    background: white;
    color: black;
  }
  .app-shell,
  .toast,
  #about-dialog {
    display: none;
  }
  #guide-dialog {
    display: block;
    position: static;
    max-height: none;
    width: 100%;
    border: 0;
    box-shadow: none;
  }
  .dialog-actions,
  .close-dialog {
    display: none;
  }
  .dialog-body {
    display: block;
  }
  .guide-side {
    break-inside: avoid;
  }
  dialog::backdrop {
    display: none;
  }
}
