:root:not(.theme-ready) { transition: none; }
@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.5 var(--body); }
h1, h2, h3, p, figure, ul { margin: 0; }
button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(90%, 1080px); margin-inline: auto; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
#theme {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  transition: border-color .6s var(--hover),background 1s var(--hover),transform .6s var(--hover);
}

#theme:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

#theme:active {
  transform: scale(.94);
}

#theme .theme-icon {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  color: var(--text);
  transition: opacity .45s var(--hover), transform .6s var(--ease);
}
#theme .sun, [data-theme="light"] #theme .moon { opacity: 0; transform: scale(.72) rotate(-24deg); }
[data-theme="light"] #theme .sun { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  #theme, #theme .theme-icon { transition: none; }
}
h1 { margin: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 82px); font: 600 clamp(2.7rem, 8vw, 6.3rem)/.99 var(--display); letter-spacing: -.068em; }
section {
  margin-bottom: 24px;
  padding: clamp(18px, 4vw, 42px);
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  border-radius: 22px;
  background: transparent;
}
main { padding-bottom: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 22px; }
h2 { font: 600 clamp(1.8rem, 4vw, 3.1rem)/1.05 var(--display); letter-spacing: -.045em; }
.section-head p, .caption, #status { color: var(--muted); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.logo-panel { display: grid; place-items: center; min-height: clamp(160px, 22vw, 268px); border-radius: 18px; }
.dark-panel { background: #14181E; }
.light-panel { background: #FFFFFF; }
.logo-panel img { display: block; width: clamp(112px, 20vw, 215px); height: auto; }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 10px 3px 0; font-size: .9rem; }
figcaption a { color: var(--muted); }
.type-panel { display: grid; grid-template-rows: auto 1fr auto; color: var(--text); background: var(--surface); border-radius: 18px; padding: clamp(22px, 4vw, 44px); }
.display { font-family: var(--display); }
.caption { font: 600 .9rem/1.4 var(--body); }
.type-panel h3 { align-self: center; margin-block: 24px; font-size: clamp(2.8rem, 7.5vw, 7rem); line-height: .88; letter-spacing: -.075em; font-weight: 600; }
.weights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; }
.weights li { display: grid; }
.weights span { font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.04em; }
.weights small { color: var(--muted); font: 500 .8rem/1.5 var(--body); }
.palettes { display: grid; gap: 24px; }
.palette-title { margin-bottom: 8px; font-size: 1rem; }
.palette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(7px, 1vw, 12px); }
.swatch { min-width: 0; text-align: left; }
.swatch-color { display: block; height: clamp(48px, 7vw, 84px); border-radius: 8px; }

.swatch-meta { display: grid; gap: 2px; margin-top: 8px; font-size: .84rem; }
.swatch-meta code { color: var(--muted); font-size: .73rem; }
@media (max-width: 700px) {
  .palettes { gap: 18px; }
}
@media (max-width: 540px) {
  .type-panel { grid-column: 1 / -1; }
  .type-panel h3 br { display: none; }
  .section-head { display: block; }
  .section-head p { margin-top: 8px; }
}


.backgrounds { margin-top: 36px; }
.backgrounds h3 { font: 600 1.25rem/1.2 var(--display); }
.backgrounds p { margin: 8px 0 18px; max-width: 64ch; color: var(--muted); }
#status:not(:empty) { margin-top: 12px; }
.floating-action {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--glass-edge);
  border-radius: 50%;
  background: var(--copy-glass);
  color: var(--copy-ink);
  backdrop-filter: blur(12px) saturate(1.3);
  transition: background-color .32s var(--ease), transform .32s var(--ease);
}
.floating-action:hover {
  background: var(--copy-glass-hover);
  transform: translateY(-1px);
}
.floating-action:active { transform: scale(.95); }
@media (prefers-reduced-motion: reduce) {
  .floating-action { transition: none; }
  .floating-action:hover, .floating-action:active { transform: none; }
}
.floating-action:focus-visible { outline-color: var(--copy-ink); outline-offset: 2px; }
.floating-action svg { width: 16px; height: 16px; }
.background-preview--dark, .dark-panel, .swatch-color[data-tone="dark"] {
  --copy-glass: rgba(255, 255, 255, .15);
  --copy-glass-hover: rgba(255, 255, 255, .26);
  --glass-edge: rgba(255, 255, 255, .23);
  --copy-ink: #EAECF0;
}
.background-preview--light, .light-panel, .swatch-color[data-tone="light"], [data-theme="light"] .type-panel {
  --copy-glass: rgba(255, 255, 255, .55);
  --copy-glass-hover: rgba(255, 255, 255, .82);
  --glass-edge: rgba(13, 16, 22, .10);
  --copy-ink: #0D1016;
}

.logo-panel, .type-panel, .swatch-color { position: relative; }
:root:not([data-theme="light"]) .type-panel { --copy-glass: #ffffff26; --copy-glass-hover: #ffffff42; --glass-edge: #ffffff3b; --copy-ink: #EAECF0; }
.type-panel .caption { padding-right: 44px; }
.swatch-color { min-height: 56px; }
.swatch-color .floating-action { top: 6px; right: 6px; }
.floating-action { text-decoration: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.section-head.iconography-head { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; }
.icon-tones { display: flex; flex: none; gap: 5px; margin: 0; padding: 0; border: 0; min-width: 0; }
.icon-tones label { position: relative; display: grid; place-items: center; width: 38px; height: 38px; cursor: pointer; }
.icon-tones label > span:first-of-type { width: 26px; height: 26px; border-radius: 50%; background: var(--tone); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.icon-tones label:hover > span:first-of-type { transform: scale(1.12); }
.icon-tones input:checked + span { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--tone); }
.icon-tones input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 6px; }
.icon-tones input { position: absolute; width: 1px; height: 1px; opacity: 0; }
#icon-tables { --icon-ink: var(--text); }
.icon-tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.icon-tabs button {
  min-height: 38px;
  padding: 4px clamp(9px, 2vw, 16px);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.icon-tabs button:hover { color: var(--text); }
.icon-tabs [aria-selected="true"] { background: var(--surface); color: var(--text); }
.icon-grid-viewport.is-animating { overflow: clip; }
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.icon-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 96px;
  gap: 9px;
  padding: 24px 7px 9px;
  border-radius: 12px;
  background: var(--surface);
  text-align: center;
}
.icon-card small { color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
.icon-art { display: block; width: 26px; height: 26px; }
.icon-art.mask { background: var(--icon-ink); mask: var(--icon-mask) center / contain no-repeat; }
.icon-art.mail-glyph { color: var(--icon-ink); font: 24px/1 'Mail UIcons'; }
.icon-card .floating-action { top: 5px; right: 5px; width: 28px; height: 28px; }
.icon-card .floating-action svg { width: 14px; height: 14px; }
.icon-card[hidden] { display: none; }
.icon-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 6px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--dim);
  font-size: .89rem;
  font-weight: 600;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.icon-toggle:hover { border-color: var(--accent); color: var(--muted); }
.icon-toggle-chevron { width: 7px; height: 7px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .25s var(--ease); }
.icon-toggle[aria-expanded="true"] .icon-toggle-chevron { transform: translateY(3px) rotate(225deg); }
@media (prefers-reduced-motion: reduce) {
  .icon-toggle, .icon-toggle-chevron, .icon-tabs button { transition: none; }
}
#icon-tables { --copy-glass: #ffffff26; --copy-glass-hover: #ffffff42; --glass-edge: #ffffff3b; --copy-ink: #EAECF0; }
[data-theme="light"] #icon-tables { --copy-glass: #0d10160a; --copy-glass-hover: #0d10161a; --glass-edge: #0d10161a; --copy-ink: #0D1016; }
@media (max-width: 410px) {
  .iconography-head h2 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .icon-tones { gap: 2px; }
  .icon-tones label { width: 27px; height: 32px; }
  .icon-tones label > span:first-of-type { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .icon-tones label > span:first-of-type { transition: none; }
}


.shell { width: min(92%, 1280px); }
.guide-layout { display: grid; grid-template-columns: 174px minmax(0, 1fr); column-gap: clamp(22px, 4vw, 54px); }
.guide-title { grid-column: 2; }
.guide-sidebar { grid-column: 1; grid-row: 2; position: sticky; top: 24px; z-index: 4; align-self: start; }
.guide-sidebar nav { display: grid; gap: 5px; }
.guide-sidebar a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  transition: background-color .28s var(--ease), color .28s var(--ease);
}
.guide-sidebar a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.guide-sidebar a[aria-current] { color: var(--text); background: var(--surface); }
.guide-content { grid-column: 2; grid-row: 2; min-width: 0; container-type: inline-size; }
.guide-content section > .section-head > h2 { scroll-margin-top: 68px; }
.type-panel h3 { font-size: clamp(2.3rem, 10cqw, 7rem); }
@media (max-width: 720px) {
  .guide-layout { display: block; }
  .guide-sidebar { top: 0; padding: 6px 0; background: var(--glass); backdrop-filter: blur(14px); }
  .guide-sidebar nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .guide-sidebar a { justify-content: center; padding-inline: 3px; font-size: clamp(.74rem, 3.2vw, .94rem); }
  .guide-content section > .section-head > h2 { scroll-margin-top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-sidebar a { transition: none; }
}

.guide-sidebar {
  padding: 7px;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  border-radius: 14px;
  background: var(--glass);
}
@media (max-width: 720px) {
  .guide-sidebar { padding: 5px; }
}

.demo-field { position: relative; border-radius: 14px; }
.demo-field input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  border-radius: inherit;
  background: var(--surface);
  color: var(--text);
  font: 500 1rem/1.5 var(--body);
  letter-spacing: .01em;
  transition: border-color 420ms var(--ease), box-shadow 520ms var(--ease);
}
.demo-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent);
}
@property --demo-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.demo-field::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--demo-angle), transparent 0deg 230deg, color-mix(in srgb, var(--accent) 25%, transparent) 280deg, var(--accent) 330deg, white 345deg, transparent 360deg);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms var(--ease);
  animation: demo-orbit 3.2s linear infinite paused;
}
.demo-field:focus-within::after { opacity: .9; animation-play-state: running; }
@keyframes demo-orbit { to { --demo-angle: 360deg; } }
.demo-mirror {
  display: none;
  position: absolute;
  inset: 1px 16px;
  align-items: center;
  overflow: hidden;
  white-space: pre;
  pointer-events: none;
  font: 500 1rem/1.5 var(--body);
  letter-spacing: .01em;
}
.demo-field.animated:not(.composing) .demo-mirror { display: flex; }
.demo-field.animated:not(.composing) input { color: transparent; caret-color: transparent; }
.demo-field.animated:not(.composing) input::selection { background: transparent; }
.demo-letter { flex: none; animation: demo-letter-in 340ms cubic-bezier(.22,.61,.36,1) both; }
.demo-letter[data-selected] { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.demo-cursor { width: 0; height: 20px; flex: none; position: relative; }
.demo-cursor::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 1.5px; background: var(--accent); animation: demo-blink 1.1s steps(1) infinite; }
@keyframes demo-letter-in { from { opacity: 0; transform: translateY(7px); filter: blur(4px); } }
@keyframes demo-blink { 50% { opacity: 0; } }
@media (max-width: 720px) {
  .guide-sidebar nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .guide-sidebar a { font-size: clamp(.63rem, 2.85vw, .94rem); }
}
@media (prefers-reduced-motion: reduce) {
  .demo-field::after, .demo-cursor::before, .demo-letter { animation: none; }
  .demo-field input, .demo-field::after { transition: none; }
}

.login-example { container-type: inline-size; }
.login-preview { --login-ease: cubic-bezier(.22, .61, .36, 1); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: 445px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.login-stage { display: flex; flex-direction: column; justify-content: space-between; margin: 9px 0 9px 9px; padding: 24px; border-radius: 14px; color: #C5C9DB; background: url('login-relevo.svg') center / cover no-repeat, #0B0C10; }
.login-stage span { font-size: .8rem; }
.login-side { display: grid; align-items: center; padding: clamp(22px, 4cqw, 42px); }
.login-form { width: min(100%, 340px); margin-inline: auto; }
.login-intro { margin-bottom: 23px; }
.login-intro h3 { font: 600 clamp(1.4rem, 4cqw, 1.85rem)/1.12 var(--display); letter-spacing: -.035em; }
.login-intro p { margin-top: 7px; color: var(--muted); }
.login-form label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.login-form .demo-field + label { margin-top: 15px; }
.has-toggle input { padding-right: 48px; }
.has-toggle .demo-mirror { right: 48px; }
.demo-dot { width: 7px; height: 7px; margin-inline: 3px; border-radius: 50%; background: var(--text); }
.login-eye { display: grid; place-items: center; position: absolute; inset: 7px 7px 7px auto; width: 36px; border-radius: 8px; color: var(--muted); }
.login-eye { transition: color 300ms var(--login-ease), background 300ms var(--login-ease); }
.login-eye:hover { color: var(--text); background: var(--elev); }
.login-eye svg { width: 20px; height: 20px; overflow: visible; transition: transform 200ms var(--login-ease); }
.login-eye:active svg { transform: scale(.9); }
.login-eye g {
  transform-box: view-box;
  transform-origin: 12px 12px;
  transition: transform 360ms var(--login-ease), opacity 260ms var(--login-ease);
}
.login-eye[aria-pressed="true"] .eye-open { transform: scaleY(1); opacity: 1; transition-delay: 120ms; }
.login-eye[aria-pressed="true"] .eye-closed { transform: scaleY(.2) translateY(-6px); opacity: 0; }
.login-eye[aria-pressed="false"] .eye-open { transform: scaleY(.08); opacity: 0; }
.login-eye[aria-pressed="false"] .eye-closed { transform: none; opacity: 1; transition-delay: 160ms; }
.login-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--text) 92%, var(--bg)), var(--text));
  color: var(--bg);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset,0 6px 18px rgba(0, 0, 0, 0.18);
  transition:
    transform 500ms var(--login-ease),
    box-shadow 700ms var(--login-ease),
    opacity 700ms var(--login-ease);
}
.login-submit svg { transition: transform 700ms var(--login-ease); }
.login-submit:hover:not(:disabled) {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset,0 10px 26px color-mix(in srgb, var(--accent) 20%, transparent);
  opacity: 0.94;
}
.login-submit:hover:not(:disabled) svg { transform: translateX(3px); }
.login-submit:active:not(:disabled) { transform: scale(0.992); transition-duration: 200ms; }
.login-submit:focus-visible { outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.login-submit:disabled { opacity: 0.75; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .login-eye, .login-eye svg, .login-eye g, .login-submit, .login-submit svg { transition: none; }
}
.login-feedback { margin-top: 10px; min-height: 1.3em; color: var(--muted); font-size: .82rem; }
/* A tela original usa a viewport. Aqui a régua é a largura da própria prévia. */
.login-preview {
  --login-unit: .069444cqw;
  --login-field-height: calc(50 * var(--login-unit));
  --login-inset: calc(16 * var(--login-unit));
  --login-eye-space: calc(48 * var(--login-unit));
  min-height: 0;
  aspect-ratio: 1440 / 900;
}
.login-stage {
  margin: calc(12 * var(--login-unit)) 0 calc(12 * var(--login-unit)) calc(12 * var(--login-unit));
  padding: calc(40 * var(--login-unit)) calc(44 * var(--login-unit));
  border-radius: calc(22 * var(--login-unit));
}
.login-stage-brand {
  display: flex;
  align-items: center;
  gap: calc(11 * var(--login-unit));
  color: #EAECF0;
  font: 600 calc(15 * var(--login-unit))/1.3 var(--display);
}
.login-stage-brand img { width: calc(36 * var(--login-unit)); height: auto; border-radius: calc(9 * var(--login-unit)); }
.login-stage > span { font-size: calc(12 * var(--login-unit)); letter-spacing: .08em; }
.login-side { padding: calc(32 * var(--login-unit)) calc(24 * var(--login-unit)); }
.login-form { width: min(100%, calc(380 * var(--login-unit))); }
.login-intro { margin-bottom: calc(28 * var(--login-unit)); }
.login-intro img {
  display: block;
  width: calc(52 * var(--login-unit));
  height: auto;
  border-radius: calc(13 * var(--login-unit));
  margin-bottom: calc(22 * var(--login-unit));
}
.login-intro h3 { font-size: calc(28 * var(--login-unit)); }
.login-intro p { margin-top: calc(8 * var(--login-unit)); font-size: calc(16 * var(--login-unit)); }
.login-form label { font-size: calc(14 * var(--login-unit)); margin-bottom: calc(8 * var(--login-unit)); }
.login-form .demo-field + label { margin-top: calc(18 * var(--login-unit)); }
.login-preview .demo-field, .login-submit { border-radius: calc(14 * var(--login-unit)); }
.login-preview .demo-field input {
  height: var(--login-field-height);
  padding-inline: var(--login-inset);
  font-size: calc(16 * var(--login-unit));
}
.login-preview .demo-mirror { inset-inline: var(--login-inset); font-size: calc(16 * var(--login-unit)); }
.login-preview .has-toggle input { padding-right: var(--login-eye-space); }
.login-preview .has-toggle .demo-mirror { right: var(--login-eye-space); }
.login-preview .demo-dot { width: calc(7 * var(--login-unit)); height: calc(7 * var(--login-unit)); margin-inline: calc(3.5 * var(--login-unit)); }
.login-preview .demo-cursor { height: calc(20 * var(--login-unit)); }
.login-eye { inset: calc(7 * var(--login-unit)) calc(7 * var(--login-unit)) calc(7 * var(--login-unit)) auto; width: calc(36 * var(--login-unit)); }
.login-eye svg { width: calc(20 * var(--login-unit)); height: calc(20 * var(--login-unit)); }
.login-submit { height: var(--login-field-height); margin-top: calc(28 * var(--login-unit)); font-size: calc(15 * var(--login-unit)); }
.login-submit svg { width: calc(16 * var(--login-unit)); height: calc(16 * var(--login-unit)); }
.login-feedback { margin-top: calc(12 * var(--login-unit)); font-size: calc(13 * var(--login-unit)); }

@container (max-width: 625px) {
  .login-preview { --login-unit: min(.25641cqw, 1px); grid-template-columns: minmax(0, 1fr); width: min(100%, 390px); margin-inline: auto; aspect-ratio: 390 / 844; }
  .login-stage { display: none; }
  .login-side {
    background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
  }
  .login-intro { text-align: center; }
  .login-intro img { margin-inline: auto; margin-bottom: calc(20 * var(--login-unit)); }
  .login-feedback { text-align: center; }
}

.icon-reference { margin: 0 0 12px; color: var(--muted); font-size: .85rem; }
.icon-reference a { text-decoration: underline; }

.icon-tab-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 16px; }
.icon-tab-toolbar .icon-tabs { margin-bottom: 0; min-width: 0; }
.icon-tab-license { margin-left: auto; text-align: right; flex: none; color: var(--muted); font-size: .85rem; text-decoration: underline; }
@media (max-width: 480px) {
  .icon-tab-toolbar .icon-tabs { gap: 1px; }
  .icon-tab-toolbar .icon-tabs button { padding-inline: 4px; font-size: clamp(.67rem, 2.65vw, .84rem); }
  .icon-tab-license { font-size: clamp(.62rem, 2.55vw, .8rem); }
}

.sidebar-demo { margin-top: 36px; }
.sidebar-demo > h3 { margin-bottom: 16px; font: 600 1.3rem/1.2 var(--display); }
.sidebar-scroll { border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.sidebar-preview { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-width: 680px; min-height: 405px; background: var(--bg); color: var(--text); }
.sidebar-menu { display: flex; flex-direction: column; gap: 4px; padding: 16px 10px; border-right: 1px solid var(--line); background: var(--surface); }
.sidebar-brand { display: block; width: 42px; height: auto; margin: 4px 10px 18px; }
.sidebar-item { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 42px; padding: 6px 10px; border-radius: 9px; text-align: left; color: var(--muted); font-size: .9rem; transition: background-color .25s var(--ease), color .25s var(--ease); }
.sidebar-item svg { flex: none; width: 16px; height: 16px; }
.sidebar-item:hover, .sidebar-item[aria-pressed="true"] { background: var(--elev); color: var(--text); }
.sidebar-item[aria-pressed="true"] { font-weight: 700; }
.sidebar-item:focus-visible { outline-offset: -2px; }
.sidebar-preview-content { padding: 24px; min-width: 0; }
.sidebar-selection { margin-bottom: 18px; font: 600 1.65rem/1.1 var(--display); letter-spacing: -.04em; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.dashboard-metrics > div, .dashboard-chart { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 14px; }
.dashboard-metrics dt { color: var(--muted); font-size: .83rem; }
.dashboard-metrics dd { margin: 2px 0 0; font: 600 1.6rem/1.1 var(--display); }
.dashboard-chart h4 { margin: 0; font: 600 1rem/1.2 var(--display); }
.dashboard-bars, .dashboard-days { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 10px; }
.dashboard-bars { height: 90px; align-items: end; }
.dashboard-bars span { width: 100%; height: var(--amount); border-radius: 5px 5px 0 0; background: var(--accent); opacity: .72; }
.dashboard-days { text-align: center; color: var(--muted); font-size: .73rem; }
@media (prefers-reduced-motion: reduce) { .sidebar-item { transition: none; } }
