/* A long multiple-choice list in a window (ui.js): the field shows what is ticked; the window holds the same list. */
.ms-f{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0;padding:10px 14px 10px 16px;border:1px solid rgba(30,24,16,.18);border-radius:16px;background:#FDFBF7;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .25s}
.ms-f:hover{border-color:rgba(30,24,16,.34)}
.ms-f:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.ms-v{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}
.ms-ph{font-size:15px;line-height:1.3;color:var(--ink-2)}
.ms-c{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:var(--sand);font-size:14px;line-height:1.2}
.ms-k{flex:none;font:500 12px/1 var(--f-l);letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2)}
.ms-k:empty{width:9px;height:9px;margin:0 6px 4px 0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.fs.bad .ms-f{border-color:rgba(154,43,18,.55)}
.ms-d{width:min(720px,calc(100% - 2 * var(--gut)));max-width:none;max-height:min(86vh,880px);margin:auto;padding:0;border:0;border-radius:var(--r-xl,36px);background:var(--ivory);color:var(--ink);box-shadow:0 40px 90px -40px rgba(0,0,0,.65);overflow:hidden}
.ms-d[open]{display:flex;flex-direction:column;animation:ms-in .4s cubic-bezier(.2,.7,.2,1)}
.ms-d::backdrop{background:rgba(11,9,7,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
@keyframes ms-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ms-d[open]{animation:none}}
.ms-h{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px 18px 32px;border-bottom:1px solid var(--line-i)}
.ms-t{margin:0;font:400 26px/1.15 var(--f-s);font-stretch:92%}
.ms-x{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 8px 0 10px;border:0;border-radius:999px;background:none;font:500 13px/1 var(--f-l);letter-spacing:.2em;text-transform:uppercase;color:var(--ink-2);cursor:pointer;transition:color .25s}
.ms-x:hover{color:var(--ink)}
.ms-x i{position:relative;display:block;width:16px;height:16px}
.ms-x i::before,.ms-x i::after{content:"";position:absolute;left:0;top:50%;width:16px;height:1.5px;margin-top:-.75px;background:currentColor;transform:rotate(45deg)}
.ms-x i::after{transform:rotate(-45deg)}
/* flex-basis auto, not flex:1 — Safari (macOS/iOS 26) sized the list from a 0 basis and showed one row */
.ms-l{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 32px}
.ms-l .opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ms-l .chks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.ms-b{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px 20px 32px;border-top:1px solid var(--line-i)}
.ms-n{font-size:14px;color:var(--ink-2)}
/* inside the window the answers are simply there: no scroll-in entrance (the page's reveal) */
.ms-d [class*="rv-"],.js .ms-d [class*="rv-"]{opacity:1;transform:none;transition:none;animation:none}
.page.is-ms{overflow-y:hidden}
@media (max-width:760px){
  .ms-d{width:100%;max-height:88vh;margin:auto 0 0;border-radius:22px 22px 0 0}
  .ms-h{padding:16px 12px 12px 20px}
  .ms-t{font-size:22px}
  .ms-l{padding:16px 20px}
  .ms-l .opts,.ms-l .chks{grid-template-columns:minmax(0,1fr)}
  .ms-b{padding:14px 20px calc(16px + env(safe-area-inset-bottom))}
}
/* header links that do not fit on one row → the „Meniu“ button (ui.js) */
.hdr-tight .nav,.hdr-tight .hdr-cta{display:none}
.hdr-tight .menu-b{display:inline-flex}
/* footer: more than four columns continue on a new row */
.foot-cols{row-gap:28px}

/* The phone menu: ONE for every page, the homepage too (parts.js sheet). The homepage design's night sheet: the links rise one after another however many the menu has. */
.sheet{position:fixed;inset:0;z-index:70;display:flex;flex-direction:column;background:var(--night);color:var(--cream);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);transform:translateY(-102%);visibility:hidden;transition:transform .65s var(--ease),visibility 0s linear .65s;overflow-y:auto;overscroll-behavior:contain}
.sheet.is-open{transform:none;visibility:visible;transition:transform .65s var(--ease)}
.sheet:focus{outline:none}
.sheet-top{height:var(--hh);display:flex;align-items:center;justify-content:space-between;flex:none}
.sheet-x{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 4px 0 12px;font:500 14px/1 var(--f-l);letter-spacing:.2em;text-transform:uppercase;color:inherit}
.sheet-x i{position:relative;width:22px;height:22px}
.sheet-x i::before,.sheet-x i::after{content:"";position:absolute;left:0;right:0;top:50%;height:1.5px;background:currentColor;transform:rotate(45deg)}
.sheet-x i::after{transform:rotate(-45deg)}
.sheet-nav{display:flex;flex-direction:column;padding-top:18px;padding-bottom:10px}
/* the links: the same letters as the menu on a computer */
.sheet-nav a{display:block;padding:17px 0;border-bottom:1px solid var(--line-n);font:500 22px/1.15 var(--f-l);letter-spacing:.12em;text-transform:uppercase;opacity:0;transform:translateY(18px);transition:opacity .5s,transform .7s var(--ease),color .3s}
.sheet-nav a[aria-current="page"]{color:var(--gold)}
.sheet.is-open .sheet-nav a{opacity:1;transform:none;transition-delay:calc(.12s + var(--i,0) * 55ms)}
.sheet-foot{margin-top:auto;padding-top:24px;padding-bottom:28px;display:grid;gap:12px}
.sheet-foot .btn{width:100%}
.sheet-addr{margin-top:8px;font-size:15px;color:var(--cream-2)}
.sheet .thread{display:none}
