/* annespalter.art, the .ART Award entry (plan 017).
   Loaded after design-system.css and instead of site.css. Same contract as
   site.css: colors and type sizes are tokens (the --award-* and
   --type-award-* block in design-system.css), never literals here.

   One bold element: the cycle stage, sticky beside the four acts, playing
   the act being read, colored by the work's own act colors. Everything else
   is a quiet catalogue page set in Newsreader, with DM Sans for labels and
   metadata. Squares, never circles, wherever a marker is needed: the work
   is made of boxels.

   One grid: 12 columns. Headings and intros sit in the left rail (columns
   1-4); every piece of content starts at column 5, so the page has a single
   text edge. Base resets use :where() so they never outrank a component. */

.award {
  --aw-gutter: clamp(20px, 4.4vw, 72px);
  --aw-header-h: 64px;
  --aw-section-y: clamp(80px, 9vw, 144px);
  --aw-block-y: clamp(56px, 7vw, 104px);
  --aw-cols: repeat(12, minmax(0, 1fr));
  --aw-col-gap: 24px;
  --aw-ease: cubic-bezier(.22, .61, .36, 1);

  margin: 0;
  background: var(--sky);
  color: var(--award-ink);
  font-family: var(--font-serif);
  font-size: var(--type-award-prose);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(.award) *, :where(.award) *::before, :where(.award) *::after { box-sizing: border-box; }
:where(.award) :where(img, video, picture) { display: block; max-width: 100%; height: auto; }
:where(.award) a { color: var(--link-on-sky); text-decoration-thickness: 1px; text-underline-offset: .2em; }
:where(.award) a:hover { color: var(--award-ink); }
:where(.award) :focus-visible { outline: 2px solid var(--award-act-repair); outline-offset: 3px; }
:where(.award) :where(h1, h2, h3, h4) { margin: 0; font-family: var(--font-serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
:where(.award) :where(p, figure, blockquote, ul, ol, dl) { margin: 0; }
:where(.award) em { font-style: italic; }

.aw-skip { position: absolute; left: var(--aw-gutter); top: -60px; z-index: 30; padding: 10px 14px; background: var(--award-ink); color: var(--sky); font-family: var(--font-sans); font-size: var(--type-award-ui); }
.aw-skip:focus { top: 10px; }

/* Header: a quiet band above the work, never over it. */
.aw-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--aw-header-h); padding: 0 var(--aw-gutter);
  background: var(--award-header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--award-line);
}
.aw-header__brand { flex: none; }
.aw-header__brand img { width: 40px; height: 40px; }
.aw-nav { display: flex; gap: clamp(14px, 2.2vw, 32px); min-width: 0; overflow-x: auto; scrollbar-width: none; font-family: var(--font-sans); font-size: var(--type-award-ui); }
.aw-nav::-webkit-scrollbar { display: none; }
.aw-nav a { flex: none; padding: 8px 0; color: var(--award-muted); text-decoration: none; border-bottom: 1px solid transparent; }
.aw-nav a:hover, .aw-nav a[aria-current="true"] { color: var(--award-ink); border-bottom-color: var(--award-ink); }

/* Draft banner and placeholder chips: a review aid, shown only while
   the dated build-out marker in data/award/ has not expired. */
.aw-draft { padding: 10px var(--aw-gutter); background: var(--award-draft-bg); color: var(--award-draft-ink); border-bottom: 1px dashed var(--award-draft-ink); font-family: var(--font-sans); font-size: var(--type-award-small); }
.aw-draft summary { cursor: pointer; }
.aw-draft ul { margin: 8px 0 4px; padding-left: 1.2em; columns: 2 320px; column-gap: 40px; }
.ph { padding: 0 .35em; background: var(--award-draft-bg); color: var(--award-draft-ink); border: 1px dashed var(--award-draft-ink); border-radius: 2px; font-family: var(--font-sans); font-size: var(--type-award-small); font-style: normal; }
.ph-media { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 24px; background: var(--award-draft-bg); border: 1px dashed var(--award-draft-ink); text-align: center; }

/* Hero: the work fills the screen, and the wall label sits on it, centered,
   with the way into the live work as the one thing to do. */
.aw-hero { position: relative; isolation: isolate; display: grid; min-height: max(560px, calc(100svh - var(--aw-header-h))); background: var(--award-sky-raised); }
.aw-hero__image, .aw-hero__label { grid-area: 1 / 1; }
.aw-hero__image { display: block; min-height: 0; }
.aw-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.aw-hero::after { content: ""; grid-area: 1 / 1; z-index: 2; background: var(--award-hero-scrim); pointer-events: none; }
.aw-assemble { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; pointer-events: none; }
/* award.js hides the hero until its boxel canvas is in place. If the script
   stalls, the hero shows anyway after 2.5 s. */
.aw-assembling .aw-hero__image { visibility: hidden; animation: aw-show 0s linear 2.5s forwards; }
@keyframes aw-show { to { visibility: visible; } }

/* Wall label: the museum convention of artist, then title and date, then
   medium; here it is set large over the work. */
.aw-hero__label { z-index: 3; align-self: end; justify-self: center; display: flex; flex-direction: column; align-items: center; max-width: 100%; padding: 0 var(--aw-gutter) clamp(40px, 9vh, 104px); text-align: center; }
.aw-label__artist { font-family: var(--font-sans); font-size: var(--type-award-ui); font-weight: 600; letter-spacing: .02em; }
.aw-label__title { margin-top: 6px; font-size: var(--type-award-display); font-weight: 400; line-height: .96; letter-spacing: -.025em; text-wrap: balance; text-shadow: var(--award-hero-text-shadow); }
.aw-label__medium { margin-top: 14px; color: var(--award-ink); font-family: var(--font-sans); font-size: var(--type-award-ui); }
.aw-label__cue { margin-top: 16px; color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-small); }

.aw-button { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; background: var(--award-ink); border-radius: 2px; font-family: var(--font-sans); font-size: var(--type-award-ui); font-weight: 600; text-decoration: none; transition: background-color .25s var(--aw-ease), box-shadow .25s var(--aw-ease); }
.aw-button, .aw-button:hover { color: var(--sky); }
.aw-button:hover { background: var(--award-act-rupture); }
.aw-button--enter { gap: 14px; min-height: 68px; margin-top: clamp(28px, 5vh, 48px); padding: 0 44px; font-size: var(--type-award-cta); box-shadow: var(--award-enter-glow); }
.aw-button--enter:hover { box-shadow: var(--award-enter-glow-hover); }
.aw-button--enter:focus-visible { outline: 2px solid var(--award-act-return); outline-offset: 4px; }
.aw-quiet-link { color: var(--award-ink); font-family: var(--font-sans); font-size: var(--type-award-ui); text-decoration-color: var(--award-line-strong); }

/* The opening statement, under the hero, across the grid. */
.aw-intro { display: grid; grid-template-columns: var(--aw-cols); column-gap: var(--aw-col-gap); align-items: start; padding: clamp(56px, 9vh, 104px) var(--aw-gutter) 0; }
.aw-intro__lede { grid-column: 1 / span 7; color: var(--award-ink); font-size: var(--type-award-statement); line-height: 1.16; letter-spacing: -.012em; text-wrap: pretty; }
.aw-intro__side { grid-column: 9 / span 4; display: grid; gap: 22px; justify-items: start; padding-top: .35em; }
.aw-intro__frame { color: var(--award-muted); font-size: var(--type-award-prose); line-height: 1.55; }

/* Sections share one rhythm and the one grid. */
.aw-section { padding: var(--aw-section-y) var(--aw-gutter) 0; scroll-margin-top: var(--aw-header-h); }
.aw-section__head { display: grid; grid-template-columns: var(--aw-cols); column-gap: var(--aw-col-gap); row-gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); }
.aw-section__head h2 { grid-column: 1 / -1; margin-bottom: clamp(8px, 1.5vw, 24px); font-size: var(--type-award-h2); font-style: italic; line-height: .95; letter-spacing: -.025em; text-wrap: balance; }
.aw-section__head p { grid-column: 5 / span 7; max-width: 62ch; color: var(--award-muted); }
.award h3 { font-size: var(--type-award-h3); }

/* One cycle. Without JS every act carries its own image. With award.js
   (.is-live) the sticky stage shows the act being read, playing its silent
   loop, and the bar under it is the cycle drawn to scale. */
.aw-cycle__acts { padding: 0; list-style: none; }
.aw-cycle__stage { display: none; }
.aw-act { padding-bottom: clamp(48px, 6vw, 80px); }
.aw-act__image { margin-bottom: 18px; }
.aw-act__time { display: flex; align-items: center; gap: 10px; color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-ui); font-variant-numeric: tabular-nums; }
.aw-act__time::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--aw-act-color); }
.aw-act--old { --aw-act-color: var(--award-act-old); }
.aw-act--rupture { --aw-act-color: var(--award-act-rupture); }
.aw-act--repair { --aw-act-color: var(--award-act-repair); }
.aw-act--return { --aw-act-color: var(--award-act-return); }
.aw-act h3 { margin-top: 12px; font-size: var(--type-award-h3); font-style: italic; letter-spacing: -.015em; }
.aw-act__text { margin-top: 12px; max-width: 42ch; }
.aw-act__making { margin-top: 16px; max-width: 46ch; padding-left: 14px; border-left: 1px solid var(--aw-act-color); color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-ui); line-height: 1.55; }

.aw-cycle.is-live { display: grid; grid-template-columns: var(--aw-cols); column-gap: var(--aw-col-gap); }
.aw-cycle.is-live .aw-cycle__acts { grid-column: 1 / span 4; grid-row: 1; }
.aw-cycle.is-live .aw-cycle__stage { display: block; grid-column: 5 / span 8; grid-row: 1; align-self: start; position: sticky; top: calc(var(--aw-header-h) + 6vh); }
.aw-cycle.is-live .aw-act__image { display: none; }
.aw-cycle.is-live .aw-act { min-height: 66vh; padding: 12vh 0 0; opacity: .34; transition: opacity .5s var(--aw-ease); }
.aw-cycle.is-live .aw-act:first-child { padding-top: 0; }
.aw-cycle.is-live[data-act="old"] .aw-act--old,
.aw-cycle.is-live[data-act="rupture"] .aw-act--rupture,
.aw-cycle.is-live[data-act="repair"] .aw-act--repair,
.aw-cycle.is-live[data-act="return"] .aw-act--return { opacity: 1; }

.aw-cycle__frames { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--award-sky-raised); }
.aw-cycle__frame, .aw-cycle__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--aw-ease); }
.aw-cycle[data-act="old"] .aw-cycle__frame--old,
.aw-cycle[data-act="rupture"] .aw-cycle__frame--rupture,
.aw-cycle[data-act="repair"] .aw-cycle__frame--repair,
.aw-cycle[data-act="return"] .aw-cycle__frame--return,
.aw-cycle[data-act="old"] .aw-cycle__loop--old.is-playing,
.aw-cycle[data-act="rupture"] .aw-cycle__loop--rupture.is-playing,
.aw-cycle[data-act="repair"] .aw-cycle__loop--repair.is-playing,
.aw-cycle[data-act="return"] .aw-cycle__loop--return.is-playing { opacity: 1; }
/* 0:30 / 0:23 / 0:52 / 0:27 of 2:12, the act boundaries of worldCycleAt(). */
.aw-cycle__bar { position: relative; display: grid; grid-template-columns: 30fr 23fr 52fr 27fr; gap: 3px; margin-top: 14px; padding-bottom: 26px; color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-small); font-variant-numeric: tabular-nums; }
.aw-cycle__seg { position: relative; height: 4px; background: var(--award-line); transition: background-color .6s var(--aw-ease); }
.aw-cycle__seg-time { position: absolute; left: 0; top: 10px; }
.aw-cycle__seg-end { position: absolute; right: 0; top: 10px; }
.aw-cycle[data-act="old"] .aw-cycle__seg--old { background: var(--award-act-old); }
.aw-cycle[data-act="rupture"] .aw-cycle__seg--rupture { background: var(--award-act-rupture); }
.aw-cycle[data-act="repair"] .aw-cycle__seg--repair { background: var(--award-act-repair); }
.aw-cycle[data-act="return"] .aw-cycle__seg--return { background: var(--award-act-return); }

.aw-video { margin-top: var(--aw-block-y); }
.aw-video video { width: 100%; aspect-ratio: 16 / 9; background: var(--award-sky-raised); }
/* Anne's closing lines for the cycle: her prose, then the refrain. */
.aw-coda { display: grid; grid-template-columns: var(--aw-cols); column-gap: var(--aw-col-gap); margin-top: var(--aw-block-y); }
.aw-coda p { grid-column: 5 / span 7; max-width: 46ch; color: var(--award-muted); }
.aw-coda p + p { grid-column: 1 / -1; justify-self: center; max-width: none; margin-top: clamp(56px, 9vw, 128px); color: var(--award-ink); font-size: var(--type-award-refrain); font-style: italic; line-height: 1; letter-spacing: -.025em; text-align: center; text-wrap: balance; }
.aw-coda p + p + p { margin-top: .12em; }
.aw-coda p:last-child { color: var(--award-act-return); }
.award figcaption { margin-top: 12px; max-width: 72ch; color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-small); line-height: 1.55; }

/* Story: the artist on camera, then her text, both on the content edge. */
.aw-story__body { display: grid; grid-template-columns: var(--aw-cols); column-gap: var(--aw-col-gap); row-gap: clamp(36px, 4vw, 56px); }
.aw-story__body .aw-prose { grid-column: 5 / span 7; }
.aw-prose p { max-width: 62ch; margin-bottom: 1.1em; }
.aw-prose p:last-child { margin-bottom: 0; }
.aw-signature { color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-ui); }

/* How it was made: each block has its title in the rail, kept in view while
   its content scrolls past. */
.aw-making__block { display: grid; grid-template-columns: var(--aw-cols); column-gap: var(--aw-col-gap); row-gap: 28px; padding-bottom: var(--aw-block-y); }
.aw-making__block + .aw-making__block { padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--award-line); }
.aw-making__intro { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--aw-header-h) + 32px); }
.aw-making__intro h3 { font-size: var(--type-award-h3); font-style: italic; letter-spacing: -.015em; }
.aw-making__intro p { margin-top: 12px; max-width: 40ch; color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-ui); line-height: 1.55; }
.aw-timeline, .aw-ancestors, .aw-making__content { grid-column: 5 / span 8; }
.aw-making__content > p { max-width: 62ch; }

.aw-timeline { padding: 0; list-style: none; }
.aw-step { position: relative; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 20px; padding: 0 0 22px 24px; }
.aw-step::before { content: ""; position: absolute; left: 0; top: calc(var(--type-award-numeral) / 2 - 4px); width: 8px; height: 8px; background: var(--award-ink); }
.aw-step::after { content: ""; position: absolute; left: 3.5px; top: calc(var(--type-award-numeral) / 2 + 10px); bottom: 4px; width: 1px; background: var(--award-line); }
.aw-step:last-child { padding-bottom: 0; }
.aw-step:last-child::before { background: var(--award-act-return); }
.aw-step:last-child::after { display: none; }
.aw-step--voice::before { background: var(--award-act-old); }
.aw-step--image { padding-bottom: 36px; }
.aw-step__when { margin-top: 0; color: var(--award-muted); font-family: var(--font-serif); font-size: var(--type-award-numeral); font-style: italic; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.aw-step__body p { max-width: 58ch; }
.aw-step__figure { margin-top: 14px; max-width: 560px; }
.aw-step__figure--2 { max-width: none; }
.aw-step__images { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.aw-step__label { margin-top: 8px; color: var(--award-ink); font-family: var(--font-sans); font-size: var(--type-award-small); }

.aw-ancestors { display: grid; gap: clamp(48px, 6vw, 80px); }
.aw-ancestor { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); column-gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.aw-ancestor__text { max-width: 52ch; }
.aw-ancestor__echoes { display: grid; gap: 20px; margin-top: 22px; }
.aw-ancestor__note { margin-top: 14px; color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-small); }

.aw-controls { max-width: 62ch; }
.aw-controls div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--award-line); }
.aw-controls div:first-child { border-top: 1px solid var(--award-line); }
.aw-controls dt { font-family: var(--font-sans); font-size: var(--type-award-ui); }
.aw-controls dd { margin: 0; color: var(--award-muted); }
.aw-agency > p { margin-top: 18px; }

/* Artist: portrait in the rail, text on the content edge, then the earlier
   work as evidence of the practice. */
.aw-artist__grid { display: grid; grid-template-columns: var(--aw-cols); column-gap: var(--aw-col-gap); row-gap: 32px; }
.aw-artist__portrait { grid-column: 1 / span 4; width: 100%; max-width: 360px; }
.aw-artist__grid .aw-prose { grid-column: 5 / span 7; }
.aw-artist__featured { margin-top: 30px; }
.aw-artist__featured img { width: 100%; height: auto; }
.aw-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; padding: 0; list-style: none; font-family: var(--font-sans); font-size: var(--type-award-ui); }

.aw-practice { margin-top: var(--aw-block-y); padding-top: clamp(48px, 6vw, 88px); padding-bottom: 0; border-top: 1px solid var(--award-line); }
.aw-practice__works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--aw-col-gap); padding: 0; list-style: none; }
.aw-practice__works img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--award-sky-raised); }
.aw-practice__works p { margin-top: 10px; color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-small); line-height: 1.5; }
.aw-practice__label { margin-top: clamp(40px, 5vw, 64px); font-family: var(--font-sans); font-size: var(--type-award-ui); font-weight: 600; letter-spacing: 0; }
.aw-practice__shows { max-width: 72ch; margin-top: 12px; padding: 0; list-style: none; }
.aw-practice__shows li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--award-line); }
.aw-practice__shows .aw-practice__year { color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-ui); font-variant-numeric: tabular-nums; padding-top: .2em; }

/* Record: the registrar's view of the work. */
.aw-record__list { border-top: 1px solid var(--award-line-strong); }
.aw-record__row { display: grid; grid-template-columns: var(--aw-cols); column-gap: var(--aw-col-gap); padding: 15px 0; border-bottom: 1px solid var(--award-line); }
.aw-record__row dt { grid-column: 1 / span 4; padding-top: .2em; color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-ui); }
.aw-record__row dd { grid-column: 5 / span 8; margin: 0; max-width: 62ch; }

/* Footer */
.aw-footer { display: grid; gap: 14px; margin-top: var(--aw-section-y); padding: 40px var(--aw-gutter) 56px; border-top: 1px solid var(--award-line); color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-ui); }
.aw-footer__colophon { max-width: 64ch; color: var(--award-ink); }
.aw-footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }

@media (max-width: 899px) {
  .aw-intro__lede, .aw-intro__side { grid-column: 1 / -1; }
  .aw-intro__side { padding-top: 26px; }
  .aw-button--enter { min-height: 60px; padding: 0 32px; }
  .aw-section__head, .aw-story__body, .aw-making__block, .aw-artist__grid, .aw-record__row, .aw-coda { grid-template-columns: minmax(0, 1fr); }
  .aw-section__head h2, .aw-section__head p, .aw-story__body .aw-prose,
  .aw-making__intro, .aw-timeline, .aw-ancestors, .aw-making__content,
  .aw-artist__portrait, .aw-artist__grid .aw-prose, .aw-record__row dt, .aw-record__row dd, .aw-coda p { grid-column: 1; }
  .aw-making__intro { position: static; }
  .aw-record__row { row-gap: 4px; }
  .aw-step { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .aw-ancestor { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .aw-ancestor__painting img { max-width: 72%; }
  .aw-artist__portrait { max-width: 280px; }
  .aw-practice__works { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* The stage sits under the header and the acts scroll beneath it. */
  .aw-cycle.is-live { grid-template-columns: minmax(0, 1fr); }
  .aw-cycle.is-live .aw-cycle__stage { grid-column: 1; grid-row: 1; top: var(--aw-header-h); z-index: 2; margin: 0 calc(var(--aw-gutter) * -1); padding: 0 var(--aw-gutter); background: var(--sky); border-bottom: 1px solid var(--award-line); }
  .aw-cycle.is-live .aw-cycle__bar { padding-bottom: 30px; }
  .aw-cycle.is-live .aw-cycle__frames { margin: 0 calc(var(--aw-gutter) * -1); }
  .aw-cycle.is-live .aw-cycle__acts { grid-column: 1; grid-row: 2; }
  .aw-cycle.is-live .aw-act { min-height: 48vh; padding-top: 5vh; opacity: .5; }
  .aw-cycle.is-live .aw-act:first-child { padding-top: 20px; }
}

@media (max-width: 399px) {
  .aw-header { gap: 14px; }
  .aw-header__brand img { width: 32px; height: 32px; }
  .aw-nav { gap: 12px; font-size: var(--type-award-small); }
}

@media (prefers-reduced-motion: reduce) {
  .aw-cycle__frame, .aw-cycle__loop, .aw-cycle__seg, .aw-act, .aw-button { transition: none; }
  .aw-cycle__loop { display: none; }
}

/* Anne's in-place editor (/admin/award/; edit mode only). */
.aw-editing [data-edit] { outline: 1px dashed var(--award-line-strong); outline-offset: 4px; cursor: text; }
.aw-editing [data-edit]:hover, .aw-editing [data-edit]:focus-visible { outline-color: var(--award-act-repair); }
.aw-editing [data-edit].is-edited { outline-style: solid; }
.aw-editing [data-edit]:empty { display: block; min-height: 1.5em; }
.aw-editing [data-edit]:empty::before { content: "Hidden. Click to write text here, or revert."; color: var(--award-muted); font-family: var(--font-sans); font-size: var(--type-award-small); font-style: normal; }
.aw-editor { display: grid; gap: 10px; width: 100%; min-width: min(100%, 36rem); justify-self: stretch; align-self: stretch; margin: 8px 0 18px; text-align: left; font-family: var(--font-sans); font-size: var(--type-award-small); }
.aw-editor textarea { width: 100%; min-height: 6em; padding: 10px 12px; background: var(--award-sky-raised); color: var(--award-ink); border: 1px solid var(--award-act-repair); border-radius: 2px; font-family: var(--font-serif); font-size: var(--type-award-prose); line-height: 1.5; resize: vertical; }
.aw-editor__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.aw-editor button { min-height: 36px; padding: 0 14px; background: transparent; color: var(--award-ink); border: 1px solid var(--award-line-strong); border-radius: 2px; font: inherit; cursor: pointer; }
.aw-editor button[data-act="save"] { background: var(--award-ink); color: var(--sky); border-color: var(--award-ink); }
.aw-editor__status { color: var(--award-muted); }
.aw-editbar { position: fixed; inset: auto 0 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 10px var(--aw-gutter); background: var(--award-header-bg); border-top: 1px solid var(--award-act-repair); font-family: var(--font-sans); font-size: var(--type-award-small); }
.aw-editing .aw-footer { padding-bottom: 96px; }
