.snwc {
  --snwc-paper: #f9f7f2;
  --snwc-ink: #292c29;
  --snwc-muted: #6c6e66;
  --snwc-line: #e0ddd3;
  --snwc-brass: #836c3d;
  --snwc-warm: #eee8da;
  direction: rtl;
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto;
  padding: 10px 0 48px;
  color: var(--snwc-ink);
  font-family: inherit;
  text-align: right;
  line-height: 1.9;
}
.snwc *, .snwc *::before, .snwc *::after { box-sizing: border-box; }
.snwc [hidden] { display: none !important; }
.snwc h1, .snwc h2, .snwc h3, .snwc p { margin-top: 0; }
.snwc button, .snwc input { font-family: inherit; }
.snwc button { cursor: pointer; box-shadow: none; text-transform: none; }
.snwc button:disabled { opacity: .42; cursor: default; }
.snwc button:focus-visible, .snwc input:focus-visible, .snwc .snwc-stage:focus-visible {
  outline: 3px solid #a18750;
  outline-offset: 4px;
}
.snwc .snwc-hero { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 32px; align-items: center; padding: 34px 0 40px; border-bottom: 1px solid var(--snwc-line); }
.snwc .snwc-eyebrow { direction: ltr; text-align: right; color: var(--snwc-brass); letter-spacing: .16em; font-size: 11px; font-weight: 500; line-height: 1.8; margin: 0 0 16px; }
.snwc .snwc-title { font-size: clamp(27px, 3.5vw, 46px); line-height: 1.65; font-weight: 500; color: var(--snwc-ink); margin: 0 0 13px; }
.snwc .snwc-intro { color: var(--snwc-muted); max-width: 710px; font-size: 15px; line-height: 2.1; margin-bottom: 0; }
.snwc .snwc-hero-mark { border-right: 1px solid var(--snwc-line); padding-right: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; color: var(--snwc-brass); }
.snwc .snwc-hero-number { font-size: 58px; line-height: 1.3; font-weight: 300; }
.snwc .snwc-hero-caption { color: var(--snwc-muted); font-size: 11px; }
.snwc .snwc-collections { margin: 30px 0 50px; }
.snwc .snwc-section-label { font-size: 14px; font-weight: 500; line-height: 1.9; margin: 0 0 16px; color: var(--snwc-muted); }
.snwc .snwc-collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.snwc .snwc-collection-card { display: block; width: 100%; min-width: 0; padding: 0; border: 1px solid var(--snwc-line); border-radius: 3px; background: #fff; color: var(--snwc-ink); text-align: right; font: inherit; }
.snwc .snwc-collection-card:hover { border-color: #a9956e; background: #fff; color: var(--snwc-ink); }
.snwc .snwc-collection-card[aria-pressed="true"] { border-color: var(--snwc-brass); box-shadow: 0 0 0 1px var(--snwc-brass); }
.snwc .snwc-collection-cover { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--snwc-paper); }
.snwc .snwc-cover-image { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; border: 0; }
.snwc .snwc-collection-index { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 5px; color: var(--snwc-ink); background: rgba(255, 255, 255, .94); border: 1px solid rgba(41, 44, 41, .12); font-size: 12px; line-height: 1; }
.snwc .snwc-collection-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; padding: 15px 16px; }
.snwc .snwc-collection-name { font-size: 16px; font-weight: 600; line-height: 1.8; overflow-wrap: anywhere; }
.snwc .snwc-collection-count { color: var(--snwc-muted); font-size: 10px; font-weight: 400; line-height: 1.8; white-space: nowrap; }
.snwc .snwc-gallery { border-top: 1px solid var(--snwc-line); padding-top: 32px; }
.snwc .snwc-gallery-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.snwc .snwc-gallery-heading { min-width: 0; }
.snwc .snwc-gallery-heading .snwc-eyebrow { font-size: 10px; margin-bottom: 6px; }
.snwc .snwc-gallery-title { scroll-margin-top: 100px; font-size: clamp(25px, 3vw, 35px); font-weight: 500; line-height: 1.7; color: var(--snwc-ink); margin-bottom: 6px; }
.snwc .snwc-gallery-description { color: var(--snwc-muted); font-size: 13px; line-height: 2; max-width: 780px; margin-bottom: 0; }
.snwc .snwc-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 43px; padding: 10px 17px; border: 1px solid var(--snwc-brass); border-radius: 4px; background: var(--snwc-brass); color: #fff; font: inherit; font-size: 12px; line-height: 1.7; text-decoration: none; }
.snwc .snwc-button-outline { color: #6e582d; background: #fff; border-color: #c6b897; }
.snwc .snwc-button-outline:hover:not(:disabled) { color: #4e3e1f; background: #f5f0e5; border-color: #927b4b; }
.snwc .snwc-tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 21px 24px; background: var(--snwc-paper); border: 1px solid var(--snwc-line); margin-bottom: 24px; }
.snwc .snwc-search-wrap { width: 380px; max-width: 100%; min-width: 0; }
.snwc .snwc-search-label { display: block; color: var(--snwc-ink); font-size: 12px; font-weight: 500; line-height: 1.8; margin: 0 0 8px; }
.snwc input.snwc-search { display: block; box-sizing: border-box; width: 100%; min-width: 0; height: 45px; border: 1px solid #d0cabe; border-radius: 3px; padding: 8px 13px; margin: 0; background: #fff; color: var(--snwc-ink); font: inherit; font-size: 14px; box-shadow: none; text-align: right; }
.snwc input.snwc-search::placeholder { color: #77796f; opacity: 1; }
.snwc .snwc-results-status { flex: 0 0 auto; color: var(--snwc-muted); font-size: 12px; margin: 0 0 9px; }
.snwc .snwc-copy-feedback { color: #526649; font-size: 12px; line-height: 1.8; margin: 0; }
.snwc .snwc-copy-feedback:not(:empty) { margin-bottom: 15px; }
.snwc input.snwc-copy-field { box-sizing: border-box; display: block; width: 100%; max-width: 100%; height: 44px; padding: 8px 12px; margin: 0 0 18px; border: 1px solid var(--snwc-line); background: #fff; color: var(--snwc-ink); font: inherit; font-size: 12px; text-align: left; }
.snwc .snwc-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 30px 24px; }
.snwc .snwc-page-card { min-width: 0; padding: 0; margin: 0; border: 1px solid var(--snwc-line); background: #fff; border-radius: 3px; }
.snwc .snwc-page-preview { display: block; position: relative; width: 100%; min-width: 0; aspect-ratio: 3 / 4; padding: 0; margin: 0; overflow: hidden; border: 0; border-bottom: 1px solid var(--snwc-line); border-radius: 0; background: var(--snwc-paper); color: var(--snwc-ink); }
.snwc .snwc-page-preview:hover { color: var(--snwc-ink); background: var(--snwc-paper); }
.snwc .snwc-thumb-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--snwc-muted); font-size: 13px; }
.snwc .snwc-page-thumb { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; margin: 0; border: 0; }
.snwc .snwc-view-hint { position: absolute; bottom: 12px; left: 12px; padding: 5px 10px; background: rgba(255, 255, 255, .95); color: #645330; border: 1px solid #ddd4c2; font-size: 10px; line-height: 1.8; }
.snwc .snwc-page-info { padding: 17px 18px 15px; }
.snwc .snwc-page-title { font-size: 15px; font-weight: 500; line-height: 1.9; margin-bottom: 5px; color: var(--snwc-ink); overflow-wrap: anywhere; }
.snwc .snwc-page-codes { color: var(--snwc-muted); font-size: 11px; line-height: 2; overflow-wrap: anywhere; margin-bottom: 9px; }
.snwc .snwc-page-codes bdi { font-variant-numeric: tabular-nums; }
.snwc .snwc-copy-page { display: inline-block; min-height: 36px; padding: 6px 0; margin: 0; border: 0; background: transparent; color: #756039; font: inherit; font-size: 11px; line-height: 1.9; text-decoration: underline; text-underline-offset: 4px; border-radius: 2px; }
.snwc .snwc-copy-page:hover { background: transparent; color: var(--snwc-ink); }
.snwc .snwc-closing-note { margin: 35px auto 0; max-width: 760px; text-align: center; font-size: 12px; line-height: 2.1; color: var(--snwc-muted); }
.snwc .snwc-empty { grid-column: 1 / -1; padding: 40px 22px; border: 1px solid var(--snwc-line); text-align: center; background: var(--snwc-paper); }
.snwc .snwc-empty h3 { font-size: 20px; font-weight: 500; color: var(--snwc-ink); line-height: 1.9; margin-bottom: 7px; }
.snwc .snwc-empty p { color: var(--snwc-muted); font-size: 13px; margin-bottom: 20px; }
.snwc .snwc-error { padding: 28px; background: var(--snwc-paper); color: var(--snwc-ink); border: 1px solid var(--snwc-line); }
.snwc .snwc-viewer { position: fixed; inset: 0; width: min(1280px, calc(100vw - 32px)); height: auto; max-width: none; max-height: calc(100dvh - 28px); padding: 20px 24px; margin: auto; border: 1px solid #d1c8b7; border-radius: 7px; background: #fcfbf8; color: var(--snwc-ink); font: inherit; direction: rtl; overflow: auto; overscroll-behavior: contain; }
.snwc .snwc-viewer:not([open]) { display: none; }
.snwc .snwc-viewer::backdrop { background: rgba(25, 28, 25, .82); }
.snwc .snwc-viewer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-bottom: 14px; }
.snwc .snwc-viewer-title { font-size: 19px; font-weight: 500; line-height: 1.8; margin-bottom: 2px; color: var(--snwc-ink); overflow-wrap: anywhere; }
.snwc .snwc-viewer-counter { font-size: 11px; color: var(--snwc-muted); margin-bottom: 0; }
.snwc .snwc-close { min-height: 42px; padding: 7px 12px; margin: 0; border: 1px solid var(--snwc-line); border-radius: 3px; color: var(--snwc-ink); background: transparent; font: inherit; font-size: 13px; line-height: 1.8; }
.snwc .snwc-close:hover { color: var(--snwc-ink); background: var(--snwc-warm); }
.snwc .snwc-stage { direction: ltr; display: flex; align-items: center; justify-content: center; position: relative; width: 100%; height: min(69dvh, 880px); min-height: 220px; padding: 8px; background: #e9e6df; overflow: auto; border: 1px solid #ded9ce; }
.snwc .snwc-full-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; margin: 0 auto; border: 0; flex-shrink: 0; }
.snwc .snwc-stage.is-zoomed { display: block; }
.snwc .snwc-stage.is-zoomed .snwc-full-image { width: auto; height: auto; max-width: none; max-height: none; }
.snwc .snwc-image-status { color: var(--snwc-muted); font-size: 13px; text-align: center; margin: 0; padding: 20px; }
.snwc .snwc-viewer-controls { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 9px; }
.snwc .snwc-viewer-controls .snwc-button { min-height: 40px; padding: 8px 14px; font-size: 11px; }
.snwc .snwc-viewer-codes { color: var(--snwc-muted); font-size: 11px; line-height: 2; text-align: center; margin: 0; overflow-wrap: anywhere; }
.snwc .snwc-viewer .snwc-copy-feedback { text-align: center; margin: 6px 0 0; }
.snwc .snwc-viewer .snwc-copy-field { margin-top: 9px; margin-bottom: 0; }
@media (max-width: 1000px) {
  .snwc .snwc-collection-grid { gap: 12px; }
  .snwc .snwc-collection-caption { flex-direction: column; gap: 2px; padding: 12px; }
  .snwc .snwc-collection-name { font-size: 15px; }
  .snwc .snwc-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
}
@media (max-width: 640px) {
  .snwc { padding-top: 0; }
  .snwc .snwc-hero { grid-template-columns: minmax(0, 1fr); padding: 22px 0 26px; gap: 0; }
  .snwc .snwc-hero-mark { display: none; }
  .snwc .snwc-eyebrow { font-size: 9px; margin-bottom: 12px; }
  .snwc .snwc-title { font-size: 27px; margin-bottom: 10px; }
  .snwc .snwc-intro { font-size: 13px; line-height: 2; }
  .snwc .snwc-collections { margin-top: 24px; margin-bottom: 34px; }
  .snwc .snwc-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .snwc .snwc-collection-cover { aspect-ratio: 4 / 4.2; }
  .snwc .snwc-collection-index { width: 25px; min-width: 25px; height: 25px; top: 8px; right: 8px; font-size: 10px; }
  .snwc .snwc-collection-name { font-size: 15px; }
  .snwc .snwc-collection-count { font-size: 10px; }
  .snwc .snwc-gallery { padding-top: 24px; }
  .snwc .snwc-gallery-top { display: block; margin-bottom: 20px; }
  .snwc .snwc-gallery-description { font-size: 12px; }
  .snwc .snwc-gallery-top > .snwc-button { margin-top: 15px; }
  .snwc .snwc-tools { display: block; padding: 17px; margin-bottom: 20px; }
  .snwc .snwc-search-wrap { width: 100%; }
  .snwc .snwc-results-status { margin: 12px 0 0; }
  .snwc .snwc-page-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .snwc .snwc-page-preview { aspect-ratio: 3 / 4; }
  .snwc .snwc-page-info { padding: 15px 17px 12px; }
  .snwc .snwc-page-title { font-size: 15px; }
  .snwc .snwc-closing-note { margin-top: 26px; font-size: 11px; }
  .snwc .snwc-viewer { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); padding: 13px 11px; border-radius: 5px; }
  .snwc .snwc-viewer-top { gap: 10px; margin-bottom: 12px; }
  .snwc .snwc-viewer-title { font-size: 15px; }
  .snwc .snwc-viewer-counter { font-size: 10px; }
  .snwc .snwc-close { min-height: 40px; padding-inline: 9px; font-size: 11px; }
  .snwc .snwc-stage { height: calc(100dvh - 250px); min-height: 180px; padding: 4px; }
  .snwc .snwc-viewer-controls { gap: 7px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snwc .snwc-viewer-controls .snwc-button { padding: 7px 8px; min-height: 39px; font-size: 10px; }
  .snwc .snwc-viewer-codes { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .snwc *, .snwc *::before, .snwc *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
