body[data-page="artwork"] {
  --hero-h: max(66svh, 460px);
  --frame-pad: 10px;
  --aw-max: 1440px;
}
body[data-page="artwork"] #main { display: block; }

.aw-hero-frame {
  height: var(--hero-h);
  padding: var(--tnav-h, 48px) var(--frame-pad) var(--frame-pad);
  box-sizing: border-box;
  display: flex; flex-direction: column;
}
.aw-hero {
  position: relative; flex: 1 1 auto; min-height: 0;
  border-radius: 14px; overflow: hidden; isolation: isolate;
  background: #17171b; color: #fff;
  view-transition-name: sanw-hero;
}
html.aw-hero-out .aw-hero { view-transition-name: none; }
::view-transition-group(sanw-hero) { animation-duration: .32s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
::view-transition-old(sanw-hero),
::view-transition-new(sanw-hero) { animation-duration: .32s; height: 100%; object-fit: cover; }

.aw-hero::before {
  content: ""; position: absolute; inset: -40px; z-index: 0;
  background: var(--aw-photo, none) center / cover no-repeat;
  filter: blur(40px) saturate(1.2) brightness(.7);
  opacity: 0; transition: opacity .3s ease;
}
.aw-hero.is-whole::before { opacity: 1; }
.aw-hero-img {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  transform-origin: 50% 100%; will-change: transform;
}
.aw-hero.is-whole .aw-hero-img { object-fit: contain; }
.is-removed .aw-hero-img { filter: grayscale(.85) brightness(.85); }
.aw-hero-open {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  border: 0; padding: 0; margin: 0; background: transparent; cursor: zoom-in;
}
.aw-hero-open:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 14px; }
.aw-hero-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 150px),
    linear-gradient(to top, rgba(0,0,0,.82) 0, rgba(0,0,0,.35) 150px, rgba(0,0,0,0) 300px);
}

.aw-hero-top {
  position: absolute; z-index: 4; left: 24px; top: 18px; right: 200px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; pointer-events: none;
}
.aw-hero-top > * { pointer-events: auto; }
.aw-crumbs.crumbs { margin: 0; font-size: .8rem; }
.aw-crumbs.crumbs li { color: rgba(255,255,255,.82); }
.aw-crumbs.crumbs li:last-child { display: none; }
.aw-crumbs.crumbs a { color: rgba(255,255,255,.82); text-decoration: none; }
.aw-crumbs.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.aw-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.aw-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff; font: 700 .78rem 'Montserrat', sans-serif; text-decoration: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
a.aw-badge:hover { background: rgba(0,0,0,.72); }
.aw-badge--removed { background: rgba(120,120,120,.75); }
.aw-badge--draft { background: rgba(210, 35, 58,.85); }

.aw-hero-tools { position: absolute; z-index: 5; right: 18px; top: 18px; display: flex; gap: 8px; }
.aw-round {
  width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .15s ease, transform .15s ease;
}
.aw-round[hidden] { display: none; }
.aw-round:hover { background: rgba(0,0,0,.75); }
.aw-round:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.aw-fav[aria-pressed="true"] { background: var(--brand); }
.aw-fav[aria-pressed="true"] svg { fill: currentColor; }
.aw-fav:active { transform: scale(.92); }
.pswp__aw-info-panel, .aw-share-panel {
  position: absolute; top: 56px; right: 0; min-width: 220px; width: max-content; max-width: calc(100vw - 32px); padding: 12px 14px; border-radius: 14px;
  background: rgba(16,16,18,.94); color: #f3f3f5; box-shadow: 0 12px 32px rgba(0,0,0,.4);
  font: 500 .85rem/1.45 'Montserrat', sans-serif;
}
.pswp__aw-info-panel[hidden], .aw-share-panel[hidden] { display: none; }
.pswp__aw-info-panel dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; }
.pswp__aw-info-panel dt { color: #a4a4ad; }
.pswp__aw-info-panel dd { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pswp__aw-info-panel a { color: #ff8197; }
.pswp .pswp__aw-info-panel { position: absolute; top: 60px; right: 12px; z-index: 10; pointer-events: auto; }
.pswp__button--aw-info { display: grid; place-items: center; color: #fff; }
.pswp__button--aw-info svg { filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.aw-visit-cycle .aw-ico-visited { display: none; }
.aw-visit-cycle[data-state="want"] { background: #fff; color: #111; }
.aw-visit-cycle[data-state="want"] .aw-ico-want { fill: currentColor; }
.aw-visit-cycle[data-state="visited"] { background: #1f8a4c; }
.aw-visit-cycle[data-state="visited"] .aw-ico-want { display: none; }
.aw-visit-cycle[data-state="visited"] .aw-ico-visited { display: block; }
.aw-visit-cycle[data-no-want][data-state="none"] .aw-ico-want { display: none; }
.aw-visit-cycle[data-no-want][data-state="none"] .aw-ico-visited { display: block; }
.aw-visit-cycle:disabled { opacity: .7; cursor: default; }
.aw-visit-cycle:active { transform: scale(.92); }
.aw-share-panel { display: flex; flex-direction: column; padding: 6px; min-width: 180px; }
.aw-share-panel a, .aw-share-panel button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px; border: 0;
  background: transparent; color: #f3f3f5; font: 600 .88rem 'Montserrat', sans-serif; text-decoration: none; cursor: pointer;
}
.aw-share-panel a:hover, .aw-share-panel button:hover { background: rgba(255,255,255,.1); }

.aw-hero-foot {
  position: absolute; z-index: 4; left: 28px; right: 22px; bottom: 24px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; pointer-events: none;
}
.aw-hero-foot > * { pointer-events: auto; }
.aw-title-block { display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: 820px; }
.aw-title-block h1 {
  margin: 0 0 0 -.055em; color: #fff; font: 800 clamp(2rem, 4.2vw, 3.6rem)/1.04 'Montserrat', sans-serif; letter-spacing: -.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35); overflow-wrap: anywhere;
}
.aw-artists { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; }
.aw-artist-sep { color: #fff; font: 700 1.05rem 'Montserrat', sans-serif; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.aw-artist-sep--comma { margin-left: -8px; }
.aw-artist { display: inline-flex; align-items: center; gap: 10px; }
.aw-artist a, .aw-artist > span { color: #fff; font: 700 1.05rem 'Montserrat', sans-serif; text-decoration: none; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.aw-artist a:hover { text-decoration: underline; text-underline-offset: 4px; }
.aw-follow {
  padding: 5px 14px; border-radius: 999px; border: 1.5px solid #fff; background: transparent; color: #fff; cursor: pointer;
  font: 700 .78rem 'Montserrat', sans-serif; transition: background-color .15s ease, color .15s ease;
}
.aw-follow:hover { background: rgba(255,255,255,.15); }
.aw-follow[aria-pressed="true"] { background: #fff; color: #111; }
.aw-follow:disabled { opacity: .6; }

.aw-follow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.aw-wrap { max-width: var(--aw-max); margin: 0 auto; padding: 12px 40px 80px; box-sizing: border-box; }
.aw-thumbs-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.aw-thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; flex: 1 1 auto; min-width: 0; }
.aw-thumbs::-webkit-scrollbar { display: none; }
.aw-thumb {
  flex: 0 0 auto; width: 92px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 10px; scroll-snap-align: start;
  overflow: hidden; cursor: pointer; background: var(--card); opacity: .72; transition: opacity .15s ease, border-color .15s ease;
}
.aw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-thumb:hover { opacity: 1; }
.aw-thumb.is-current { border-color: var(--text); opacity: 1; }
.aw-thumb:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.aw-thumbs-arrow {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center;
  background: var(--card); color: var(--text); cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.aw-thumbs-arrow:hover { border-color: var(--brand); color: var(--brand); }
.aw-thumbs-arrow[hidden] { display: grid; visibility: hidden; }
.aw-thumbs-wrap.no-arrows .aw-thumbs-arrow { display: none; }

.aw-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 48px; margin-top: 40px; align-items: start; }
.aw-main { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.aw-cols h2, .aw-rail h2, .aw-wall h2 { margin: 0; font: 800 1.35rem 'Montserrat', sans-serif; color: var(--text); }
.aw-about { display: flex; flex-direction: column; gap: 12px; }
.aw-desc { color: var(--text); font-size: .97rem; line-height: 1.7; }
.aw-desc p { margin: 0 0 12px; }
.aw-desc p:last-child { margin-bottom: 0; }
.aw-desc blockquote { margin: 0 0 12px; padding: 4px 0 4px 16px; border-left: 3px solid var(--brand); color: var(--muted); }
.aw-desc ul, .aw-desc ol { padding-left: 1.25rem; }
.aw-desc a { color: var(--brand); }
.aw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.aw-tag {
  padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text);
  font: 600 .8rem 'Montserrat', sans-serif; text-decoration: none;
}
.aw-tag:hover { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); }

.aw-facts {
  margin: 0; padding: 20px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--border);
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 11px 14px; font: 500 .92rem/1.45 'Montserrat', sans-serif;
}
.aw-facts dt { color: var(--muted); overflow-wrap: normal; word-break: normal; hyphens: manual; }
.aw-notes-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.aw-facts dd { margin: 0; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.aw-facts a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--text) 30%, transparent); text-underline-offset: 3px; }
.aw-status { display: inline-flex; align-items: center; gap: 7px; }
.aw-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3f8f6b; }
.aw-status--removed::before { background: #9a9a9a; }
.aw-status--draft::before { background: var(--brand); }

.aw-map { position: relative; }
.aw-map .places-map img { aspect-ratio: 720 / 460; }
.aw-directions {
  position: absolute; left: 10px; top: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.65); color: #fff; text-decoration: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .15s ease;
}
.aw-directions:hover { background: rgba(0,0,0,.82); }
.aw-directions:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.smap-photo {
  width: 64px; height: 64px; box-sizing: border-box; z-index: 2;
  background-color: #d9d7d2; background-position: center; background-size: 102%;
  border: 1.5px solid rgba(0,0,0,.1); outline: 1px solid rgba(255,255,255,.2); outline-offset: -2px;
  box-shadow: inset 2px 2px 4px rgba(255,255,255,.6), inset -2px -2px 4px rgba(0,0,0,.4), 0 4px 8px rgba(0,0,0,.3), 0 0 10px rgba(255,255,255,.2);
}
.is-removed .smap-photo { filter: grayscale(80%) brightness(.85); opacity: .7; }
@container (max-width: 420px) { .smap-photo { width: 48px; height: 48px; } }

.aw-wall { display: flex; flex-direction: column; gap: 10px; }
.aw-wall h2 { font-size: 1rem; }
.aw-wall-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.aw-wall-item {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--border);
  color: var(--text); text-decoration: none;
}
.aw-wall-item:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--border)); }
.aw-wall-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; }
.aw-wall-item > span { display: flex; flex-direction: column; min-width: 0; font: 500 .82rem/1.35 'Montserrat', sans-serif; }
.aw-wall-item strong { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-wall-item > span > span { color: var(--muted); }

.aw-exts { display: flex; flex-wrap: wrap; gap: 8px; }
.aw-ext {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; border: 1px solid var(--border);
  color: var(--text); background: var(--card); font: 600 .82rem 'Montserrat', sans-serif; text-decoration: none;
}
.aw-ext:hover { border-color: var(--brand); color: var(--brand); }

.aw-side { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.aw-desc-wrap { position: relative; }
.aw-desc-wrap.is-clamped { max-height: calc(.97rem * 1.7 * 10); overflow: hidden; }
.aw-desc-wrap.is-clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.aw-more {
  align-self: flex-start; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--brand); font: 700 .88rem 'Montserrat', sans-serif;
}
.aw-more[hidden] { display: none; }
.aw-more:hover { text-decoration: underline; text-underline-offset: 3px; }

.aw-notes { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.aw-notes-head { display: flex; align-items: baseline; gap: 10px; }
.aw-notes-count { color: var(--muted); font: 600 .88rem 'Montserrat', sans-serif; }
.aw-note-form { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.aw-note-form[hidden] { display: none; }
.aw-note-form label { font: 700 .9rem 'Montserrat', sans-serif; color: var(--text); }
.aw-note-form textarea {
  width: 100%; box-sizing: border-box; resize: vertical; min-height: 86px; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--input-border); background: var(--input-bg); color: var(--input-text); font: 500 .95rem/1.5 'Montserrat', sans-serif;
}
.aw-note-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.aw-note-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.aw-note-hint { flex: 1 1 260px; color: var(--muted); font: 500 .78rem/1.45 'Montserrat', sans-serif; }
.aw-note-field { position: relative; }
.aw-note-field textarea { padding-bottom: 26px; resize: none; }
.aw-note-chars { position: absolute; right: 12px; bottom: 9px; pointer-events: none; color: var(--muted); font: 600 .74rem 'Montserrat', sans-serif; }
.aw-note-msg { margin: 0; min-height: 0; color: var(--muted); font: 600 .82rem 'Montserrat', sans-serif; }
.aw-note-msg:empty { display: none; }
.aw-notes-guest { padding: 18px 20px; border-radius: 16px; border: 1px dashed color-mix(in srgb, var(--text) 25%, transparent); background: var(--card); color: var(--muted); font: 500 .9rem/1.55 'Montserrat', sans-serif; }
.aw-notes-guest[hidden] { display: none; }
.aw-notes-guest p { margin: 0 0 10px; }
.aw-notes-guest strong { color: var(--text); }
.aw-notes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.aw-note { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.aw-note:last-child { border-bottom: 0; }
.aw-note-avatar { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 18%, var(--card)); color: var(--text); font: 800 .95rem 'Montserrat', sans-serif; }
.aw-note-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.aw-note-meta { margin: 0; color: var(--muted); font: 500 .8rem 'Montserrat', sans-serif; }
.aw-note-meta strong { color: var(--text); font-weight: 700; }
.aw-note-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); font-size: .72rem; font-weight: 700; color: var(--muted); }
.aw-note-tag--held { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); }
.aw-note-body { margin: 0; color: var(--text); font: 500 .95rem/1.6 'Montserrat', sans-serif; white-space: pre-line; overflow-wrap: anywhere; }
.aw-note-actions { display: flex; gap: 14px; }
.aw-note-actions button { padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted); font: 600 .78rem 'Montserrat', sans-serif; }
.aw-note-actions button:hover { color: var(--brand); }
.aw-note-actions button:disabled { opacity: .6; cursor: default; }
.aw-notes-empty { margin: 0; color: var(--muted); font: 500 .9rem 'Montserrat', sans-serif; }
.aw-notes-empty[hidden] { display: none; }

.aw-suggest {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; padding: 10px 16px; border-radius: 999px;
  background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: 0 8px 24px var(--shadow);
  font: 700 .82rem 'Montserrat', sans-serif; text-decoration: none; transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.aw-suggest:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }

.aw-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 999px; border: 0;
  background: var(--brand); color: #fff; font: 700 .88rem 'Montserrat', sans-serif; text-decoration: none; cursor: pointer;
}
.aw-btn:hover { filter: brightness(1.08); }
.aw-link-btn { padding: 0; border: 0; background: none; color: var(--text); font: 700 .88rem 'Montserrat', sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.aw-rail { margin-top: 56px; display: flex; flex-direction: column; gap: 16px; }
.aw-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.aw-rail-link { color: var(--brand); font: 700 .88rem 'Montserrat', sans-serif; text-decoration: none; white-space: nowrap; }
.aw-rail-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.artworks-grid.aw-rail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.aw-missing { padding-top: calc(var(--tnav-h, 48px) + 60px); text-align: center; }
.aw-missing h1 { font: 800 2rem 'Montserrat', sans-serif; margin: 0 0 8px; }

.pswp .pswp__aw-caption {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: min(90vw, 760px);
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; pointer-events: auto;
  color: #f3f3f5; font: 500 .82rem/1.4 'Montserrat', sans-serif; text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.pswp .pswp__aw-caption strong { font-weight: 700; font-size: .92rem; }
.pswp .pswp__aw-caption span { color: #c9c9cf; }

@media (max-width: 1100px) {
  .aw-cols { display: flex; flex-direction: column; gap: 36px; }
  .aw-main, .aw-side { display: contents; }
  .aw-cols { align-items: stretch; }
  .aw-cols > * { min-width: 0; width: 100%; box-sizing: border-box; }
  .aw-about { order: 1; }
  .aw-facts, .aw-history { order: 2; }
  .aw-map { order: 3; }
  .aw-exts { order: 2; }
  .aw-wall { order: 5; }
  .aw-notes { order: 6; }
  .artworks-grid.aw-rail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .aw-wrap { padding: 10px 16px 64px; }
  .aw-thumb { width: 72px; }
  .aw-suggest { right: 12px; bottom: 12px; padding: 8px 13px; font-size: .78rem; }
  .aw-hero-top { left: 16px; right: 168px; top: 14px; }
  .aw-hero-tools { right: 12px; top: 12px; gap: 6px; }
  .aw-round { width: 42px; height: 42px; }
  .aw-hero-foot { left: 16px; right: 14px; bottom: 16px; flex-direction: column; align-items: stretch; }
  .aw-facts { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
}
@media (max-width: 600px) {
  body[data-page="artwork"] { --frame-pad: 6px; --hero-h: max(66svh, 420px); }
}
@media (max-width: 640px) {
  body[data-page="artwork"] { --hero-h: max(40svh, 320px); }
  .aw-title-block h1 { font-size: clamp(1.4rem, 6.2vw, 1.65rem); line-height: 1.1; }
  .aw-hero { border-radius: 12px; }
  .aw-crumbs .crumbs-mid { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aw-hero::before, .aw-round, .aw-thumb, .aw-follow { transition: none; }
}.aw-notes-pager { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font: 600 .82rem 'Montserrat', sans-serif; }
.aw-notes-pager[hidden] { display: none; }
.aw-notes-pager .aw-thumbs-arrow { width: 34px; height: 34px; }
.aw-notes-pager .aw-thumbs-arrow:disabled { opacity: .35; cursor: default; border-color: var(--border); color: var(--text); }.aw-history-btn { padding: 0; border: 0; background: none; cursor: pointer; color: var(--text); font: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--text) 30%, transparent); text-underline-offset: 3px; }
.aw-history-btn:hover, .aw-history-btn[aria-expanded="true"] { color: var(--brand); text-decoration-color: currentColor; }
.aw-history { margin-top: -16px; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.aw-history[hidden] { display: none; }
.aw-cols .aw-history h2 { font-size: 1rem; }
.aw-history-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.aw-history-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--muted); font: 500 .86rem/1.45 'Montserrat', sans-serif; }
.aw-history-list li:last-child { border-bottom: 0; }
.aw-history-list time { color: var(--muted); white-space: nowrap; }
.aw-history-list strong { color: var(--text); font-weight: 700; }
.aw-history-list li.aw-history-wait { display: block; }
.aw-more:focus { outline: none; }
.aw-more:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 760px) {
  .aw-suggest { position: static; display: block; width: max-content; margin: 0 auto 28px; box-shadow: none; }
}