/* Keep the example comparison as the page's primary content. */
.use-cases-page { font-family: var(--stirae-font-sans); -webkit-font-smoothing: antialiased; }
.use-cases-page [hidden] { display: none !important; }
.uc-container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.uc-skip { position: fixed; top: -80px; left: 20px; z-index: 100; background: white; padding: 14px 20px; border-radius: 6px; }
.uc-skip:focus { top: 16px; }
.use-cases-page :is(button, a, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--stirae-primary); outline-offset: 4px; }
.uc-sr-only, .uc-ready .uc-example-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.uc-intro { padding-top: 132px; padding-bottom: 42px; }
.uc-intro h1 { font-size: 40px; font-weight: 600; line-height: 1.15; letter-spacing: -.04em; }
.uc-intro > p { margin-top: 12px; color: var(--stirae-ink-muted); font-size: 16px; line-height: 1.6; }
.uc-explorer { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 38px; align-items: start; scroll-margin-top: 100px; }
.uc-sidebar { position: sticky; top: 100px; }
.uc-label { font-size: 13px; line-height: 1.5; color: var(--stirae-ink-muted); }
.uc-sidebar > .uc-label { padding-left: 12px; margin-bottom: 12px; }
.uc-roles { display: flex; flex-direction: column; gap: 4px; }
.uc-role { width: 100%; text-align: left; border-radius: 6px; padding: 12px; min-height: 44px; font-size: 14px; line-height: 1.45; color: var(--stirae-ink-muted); }
.uc-role:hover { color: var(--stirae-ink); background: rgba(7, 10, 31, .035); }
.uc-role[aria-pressed="true"] { color: var(--stirae-primary); background: rgba(107, 70, 246, .075); font-weight: 550; }
.uc-mobile-roles { display: none; }
.uc-workspace { min-width: 0; }
.uc-workflow-picker { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.uc-workflow-picker select, .uc-mobile-roles select { appearance: auto; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(7, 10, 31, .18); border-radius: 6px; background: white; color: var(--stirae-ink); font: inherit; font-size: 14px; }
.uc-workflow-picker select { width: min(100%, 420px); }
.uc-example-title { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.uc-comparison { display: grid; grid-template-columns: 1fr 1fr; background: white; }
.uc-spoken, .uc-result { padding: 24px; min-width: 0; }
.uc-spoken { background: rgba(7, 10, 31, .025); border-right: 1px solid rgba(7, 10, 31, .09); }
.uc-spoken h3, .uc-result h3 { margin-bottom: 20px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.uc-spoken h3 { color: var(--stirae-ink-muted); }
.uc-result h3 { color: var(--stirae-primary); }
#uc-spoken-text, .uc-result-text { font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
#uc-spoken-text { color: rgba(7, 10, 31, .7); }
.uc-result-text { color: var(--stirae-ink); }
.uc-result-text p + p, .uc-result-text p + ul, .uc-result-text ul + p, .uc-result-text ul + ul, .uc-result-text p + ol, .uc-result-text ol + p { margin-top: 16px; }
.uc-result-text ul { list-style: disc; padding-left: 18px; }
.uc-result-text ol { list-style: decimal; padding-left: 20px; }
.uc-result-text li + li { margin-top: 5px; }
.uc-result-text .uc-result-heading { font-weight: 600; }
.uc-result-text .uc-result-heading + ul { margin-top: 5px; }
.uc-style { margin-top: 20px; }
.uc-style summary { cursor: pointer; min-height: 44px; padding-block: 12px; font-size: 14px; line-height: 1.5; color: var(--stirae-primary); }
.uc-style summary::marker { font-size: 11px; }
.uc-style-action { text-decoration: underline; text-underline-offset: 3px; }
.uc-style-content { padding: 12px 0 16px; color: var(--stirae-ink-muted); font: 400 14px/1.7 system-ui, -apple-system, sans-serif; }
.uc-setup-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; border-bottom: 1px solid rgba(7, 10, 31, .12); }
.uc-setup-tabs [role="tab"] { display: flex; flex-direction: column; align-items: center; min-height: 64px; padding: 10px 8px; border-bottom: 2px solid transparent; border-radius: 5px 5px 0 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--stirae-ink-muted); }
.uc-setup-tabs [role="tab"]:hover { background: rgba(7, 10, 31, .035); }
.uc-setup-tabs [aria-selected="true"] { border-bottom-color: var(--stirae-primary); background: rgba(107, 70, 246, .065); color: var(--stirae-primary); }
.uc-tab-caption { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--stirae-ink-muted); }
.uc-setup-panel { padding-top: 16px; }
.uc-setup-panel > p { margin-bottom: 12px; }
.uc-setup-steps { list-style: decimal; padding-left: 20px; }
.uc-setup-steps li { padding-left: 4px; }
.uc-setup-steps li + li { margin-top: 8px; }
.uc-settings-path { color: var(--stirae-ink); font-weight: 500; }
.uc-style-copy-stage { container-type: inline-size; margin-bottom: 24px; }
.uc-style-copy-group { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; color: var(--stirae-ink); }
.uc-style-copy-identity { grid-area: 1 / 1; min-width: 0; }
.uc-style-copy-name { display: flex; flex-direction: column; gap: 2px; color: var(--stirae-ink); font-size: 18px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.uc-style-copy-name .uc-label { font-size: 12px; font-weight: 400; }
.uc-style-copy-group .uc-copy-instructions { grid-area: 1 / 2; display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 180px; min-height: 44px; padding: 10px 14px; border: 0; font: 600 13px/1.5 system-ui, -apple-system, sans-serif; }
.uc-copy-instructions svg, .uc-preview-toggle svg { width: 16px; height: 16px; flex: 0 0 auto; }
.uc-copy-hint { grid-area: 2 / 1 / auto / -1; margin: 12px 0 0; color: var(--stirae-ink-muted); }
.uc-style-actions { grid-area: 3 / 1 / auto / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 0 24px; margin-top: 4px; }
.uc-preview-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; font: 400 13px/1.7 system-ui, -apple-system, sans-serif; color: var(--stirae-primary); text-align: left; }
.uc-preview-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.uc-style-detail { grid-area: 4 / 1 / auto / -1; margin-top: 8px; padding-top: 16px; border-top: 1px solid #dfdde9; font-size: 13px; color: var(--stirae-ink-muted); }
.uc-instructions { white-space: pre-wrap; overflow-wrap: anywhere; }
.uc-add-style-steps { list-style: decimal; padding-left: 22px; }
.uc-add-style-steps li { padding-left: 4px; }
.uc-add-style-steps li + li { margin-top: 10px; }
@container (max-width: 440px) {
  .uc-style-copy-group { grid-template-columns: minmax(0, 1fr); }
  .uc-style-copy-identity { grid-area: 1 / 1; }
  .uc-style-copy-group .uc-copy-instructions { grid-area: 2 / 1; width: 100%; margin-top: 12px; }
  .uc-copy-hint { grid-area: 3 / 1; }
  .uc-style-actions { grid-area: 4 / 1; gap: 0 20px; }
  .uc-style-detail { grid-area: 5 / 1; }
}
.uc-button { min-height: 44px; padding: 10px 16px; border-radius: 6px; background: var(--stirae-ink); color: white; font-size: 13px; font-weight: 550; }
.uc-button:hover { background: var(--stirae-primary); }
.uc-text-button { min-height: 44px; padding-block: 10px; color: var(--stirae-ink-muted); font-size: 13px; }
.uc-text-button:hover { color: var(--stirae-primary); }
.uc-inline-link { display: inline-block; padding-block: 10px; color: var(--stirae-primary); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.uc-status { font-size: 13px; line-height: 1.5; color: var(--stirae-primary); }
.uc-status:not(:empty) { margin-top: 12px; }
.uc-copy-fallback { margin-top: 16px; }
.uc-copy-fallback label { font-size: 13px; }
.uc-copy-fallback textarea { display: block; width: 100%; margin: 8px 0; border: 1px solid rgba(7, 10, 31, .2); padding: 12px; border-radius: 6px; background: white; font-size: 13px; overflow-wrap: anywhere; }
.uc-no-script { font-size: 14px; margin-top: 16px; }
.uc-no-script a { text-decoration: underline; }
.uc-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(7, 10, 31, .09); margin-top: 56px; padding-block: 24px; }
.uc-footer img { height: auto; }
.uc-footer > div { display: flex; gap: 22px; }
.uc-footer > div a { display: inline-block; font-size: 12px; padding-block: 10px; color: var(--stirae-ink-muted); }
.uc-footer a:hover { color: var(--stirae-primary); }
.uc-explorer:not(.uc-ready) { display: block; max-width: 960px; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .use-cases-page .site-nav__links { gap: 20px; }
  .use-cases-page .site-nav__inner { column-gap: 28px; }
}
@media (max-width: 1199px) {
  .uc-container { width: calc(100% - 64px); }
  .uc-intro { padding-top: 56px; }
  .uc-explorer { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .uc-spoken, .uc-result { padding: 22px; }
}
@media (max-width: 959px) {
  .uc-explorer { display: block; }
  .uc-sidebar { position: static; margin-bottom: 16px; }
  .uc-sidebar > .uc-label, .uc-roles { display: none; }
  .uc-mobile-roles { display: flex; align-items: center; gap: 16px; }
  .uc-mobile-roles .uc-label, .uc-workflow-picker .uc-label { flex: 0 0 60px; }
  .uc-mobile-roles select, .uc-workflow-picker select { flex: 1; width: 100%; }
}
@media (max-width: 639px) {
  .uc-container { width: calc(100% - 40px); }
  .uc-intro { padding-top: 36px; padding-bottom: 28px; }
  .uc-intro h1 { font-size: 32px; }
  .uc-intro > p { font-size: 15px; margin-top: 10px; }
  .uc-workflow-picker { margin-bottom: 22px; }
  .uc-mobile-roles, .uc-workflow-picker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .uc-comparison { grid-template-columns: 1fr; }
  .uc-spoken { border-right: 0; border-bottom: 1px solid rgba(7, 10, 31, .09); }
  .uc-spoken, .uc-result { padding: 20px; }
  #uc-spoken-text, .uc-result-text { font-size: 14px; line-height: 1.8; }
  .uc-footer { gap: 20px; flex-wrap: wrap; margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .use-cases-page *, .use-cases-page *::before, .use-cases-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
