/* Marketing › Skitour (Ben, 18.11.2026; public/skitour.js). Every piece is an existing OS class: the head Today's tile (.td-head .td-date
   .td-say, as Analytics), a stage Today's heading (.h-sec .td-n), a stop and a store the list row (.li, .li--static, .li-t .li-s .li-m,
   .li-sec), Edit/Maps/CRM the quiet text link (.link-btn), the forms the CI's fields (.field .input .select .check) in the sheet. The rules
   here only place them, scoped to #view-skitour and the sheet's .sk-sheet. Tokens only (no colour, shadow or font of its own), no italic,
   letter-spacing the OS's (inherited). Each rule names the existing rule it is modelled on. */

/* the head: Today's tile without the greeting's height (Analytics' .an-head .td-say) */
#view-skitour .sk-head .td-say { min-height: 0; }

/* a stage: Today's heading with the count's place for the month (#view-analytics .an-sec > .h-sec) */
#view-skitour .sk-stage { margin-top: var(--s-7); }
#view-skitour .sk-stage > .h-sec { display: flex; align-items: baseline; gap: var(--s-3); margin: 0 0 var(--s-1); padding-bottom: var(--s-2); border-bottom: var(--bw-thin) solid var(--ink); }
#view-skitour .sk-stage > .h-sec .td-n { margin: 0; }
#view-skitour .sk-edit { margin-left: auto; font-size: var(--t-sm); }                 /* .td-link's place in Season's .h-sec */

/* the page's credit and the sheet's: small and quiet (.li-m's size and colour) */
#view-skitour .sk-credit, .sk-sheet .sk-credit { margin: var(--s-7) 0 0; font-size: var(--t-xs); color: var(--slate); }
#view-skitour .sk-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sk-sheet .sk-credit { margin-top: var(--s-5); }

/* the sheet: the OS's, its parts as the account sheet's lines (.as-sec) and Hardware's form (.hw-form, .hw-hint) */
.sk-sheet .sk-when { margin: 0; font-size: 15px; color: var(--graphite); }
.sk-sheet .sk-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin: var(--s-3) 0 0; font-size: var(--t-sm); }
.sk-sheet .sk-links .link-btn, .sk-sheet .sk-acts .link-btn { color: var(--ink); }
.sk-sheet .sk-note { margin: var(--s-3) 0 0; max-width: 36em; font-size: 15px; line-height: 1.5; color: var(--ink); }    /* Analytics' .an-text */
.sk-sheet .sk-read { margin: var(--s-5) 0 0; font-size: var(--t-sm); color: var(--graphite); }
.sk-sheet .sk-hint { margin: var(--s-2) 0; font-size: var(--t-xs); color: var(--slate); }                                /* .hw-hint */
.sk-sheet .sk-more { margin: var(--s-3) 0 0; font-size: var(--t-sm); }
.sk-sheet .sk-problem { margin: var(--s-3) 0 0; color: var(--negative); }                                                  /* .msg.is-error */
.sk-sheet .sk-sk { display: block; height: 96px; margin-top: var(--s-3); border-radius: 16px; }                           /* Analytics' .an-sk */
@media (prefers-reduced-motion: reduce) { .sk-sheet .skeleton { animation: none; } }

/* a row with links on its right instead of a chevron: the text takes the room, the links stay one line each */
.sk-sheet .sk-li .li-r { align-self: start; gap: var(--s-4); padding-top: 1px; }
.sk-sheet .sk-li .li-t, .sk-sheet .sk-li .li-s, .sk-sheet .sk-li .li-m { white-space: normal; overflow-wrap: anywhere; }     /* .an-rows' lines */
.sk-sheet .sk-acts { align-items: baseline; }                                  /* a button and a link on one line sit on one baseline */
.sk-sheet .sk-acts .link-btn { white-space: nowrap; }
@media (max-width: 720px) {
  .sk-sheet .sk-li { grid-template-columns: minmax(0, 1fr); }
  .sk-sheet .sk-li .li-r { grid-column: 1; grid-row: auto; margin-top: var(--s-1); }
}

/* the forms: Hardware's grid of fields (.hw-form) */
.sk-form { display: grid; gap: var(--s-4); margin-top: var(--s-2); }
.sk-form textarea.input { resize: vertical; min-height: 64px; }
.sk-form .sheet-actions { gap: var(--s-4); }
.sk-form .sheet-actions .link-btn { justify-self: center; }
.sk-sheet .sk-find { display: flex; align-items: flex-end; gap: var(--s-3); }
.sk-sheet .sk-find-in { flex: 1; min-width: 0; }
.sk-sheet .sk-find .btn { flex: none; }

/* the brands (18.11.2026): under a stage's heading and in a stop's sheet a quiet line as .sk-read, its links as .sk-links'; the picker
   Season's toggle chips (.chip .chip-tog, Ink when on) in a wrapping row as Access's brand chips (.acc-chips); the fieldset without its box */
#view-skitour .sk-stage-brands { margin: var(--s-2) 0 var(--s-1); font-size: var(--t-sm); color: var(--graphite); }
.sk-sheet .sk-brands { margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--graphite); }
.sk-sheet .sk-brands .link-btn { color: var(--ink); }
.sk-sheet .sk-brands-acts { display: inline-block; white-space: nowrap; }        /* "· Change · Back to the stage's brands" wraps as one */
/* Instagram links (19.11.2026): "Link for Instagram · Copy EN · Copy DE" as the brands line (same size, colour and quiet links), the hint
   under it as .sk-hint; the same two in the Skitour tab's head ("Bio link"), where there is no .sk-sheet around them */
.sk-ig { margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--graphite); }
.sk-ig .link-btn { color: var(--ink); }
.sk-ig-acts { display: inline-block; white-space: nowrap; }
#view-skitour .sk-ig-hint { margin: var(--s-1) 0 0; font-size: var(--t-xs); color: var(--slate); }
.sk-sheet .sk-ig-hint { margin: var(--s-1) 0 0; }
.sk-sheet .sk-pick { display: grid; gap: var(--s-2); min-width: 0; margin: 0; padding: 0; border: 0; }
.sk-sheet .sk-pick legend { padding: 0; margin-bottom: var(--s-2); }
.sk-sheet .sk-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); min-width: 0; }
/* a long name ends in "…" inside its chip (the whole name in the chip's title), as the account sheet's lines (.acc-al-a) */
.sk-sheet .sk-chips .chip { max-width: 100%; min-width: 0; }
.sk-sheet .sk-chips .sk-chip-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* what "Add to CRM" will make: the facts box's lines (.dash-kv) */
.sk-sheet .sk-facts { margin-top: var(--s-3); border-top: var(--bw-hair) solid var(--mist); }
.sk-sheet .sk-fact { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: var(--bw-hair) solid var(--mist); font-size: 15px; }
.sk-sheet .sk-fact span { flex: none; color: var(--slate); }
.sk-sheet .sk-fact b { min-width: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.sk-sheet .sk-fact b.sk-unknown { font-weight: 400; color: var(--graphite); }                                             /* .li-s's colour: a quiet word, not an alarm */
