/* ==========================================================
   CK Lifts 0.6.0 component styles. Everything is prefixed .ckl-
   The breakpoints are container queries on .ckl-site, the wrapper the
   shortcode prints, so the board adapts to the theme's content width,
   not the window. The theme supplies the page margins.
   ========================================================== */
.ckl-site{container:site / inline-size}
.ckl{--teal:#197885;--teal-deep:#14606B;--navy:#142940;--sage:#85BCB7;--stone:#DEDED2;--offwhite:#F8F7F1;
  --muted:#5C6B72;--line:#E7E8DD;--control:#7C8A8F;--soft:#F3F7F6;--sunk:#F6F5EE;--ok-ink:#1F6D56;
  --err-bg:#FDEAE2;--err-ink:#9A3414;--orange:#F05926;
  font-family:Figtree,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:17px;line-height:1.6;color:var(--navy);
  max-width:1200px;margin:0 auto;padding:28px 20px 56px}
.ckl *,.ckl *::before,.ckl *::after{box-sizing:border-box}
.ckl p{margin:0 0 12px}
.ckl a{color:var(--teal);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.ckl [hidden]{display:none !important}
.ckl :focus-visible{outline:3px solid var(--navy);outline-offset:3px;border-radius:4px}
.ckl-h1{font-family:"Josefin Sans",Futura,"Century Gothic",sans-serif;font-weight:700;color:var(--teal);font-size:34px;line-height:1.02;margin:0 0 14px}
.ckl-h2{font-family:"Josefin Sans",Futura,"Century Gothic",sans-serif;font-weight:700;color:var(--teal);font-size:30px;line-height:1.1;margin:6px 0 14px}
/* 0.6.3: the page already shows the site's own "Lifts" title, so the plugin's repeat of it is kept for screen readers only. */
.ckl-sr{position:absolute !important;width:1px;height:1px;margin:-1px !important;padding:0 !important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ckl-lead{font-size:19px;line-height:1.5;max-width:640px}
.ckl-back{display:inline-block;font-size:15px;padding:6px 0}
.ckl-day{color:var(--teal);font-weight:500;font-size:26px;line-height:1.15;margin:6px 0 4px}
.ckl-sub{color:var(--muted);margin:0 0 4px}
.ckl-kicker{font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--teal-deep);margin:0 0 6px}
.ckl-h3{font-size:20px;line-height:1.3;font-weight:600;margin:0 0 8px;color:var(--navy)}
.ckl-count{color:var(--muted);font-weight:400;font-size:16px}

/* layout: phone is one column in reading order; wide is list left, your own things right */
.ckl-layout{display:grid;gap:24px;margin-top:22px}
.ckl-stack{display:grid;gap:16px}
.ckl-narrow{max-width:640px}

/* buttons: real <button> or <a>, at least 48px tall */
.ckl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 28px;border-radius:999px;
  border:2px solid var(--teal);background:var(--teal);color:#fff;font-family:inherit;font-weight:600;font-size:16px;line-height:1.2;cursor:pointer;text-decoration:none;width:100%}
.ckl a.ckl-btn{color:#fff;text-decoration:none}
.ckl-btn:hover{background:var(--teal-deep);border-color:var(--teal-deep)}
.ckl-btn--quiet,.ckl a.ckl-btn--quiet{background:#fff;color:var(--teal)}
.ckl-btn--quiet:hover{background:var(--soft);color:var(--teal-deep)}
.ckl-btn--stop,.ckl a.ckl-btn--stop{background:var(--err-ink);border-color:var(--err-ink);color:#fff}
.ckl-textbtn{background:none;border:0;padding:10px 0;min-height:44px;font-family:inherit;font-weight:600;font-size:16px;line-height:1.2;color:var(--err-ink);
  text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
.ckl-textbtn--plain{color:var(--navy)}
.ckl-actions{display:flex;flex-direction:column;gap:10px;margin-top:16px}
/* a person: photo or initial, first name, their one line */
.ckl-who{display:flex;gap:12px;align-items:center;min-width:0}
.ckl-who p.ckl-card__who{margin:0}
.ckl-about{font-size:15px;color:var(--muted);margin:0;line-height:1.35}
.ckl-req .ckl-about{font-weight:400}
.ckl-av{width:44px;height:44px;border-radius:50%;background:var(--sage);color:var(--navy);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;flex:0 0 auto}
/* help */
.ckl-faq{margin-top:22px;max-width:720px;border-top:1px solid var(--stone)}
.ckl-faq details{border-bottom:1px solid var(--stone)}
.ckl-faq summary{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;list-style:none;padding:16px 4px;font-weight:600;font-size:18px;line-height:1.35;cursor:pointer}
.ckl-faq summary::-webkit-details-marker{display:none}
.ckl-faq summary::after{content:"+";flex:none;font-size:26px;line-height:1;color:var(--teal);font-weight:500}
.ckl-faq details[open] summary::after{content:"\2212"}
.ckl-faq details p{margin:0 4px 18px}
/* a lift card */
.ckl-card{background:#fff;border:1px solid var(--stone);border-radius:16px;padding:20px}
.ckl-card__top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.ckl-card__who{font-size:17px;line-height:1.4;font-weight:600;margin:0;color:var(--navy)}
.ckl-from{margin:0 0 12px}
.ckl-label{display:block;font-size:14px;color:var(--muted);line-height:1.3}
.ckl-from strong{display:block;font-size:22px;line-height:1.25;font-weight:600}
.ckl-facts{display:grid;grid-template-columns:1fr;gap:12px;margin:0 0 12px}
.ckl-facts--two{grid-template-columns:1fr 1fr}
.ckl-facts div{margin:0}
.ckl-facts dt{font-size:14px;color:var(--muted);line-height:1.3}
.ckl-facts dd{margin:0;font-weight:600}
.ckl-going{font-size:15px;color:var(--muted);margin:0 0 10px}
.ckl-quote{border-left:3px solid var(--sage);padding:2px 0 2px 12px;margin:0 0 4px;font-size:16px}
.ckl-card--full{background:var(--sunk)}

/* chips: always words, never colour alone */
.ckl-chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:14px;font-weight:600;line-height:1.2;padding:6px 12px;border-radius:999px;background:var(--stone);color:var(--navy)}
.ckl-chip--ok{background:var(--soft);color:var(--ok-ink);border:1px solid var(--ok-ink)}
.ckl-chip--wait{background:#fff;border:1px dashed var(--navy)}
.ckl-chip--full{background:#fff;border:1px solid var(--control);color:var(--muted)}

/* your own lift or seat: set apart from the list */
.ckl-mine{background:var(--offwhite);border:2px solid var(--teal);border-radius:16px;padding:20px}
.ckl-mine .ckl-card__who{font-size:20px;line-height:1.3}
.ckl-reqs{border-top:1px solid var(--stone);margin-top:14px;padding-top:14px}
.ckl-req{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:6px 0;font-weight:600}
.ckl-ask{background:#fff;border:1px solid var(--stone);border-radius:12px;padding:16px;margin-top:6px}
.ckl-ask__title{font-size:19px;line-height:1.4;font-weight:600;margin:0 0 4px;display:flex;align-items:flex-start;gap:10px}
.ckl-dot{width:10px;height:10px;border-radius:50%;background:var(--orange);flex:0 0 auto;margin-top:9px}
.ckl-small{font-size:15px;color:var(--muted)}
.ckl .ckl-ink{color:var(--navy)}
.ckl .ckl-gap{margin-top:16px}
.ckl .ckl-tight{margin:4px 0 0}
.ckl .ckl-day--first{margin-top:0}
.ckl-ask .ckl-small{margin-top:10px}
.ckl-two>.ckl-box{margin-top:24px}
.ckl .ckl-flush{margin:0}
.ckl .ckl-chiprow{margin:10px 0 12px}
.ckl .ckl-steps--tight{margin-top:10px}
.ckl .ckl-note--gap{margin-bottom:22px}

/* messages: what is happening, what it means, what to do */
.ckl-note{border-radius:12px;padding:14px 16px;border-left:4px solid var(--teal);background:var(--soft)}
.ckl-note strong{display:block}
.ckl-note p:last-child{margin-bottom:0}
.ckl-note--ok{border-left-color:var(--ok-ink)}
.ckl-note--ok strong{color:var(--ok-ink)}
.ckl-note--err{border-left-color:var(--err-ink);background:var(--err-bg)}
.ckl-note--err strong{color:var(--err-ink)}
.ckl-confirm{background:var(--sunk);border:1px solid var(--stone);border-radius:12px;padding:16px;margin-top:14px}
.ckl-confirm strong{display:block;font-size:19px;margin-bottom:4px}
.ckl-safety{font-size:15px;color:var(--muted);border-top:1px solid var(--stone);padding-top:12px;margin-top:16px}

/* welcome and how-it-works */
.ckl-box{background:var(--offwhite);border-radius:16px;padding:22px 20px}
.ckl-steps{list-style:none;margin:16px 0 0;padding:0;counter-reset:s;display:grid;gap:14px}
.ckl-steps li{counter-increment:s;display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start}
.ckl-steps li::before{content:counter(s);width:36px;height:36px;border-radius:50%;background:var(--stone);display:flex;align-items:center;justify-content:center;font-weight:700}
.ckl-rules{list-style:none;margin:16px 0;padding:0;display:grid;gap:14px}
.ckl-rules li{border-left:3px solid var(--sage);padding-left:14px}
.ckl-rules strong{display:block}
.ckl-check{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start;background:#fff;border:2px solid var(--teal);border-radius:12px;padding:16px;cursor:pointer}
.ckl-check--err{border-color:var(--err-ink)}
.ckl-check input{width:26px;height:26px;margin:2px 0 0;accent-color:var(--teal)}
.ckl-check b{display:block;font-size:19px;line-height:1.3}
.ckl-check span span{display:block;font-size:15px;color:var(--muted);margin-top:2px}

/* form */
.ckl-field{margin:0 0 24px;border:0;padding:0;min-width:0}
.ckl-field>label,.ckl-field>legend,.ckl-field>.ckl-lbl{display:block;font-weight:600;font-size:18px;line-height:1.35;padding:0;margin:0 0 4px}
.ckl-opt{font-weight:400;color:var(--muted);font-size:15px}
.ckl-hint{font-size:15px;color:var(--muted);line-height:1.45;margin:0 0 8px}
.ckl input[type=text],.ckl select,.ckl textarea{width:100%;min-height:50px;padding:10px 14px;border:1.5px solid var(--control);border-radius:8px;background:#fff;color:var(--navy);font:inherit;font-size:17px}
.ckl textarea{min-height:84px;resize:vertical}
.ckl-field--err input[type=text],.ckl-field--err select{border:2.5px solid var(--err-ink)}
.ckl-err{font-size:15px;font-weight:600;color:var(--err-ink);margin:6px 0 0}
.ckl-given{background:var(--sunk);border-radius:8px;padding:10px 14px;font-weight:600}
.ckl-seats{display:flex;flex-wrap:wrap;gap:6px}
.ckl-seats label{position:relative;cursor:pointer}
.ckl-seats input{position:absolute;opacity:0;inset:0;margin:0}
.ckl-seats span{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;border:1.5px solid var(--control);font-weight:600;background:#fff}
.ckl-seats input:checked+span{background:var(--teal);border-color:var(--teal);color:#fff;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--teal)}
.ckl-seats input:focus-visible+span{outline:3px solid var(--navy);outline-offset:3px}

/* two boards a day: getting there and getting home */
.ckl-ways{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;max-width:460px}
.ckl-way{min-height:48px;padding:8px 10px;border-radius:999px;border:2px solid var(--teal);background:#fff;color:var(--teal);font:600 15px/1.2 inherit;font-family:inherit;cursor:pointer}
.ckl-way[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.ckl-way span{font-weight:400}
.ckl-check--slim{padding:11px 14px;border-width:1.5px;border-color:var(--control)}
.ckl-check--slim b{font-size:17px;font-weight:600}
.ckl-check--slim:has(input:checked){border:2px solid var(--teal)}
.ckl-stack--tight{gap:8px}

/* the list of days */
.ckl-days{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid var(--stone)}
.ckl-days a{display:grid;grid-template-columns:1fr auto;gap:4px 16px;align-items:center;padding:18px 4px;border-bottom:1px solid var(--stone);text-decoration:none;color:var(--navy);font-weight:400}
.ckl-days b{display:block;font-size:20px;line-height:1.3;color:var(--teal)}
.ckl-days .ckl-small{display:block}
.ckl-days__go{font-weight:600;color:var(--teal);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.ckl-days__chips{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}

@container site (min-width:560px){
  .ckl-btn{width:auto}
  .ckl-actions{flex-direction:row;flex-wrap:wrap;align-items:center}
}
@container site (min-width:900px){
  .ckl-h1{font-size:56px}
  .ckl-h2{font-size:38px}
  .ckl-day{font-size:32px}
  .ckl-layout{grid-template-columns:minmax(0,1fr) 380px;gap:24px 48px;align-items:start}
  .ckl-main{grid-column:1;grid-row:1 / span 3}
  .ckl-aside{grid-column:2;grid-row:1}
  .ckl-know{grid-column:2;grid-row:2}
  .ckl-box{padding:28px}
  .ckl-two{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
  .ckl-two>.ckl-box{margin-top:0}
  .ckl-days__chips{grid-column:auto}
  .ckl-days a{grid-template-columns:1fr auto auto}
}
