/* ==========================================================================
   Butiksskærme og touchskærme
   (pages/instoretv.html og pages/digital-infoskranke.html)

   Kun det, der er særligt for de to sider. Alt andet ligger i site.css.
   Samme regler som site.css: hjørner 0-2px, ingen glød, ingen skygger,
   tekst på orange er altid mørk.

   Indhold:
    1. Tegninger i sidehovedet
    2. Dagsplan (butiksskærme)
    3. Tegning: enkel skabelon (butiksskærme)
    4. Funktionsliste med numre (touchskærme)
    5. Tegning: plantegning med rute (touchskærme)
    6. Tegning: skærmen i pause (touchskærme)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Tegninger i sidehovedet
   -------------------------------------------------------------------------- */
/* Touchskærmen står på fod og er høj. Giv den mere plads. */
.ill--tall { aspect-ratio: 1 / 1; }


/* --------------------------------------------------------------------------
   2. Dagsplan. Viser én dag i et bageri: hvornår skærmen tænder,
      hvilke spots der kører, og hvornår den slukker.
      Tidslinjen går fra kl. 4 til kl. 19 i halve timer (30 felter).
      Felt 1 = 04.00, felt 5 = 06.00, felt 13 = 10.00 osv. (kl. x = 2x - 7).
      Hvert spot får style="--a: start; --b: slut".
      Mobil og tablet: lodret. Fra 900px: vandret.
   -------------------------------------------------------------------------- */
.dayplan {
  margin: 0;
  background: #111315;
  border: 1px solid var(--line-dark);
  padding: clamp(18px, 3vw, 32px);
  color: var(--on-dark);
  --fg: var(--on-dark); --fg-muted: var(--on-dark-muted); --body: var(--body-dark);
}
.dayplan__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 14px 24px; margin-bottom: 24px;
}
.dayplan__title { font: 600 12.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }

/* Ugedage: én række felter, der deler streger (som en kalender) */
.dayplan__days {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%; max-width: 360px;
  border: 1px solid var(--line-dark-strong);
}
.dayplan__days span {
  padding: 9px 0; text-align: center;
  font: 600 12px/1 var(--mono); letter-spacing: .04em; color: var(--on-dark-muted);
}
.dayplan__days span + span { border-left: 1px solid var(--line-dark); }
.dayplan__days .on { background: var(--orange); color: var(--ink); }

.dayplan__grid {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: repeat(30, minmax(12px, auto));
  column-gap: 12px;
}
.dayplan__slot {
  grid-column: 2; grid-row: var(--a) / var(--b);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 4px;
  margin: 1px 0; padding: 10px 12px 12px;
  background: #1d2024;
  border-top: 2px solid var(--orange);
  min-width: 0;
}
.dayplan__slot small {
  font: 600 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange);
}
.dayplan__slot b { font-size: 15.5px; font-weight: 700; line-height: 1.2; color: var(--on-dark); overflow-wrap: break-word; }
/* Spottet, der kører lige nu */
.dayplan__slot--now { background: var(--orange); border-top-color: var(--ink); }
.dayplan__slot--now small,
.dayplan__slot--now b { color: var(--ink); }
/* Skærmen er slukket */
.dayplan__slot--off {
  background: transparent; border: 1px solid var(--line-dark); justify-content: center;
}
.dayplan__slot--off b { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); }

.dayplan__tick {
  grid-column: 1; grid-row: var(--a) / span 2;
  margin-top: 1px; padding-top: 6px;
  border-top: 1px solid var(--line-dark-strong);
  font: 500 12px/1 var(--mono); color: var(--on-dark-muted);
}
.dayplan figcaption { margin-top: 20px; font-size: 14.5px; line-height: 1.5; color: var(--on-dark-muted); max-width: 46em; }

@media (min-width: 900px) {
  .dayplan__grid {
    grid-template-columns: repeat(30, minmax(0, 1fr));
    grid-template-rows: auto auto;
    column-gap: 0; row-gap: 10px;
  }
  .dayplan__slot {
    grid-row: 1; grid-column: var(--a) / var(--b);
    min-height: 112px; margin: 0 1px; padding: 12px 12px 14px;
    border-top-width: 3px;
  }
  .dayplan__slot:not(.dayplan__slot--off) b { font-size: 15px; }
  .dayplan__slot--off { border-top-width: 1px; padding-inline: 8px; align-items: center; }
  .dayplan__slot--off b { letter-spacing: .02em; }
  .dayplan__tick {
    grid-row: 2; grid-column: var(--a) / span 3;
    margin: 0 0 0 1px; padding: 6px 0 0 8px;
    border-top: 0; border-left: 1px solid var(--line-dark-strong);
  }
}
/* Smal computer/tablet på tværs: lidt mindre luft, så ordene kan stå hele */
@media (min-width: 900px) and (max-width: 1079.98px) {
  .dayplan__slot { padding-inline: 8px; }
  .dayplan__slot:not(.dayplan__slot--off) b { font-size: 14px; overflow-wrap: normal; }
}
@media (min-width: 1080px) {
  .dayplan__slot:not(.dayplan__slot--off) b { font-size: 16.5px; }
}


/* --------------------------------------------------------------------------
   3. Tegning: enkel skabelon. Et vindue på computeren med felter til
      venstre og spottet, som det ser ud på skærmen, til højre.
      Bruges i .ill.ill--light.
   -------------------------------------------------------------------------- */
.ill--tpl { aspect-ratio: 4 / 3; }
@media (min-width: 600px) { .ill--tpl { aspect-ratio: 16 / 11; } }

.ill-tpl {
  position: absolute; inset: max(40px, 10%) 6% 8%;
  display: grid; grid-template-rows: auto 1fr;
  background: #ffffff; border: 1px solid #cfc8bc;
  color: #1d1f22;
}
.ill-tpl__bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 4%;
  padding: 2.2cqw 3cqw; border-bottom: 1px solid #e0dbd1;
  font-size: clamp(9px, 2.3cqw, 16px); font-weight: 700; letter-spacing: -0.01em;
}
.ill-tpl__bar span { font: 500 clamp(7px, 1.6cqw, 12px)/1 var(--mono); color: #6b6f74; }
.ill-tpl__body {
  display: grid; grid-template-columns: 42% 1fr; gap: 4cqw;
  padding: 3cqw; align-items: center;
}
.ill-tpl__form { display: grid; gap: 1.6cqw; align-content: center; }
.ill-tpl__field { margin: 0; }
.ill-tpl__field small {
  display: block; margin-bottom: .7cqw;
  font: 600 clamp(6px, 1.35cqw, 10px)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #6b6f74;
}
.ill-tpl__field span {
  display: block; padding: 1.1cqw 1.3cqw;
  background: #faf8f4; border: 1px solid #d9d3c8;
  font-size: clamp(7px, 1.75cqw, 13px); font-weight: 650; line-height: 1.15; white-space: nowrap; overflow: hidden;
}
.ill-tpl__field .is-img { height: 6.5cqw; padding: 0; background: #ead7bd; border-color: #d9c4a6; position: relative; }
.ill-tpl__field .is-img::after { /* lille "billede" af en kage */
  content: ""; position: absolute; left: 12%; bottom: 18%; width: 30%; height: 46%; background: #b7783d;
}
.ill-tpl__save {
  justify-self: start; padding: 1.1cqw 2cqw; background: #1d1f22; color: #f3f1ec;
  font-size: clamp(6px, 1.5cqw, 11px); font-weight: 700;
}
.ill-tpl__preview { display: grid; gap: 1.6cqw; }
.ill-tpl__label { font: 600 clamp(6px, 1.35cqw, 10px)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #6b6f74; }
.ill-tpl__screen {
  aspect-ratio: 16 / 9; background: #050506; border: 1px solid #34383d; padding: .9cqw;
}
.ill-tpl__spot {
  height: 100%; background: var(--orange); color: #1b0f04;
  display: grid; grid-template-columns: 1fr 32%; gap: 6%; align-items: center; padding: 7% 8%;
}
.ill-tpl__spot strong { display: block; font-size: clamp(9px, 3.3cqw, 24px); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }
.ill-tpl__spot small { display: block; margin-top: 8%; font: 600 clamp(6px, 1.4cqw, 11px)/1.2 var(--mono); }
.ill-tpl__spot i { display: block; aspect-ratio: 1; background: #f3d2a8; border: .5cqw solid #1b0f04; position: relative; }
.ill-tpl__spot i::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 18%; height: 40%; background: #b7783d; }


/* --------------------------------------------------------------------------
   4. Funktionsliste. Streg over hvert punkt, tre spalter på computer.
      Ingen numre: 01, 02 ... er forbeholdt de fire områder og trinene.
   -------------------------------------------------------------------------- */
.fnlist {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0 var(--gap);
}
.fnlist > li { padding: 18px 0 22px; border-top: 1px solid var(--rule-strong); }
.fnlist h3 { font-size: 1.1rem; line-height: 1.35; }
.fnlist p { margin-top: 6px; color: var(--body); }
@media (min-width: 600px) {
  .fnlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .fnlist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* --------------------------------------------------------------------------
   5. Tegning: plantegning med rute (SVG inde i .ill.ill--light.ill--plan).
      Farverne for afdelingerne er de samme som i touchskærm-tegningen.
   -------------------------------------------------------------------------- */
.ill--plan { --pad: clamp(10px, 2.5vw, 24px); aspect-ratio: auto; display: block; padding: var(--pad); }
.ill--plan .ill__tag { top: calc(var(--pad) + 10px); right: calc(var(--pad) + 10px); }
.ill--plan svg { width: 100%; height: auto; }
.plan text { font-family: var(--sans); fill: #1d1f22; }
.plan .plan__screen { fill: #ffffff; stroke: #d9d3c8; }
.plan .plan__hall { fill: #dcdfe2; }
.plan .plan__room { stroke: #ffffff; stroke-width: 2; }
.plan .plan__room--a { fill: #f7d97a; }
.plan .plan__room--b { fill: #9fd6e8; }
.plan .plan__room--c { fill: #e7b3e3; }
.plan .plan__room--d { fill: #cfe7c0; }
.plan .plan__goal { fill: none; stroke: #1d1f22; stroke-width: 3; }
.plan .plan__num { font-size: 13px; font-weight: 600; fill: #3b3e42; }
.plan .plan__route { fill: none; stroke: #c4601a; stroke-width: 5; stroke-linejoin: round; stroke-linecap: square; }
.plan .plan__you { fill: #c4601a; }
.plan .plan__small { font-size: 16px; font-weight: 600; fill: #44484d; }
.plan .plan__big { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.plan .plan__mid { font-size: 18px; font-weight: 650; }
.plan .plan__mono { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; fill: #5d6166; }
.plan .plan__rule { stroke: #e0dbd1; stroke-width: 1; }
.plan .plan__arrow { fill: none; stroke: #1d1f22; stroke-width: 2.5; }
.plan .plan__sw { stroke: none; }


/* --------------------------------------------------------------------------
   6. Tegning: touchskærm på væggen, mens ingen bruger den.
      Viser dagens menu og dagens program, som en infoskærm.
   -------------------------------------------------------------------------- */
.ill-standby { position: absolute; inset: 0; }
.ill-standby__screen {
  position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%);
  width: 78%; aspect-ratio: 16 / 9;
  background: #050506; border: 1px solid #34383d; padding: 1.1cqw;
}
.ill-standby__ui {
  height: 100%; background: #f3f1ec; color: #1d1f22;
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto 1fr auto;
  gap: 3.2% 4%; padding: 3.6% 4%;
}
.ill-standby__top {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 1.6%; border-bottom: 1px solid #e0dbd1;
  font-size: clamp(8px, 2.2cqw, 16px); font-weight: 700; letter-spacing: -0.01em;
}
.ill-standby__top span { font: 500 clamp(7px, 1.6cqw, 12px)/1 var(--mono); color: #6b6f74; }
.ill-standby__menu {
  background: var(--orange); color: #1b0f04;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 6% 7%;
}
.ill-standby__menu small { font: 600 clamp(6px, 1.4cqw, 11px)/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ill-standby__menu strong { display: block; margin-top: 5%; font-size: clamp(9px, 2.9cqw, 22px); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.ill-standby__list { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.ill-standby__list li {
  display: grid; grid-template-columns: 30% 1fr; align-items: baseline;
  padding: 5% 0; border-bottom: 1px solid #e0dbd1;
  font-size: clamp(7px, 1.75cqw, 13px); font-weight: 650; line-height: 1.15;
}
.ill-standby__list b { font: 600 clamp(6px, 1.45cqw, 11px)/1 var(--mono); color: #6b6f74; }
.ill-standby__foot {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center; gap: 4%;
  font-size: clamp(6px, 1.5cqw, 11px); font-weight: 650; color: #55595e;
}
.ill-standby__dots { display: flex; gap: .7cqw; }
.ill-standby__dots i { display: block; width: 2.4cqw; height: .55cqw; background: #cfc8bc; }
.ill-standby__dots i.on { background: var(--orange); }
