/* ─── STUDIO DESIGNS — index + one page per design (tools/build_designs.py) ───
   Relief designs: live relief hero, the wall large (lead room, wall strip), single panel + spec, a reading with the
   drawing small. Study designs: wall study hero, lead room, close view, lay drawing. Both end on the questions
   (closed accordion), the pager and the bespoke door. */

/* hero: copy left, the relief right; the whole section is the relief-light container (wall = canvas) */
.sys-hero {
  --relief-wall: #DFD8CA;
  display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--s-7);
  height: 100svh; min-height: 620px; max-height: 920px; box-sizing: border-box;
  padding: 104px var(--pad-x) var(--s-7) var(--edge);
}
.sys-hero__copy { position: relative; z-index: 2; align-self: center; max-width: 520px; }
.sys-hero__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; }
.sys-hero__stage .relief-light__poster { max-width: 100%; max-height: 100%; width: auto; height: auto; }

/* field systems: the relief fills the hero edge to edge, the copy sits on a bone card */
.sys-hero--field .sys-hero__stage { position: absolute; inset: 0; overflow: hidden; }
.sys-hero--field .sys-hero__stage .relief-light__poster {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max(100%, 100svh); max-width: none; max-height: none; height: auto;
}
.sys-hero--field { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.sys-hero--field .sys-hero__copy { align-self: end; background: rgba(var(--bg-rgb), 0.92); padding: var(--s-6); }

.sys-back { display: block; width: max-content; font-size: var(--t-label); letter-spacing: var(--tr-wide); text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; margin-bottom: var(--s-6); }
.sys-back:hover { color: var(--accent); }
.sys-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 4.6vw, 80px); line-height: 0.98;
  letter-spacing: -0.015em; color: var(--ink); margin: 0 0 var(--s-5); }
.sys-lede { font-size: var(--t-body); line-height: 1.75; color: var(--ink-2); margin: 0 0 var(--s-6); max-width: 460px; }
.sys-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.sys-link { font-size: var(--t-label); letter-spacing: var(--tr-wider); text-transform: uppercase; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--border-strong); padding-bottom: 4px; }
.sys-link:hover { color: var(--accent); border-color: var(--accent); }

/* spec + images */
.sys-body { max-width: var(--maxw); margin: 0 auto; padding: var(--s-9) var(--pad-x); box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.sys-body--plain { grid-template-columns: minmax(0, 1fr); }
.sys-body--plain .sys-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); border-top: 0; }
.sys-body--plain .sys-spec div:nth-child(-n+2) { border-top: 1px solid var(--ink); }
.sys-spec { margin: 0; border-top: 1px solid var(--ink); }
.sys-spec div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }
.sys-spec dt { font-size: var(--t-label); letter-spacing: var(--tr-wide); text-transform: uppercase; color: var(--ink-muted); }
.sys-spec dd { margin: 0; font-size: var(--t-body); color: var(--ink); }
/* the wall, large, right under the hero: the lead room, then the wall strip. A portrait room stands beside the views */
.dsg-wall { max-width: 1680px; margin: 0 auto; box-sizing: border-box; padding: var(--s-8) var(--pad-x) 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
.dsg-wall--tall { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.dsg-wall__views { display: grid; gap: var(--s-5); }
.dsg-wall figure, .dsg-view { margin: 0; }
.dsg-wall img, .dsg-view img { display: block; width: 100%; height: auto; background: var(--bg-alt); }
.dsg-wall figcaption, .dsg-view figcaption, .sys-read__drawing figcaption { font-size: var(--t-body-sm); color: var(--ink-muted); padding-top: var(--s-3); }
/* the single panel beside the spec: never taller than the screen (a tall panel keeps its ratio, centred) */
.sys-body .dsg-view img { width: auto; max-width: 100%; max-height: 86svh; margin: 0 auto; }

/* bespoke door: a light band (the dark footer follows it) */
.sys-door { padding: var(--s-9) var(--pad-x); background: var(--bg); color: var(--ink); border-top: 1px solid var(--border); }
.sys-door__inner { max-width: var(--content-w); margin: 0 auto; display: flex; flex-wrap: wrap; gap: var(--s-6);
  align-items: center; justify-content: space-between; }
.sys-door p { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.3;
  color: var(--ink); margin: 0; max-width: 760px; }

/* reading of the surface: three short blocks under the spec */
.sys-read { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x) var(--s-8); box-sizing: border-box; }
.sys-read__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.8fr); gap: var(--s-7); border-top: 1px solid var(--border); padding-top: var(--s-7); }
.sys-read__drawing { margin: 0; }
.sys-read__drawing img { display: block; width: 100%; max-width: 260px; height: auto; background: var(--bg-alt); }
.sys-read h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; margin: 0 0 var(--s-4); color: var(--ink); }
.sys-read p { font-size: var(--t-body); line-height: 1.75; color: var(--ink-2); margin: 0 0 var(--s-4); }
.sys-door__links { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }
.sys-door__own { font-size: var(--t-body-sm); color: var(--ink-muted); }
.sys-door__own .sys-link { margin-left: var(--s-2); }
@media (max-width: 960px) { .sys-read__inner { grid-template-columns: 1fr; } }

/* field heroes: the relief runs behind the nav, so the bar is solid from the start (its links measured 1.1 to 2.6:1 on the relief) */
@media (min-width: 821px) and (orientation: landscape) {
  body:has(.sys-hero--field) #mainNav { background: var(--bg); border-color: var(--border); }
}

/* phones: the relief first and only as tall as it is, so name, lede and the button share the first screen */
@media (orientation: portrait), (max-width: 820px) {
  .sys-hero, .sys-hero--field { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; min-height: 0; max-height: none;
    padding: 80px var(--pad-x-sm) var(--s-7); gap: var(--s-5); }
  .sys-hero__copy, .sys-hero--field .sys-hero__copy, .dsg-hero__copy { align-self: start; display: flex; flex-direction: column; }
  :is(.sys-hero__copy, .dsg-hero__copy) .sys-lede { order: 1; margin: var(--s-5) 0 0; }   /* name and button share the first screen with the cookie bar */
  .sys-hero--field .sys-hero__copy { padding: var(--s-5); }
  .sys-hero__stage { order: -1; min-height: 0; }
  .sys-hero__stage .relief-light__poster { max-height: 44svh; }
  .sys-hero--field .sys-hero__stage { position: relative; inset: auto; height: 34svh; }
  .sys-hero--field .sys-hero__stage .relief-light__poster { width: max(100%, 34svh); max-height: none; }
  .sys-back { margin-bottom: var(--s-4); }
  .sys-name { margin-bottom: var(--s-4); }
  .sys-body, .sys-body--plain { grid-template-columns: 1fr; padding: var(--s-8) var(--pad-x-sm); gap: var(--s-7); }
  .sys-body--plain .sys-spec { display: block; border-top: 1px solid var(--ink); }
  .sys-body--plain .sys-spec div:nth-child(-n+2) { border-top: 0; }
  .sys-spec div { grid-template-columns: 7rem 1fr; }
  .sys-door { padding: var(--s-8) var(--pad-x-sm); }
  .sys-read { padding: 0 var(--pad-x-sm) var(--s-8); }
  .dsg-wall, .dsg-wall--tall { grid-template-columns: minmax(0, 1fr); padding: var(--s-7) var(--pad-x-sm) 0; gap: var(--s-6); }
  .dsg-room__grid, .dsg-room__grid[data-n="3"] { grid-template-columns: 1fr; }
}

/* Library index: systems strip above the design studies (koleksiyon.htm / en/collection.htm) */
.sys-index { max-width: var(--maxw); margin: 0 auto; padding: var(--s-9) var(--pad-x) 0; box-sizing: border-box; }
.sys-index__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.05;
  color: var(--ink); margin: 0 0 var(--s-4); }
.sys-index__lede { font-size: var(--t-body); line-height: 1.75; color: var(--ink-2); max-width: 620px; margin: 0 0 var(--s-7); }
.sys-index__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-5); }
.sys-card { display: flex; flex-direction: column; gap: var(--s-2); text-decoration: none; color: var(--ink); }
.sys-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--bg-alt); }
.sys-card__code { font-size: var(--t-eyebrow); letter-spacing: var(--tr-widest); text-transform: uppercase; color: var(--accent); padding-top: var(--s-2); }
.sys-card__name { font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.sys-card__layout { font-size: var(--t-body-sm); color: var(--ink-muted); }
.sys-card:hover .sys-card__name { color: var(--accent); }
.sys-index__studies { margin: var(--s-9) 0 0; }
@media (max-width: 820px) { .sys-index { padding: var(--s-8) var(--pad-x-sm) 0; } }

/* ─── Study designs: the wall study is the hero ─── */
.dsg-hero { background: #DFD8CA; display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--s-7); align-items: center;
  min-height: min(100svh, 920px); box-sizing: border-box; padding: 104px var(--pad-x) var(--s-7) var(--edge); }
.dsg-hero__copy { max-width: 460px; }
.dsg-hero__img { margin: 0; align-self: center; }
.dsg-hero__img img { display: block; width: 100%; height: auto; max-height: calc(100svh - 220px); object-fit: contain; object-position: center bottom; }
.dsg-h { font-family: var(--font-display); font-weight: 300; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.05;
  letter-spacing: -0.01em; color: var(--ink); margin: 0 0 var(--s-5); }
.dsg-hero figcaption, .dsg-close figcaption, .dsg-drawing figcaption, .dsg-room figcaption {
  font-size: var(--t-body-sm); color: var(--ink-muted); padding-top: var(--s-3); }

.dsg-close { max-width: var(--maxw); margin: 0 auto; box-sizing: border-box; padding: var(--s-10) var(--pad-x);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-9); align-items: center; }
.dsg-close__img { margin: 0; }
.dsg-close__img img { display: block; width: 100%; height: auto; background: var(--bg-alt); }
.dsg-close__copy p, .dsg-drawing__copy p { font-size: var(--t-body); line-height: 1.75; color: var(--ink-2); margin: 0 0 var(--s-7); max-width: 440px; }

.dsg-drawing { background: var(--bg-alt); padding: var(--s-10) var(--pad-x); }
.dsg-drawing__inner { max-width: var(--content-w); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: var(--s-9); align-items: center; }
.dsg-drawing figure { margin: 0; }
.dsg-drawing img { display: block; width: 100%; height: auto; }

.dsg-room { max-width: var(--maxw); margin: 0 auto; box-sizing: border-box; padding: var(--s-8) var(--pad-x) 0; }
.dsg-room__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); align-items: start; }
.dsg-room__grid[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dsg-room--one { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-9); align-items: center; }
.dsg-room--one .dsg-room__grid { grid-template-columns: minmax(0, 1fr); }
.dsg-room figure { margin: 0; }
.dsg-room img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; }

/* where it works + three questions: text bands before the pager */
.dsg-use, .dsg-faq { max-width: var(--maxw); margin: 0 auto; box-sizing: border-box; padding: var(--s-9) var(--pad-x) 0; }
.dsg-use p { font-size: var(--t-body); line-height: 1.75; color: var(--ink-2); margin: 0; max-width: 760px; }
/* the questions: a closed accordion (native details), styled as the home page's */
.dsg-faq__list { max-width: 860px; }
.dsg-faq__item { border-top: 1px solid var(--border); }
.dsg-faq__item:last-child { border-bottom: 1px solid var(--border); }
.dsg-faq__item summary { list-style: none; cursor: pointer; position: relative; padding: 28px 52px 28px 0; }
.dsg-faq__item summary::-webkit-details-marker { display: none; }
.dsg-faq__item summary::after { content: '+'; position: absolute; right: 6px; top: 26px; font-size: 22px; line-height: 1; color: var(--accent); }
.dsg-faq__item[open] summary::after { content: '–'; }
.dsg-faq h3 { font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.4; margin: 0; color: var(--ink); transition: color 0.3s; }
.dsg-faq__item summary:hover h3 { color: var(--accent); }
.dsg-faq p { font-size: var(--t-body); line-height: 1.75; color: var(--ink-2); margin: 0; padding: 0 52px 32px 0; max-width: 68ch; }
/* in-text links (the finish term, the guide and home links): clay with a hairline, not the browser's blue */
.sys-spec dd a, .dsg-use a, .dsg-faq a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(var(--accent-rgb), 0.3); transition: border-color 0.3s, color 0.3s; }
.sys-spec dd a:hover, .dsg-use a:hover, .dsg-faq a:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
/* previous / index / next */
.dsg-pager { max-width: var(--maxw); margin: 0 auto; box-sizing: border-box; padding: var(--s-9) var(--pad-x);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-6); align-items: end; }
.dsg-pager a { text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 300;
  font-size: clamp(26px, 2.4vw, 38px); line-height: 1.1; transition: color var(--dur-2) var(--ease); }
.dsg-pager a span { display: block; font-family: var(--font-body, inherit); font-size: var(--t-label); letter-spacing: var(--tr-wide);
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--s-2); }
.dsg-pager__next { text-align: right; }
.dsg-pager .dsg-pager__index { font-family: inherit; font-size: var(--t-label); letter-spacing: var(--tr-wider); text-transform: uppercase;
  border-bottom: 1px solid var(--border-strong); padding-bottom: 4px; }
.dsg-pager a:hover { color: var(--accent); }

/* ─── Index ─── */
/* rows of three and rows of two (the build marks the two-to-a-row cards), so the last row is never a lone card */

@media (orientation: portrait), (max-width: 820px) {
  .dsg-hero { grid-template-columns: 1fr; min-height: 0; padding: 96px var(--pad-x-sm) var(--s-7); gap: var(--s-6); }
  .dsg-hero__img { order: -1; }
  .dsg-hero__img img { max-height: none; }
  .dsg-hero__copy { padding-bottom: 0; }
  .dsg-close, .dsg-drawing__inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .dsg-close { padding: var(--s-8) var(--pad-x-sm); }
  .dsg-drawing { padding: var(--s-8) var(--pad-x-sm); }
  .dsg-room { padding: var(--s-8) var(--pad-x-sm) 0; }
  .dsg-room--one { display: block; }
  .dsg-faq__item summary { padding: var(--s-5) 44px var(--s-5) 0; }
  .dsg-faq__item summary::after { top: 22px; }
  .dsg-faq p { padding-right: 0; }
  .dsg-use, .dsg-faq { padding: var(--s-8) var(--pad-x-sm) 0; }
  .dsg-room__grid, .dsg-room__grid[data-n="3"] { grid-template-columns: 1fr; }
  .dsg-pager { grid-template-columns: 1fr 1fr; padding: var(--s-8) var(--pad-x-sm); }
  .dsg-pager .dsg-pager__index { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* ─── Study designs: each mould on its own, lettered as in the lay drawing ─── */
.dsg-moulds { max-width: var(--maxw); margin: 0 auto; box-sizing: border-box; padding: 0 var(--pad-x) var(--s-10); }
.dsg-moulds__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-9); align-items: end; margin-bottom: var(--s-7); }
.dsg-moulds__head p { font-size: var(--t-body); line-height: 1.75; color: var(--ink-2); margin: 0; max-width: 520px; }
.dsg-moulds__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-6); }
.dsg-moulds figure { margin: 0; }
.dsg-moulds img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--bg-alt); }
.dsg-moulds figcaption { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1; color: var(--ink); padding-top: var(--s-3); }
@media (orientation: portrait), (max-width: 820px) {
  .dsg-moulds { padding: 0 var(--pad-x-sm) var(--s-8); }
  .dsg-moulds__head { grid-template-columns: 1fr; gap: var(--s-4); }
  .dsg-moulds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
}

/* ─── Share (Paylaş): the panel on a design page and the plain share view (tools/build_designs.py, share.js) ─── */
button.sys-link { font-family: inherit; background: none; border: 0; border-bottom: 1px solid var(--border-strong); padding: 0 0 4px; cursor: pointer; }
button.btn-primary { border: 0; cursor: pointer; }
.shr-dialog { margin: auto; border: 0; padding: 0; background: var(--bg); color: var(--ink); width: min(480px, calc(100vw - 2 * var(--pad-x-sm)));
  box-shadow: 0 24px 60px rgba(var(--ink-rgb), 0.25); }
.shr-dialog::backdrop { background: rgba(var(--ink-rgb), 0.45); }
.shr-dialog__form { position: relative; padding: var(--s-7); display: grid; gap: var(--s-4); }
.shr-dialog__h { font-family: var(--font-display); font-weight: 300; font-size: 32px; line-height: 1.1; margin: 0; padding-right: var(--s-7); }
.shr-dialog__form p { margin: 0; font-size: var(--t-body-sm); line-height: 1.7; color: var(--ink-2); }
.shr-dialog label { display: grid; gap: var(--s-2); font-size: var(--t-label); letter-spacing: var(--tr-wide); text-transform: uppercase; color: var(--ink-muted); }
.shr-dialog input { font-family: inherit; font-size: var(--t-body); letter-spacing: normal; text-transform: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 0; padding: 12px 13px; }
.shr-dialog input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.shr-dialog [hidden] { display: none; }
.shr-dialog__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-3); }
.shr-dialog__status { min-height: 1.4em; overflow-wrap: anywhere; }
.shr-dialog__close { position: absolute; top: var(--s-3); right: var(--s-3); width: 44px; height: 44px; background: none; border: 0;
  font-size: 26px; line-height: 1; color: var(--ink-muted); cursor: pointer; }
.shr-dialog__close:hover { color: var(--accent); }

.shr-bar { max-width: var(--maxw); margin: 0 auto; box-sizing: border-box; padding: var(--s-6) var(--pad-x);
  display: flex; justify-content: space-between; align-items: center; }
.shr-logo img { display: block; height: 34px; width: auto; }
.shr-main { max-width: var(--maxw); margin: 0 auto; box-sizing: border-box; padding: 0 var(--pad-x) var(--s-9); }
.shr-head { padding: var(--s-7) 0 var(--s-8); max-width: 640px; }
.shr-head .eyebrow { margin-bottom: var(--s-5); }
.shr-head .sys-lede { max-width: 560px; margin: 0; }
.shr-meta { margin: 0 0 var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-7); }
.shr-meta[hidden], .shr-meta div[hidden] { display: none; }
.shr-meta div { display: flex; flex-direction: column; gap: 2px; }
.shr-meta dt { font-size: var(--t-label); letter-spacing: var(--tr-wide); text-transform: uppercase; color: var(--ink-muted); }
.shr-meta dd { margin: 0; font-family: var(--font-display); font-size: 26px; line-height: 1.2; color: var(--ink); }
.shr-fig { margin: 0 0 var(--s-8); }
.shr-fig img { display: block; width: 100%; height: auto; background: var(--bg-alt); }
.shr-fig figcaption { font-size: var(--t-body-sm); color: var(--ink-muted); padding-top: var(--s-3); }
.shr-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; margin-bottom: var(--s-8); }
.shr-pair .shr-fig { margin: 0; }
.shr-drawing p { font-size: var(--t-body); line-height: 1.75; color: var(--ink-2); max-width: 560px; margin: 0 0 var(--s-6); }
.shr-foot { border-top: 1px solid var(--border-strong); padding-top: var(--s-5); display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: var(--s-3); font-size: var(--t-body-sm); color: var(--ink-muted); }
.shr-foot a { color: inherit; }
/* a relief design's share view: the relief on its wall colour under the live light (the canvas covers the box); a field
   relief fills a 3:2 box edge to edge, as on its page */
.shr-relief .relief-light { display: flex; justify-content: center; }
.shr-fig.shr-relief .relief-light__poster { width: auto; max-width: 100%; max-height: 82svh; background: none; }
.shr-relief--field .relief-light { aspect-ratio: 3 / 2; }
.shr-fig.shr-relief--field .relief-light__poster { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 100%; max-width: none; max-height: none; }
.shr-pair--relief .shr-fig img { width: auto; max-width: 100%; max-height: 82svh; margin: 0 auto; }
.shr-depth img { width: auto; max-width: min(100%, 560px); }
@media (orientation: portrait), (max-width: 820px) {
  .shr-bar { padding: var(--s-5) var(--pad-x-sm); }
  .shr-main { padding: 0 var(--pad-x-sm) var(--s-8); }
  .shr-head { padding: var(--s-5) 0 var(--s-7); }
  .shr-pair { grid-template-columns: 1fr; gap: var(--s-6); }
}
@media print {
  @page { size: A4; margin: 14mm; }
  .shr { background: #fff; }
  .shr::before { display: none; }
  .shr .shr-pdf { display: none; }
  .shr-bar, .shr-main { max-width: none; padding-left: 0; padding-right: 0; }
  .shr-fig, .shr-pair, .shr-meta { break-inside: avoid; }
  .shr-drawing { break-before: page; }
  .shr .relief-light__canvas { display: none; }
  .shr-fig.shr-relief .relief-light__poster, .shr-pair--relief .shr-fig img { max-height: 180mm; }
}

/* Parked system pages (sistem-mordent, redirected) still use this markup */
.sys-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); align-items: start; }
.sys-figures figure { margin: 0; }
.sys-figures img { display: block; width: 100%; height: auto; background: var(--bg-alt); }
.sys-figures figcaption { font-size: var(--t-body-sm); color: var(--ink-muted); padding-top: var(--s-2); }
@media (max-width: 720px) { .sys-figures { grid-template-columns: 1fr; } }
