.aw [hidden] { display: none !important; }
.aw-hero { padding: clamp(6.5rem, 8vw, 8rem) 0 3rem; }
.aw-hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.aw-hero .page-title { max-width: 13ch; font-size: clamp(2.6rem, 5.3vw, 5.7rem); }
.aw-hero .page-lede { max-width: 46ch; margin-top: 1.5rem; }
.aw-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; align-items: center; }
.aw .btn { min-height: 48px; white-space: normal; text-align: center; }
.aw-intro { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 28px; background: #222331; color: #f8f5f2; box-shadow: var(--shadow-float); }
.aw-intro .eyebrow { color: #8dece2; }
.aw-intro ol { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.2rem; }
.aw-intro li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; }
.aw-intro b { font-family: var(--font-display); color: #d0b9ff; }
.aw-intro span, .aw-intro > p:last-child { color: #dedbe5; line-height: 1.6; font-size: .94rem; }
.aw-intro > p:last-child { border-top: 1px solid #5a5868; padding-top: 1.25rem; }
.aw-library, .aw-next { padding-bottom: clamp(3rem, 6vw, 6rem); scroll-margin-top: 7rem; }
.aw-library__head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin: 1rem 0 2rem; }
.aw-library__head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.aw-pack { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding: .75rem 0; }
.aw-filters { display: grid; grid-template-columns: minmax(220px, .75fr) 1.25fr; gap: 1.5rem; padding: 1.5rem; border: 1px solid var(--glass-pearl-edge); background: var(--glass-reading-bg); border-radius: 24px; }
.aw-filters label, .aw-filters legend, .aw-editor-label, .aw-evaluation label { font-weight: 600; font-size: .85rem; }
.aw-filters input { display: block; width: 100%; min-height: 48px; margin-top: .5rem; padding: .75rem 1rem; border: 1px solid #94909e; border-radius: 12px; background: #fffdfa; color: var(--ink-primary); font: inherit; }
.aw-filters fieldset { border: 0; padding: 0; min-width: 0; }
.aw-filters fieldset > div { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.aw-filters button { min-height: 48px; padding: .65rem 1rem; border-radius: 999px; border: 1px solid #b7b2c0; background: transparent; color: var(--ink-primary); font: inherit; font-size: .85rem; cursor: pointer; }
.aw-filters button[aria-pressed=true] { background: #44346c; border-color: #44346c; color: #fff; }
.aw-status { margin: 1rem 0; color: var(--ink-secondary); min-height: 1.6em; }
.aw-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.5rem; align-items: start; }
.aw-grid { list-style: none; display: grid; gap: 1rem; padding: 0; margin: 0; }
.aw-card { padding: clamp(1.2rem, 2.5vw, 2rem); border: 1px solid #fff; border-radius: 24px; background: #f9f5f3db; box-shadow: 0 6px 16px #3737470a; }
.aw-card:has([aria-current=true]) { box-shadow: inset 4px 0 #7657f6, 0 6px 16px #3737470a; background: #f4edff; }
.aw-card .eyebrow { font-size: .7rem; color: #574078; margin-bottom: .85rem; }
.aw-card .eyebrow span { color: #625b6b; letter-spacing: .02em; }
.aw-card h3 { font: 700 clamp(1.3rem, 2vw, 1.75rem)/1.15 var(--font-display); letter-spacing: -.025em; margin-bottom: .75rem; }
.aw-card h3 a { display: flex; justify-content: space-between; gap: 1rem; }
.aw-card h3 a span { flex-shrink: 0; }
.aw-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.aw-card > p:not(.eyebrow) { line-height: 1.65; color: #514b5c; }
.aw-tags { display: flex; gap: .4rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 1rem 0; }
.aw-tags li { font-size: .73rem; background: #e5ebe9; color: #344d4d; padding: .3rem .65rem; border-radius: 6px; }
.aw-card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; border-top: 1px solid #d8d2dc; padding-top: .75rem; font-size: .78rem; font-weight: 600; }
.aw-card__foot a { padding: .55rem 0; text-decoration: underline; text-underline-offset: 4px; }
.aw-workbench { padding: clamp(1.3rem, 2.5vw, 2rem); border: 1px solid #b9b1cd; border-radius: 28px; background: #f8f7fc; box-shadow: var(--shadow-parent); scroll-margin-top: 7rem; }
.aw-workbench h2 { font: 800 clamp(1.6rem, 2.6vw, 2.5rem)/1.1 var(--font-display); letter-spacing: -.035em; margin: .7rem 0 1rem; }
.aw-evidence { font-size: .9rem; line-height: 1.65; color: #5c536a; }
.aw-source { display: inline-block; padding: .85rem 0; font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.aw-editor-label { display: block; margin: 1rem 0 .65rem; }
.aw-editor { display: block; width: 100%; min-height: 370px; max-height: 720px; resize: vertical; border: 1px solid #a7a0b9; border-radius: 14px; padding: 1rem; background: #fffdff; color: #262030; font: .86rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 2; }
.aw-note { font-size: .79rem; line-height: 1.6; color: #60596f; margin-top: .7rem; }
.aw-evaluation { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #c6c0d1; }
.aw-evaluation h3 { font-family: var(--font-display); font-size: 1.25rem; }
.aw-evaluation > p { font-size: .9rem; line-height: 1.6; margin: .65rem 0 1rem; }
.aw-editor--fixture { min-height: 260px; margin-top: .65rem; }
.aw-text-button, .aw-tools button { background: none; border: 0; color: #51406f; font: 600 .85rem var(--font-body); text-decoration: underline; text-underline-offset: 4px; padding: .8rem .3rem; min-height: 44px; cursor: pointer; }
.aw-tools { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .65rem; }
.aw-verdict { font-weight: 700; border-radius: 8px; padding: .75rem; margin-top: 1rem; }
.aw-verdict--pass { background: #d7efe3; color: #24513b; }
.aw-verdict--fail { background: #f5dadd; color: #792c3e; }
.aw-checks { list-style: none; margin: .75rem 0; padding: 0; }
.aw-checks li { padding: .65rem 0; border-bottom: 1px solid #ded8e5; font-size: .82rem; overflow-wrap: anywhere; }
.aw-checks strong, .aw-checks span { display: block; }
.aw-checks span { margin-top: .3rem; line-height: 1.6; }
.aw-empty { padding: 2rem; background: var(--glass-reading-bg); border-radius: 24px; }
.aw-next .section-title { max-width: 18ch; }
.aw-next .stage > p:not(.eyebrow) { max-width: 55ch; margin-top: 1rem; line-height: 1.7; }
.aw :is(a, button, input, textarea):focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
@media (max-width: 1000px) { .aw-hero__inner { grid-template-columns: 1fr; } .aw-intro ol { grid-template-columns: repeat(3, 1fr); } .aw-intro li { grid-template-columns: 1fr; gap: .5rem; } .aw-filters { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .aw-layout { grid-template-columns: 1fr; } .aw-workbench { grid-row: 1; } .aw-library__head { display: block; } .aw-pack { display: inline-block; margin-top: 1rem; } .aw-intro ol { grid-template-columns: 1fr; } .aw-intro li { grid-template-columns: 4.5rem 1fr; } .aw .aw-editor { font-size: 16px; } .aw-export .btn { flex: 1 1 150px; } }
@media (prefers-reduced-motion: reduce) { .aw * { scroll-behavior: auto !important; } }

.aw-mobile-back { display: none; }
@media (max-width:760px) {
  .aw-mobile-back { display: inline-block; margin-bottom: 1rem; }
  .aw-layout:not(.is-editing) .aw-workbench { display: none; }
  .aw-layout.is-editing > div { display: none; }
}
