.tool-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.tool-breadcrumb a {
  text-decoration: none;
}

.tool-breadcrumb a:hover {
  color: var(--primary);
}

.tool-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 40px;
}

.tool-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.tool-hero h1 {
  max-width: 900px;
  margin: 18px auto 18px;
  font-size: clamp(3.25rem,7vw,6.5rem);
}

.tool-hero-lead {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem,2vw,1.2rem);
}

.tool-hero .eyebrow {
  margin-inline: auto;
}

.hero-proof {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 18px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-proof li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

.tool-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.glow-one {
  width: 390px;
  height: 390px;
  left: -120px;
  top: -160px;
  background: radial-gradient(circle,color-mix(in srgb,#ffb9dd 38%,transparent),transparent 68%);
}

.glow-two {
  width: 420px;
  height: 420px;
  right: -130px;
  bottom: -230px;
  background: radial-gradient(circle,color-mix(in srgb,#c7b5ff 34%,transparent),transparent 68%);
}

.generator-section {
  padding: 8px 0 76px;
}

.generator-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.generator-input-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg,color-mix(in srgb,var(--surface) 94%,#ffd9ea),var(--surface));
}

.input-main label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 850;
}

.generator-textarea-wrap {
  position: relative;
}

.generator-textarea-wrap textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  padding: 16px 66px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
  outline: none;
  transition: border-color .18s ease,box-shadow .18s ease;
}

.generator-textarea-wrap textarea:focus {
  border-color: color-mix(in srgb,var(--primary) 48%,var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb,var(--primary) 10%,transparent);
}

.mini-action {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.input-stats {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 5px;
}

.privacy-note span {
  color: var(--success);
  font-size: 12px;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-button {
  min-width: 126px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.quick-button:hover {
  border-color: color-mix(in srgb,var(--primary) 35%,var(--line));
}

.generator-controls {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--line);
}

.search-control {
  position: relative;
  max-width: 520px;
  margin-bottom: 14px;
}

.search-control svg {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-control input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg);
  color: var(--text);
  outline: none;
}

.search-control input:focus {
  border-color: color-mix(in srgb,var(--primary) 45%,var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--primary) 9%,transparent);
}

.filter-scroll {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 2px 1px 5px;
  scrollbar-width: thin;
}

.filter-chip {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.filter-chip:hover,.filter-chip.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 22px;
  color: var(--muted);
  font-size: 12px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--line);
}

.results-summary strong {
  color: var(--text);
}

.legend {
  display: flex;
  gap: 15px;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.support-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.support-high {
  background: var(--success);
}

.support-varies {
  background: #df9b3d;
}

.style-results {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0;
}

.style-card-tool {
  position: relative;
  min-width: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.style-card-tool:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.style-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.style-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.style-name {
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.style-category {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.style-actions {
  display: flex;
  gap: 6px;
}

.favorite-button,.copy-style-button {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.favorite-button {
  width: 34px;
  font-size: 15px;
  color: var(--muted);
}

.favorite-button.active {
  color: #c64886;
  background: color-mix(in srgb,#ffd9eb 52%,var(--surface));
}

.copy-style-button {
  padding: 0 10px;
}

.style-output {
  min-height: 42px;
  padding-right: 3px;
  font-size: clamp(17px,2vw,21px);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.support-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.empty-state {
  padding: 50px 20px;
  text-align: center;
}

.empty-state strong,.empty-state span {
  display: block;
}

.empty-state span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.decorator-section {
  border-block: 1px solid var(--line);
  background: var(--surface-3);
}

.decorator-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.decorator-copy h2,.main-copy h2 {
  margin: 0;
  font-size: clamp(2.3rem,4.5vw,3.8rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.decorator-copy>p:not(.kicker) {
  color: var(--muted);
}

.decorator-tip {
  margin-top: 22px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.decorator-tip strong {
  color: var(--text);
}

.composer-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.composer-field+.composer-field {
  margin-top: 20px;
}

.composer-field>span,.composer-preview>span {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-pill {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.option-pill.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.composer-preview {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.composer-preview output {
  display: block;
  min-height: 76px;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface-2);
  font-size: clamp(19px,3vw,28px);
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
}

.platform-band {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.platform-band .kicker {
  margin-bottom: 14px;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 9px;
}

.platform-cards article {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}

.platform-cards strong,.platform-cards span {
  display: block;
}

.platform-cards strong {
  font-size: 12px;
}

.platform-cards span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.explainer-section {
  background: var(--surface);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.38fr .62fr;
  gap: 70px;
  align-items: start;
}

.main-copy>p {
  color: var(--muted);
  font-size: 15px;
}

.main-copy h3 {
  margin: 38px 0 10px;
  font-size: 20px;
  letter-spacing: -.025em;
}

.number-steps {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.number-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--bg);
}

.number-steps li>span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.number-steps strong {
  font-size: 13px;
}

.number-steps p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.fact-stack {
  display: grid;
  gap: 10px;
}

.fact-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-3);
}

.fact-card>span {
  display: block;
  margin-bottom: 25px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.fact-card strong {
  font-size: 15px;
}

.fact-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.style-guide-section {
  border-block: 1px solid var(--line);
  background: var(--surface-3);
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}

.guide-cards article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.guide-example {
  display: block;
  min-height: 48px;
  margin-bottom: 25px;
  color: var(--primary);
  font-size: 22px;
  overflow-wrap: anywhere;
}

.guide-cards h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.guide-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.tool-faq {
  background: var(--bg);
}

.tool-note {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.tool-note-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width:980px) {
  .platform-cards {
    grid-template-columns: repeat(3,1fr);
  }
  .decorator-grid,.content-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .fact-stack {
    grid-template-columns: repeat(3,1fr);
  }
  .guide-cards {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:700px) {
  .tool-breadcrumb {
    padding-top: 15px;
    overflow: auto;
    white-space: nowrap;
  }
  .tool-hero {
    padding: 36px 0 28px;
  }
  .tool-hero h1 {
    font-size: clamp(2.8rem,14vw,4.5rem);
  }
  .generator-section {
    padding-bottom: 54px;
  }
  .generator-shell {
    border-radius: 20px;
  }
  .generator-input-bar {
    position: sticky;
    top: var(--header-height);
    z-index: 12;
    grid-template-columns: 1fr;
    padding: 15px;
    background: color-mix(in srgb,var(--surface) 94%,transparent);
    backdrop-filter: blur(18px);
  }
  .generator-textarea-wrap textarea {
    min-height: 76px;
    font-size: 16px;
  }
  .quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .quick-button {
    min-width: 0;
  }
  .generator-controls {
    padding: 14px 15px 10px;
  }
  .search-control {
    max-width: none;
  }
  .results-summary {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 15px;
  }
  .style-results {
    grid-template-columns: 1fr;
  }
  .style-card-tool,.style-card-tool:nth-child(odd) {
    border-right: 0;
  }
  .style-card-tool {
    padding: 17px 15px;
  }
  .style-output {
    font-size: 18px;
  }
  .decorator-section {
    padding-top: 58px;
  }
  .composer-card {
    padding: 18px;
  }
  .platform-cards {
    grid-template-columns: repeat(2,1fr);
  }
  .fact-stack {
    grid-template-columns: 1fr;
  }
  .guide-cards {
    grid-template-columns: 1fr;
  }
  .tool-note-inner {
    flex-direction: column;
    gap: 3px;
  }
  .legend {
    flex-wrap: wrap;
  }
  .input-stats {
    font-size: 12px;
  }
}

@media (max-width:430px) {
  .platform-cards {
    grid-template-columns: 1fr;
  }
  .style-meta {
    max-width: 62%;
  }
  .style-category {
    display: none;
  }
  .composer-preview .button {
    width: 100%;
  }
}
