/* Die Tafel · Berghotel Gasterntal: Zusammenspiel von Werkzeug-Oberfläche (Rahmen «Die Bühne», Kleid gasterntal) und Arbeitsbereich der Tafel
   (17.10.2026). Kommt nach grund.css, rahmen-buehne.css und kleid/gasterntal.css. Nur transform und opacity bewegen, nichts hält das Scrollen. */

/* Raum: hell wie Papier, die Raute der Laube ganz leise (Tapete aus main.css .laube, hier Tinte 3 %) */
body.lc.wo-app{background:var(--wo-papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='92'%3E%3Cg fill='%231a1f21' fill-opacity='.03'%3E%3Cpath d='M22 14 30 46 22 78 14 46z'/%3E%3Ccircle cx='22' cy='6' r='3'/%3E%3Ccircle cx='22' cy='86' r='3'/%3E%3C/g%3E%3C/svg%3E") 0 0/44px 92px}
.lc .wo-raum{min-width:0}
.lc #kopf{margin-bottom:24px}

/* Kopf: Zustand und wer arbeitet, auf der Talwand */
.lc .wo-kopf__r{gap:8px}
.lc .wo-kopf .zustand{height:40px;padding:0 14px;color:#c9d2b4;box-shadow:inset 0 0 0 1px rgba(201,210,180,.4)}
.lc .wo-kopf .zustand::before{content:'';width:7px;height:7px;border-radius:50%;background:#9fb07a}
.lc .wo-kopf .zustand.rot{color:#f0b9b4;box-shadow:inset 0 0 0 1px rgba(240,185,180,.6)}
.lc .wo-kopf .zustand.rot::before{background:var(--wo-punkt)}
.lc .wo-kopf .wer{height:42px;color:var(--wo-weiss);box-shadow:inset 0 0 0 1px var(--wo-linie-d)}
.lc .wo-kopf .wer i{font-family:var(--wo-titel);font-weight:600}
.lc .wer--handy{display:none}
@media (max-width:1560px){.lc .wo-kopf .zustand span,.lc .wo-kopf .wer>span,.lc .wo-kopf .wer>small{display:none}.lc .wo-kopf .zustand{width:40px;padding:0;justify-content:center}.lc .wo-kopf .wer{padding:0 5px}}
@media (max-width:900px){.lc .wer--handy{display:inline-flex;align-items:center;height:40px;padding:0 4px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--wo-linie-d);justify-self:end;margin-right:8px}
  .lc .wo-kopf{grid-template-columns:minmax(0,1fr) auto auto}}

/* Rand: Karte mit Foto, Wahl Einfach / Fortgeschritten, Wege */
.lc .wo-rand .karten ul{display:grid;gap:6px}
.lc .wo-rand .kw{width:100%;text-align:left;cursor:pointer}
.lc .wo-rand .kw .wo-marke{padding:5px 7px}
.lc .modus-g{margin-top:18px}
.lc .modus-g .wo-mk{display:block;margin-bottom:10px}
.lc .modus.wo-seg{display:grid;grid-template-columns:1fr 1fr;width:100%}
.lc .modus.wo-seg button{padding:10px 8px;text-align:center}
.lc .modus__t{margin:10px 6px 0;font-size:12.5px;line-height:1.5;color:var(--wo-leise)}
.lc .wo-rand .wege{margin-top:18px}

/* Startbild jeder Ansicht: Angaben der Karte neben dem Knopf */
.lc .wo-sb__kn{align-items:center}
.lc .kopf__zahlen{display:flex;gap:26px;margin:0 0 0 12px;flex-wrap:wrap}
.lc .kopf__zahlen div{display:flex;flex-direction:column-reverse}
.lc .kopf__zahlen dd{margin:0;font:var(--wo-titel-g) 24px/1 var(--wo-titel);color:var(--wo-weiss);font-feature-settings:"lnum","tnum"}
.lc .kopf__zahlen dt{margin-top:6px;font:400 13px/1.2 var(--wo-mono);letter-spacing:.18em;text-transform:uppercase;color:var(--wo-gold)}
.lc .wo-sb.auftritt .wo-sb__foto img{animation:tfoto 2.6s var(--wo-e1) both}
.lc .wo-sb.auftritt .wo-sb__text{animation:ttext 1.3s var(--wo-e1) .08s both}
@keyframes tfoto{from{transform:scale(1.1)}to{transform:none}}
@keyframes ttext{from{transform:translateY(46px)}to{transform:none}}
@media (max-width:700px){.lc .kopf__zahlen{margin:12px 0 0;gap:20px}.lc .kopf__zahlen dd{font-size:21px}}

/* Arbeitsbereich in der Fläche des Rahmens */
.lc .arbeit{grid-template-columns:minmax(330px,1fr) minmax(360px,1.05fr)}
@media (max-width:1240px){.lc .arbeit{grid-template-columns:minmax(0,1fr)}.lc .vorschau{position:relative;top:0;height:72vh}}
.lc .teil__k{background:linear-gradient(180deg,#3a4045,#1d2224)}
.lc .teil__k b,.lc .r__t b,.lc .fenster h2,.lc .verlauf__z b,.lc .vgl__z b,.lc .gst-name,.lc .mw-name,.lc .quit b{font-family:var(--serif);font-weight:600;letter-spacing:-.005em}
.lc .r--rubrik .r__t b{font-size:22px}
.lc .r--rubrik{background:rgba(199,207,211,.32)}
.lc .r.gewaehlt{box-shadow:inset 3px 0 0 var(--wo-akzent)}
.lc .vorschau{background:#dfe4e5}
.lc .ansicht{flex-wrap:wrap}
.lc .webwahl button{font-size:13px}
.lc .ansicht button[aria-pressed="true"]{background:var(--wo-nacht)}
/* Knöpfe im Arbeitsbereich: Pille in Schiefer mit rundem Knauf aus Balkonholz (wie auf der Website) */
.lc .kn{--o:#3a4045;--m:#2c3136;--u:#14181a;--ko:#efe2cb;--ku:#d6bb96;--kt:var(--tinte)}
.lc .kn--hell{--o:#fbfcfc;--m:#eef1f1;--u:#d7dddf;--t:var(--tinte);--ko:#3a4045;--ku:#14181a;--kt:#fff}
.lc .kn--gold{--o:#efe2cb;--m:#d6bb96;--u:#a3865c;--t:var(--tinte);--ko:#2c3136;--ku:#14181a;--kt:#fff}

/* Leiste unten: Text-Knopf auf der dunklen Platte, Knöpfe brechen am schmalen Rechner nicht aus */
.lc .wo-leiste .textknopf{color:rgba(246,248,248,.78);text-decoration-color:rgba(214,187,150,.6);margin-right:6px;white-space:nowrap}
.lc .wo-leiste .textknopf:hover{color:#fff}
.lc .wo-leiste__t{min-width:0;flex:1 1 auto}
.lc .wo-leiste__t small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1320px){.lc .wo-leiste__t small{display:none}}
@media (max-width:900px){.lc .wo-leiste__kn{gap:6px}}
.lc.gst-offen .wo-leiste{right:calc(296px + 28px)}
@media (max-width:900px){.lc.gst-offen .wo-leiste{right:10px}}

/* Quittungen über der Leiste, in Schiefer mit Holzkante */
.lc .quit{background:linear-gradient(180deg,#3a4045,#1d2224);box-shadow:0 0 0 1px rgba(214,187,150,.4),0 22px 40px -20px rgba(0,0,0,.6)}
.lc .quit a,.lc .quit button{color:var(--wo-gold)}
.lc .fenster{background:rgba(20,24,26,.62)}
.lc .fenster__k::before{border-color:rgba(163,134,92,.35)}
.lc .fenster h2 em,.lc .anl h1 em{color:var(--wo-akzent)}

/* Handy: Knöpfe einer Zeile brechen um, «Eintrag hinzufügen» der Rubrik bekommt eine eigene Zeile */
@media (max-width:900px),(hover:none){.lc .r__k{flex-wrap:wrap;justify-content:flex-end}.lc .r--rubrik .r__k .kn{flex:1 1 100%;justify-content:space-between}}
body.lc.anl{background:var(--papier)}
/* Handy, Fortgeschritten: liegt «Gestalten» unten als Platte über der Karte, bekommt die Seite unten Luft, damit sich jedes Element über die Platte schieben lässt (Gasterntal 17.10.2026: Tomatesalat lag sonst unter der Platte) */
@media (max-width:900px){body.lc.gst-offen.wo-app{padding-bottom:calc(52vh + 150px)}}

/* ===== Fehlerbuch 10a, Abgleich mit dem Schlössli (20.10.2026) ===== */
/* Knöpfe einer Zeile nie über Bild oder Text, keine Fläche und kein Verlauf dahinter: eigene Zeile unter dem gewählten Eintrag */
.lc .r__k{position:static;transform:none;opacity:1;background:none;padding:6px 0 2px;grid-column:1/-1;display:none;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start}
.lc .r:has(> .r__b) .r__k{grid-column:2/-1}
.lc .r.gewaehlt .r__k,.lc .r:focus-within .r__k{display:flex}
.lc .r:hover .r__p,.lc .r:focus-within .r__p{opacity:1}
.lc .r__k .rund{box-shadow:inset 0 0 0 1px rgba(0,0,0,.22);background:#fff}
.lc .r__k .wo-kn{margin-right:6px}
@media (max-width:900px),(hover:none){.lc .r__k{display:none;justify-content:flex-start}.lc .r.gewaehlt .r__k,.lc .r:focus-within .r__k{display:flex}.lc .r--rubrik .r__k .wo-kn{flex:0 0 auto}}
.lc .neu-zeile{gap:10px;padding:14px 18px 18px 20px}
/* Untere Leiste: Titel nie umbrochen; wird es eng, zeigen die Knöpfe nur ihr Zeichen */
.lc .wo-leiste__t b,.lc .wo-leiste__t strong{white-space:nowrap}
.lc .wo-leiste__t small{white-space:nowrap}
@media (max-width:1320px){.lc .wo-leiste__t small{display:none}}
.lc .wo-leiste__t span{overflow:hidden}
.lc .wo-leiste.eng .wo-kn span{display:none}
.lc .wo-leiste.eng .wo-kn{padding:0;width:42px;justify-content:center}
.lc .wo-leiste.eng .wo-kn i{margin:0}
.lc .wo-leiste.eng .wo-leiste__t small{display:none}
.lc .wo-leiste.enger .wo-leiste__t .wo-marke{display:none}
.lc .wo-leiste.enger .wo-leiste__t b{font-size:15px;overflow:hidden;text-overflow:ellipsis}
.lc.gst-offen .wo-leiste .wo-kn span{display:none}
.lc.gst-offen .wo-leiste .wo-kn{padding:0;width:42px;justify-content:center}
.lc.gst-offen .wo-leiste .wo-kn i{margin:0}
.lc.gst-offen .wo-leiste__t small{display:none}
/* «Gestalten» im Modus Fortgeschritten reicht bis unten; Fenster und linke Kachel schliessen bündig ab */
.lc.gst-offen .gst{bottom:14px;padding-bottom:28px}
@media (min-width:901px){
  .lc.frei .wo-raum{align-self:stretch;display:flex;flex-direction:column}
  .lc.frei .wo-rand{align-self:stretch}
  .lc.frei .arbeit{flex:1;align-items:stretch}
  .lc.frei .vorschau{height:auto;min-height:max(560px,calc(100vh - var(--oben) - var(--leiste) - 200px))}
}
