/* NoWayOut · the rooms of a venue side by side · compare.css (tools/make_compare.py writes the page; owner, 20 Nov 2026: "comparison
   pages- great. Lets use them on monday too"). The approved mock-up of 20 Nov (design/nowayout/combined/compare/), made a page of the build.
   Built only from the system: base.css (type, rules, chips, flags, buttons, fields), lists.css (the black head of a list page, the line
   of the price), blocks.css (the questions, the contact). Nothing here adds a gradient, a shadow, a blur, a round corner or an underline.
   ONE table for both screens (owner, 20 Nov: "on desktop you see all 5 rooms in a row but phone let you choose 2 to compare"):
     .cx           every row (.cx__row) holds its name (.cx__lab) and the rooms' cells (.cx__c[data-room]), in the order of the venue's board;
                   --n is the number of rooms (Vienna and Westfield SCS 5, Innsbruck 4, Linz 3)
     a phone       the page shows the two rooms a visitor chose with the two fields (.cx__pick, kept at the top): their cells carry
                   data-col="1" or "2" (compare.js moves it); the name of a row stands across both columns
     from 1000 px  the rooms stand side by side: the names of the rows on the left, the heads (photo, name) on top, kept at the top
                   while the page scrolls, with the one price in their corner. 1000 px is MEASURED, not guessed (node
                   tools/shots-compare.js --measure): the widest thing a column must hold without a break, in each band of type, is a
                   slot chip of a day further ahead, "Mo., 23. Nov. 22:45" (139 px; "Mon 23 Nov 22:45" 137 px), wider than anything
                   else a cell holds (at most 124 px). Five such columns, with 8 px on each side, beside the names (140 px) and the page
                   margins (2 x 40 px) need 995 px; from 1200 px (bigger type, names 190 px, margins 2 x 56 px) 1,097 px. Below 1000 px
                   a tablet or a narrow window shows the two rooms of a phone. Fewer rooms than five fit sooner; one breakpoint for all.
   Index: 1 the line of the price · 2 the cells · 3 a phone · 4 side by side · 5 wider screens */

/* ---------- 1 the black head and the line of the price ---------- */
.lfirst--cmp{display:block}
/* the three shared facts: on a phone the language takes its own line, and no rule is left hanging at the end of the first */
@media (max-width:599px){
  .lfirst--cmp .lhead__facts li:nth-child(2){border-right:0;margin-right:0;padding-right:0}
  .lfirst--cmp .lhead__facts li:nth-child(3){flex-basis:100%;margin-top:4px}
}
.cmp__now{padding-bottom:0}
.cmp__price .lbd__head{align-items:flex-end;gap:4px 12px}
.cmp__same{display:flex;flex-direction:column;gap:3px}
.cmp__same .lab{color:var(--ink)}
.cmp__basis{font-size:var(--fs-note);line-height:1.2;font-weight:600;color:var(--ink-2)}

/* ---------- 2 the cells: a value in the poster voice, small lines under it; the story and "good for" as text. Compact (owner,
   20 Nov: "more compact (does not mean less rows, just less distance between)"): small gaps, tight rows, the type keeps its sizes ---------- */
.cmp__t{font-size:var(--fs-note);line-height:1.28;color:var(--ink-2);text-wrap:pretty}
.cmp__t--b{color:var(--ink);font-weight:700;line-height:1.22}
.cmp__sep{color:var(--ink-3);font-weight:400}
.cmp__v{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-chip);line-height:1;letter-spacing:.01em;text-transform:uppercase;color:var(--ink);text-wrap:balance}
html[lang=de] .cmp__v{line-height:1.02}
.cmp__v--s{font-size:1.125rem}
.cmp__v--no{color:var(--ink-3)}
.cmp__n{margin-top:3px;font-size:var(--fs-note);line-height:1.24;color:var(--ink-2);text-wrap:pretty}
.cmp__n+.cmp__n{margin-top:2px}
.cmp__n [data-actor-price]{white-space:nowrap}      /* "+€34" never breaks after its sign */
.cmp__small{font-size:var(--fs-lab);color:var(--ink-3)}
.cmp__count{font-size:var(--fs-note);line-height:1.24;color:var(--ink-2);text-wrap:pretty}
.cmp__count b{display:block;margin-bottom:1px;font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-name);line-height:.9;color:var(--ink)}
.cmp__dash{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-chip);line-height:1;color:var(--ink-3)}
.cmp__flag{padding:1px 0 0 2px}
.cmp__flag .flag{font-size:var(--fs-text);padding:5px 9px 4px}
/* the next slot: lists.js puts the room's chip in (a tap opens the booking step); the grey tile keeps its place while slots load */
.cmp__next{min-height:40px}
.cmp__next .chip--next{min-height:40px;padding-inline:10px}
/* the red button of a room: it opens the booking step for that room on this page. Its words may take two lines, the arrow at the foot */
.cmp__go{align-items:flex-end;gap:8px;min-height:52px;padding:9px 12px 9px 13px;font-size:var(--fs-chip);line-height:1.02;text-wrap:balance}
.cmp__go span{min-width:0}
.cmp__go svg{width:20px;height:20px;margin-bottom:1px}
.cmp__nojs,.cmp__fail{margin:10px var(--pad) 0}

/* ---------- 3 a phone (and any window narrower than the side-by-side table): two rooms, each chosen with its field ---------- */
.cx{position:relative;margin-top:10px}
.cx__pick{position:sticky;top:var(--stick,0px);z-index:20;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;
  padding:6px var(--pad);background:var(--paper);border-bottom:var(--rule) solid var(--ink)}
.cx__sel{min-height:52px}
.cx__sel .field__v{white-space:normal;overflow:visible;text-overflow:clip;padding:6px 30px 4px 11px;font-size:var(--fs-text);line-height:1.02;text-wrap:balance}
.cx__sel::after{right:12px}
.cx__heads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;padding:8px var(--pad) 6px}
.cx__corner{display:none}
.cx__room{position:relative;display:none;min-width:0;color:var(--ink);text-decoration:none}
.cx__room:focus-visible{outline-offset:-3px}
.cx__pic{aspect-ratio:16/10}
.cx__pic img{object-position:var(--pos,50% 35%)}
.cx__room--da-vinci{--pos:28% 30%}
.cx__room--mission-belvedere{--pos:62% 40%}
.cx__room--the-unknown{--pos:74% 40%}
.cx__name{display:none}
.cx__to{position:absolute;left:0;bottom:0;padding:6px 9px 5px}      /* on the foot of the photograph */
.cx__room:active .cx__to{background:var(--red)}
.cx__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;padding:8px var(--pad) 10px;border-bottom:1px solid var(--hair)}
.cx__lab{grid-column:1/-1;grid-row:1;margin-bottom:5px;color:var(--ink)}
.cx__c{display:none;min-width:0}
/* the two chosen rooms: their column. A room no field has chosen is not shown on this screen */
.cx [data-col="1"]{display:block;grid-column:1}
.cx [data-col="2"]{display:block;grid-column:2}
.cx__room[data-col]{grid-row:1}
.cx__c[data-col]{grid-row:2}
.cx__row--next,.cx__row--go{border-bottom:0}
.cx__row--next{padding-bottom:8px}
.cx__row--go{padding-top:0;padding-bottom:4px}
.cx__row--go .cx__lab{display:none}

@media (max-width:359px){.cx__pick,.cx__heads,.cx__row{column-gap:10px}}
@media (min-width:600px){
  .cx__pick,.cx__heads,.cx__row{column-gap:var(--gap)}
  .cx__sel .field__v{font-size:var(--fs-chip)}
  .cmp__t{font-size:var(--fs-text)}
  .cmp__go{align-items:center}
  .cx__pic{aspect-ratio:auto;height:clamp(160px,22vw,220px)}      /* a tablet: the two photographs do not fill the screen */
}

/* ---------- 4 side by side, from 1000 px (measured; see the head of this file) ----------
   The names of the rows in a column of their own, the rooms in equal columns; the heads stay at the top under the bar */
@media (min-width:1000px){
  .cx{--lab:140px;--cx:8px;max-width:calc(var(--max) + 2 * var(--pad));margin:16px auto 0;padding:0 var(--pad)}
  .cx__line,.cx__pick{display:none}
  .cx__heads,.cx__row{grid-template-columns:var(--lab) repeat(var(--n,5),minmax(0,1fr));column-gap:0}
  .cx__heads{position:sticky;top:var(--stick,0px);z-index:20;padding:0;background:var(--paper);border-bottom:var(--rule) solid var(--ink)}
  /* every room in its own column, chosen or not (data-i: its place among the rooms, after the column of the names) */
  .cx [data-room],.cx [data-col]{display:block;grid-row:1}
  .cx [data-i="2"]{grid-column:2}.cx [data-i="3"]{grid-column:3}.cx [data-i="4"]{grid-column:4}.cx [data-i="5"]{grid-column:5}.cx [data-i="6"]{grid-column:6}
  .cx__corner{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:flex-end;padding:0 10px 8px 0}
  .cx__price{display:flex;flex-direction:column;align-items:flex-start}
  .cx__every{margin-bottom:4px;color:var(--ink);letter-spacing:.05em}
  .cx__price b{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-btn);line-height:.95;letter-spacing:0;color:var(--ink);white-space:nowrap}
  .cx__price .flag{margin:0 0 5px 1px}
  .cx__pp{margin-top:2px;font-size:var(--fs-note);line-height:1.2;font-weight:600;font-stretch:87%;color:var(--ink-2)}
  .cx__price .cmp__basis{font-size:var(--fs-note);font-stretch:87%}
  .cx__room{padding:0 var(--cx) 6px}
  .cx__pic{aspect-ratio:auto;height:96px}
  .cx__name{display:block;margin-top:5px;font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-chip);line-height:1;letter-spacing:.005em;text-transform:uppercase;text-wrap:balance}
  .cx__room:active .cx__name{color:var(--red-deep)}
  .cx__to{display:none}
  .cx__row{padding:8px 0 9px}
  .cx__lab{grid-column:1;grid-row:1;margin:2px 0 0;padding-right:12px}
  .cx__c{padding:0 var(--cx)}
  .cx__row--go .cx__lab{display:block}
  .cmp__nojs,.cmp__fail{margin-inline:var(--edge)}
  .cmp__go{align-items:center;font-size:var(--fs-text);padding:9px 10px 9px 12px}
}
/* ---------- 5 wider screens ---------- */
@media (min-width:1200px){
  .cx{--lab:190px;--cx:10px}
  .cx__pic{height:112px}
  .cx__name{font-size:var(--fs-btn)}
  .cx__price b{font-size:var(--fs-time)}
  .cmp__v{font-size:var(--fs-btn)}
  .cmp__v--s{font-size:var(--fs-chip)}
  .cmp__go{font-size:var(--fs-chip);padding:10px 14px 10px 16px}
}
@media print{.cx__pick{position:static}}
